]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
5b4d3ea42d9c7c3647dd921cbdda96006cb746a2
[gcc.git] / gcc / ChangeLog
1 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
2
3 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
4 (FIXED_REGISTERS, CALL_USED_REGISTERS,
5 REG_ALLOC_ORDER): Add frame pointer
6 (FRAME_POINTER_REGNUM): Set to 20
7 (HARD_FRAME_POINTER_REGNUM): New macro.
8 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
9 to HARD_FRAME_POINTER.
10 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
13 (HI_REGISTER_NAMES): Add "frame".
14 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
15 (debug_reg): Handle FRAME_POINTER_REGNUM.
16 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
17 GENERAL_REGS and INDEX_REGS.
18 * i386.c (SAVED_REGS_FIRST): new macro.
19 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
20 (ix86_decompose_address, memory_address_length): Likewise.
21 (regclass_map): Add frame pointer.
22 (call_insn_operand): Handle frame_pointer_rtx.
23 (reg_no_sp_operand): Likewise.
24 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
25 (print_operand, legitimize_pic_address): Fix formating.
26 (ix86_compute_frame_size): Make static, update prototype, new
27 parameters padding1, padding2, use ix86_nsaved_regs, use
28 stack_alignment_needed.
29 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
30 to HARD_FRAME_POINTER_REGNUM conversions.
31 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
32 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
33 (print_reg): Abort on FRAME_POINTER_REGNUM
34
35 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
36
37 * i386.h (PREDICATE_CODES): Add aligned_operand.
38 * i386.c (aligned_operand): New function.
39 (ix86_aligned_p): Kill.
40 * i386.md (movhi_1): Emit mov for aligned operands.
41 (promoting peep2s): Use aligned_operand.
42
43 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
44
45 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
46 expression to allow underscores in macro names.
47 (fix_char_macro_defines): Increment scanning pointer.
48
49 2000-01-23 Richard Henderson <rth@cygnus.com>
50
51 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
52 * alpha/osf5.h: New file.
53 * configure.in (alpha-*-osf5): Add it to tm_file.
54
55 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
56
57 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
58 (alpha_emit_xfloating_cvt, function_arg): Declare.
59 * alpha.c (alpha_emit_conditional_branch): Call
60 alpha_emit_xfloating_compare for TFmode compares.
61 (alpha_lookup_xfloating_lib_func): New.
62 (alpha_compute_xfloating_mode_arg): New.
63 (alpha_emit_xfloating_libcall): New.
64 (alpha_emit_xfloating_arith): New.
65 (alpha_emit_xfloating_compare): New.
66 (alpha_emit_xfloating_cvt): New.
67 (print_operand): Add default abort case.
68 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
69 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
70 (BIGGEST_ALIGNMENT): Increase to 128 bits.
71 (RETURN_IN_MEMORY): True for TF/TCmode.
72 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
73 (FUNCTION_ARG): Move to function_arg.
74 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
75 (ASM_OUTPUT_LONG_DOUBLE): New.
76 (ASM_OUTPUT_DOUBLE): Always output bits.
77 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
78 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
79 (extenddftf2, trunctfdf2): New.
80
81 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
82
83 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
84 * config/sparc/sol2.h: ... here.
85
86 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
87
88 * basic-block.h (struct loops): New field `levels'.
89 * flow.c (flow_loops_level_compute): Traverse all outer loops.
90 (flow_loop_level_compute): Initialise level to 1.
91 (flow_loops_find): Set loops->levels.
92 (flow_loops_dump): Print loops->levels.
93
94 2000-01-23 Richard Henderson <rth@cygnus.com>
95
96 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
97 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
98
99 2000-01-23 Richard Henderson <rth@cygnus.com>
100
101 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
102 * i386.h (DBX_REGISTER_NUMBER): Use them.
103 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
104 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
105 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
106 * i386/sequent.h: Kill incorrect comment.
107
108 2000-01-23 Mark Mitchell <mark@codesourcery.com>
109
110 * ggc-page.c (struct page_entry): Make `context_depth' an
111 `unsigned short'.
112 (struct globals): Likewise.
113
114 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
115
116 * loop.c (check_dbra_loop): When checking a loop for
117 reversability, check the source of any stores to ensure
118 they don't depend on an initial value.
119
120 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
121
122 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
123
124 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
125
126 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
127 'pz_scan' into scope of entire function. Only affects
128 compiles with -DDEBUG.
129
130 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
131
132 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
133 section naming to that prior to 2000-01-07 patch.
134 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
135 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
136 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
137 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
138 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
139
140 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
141
142 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
143 constant.
144
145 2000-01-21 Jim Wilson <wilson@cygnus.com>
146
147 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
148 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
149
150 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
151
152 * cpphash.c (change_newlines): Delete function.
153 (struct argdata): Delete 'newlines' and 'use_count' fields.
154 (macroexpand): Remove code referencing those fields.
155
156 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
157
158 * loop.c (loops_info): New variable.
159 (loop_optimize): Allocate loops->array and free it on exit.
160 Allocate memory for loops_info and assign to each loop,
161 replacing alloca.
162 (find_and_verify_loops): Do not allocate loops->array.
163
164 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
165
166 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
167
168 2000-01-21 Jakub Jelinek <jakub@redhat.com>
169
170 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
171 pseudos if expanded after first flow.
172 (movdi_pic_label_ref): Likewise.
173
174 2000-01-20 Richard Henderson <rth@cygnus.com>
175
176 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
177
178 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
179
180 * Makefile.in (fixinc.sh): Depend on specs.
181 * fixinc/Makefile.in: Add rule to create machname.h.
182 (fixlib.o): Depend on machname.h.
183 * fixinc/fixtests.c (machine_name): New test.
184 * fixinc/fixfixes.c (machine_name): New fix.
185 * fixinc/fixlib.c (mn_get_regexps): New helper function for
186 the machine_name test and fix.
187 * fixinc/fixlib.h: Prototype it.
188 * fixinc/inclhack.def (machine_name): Use the C test and fix.
189 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
190
191 * gcc.c (do_spec_1) [case P]: Take care not to create
192 identifiers with three leading or trailing underscores.
193
194 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
195 (fixincl): Don't specify libraries twice on link line.
196 (gnu-regex.o): Remove special rule.
197 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
198 defined by config.h. Do not define _REGEX_RE_COMP.
199 (regcomp): Allocate and initialize a fastmap.
200 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
201
202 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
203
204 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
205
206 2000-01-19 Richard Henderson <rth@cygnus.com>
207
208 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
209 arguments with BB. Update all callers. Tidy line wrapping.
210
211 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
212
213 * emit-rtl.c (try_split): Return last_insn if we split the
214 last_insn.
215
216 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
217
218 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
219 (ix86_initial_elimination_offset): Declare.
220 * i386.c (ix86_nsaved_regs): Break out from ...
221 (ix86_can_use_return_insn_p): ... here.
222 (ix86_emit_save_regs): Break out from ...
223 (ix86_expand_prologue): ... here.
224 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
225 out from ...
226 (ix86_expand_epilogue): ... here.
227 (ix86_compute_frame_size): Make static, add prototype.
228 (ix86_initial_elimination_offset): Break out from ...
229 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
230
231 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232
233 * recog.h (OUT_FCN): Delete.
234
235 * vax.md: Call `get_insn_template' instead of OUT_FCN.
236
237 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
238
239 * cppalloc.c: PROTO -> PARAMS.
240 * cpperror.c: Likewise.
241 * cppfiles.c: Likewise.
242 * cpplib.c: Likewise.
243 * cpplib.h: Likewise.
244
245 * config/arm/arm-protos.h: PROTO -> PARAMS.
246 * config/arm/arm.c: Likewise.
247 * config/c4x/c4x.c: Likewise.
248 * config/fr30/fr30-protos.h: Likewise.
249 * config/nextstep.c: Likewise.
250 * config/pa/pa.c: Likewise.
251 * config/pj/pj.c: Likewise.
252 * config/rs6000/rs6000.c: Likewise.
253 * config/v850/v850-protos.h: Likewise.
254 * config/v850/v850.c: Likewise.
255
256 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
257
258 * i370-protos.h: New file.
259
260 * i370.c: Include tm_p.h. Fix compile time warnings.
261
262 * i370.h: Move prototypes to i370-protos.h. Fix compile time
263 warnings.
264
265 * i370.md: Likewise.
266
267 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
268
269 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
270 (target_isinf, target_isnan, eisnan): Mark parameter with
271 ATTRIBUTE_UNUSED.
272 (eiisinf): Wrap in INFINITY.
273 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
274 (ibmtoe): Remove unused variable `rndsav'.
275
276 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
277
278 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
279 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
280
281 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
282
283 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
284 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
285 (fix_char_macro_defines, fix_char_macro_uses): New functions.
286
287 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
288 Recognize Emacs mode markers also.
289 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
290 C++ comments in C++ headers. Call is_cxx_header only if
291 necessary.
292
293 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
294 bypass for ncurses.
295 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
296 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
297 ... these, which use the new C fixes.
298 (math_exception): Escape literal '+' in bypass expression.
299
300 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
301 Regenerate.
302
303 2000-01-19 Geoff Keating <geoffk@cygnus.com>
304
305 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
306 inside the MEM.
307
308 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
309
310 * loop.c (loop_optimize): Allocate loop_info structure for each loop
311 prior to calling scan_loop.
312
313 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
314
315 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
316 (split_branches, calc_live_regs): Likewise.
317
318 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
319
320 * sh.md (fpu_single, fp_mode): New attributes.
321
322 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
323
324 * loop.c (current_loop_info): Renamed from loop_info_data
325 and changed to a pointer.
326 (loop_optimize): Allocate loop_info structure for each loop
327 and initialise to zero.
328 (scan_loop): Set current_loop_info.
329
330 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
331 on iteration_var.
332
333 2000-01-19 Richard Henderson <rth@cygnus.com>
334
335 * stupid.c: Die die die.
336 * Makefile.in (OBJS): Remove stupid.o.
337 (stupid.o): Likewise.
338
339 * except.c (emit_eh_context): Don't emit USEs for stupid.
340 * explow.c (probe_stack_range): Likewise.
341 * flags.h (obey_regdecls): Remove.
342 * flow.c (find_basic_blocks): Don't run try_merge_blocks
343 when not optimizing.
344 (life_analysis): Limit data collection when not optimizing.
345 (mark_regs_live_at_end): Always mark the return value registers.
346 (mark_used_regs): Remove dummy RETURN case.
347 (print_rtl_with_bb): Don't consult obey_regdecls.
348 * function.c (use_variable, use_variable_after): Remove.
349 (assign_parms): Consult optimize not obey_regdecls.
350 (expand_function_start): Don't emit USEs for stupid.
351 (expand_function_end): Likewise.
352 * global.c (build_insn_chain): Export.
353 * integrate.c (expand_inline_function): Kill return-value USE
354 handling code.
355 * jump.c (jump_optimize_1): Do simple jump optimizations and
356 dead code elimination.
357 (calculate_can_reach_end): Remove check_deleted argument.
358 (delete_insn): Patch out insns even when not optimizing.
359 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
360 * rtl.h (use_variable, use_variable_after): Remove declarations.
361 (build_insn_chain): Declare.
362 * stmt.c (expand_value_return): Don't emit USEs for stupid.
363 (expand_end_bindings): Likewise.
364 (expand_decl): Likewise. Consult optimize not obey_regdecls.
365 * toplev.c (obey_regdecls): Remove.
366 (rest_of_compilation): Don't set it. Kill stupid in favour of
367 flow1, local-alloc, and reload.
368 (main): Don't set obey_regdecls.
369
370 * config/nextstep.c (handle_pragma): Likewise.
371
372 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
373
374 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
375
376 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
377
378 * alpha-protos.h: PROTO -> PARAMS.
379 * alpha.c: Likewise.
380 * elf.h: Likewise.
381 * h8300.c: Likewise.
382 * i386-protos.h: Likewise.
383 * i386.c: Likewise.
384 * m32r-protos.h: Likewise.
385 * m32r.c: Likewise.
386 * mips.c: Likewise.
387 * mips.md: Likewise.
388 * gmon-sol2.c: Likewise.
389 * sparc.c: Likewise.
390
391 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
392
393 * ns32k-protos.h: New file.
394
395 * ns32k.c: Fix compile time warnings.
396
397 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
398 warnings.
399
400 * ns32k.md: Likewise.
401
402 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
403
404 * vax-protos.h: New file.
405
406 * vax.c: Fix compile time warnings.
407
408 * vax.h: Move prototypes to vax-protos.h. Fix compile time
409 warnings.
410
411 * vax.md: Likewise.
412
413 * vaxv.md: Likewise.
414
415 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
416
417 * romp-protos.h: New file.
418
419 * romp.c: Fix compile time warnings.
420
421 * romp.h: Move prototypes to romp-protos.h. Fix compile time
422 warnings.
423
424 * romp.md: Likewise.
425
426 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
427
428 * we32k-protos.h: New file.
429
430 * we32k.c: Fix compile time warnings.
431
432 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
433 warnings.
434
435 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
436
437 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
438
439 * except.c (eh_regs): Likewise.
440
441 * final.c (output_operand): Likewise.
442
443 * fold-const.c (target_isinf, target_isnan): Likewise.
444
445 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
446
447 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
448 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
449
450 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
451 when optimize_size.
452 (clrstrsi): Rewrite.
453 (strsethi, strsetqi): New expanders.
454 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
455 (cmpstrsi): Emit compare insn before cmpstrsi_1
456 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
457 (strlensi_1): Likewise.
458 (cmpstrsi_1): Likewise; do not output compare.
459 (strlen expander): Do not unroll when optimizing for size.
460 (*subsi3_carry): Rename to subsi3_carry
461 (addqi3_cc): New pattern.
462 * i386.h (processor_costs): Add move_ratio field.
463 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
464 * i386.c (*_cost): Set move_ratio.
465 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
466 (x86_expand_strlensi_1): Rewrite the main loop.
467
468 2000-01-17 Richard Henderson <rth@cygnus.com>
469
470 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
471 * cse.c (find_comparison_args, fold_rtx): Likewise.
472 * integrate.c (subst_constants): Likewise.
473 * loop.c (get_condition): Likewise.
474
475 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
476
477 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
478
479 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
480
481 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
482 (RESTORE_WARN_FLAGS): Unpack it.
483 Change semantic type of extension to ttype.
484 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
485 * c-parse.y, c-parse.c, objc/objc-parse.y,
486 objc/objc-parse.c: Regenerate.
487
488 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
489
490 * fixinc/fixlib.c: Add copyright notice.
491 (compile_re): New function.
492 * fixinc/fixlib.h: Prototype compile_re.
493
494 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
495 Use compile_re to compile regular expressions.
496
497 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
498 where the pattern matched.
499
500 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
501 use 'replace'.
502 (ultrix_ansi_compat): Likewise.
503 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
504 add egrep test.
505 (interactv_add2, interactv_add3): Delete.
506 (x11_sprintf): Don't use filename glob.
507 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
508 Regenerate.
509
510 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
511
512 * print-rtl.c: PROTO -> PARAMS.
513 * real.c: Likewise.
514 * reg-stack.c: Likewise.
515 * resource.c: Likewise.
516 * sdbout.h: Likewise.
517 * simplify-rtx.c: Likewise.
518 * stor-layout.c: Likewise.
519 * stupid.c: Likewise.
520 * xcoffout.c: Likewise.
521 * xcoffout.h: Likewise.
522
523 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
524
525 * toplev.c: PROTO -> PARAMS.
526 * toplev.h: Likewise.
527 * tree.c: Likewise.
528 * tree.h: Likewise.
529 * unroll.c: Likewise.
530 * varasm.c: Likewise.
531 * varray.c: Likewise.
532 * varray.h: Likewise.
533
534 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
535
536 * reload.c: PROTO -> PARAMS.
537 * reload.h: Likewise.
538 * reload1.c: Likewise.
539 * reorg.c: Likewise.
540 * resource.h: Likewise.
541 * rtl.c: Likewise.
542 * rtl.h: Likewise.
543 * rtlanal.c: Likewise.
544 * sbitmap.h: Likewise.
545 * sdbout.c: Likewise.
546 * stack.h: Likewise.
547 * stmt.c: Likewise.
548 * system.h: Likewise.
549
550 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
551
552 * machmode.h: PROTO -> PARAMS.
553 * mbchar.h: Likewise.
554 * mips-tdump.c: Likewise.
555 * mips-tfile.c: Likewise.
556 * optabs.c: Likewise.
557 * output.h: Likewise.
558 * prefix.c: Likewise.
559 * profile.c: Likewise.
560 * protoize.c: Likewise.
561 * real.h: Likewise.
562 * recog.c: Likewise.
563 * recog.h: Likewise.
564 * regclass.c: Likewise.
565 * regmove.c: Likewise.
566 * regs.h: Likewise.
567
568 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569
570 * ggc-common.c: PROTO -> PARAMS.
571 * ggc-page.c: Likewise.
572 * ggc-simple.c: Likewise.
573 * ggc.h: Likewise.
574 * global.c: Likewise.
575 * graph.c: Likewise.
576 * gthr-win32.h: Likewise.
577 * haifa-sched.c: Likewise.
578 * halfpic.h: Likewise.
579 * integrate.c: Likewise.
580 * integrate.h: Likewise.
581 * jump.c: Likewise.
582 * lcm.c: Likewise.
583 * local-alloc.c: Likewise.
584 * loop.c: Likewise.
585 * loop.h: Likewise.
586
587 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
588
589 * genattr.c: PROTO -> PARAMS.
590 * genattrtab.c: Likewise.
591 * gencheck.c: Likewise.
592 * gencodes.c: Likewise.
593 * genconfig.c: Likewise.
594 * genemit.c: Likewise.
595 * genextract.c: Likewise.
596 * genflags.c: Likewise.
597 * gengenrtl.c: Likewise.
598 * genopinit.c: Likewise.
599 * genoutput.c: Likewise.
600 * genpeep.c: Likewise.
601 * genrecog.c: Likewise.
602
603 2000-01-16 Mark Mitchell <mark@codesourcery.com>
604
605 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
606
607 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
608
609 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
610 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
611 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
612 * configure, config.in: Rebuilt.
613
614 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
615
616 * config/i386/i386.md: Add peephole to merge successive stack
617 adjusts.
618
619 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
620
621 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
622 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
623 when walking backwards to find all the parameter loads when
624 the basic block ends in a call.
625
626 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
627
628 * loop.c (this_loop_info): Delete.
629 (uid_loop): Add in place of uid_loop_num. All uses updated.
630 (loop_number_exit_count): Delete and replace with entry in loop
631 structure. All uses updated.
632 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
633 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
634 (loop_outer_loop): Likewise.
635 (loop_invalid, loop_number_exit_labels): Likewise.
636 (loop_used_count_register): Delete and replace with entry in
637 loop_info structure.
638 (find_and_verify_loops): Add loops argument.
639 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
640 loop_end, etc. arguments with loop structure pointer. All callers
641 changed.
642 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
643 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
644 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
645 (insert_bct): Likewise.
646 (basic_induction_var): New argument level.
647 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
648 vtop, and cont. Add used_count_register.
649 (uid_loop): Delete declaration.
650 (loop_number_exit_count): Likewise.
651 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
652 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
653 (loop_outer_loop, loop_used_count_register): Likewise.
654 (loop_invalid, loop_number_exit_labels): Likewise.
655 (unroll_loop): Replace loop_start and loop_end arguments
656 with loop structure pointer.
657 (loop_precondition_p, loop_iterations): Likewise.
658 Include basic-block.h.
659 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
660 with loop structure pointer.
661 (loop_precondition_p, loop_iterations): Likewise.
662 * basic-block.h (struct loop): New entries vtop, cont,
663 cont_dominator, start, end, top, scan_start, exit_labels,
664 exit_count.
665 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
666
667 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
668
669 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
670
671 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
672
673 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
674
675 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
676
677 * pdp11-protos.h: New file.
678
679 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
680 time warnings.
681
682 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
683 warnings.
684
685 * pdp11.md: Likewise.
686
687 * 2bsd.h: Likewise.
688
689 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
690
691 * mn10300-protos.h: New file.
692
693 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
694 time warnings.
695
696 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
697 warnings.
698
699 * mn10300.md: Likewise.
700
701 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
702
703 * mn10200-protos.h: New file.
704
705 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
706 time warnings.
707
708 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
709 warnings.
710
711 * mn10200.md: Likewise.
712
713 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
714
715 * h8300-protos.h: New file.
716
717 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
718 time warnings.
719
720 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
721 warnings.
722
723 * h8300.md: Likewise.
724
725 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
726
727 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
728 (asm_emit_uninitialised): Likewise.
729
730 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
731
732 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
733 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
734
735 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
736
737 * config/mips/mips.c (override_options): Don't turn on extra
738 alignment for mips16.
739
740 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
741
742 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
743 eabi, and make sure queued POSTINCREMENT rtl is emitted at
744 the right point.
745
746 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
747
748 * builtins.c (PAD_VARARGS_DOWN): Define.
749 (std_expand_builtin_va_arg): Use the above macro.
750 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
751 * tm.texi (Register Arguments): Document the above macro.
752
753 2000-01-14 Nick Clifton <nickc@cygnus.com>
754
755 * emit-rtl.c (emit_insn): If checking is enabled, make sure
756 that this function has not been used to emit a jump
757 instruction.
758
759 * jump.c (return_jump_1): Cope with being passed a null rtx.
760
761 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
762
763 * eh-common.h: PROTO -> PARAMS.
764 * emit-rtl.c: Likewise.
765 * errors.c: Likewise.
766 * errors.h: Likewise.
767 * except.c: Likewise.
768 * except.h: Likewise.
769 * explow.c: Likewise.
770 * expmed.c: Likewise.
771 * expr.c: Likewise.
772 * expr.h: Likewise.
773 * final.c: Likewise.
774 * fix-header.c: Likewise.
775 * flow.c: Likewise.
776 * fold-const.c: Likewise.
777 * function.c: Likewise.
778 * function.h: Likewise.
779 * gcc.c: Likewise.
780 * gcov-io.h: Likewise.
781 * gcov.c: Likewise.
782 * gcse.c: Likewise.
783
784 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
785
786 * sh-protos.h: New file.
787
788 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
789 Add static prototypes. Fix compile time warnings.
790
791 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
792 * sh.md: Likewise.
793 * elf.h: Likewise.
794
795 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
796
797 * arc-protos.h: New file.
798
799 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
800 time warnings.
801
802 * arc.h: Move prototypes to arc-protos.h. Fix compile time
803 warnings.
804
805 * arc.md: Likewise.
806
807 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
808
809 * dsp16xx-protos.h: New file.
810
811 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
812 time warnings.
813
814 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
815 warnings.
816
817 * dsp16xx.md: Likewise.
818
819 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
820
821 * convex-protos.h: New file.
822
823 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
824 time warnings.
825
826 * convex.h: Move prototypes to convex-protos.h. Fix compile time
827 warnings.
828
829 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
830
831 * elxsi-protos.h: New file.
832
833 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
834 time warnings.
835
836 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
837 warnings.
838
839 * elxsi.md: Likewise.
840
841 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
842
843 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
844 case for moving from HI/LO/HI_LO_REG. This makes the behavior
845 match the comment for MIPS16.
846
847 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
848
849 * flow.c (split_edge): Do not call set_block_for_insn if we
850 do not have a basic_block_for_insn structure.
851
852 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
853 and destination functions are 32bit aligned within the trampoline.
854 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
855 (TRAMPOLINE_ALIGNMENT): Define.
856
857 * cse.c (cse_insn): When changing (set (pc) (reg)) to
858 (set (pc) (label_ref)), verify the change creates a valid insn.
859
860 * fr30.c (call_operand): Tighten and rework to match rules for
861 call RTL expressions.
862 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
863 * fr30.md (call patterns): Improve constraints.
864
865 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
866
867 * fr30.c (fr30_expand_epilogue): Revert last change.
868 Use emit_jump_insn for the return insn.
869
870 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
871 Stan Cox <scox@cygnus.com>
872
873 * predict.c: New file. Preliminary infrastructure work for static
874 branch prediction and basic block reordering.
875 * basic-block.h: Add prototype for estimate_probability.
876 * Makefile.in: Add rules for predict.o.
877
878 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
879
880 * fixincludes (va_list): Use __not_va_list__ for the dummy.
881 * fixinc/*: Likewise.
882
883 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
884
885 * cccp.c: PROTO -> PARAMS.
886 * cexp.y: Likewise.
887 * collect2.c: Likewise.
888 * combine.c: Likewise.
889 * convert.h: Likewise.
890 * cse.c: Likewise.
891 * dbxout.c: Likewise.
892 * dbxout.h: Likewise.
893 * diagnostic.c: Likewise.
894 * doprint.c: Likewise.
895 * dwarf2out.c: Likewise.
896 * dwarf2out.h: Likewise.
897 * dwarfout.c: Likewise.
898 * dwarfout.h: Likewise.
899 * dyn-string.h: Likewise.
900
901 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
902
903 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
904 macro conditionals guarding use.
905
906 * dwarf2out.c: Include "tm_p.h".
907
908 * function.c (locate_and_pad_parm): Mark parameter with
909 ATTRIBUTE_UNUSED.
910 (expand_function_end): Likewise for variable `context'.
911
912 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
913
914 2000-01-13 Nick Clifton <nickc@cygnus.com>
915
916 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
917 register to prevent compile time warnings.
918
919 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
920
921 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
922 to avoid -Wtraditional warning.
923
924 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
925
926 * 1750a-protos.h: New file.
927
928 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
929 time warnings.
930
931 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
932 warnings.
933
934 * 1750a.md: Likewise.
935
936 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
937
938 * a29k-protos.h: New file.
939
940 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
941 time warnings.
942
943 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
944 warnings.
945
946 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
947
948 * clipper-protos.h: New file.
949
950 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
951 time warnings.
952
953 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
954 warnings.
955
956 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
957
958 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
959
960 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
961
962 * configure.in (--enable-new-gxx-abi): New option.
963 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
964 * Makefile.in (GXX_ABI_FLAG): New variable.
965 * configure: Regenerate.
966
967 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
968
969 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
970 * tm.texi (FORCE_STRUCT_BLK): Document.
971 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
972
973 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
974
975 * config/ns32k/ns32k.md: Revert Jan 9 change.
976
977 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
978 to a mode-test, if the predicate is address_operand.
979
980 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
981
982 * combine.c (if_then_else_cond): Be careful about what kinds
983 of RTL expressions are passed to operand_subword.
984
985 * flow.c (split_edge): If we have to insert a new jump, make
986 sure to associate it with a basic block.
987
988 * flow.c (commit_one_edge_insertion): A block with one successor
989 can end in a JUMP_INSN that is not a simplejump.
990
991 2000-01-12 Robert Lipe <robertl@sco.com>
992
993 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
994 (BUILD_VA_LIST_TYPE): Define.
995 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
996 with crtstuff.c.
997
998 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
999
1000 * cccp.c (do_pragma): Add cast to (char *).
1001
1002 2000-01-12 Richard Henderson <rth@cygnus.com>
1003 Fred Fish <fnf@be.com>
1004 Jason Merrill <jason@cygnus.com>
1005
1006 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
1007 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
1008 * i386/beos-elf.h, i386/beos-pe.h: New files.
1009
1010 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
1011 * cross-make (SYSTEM_HEADER_DIR): Define using
1012 CROSS_SYSTEM_HEADER_DIR.
1013
1014 * gcc.c (LIBRARY_PATH_ENV): Provide default.
1015 (process_command): Use it.
1016 (main): Likewise. Kill trailing = from env vars.
1017 (build_search_list): Put it back.
1018 * collect2.c (main): Use LIBRARY_PATH_ENV.
1019
1020 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
1021 * toplev.c: Use NEED_DECLARATION_ENVIRON.
1022
1023 * tm.texi (Frame Layout): Document SMALL_STACK.
1024 * c-common.c (c_common_nodes_and_builtins): Check it.
1025
1026 * system.h: Undef alloca after including glibc's <stdlib.h>,
1027 if USE_C_ALLOCA is defined.
1028
1029 * gcc.c (set_input): New fn.
1030 (main): After all input files are compiled, reset the input file
1031 info to the first.
1032
1033 * aclocal.m4 (rindex, index): If already defined, don't attempt
1034 to redefine.
1035
1036 * ginclude/varargs.h: (__va_list__): Define ifndef.
1037 * ginclude/stdarg.h: Likewise.
1038
1039 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
1040 instead of unsigned char.
1041
1042 * hash.h (true, false, boolean): Undef before enum.
1043
1044 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
1045 proper type of "HOST_WIDE_INT *", rather than their natural type of
1046 "unsigned HOST_WIDE_INT *".
1047
1048 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1049
1050 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
1051
1052 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
1053
1054 * regclass.c (choose_hard_reg_mode): Likewise.
1055
1056 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
1057
1058 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
1059
1060 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1061
1062 * c-common.c: PROTO -> PARAMS.
1063 * c-common.h: Likewise.
1064 * c-decl.c: Likewise.
1065 * c-iterate.c: Likewise.
1066 * c-lang.c: Likewise.
1067 * c-lex.c: Likewise.
1068 * c-lex.h: Likewise.
1069 * c-parse.in: Likewise.
1070 * c-pragma.c: Likewise.
1071 * c-pragma.h: Likewise.
1072 * c-tree.h: Likewise.
1073 * c-typeck.c: Likewise.
1074 * objc/objc-act.c: Likewise.
1075 * objc/objc-act.h: Likewise.
1076
1077 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1078
1079 * m88k-protos.h: New file.
1080
1081 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
1082 time warnings.
1083
1084 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
1085
1086 * m88k.md: Likewise.
1087
1088 * tekXD88.h: Likewise.
1089
1090 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1091
1092 * m68k-protos.h: New file.
1093
1094 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
1095 time warnings.
1096
1097 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
1098
1099 * mot3300.h: Likewise.
1100
1101 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
1102
1103 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
1104 extract_bitlst.
1105 (extract_bitlist): Declare bitlen.
1106
1107 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
1108
1109 * cccp.c: Accept and ignore -lang-fortran.
1110
1111 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
1112 qualifiers don't match at any level of pointerness.
1113
1114 2000-01-12 Robert Lipe <robertl@sco.com>
1115
1116 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
1117
1118 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
1119
1120 * reload1.c (reload_reg_unavailable): New static variable.
1121 (reload_reg_free_p): Test it.
1122 (reload_reg_free_for_value_p): Test it instead of
1123 reload_reg_used.
1124 (choose_reload_regs_init): Compute it.
1125
1126 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
1127
1128 * reorg.c (fill_slots_from_thread): Check modified_in_p
1129 before replacing.
1130
1131 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
1132
1133 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
1134 these nodes even if INTERNALS is not set.
1135
1136 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
1137
1138 * gcse.c (delete_null_pointer_checks_1): Cope when
1139 get_condition cannot determine the condition.
1140
1141 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
1142
1143 * toplev.h (set_message_length): Declare.
1144
1145 * diagnostic.c (obstack_chunk_alloc): Define macro.
1146 (obstack_chunk_free): Likewise.
1147 (struct output_buffer): New data structure.
1148 (vmessage): Remove.
1149 (output_maximum_width): New variable.
1150 (doing_line_wrapping, set_message_length, init_output_buffer,
1151 get_output_prefix, output_space_left, emit_output_prefix,
1152 output_newline, output_append, output_puts, dump_output,
1153 vbuild_message_string, build_message_string, build_location_prefix,
1154 voutput_notice, output_printf, line_wrapper_printf,
1155 vline_wrapper_message_with_location): New functions. Implement
1156 automatic line wrapping.
1157 (v_message_with_decl): Make it handle automatic line wrapping.
1158 (v_error_with_file_and_line): Likewise.
1159 (v_warning_with_file_and_line): Likewise.
1160 (announce_function): Likewise.
1161 (default_print_error_function): Likewise.
1162
1163 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
1164
1165 * cpplib.h (struct cpp_options): Change lang_asm to char.
1166 Add lang_fortran.
1167 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
1168 done in cpp_handle_option now.
1169 (initialize_builtins): Take out special case code used only by
1170 __STDC_VERSION__.
1171 (cpp_handle_option): Turn off trigraphs and trigraph warnings
1172 if -traditional. Recognize -lang-fortran and set
1173 lang_fortran, also turn off cplusplus_comments.
1174 (print_help): Document -lang-fortran.
1175 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
1176 lang_asm. Ignore all directives other than `# 123 "file"' if
1177 CPP_PREPROCESSED.
1178 (cpp_get_token): If -traditional, don't recognize directives
1179 unless the # is in column 1.
1180 (parse_string): If lang_fortran or lang_asm, silently
1181 terminate strings ('' or "") at end of line.
1182 Remove unnecessary braces.
1183
1184 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1185 Richard Henderson <rth@cygnus.com>
1186
1187 * resource.c (mark_referenced_resources): Mark a set strict_low_part
1188 as used.
1189 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
1190 strict_low_part when possible.
1191
1192 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1193
1194 * alias.c: PROTO -> PARAMS.
1195 * basic-block.h: Likewise.
1196 * bitmap.c: Likewise.
1197 * bitmap.h: Likewise.
1198 * builtins.c: Likewise.
1199 * c-aux-info.c: Likewise.
1200 * caller-save.c: Likewise.
1201 * calls.c: Likewise.
1202
1203 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1204
1205 * Makefile.in (toplev.o): Depend on regs.h.
1206
1207 * output.h (tdesc_section): Prototype.
1208
1209 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
1210
1211 * sdbout.c: Include "tm_p.h".
1212
1213 * toplev.c: Include "regs.h".
1214
1215 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
1216
1217 * unroll.c (unroll_loop): Add EH support.
1218
1219 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1220
1221 * pa-protos.h: New file.
1222
1223 * pa.c: Include recog.h and tm_p.h.
1224 (compute_zdepwi_operands, compute_movstrsi_length,
1225 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
1226 find_addr_reg, import_milli): Add static prototypes.
1227 (pa_cpu_string, pa_arch_string): Constify a char*.
1228 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
1229 (read_only_operand): Add argument `mode'.
1230 (singlemove_string, output_move_double, output_fp_move_double,
1231 output_block_move, output_and, output_ior, output_ascii,
1232 remove_useless_addtr_insns, milli_names, output_mul_insn,
1233 output_div_insn, output_mod_insn, output_arg_descriptor,
1234 output_cbranch, output_bb, output_bvb, output_dbra, ,
1235 output_millicode_call, output_call, hppa_encode_label,
1236 output_parallel_movb, output_parallel_addb): Constify a char*.
1237 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
1238 (output_parallel_addb): Remove extra arg to `constrain_operands'
1239
1240 * pa.h: Move all prototypes to pa-protos.h.
1241 (pa_cpu_string, pa_arch_string): Constify a char*.
1242 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
1243
1244 * pa.md: Call `function_label_operand' with mode argument.
1245 Likewise for `read_only_operand'.
1246 Fix nesting of parens in call to `symbolic_operand'.
1247
1248 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1249
1250 * i860-protos.h: New file.
1251
1252 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
1253 time warnings.
1254
1255 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
1256
1257 * i860.md: Likewise.
1258
1259 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
1260
1261 * i386.md (movstrsi expander): Rewrite.
1262 (movstrsi_1 insn): Deleted.
1263 (strmovhi, strmovqi expander): New expanders.
1264 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
1265 * i386.c (x86_single_stringop): New global variable.
1266 * i386.h (x86_single_stringop): Declare.
1267 (TARGET_SINGLE_STRINGOP): New macro.
1268
1269 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
1270
1271 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
1272 integer vararg POSTINCREMENT before the destination of the jump
1273 for the hard fp case.
1274 (function_arg_pass_by_reference): Pass a copy of CUM to
1275 FUNCTION_ARG.
1276
1277 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
1278 for CONSTANT_ADDRESS_P above while loop for subreg.
1279
1280 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
1281
1282 * flow.c (propagate_block): When a prologue/epilogue insn
1283 is marked dead, unconditionally clear libcall_is_dead and
1284 insn_is_dead, and only dump rtl if warnings aren't being
1285 suppressed.
1286
1287 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
1288
1289 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
1290 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
1291 (FIXED_REGISTERS): Set dirflag as fixed.
1292 (CALL_USED_REGISTERS): Set dirflag as used.
1293 (REG_ALLOC_ORDER): Set dirflag as last one.
1294 (DIRFLAG_REG): New macro.
1295 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
1296 (HI_REGISTER_NAMES): Add dirflag.
1297 (DEBUF_PRINT_REG): Handle dirflag.
1298 * i386.md (type attribute): New cld and str types.
1299 (length_opcode attribute): Set cld and str to 1.
1300 (memory attribute): Set str to unknown - it is not clear from the
1301 patterns.
1302 (pent_np function unit): Prefixed string operations takes 12 cycles
1303 minimally; cld takes 2 cycles.
1304 (ppro_uops attribute): Str is "many" and cld is "few".
1305 (ppro_p0 unit): Handle cld here.
1306 (k6_alux unit): Handle cld and str types.
1307 (k6_load unit): It is ocupied by str opcodes.
1308 (k6_store unit): It is ocupied by str opcodes.
1309 (athlon_decode): Str is vector decoded.
1310 (athlon_ieu): Handle str and cld.
1311 (cld pattern): New.
1312 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
1313 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
1314 cmpstrsi_nz_1 insn): Do not output cld instruction
1315
1316 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
1317
1318 * gcc.texi (G++ and GCC): Add Java and Chill.
1319 (Bug Critera): Don't list languages.
1320
1321 * gcc.texi (Incompatibilities): No longer claim most C compilers
1322 are K&R.
1323
1324 * gcc.texi (G++ and GCC): Update other front-ends list.
1325
1326 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
1327
1328 * i386.c (ix86_expand_setcc): Fix typo.
1329 (ix86_expand_movcc): Similarly.
1330
1331 * Band-aid until haifa's bitset implementation is nuked.
1332 * haifa-sched.c (extract_bitlst): New parameter for size of the
1333 bitset in bits. All callers changed. Avoid looking at undefined
1334 bits in the bitset.
1335 (edgeset_bitsize): New variable.
1336 (schedule_region): Initialize edgeset_bitsize.
1337
1338 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339
1340 * Makefile.in (optabs.o): Depend on real.h
1341 (resource.o): Depend on insn-attr.h
1342
1343 * builtins.c (result_vector): Wrap prototype in macro conditions
1344 governing definition and use.
1345
1346 * c-common.c: Include tm_p.h.
1347
1348 * c-lex.c: Likewise.
1349
1350 * elfos.h: Constify a char*.
1351
1352 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
1353 (get_attr_length, shorten_branches, profile_after_prologue): Mark
1354 parameter with ATTRIBUTE_UNUSED.
1355
1356 * fold-const.c (exact_real_inverse): Wrap variable `i' in
1357 CHECK_FLOAT_VALUE.
1358
1359 * haifa-sched.c (schedule_insns): Mark parameter with
1360 ATTRIBUTE_UNUSED.
1361
1362 * optabs.c: Include real.h.
1363
1364 * real.h (ereal_atof): Add prototype arguments.
1365
1366 * resource.c: Include insn-attr.h.
1367
1368 * sdbout.c (sdbout_queue_anonymous_type,
1369 sdbout_dequeue_anonymous_types): Wrap in macro
1370 SDB_ALLOW_FORWARD_REFERENCES.
1371 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
1372 ATTRIBUTE_UNUSED.
1373
1374 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
1375
1376 * stupid.c: Include tm_p.h.
1377
1378 * tree.c (real_value_from_int_cst): Mark parameter with
1379 ATTRIBUTE_UNUSED.
1380
1381 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1382
1383 * i960-protos.h: New file.
1384
1385 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
1386 time warnings.
1387
1388 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
1389
1390 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1391
1392 * combine.c (expand_field_assignment): Do not discard SUBREGs
1393 while computing nonzero_bits.
1394
1395 2000-01-09 Nick Clifton <nickc@cygnus.com>
1396
1397 * config/arm/arm.c: Fix compile time warnings about signed vs
1398 unsigned constants.
1399 * config/arm/arm.h: Fix compile time warnings about signed vs
1400 unsigned constants.
1401
1402 2000-01-09 Philip Blundell <philb@gnu.org>
1403
1404 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
1405 than `ldm' with only one register.
1406 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
1407 only one register.
1408
1409 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
1410 clobbered.
1411
1412 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
1413
1414 * config/ns32k/ns32k.md (load or push effective address): Operand 1
1415 must have SImode.
1416
1417 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1418
1419 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1420 assignment used as truth value.
1421
1422 * function.c (assign_temp): Mark parameter `dont_promote' with
1423 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
1424 PROMOTE_FOR_CALL_ONLY.
1425
1426 * genrecog.c (write_subroutine): Mark variable `operands' with
1427 ATTRIBUTE_UNUSED.
1428
1429 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
1430 ATTRIBUTE_UNUSED.
1431
1432 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
1433 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
1434
1435 * toplev.c (note_deferral_of_defined_inline_function): Likewise
1436 for `decl'.
1437
1438 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1439
1440 * config/c4x.h: Tidy up comments.
1441 * config/c4x.c: Likewise.
1442
1443 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
1444
1445 * fold-const.c (lshift_double, rshift_double): Handle
1446 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
1447
1448 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1449
1450 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
1451 in prepare_function_start().
1452
1453 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
1454
1455 * config/v850/v850.c (expand_epilogue): Interrupt functions no
1456 longer allocate extra stack for function calls.
1457
1458 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1459
1460 * config/c4x/c4x.md (*subqf3_set): Fix typo.
1461
1462 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1463
1464 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
1465
1466 2000-01-07 David Edelsohn <edelsohn@gnu.org>
1467
1468 * rs6000.c (processor_target_table): Add power3 as alias for 630.
1469 * aix43.h: Revert Aug 2 change.
1470 (HAS_INIT_SECTION): Define, not visible yet.
1471 (LD_INIT_SWITCH): Define, not visible yet.
1472 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
1473
1474 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
1475
1476 * collect2.c (main): Expand ld2 size further.
1477 (export_object_lst): Cast assignment to avoid warning.
1478 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
1479 (scan_prog_file, COFF): Do not collect initialization or
1480 finalization functions generated for entire shared object if
1481 init/fini support present.
1482
1483 2000-01-07 Nick Clifton <nickc@cygnus.com>
1484
1485 * config/elfos.h: Tidy up formatting of marcos. Make sure
1486 that .section directives are always prefixed by a tab.
1487
1488 * config/svr4.h: Add #include "elfos.h" and remove duplicate
1489 definitions.
1490
1491 2000-01-07 Matt Austern <austern@sgi.com>
1492
1493 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
1494 expon.
1495
1496 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
1497
1498 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
1499 crtstuff.c.
1500 (crtbegin.o, s-crtS): Likewise.
1501
1502 2000-01-06 Richard Henderson <rth@cygnus.com>
1503
1504 * alpha.md (adddi_2+1): Limit offset such that it will be
1505 loadable with a single ldah+lda pair.
1506 (adddi_2+2): Explicitly fail split if we can't make it work.
1507
1508 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
1509
1510 * protoize.c: Conditionally include unistd.h.
1511 (IS_SAME_PATH_CHAR): New macro.
1512 (IS_SAME_PATH): New macro.
1513 (CPLUS_FILE_SUFFIX): New macro.
1514 (cplus_suffix): New static variable.
1515 (is_abspath): New static function.
1516 (in_system_include_dir): Handle DOS style pathnames.
1517 (file_could_be_converted): Likewise.
1518 (file_normally_convertible): Likewise.
1519 (directory_specified_p): Likewise.
1520 (file_excluded_p): Likewise.
1521 (abspath): Likewise.
1522 (shortpath): Likewise.
1523 (referenced_file_is_newer): Likewise.
1524 (save_def_or_dec): Likewise.
1525 (do_processing): Likewise.
1526 (main): Likewise.
1527 (edit_file): Likewise. Use rename instead of link.
1528 (rename_c_file): Likewise. Don't rename syscalls file.
1529 (munge_compile_params): Define null device for DOS based systems.
1530 (process_aux_info_file): Use binary mode if appliable.
1531 (edit_file): Likewise.
1532 * invoke.texi (Running Protoize): Document C++ suffixes used.
1533
1534 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
1535 IS_DIR_SEPARATOR macros.
1536 * collect2.c: Likewise.
1537 * cppinit.c: Likewise.
1538 * dwarf2out.c: Likewise.
1539 * gcc.c: Likewise.
1540 * gcov.c: Likewise.
1541 * prefix.c: Likewise.
1542 * rtl.c: Likewise.
1543 * toplev.c: Likewise.
1544 * system.h: And move to here.
1545
1546 * prefix.c (update_path): Fix typo in variable name.
1547
1548 2000-01-06 Richard Henderson <rth@cygnus.com>
1549
1550 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
1551 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
1552 (count_reg_sets_1, count_reg_references): Likewise.
1553 (flow_loops_level_compute): Start counting actual loop depth at 1.
1554 (flow_loops_find): Likewise.
1555 * local-alloc.c (update_equiv_regs): Likewise.
1556 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
1557
1558 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1559
1560 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
1561 FIRST_PSEUDO_REGISTER
1562 * dwarf2out.c: Don't include frame.h
1563 * dwarfout.c: Likewise
1564 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
1565 frame.h
1566
1567 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
1568
1569 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1570 dead registers.
1571
1572 * i386.c (movsf splitter): Fix typo in my last checkin.
1573
1574 2000-01-05 Nick Clifton <nickc@cygnus.com>
1575
1576 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
1577 own definition of this macro.
1578 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
1579 flag_data_sections or UNIQUE_SECTION_P are true.
1580
1581 * tm.texi (UNIQUE_SECTION): Document that it can be called for
1582 unitialised data decls.
1583
1584 * config/i386/winnt.c (i386_pe_unique_section): Cope with
1585 being called for uninitialised data.
1586
1587 * config/i386/interix.c (i386_pe_unique_section): Cope with
1588 being called for uninitialised data.
1589
1590 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
1591 for uninitialised data.
1592
1593 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
1594 for uninitialised data.
1595
1596 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
1597 for uninitialised data.
1598
1599 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
1600 (UNIQUE_SECTION_P): Always generate a unique section if
1601 flag_data_sections is true.
1602 (UNIQUE_SECTION): Also generate unique sections for
1603 uninitialised data.
1604 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
1605 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1606 named_section().
1607
1608 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1609
1610 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1611 SI, or DI.
1612
1613 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1614
1615 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
1616 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1617 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1618 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1619 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1620
1621 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1622
1623 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
1624
1625 * c-decl.c (finish_enum): Simplify code to determine minimum and
1626 maximum values of the enum, and calculate the type. Remove check
1627 for FUNCTION_DECLs in the values list, which cannot happen. Replace
1628 the DECL_INITIAL of each enumeration constant with a copy converted
1629 to the enumeration type. When updating variant types, don't bother
1630 updating the type itself.
1631
1632 * c-typeck.c (build_binary_op): Simplify conditional expressions
1633 when weeding out spurious signed-unsigned warnings. Add new
1634 spurious warning category: if the unsigned quantity is an enum
1635 and its maximum value fits in signed_type(result_type). Update
1636 commentary.
1637 (build_conditional_expr): Warn here if one alternative is signed
1638 and the other is unsigned.
1639
1640 2000-01-05 Nick Clifton <nickc@cygnus.com>
1641
1642 * config/fr30/fr30.h: Remove extraneous comments.
1643
1644 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
1645
1646 * reload1.c (choose_reload_regs): When disabling a reload, also
1647 set reload_spill_index to -1.
1648
1649 2000-01-04 Joel Sherrill (joel@OARcorp.com>
1650
1651 * configure.in (m68*-*-rtemscoff*): New target, formal name for
1652 old m68*-*-rtems*.
1653 (m68*-*-rtemself*): New target.
1654 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1655 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1656 (sparc*-*-rtemself*): New target.
1657 (sparc*-*-rtems*): Now elf not a.out.
1658 * config/i386/rtems.h: Include config/rtems.h.
1659 * config/i386/rtemself.h: Include config/rtems.h.
1660 * config/i960/rtems.h: Include config/rtems.h.
1661 * config/m68k/rtems.h: Include config/rtems.h.
1662 * config/m68k/rtemself.h: Include config/rtems.h.
1663 * config/mips/rtems64.h: Include config/rtems.h.
1664 * config/pa/rtems.h: Include config/rtems.h.
1665 * config/rs6000/rtems.h: Include config/rtems.h.
1666 * config/sh/rtems.h: Include config/rtems.h.
1667 * config/sh/rtemself.h: Include config/rtems.h.
1668 * config/sparc/rtems.h: Include config/rtems.h.
1669 * config/sparc/rtemself.h: Include config/rtems.h
1670
1671 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
1672
1673 * final.c (shorten_branches): Correctly compute length of
1674 asms without operands.
1675
1676 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
1677
1678 * configure.in: Add pj target.
1679 * configure: Regenerate.
1680 * config/pj: New directory.
1681 * config/pj/lib1funcs.S: New file.
1682 * config/pj/linux.h: New file.
1683 * config/pj/pj.c: New file.
1684 * config/pj/pj.md: New file.
1685 * config/pj/pjl.h: New file.
1686 * config/pj/t-pj: New file.
1687 * config/pj/xm-pj.h: New file
1688
1689 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
1690
1691 * toplev.c (rest_of_compilation): Run shorten-branches before
1692 reg-stack for now.
1693
1694 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1695
1696 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
1697 macros so that they're consistent with their names.
1698 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1699 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1700
1701 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1702
1703 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1704 modified inadvertently.
1705
1706 2000-01-04 Joel Sherrill <joel@OARcorp.com>
1707
1708 * configure.in (v850*-*-rtems*): New target.
1709 * configure: Regenerate.
1710 * config/v850/rtems.h: New file.
1711
1712 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1713
1714 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1715 (__gthread_key_create): Likewise.
1716 (__gthread_key_dtor): Likewise.
1717 (__gthread_once): Fix logic.
1718 (__gthread_key_delete): Cast away constness.
1719
1720 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1721 * invoke.texi: Document.
1722 * i386/mingw32.h (CPP_SPEC): Use.
1723 (LIBGCC_SPEC): Likewise.
1724 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1725
1726 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1727
1728 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1729 (HANDLE_PRAGMA_PACK): Undefine.
1730 (SLOW_UNALIGNED_ACCESS): Define.
1731
1732 2000-01-04 David Edelsohn <edelsohn@gnu.org>
1733
1734 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1735 to default definition.
1736 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1737 (store_fixed_bit_field): Call macro with word_mode and alignment.
1738 (extract_bit_field): Call macro with relevant mode and alignment.
1739 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1740 to default definition.
1741 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1742 and alignment.
1743 (move_by_pieces_ninsns): Likewise.
1744 (clear_by_pieces): Likewise.
1745 (emit_push_insn): Likewise.
1746 (store_field): Call macro with relevant mode and alignment.
1747 (expand_expr): Likewise.
1748 (expand_expr_unaligned): Likewise.
1749
1750 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1751 (SLOW_UNALIGNED_ACCESS): Define.
1752 (CASE_VECTOR_MODE): Always use 32-bit offsets.
1753 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1754 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1755 (toc_section): Likewise and .toc pseudo-op.
1756 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
1757 64-bit mode.
1758 (TEXT_SECTION_ASM_OP): Likewise.
1759 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1760 32-bit offsets.
1761
1762 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1763 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1764 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1765 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1766 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1767
1768 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
1769
1770 * regclass.c: Revert my Jan 4 change to loop cost computation.
1771
1772 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1773
1774 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1775 compilation.
1776
1777 2000-01-04 Stan Cox <scox@cygnus.com>
1778
1779 * haifa-sched.c (build_control_flow): Change unreachable simple
1780 loop test to check if current block has only one predecessor.
1781 (find_rgns): Initialize degree. Use dest as degree index, not src.
1782
1783 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1784
1785 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1786
1787 * calls.c (expand_call): Likewise for
1788 `old_stack_arg_under_construction'.
1789
1790 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1791
1792 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1793 `save_constant'.
1794
1795 * gcc.c (execute): Likewise for `ut' and `st'.
1796
1797 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1798
1799 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1800
1801 * jump.c (jump_optimize_1): Likewise for `temp2'.
1802
1803 * local-alloc.c (block_alloc): Likewise for `r1'.
1804
1805 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1806
1807 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1808 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1809
1810 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1811 and `set2'.
1812
1813 * reload.c (find_reloads): Likewise for `goal_alternative_number'
1814 and `goal_earlyclobber'.
1815
1816 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1817
1818 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1819
1820 * stupid.c (stupid_life_analysis): Likewise for `chain'.
1821
1822 * unroll.c (copy_loop_body): Likewise for `copy'.
1823
1824 * varasm.c (output_constructor): Likewise for `byte'.
1825
1826 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1827
1828 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1829 all FP constants for constant->reg moves.
1830 (ix86_split_to_parts): Try to convert memory address into immediate
1831 when available in the constant pool.
1832 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1833 moves.
1834 (LEGITIMATE_CONSTANT_P): Return 1.
1835 * i386.md (pushsf): New splitter to convert constant pool memory
1836 reference to immediate.
1837 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1838 reload.
1839
1840 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
1841
1842 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1843 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1844 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1845 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1846 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1847
1848 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
1849
1850 * ginclude/stdbool.h: Support compilation as C++.
1851
1852 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1853
1854 * fold-const.c (make_range): Don't try to reverse an unbounded range.
1855
1856 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
1857
1858 * regclass.c (regclass): Properly compute loop_cost. Adjust
1859 comments.
1860
1861 * regclass.c: Fix minor whitespace problems.
1862
1863 2000-01-03 Anthony Green <green@cygnus.com>
1864
1865 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
1866 Restore the pic register if required.
1867
1868 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1869
1870 * c-common.c (format_char_info): Update comment.
1871 (check_format_info): Recognize 'z' modifier in the same way 'Z'
1872 was recognized. Emit warning for formats new in ISO C99 only
1873 if flag_isoc9x is not set.
1874
1875 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
1876
1877 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
1878
1879 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1880
1881 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
1882 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
1883 (make_compound_operation): Choose cheaper alternative between
1884 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
1885
1886 * regclass.c (op_costs): Remove global variable.
1887 (record_reg_classes): New parameter "op_costs" and "reg_pref".
1888 (record_operand_costs): Break out from ...
1889 (scan_one_insn): ... here.
1890 (dump_regclass): Make dumps nicer.
1891 (regclass): Dump preferrences choosed and changes done during passes.
1892
1893 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1894
1895 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
1896
1897 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1898
1899 * config/sparc/sparc.c (gen_df_reg): New function.
1900 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
1901 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
1902 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
1903 movtf_cc_reg_sp64+1): Use it.
1904
1905 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1906
1907 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
1908 copied LABEL_DECLs.
1909
1910 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
1911
1912 * config/i386/i386.c (ix86_expand_unary_operator): Function
1913 definition made void.
1914 (ix86_expand_binary_operator): Update outdated preceding comment.
1915 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
1916 prototype.
1917
1918 * config/i386/i386.c (override_options): Fix option-name typo.
1919
1920 2000-01-02 Mark Mitchell <mark@codesourcery.com>
1921
1922 * system.h (CEIL): Define.
1923 * builtins.c (CEIL): Remove.
1924 * expmed.c (CEIL): Likewise.
1925 * expr.c (CEIL): Likewise.
1926 * stor-layout.c (CEIL): Likewise.
1927
1928 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1929
1930 * expr.c (store_constructor_field): Fix typo introduced with last
1931 gcc2 merge.
1932
1933 2000-01-01 Mark Mitchell <mark@codesourcery.com>
1934
1935 * tree.h (BINFO_N_BASETYPES): New macro.
1936
1937 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
1938
1939 * expmed.c (emit_store_flag): Prevent losing a pending stack
1940 adjust the same way we prevent losing queued increments.
1941
1942 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1943
1944 * function.c (update_temp_slot_address): Handle case where sum of
1945 temporary address plus offset in register is a valid address.
1946
1947 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1948
1949 * genrecog.c (change_state) Corrected typo.
1950
1951 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1952
1953 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
1954 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
1955 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1956
1957 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
1958
1959 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
1960 case, expand GT comparisons correctly. Fix a comment before this
1961 part of the code.
1962
1963 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
1964
1965 * dwarfout.c: Include "frame.h"
1966 * dwarf2out.c: Likewise.
1967 * Makefile.in (dwarfout.o): Depend on frame.h
1968 (dwarf2out.o): Likewise.
1969
1970 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
1971
1972 Restore i386 binary compatibility in Dwarf EH info.
1973 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
1974 value of FIRST_PSEUDO_REGISTER.
1975 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
1976 (struct frame_state): Use DWARF_FRAME_REGISTERS.
1977 * dwarfout.c (output_reg_number): Ditto.
1978 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
1979 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1980
1981 1999-12-29 Bruce Korb <autogen@linuxbox.com>
1982
1983 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
1984 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
1985 (<hack>_RE_CT): not needed
1986 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
1987 rewritten to scan the file text once only
1988 "template<..." test added
1989 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
1990 (is_cxx_header): declaration added
1991 * fixinc/fixtests.c(is_cxx_header): removed
1992 (apply_fix_p_t): removed
1993 (double_slash_test): is_cxx_header is only called once now
1994 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
1995 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
1996 within the templates.
1997 The borken spelling of "broken" was fixed.
1998 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
1999 The default level depends on FIXINC_DEBUG.
2000
2001 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2002
2003 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
2004 Otherwise provide a declaration for atexit.
2005 (init_dummy): Make sure dummy call to atexit is nevertheless
2006 called with correct number of args.
2007
2008 * frame.c: Update comments referring to other files.
2009
2010 * libgcc2.c: Likewise.
2011
2012 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2013
2014 * cse.c (free_element, get_element): Remove unused prototypes.
2015
2016 * fold-const.c (extract_muldiv): Initialize variables `op0' and
2017 `op1'.
2018
2019 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
2020 `else' clauses.
2021
2022 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
2023
2024 * configure.in,configure: case arm for mn10200-*-* now sets
2025 float_format=i32 so that float.h will correctly claim "double"
2026 to be 32 bits. Ran autoconf to generate configure from .in file.
2027
2028 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
2029
2030 * pa.md (conditional zero): If op1 is a register, force it into
2031 the same register as op0.
2032
2033 1999-12-28 Mark Mitchell <mark@codesourcery.com>
2034
2035 * tree.h (BINFO_BASETYPES): Improve documentation.
2036
2037 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2038
2039 * configure.in (--enable-checking): Use a more portable `for'
2040 loop syntax.
2041
2042 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2043
2044 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
2045 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
2046
2047 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
2048 Delete files.
2049
2050 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
2051 Delete descriptions.
2052
2053 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
2054 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
2055 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
2056 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
2057 xm-svr4.h: Remove all instances of sys_siglist handling.
2058
2059 1999-12-27 Jakub Jelinek <jakub@redhat.com>
2060
2061 * config/sparc/sparc.md (cmp_zero_qi,
2062 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
2063 cmp_zero_extendqidi2_andcc_set): New patterns.
2064
2065 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
2066
2067 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2068 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
2069 (fpgnulib.c, xfgnulib.c): Add rules.
2070 * m68k/t-mot3300-gas: Likewise.
2071
2072 1999-12-27 Ian Lance Taylor <ian@zembu.com>
2073
2074 * configure.in: Avoid [[ by using test and changequote. Add
2075 changequote required by 1999-12-14 change.
2076 * configure: Rebuild.
2077
2078 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
2079
2080 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
2081
2082 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
2083
2084 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
2085 * flow.c (find_use_as_address): Likewise.
2086 * function.c (fixup_var_refs_1): Likewise.
2087 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
2088 * jump.c (invert_exp, redirect_exp): Likewise.
2089 * loop.c (replace_call_address): Likewise.
2090 (count_nonfixed_reads): Likewise.
2091 * rtlanal.c (modified_between_p): Likewise.
2092 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
2093 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
2094 * unroll.c (remap_split_bivs): Likewise.
2095
2096 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2097
2098 * diagnostic.c (v_message_with_decl): Use .* format specifier
2099 instead of building the format specifier width manually.
2100
2101 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
2102 determining whether to provide a prototype. Remove the
2103 sys_siglist clause in the conditional.
2104
2105 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2106
2107 * fold-const.c (operand_equal_p): Use memcmp to compare string
2108 constants.
2109 Suggested by D. J. Bernstein
2110
2111 1999-12-17 Jakub Jelinek <jakub@redhat.com>
2112
2113 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
2114 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
2115 compiling libgcc2.
2116 * config/mips/mips.h (TARGET_64BIT): Likewise.
2117 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
2118 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
2119 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
2120 dsps. Give routines proper names if SI/DI modes are not used.
2121 * longlong.h: Use DWunion instead of DIunion.
2122
2123 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
2124
2125 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
2126 GC_CHECKING, GC_ALWAYS_COLLECT.
2127 * configure.in: Allow --enable-checking with an argument
2128 listing check modes to enable.
2129 * config.in, configure: Rebuilt.
2130 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
2131 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
2132 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
2133 ENABLE_GC_ALWAYS_COLLECT.
2134 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
2135 throughout.
2136 * tree.h, tree.c: Change ENABLE_CHECKING to
2137 ENABLE_TREE_CHECKING throughout.
2138
2139 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2140
2141 * fold-const.c (fold_truthop): Properly check for FP RHS.
2142
2143 1999-12-24 Mark Mitchell <mark@codesourcery.com>
2144
2145 * toplev.h (note_deferall_of_defined_inline_function): Declare.
2146 * toplev.c (note_deferral_of_defined_inline_function): New
2147 function, split out from ...
2148 (rest_of_compilation): ... here. Use it.
2149
2150 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2151
2152 * expr.c (store_constructor): Don't call clear_storage if size is
2153 variable.
2154
2155 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2156
2157 * Makefile.in (toplev.o): Depend on loop.h.
2158
2159 * dwarfout.c: Include tm_p.h.
2160
2161 * emit-rtl.c (restore_emit_status): Mark parameter with
2162 ATTRIBUTE_UNUSED.
2163
2164 * final.c (final_scan_insn): Likewise.
2165
2166 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
2167 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
2168 flow_depth_first_order_compute, flow_loop_pre_header_find,
2169 flow_loop_tree_node_add, flow_loops_tree_build,
2170 flow_loop_level_compute, flow_loops_level_compute,
2171 flow_loop_outside_edge_p): Add prototypes.
2172 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
2173
2174 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
2175 Mark with ATTRIBUTE_NORETURN.
2176
2177 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
2178
2179 * local-alloc.c (no_conflict_p): Likewise.
2180
2181 * loop.c (insert_bct): Hide definitions of variables with hidden
2182 usage.
2183 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
2184
2185 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
2186 with ATTRIBUTE_UNUSED.
2187 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
2188 (reg_scan): Likewise.
2189
2190 * reload.c (find_reloads): Remove unused variables `changed'.
2191
2192 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
2193 away const-ness.
2194 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
2195 Remove unused variable `insn'.
2196
2197 * toplev.c: Include loop.h.
2198 (report_file_and_line): Remove unnecessary prototype.
2199
2200 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
2201
2202 * unroll.c (biv_total_increment): Likewise.
2203
2204 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2205
2206 * reload1.c (emit_input_reload_insns): Restore old behaviour
2207 wrt. 'special' reloads.
2208
2209 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
2210
2211 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
2212 hash.h. (cse.c): Don't depend on hashtab.h.
2213
2214 * cse.c: Don't include hashtab.h.
2215 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
2216 of dead functions.
2217 * ggc-simple.c: Don't include hash.h.
2218
2219 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
2220
2221 * dwarf2out.c (add_abstract_origin_attribute): Call
2222 gen_abstract_function on our function context.
2223
2224 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
2225
2226 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
2227
2228 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2229
2230 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
2231 case in switch.
2232
2233 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2234
2235 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
2236 constraints to "a!r".
2237
2238 1999-12-21 Mark Mitchell <mark@codesourcery.com>
2239
2240 * Makefile.in (calls.o): Depend on function.h.
2241 (alias.o): Likewise.
2242
2243 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
2244
2245 * reload1.c (emit_reload_insns): Break out code and variables into...
2246 (input_reload_insns, other_input_address_reload_insns,
2247 other_input_reload_insns, input_address_reload_insns,
2248 inpaddr_address_reload_insns, output_reload_insns,
2249 output_address_reload_insns, outaddr_address_reload_insns,
2250 operand_reload_insns, other_operand_reload_insns,
2251 other_output_reload_insns): ... new static variables, and...
2252 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
2253 do_output_reload): ... new functions.
2254
2255 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2256
2257 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
2258
2259 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2260
2261 * md.texi: Add c4x constraints documentation.
2262
2263 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2264
2265 * config/i386/dgux.c (struct option): Rename to
2266 lang_independent_option.
2267 (struct m_options): Add description field.
2268 (output_options): Rename option type, add sep declaration, output
2269 ix86_cpu_string and ix86_arch_string only if set.
2270 (output_file_start): Rename option type.
2271
2272 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
2273
2274 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
2275 stmp-int-hdrs.
2276 (libgcc2.a): Similarly.
2277
2278 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
2279
2280 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
2281 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
2282 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
2283
2284 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
2285
2286 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
2287 Remove redundant initialization of "frexpon" and "expon".
2288
2289 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2290
2291 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
2292
2293 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
2294 (store_constructor_field, expand_expr): Pass new arg.
2295
2296 1999-12-20 Mark Mitchell <mark@codesourcery.com>
2297
2298 * Makefile.in (explow.o): Depend on function.h.
2299
2300 * stor-layout.c (set_sizetype): Fix typo.
2301
2302 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
2303
2304 * function.c (cfun): Renamed from current_function. All users
2305 changed.
2306 * function.h (cfun): Rename declaration as well.
2307
2308 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
2309 to be of type regset_head, not regset. All users changed by adding
2310 address operator.
2311 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
2312
2313 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2314
2315 * config/c4x/rtems.h: New file.
2316
2317 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
2318
2319 * reload1.c (spill_failure): Take class of failed reload as argument
2320 and print it. Caller changed.
2321
2322 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2323
2324 * rs6000.h (SUBTARGET_DEFAULT): New macro.
2325 (TARGET_SWITCHES): Allow subtargets to default switches.
2326 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
2327
2328 1999-12-18 Mark Mitchell <mark@codesourcery.com>
2329
2330 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
2331 in a main program.
2332
2333 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
2334
2335 * cccp.c (main): Define __STDC_VERSION__ as necessary.
2336 * cppinit.c (cpp_handle_option): Likewise.
2337
2338 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
2339 determine when to define.
2340
2341 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
2342
2343 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
2344 cmove with mismatched test and data modes.
2345
2346 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
2347
2348 * c-typeck.c (c_expand_start_case): Don't warn for long switch
2349 in system headers.
2350
2351 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2352
2353 * alias.c: Minor reformatting.
2354 * flow.c: Likewise.
2355 * regs.h: Likewise.
2356 * stor-layout.c: Likewise.
2357 * fold-const.c: Likewise.
2358 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
2359 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
2360 not arg itself.
2361 (size_int_wide): Cache nodes even if garbage collecting.
2362 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
2363 of SAVE_EXPR has no side effects.
2364 * cse.c: Move a comment.
2365 * tree.c: Minor reformatting.
2366 (int_size_in_bytes): Return -1 if constant overflows.
2367
2368 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2369
2370 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
2371
2372 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
2373
2374 * objc/objc-parse.c: Regenerate. This file must be rebuilt
2375 after any change to c-parse.in, even if objc-parse.y didn't
2376 change. Oops.
2377
2378 1999-12-18 David S. Miller <davem@redhat.com>
2379
2380 * toplev.c (rest_of_compilation): Restore BLOCK tree
2381 reconstruction and branch shortening changes lost in
2382 December 18th change.
2383
2384 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
2385
2386 * config/arm/linux-elf.h: Change all instances of
2387 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
2388 * config/arm/uclinux-elf.h: Likewise.
2389
2390 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
2391
2392 * toplev.c (notice, vmessage, v_message_with_file_and_line,
2393 v_message_with_decl, file_and_line_for_asm,
2394 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
2395 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
2396 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
2397 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
2398 pfatal_with_name, fatal_io_error, need_error_newline,
2399 last_error_function, last_error_tick, announce_function,
2400 default_print_error_function, print_error_function,
2401 report_error_function, fnotice, error_with_file_and_line,
2402 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
2403 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
2404 warning_with_decl, warning_for_asm, warning, pedwarn,
2405 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
2406 diagnostic.c
2407 (compile_file): Use fnotice instead of notice. Adjust call.
2408
2409 * diagnostic.c: New file.
2410
2411 * Makefile.in (OBJS): Include diagnostic.o
2412 (diagnostic.o): Define dependence.
2413
2414 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2415
2416 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
2417 Tweak formatting.
2418
2419 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2420
2421 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
2422
2423 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2424
2425 * fixtests.c (is_cxx_header): New fn, split out of
2426 double_slash_test.
2427 (else_endif_label): Allow "#endif // comment" in C++ headers,
2428 as determined by is_cxx_header.
2429 * fixfixes.c (else_endif_label_fix): Update comment.
2430 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
2431 a tty.
2432 * genfixes: Correct double thinko in commandline parsing.
2433 * hackshell.tpl: Generate correct sh syntax for bypass
2434 entries.
2435
2436 * inclhack.def (all): Whenever an inserted preprocessor
2437 conditional is split over multiple lines, use double
2438 backslashes in this file so the fixed header will be readable.
2439
2440 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
2441 and add bypass entry for correct version of this header.
2442 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
2443 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
2444
2445 (hpux8_bogus_inlines): New fix, split from...
2446 (ultrix_atof_param) ... here.
2447 (math_expression): Add bypass entry keyed to glibc comment
2448 indicating the problem has been dealt with; disable
2449 unnecessary sed operations; update commentary.
2450 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
2451 add select and bypass entries, simplify shell operation.
2452 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
2453
2454 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
2455 ultrix_atof_param): Add select entry.
2456 (stdio_va_list, sunos_mather_decl): Add bypass entry.
2457 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
2458 comments with the fixes they describe.
2459
2460 * c-parse.in (string action): Do not warn about ANSI string
2461 concatenation in system headers. Affects C parser only.
2462 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
2463
2464 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2465
2466 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
2467 compiling libgcc2 the macro depends always on arch cpp defines.
2468
2469 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
2470
2471 * loop.c (insert_loop_mem): Don't record MEMs from inside
2472 EXPR_LISTs.
2473
2474 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
2475
2476 * regclass.c (regclass): Do not use flowgraph when not optimizing.
2477
2478 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
2479 notes too, create one when replacement failed, attempt to simplify
2480 resulting notes.
2481 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
2482 or REG_EQUIV notes.
2483
2484 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2485
2486 * crtstuff.c (__dso_handle): Declare.
2487 (__cxa_finalize): Likewise.
2488 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
2489 non-NULL.
2490
2491 * invoke.texi: Document -fuse-cxa-atexit.
2492
2493 * tree.h (ptr_type_node): Document.
2494 (const_ptr_type_node): Likewise.
2495
2496 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2497
2498 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
2499 (optimize_reg_copy_2): Likewise.
2500 (optimize_reg_copy_3): Likewise.
2501 (fixup_match_2): Likewise.
2502 (regmove_optimize): Likewise.
2503 (fixup_match_1): Liekwise.
2504
2505 * i386.md (HI to SImode promoting splitters): Rewrite.
2506 (pushsf mem peep2): New.
2507 (testhi to andhi peep2): Remove.
2508 * i386.h (x86_promote_QImode): New.
2509 (TARGET_PROMOTE_QImode): New.
2510 (PREDICATE_CODES): Add promotable_binary_operator.
2511 * i386.c (x86_promote_QImode0: New.
2512 (promotable_binary_operator): New.
2513 * i386-protos.h (promotable_binary_operator): New.
2514
2515 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
2516 condition.
2517 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
2518
2519 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2520
2521 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
2522 * function.c (insert_block_after_note): Remove.
2523 (retrofit_block): Likewise.
2524 (identify_blocks): Fix indentation.
2525 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
2526 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
2527 * function.h (insert_block_after_note): Remove prototype.
2528 (retrofit_block): Likewise.
2529 * integrate.c (expand_inline_function): Don't call
2530 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
2531 just expand_start_bindings. Use the block_map to remap old
2532 NOTE_BLOCKs to new ones.
2533 (integrate_decl_tree): Keep track of remapped blocks.
2534 * integrate.h (struct inline_remap): Add block_map.
2535 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
2536 NOTE_BLOCK on the notes.
2537 (expand_start_bindings): Rename to ...
2538 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
2539 (expand_end_bindings): Set NOTE_BLOCK.
2540 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
2541 reconstruct the BLOCK tree.
2542 * tree.h (expand_start_bindings): Macroize. Call ...
2543 (expand_start_bindings_and_block): New function.
2544
2545 1999-12-16 Jakub Jelinek <jakub@redhat.com>
2546
2547 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
2548 to match the format.
2549
2550 1999-12-16 David S. Miller <davem@redhat.com>
2551
2552 * expr.c (emit_move_insn_1): Only emit clobbers if one of
2553 the outputs is a SUBREG.
2554 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
2555 change.
2556
2557 * config/sparc/sparc.c (epilogue_renumber): Add default case
2558 to switch stmt.
2559
2560 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2561
2562 * toplev.c (rest_of_compilation): Run branch shortening after
2563 reg-stack.
2564
2565 * regclass.c (loop_depth): Remove
2566 (scan_one_insn): Do not handle LOOP_NOTE insns.
2567 (regclass): Go through basic blocks and set loop_cost
2568
2569 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
2570
2571 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
2572
2573 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2574
2575 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
2576 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
2577 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
2578
2579 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
2580
2581 * loop.c (insert_loop_mem): Ignore memory clobbers.
2582
2583 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
2584 to (OP A B).
2585
2586 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
2587
2588 * profile.c: Remove redundant #include "output.h".
2589
2590 * h8300.md (HImode preinc peephole): Fix typo.
2591
2592 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2593
2594 * function.c (retrofit_block): Abort if we don't find a suitable insn.
2595 (insert_block_after_note): Abort if we don't have a previous block.
2596 Remove FN parameter.
2597 * function.h: Adjust.
2598
2599 1999-12-15 Mark Mitchell <mark@codesourcery.com>
2600
2601 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
2602 argument more than once.
2603
2604 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2605
2606 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
2607
2608 1999-12-15 Jakub Jelinek <jakub@redhat.com>
2609
2610 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
2611
2612 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2613
2614 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
2615 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
2616 update stack_alignment_needed.
2617 (prepare_function_start): Initialize stack_alignment_needed
2618 * function.h (struct function): Add field stack_alignment_needed.
2619
2620 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2621
2622 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
2623 Handle live_throughout / dead_or_set instead of live_before /
2624 live_after.
2625 (save_call_clobbered_regs): Get register livenessinformation from
2626 chain->live_throughout.
2627 (add_stored_regs): New function.
2628 (insert_restore, insert_save): Add restored / saved registers to
2629 dead_or_set.
2630 * global.c (reg_dies): New parameter chain.
2631 (reg_becomes_live): Third parameter is regs_set now.
2632 Changed all callers.
2633 (reg_dies): New parameter chain. Changed all callers.
2634 (build_insn_chain): Set live_throughout instead of
2635 live_before / live_after.
2636 * reload.h (struct insn_chain): Replace members live_before /
2637 live_after with live_throughout / dead_or_set.
2638 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
2639 instead of live_before / live_after.
2640 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
2641 (order_regs_for_reload, find_reg, finish_spills): Likewise.
2642 (choose_reload_regs_init): Likewise.
2643 * stupid.c (current_chain, find_clobbered_regs): Delete.
2644 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
2645 instead of chain->live_before / chain->live_after.
2646 (mark_hard_ref): New function.
2647 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
2648
2649 1999-12-15 David S. Miller <davem@redhat.com>
2650
2651 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
2652
2653 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2654
2655 * flow.c (calculate_loop_depth): Make global, remove prototype,
2656 rewrite to use new loop infrastructure.
2657 (find_basic_block): Remove calculate_loop_depth call.
2658 * toplev.c (rest_of_compilation): Call find_basic_block.
2659 * output.h (calculate_loop_depth): Declare.
2660
2661 * flow.c (dump_flow_info): Dump loop_depth.
2662 (flow_loops_nodes_find): Increase loop_depth for basic block in the
2663 body.
2664 (flow_loops_find): Initialize the loop_depth for each basic block.
2665
2666 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
2667
2668 * tree.c (decl_function_context): Handle virtual functions.
2669
2670 * tlink.c (scan_linker_output): Don't look in demangled name when
2671 looking for linker output keywords.
2672
2673 * dwarfout.c (output_type): We can defer namespace-scope classes.
2674
2675 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
2676
2677 * regclass.c (record_reg_classes): Update comment for merging
2678 register class preferences in reg->reg copies. Tighten conditions
2679 for merging register class preferences in reg->reg copies.
2680
2681 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
2682
2683 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
2684
2685 1999-12-14 Geoff Keating <geoffk@cygnus.com>
2686
2687 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
2688 (INIT_SECTION_ASM_OP): Delete.
2689 (FINI_SECTION_ASM_OP): Delete.
2690 (STARTFILE_SPEC): Define to hold just crtbegin.o.
2691
2692 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
2693
2694 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
2695 the abstract origin wasn't emitted.
2696
2697 * dwarf2out.c (class_scope_p): New fn.
2698 (gen_subprogram_die): Use it.
2699 (gen_variable_die): Use it. Tweak logic.
2700 (gen_struct_or_union_type_die): Check context_die to determine
2701 if we're function-local.
2702 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
2703
2704 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2705
2706 * loop.c (check_dbra_loop): Can't reverse a biv that has
2707 maybe_multiple set.
2708
2709 1999-12-14 Nick Clifton <nickc@cygnus.com>
2710
2711 * config/arm/arm.c: Add support for -mcpu=arm720 command line
2712 switch.
2713
2714 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2715
2716 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
2717 for givs made from biv increments.
2718
2719 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
2720
2721 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
2722 * alpha.c (override_options): Recognize -mcpu=ev67.
2723 * alpha.h (CPP_CPU_EV67_SPEC): New.
2724 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
2725 (EXTRA_SPECS): Update.
2726
2727 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
2728
2729 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
2730 appropriate for -lang-c89 and -std=*.
2731 * cppinit.c (cpp_handle_option): Likewise.
2732 (new_pending_define): New, split out from cpp_handle_option.
2733 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
2734 or enable trigraphs for -ansi/-std=*.
2735
2736 * ginclude/stdarg.h (__va_copy): New.
2737 (va_copy): Don't define for C89.
2738
2739 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
2740
2741 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
2742 for long long multiply-accumulate.
2743
2744 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2745
2746 * regclass.c (scan_one_insn): Set loop_cost to 1 when
2747 optimizing for size.
2748
2749 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2750
2751 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
2752 if something changed. Back out that part of yesterday's changes.
2753
2754 * loop.c (loop_max_reg): New static variable.
2755 (loop_optimize): Initialize it. Eliminate one unnecessary call to
2756 max_reg_num.
2757 (scan_loop): Call reg_scan_update whenever we may have added new
2758 registers, and update loop_max_reg.
2759
2760 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
2761
2762 * regclass.c (record_reg_classes): Do not do the copying preferrencing
2763 when source does not die.
2764
2765 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
2766
2767 1999-12-14 Jakub Jelinek <jakub@redhat.com>
2768
2769 * config/sparc/linux64.h (TARGET_LIVE_G0,
2770 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
2771 variants on Linux.
2772 * config/sparc/linux.h (TARGET_LIVE_G0,
2773 TARGET_BROKEN_SAVERESTORE): Likewise.
2774 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2775 TARGET_BROKEN_SAVERESTORE): Likewise.
2776
2777 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
2778 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
2779 not %g2.
2780 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
2781 as sparc64 block profiling register.
2782 * config/sparc/sparc.c (sparc_override_options): Allow block
2783 profiling with -m32.
2784 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
2785 profiling register.
2786 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
2787 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
2788 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
2789
2790 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
2791 for sparc64.
2792 * config/sparc/sparc.h: Likewise.
2793 * config/sparc/xm-sysv4-64.h: Likewise.
2794 * config/float-sparc.h: Likewise.
2795 * glimits.h: Likewise.
2796 * longlong.h: Likewise.
2797
2798 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
2799 (ASM_IDENTIFY_GCC): Remove.
2800
2801 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
2802
2803 * combine.c (combine_simplify_rtx): Don't make shared rtl.
2804 (simplify_logical): Likewise.
2805
2806 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2807
2808 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
2809 * cppfiles.c (INO_T_EQ): Likewise.
2810
2811 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
2812
2813 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
2814 * i386/mingw32.h (LIB_SPEC): Likewise.
2815 (STARTFILE_SPEC): Likewise.
2816 * i386/uwin.h (LIB_SPEC): Likewise.
2817 (STARTFILE_SPEC): Likewise.
2818
2819 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
2820 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
2821
2822 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
2823
2824 * combine.c (combine_simplify_rtx): Fix order of checks for
2825 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
2826
2827 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
2828
2829 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
2830 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
2831
2832 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
2833
2834 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
2835 defined.
2836 * regclass.c (inv_reg_alloc_order): New array.
2837 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
2838
2839 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
2840 counted_for_groups, counted_for_nongroups. Add fields rld and
2841 n_reloads.
2842 * reload.c (push_secondary_reload): Don't set nongroup field of
2843 new reloads.
2844 (push_reload): Likewise.
2845 (find_reloads): Delete code to compute nongroup fields.
2846 * reload1.c (reload_insn_firstobj): New static variable.
2847 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
2848 users changed.
2849 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
2850 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
2851 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
2852 functions.
2853 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
2854 functions.
2855 (struct hard_reg_n_uses): Deleted.
2856 (potential_reload_regs): Deleted.
2857 (init_reload): Initialize spilled_pseudos and pseudos_counted.
2858 (reload): Don't try to allocate reload registers if we already know
2859 we have to make another pass. Call select_reload_regs. Free memory
2860 starting with reload_firstobj when starting another pass.
2861 Don't allocate spilled_pseudos.
2862 (calculate_needs_all_insns): Call copy_reloads for an insn that
2863 needs reloads; don't call calculate_needs.
2864 (spill_cost): New static array.
2865 (used_spill_regs_local): New static variable.
2866 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
2867 to compute potential_reload_regs.
2868 (find_reload_regs): Completely rewritten to use find_reg.
2869 (allocate_reload_reg): Don't test counted_for_groups or
2870 counted_for_nongroups. Lose NOERROR arg and code to give an error;
2871 all cllers changed.
2872 (choose_reload_regs): Add fallback code that uses the existing
2873 register allocation from find_reload_regs.
2874
2875 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
2876
2877 * flow.c (create_edge_list): Cast xmalloc return value.
2878
2879 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
2880
2881 * doprnt.c: Remove incorrect comment closure.
2882
2883 * cse.c: Fix a few minor whitespace goofs.
2884
2885 1999-12-13 Don Bowman <don@pixstream.com>
2886
2887 * mips/vxworks.h: Fix problem with comment termination.
2888 (EXTRA_SECTIONS): Add in_sbss.
2889 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
2890
2891 1999-12-12 David S. Miller <davem@redhat.com>
2892
2893 * cse.c (struct cse_reg_info): Add hash_next member,
2894 reorder rest of struct for better packing on 64-bit
2895 hosts.
2896 (cse_reg_info_tree): Kill.
2897 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
2898 REGHASH_FN): New custom pow2 hash mechanism.
2899 (NBUCKETS): Kill.
2900 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
2901 use a pow2 hash table.
2902 (get_cse_reg_info): Rework to use new REGHASH.
2903 (new_basic_block): Likewise, use HASH_SIZE, and inline
2904 free_element call.
2905 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
2906 and inline free_element call.
2907 (lookup_as_function, insert, flush_hash_table, invalidate,
2908 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
2909 invalidate_for_call, use_related_value, find_comparison_args,
2910 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
2911 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
2912 get_element): Kill.
2913
2914 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
2915
2916 * cse.c (cse_basic_block): Free qty_table consistently.
2917
2918 1999-12-12 David S. Miller <davem@redhat.com>
2919 Jakub Jelinek <jakub@redhat.com>
2920
2921 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
2922 SUBREGs by hand, gen the appropriate hard reg directly.
2923 (movtf reg/mem split): Likewise and alter_subreg on destination
2924 if necessary.
2925 (movtf mem/reg split): Similarly.
2926 (movdf_cc_sp64): Rename from hidden pattern.
2927 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
2928 (movtf_cc_sp64, following split): New pattern and splitter.
2929 (movdf_cc_reg_sp64): Rename from hidden pattern.
2930 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
2931 TARGET_HARD_QUAD.
2932 (movtf_cc_reg_sp64, following split): New pattern and splitter.
2933
2934 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
2935
2936 * loop.c (load_mems): Don't hoist written floating point mem
2937 if -ffloat-store.
2938
2939 1999-12-12 Mark Mitchell <mark@codesourcery.com>
2940
2941 * except.h (struct eh_queue): Add `next' pointer.
2942 (struct eh_status): Make x_ehqueue a pointer.
2943 (push_ehqueue): Declare.
2944 (pop_ehqueue): Likewise.
2945 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
2946 pointer.
2947 (expand_fixup_region_end): Likewise.
2948 (expand_leftover_cleanups): Likewise.
2949 (push_ehqueue): Define.
2950 (pop_ehqueue): Likewise.
2951 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
2952 than doing it inline.
2953 (expand_start_all_catch): Adjust now that ehqueue is a
2954 pointer.
2955 (mark_eh_queue): Mark all level of the queue.
2956 (mark_eh_status): Adjust now that ehqueue is a
2957 pointer.
2958 (init_eh_for_function): Allocate ehqueue.
2959 (free_eh_status): Free it.
2960 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
2961 expansion for a fixup.
2962
2963 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2964
2965 * gthr-single.h (__gthread_active_p): Add prototype arguments.
2966
2967 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
2968 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
2969 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
2970 function_ptr, getpagesize, __enable_execute_stack,
2971 __enable_execute_stack, __clear_insn_cache,
2972 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
2973 _cleanup, _exit, __default_terminate, __terminate_func,
2974 __terminate, __empty, __throw, new_eh_context,
2975 eh_context_initialize, eh_context_static, eh_context_specific,
2976 get_eh_context, __get_eh_context, __get_eh_info,
2977 init_reg_size_table, eh_threads_initialize,
2978 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
2979 __unwinding_cleanup, throw_helper, __throw, __rethrow,
2980 __pure_virtual): Add prototype arguments.
2981 (__bb_exit_func): Cast a sizeof to long when comparing against one.
2982 Cast a signed value to unsigned long when comparing against one.
2983 (new_eh_context): Wrap in _GTHREADS macro.
2984 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
2985 declaration.
2986 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
2987 (throw_helper): Initialize variables `handler_p' and `pc_p'.
2988
2989 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2990
2991 * combine.c (record_promoted_value): Remove unused variable
2992 `links2'.
2993
2994 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
2995
2996 * global.c (record_conflicts): Likewise for `j'.
2997
2998 * genoutput.c (output_insn_data): Don't unnecessarily cast away
2999 const-ness.
3000
3001 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3002
3003 * i386-protos.h (output_387_binary_op, output_fix_trunc,
3004 output_fp_compare): Constify a char*.
3005
3006 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
3007 static prototypes.
3008 (override_options, ix86_comp_type_attributes, print_operand,
3009 output_387_binary_op, output_fix_trunc, output_fp_compare):
3010 Constify a char*.
3011 (ix86_sched_reorder): Mark parameter `clock_var' with
3012 ATTRIBUTE_UNUSED.
3013
3014 * i386.h (DEBUG_PRINT_REG): Constify a char*.
3015
3016 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
3017
3018 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
3019 operand, for use in the Java front-end.
3020
3021 1999-12-10 Ben Collins <bcollins@debian.org>
3022
3023 * configure.in: Fix typo for "-64" in 64bit as check.
3024 * configure: Rebuilt.
3025
3026 1999-12-10 Jakub Jelinek <jakub@redhat.com>
3027
3028 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
3029 appropriate.
3030
3031 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3032
3033 * c-parse.in (string): With -Wtraditional, warn if ANSI string
3034 concatenation is utilized.
3035
3036 * invoke.texi (-Wtraditional): Document it.
3037
3038 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3039
3040 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
3041 Cast a ptrdiff_t to long and pass it to printf with %ld.
3042
3043 1999-12-10 Geoff Keating <geoffk@cygnus.com>
3044
3045 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
3046 68881, we have no 68881 registers at all.
3047 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
3048 value in a 68881 register if it is available.
3049
3050 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
3051
3052 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
3053 for long long multiply-accumulate.
3054
3055 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
3056
3057 * loop.c (insert_loop_mem): Undo last change.
3058
3059 1999-12-10 David S. Miller <davem@redhat.com>
3060
3061 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
3062 New functions.
3063 * config/sparc/sparc-protos.h: Add them.
3064 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
3065 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
3066 constraints which use those helpers.
3067 (EXTRA_CONSTRAINT): Use this new macro.
3068 * md.texi: Update sparc target constraints documentation.
3069 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
3070 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
3071 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
3072 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
3073 (movsf high/lo_sum split): Rework for new patterns.
3074 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
3075
3076 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
3077
3078 * c-common.c (c_common_nodes_and_builtins):
3079 Create __builtin_ptrdiff_t and __builtin_size_t.
3080
3081 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
3082
3083 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
3084
3085 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3086
3087 * regclass.c (globalize_reg): Re-instate test that allows
3088 fixed registers to be declared as a variable even after functions
3089 are defined.
3090
3091 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3092
3093 * i386.md (cpu attribute): Add "athlon".
3094 (athlon_decode): New attribute.
3095 (Athlon scheduling units definitions): New.
3096 (fcmp and shld patterns): Set athlon_decode to "vector".
3097 * i386.c (athlon_cost): New.
3098 (m_ATHLON): New.
3099 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
3100 x86_use_sahf): Set for Athlon.
3101 (x86_use_fiop): Unset for Athlon.
3102 (override_options): Define Athlon alignments and "athlon" name.
3103 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
3104 * i386.h (TARGET_ATHLON): New.
3105 (enum processor_type): Add PROCESSOR_ATHLON.
3106 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
3107 for CPU_DEFAULT==5
3108 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
3109
3110 1999-12-09 Andreas Jaeger <aj@suse.de>
3111
3112 * loop.c (record_biv): Declare parameter as int.
3113
3114 * config/i386/i386-protos.h: Declare long_memory_operand.
3115
3116 1999-12-09 Mark Mitchell <mark@codesourcery.com>
3117
3118 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
3119 EXPR_WITH_FILE_LOCATION.
3120
3121 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3122
3123 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
3124 in expander.
3125
3126 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
3127
3128 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
3129 updating code.
3130
3131 1999-12-09 Jakub Jelinek <jakub@redhat.com>
3132
3133 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
3134 default on linux64 again.
3135 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
3136 models for multilibing.
3137 * genmultilib: Accept | as alternative separator within a set in
3138 MULTILIB_OPTIONS.
3139
3140 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
3141
3142 * calls.c (precompute_arguments): Make sure initial_value contains
3143 value pseudo which CSE expects.
3144 * cse.c (struct set): New entry orig_src.
3145 (cse_insn): Set it early on entry, use it for libcall EQUIV note
3146 replacement.
3147
3148 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
3149
3150 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
3151
3152 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
3153
3154 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
3155
3156 1999-12-08 Jakub Jelinek <jakub@redhat.com>
3157
3158 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
3159 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
3160
3161 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
3162 if TARGET_ARCH32.
3163
3164 * longlong.h: Merge in changes from glibc.
3165 Also don't clobber %g2 register in 32bit SPARC assembly, so that
3166 -mno-app-regs libgcc can be compiled.
3167 * libgcc2.c: Add defines so that the updated longlong.h
3168 can be used in libgcc2.a. Also, make sure on most architectures
3169 (at least on all which have optimized code in longlong.h defined
3170 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
3171
3172 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3173
3174 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
3175 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
3176 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
3177 is GNU ld.
3178 * configure: Rebuilt.
3179
3180 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
3181
3182 * alpha.c (secondary_reload_class): For !BWX, sub-simode
3183 outputs require a register.
3184
3185 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
3186
3187 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
3188 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
3189 functions like dptoul will be resolved.
3190 (libgcc2.a): Make sure that the object files from DPBIT are named
3191 differently (prefix `_dp') from those that would be coming from
3192 FPBIT.
3193
3194 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
3195
3196 * configure.in: When target is sparc* and tm_file contains 64,
3197 test for 64bit support in assembler. If not supported, remove
3198 sparc/t-sol2-64 from target-dependent Makefile fragments.
3199 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
3200 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
3201 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
3202 * acconfig.h (AS_SPARC64_FLAG): Added.
3203 * configure, config.in: Rebuilt.
3204 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
3205 support. Use AS_SPARC64_FLAG.
3206
3207 1999-12-07 Jakub Jelinek <jakub@redhat.com>
3208
3209 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
3210 suitable for holding OFmode values so that gcc works with complex
3211 quad long doubles.
3212 (hard_64bit_mode_classes): Likewise.
3213
3214 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
3215 so that it is actually matched.
3216 (sethi_di_medlow): Likewise.
3217
3218 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
3219 as legitimate constant if -mvis.
3220 * config/sparc/sparc.md (movtf): Likewise.
3221 (clear_sf): Use const_double_operand.
3222 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
3223
3224 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
3225 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
3226 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
3227 routines, _Qp_* cannot be handled like that now.
3228 (INIT_TARGET_OPTABS): Likewise.
3229 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
3230 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
3231 sparc_emit_float_lib_cmp if ARCH64 and soft float.
3232 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
3233 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
3234 divtf3, sqrttf3): New expanders.
3235 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
3236 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
3237 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
3238 non-_hq patterns.
3239
3240 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
3241 * configure: Rebuilt.
3242 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
3243 -mcpu is given and we're doing 64bit compiles.
3244
3245 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
3246
3247 * loop.h (struct induction): Add multi_insn_incr.
3248 * loop.c (basic_induction_var): New multi_insn_incr argument.
3249 Set it if we search back through previous insns for the biv.
3250 (record_biv): New multi_insn_incr argument; fill in struct induction.
3251 (strength_reduce): Discard an iv with multiple bivs, any of
3252 which require multiple insns to increment.
3253
3254 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3255
3256 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
3257 documentation.
3258
3259 1999-12-06 David S. Miller <davem@redhat.com>
3260
3261 * combine.c (check_promoted_subreg): Do not conditionalize this upon
3262 PROMOTE_FUNCTION_RETURN.
3263
3264 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
3265
3266 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
3267 and handle REG_UNUSED note on insn.
3268
3269 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
3270 inner_mask instead of mask.
3271
3272 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
3273
3274 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
3275 zero if there was an error.
3276
3277 1999-12-06 Jakub Jelinek <jakub@redhat.com>
3278
3279 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
3280 output string.
3281
3282 * longlong.h: Fix clobbers in SPARC asm statements.
3283
3284 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
3285 valid sethi operations when TARGET_ARCH64.
3286
3287 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
3288 always use move_by_pieces to avoid infinite recursion.
3289 (restore_fixed_argument_area): Likewise.
3290
3291 * combine.c (check_promoted_subreg, record_promoted_value): New
3292 functions.
3293 (combine_instructions): Use them to retain nonzero and sign bit
3294 information after SUBREGs are eliminated by optimizations in
3295 this pass if PROMOTE_FUNCTION_RETURN.
3296
3297 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
3298 .register declaration. Don't use variables with __ prefixes.
3299
3300 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3301
3302 * fold-const.c (optimize_bit_field_compare): Only use one mode
3303 for both RHS and LHS in non-constant case.
3304
3305 1999-12-06 Nathan Sidwell <nathan@acm.org>
3306
3307 * frame.c (start_fde_sort): Only allocate erratic array, if
3308 linear one was allocated. Return allocated flag.
3309 (fde_insert): Only insert, if there's a valid array.
3310 (fde_end_sort): Split, sort and merge if linear and erratic
3311 arrays exist, else just sort linear one.
3312 (search_fdes): New function. Linear search through original fde
3313 structure.
3314 (frame_init): Permit multiple initializations. Cope with
3315 memory shortages.
3316 (find_fde): Fallback on linear search, if failed to sort array.
3317 (__deregister_frame_info): Only free sorted array, if we
3318 allocated it.
3319
3320 1999-12-06 Jakub Jelinek <jakub@redhat.com>
3321
3322 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
3323
3324 1999-12-05 Jakub Jelinek <jakub@redhat.com>
3325
3326 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
3327
3328 1999-12-05 Mark Mitchell <mark@codesourcery.com>
3329
3330 * tree.h (special_function_p): Declare.
3331 * calls.c (special_function_p): Make it global. Don't take `name'
3332 as a parameter. Fix typo in 1999-11-28 change.
3333 (expand_cal): Adjust.
3334
3335 1999-12-04 Mark Mitchell <mark@codesourcery.com>
3336
3337 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
3338 * tree.h (EXPR_WFL_FILENAME): Define in terms of
3339 EXPR_WFL_FILENAME_NODE.
3340 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
3341 the TREE_CHAIN.
3342 * print-tree.c (print_note): Print TREE_PRIVATE and
3343 TREE_PROTECTED.
3344
3345 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
3346 the original die cannot be found.
3347
3348 * varray.h (varray_head_tag): Add elements_used.
3349 (VARRAY_PUSH): New macro.
3350 (VARRAY_POP): Likewise.
3351 (VARRAY_TOP): Likewise.
3352 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
3353 types.
3354 * varray.c (varray_init): Initialize elements_used.
3355 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
3356 (INTEGRATE_H): New variable.
3357 (integrate.o): Depend on INTEGRATE_H.
3358 (unroll.o): Likewise.
3359
3360 * function.h (insert_block_after_note): Declare.
3361 * function.c (insert_block_after_note): Split out from ...
3362 (retrofit_block): ... here.
3363
3364 * stmt.c (expand_fixup): Fix typo in comment.
3365
3366 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3367
3368 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
3369 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
3370 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
3371 (regmove_optimize, fixup_match_1): Likewise.
3372
3373 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3374
3375 * flow.c (flow_loops_dump): Add missing argument when calling
3376 flow_loop_nested_p.
3377
3378 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
3379 Greg McGary <gkm@gnu.org>
3380
3381 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
3382 (init_attributes): Add A_NO_LIMIT_STACK.
3383 (decl_attributes): Handle A_NO_LIMIT_STACK.
3384 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
3385 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
3386 Handle stack bounds checking.
3387 * flags.h (flag_stack_check): Use the word 'probe' rather than
3388 'check', because the flag doesn't actually cause any checking to
3389 be done.
3390 * function.c (expand_function_start): Set
3391 current_function_limit_stack.
3392 * function.h (struct function): Add limit_stack.
3393 (current_function_limit_stack): Define.
3394 * invoke.texi (Code Gen Options): Document new options.
3395 * rtl.h: Declare stack_limit_rtx.
3396 * toplev.c (stack_limit_rtx): New variable.
3397 (decode_f_option): Handle new options -fstack-limit-register=REG,
3398 -fstack-limit-symbol=IDENT, -fno-stack-limit.
3399 (main): Add stack_limit_rtx as GC root.
3400 * tree.h (DECL_NO_LIMIT_STACK): New macro.
3401 (struct tree_decl): New member no_limit_stack.
3402
3403 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
3404 stack_limit_rtx.
3405 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
3406 (conditional_trap+1): Get new mnemonic correct.
3407 (conditional_trap+2): New pattern for DImode traps.
3408
3409 * config/m68k/m68k.c (output_function_prologue): Handle
3410 stack_limit_rtx.
3411 * config/m68k/m68k.md (trap): New insn.
3412 (conditional_trap): New insn.
3413 * md.texi (Standard Names): Document `trap' and
3414 `conditional_trap'.
3415 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
3416 so a cc0 setter doesn't get emitted at some random place in the
3417 function.
3418
3419 * config/i960/i960.md (trap): New insn.
3420 (conditional_trap): New expander.
3421 (conditional_trap+1, conditional_trap+2): New insns for signed
3422 and unsigned cases.
3423 * config/i960/i960.c (i960_function_prologue): Use
3424 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
3425
3426 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
3427 Geoffrey Keating <geoffk@cygnus.com>
3428
3429 * flags.h (warn_padded, warn_packed): Add global var decls.
3430 * toplev.c (warn_padded, warn_packed): Add global var defns.
3431 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
3432 * stor-layout.c (layout_record): Add local variable `type'
3433 to hold often-used TREE_TYPE (field). Add local variable
3434 `unpacked_align' to hold alignment that would be in force
3435 if no `packed' attribute were present. Warn if `packed' attribute
3436 is unnecessary, or even harmful. Warn when gcc inserts padding
3437 to satisfy alignment requirements of members. Use NULL_TREE
3438 when checking whether var_size is set.
3439 * invoke.texi: Document new flags.
3440
3441 1999-12-03 Nathan Sidwell <nathan@acm.org>
3442
3443 * frame.c (fde_split): Reimplement to avoid variable sized array.
3444
3445 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3446
3447 * combine.c (try_combine): Before fixing up LOG_LINKS for the
3448 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
3449
3450 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
3451
3452 * invoke.texi: Document the mips option -mno-crt0
3453
3454 1999-12-02 Mike Karr <mkarr@mathworks.com>
3455
3456 * cccp.c (argdata): Added free_ptr member.
3457 (macroexpand): Initialize free_ptr of each argument. When an
3458 argument's buffers are freed, if the argument's free_ptr corresponds
3459 to a buffer on the input stack, then return the free_ptr to that stack
3460 frame, otherwise, free it.
3461 (macarg): If an argument begins and ends on the same input stack level,
3462 then transfer the free_ptr of that buffer to the argument in case
3463 the stack is popped during the processing of a subsequent argument.
3464
3465 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
3466
3467 * loop.c (note_reg_stored): New function.
3468 (struct note_reg_stored_arg): New structure.
3469 (try_copy_prop): Change to be more conservative; only replace within
3470 one extended basic block and stop replacing if a store to the
3471 replacement reg is seen.
3472
3473 1999-12-02 Nick Clifton <nickc@cygnus.com>
3474
3475 * config/fp-bit.c: Initialise all fields of the NAN
3476 constants.
3477
3478 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
3479 to HANDLE_PRAGMA.
3480
3481 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
3482
3483 * i386.md (extend?f?f2): Force the input into a register, not
3484 the output.
3485
3486 1999-12-01 Jakub Jelinek <jakub@redhat.com>
3487
3488 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
3489 regclass' sake.
3490 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
3491 alternative because setting up 64bit constant is usually costly,
3492 especially when reload is in progress or completed.
3493 (movdf_const_intreg_sp64): Likewise.
3494 (movdf_const_intreg split): Fix building up constants when
3495 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
3496
3497 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
3498
3499 * combine.c (if_then_else_cond): Use const_true_rtx instead of
3500 const1_rtx for return values in EQ/NE comparison against (const_int 0)
3501 case.
3502
3503 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
3504 (asm_file_start): Emit .am33 into assembly file when compiling for
3505 the AM33.
3506 (print_operand_address): Handle POST_INC addresses.
3507 (can_use_return_insn, initial_offset): Check AM33 registers too.
3508 (expand_prologue): Check & save AM33 registers too.
3509 (expand_epilogue): Similarly.
3510 (secondary_reload_class): Handle AM33 specific secondary reloads.
3511 (output_tst): Emit efficient code for the AM33 too.
3512 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
3513 (TARGET_SWITCHES): Add -mam33 switch.
3514 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
3515 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
3516 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
3517 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
3518 (enum reg_class, REG_CLASS_NAMES): Likewise.
3519 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3520 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3521 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
3522 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
3523 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
3524 (HAVE_POST_INCREMENT): Define.
3525 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
3526 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
3527 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
3528 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
3529 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
3530 (zero_extend to SI from QI/HI): Likewise.
3531 (sign_extend to SI from QI/HI): Likewise.
3532 (mulsidi3, umulsidi3): New patterns for the AM33.
3533 (tstsi with zero extension from QI/HI): Add AM33 variants.
3534 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
3535 (return_internal_regs, store_movm): Handle new AM33 registers.
3536 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
3537 (LIBGCC, INSTALL_LIBGCC): Likewise.
3538 * invoke.texi: Document new flags.
3539
3540 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
3541
3542 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
3543 (addsi3_carry): Likewise.
3544 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
3545 (sbbsi3_carry): Likewise.
3546 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
3547 (mulhi3): Likewise.
3548 (test?i_1): Ensure that only one operand is memory.
3549 (conditional move patterns): likewise.
3550 (shift and rotate patterns): Rewrite to expander, add
3551 "binary_operator_ok" to the condition.
3552
3553 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
3554 * i386.h (procesor_costs): Add movzbl_load field.
3555 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
3556 non-Q registers, accept DImode registers anywhere.
3557 (Q_CLASS_P): New.
3558 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
3559 * i386.c (*_cost): Set value for movxbl_load field.
3560
3561 * (addsi): New add to lea splitter.
3562 (ashlsi): Likewise.
3563 (lea to add/shift peep2): New.
3564
3565 1999-12-01 Mark Salter <msalter@cygnus.com>
3566
3567 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
3568 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
3569 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
3570
3571 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3572
3573 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
3574 * i386.md (movsi_xor): New.
3575 (movsi_or): New.
3576 (movsi_1, movhi_1, movqi_1): Remove.
3577 (movsi_2): Rename to movsi_1.
3578 (movhi_2): Rename to movhi_1.
3579 (movqi_2): Rename to movqi_1.
3580 (movdi_1): Remove; remove splitter.
3581 (movdi_2): Rename to movdi_1.
3582 (divmodsi4 splitter): Do not emit clobbers for move patterns.
3583 (long move peep2): Do not create QI or HI mode mov0s
3584 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
3585
3586 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
3587 rewrite splitters.
3588
3589 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
3590 (abs?f2_if): Likewise.
3591
3592 1999-11-30 Alex Samuel <samuel@codesourcery.com>
3593
3594 * ggc.h (ggc_test_and_set_mark): New macro.
3595 (ggc_mark_rtx): Use ggc_test_and_set_mark.
3596 (ggc_mark_tree): Likewise.
3597 (ggc_mark_rtvec): Likewise.
3598 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
3599
3600 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
3601
3602 * dwarf2out.c (scope_die_for): Only handle types. Only search for
3603 containing types.
3604 (decl_scope_table): Just an array of trees now.
3605 (push_decl_scope): Simplify.
3606 (dwarf2out_init): Adjust.
3607 (local_scope_p): New fn.
3608 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
3609 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
3610 (gen_typedef_die): Likewise.
3611 (gen_lexical_block_die): Don't call push/pop_decl_scope.
3612 (gen_inlined_subroutine_die): Likewise.
3613 (gen_abstract_function): Set current_function_decl temporarily.
3614 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
3615 Handle block extern declarations. Don't call push/pop_decl_scope.
3616 (gen_decl_die): Fix logic for block externs.
3617
3618 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3619
3620 * calls.c (special_function_p): Remove `realloc' and add `strdup'
3621 to the list of functions which have attribute malloc by default.
3622
3623 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3624
3625 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
3626 integer constant does not match the traditional type, limit the
3627 warnings to cases where the base of the type is ten.
3628
3629 * invoke.texi (-Wtraditional): Document it.
3630
3631 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3632
3633 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
3634 * rs6000.md: Only access a CONST_INT with INTVAL
3635
3636 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
3637
3638 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
3639 (compute_nearerout): Likewise.
3640 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
3641 size_t to unsigned long for formatting.
3642
3643 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3644
3645 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
3646 Allow the user to override call-used/fixed state of %g2-5
3647 registers from the command line (with the exception of %g4 for
3648 embedded model).
3649 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
3650 there is a higher chance of having a leaf function.
3651 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
3652 for ARCH64 which has %ccr register.
3653 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
3654 patterns.
3655 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
3656 insn accept into delay slot any insn which does not use %[ol]
3657 registers. Accept some LO_SUM and shift left by 1 for the normal
3658 restore case.
3659 (output_function_epilogue): Likewise.
3660 (epilogue_renumber): Added argument which inhibits any renumbering
3661 and just tests if the rtx does not use any %[ol] registers.
3662 (output_return): Reflect above change.
3663
3664 1999-11-30 Jakub Jelinek <jakub@redhat.com>
3665
3666 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
3667 aggregate passing for sizes <= 16 bytes.
3668
3669 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
3670
3671 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
3672 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
3673 * reload.c (find_dummy_reload): Likewise.
3674 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
3675 * reload1.c (reload_as_needed): Likewise.
3676 * stupid.c (stupid_find_reg): Likewise.
3677 * tm.texi (Obsolete Register Macros): Delete section.
3678 * gmicro.h: Remove all traces of the two macros.
3679 * i386.h: Likewise.
3680 * m88k.h: Likewise.
3681 * mips.h: Likewise.
3682
3683 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
3684
3685 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
3686 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
3687 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
3688 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
3689 units for the sparclite86x chip.
3690 (flush): Revert October 14th change; add SImode specifically.
3691 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
3692 * invoke.texi: Document it.
3693
3694 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
3695
3696 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
3697 psimode_truncation_operand.
3698
3699 * config/mn10200/mn10200.c (psimode_truncation_operand): New
3700 function. Return true if the operand is either a MEM valid
3701 for a PSImode address or not a MEM at all.
3702
3703 * config/mn10200/mn10200.md (truncsipsi2): Use
3704 psimode_truncation_operand.
3705
3706 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3707
3708 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
3709 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
3710 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
3711 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
3712 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
3713 (flow_loop_level_compute, low_loops_level_compute): Likewise.
3714 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
3715 * basic-block.h: Protect from multiple inclusion.
3716 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
3717 (struct loops, struct loop): Define structures.
3718 * sbitmap.c (sbitmap_a_subset_b_p): New function.
3719 * sbitmap.h: Protect from multiple inclusion.
3720 (sbitmap_a_subset_b_p): Add prototype.
3721 * Makefile.in (LOOP_H): New macro.
3722 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
3723
3724 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
3725
3726 * cppinit.c (CAT): The argument list of this macro may not contain
3727 spaces !
3728
3729 1999-11-29 David S. Miller <davem@redhat.com>
3730
3731 Move quantity tables and register equivalence chains into
3732 per-qty and per-register structure arrays respectively.
3733 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
3734 qty_const_insn, qty_comparison_code, qty_comparison_const,
3735 qty_comparison_qty): Delete, replace with...
3736 (qty_table): this structure table.
3737 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
3738 (reg_eqv_table): this structure table.
3739 (make_new_qty): Add argument MODE. Caller updated.
3740 Update to use qty_table and reg_eqv_table.
3741 (make_regs_eqv, delete_reg_equiv, insert_regs,
3742 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
3743 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
3744 cse_process_notes, cse_main, cse_basic_block): Likewise.
3745
3746 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3747
3748 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
3749 operation if C is negative.
3750 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
3751 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
3752 law for some divisions if constant is negative and change other
3753 divisions to the opposite rounding.
3754
3755 * expr.c (store_constructor_field): If bit position is not multiple
3756 of alignment of TARGET's mode, use BLKmode.
3757
3758 * expr.c (expand_expr_unaligned): Add more code from full case
3759 that is needed when OP0 is in a register.
3760
3761 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3762
3763 * dwarfout.c (field_byte_offset): Size can be zero if there was
3764 an error.
3765
3766 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3767
3768 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
3769 (associate_trees): Delete unused var TEM.
3770 (extract_muldiv): Delete unused var CANCEL_P.
3771
3772 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
3773 (target_isinf, target_isnan, target_negative): Add return types to
3774 function definitions.
3775
3776 1999-11-29 Bruce Korb <autogen@linuxbox.com>
3777
3778 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
3779 * fixinc/hackshell.tpl: ditto
3780 * fixinc/fixtests.c(double_slash_test): more C++ header testing
3781 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
3782
3783 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
3784
3785 * reload.c (push_reload): When looking for a register to put into
3786 reg_rtx, make sure all hard regs in a multi-reg register are in the
3787 right class and nonfixed.
3788
3789 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
3790 pending_read_insns, pending_write_insns, pending_read_mems,
3791 pending_write_mems, pending_list_length, last_pending_memory_flush,
3792 last_function_call, sched_before_next_call): Move static variables
3793 into a structure.
3794 (bb_ prefixed versions): Replace with single array bb_deps.
3795 (struct deps): New structure.
3796 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
3797 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
3798 argument of type "struct deps *"; use that instead of global
3799 variables. All callers changed.
3800 (init_rgn_data_dependencies): Delete function.
3801 (init_rtx_vector): Delete function.
3802 (init_deps): New function.
3803
3804 (free_pending_lists): Simplify, we always use the bb_deps array even
3805 if only one basic block.
3806 (compute_block_backward_dependences): Likewise.
3807 (schedule_region): Likewise.
3808
3809 (propagate_deps): New function, broken out of
3810 compute_block_backward_dependences.
3811 (compute_block_backward_dependences): Use it.
3812
3813 * alpha.md: Delete useless patterns that tried to work around
3814 register elimination problems.
3815
3816 * unroll.c (loop_iterations): Don't abort if iteration variable
3817 was made by loop.
3818
3819 From Joern Rennecke:
3820 * reload1.c (reloads_conflict): Reverse test comparing operand
3821 numbers when testing for conflict between output/outaddr reloads.
3822
3823 1999-11-29 David S. Miller <davem@redhat.com>
3824
3825 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
3826 arg.
3827 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
3828
3829 1999-11-28 Robert Lipe <robertl@cygnus.com>
3830
3831 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
3832 table from .fini into .dtor.
3833
3834 1999-11-28 Anthony Green <green@cygnus.com>
3835
3836 * tree.h (struct tree_decl): Add malloc_flag.
3837 (DECL_IS_MALLOC): Define.
3838 * c-common.c (attrs): Add A_MALLOC attribute.
3839 (init_attributes): Add this attribute to the table.
3840 (decl_attributes): Handle malloc attribute.
3841 * calls.c (special_function_p): Check for the malloc attribute.
3842 * extend.texi (Function Attributes): Document malloc attribute.
3843
3844 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
3845
3846 * pa.md (reload shift-add patterns): Remove.
3847
3848 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3849
3850 * reorg.c (dbr_schedule) Print more statistics. Corrected
3851 problem when printing info when 3 delay slots are filled.
3852
3853 1999-11-28 Jakub Jelinek <jakub@redhat.com>
3854
3855 * combine.c (setup_incoming_promotions): Pass an outgoing
3856 regno to FUNCTION_ARG_REGNO_P which it expects.
3857
3858 1999-11-28 Andreas Jaeger <aj@suse.de>
3859
3860 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
3861
3862 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
3863
3864 * cccp.c (do_include): Avoid initialization of automatic variable.
3865
3866 * integrate.c (mark_stores): Function definition made void, to match
3867 previous declaration.
3868 * regclass.c (dump_regclass): Ditto.
3869 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
3870
3871 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3872
3873 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
3874 known to be multiple of divisor.
3875
3876 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
3877
3878 * combine.c (try_combine): Add code to try to merge a set of a
3879 two-word pseudo to a constant with a setting of one of those words
3880 to a constant.
3881
3882 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
3883 (split_tree): Completely rework to make more general.
3884 (make_range, fold): Call negate_expr.
3885 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
3886 (fold, associate): Call new split_tree and associate_trees.
3887 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
3888
3889 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
3890
3891 * loop.c (try_copy_prop): Avoid GNU C extension.
3892
3893 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3894
3895 * except.c (init_eh_for_function): Still zero eh_return_context,
3896 eh_return_stack_adjust, and eh_return_handler.
3897
3898 * except.h (eh_status): Adjust documentation for x_protect_list.
3899 (begin_protect_partials): New function.
3900 * except.c (enqueue_eh_entry): Fix formatting.
3901 (get_first_handler): Add consistency check.
3902 (add_partial_entry): Adjust usage of protect_list.
3903 (emit_cleanup_handler): Save and restore ehqueue.
3904 (expand_start_all_catch): Add comment.
3905 (begin_protect_partials): New function.
3906 (end_protect_partials): Adjust usage of protect_list.
3907 (init_eh_for_function): Use xcalloc.
3908
3909 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3910
3911 * c-common.c (check_format_info): Don't call a variadic function
3912 with a non-literal format string.
3913
3914 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
3915
3916 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
3917 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
3918 Likewise.
3919
3920 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
3921 Likewise.
3922
3923 * collect2.c (collect_wait): Likewise.
3924
3925 * dbxout.c (dbxout_type): Likewise.
3926
3927 * gcc.c (do_spec_1): Likewise.
3928
3929 * genemit.c (gen_insn, gen_expand): Likewise.
3930
3931 * genrecog.c (write_switch, write_subroutine): Likewise.
3932
3933 * mips-tfile.c (catch_signal, botch): Likewise.
3934
3935 * print-rtl.c (print_rtx): Likewise.
3936
3937 * toplev.c (default_print_error_function, report_error_function,
3938 _fatal_insn): Likewise.
3939
3940 1999-11-25 Mark Mitchell <mark@codesourcery.com>
3941
3942 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
3943
3944 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3945
3946 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
3947 operations when needed.
3948 * i386.md (fop_?f_comm): New.
3949 (fop_?f_1): Do not accept commutative operands.
3950
3951 1999-11-25 Andreas Jaeger <aj@suse.de>
3952
3953 * config/mips/mips.md (casesi_internal): Add missing brace.
3954
3955 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
3956
3957 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
3958 (splice_child_die): Handle moving a child DIE from the declaration
3959 DIE of a class to its specification.
3960 (gen_struct_or_union_type_die): Use 'complete' consistently.
3961 (gen_decl_die): Generate the virtual context DIE first.
3962 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
3963
3964 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
3965
3966 * config/mips/mips.md (call_value_multiple_interanal1): New.
3967
3968 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3969
3970 * dwarf2out.c (free_AT, free_die): New fns.
3971 (remove_children): Call them.
3972 (output_line_info): Disable removal of duplicate notes.
3973
3974 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
3975 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
3976 means pretend the type isn't defined.
3977 Don't defer emitting types.
3978 (gen_type_die_for_member): New fn.
3979 (gen_decl_die): Call it.
3980 (splice_child_die): New fn.
3981 (gen_member_die): Call it rather than generate duplicate dies.
3982
3983 Defer emitting information for the abstract instance of an inline
3984 until we either inline it or emit an out-of-line copy.
3985 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
3986 from output_inline_function if DECL_ABSTRACT is also set.
3987 (block_ultimate_origin): Likewise.
3988 (gen_abstract_function): New fn.
3989 (gen_decl_die, gen_inlined_subroutine_die): Call it.
3990 (gen_subprogram_die): An abstract instance is not a declaration
3991 just because it doesn't match current_function_decl. Don't abort
3992 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
3993 has an abstract origin.
3994 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
3995 abstract instance here.
3996
3997 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
3998
3999 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
4000 where we need to reload fpul from a system register.
4001
4002 1999-11-24 Andreas Jaeger <aj@suse.de>
4003
4004 * config/mips/linux.h (CPP_PREDEFINES): Added.
4005 (LINK_SPEC): Remove -Y since this is only needed on sparc.
4006
4007 1999-11-24 Andreas Jaeger <aj@suse.de>
4008
4009 * config/mips/linux.h (TARGET_VERSION): Added.
4010 (HANDLE_SYSV_PRAGMA): Added.
4011 (DEFAULT_VTABLE_THUNKS): Added.
4012
4013 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4014
4015 * local-alloc.c (qty): New structure and static variable.
4016 (qty_phys_reg): Remove, all references changed to qty.
4017 (qty_n_refs): Likewise.
4018 (qty_min_class): Likewise.
4019 (qty_birth): Likewise.
4020 (qty_death): Likewise.
4021 (qty_size): Likewise.
4022 (qty_mode): Likewise.
4023 (qty_n_calls_crossed): Likewise.
4024 (qty_alternate_class): Likewise.
4025 (qty_changes_size): Likewise.
4026 (qty_first_reg): Likewise.
4027 (alloc_qty): Rename variable QTY to QTYNO.
4028 (finf_free_reg): Likewise.
4029 (local_alloc): Allocate qty, do not allocate the removed variables.
4030
4031 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
4032
4033 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
4034 when -membedded-pic is passed.
4035
4036 * config/mips/mips.md (casesi): Handle 64-bit case too.
4037 (casesi_internal_di): New insn.
4038
4039 * config/mips/mips.c (embedded_pic_offset): Always make the
4040 embedded-pic subtractions relative to the name of the current
4041 function by use of the magic string "..CURRENT_FUNCTION".
4042 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
4043
4044 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
4045
4046 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
4047 of (const_int 0), when what we really care about is
4048 whether it's a zero constant anyway.
4049 (div_trap_mips16): Likewise.
4050
4051 1999-11-23 Mark Mitchell <mark@codesourcery.com>
4052
4053 * loop.c (loop_optimize): Always find_loop_tree_blocks and
4054 unroll_block_trees when generating debuggable code.
4055
4056 * tree.h (unsave_expr_1): New function.
4057 (lang_unsave): New variable.
4058 (get_callee_fndecl): New function.
4059 * tree.c (unsave_expr_now_r): New function.
4060 (lang_unsave): Define.
4061 (unsave_expr_1): Likewise.
4062 (unsave_expr_now_r): Split out from unsave_expr_now.
4063 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
4064 call unsave_expr_now_r.
4065 (get_callee_fndecl): Define.
4066
4067 * Makefile.in (gencheck): Don't depend on lang_tree_files.
4068 (gencheck.o): Do depend on lang_tree_files.
4069
4070 * integrate.h (copy_decl_for_inlining): New declaration.
4071 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
4072 (copy_decl_for_inlining): New function.
4073 (integrate_parm_decls): Use it.
4074 (integrate_decl_tree): Likewise.
4075
4076 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
4077
4078 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
4079 the second two from the first.
4080 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
4081 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
4082 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4083 ISA_HAS_FP4.
4084 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
4085 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4086 ISA_HAS_FP4.
4087
4088 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
4089
4090 * pa.md (call_internal_symref, call_value_internal_symref): No mode
4091 needed on the address operand.
4092 * pa.c (call_operand_address): Check for the correct mode.
4093
4094 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
4095
4096 * loop.c: Include "basic-block.h".
4097 (try_copy_prop, replace_loop_reg): New functions.
4098 (load_mems): Detect registers that just hold copies of the hoisted
4099 mem, and call try_copy_prop to eliminate them.
4100 * Makefile.in (loop.o): Update dependencies.
4101
4102 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
4103
4104 * Makefile.in (gencheck.o): Depend on gencheck.h.
4105 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
4106 (insn-peep.o): Depend on except.h and function.h.
4107 (insn-attrtab.o): Depend on RECOG_H.
4108 (insn-output.o): Depend on toplev.h and flags.h.
4109 (gengenrtl.o): Depend on real.h.
4110 (gen-protos.o): Depend on cpplib.h and cpphash.h.
4111 Unify all dependencies to be on RECOG_H rather than recog.h.
4112
4113 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4114
4115 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
4116 * configure.in: Try building a bi-arch 32/64-bit compiler on
4117 sparc-*-solaris2.7 and higher.
4118 * configure: Rebuild.
4119
4120 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
4121
4122 * config/freebsd.h: New, FreeBSD architecture independent file.
4123 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
4124 independent pieces.
4125 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
4126 directly by i386/freebsd.h.
4127 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
4128 independent configuration file.
4129 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
4130 directly by i386/freebsd.h.
4131 * configure: Rebuilt.
4132
4133 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
4134 which is in the user's namespace.
4135 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
4136 `i386' which is not in our namespace.
4137
4138 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
4139
4140 * invoke.texi (ARM Options): Add in -mno-alignment-traps
4141
4142 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4143
4144 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
4145 (add_dwarf_attr, add_child_die): Just push onto the front.
4146 (reverse_die_lists): New fn.
4147 (add_sibling_attributes): Use it.
4148 (push_decl_scope): Reorganize.
4149 (add_name_and_src_coords_attributes): Don't set file and line for
4150 an artificial decl.
4151 (gen_subprogram_die): An artificial function doesn't need to match
4152 file and line.
4153 (gen_compile_unit_die): Return the generated die. Only add
4154 AT_comp_dir if the filename is relative.
4155 (remove_AT): Simplify loop. Also free string values.
4156 (output_die): A DIE ref can't be null.
4157 (output_value_format, value_format): Take a dw_attr_ref.
4158 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
4159 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
4160 AT_addr, AT_lbl): New fns.
4161 (various): Use them.
4162 (various): Constify.
4163
4164 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4165
4166 * combine.c (combine_simplify_rtx): When handling a SUBREG,
4167 take SUBREG_WORD into account.
4168 (if_then_else_cond): Likewise.
4169
4170 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
4171
4172 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
4173 clause from BSD license, pursuant with
4174
4175 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
4176
4177 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
4178
4179 * loop.c (load_mems): Reformat slightly.
4180 * basic-block.h (regset_head): New typedef.
4181 (INIT_REG_SET): New macro.
4182
4183 1999-11-22 Bruce Korb <autogen@linuxbox.com
4184
4185 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
4186 (mips-dec-bsd*): non-functional code
4187 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
4188
4189 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
4190 added three replacement fixes
4191 (no_double_slash): removed comments that are not (any longer) pertinent
4192 (bad_lval): this fix currently runs against many files.
4193 The comment seems to indicate that we should select for files
4194 containing 'pragma extern_prefix'.
4195
4196 * fixinc/fixinc.x86-linux-gnu: deleted
4197 * fixinc/inclhack.sh: regen
4198 * fixinc/fixincl.x: regen
4199 * fixinc/fixincl.sh: regen
4200
4201 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
4202
4203 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
4204 its code is INSN and it has no notes.
4205
4206 1999-11-22 Andrew Haley <aph@cygnus.com>
4207
4208 * varasm.c (function_defined): Remove.
4209 (make_function_rtl): Don't set function_defined.
4210 (make_decl_rtl): Remove global register warning.
4211 * regclass.c (no_global_reg_vars): New variable.
4212 (globalize_reg): Warn if function has already been defined.
4213 (regclass_init): Set no_global_reg_vars.
4214
4215 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4216
4217 * regclass.c (reg_pref): New structure and static variable
4218 (prefclass): Delete.
4219 (altclass): Delete.
4220 (all uses of prefclass and altclass): Use reg_pref instead.
4221
4222 1999-11-21 Nick Clifton <nickc@cygnus.com>
4223
4224 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
4225 -malignment-traps.
4226 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
4227 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
4228 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
4229
4230 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
4231
4232 * varasm.c (output_constructor): Solve problem with long long
4233 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
4234
4235 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4236
4237 * global.c (allocno): New structure and static variable.
4238 (allocno_reg): Remove, all references replaced by allocno.
4239 (allocno_size): Likewise.
4240 (hard_reg_conflicts): Likewise.
4241 (hard_reg_preferences): Likewise.
4242 (hard_reg_copy_preferences): Likewise.
4243 (hard_reg_full_preferences): Likewise.
4244 (regs_someone_prefers): Likewise.
4245 (allocno_calls_crossed): Likewise.
4246 (allocno_n_refs): Likewise.
4247 (allocno_live_length): Likewise.
4248 (find_reg): Rename ALLOCNO to NUM.
4249
4250 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
4251 references updated.
4252 (may_move_out_cost): New variable.
4253 (init_reg_sets_1): Initialize may_move_out_cost.
4254 (record_reg_classes): Use may_move_out_cost.
4255
4256 * regclass.c (dump_regclass): New function.
4257 (regclass): New parameter DUMP, call DUMP_REGCLASS.
4258 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
4259 pass rtl_dump_file to regclass.
4260 * rtl.h (regclass): Update prototype.
4261
4262 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4263
4264 * i386.md (neg, not and abs patterns): Revmap to use
4265 ix86_expand_unary_operator and ix86_unary_operator_ok.
4266 (add?f and sub?f expanders): Force operand 1 to register.
4267 * i386.c (ix86_expand_unary_operator): Rewrite.
4268 (ix86_unary_operator_ok): Ensure that memory operands
4269 match real opcode.
4270 (ix86_binary_operator_ok): Do not allow operand 1 to
4271 come into memory and operand 0 not.
4272 (ix86_expand_binary_operator): Ensure that
4273 src1 is not non-matching memory.
4274
4275 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
4276 to support integer registers and memory.
4277 (abss?2_integer): Likewise.
4278
4279 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
4280 (REG_CLASS_NAMES): Likewise.
4281 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
4282 and GENERAL_REGS.
4283 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
4284 (movsf): Likewise; unify 4th and 5th alternative.
4285 (pushdf): Likewise.
4286 (movdf_1): Likewise; rename to movdf_integer.
4287 (pushxf): Likewise; rename to pushxf_integer; fix output template;
4288 remove redundant splitter.
4289 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
4290 (movdf_nointeger): New.
4291 (movxf_nointeger): New.
4292 (pushxf_nointeger): New.
4293
4294 * i386.md (extend?f?f): Split to expander and pattern, refuse two
4295 memory operands in patterns.
4296 (fop*): Refuse two memory operands.
4297
4298 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
4299 on !TARGET_USE_CLTD CPUs.
4300
4301 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
4302
4303 * extend.texi: Document C++ restricted pointers and references.
4304
4305 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
4306
4307 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
4308 (invalidate_skipped_set): Call it unconditionally.
4309 (cse_set_around_loop): Likewise.
4310
4311 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4312
4313 * rtl.texi (mem): Add documentation for alias-set argument
4314 to RTX `mem'.
4315
4316 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4317
4318 * i386.h (struct_processor_costs): New fields int_load, int_store,
4319 fp_move, fp_load and fp_store
4320 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
4321 fp->int moves
4322 (MEMORY_MOVE_COST): New macro.
4323 * i386.c (386_cost): Define new fields.
4324 (i486_cost): Likewise.
4325 (pentium_cost): Likewise.
4326 (pentiumpro_cost): Likewise.
4327 (k6_cost): Likewise.
4328
4329 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
4330 Geoffrey Keating <geoffk@cygnus.com>
4331
4332 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
4333
4334 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
4335 MASK_ALIGN_INT.
4336
4337 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
4338 (TARGET_STRICT_ALIGNMENT): New macro.
4339 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
4340 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
4341 * invoke.texi (M680x0 Options): Document -mstrict-align.
4342
4343 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
4344 Richard Henderson <rth@cygnus.com>
4345
4346 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
4347 (ix86_split_long_move): Declare.
4348 * i386.c (split_xf, ix86_split_movdi): Remove.
4349 (ix86_split_to_parts, ix86_split_long_move): New.
4350 * i386.md (dimode move splitters): Use ix86_split_long_move.
4351 (dfmode move splitters): Likewise.
4352 (xfmode move splitters): Likewise.
4353 (movsf_1): Allow F->r.
4354 (movdf_1, movxf_1): Allow F->ro.
4355
4356 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4357
4358 * except.h (struct eh_entry): Add goto_entry_p.
4359 (eh_region_from_symbol): Remove prototype.
4360 * except.c (find_func_region_from_symbol): New function.
4361 (emit_cleanup_handler): Likewise.
4362 (eh_region_from_symbol): Make it static.
4363 (add_new_handler): Verify the argument.
4364 (find_func_region): Update comment.
4365 (expand_eh_region_end): Expand handlers here, rater than waiting
4366 until expand_leftover_cleanups or start_all_catch.
4367 (expand_leftover_cleanups): Don't expand here.
4368 (expand_start_all_catch): Or here.
4369 (expand_rethrow): Check the return value from find_func_region.
4370 * function.c (expand_function_end): Emit the catch_clauses.
4371
4372 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
4373
4374 * integrate.c (expand_inline_function): Add necessary check for NULL.
4375
4376 1999-11-18 Nick Clifton <nickc@cygnus.com>
4377
4378 * toplev.c (main): Correctly detect an unrecognised option.
4379
4380 * cppinit.c (cpp_handle_option): Do not claim to have consumed
4381 a -f option if it has not been recognised.
4382
4383 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
4384
4385 * basic-block.h (update_life_extent): Remove trailing comma on
4386 enumeration type list.
4387
4388 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4389
4390 * varasm.c (output_constructor) Solved problem with long long
4391 bitfields. Corrected calculating this_time and shift. Also
4392 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
4393
4394 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
4395
4396 * flow.c (split_edge): Take looping structure into account when
4397 determining where to put the new block note.
4398
4399 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
4400
4401 * Makefile.in (ggc-none.o): Provide host specific version if
4402 needed.
4403
4404 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
4405
4406 * cse.c (delete_trivially_dead_insns): Identify no-op insns
4407 containing subregs too.
4408
4409 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
4410
4411 * invoke.texi: Add documentation for -muninit-const-in-rodata.
4412 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
4413 (TARGET_UNINIT_CONST_IN_RODATA): Define.
4414 (text_section): Add switches -munint-const-in-rodata and
4415 -mno-uninit-const-in-rodata.
4416 (ASM_OUTPUT_COMMON): Remove.
4417 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
4418 const objects should be placed in read-only data. Otherwise declare
4419 them in common.
4420
4421 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
4422
4423 * jump.c (jump_optimize_1): Revert last change.
4424
4425 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
4426
4427 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
4428 test if optimizing for size.
4429
4430 1999-11-17 Mark Mitchell <mark@codesourcery.com>
4431
4432 * Makefile.in (toplev.o): Depend on except.h.
4433 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
4434
4435 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4436
4437 * i386.md (divmodsi4): Rewrite to expander.
4438 (*divmodsi4_nocltd): New.
4439 (*divmodsi4_cltd): New.
4440 (divmodsi4 splitter): Handle the case when input comes in edx.
4441 (udivmodhi4): Do not use constraints in exander.
4442 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
4443
4444 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
4445
4446 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
4447 for the common case.
4448
4449 1999-11-16 Jakub Jelinek <jakub@redhat.com>
4450
4451 * explow.c (hard_function_value): Add outgoing argument.
4452 * expr.h (hard_function_value): Declare it.
4453 * calls.c (expand_call, emit_library_call_value): Update callers.
4454 * function.c (aggregate_value_p): Ditto.
4455 (diddle_return_value): Must look at the outgoing registers
4456 on archs with register windows.
4457
4458 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
4459
4460 * alpha.c (alpha_build_va_list): Use make_lang_type and
4461 initialize TYPE_NAME for the va_list record.
4462
4463 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
4464
4465 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
4466 for printing.
4467 * ggc.h (struct ggc_statistics): Rearrange elements for better
4468 packing on 64-bit hosts.
4469 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
4470 (compute_nearerout): Likewise.
4471
4472 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
4473
4474 * config/rs6000/rs6000.c (first_reg_to_save): Save
4475 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
4476
4477 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
4478
4479 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
4480 notion of nesting to find the DIE for a type or function.
4481 DIEs can go in limbo even if we got a context_die.
4482 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
4483 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
4484 for local type.
4485 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
4486 (gen_type_die): Writing out the context doesn't cause member class
4487 template instantiations to be written out as well.
4488
4489 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
4490
4491 * rs6000.h (ASM_OUTPUT_DEF): New.
4492 Based on proposed addition from David Edelsohn.
4493
4494 1999-11-15 Robert Lipe <RobertLipe@usa.net>
4495 Bruce Korb <autogen@linuxbox.com>
4496
4497 * fixinc/inclhack.def
4498 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
4499 (unixware7_byteorder_fix): added. Removes conflicts for new defs
4500 in net/inet.h.
4501 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
4502 (svr4_endian): enabled with SVR5
4503 (svr4_mkdev): simplified syntax and enabled with SVR5
4504
4505 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
4506
4507 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
4508 * configure: Rebuilt.
4509 * config/t-freebsd-thread: New file.
4510
4511 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
4512
4513 * i386.c (ix86_decompose_address): Verify the base is a REG
4514 before trying to examine its register number.
4515
4516 * basic-block.h: Remove all #defines and prototypes related to
4517 integer lists.
4518 (free_bb_mem, compute_preds_succs): Remove prototype.
4519 * rtl.h (free_bb_mem): Remove prototype.
4520 * flow.c (alloc_int_list_node); Remove function.
4521 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
4522 (compute_preds_succs, free_bb_mem): Likewise.
4523 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
4524 * toplev.c (rest_of_compilation): Likewise.
4525 * haifa-sched.c (build_control_flow): Use flow generated edge
4526 list to build the haifa specific edge list.
4527 (find_rgns): Use new CFG data structures instead of pred/succ lists.
4528 (schedule_insns): Do not build pred/succ lists anymore. Instead
4529 build the edge table.
4530
4531 * basic-block.h (dump_bb_data): Remove declaration.
4532 * flow.c (dump_bb_data): Remove function.
4533 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
4534 (sbitmap_union_of_predsucc): Likewise.
4535
4536 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
4537 argument. All callers changed.
4538 (delete_null_pointer_checks_1): No longer need to compute the
4539 pred/succ lists.
4540
4541 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
4542 All callers changed.
4543 (pre_expr_reaches_here_p_work): Likewise.
4544 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
4545 * lcm.c (compute_laterin): Fix initialization of LATER.
4546 (compute_nearerout): Similarly for NEARER.
4547
4548 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4549
4550 * cse.c (set_nonvarying_address_components): Delete unused function.
4551 (refers_to_p): Likewise.
4552
4553 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
4554
4555 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
4556 needed.
4557
4558 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4559
4560 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
4561 definition in do while (0).
4562
4563 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
4564
4565 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
4566
4567 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
4568
4569 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
4570
4571 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
4572
4573 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
4574 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
4575 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
4576 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
4577
4578 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
4579 saved on the stack. Output more accurate stack frame statistics
4580 into assembler file.
4581
4582 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
4583
4584 * genextract.c (record_insn_name): New function.
4585 (get_insn_name): No longer a stub.
4586 (main): Call record_insn_name for each insn. After each label
4587 written, print the insn name in a comment.
4588
4589 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4590
4591 * output.h (const_section, init_section, fini_section): Add
4592 prototypes.
4593
4594 * alpha/elf.h (const_section): Delete declaration.
4595
4596 * svr4.h (const_section): Likewise.
4597
4598 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
4599
4600 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
4601 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
4602 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
4603 expressions.
4604 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
4605 variable-sized array bounds.
4606
4607 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
4608
4609 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
4610 ASM_OUTPUT_LABEL.
4611
4612 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4613
4614 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
4615 addresses the same way GO_IF_LEGITIMATE_INDEX does.
4616
4617 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4618
4619 * cse.c (hash_arg_in_struct): Delete.
4620 (struct table_elt): Delete elt in_struct.
4621 (struct set): Delete elt src_in_struct.
4622 (merge_equiv_classes): Don't set either hash_arg_in_struct or
4623 the corresponding in_struct elts.
4624 (canon_hash): Likewise.
4625 (safe_hash): Likewise.
4626 (find_best_addr): Likewise.
4627 (record_jump_cond): Likewise.
4628 (cse_insn): Likewise.
4629
4630 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
4631
4632 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
4633
4634 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
4635 unsigned types.
4636
4637 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
4638
4639 * function.c (diddle_return_value): Put back check that the DECL_RTL
4640 for the function is a register.
4641
4642 * function.c (diddle_return_value): Use hard_function_value to
4643 get an rtx suitable for use in the USE/CLOBBER insn.
4644
4645 * global.c (global_conflicts): Update comments.
4646 (record_conflicts): No need to record conflicts between pseudos here.
4647
4648 1999-11-11 Bruce Korb <autogen@linuxbox.com>
4649
4650 * fixinc/fixincl.c: Added verbose levels for status messages
4651
4652 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4653
4654 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
4655 operand as argument to expand_and or expand_binop.
4656
4657 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
4658
4659 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
4660 gcc_add_string_root.
4661
4662 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
4663
4664 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
4665
4666 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
4667
4668 * flow.c (compute_flow_dominators): Initially put all blocks on
4669 the worklist.
4670 * lcm.c (compute_antinout_edge, compute_available): Similarly.
4671 * gcse.c (compute_cprop_avinout): Remove.
4672 (compute_cprop_data): Use compute_available.
4673 (delete_null_pointer_checks_1): Use compute_available.
4674
4675 * basic-block.h (compute_available): Returns a void now.
4676 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
4677 to return a value anymore.
4678 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
4679 worklists. Fix boundary cases. Compute maximal solutions.
4680 (compute_laterin, compute_nearerout): Similarly.
4681
4682 * dwarf2out.c (add_AT_location_description): Allow
4683 (mem (plus (pseudo) (...)) too.
4684
4685 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
4686
4687 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
4688
4689 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
4690 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4691
4692 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
4693
4694 * gansidecl.h: Likewise.
4695
4696 * rtl.c: Likewise.
4697
4698 * rtl.h: Likewise.
4699
4700 * toplev.h: Likewise.
4701
4702 * tree.c: Likewise.
4703
4704 * tree.h: Likewise.
4705
4706 * varray.c: Likewise.
4707
4708 * varray.h: Likewise.
4709
4710 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
4711
4712 * gcov.c (struct arcdata): Add hits and total, remove prob.
4713 (output_branch_counts): New.
4714 (process_args): Set output_branch_counts if -c.
4715 (calculate_branch_probs): Store hits and total instead of
4716 percentage.
4717 (output_data): Emit counts if output_branch_counts is true.
4718 * gcov.texi (Invoking Gcov): Document -c switch..
4719
4720 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
4721
4722 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
4723 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
4724
4725 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
4726
4727 * invoke.texi (C Dialect Options): Add missing builtins from
4728 c-common.c to list.
4729 * extend.texi (Other Builtins): Copy to this list.
4730
4731 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4732
4733 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
4734 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
4735 redundant bitmap.h.
4736
4737 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
4738
4739 * flow.c (compute_flow_dominators): No longer treat basic block 0
4740 or (n_basic_blocks - 1) specially. Clear the AUX field before
4741 starting computation of doms/pdoms. Fix initial state for pdoms.
4742
4743 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4744
4745 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
4746 match rtl.o's: added ggc.h and toplev.h
4747 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
4748 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
4749 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
4750
4751 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
4752
4753 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
4754 from HAVE_DOS_BASED_FILESYSTEM.
4755 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
4756 HAVE_DOS_BASED_FILESYSTEM.
4757 (main): Likewise.
4758 (split_directories): Only special-case DOS file names if
4759 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
4760 instead of explicit tests. Conditionalize on !VMS.
4761 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
4762 tests. Conditionalize on !VMS.
4763 (process_command): Only use make_relative_prefix if !VMS.
4764 (free_split_directories): Conditionalize on !VMS.
4765 (DIR_UP): Conditionalize on !VMS.
4766
4767 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
4768
4769 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
4770
4771 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4772
4773 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
4774 case.
4775
4776 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
4777
4778 * invoke.texi (Environment Variables): Document relative path
4779 lookup.
4780 * gcc.c (DIR_UP): If not defined, define as "..".
4781 (standard_bindir_prefix): New static, holds target location to
4782 install binaries.
4783 (split_directories): New function to split a filename into
4784 component directories.
4785 (free_split_directories): New function, release memory allocated
4786 by split_directories.
4787 (make_relative_prefix): New function, make a relative pathname if
4788 the compiler is not in the expected location.
4789 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
4790 can figure out an appropriate prefix from argv[0].
4791 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
4792 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
4793 STANDARD_BINDIR_PREFIX.
4794
4795 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4796
4797 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
4798 in c4x.c.
4799 * config/c4x/c4x.h: Moved prototypes to c4x.h.
4800 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
4801 c4x_secondary_memory_needed) Delete.
4802 (fp_zero_operand): Add mode argument.
4803
4804 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
4805
4806 * reload1.c (reload_reg_free_for_value_p): Don't use a register
4807 that is in reload_reg_used.
4808
4809 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
4810
4811 * config/arm/arm-protos.h: New file: Prototypes for functions
4812 defined in arm.c and pe.c.
4813 * config/arm/arm.h: Fix compile time warnings.
4814 * config/arm/arm.c: Fix compile time warnings.
4815 * config/arm/pe.h: Fix compile time warnings.
4816 * config/arm/aout.h: Fix compile time warnings.
4817
4818 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
4819
4820 * config/m32r/m32r-protos.h: New file: Prototypes for functions
4821 defined in m32r.c
4822
4823 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
4824 Add support for subtargets.
4825 Add prototypes for new predicates.
4826 Add scheduling macros.
4827
4828 * config/m32r/m32r.c: Fix compile time warnings.
4829 (int8_operand): New predicate function.
4830 (reg_or_cmp_int16_operand): New predicate function.
4831 (extend_operand): New predicate function.
4832 (m32r_adjust_code): New scheduling function.
4833 (m32r_adjust_priorty): New scheduling function.
4834 (m32r_sched_init): New scheduling function.
4835 (m32r_sched_reorder): New scheduling function.
4836 (m32r_sched_variable_issue): New scheduling function.
4837 (direct_return): New codegen function.
4838 (m32r_not_same_reg): New rtl testsing function.
4839
4840 * config/m32r/m32r.md: Fix compile time warnings.
4841 Add support for pre decrement and post increment memory
4842 references.
4843 Add S<cc> patterns.
4844 Add fabs patterns.
4845
4846 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4847
4848 * global.c (EXECUTE_IF_CONFLICT): Don't define.
4849 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
4850 (find_reg): Likewise.
4851
4852 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
4853
4854 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
4855 to avoid assembler errors.
4856
4857 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
4858
4859 * config/v850/v850-protos.h: New file: Prototypes for functions
4860 defined in v850.c
4861 * config/v850/v850.h: Move prototypes to v850-protos.h
4862 * config/v850/v850.c: Move prototypes to v850-protos.h
4863 * config/v850/v850.md: Fix compile time warnings.
4864
4865 * config/fr30/fr30-protos.h: New file: Prototypes for functions
4866 defined in fr30.c
4867 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
4868 * config/fr30/fr30.c: Fix compile time warnings.
4869 * config/fr30/fr30.md: Fix compile time warnings.
4870
4871 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
4872
4873 * tree.h (get_containing_scope): Declare it.
4874 * tree.c (get_containing_scope): New fucntion.
4875 (decl_function_context): Use it.
4876 * toplev.c (rest_of_compilation): Use get_containing_scope.
4877
4878 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4879
4880 * Makefile.in (rtl.o): Depend on toplev.h.
4881
4882 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
4883
4884 * cse.c (delete_trivially_dead_insns): Replace alloca with
4885 xmalloc/xcalloc.
4886 * except.c (update_rethrow_references): Likewise.
4887 (init_eh_nesting_info): Likewise.
4888 * function.c (identify_blocks): Likewise.
4889 * gcse.c (dump_hash_table): Likewise.
4890 * graph.c (print_rtl_graph_with_bb): Likewise.
4891 * loop.c (combine_movables): Likewise.
4892 (move_movables): Likewise.
4893 (count_loop_regs_set): Likewise.
4894 (strength_reduce): Likewise.
4895 * profile.c (compute_branch_probabilities): New function, split
4896 out from ...
4897 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
4898 * regclass.c (regclass): Likewise.
4899 * regmove.c (regmove_optimize): Likewise.
4900 * toplev.c (compile_file): Likewise.
4901 (main): Don't mess with the stack rlimit.
4902
4903 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
4904
4905 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
4906 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
4907
4908 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
4909
4910 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
4911
4912 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
4913
4914 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
4915 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
4916 macro expansion.
4917
4918 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
4919
4920 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
4921
4922 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
4923
4924 * gcse.c (post_dominators): Kill.
4925 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
4926 (compute_code_hoist_data): Use compute_flow_dominators. Do not
4927 pass in a pdom array since we do not need pdoms.
4928 * haifa-sched.c (schedule_insns): Similarly.
4929 * flow.c (compute_dominators): Remove dead function.
4930 (compute_flow_dominators): Do not compute doms or pdoms if the
4931 caller does not request them. Split up loop to build doms and
4932 pdoms. Use a worklist to compute doms and pdoms.
4933 * basic-block.h (compute_dominators): Remove prototype.
4934
4935 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
4936
4937 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
4938 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
4939 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
4940 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
4941 (cant_move, fed_by_spec_load, is_load_insn): Remove.
4942 (schedule_region): Remove unused variable.
4943 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
4944
4945 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
4946
4947 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
4948 (update_equiv_regs): Likewise.
4949 (block_alloc): Likewise.
4950 * reg-stack.c (reg_to_stack): Likewise.
4951 (convert_regs_2): Likewise.
4952 * reload1.c (reload_as_needed): Likewise.
4953
4954 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
4955
4956 * Makefile.in (dbxout.o): Depend on ggc.h.
4957 (dwarf2out.o): Likewise.
4958 (xcoffout.o): Likewise.
4959 * dbxout.c: Include ggc.h.
4960 (dbxout_init): Register lastfile as a root.
4961 * dwarf2out.c: Include ggc.h.
4962 (dwarf2out_line): Register lastfile as a root.
4963 * xcoffout.c: Include ggc.h.
4964 (xcoffout_source_line): Register xcoff_lastfile as a root.
4965
4966 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
4967
4968 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
4969
4970 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
4971
4972 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
4973 defined.
4974 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
4975
4976 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4977
4978 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
4979 (EXECUTE_IF_CONFLICT): Likewise.
4980 (ALLOCNO_LIVE_P): Avoid signed division.
4981 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
4982 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
4983 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
4984
4985 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
4986
4987 * haifa-sched.c (schedule_block): Don't crash if there's no
4988 next insn for an interblock movement.
4989 (add_branch_dependences): Don't allow clobber insns to move either.
4990
4991 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
4992
4993 * i386.c (split_xf): New.
4994 * i386-protos.h: Declare it.
4995 * i386.md (movxf_1): Add general regs alternatives.
4996 (movxf_1+1): New splitter for same.
4997
4998 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
4999
5000 * function.c (purge_addressof_1): Add missing return values.
5001
5002 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
5003
5004 * function.c (is_addressof): New function. Returns true if
5005 the given piece of RTL is an ADDRESSOF.
5006 (purge_addressof_1): Make boolean. Return false if the
5007 ADDRESSOFs could not be purged.
5008 (purge_addressof): If ADDRESSOFs could not be purged from the
5009 notes attached to an insn, remove the offending note(s),
5010 unless they are attached to a libcall.
5011
5012 1999-11-05 Andreas Jaeger <aj@suse.de>
5013
5014 * genoutput.c (null_operand =): Initialize all fields.
5015
5016 * errors.h: Add extern to prototypes.
5017
5018 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
5019
5020 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
5021 * configure: Rebuilt.
5022
5023 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5024
5025 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
5026 (mirror_conflicts): New function.
5027 (global_alloc): Call it.
5028 (expand_preferences): Remove redundant CONFLICTP test.
5029 (find_reg, dump_conflicts): Likewise.
5030 (prune_preferences): Process conflicts one word at a time.
5031
5032 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
5033
5034 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
5035 instead of an explicit loop.
5036
5037 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
5038
5039 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
5040 if REG_RETVAL check succeeds, then put classp in src_elt.
5041
5042 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
5043
5044 * function.c (pad_to_arg_alignment): Only update argument_pad
5045 if the argument's alignment is greater than STACK_BOUNDARY.
5046
5047 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
5048
5049 * bitmap.h (BITMAP_XFREE): New.
5050 * flow.c (life_analysis): Use it.
5051 (life_analysis_1): Free blocks.
5052
5053 * combine.c (undo_commit): New.
5054 (try_combine): Use it. Don't zap undobuf.undos.
5055 (combine_instructions): Don't zap undobuf.undos; free the
5056 undobuf.frees list.
5057
5058 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
5059
5060 * stmt.c (cost_table_): New.
5061 (estimate_case_costs): Use it instead of xmalloc.
5062
5063 * toplev.c (compile_file): Reuse dumpname memory instead
5064 of strdup'ing it.
5065
5066 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
5067
5068 * reg-stack.c (convert_regs_1): Initialize target_stack->top
5069 after verifying an EH edge.
5070
5071 * haifa-sched.c (init_rgn_data_dependences): Correctly
5072 size bb_pending_lists_length when zeroing.
5073
5074 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
5075
5076 * function.c (diddle_return_value): New.
5077 (expand_function_end): Use it.
5078 * stmt.c (expand_null_return): Likewise.
5079 (expand_value_return): Likewise.
5080
5081 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
5082
5083 * reload1.c (reload): Don't remove return value clobbers.
5084
5085 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
5086
5087 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
5088
5089 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
5090
5091 * cse.c (cse_main): Use xmalloc, not alloca.
5092 (cse_basic_block): Likewise.
5093 * local-alloc.c (local_alloc): Likewise.
5094
5095 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
5096 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5097
5098 * rtl.c: Include toplev.h.
5099 (fatal): Remove declaration.
5100
5101 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
5102
5103 * haifa-sched.c (schedule_block): Fix thinko.
5104
5105 1999-11-03 James McKelvey <mckelvey@fafnir.com>
5106
5107 * fixinc/fixincl.c(create_file): Allow for systems that do not have
5108 S_IR* defined values
5109
5110 1999-11-03 Philippe De Muyter <phdm@macqel.be>
5111
5112 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
5113 call `malloc' instead.
5114
5115 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
5116
5117 * flags.h (flag_renumber_insns): Declare.
5118 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
5119 renumbering table.
5120 * rtl.h (renumber_insns): Change prototype.
5121 * toplev.c (flag_renumber_insns): Define.
5122 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
5123
5124 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
5125
5126 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
5127 and fpsqrtd. Use them and create fdiv function unit to more
5128 accurately represent fpu sqrt pipeline semantics on UltraSparc.
5129 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
5130
5131 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
5132
5133 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
5134 3 on UltraSparc.
5135 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
5136 insn into ready list, do not use just a raw swap.
5137
5138 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
5139
5140 * rtl.h (renumber_insns): New function.
5141 (remove_unnecessary_notes): Likewise.
5142 * emit-rtl.c (renumber_insns): Define.
5143 (remove_unncessary_notes): Likewise.
5144 * toplev.c (rest_of_compilation): Remove dead code.
5145 Use renumber_insns and remove_unncessary_notes.
5146
5147 * gcse.c (struct null_pointer_info): New type.
5148 (get_bitmap_width): New function.
5149 (current_block): Remove.
5150 (nonnull_local): Likewise.
5151 (nonnull_killed): Likewise.
5152 (invalidate_nonnull_info): Take a null_pointer_info as input.
5153 (delete_null_pointer_checks_1): New function.
5154 (delete_null_pointer_checks): Use it.
5155
5156 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
5157 (split_edges): Likewise.
5158 (schedule_block): Likewise.
5159 (compute_block_backward_dependencies): Likewise.
5160 (schedule_region): Likewise.
5161 (schedule_insns): Likewise.
5162
5163 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
5164
5165 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
5166 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
5167 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
5168 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
5169 * jump.c (delete_unreferenced_labels): Don't delete if
5170 LABEL_ALTERNATE_NAME is set.
5171 * print-rtl.c (print_rtx): Dump alternate name.
5172 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
5173 * rtl.h (LABEL_ALTERNATE_NAME): Define.
5174 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
5175 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
5176
5177 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5178
5179 * fix-header.c (recognized_extern, recognized_function): Constify
5180 a char*.
5181
5182 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
5183 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5184 (compute_available): Remove unused variable `last'.
5185 (compute_nearerout): Remove unused variable `temp_bitmap'.
5186 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
5187 Remove unused variable `x'.
5188
5189 * scan.h (recognized_function, recognized_extern): Constify a
5190 char*.
5191
5192 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
5193
5194 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5195
5196 * varasm.c (decode_rtx_const): Use XSTR to access the string
5197 of a SYMBOL_REF.
5198
5199 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
5200
5201 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
5202
5203 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5204
5205 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
5206
5207 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
5208
5209 * pa.c (ireg_operand): New function.
5210 * pa.h (PREDICATE_CODES): Handle ireg_operand.
5211 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
5212 Fix out of date comment.
5213
5214 * pa.md (negdi2): Turn into expander + anonymous pattern.
5215
5216 * reload.c (find_reloads): Fix typos in recent change.
5217
5218 * dwarf2out.c: Do not include ctype.h.
5219
5220 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5221
5222 * regclass.c (record_reg_classes): Always use may_move_cost when
5223 seeing how operand fits with various register classes.
5224
5225 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
5226
5227 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
5228 * toplev.c: Revert Nov 1 13:22 change.
5229
5230 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
5231
5232 * config/pa/pa.md (height reduction patterns): Add checks for
5233 overlapping operands to avoid semantic-destroying splits for
5234 height reduction patterns.
5235
5236 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5237
5238 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
5239 have been an hyphen, fixed.
5240 * configure: Rebuilt.
5241
5242 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
5243
5244 * config/arm/tpe.h: Add prototypes for exported functions.
5245 * config/arm/pe.c: Fix compile time warnings.
5246 * config/arm/semi.h: Fix compile time warnings.
5247 * config/arm/arm.c: Fix compile time warnings.
5248 * config/arm/arm.h: Fix compile time warnings.
5249 * config/arm/arm.md: Fix compile time warnings.
5250 * config/arm/thumb.c: Fix compile time warnings.
5251 * config/arm/thumb.h: Fix compile time warnings.
5252 * config/arm/thumb.md: Fix compile time warnings.
5253
5254 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
5255
5256 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
5257 detection code
5258
5259 * unroll.c (unroll_loop): Remove LOOP notes when loop is
5260 completely unrolled.
5261
5262 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5263
5264 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
5265
5266 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
5267
5268 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
5269 * rtl.h (rtx_equal_p): Move prototype.
5270 * rtl.c (rtx_equal_function_value_matters): Move from
5271 rtlanal.c
5272 (rtx_equal_p): Likewise.
5273 * rtlanal.c (rtx_equal_function_value_matters): Delete.
5274 (rtx_equal_p): Likewise.
5275
5276 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
5277
5278 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
5279 ! HAS_INIT_SECTION.
5280
5281 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
5282
5283 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
5284
5285 * pa.h (ADDR_VEC_ALIGN): Define.
5286
5287 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
5288 notes when presented with "if (foo) break; end_of_loop" and
5289 the break sequence gets moved out of the loop.
5290
5291 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
5292 Remove explicit zero initializations of entries within MAP.
5293
5294 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
5295
5296 * reg-stack.c (convert_regs_1): Handle EH edges specially.
5297
5298 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
5299
5300 * bitmap.h (BITMAP_XMALLOC): New macro.
5301 * flow.c (CLEAN_ALLOCA): Remove.
5302 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
5303 (life_analysis): Likewise.
5304 (update_life_info): Don't use CLEAN_ALLOCA.
5305 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
5306 (calculate_global_regs_live): Likewise.
5307 (print_rtl_with_bb): Likewise.
5308 (verify_flow_info): Likewise.
5309 * global.c (global_alloc): Likewise.
5310 (global_conflicts): Likewise.
5311 * integrate.c (save_for_inline_nocopy): Likewise.
5312 (expand_inline_function): Likewise.
5313 * jump.c (jump_optimize_1): Likewise.
5314 (duplicate_loop_exit_test): Likewise.
5315 (thread_jumps): Likewise.
5316 * loop.c (loop_optimize): Likewise.
5317 (combine_givs): Likewise.
5318 (recombine_givs): Likewise.
5319 * reorg.c (dbr_schedule): Likewise.
5320 * unroll.c (unroll_loop): Likewise.
5321
5322 * combine.c (combine_instructions): Use xmalloc instead of alloca.
5323
5324 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
5325
5326 * toplev.c (rest_of_compilation): Don't optimize the CFG
5327 when rebuilding, just before dbr.
5328
5329 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5330
5331 * output.h (assemble_end_function, assemble_destructor,
5332 assemble_constructor, assemble_gc_entry, assemble_global,
5333 assemble_label, output_constant_pool) Constify a char*.
5334
5335 * varasm.c (assemble_destructor, assemble_constructor,
5336 assemble_gc_entry, assemble_end_function, assemble_global,
5337 assemble_label, output_constant_pool): Likewise.
5338
5339 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
5340
5341 * config/arm/thumb.c (thumb_expand_prologue): Add comments
5342 explaining what is goin on in this function.
5343
5344 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5345
5346 * regclass.c (record_reg_classes): In matching case, recompute
5347 costs since the direction of movement is different.
5348
5349 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5350
5351 * resource.c (mark_target_live_regs): For unconditional branches,
5352 the resources found at the branch target should be added to the
5353 resources found so far, not intersected.
5354
5355 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
5356
5357 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
5358 old cpp's.
5359 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
5360 (sys/mman.h): Include this file only if #HAVE_MMAP.
5361 (run_compiles): Initialize `esac_fmt' with one old KR string, not
5362 with automatically concatenated ANSI strings.
5363
5364 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
5365
5366 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
5367 (DIV_ROUND_UP): Robustify.
5368 (ggc_recalculate_in_use_p): New function.
5369 (release_pages): Don't inline it.
5370 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
5371 outer contexts.
5372 (ggc_pop_context): Use ggc_recalculate_in_use_p.
5373 (clear_marks): Always save in_use_p.
5374 (sweep_pages): Use ggc_recalculate_in_use_p.
5375 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
5376 Release pages before counting statistics.
5377
5378 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
5379
5380 * toplev.c (rest_of_compilation): Fix thinko in this change:
5381
5382 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5383
5384 (rest_of_compilation): If inside an inlined external function,
5385 pretend we are just being declared.
5386
5387 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
5388
5389 * flow.c (calculate_global_regs_live): Fix thinko.
5390
5391 * integrate.c (expand_inline_function): Fix bugs in previous
5392 change from Oct 28, 1999.
5393
5394 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
5395
5396 * stmt.c (expand_value_return): Fix typo in this change:
5397
5398 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5399 (expand_value_return): Correctly convert VAL when promoting function
5400 return; support RETURN_REG being a PARALLEL.
5401
5402 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
5403
5404 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
5405
5406 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5407
5408 * hard-reg-set.h (reg_names): Constify a char*.
5409
5410 * regclass.c (reg_names): Likewise.
5411
5412 * regs.h (reg_names): Likewise
5413
5414 * a29k/a29k.c (reg_names): Delete declaration.
5415
5416 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
5417
5418 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
5419 arc_output_function_epilogue): Likewise.
5420
5421 * elxsi/elxsi.c (reg_names): Likewise.
5422
5423 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
5424
5425 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
5426 Likewise.
5427
5428 * m88k/m88k.c (output_function_profiler): Likewise.
5429
5430 * sparc/sparc.c (sparc_flat_output_function_prologue,
5431 sparc_flat_output_function_epilogue): Likewise.
5432
5433 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
5434
5435 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
5436 warning from -Wuninitialized and put it under -W.
5437 * function.c (uninitialized_vars_warning): Warn only when the
5438 corresponding flag is set.
5439
5440 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
5441
5442 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
5443 is nonzero and the single set does not have an elt, then assign
5444 it an elt.
5445
5446 * simplify-rtx.c: New file.
5447 * Makefile.in (OBJS): Add simplify-rtx.o
5448 (simplify-rtx.o): Add dependencies.
5449 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
5450 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
5451 (cse_gen_binary, simplify_unary_operation): Delete.
5452 (simplify_binary_operation, simplify_plus_minus): Likewise.
5453 (check_fold_consts, simplify_relation_operation): Likewise.
5454 (simplify_ternary_operation): Likewise.
5455 (delete_trivially_dead_insns): Simplify the contents of the
5456 REG_EQUAL note before trying to substitute it into the source
5457 of the reg-reg copy at the end of a libcall sequence.
5458
5459 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
5460 references/callers changed.
5461
5462 * mn10200.c (mn10200_va_arg): Force the return value into a
5463 register.
5464
5465 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
5466
5467 * cccp.c (macroexpand): Avoid out of range accesses for omitted
5468 arguments.
5469
5470 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
5471
5472 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
5473
5474 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
5475
5476 * fold-const.c (fold): Fix thinko when optimizing comparisons
5477 against -0.0.
5478
5479 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
5480
5481 * gcc.texi (Passes): Update front-end files to their current
5482 location.
5483
5484 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
5485
5486 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
5487 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5488 (PREDICATE_CODES): Add addition_operation.
5489 * alpha-protos.h (addition_operation): Declare.
5490 (secondary_reload_class): Likewise.
5491 * alpha.c (addition_operation): New.
5492 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
5493 * alpha.md (adddi3): Turn into expander.
5494 (*lda, *adddi_2): New.
5495 (movsf, movdf patterns): Don't preference integer regs.
5496 (movsi, movdi patterns): Don't preference fp regs.
5497
5498 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
5499
5500 * genrecog.c (write_switch): Check for duplicate CODE cases.
5501
5502 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
5503
5504 * ggc-common.c: Update pre-function commentary.
5505 * ggc-page.c: Likewise.
5506 (poison): Remove.
5507 (poison_pages): Use memset directly.
5508 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
5509 (ggc_collect): Poison before sweeping.
5510 * ggc-simple.c: Update pre-function commentary.
5511 (ggc_alloc_obj): Poison non-zeroed memory.
5512
5513 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
5514
5515 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
5516 match format string, even on 64-bit hosts.
5517 * gcc-page.c (ggc_page_print_statistics): Likewise.
5518
5519 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
5520
5521 * config/i386/i386.c (ix86_cpu): Revert last patch.
5522 * config/i386/i386.h (ix86_cpu): Ditto.
5523
5524 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
5525
5526 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
5527 TYPE_SIZE, convert type of result to sizetype.
5528
5529 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
5530
5531 * flow.c (count_or_remove_death_notes): Equate NULL with the
5532 universal set.
5533
5534 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
5535 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
5536 dbr_schedule.
5537
5538 * i386.c (pic_label_no): Delete.
5539 (ix86_attr_length_default): Don't use single_set to peek
5540 inside a parallel.
5541
5542 * recog.c (peephole2_optimize): Allow recog_next_insn to index
5543 the first insn after bb->end.
5544 * i386.md (push mem peeps): Scratch is live after evaluation
5545 of the memory.
5546 (cmp mem peep): Similarly.
5547
5548 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
5549
5550 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
5551 * function.c (pad_to_arg_alignment): Add missing braces.
5552
5553 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5554
5555 * alpha/alpha-protos.h (literal_section): Add prototype.
5556 (alpha_need_linkage, alpha_start_function,alpha_end_function):
5557 Constify a char*.
5558
5559 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
5560 prototype.
5561 (alpha_start_function, alpha_end_function, float_strings,
5562 alpha_need_linkage): Constify a char*
5563
5564 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
5565
5566 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
5567
5568 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5569
5570 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5571
5572 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5573
5574 * flow.c (debug_flow_info): Add prototype.
5575
5576 * gcc.c (main): Likewise.
5577
5578 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
5579 Likewise.
5580
5581 * reload1.c (failed_reload, set_reload_reg): Likewise.
5582
5583 * mips-tfile.c (main): Likewise.
5584 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
5585 with ATTRIBUTE_NORETURN.
5586
5587 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
5588
5589 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
5590 DECL is not a memory ref.
5591
5592 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
5593
5594 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
5595 * config/i386/i386.c (ix86_cpu): Add extern attribute.
5596
5597 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
5598
5599 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
5600 * config/mips/elf64.h: ditto.
5601
5602 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
5603
5604 * expr.c (emit_push_insn): New argument alignment_pad.
5605 Update all callers. Adjust stack pointer based on alignment pad.
5606 * function.c (pad_to_arg_alignment): New argument alignment_pad.
5607 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
5608 (locate_and_pad_parm): New argument alignment_pad. Update all
5609 callers.
5610 * expr.h (emit_push_insn): Update prototype.
5611 (locate_and_pad_parm): Update prototype.
5612 * calls.c (arg_data): Add new field alignment_pad.
5613 (initialize_argument_information): Initialize alignment_pad.
5614
5615 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
5616
5617 * except.c (free_eh_nesting_info): Free the info itself.
5618 * function.c (free_after_compilation): Don't free NULL.
5619 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
5620 (pre_edge_insert): Free inserted.
5621 * stmt.c (free_stmt_status): Don't free NULL.
5622
5623 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
5624
5625 * gcov.c (DIR_SEPARATOR): Provide default.
5626 (output_data): Add test for MS-DOS format absolute filename.
5627 (fancy_abort): Correct program name.
5628 (open_files): Open all files in binary mode.
5629 * libgcc2.c (__bb_exit_func): Likewise.
5630
5631 * profile.c (init_branch_prob): Specify binary when opening files.
5632
5633 * flags.h (flag_unwind_tables): New decl.
5634 * toplev.c (flag_unwind_table): New definition.
5635 (f_options): Add -funwind-tables.
5636 (decode_g_option): Clarify warning when unknown -g option is given.
5637 (rest_of_compilation): If inside an inlined external function,
5638 pretend we are just being declared.
5639
5640 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
5641 (dwarf2out_frame_finish): Likewise.
5642
5643 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
5644
5645 * fold-const.c (merge_ranges): If not in0, but in1, handle
5646 upper bounds equal like subset case.
5647
5648 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
5649
5650 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
5651 passed in a register but moved to the stack.
5652
5653 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
5654
5655 * gcc.c (pass_exit_codes, greatest_status): New variables.
5656 (struct option_map): Add entry for "--pass-exit-codes".
5657 (execute): Update greatest_status if error.
5658 (display_help): Add documentation for -pass-exit-codes.
5659 (process_command): Handle -pass-exit-codes.
5660 (main): Look at pass_exit_codes and greatest_status on call to exit.
5661
5662 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5663
5664 * reload.c (find_reloads): Refine test for no input reload
5665 case to not includes reloads emitted after insn.
5666
5667 * function.c (find_temp_slots_from_address): Handle sum involving
5668 a register that points to a temp slot.
5669 (update_temp_slot_address): Make recursive call if both old and
5670 new are PLUS with a common operand.
5671 * calls.c (expand_call): Mark temp slot for result as having
5672 address taken.
5673
5674 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
5675
5676 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
5677 component as well as "BINUTILS".
5678
5679 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
5680 * integrate.c (copy_rtx_and_substitute): Likewise.
5681 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
5682 All callers changed.
5683 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
5684
5685 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
5686 gdb extensions, write size of type; also be more consistent
5687 in using references when this is a subtype.
5688
5689 * pa.md (extv, extzv, insv): Use define_expand to reject constant
5690 that is out of range.
5691
5692 * loop.c (unknown_constant_address_altered): New variable.
5693 (prescan_loop): Initialize it.
5694 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
5695 (invariant_p, case MEM): Remove handling for volatile and readonly;
5696 check new variable if readonly.
5697 (check_dbra_loop): Chdeck unknown_constant_address_altered.
5698
5699 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
5700 (addr_affects_sp_p): Removed from note_mem_written and only
5701 define #ifdef AUTO_INC_DEC.
5702
5703 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
5704
5705 * regclass.c (record_reg_classes): Properly handle register move
5706 directions.
5707
5708 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
5709 Don't think valid if both operands are invalid.
5710 (struct constant_descriptor): New field RTL.
5711 (mark_const_hash_entry): Mark it.
5712 (record_constant{,_rtx}): Initialize it.
5713 (output_constant_def): Allocate RTL in permanent obstack and
5714 save in table.
5715 ({record,compare}_constant_1): Modes must match for
5716 CONSTRUCTOR of ARRAY_TYPE.
5717
5718 * c-common.h (initializer_constant_valid_p): Delete decl from here.
5719 * output.h (initializer_constant_valid_p): Move decl to here.
5720 * c-common.c (initializer_constant_valid_p): Delete function from here.
5721 * varasm.c (initializer_constant_valid_p): Move function to here.
5722
5723 * tree.h (STRIP_SIGN_NOPS): New macro.
5724 * fold-const.c (optimize_minmax_comparison): New function.
5725 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
5726 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
5727 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
5728 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
5729 widening conversions.
5730 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
5731 to look at size of mode, not precision of type; also add missing cases.
5732 (optimize_bit_field_compare, decode_field_reference): Don't try to
5733 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
5734
5735 * dwarf2out.c (ctype.h): Include.
5736 (dwarf2out_set_demangle_name_func): New function.
5737 (size_of_line_info): Deleted.
5738 (output_line_info): Compute size of line info table from difference
5739 of labels.
5740 (base_type_die, add_name_attribute): Call demangle function, if any.
5741 (field_byte_offset): Use bits per word for variable length fields.
5742 (gen_array_type_die): Add array name.
5743 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
5744 (dwarf2out_add_library_unit_info): New function.
5745
5746 * explow.c (set_stack_check_libfunc): New function.
5747 (stack_check_libfunc): New static variable.
5748 (probe_stack_range): Allow front-end to set up a libfunc to call.
5749
5750 * combine.c (simplify_comparison): When making comparison in wider
5751 mode, check for having commuted an AND and a SUBREG.
5752 (contains_muldiv): New function.
5753 (try_combine): Call it when dividing a PARALLEL.
5754 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
5755 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
5756 a PLUS.
5757 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
5758 use one of the CLOBBERs instead.
5759 (if_then_else_cond): If comparing against zero, just return thing
5760 being compared.
5761
5762 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
5763 Don't generate shifts and subtract if have conditional arithmetic.
5764
5765 * rtl.h (delete_barrier): New declaration.
5766 * jump.c (jump_optimize): Set up to handle conditional call.
5767 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
5768 (delete_barrier): New function.
5769
5770 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
5771
5772 * recog.c (nonmemory_operand): Accept ADDRESSOF.
5773
5774 * tree.c (build_type_attribute_variant): Push to obstack of
5775 ttype around type_hash_canon call.
5776
5777 * expr.c (placeholder_list): Move decl to file scope.
5778 (expand_expr): Don't force access to volatile just because its
5779 address is taken.
5780 If ignoring reference operations, just expand the operands.
5781 (expand_expr, case COMPONENT_REF): Propagate
5782 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
5783 Refine test for using bitfield operations vs pointer punning.
5784 (expand_expr, case CONVERT_EXPR): If converting to
5785 BLKmode UNION_TYPE from BLKmode, just return inner object.
5786 Use proper mode in store_field call.
5787 Properly set sizes of object to store and total size in store_field
5788 call for convert to union.
5789 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
5790 memory (like for ADDR_EXPR). Also, don't put constant in register if
5791 we'll want it in memory.
5792 (readonly_fields_p): New function.
5793 (expand_expr, case INDIRECT_REF): Call it if LHS.
5794 (expand_assignment): Handle a RESULT_DECL where
5795 DECL_RTL is a PARALLEL.
5796 (do_jump, case WITH_RECORD_EXPR): New case.
5797 (get_inner_reference): Always go inside a CONVERT_EXPR
5798 and NOP_EXPR if both modes are the same.
5799 (store_field): Use bitfield operations if size of bitsize is not same
5800 as size of RHS's type.
5801 Check for bitpos not a multiple of alignment in BLKmode case.
5802 Do block move in largest possible alignment.
5803 (store_constructor): Set BITSIZE to -1 for variable size and properly
5804 in case of array of BLKmode.
5805 (expand_expr_unaligned): New function.
5806 (do_compare_and_jump): Call it.
5807
5808 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
5809 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
5810 does not include 'o'.
5811
5812 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
5813 both SET_DEST and SET_SRC reference a virtual register.
5814 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
5815
5816 * integrate.c (expand_inline_function): Handle case of setting
5817 virtual stack vars register (from built in setjmp); when parameter
5818 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
5819 (subst_constant): Add new parm, MEMONLY.
5820 (expand_inline_function, integrate_parm_decls): Pass new parm.
5821 (integrate_decl_tree): Likewise.
5822 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
5823 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
5824 (copy_rtx_and_substitute, case SET): Add explicit calls to
5825 copy_rtx_and_substitute for both sides.
5826
5827 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
5828 constraints.
5829 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
5830 within INDEX_TYPE, instead of before.
5831 (fixup_gotos): Use f->target_rtl, not the next insn,
5832 since latter may be from a later fixup.
5833 (expand_value_return): Correctly convert VAL when promoting function
5834 return; support RETURN_REG being a PARALLEL.
5835 (expand_return): When checking for result in regs and having
5836 cleanup, consider PARALLEL in DECL_RTL as being in regs.
5837
5838 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
5839
5840 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
5841 last_nominal_fname): Mark const.
5842 (struct include_hash: name, nshort, control_macro): Mark
5843 const.
5844 (struct macrodef: symnam): Mark const.
5845 (struct if_stack: fname): Mark const.
5846 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
5847 (IStable): New character-syntax array which encompasses all
5848 the old is_foo arrays.
5849 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
5850 is_space): New macros for interrogating IStable.
5851 (check_macro_name): Kill last argument. All callers changed.
5852
5853 * cppinit.c (initialize_char_syntax): Delete.
5854 (is_idchar, is_idstart, is_hor_space, is_space,
5855 trigraph_table): Delete.
5856 (IStable): New. Initialize with clever macros to avoid
5857 information duplication.
5858 (builtin_array): Table of builtins to get rid of explicit list
5859 in initialize_builtins.
5860 (initialize_builtins): Use builtins_array.
5861 (cpp_start_read): Call init_IStable, and set IStable['$'] if
5862 opts->dollars_in_ident.
5863
5864 * cppexp.c: Change all refs to is_xyz[] arrays to use new
5865 is_xyz() macros.
5866 (cpp_parse_expr): Avoid 'format string is not constant'
5867 warning. Use ISGRAPH to identify printable chars.
5868 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
5869 is_xyz() macros.
5870 (read_and_prescan): Map trigraphs to chars with open-coded
5871 if-else-if-... sequence, not a lookup table.
5872 * cpphash.c: Change all refs to is_xyz[] arrays to use new
5873 is_xyz() macros.
5874 * cpplib.c: Change all refs to is_xyz[] arrays to use new
5875 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
5876 (check_macro_name): Remove ability to report an invalid
5877 assertion name, which is never used.
5878 (do_line): Constify a couple of char *'s.
5879 * cppmain.c (main): Call cpp_cleanup before returning.
5880
5881 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
5882
5883 * ggc.h (struct ggc_statistics): New type.
5884 (ggc_get_size): New function.
5885 (ggc_print_statistics): Likewise.
5886 * ggc-common.c (ggc_stats): New variable.
5887 (ggc_mark_rtx_children): Keep statistics.
5888 (ggc_mark_tree_children): Likewise.
5889 (ggc_print_statistics): New function.
5890 * ggc-page.c (struct globals): Add bytes_mapped field.
5891 (alloc_anon): Update it.
5892 (release_pages): Likewise.
5893 (ggc_get_size): New function.
5894 (ggc_page_print_statistics): New function.
5895 * ggc-simple.c (ggc_get_size): New function.
5896
5897 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
5898
5899 * flow.c (propagate_block): When the last reference to a label
5900 before an ADDR_VEC is deleted because the reference is a dead
5901 store, delete the ADDR_VEC.
5902
5903 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
5904
5905 * resource.c (find_free_register): Don't use the frame pointer
5906 if frame_pointer_needed.
5907
5908 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
5909
5910 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
5911 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
5912
5913 * config/i960/i960.c (i960_va_start): New locals base, num.
5914 Use INDIRECT_REF instead of ARRAY_REF on valist.
5915 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
5916
5917 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
5918
5919 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
5920
5921 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
5922
5923 * tree.def (PLACEHOLDER_EXPR): Update comments.
5924
5925 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5926
5927 * c-common.c (check_format_info): Avoid non-literal format string
5928 warnings when `first_arg_num' is zero.
5929
5930 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5931
5932 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
5933
5934 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5935
5936 * arm.md (casesi_insn): Add a clobber of the condition code
5937 register.
5938
5939 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
5940
5941 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
5942 used by both cc1 and cc1plus.
5943
5944 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
5945
5946 * config/arm/arm.c: Initialise arm_structure_size_boundary to
5947 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
5948 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
5949 to the value 32 if it has not already been defined.
5950 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
5951 Override definition in arm.h with a value of 8.
5952
5953 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
5954
5955 * c-pragma.c (push_alignment): Don't check the return value
5956 of xmalloc.
5957
5958 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
5959
5960 * sparc.h (ADJUST_COST): Fix thinko.
5961
5962 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
5963
5964 * cccp.c (rescan): Fixed obp pointer handling around call to
5965 check_expand subroutine.
5966
5967 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
5968
5969 * gcse.c (delete_null_pointer_checks): Only record non-null info
5970 for pseudos when examining stores.
5971
5972 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
5973 splitters for these patterns. Use "#" for output templates.
5974 (addsi3_carryin_shift): New pattern.
5975
5976 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
5977
5978 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
5979 of the function return register into a plain REG until
5980 after function inlining is done.
5981
5982 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
5983
5984 * jump.c (jump_optimize_1): If we did cross-jumping, and
5985 the data will matter, rebuild the CFG.
5986 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
5987 not optimizing. Don't run shorten_branches.
5988 * toplev.c (rest_of_compilation): Run shorten_branches after
5989 reg_to_stack.
5990
5991 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
5992
5993 * rtl.h (note_stores): Add additional paramter.
5994 * rtlanal.c (reg_set_p_1): Take additional paramter.
5995 (reg_set_last_1): Likewise.
5996 (reg_set_p): Adjust call to note_stores.
5997 (reg_set_last): Likewise.
5998 (note_stores): Pass data parameter to worker function.
5999 * alias.c (record_set): Take additional parameter.
6000 (init_alias_analysis): Pass it.
6001 * caller-save.c (mark_set_regs): Take additional parameter.
6002 (save_call_clobbered_regs): Pass NULL to note_stores.
6003 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
6004 parameter.
6005 (record_dead_and_set_regs_1): Likewise.
6006 (reg_dead_at_p_1): Likewise.
6007 (combine_instructions): Adjust calls to note_stores.
6008 (try_combine): Likewise.
6009 (record_dead_insn): Remove.
6010 (record_dead_and_set_regs): Adjust calls to note_stores.
6011 (reg_dead_at_p): Likewise.
6012 * cse.c (invalidate_skipped_set): Take additional parameter.
6013 (cse_check_loop_start): Likewise.
6014 (cse_check_loop_start_value): Remove.
6015 (cse_set_around_loop): Adjust calls to note_stores.
6016 * flow.c (notice_stack_pointer_modification): Take additional
6017 parameter. Remove duplicate declaration.
6018 (record_volatile_insns): Adjust calls to note_stores.
6019 * gcse.c (record_set_info): Take additional parameter.
6020 (record_last_set_info): Likewise.
6021 (invalidate_nonnull_info): Likewise.
6022 (record_set_insn): Remove.
6023 (compute_sets): Adjust calls to note_stores.
6024 (last_set_insn): Remove.
6025 (compute_hash_table): Adjust calls to note_stores.
6026 (insert_insn_end_bb): Likewise.
6027 (delete_null_pointer_checks): Likewise.
6028 * global.c (mark_reg_store): Take additional parameter.
6029 (mark_reg_clobber): Likewise.
6030 (reg_becomes_live): Likewise.
6031 (global_conflicts): Adjust calls to note_stores.
6032 (build_insn_chain): Likewise.
6033 * integrate.c (note_modified_parmregs): Take additional parameter.
6034 (mark_stores): Likewise. Make it static.
6035 (save_for_inline_nocopy): Adjust calls to note_stores.
6036 (try_constants): Likewise.
6037 * integrate.h (mark_stores): Remove declaration.
6038 * jump.c (mark_modified_reg): Take additional parameter.
6039 (thread_jumps): Adjust calls to note_stores.
6040 * local-alloc.c (validate_equiv_mem_from_store): Take additional
6041 parameter.
6042 (no_equiv): Likewise.
6043 (reg_is_set): Likewise.
6044 (validate_equiv_mem): Adjust calls to note_stores.
6045 (update_equiv_regs): Likewise.
6046 (block_alloc): Likewise.
6047 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
6048 (note_addr_stored): Take additional parameter.
6049 (note_set_pseudo_multiple_uses): Likewise.
6050 (record_initial): Likewise.
6051 (prescan_loop): Adjust calls to note_stores.
6052 (strength_reduce): Likewise.
6053 (check_dbra_loop): Likewise.
6054 * regmove.c (flags_set_1): Take additional paramter.
6055 (mark_flags_life_zones): Adjust calls to note_stores.
6056 * reload1.c (mark_not_eliminable): Take additional parameter.
6057 (forget_old_reloads_1): Likewise.
6058 (reload_cse_invalidate_rtx): Likewise.
6059 (reload_cse_check_clobber): Likewise.
6060 (reload_combine_note_store): Likewise.
6061 (move2add_note_store): Likewise.
6062 (reload): Adjust calls to note_stores.
6063 (reload_as_needed): Likewise.
6064 (emit_reload_insns): Likewise.
6065 (reload_cse_regs_1): Likewise.
6066 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
6067 (reload_combine): Adjust calls to note_stores.
6068 * resource.c (update_live_status): Take additional paramter.
6069 (mark_target_live_regs): Adjust calls to note_stores.
6070 * stupid.c (find_clobbered_regs): Take additional parameter.
6071 (stupid_life_analysis): Adjust calls to note_stores.
6072
6073 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
6074
6075 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
6076 definition.
6077
6078 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
6079 definition.
6080
6081 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
6082 of the variable arm_structure_size_boundary.
6083
6084 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
6085
6086 * alias.c (init_alias_analysis): Allocate reg_known_value and
6087 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
6088 and reg_seen.
6089 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
6090 * cse.c (cse_main): Call end_alias_analysis.
6091 * haifa-sched.c (schedule_insns): Likewise.
6092 * local-alloc. (update_equiv_regs): Likewise.
6093 * reload1.c (reload_cse_regs): Likewise.
6094
6095 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6096
6097 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
6098 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
6099 mapping from MASK_FPU.
6100
6101 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
6102
6103 * sparc.md (call): Don't bound structure return size to 0xfff.
6104
6105 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
6106
6107 * resource.c (mark_target_live_regs): Check that the target
6108 insn wasn't created after compute_bb_for_insn.
6109
6110 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
6111
6112 * ggc-page.c (poison_pages): Don't be overzealous.
6113
6114 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
6115
6116 * alias.c: Update comments for ADDRESS.
6117 (nonlocal_reference_p): Look inside the ADDRESS to determine if
6118 it is a local memory reference.
6119
6120 * c-typeck.c (build_function_call): Check that the built-in
6121 function is of class BUILT_IN_NORMAL before trying to recongize
6122 it as BUILT_IN_ABS.
6123 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
6124 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
6125
6126 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
6127
6128 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
6129 of alloca.
6130 (pre_gcse): Likewise.
6131 (hoist_expr_reaches_here_p): Likewise.
6132 (hoist_code): Likewise.
6133 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
6134 code to ...
6135 (pre_expr_reaches_here_p_work): ... here.
6136 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
6137 code to ...
6138 (expr_reaches_here_p_work): ... here.
6139
6140 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
6141
6142 * resource.c (find_basic_block): Delete.
6143 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
6144 (init_resource_info): Call compute_bb_for_insn.
6145
6146 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
6147
6148 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
6149 with already adjacent blocks, but no fallthru.
6150 (merge_blocks_move_successor_nojumps): Simplify.
6151 (debug_flow_info): New.
6152
6153 * toplev.c (rest_of_compilation): Open jump1 dump file before
6154 jump and close after, as opposed to just using dump_rtl.
6155
6156 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6157
6158 * reload.h (earlyclobber_operand_p): Declare.
6159 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
6160 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
6161 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
6162 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
6163
6164 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
6165 Richard Henderson <rth@cygnus.com>
6166
6167 * emit-rtl.c (emit_block_insn_before): New.
6168 (emit_block_insn_after): New.
6169 * basic-block.h: Declare them.
6170
6171 * bitmap.h: Protect from multiple inclusion.
6172
6173 * recog.c (scratch_operand): Handle VOIDmode correctly.
6174
6175 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
6176
6177 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
6178 * function.c (assign_parms): Likewise.
6179 * global.c (global_conflicts): Clarify STACK_REGS commentary.
6180
6181 * reg-stack.c (max_uid): Remove.
6182 (blocks, block_begin, block_end, block_drops_in): Remove.
6183 (block_stack_in, block_out_reg_set, block_number): Remove.
6184 (struct block_info_def, BLOCK_INFO): New.
6185 (enum emit_where): New.
6186 (current_block): New.
6187 (BLOCK_NUM): Remove.
6188 (mark_regs_pat, record_label_references): Remove.
6189 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
6190 (nan): New.
6191 (goto_block_pat, print_blocks, dump_stack_info): Remove.
6192 (reg_to_stack): Simplified test for existance of fp code. Use
6193 flow.c code. Call shorten_branches after cross-jump opt.
6194 (check_asm_stack_operands): Renamed from record_asm_reg_life.
6195 Return false if the asm doesn't use stack regs. Don't do life
6196 analysis on the asm.
6197 (emit_pop_insn): Replace function pointer arg `when' with
6198 enum `where'. Update all callers.
6199 (change_stack): Likewise. Update basic block end.
6200 (emit_swap_insn): Use current_block->head to limit reverse search
6201 for start of block. Use emit_block_insn_after.
6202 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
6203 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
6204 structure assignment instead of bcopy.
6205 (print_stack): New.
6206 (convert_regs_entry, convert_regs_exit): New.
6207 (convert_regs_1, convert_regs_2): Split out from convert_regs.
6208 Work on basic blocks and the CFG.
6209 (convert_regs): Use them.
6210
6211 * i386.c (output_fix_trunc): Remove code for DImode input operand
6212 not at top-of-stack.
6213 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
6214 appropriate mode.
6215 (fix_truncdi_1): Allow any mode scratch.
6216
6217 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
6218
6219 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
6220 * linux.h, netbsd.h, vms.h: Not here.
6221
6222 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
6223
6224 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
6225 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
6226 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
6227 CONDITIONAL_REGISTER_USEAGE): Use them.
6228 * config/mips/mips.c (mips_move_1word,mips_move_2words,
6229 gen_conditional_branch,override_options) : Use them.
6230 * config/mips/mips.md : Use them.
6231
6232 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
6233
6234 * i386.md (zero_extendqihi2): Use SImode register name with andl.
6235
6236 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
6237
6238 * integrate.c (function_cannot_inline_p): Don't allow inlining
6239 if setjmp is used.
6240
6241 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6242
6243 * c-parse.in (cast_expr): Constify.
6244
6245 * cccp.c (special_symbol): Likewise.
6246
6247 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
6248
6249 * dwarf2out.c (base_type_die): Likewise.
6250
6251 * global.c (allocno_compare): Likewise.
6252
6253 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
6254
6255 * regclass.c (fix_register): Likewise.
6256
6257 * rtl.h (fix_register): Likewise.
6258
6259 * stupid.c (stupid_reg_compare): Likewise.
6260
6261 * toplev.c (decode_f_option): Likewise.
6262
6263 * tree.c (build_complex_type): Likewise.
6264
6265 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
6266
6267 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
6268
6269 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6270
6271 * reload.c (find_reloads): Compute mode and nregs fields of all
6272 reloads.
6273 * reload1.c (calculate_needs_all_insns): Simplify a bit.
6274 (calculate_needs): Use precomputed mode/nregs values.
6275 (allocate_reload_reg): Likewise.
6276 Break out two...
6277 (failed_reload, set_reload_reg): ... new functions.
6278 (choose_reload_regs_init): New function, mostly broken out from...
6279 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
6280 Also lose one #if 0 block.
6281
6282 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
6283
6284 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
6285 substitution.
6286
6287 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
6288
6289 * tree.h (BLOCK_TYPE_TAGS): Remove.
6290 (BLOCK_END_NOTE): Likewise.
6291 (BLOCK_LIVE_RANGE_FLAG): Likewise.
6292 (BLOCK_LIVE_RANGE_START): Likewise.
6293 (BLOCK_LIVE_RANGE_END): Likewise.
6294 (tree_block): Remove live_range_flag, live_range_var_flag, and
6295 type_tags. Remove end_note, live_range_start, and live_range_end.
6296 (remember_end_note): Remove prototype.
6297 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
6298 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
6299 remember_end_note.
6300 * ggc-common.c (ggc_mark_tree_children): Don't mark
6301 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
6302 * integrate.c (adjust_copied_decl_tree): Remove.
6303 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
6304 * stmt.c (last_block_end_note): Remove.
6305 (init_stmt): Don't add a GC root for it.
6306 (expand_fixup): Don't set it.
6307 (remember_end_note): Remove.
6308 (expand_end_bindings): Don't set last_block_end_note.
6309
6310 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6311
6312 * reload1.c (reload_reg_free_for_value_p): Show
6313 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
6314 reloads.
6315
6316 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
6317
6318 * expmed.c (extract_bit_field): Allow for the case of non-integer
6319 objects that are smaller than a word (like SFmode on a 64-bit
6320 machine).
6321
6322 * loop.c (basic_induction_var): A non-integer variable which is
6323 being set by a paradoxical subreg is probably not a biv.
6324
6325 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6326
6327 * prefix.c (translate_name) Check for empty prefix string.
6328
6329 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
6330
6331 * Makefile.in (CPP_CROSS_NAME): New variable.
6332 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
6333 xcpp.
6334 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
6335 names of the files to be uninstalled.
6336
6337 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
6338
6339 * collect2.c (IS_DIR_SEPARATOR): Define.
6340 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
6341
6342 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
6343 functions too.
6344
6345 * haifa-sched.c (add_dependence): Update the true dependency
6346 cache the first time we add a true dependence to the LOG_LINKS chain.
6347
6348 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
6349
6350 * fold-const.c (fold): Fix comment.
6351
6352 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6353
6354 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
6355 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
6356 dbxout_start_new_source_file, dbxout_source_file,
6357 dbxout_source_line, dbxout_finish, dbxout_type_fields,
6358 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
6359 Constify a char*.
6360 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
6361 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
6362 (dbxout_block): Initialize variable `blocknum'.
6363
6364 * dbxout.h (dbxout_init, dbxout_finish,
6365 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
6366 dbxout_args, dbxout_source_line): Constify a char*.
6367
6368 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
6369 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
6370 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
6371 low_pc_attribute, high_pc_attribute, body_begin_attribute,
6372 body_end_attribute, comp_dir_attribute, sf_names_attribute,
6373 src_info_attribute, mac_info_attribute, producer_attribute,
6374 lookup_filename, generate_macinfo_entry, fundamental_type_code,
6375 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
6376 dwarfout_undef): Constify a char*.
6377 (add_incomplete_type, retry_incomplete_types): Add prototypes.
6378
6379 * dwarfout.h (dwarfout_define, dwarfout_undef,
6380 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
6381
6382 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
6383
6384 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
6385 (MULTILIB_ISA_DEFAULT): New.
6386 (MULTILIB_DEFAULTS): Use it.
6387 * config/mips/mips.c (): Remove the now unnecessary definition
6388 of MIPS_ISA_DEFAULT.
6389 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
6390 unnecessary definition.
6391
6392 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
6393
6394 * arm.md (pic_load_addr): Add constraints to operand 1.
6395
6396 1999-10-25 Bruce Korb <autogen@linuxbox.com>
6397
6398 * fixinc/genfixes: Provide a means for specifying -D options to
6399 AutoGen
6400
6401 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
6402
6403 * arm.c (arm_override_options): Correct initialization of
6404 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
6405 arm_is_strong, and arm_is_6_or_7.
6406
6407 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
6408 (note_set_pseudo_multiple_uses): New function.
6409 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
6410 if a pseudo set in the loop exit is used elsewhere.
6411
6412 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
6413
6414 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
6415
6416 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
6417
6418 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
6419 a single load-address pattern.
6420
6421 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
6422
6423 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
6424 depending on whether or not line-number notes are present.
6425
6426 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6427
6428 * cccp.c (progname, file_buf, default_include, include_file,
6429 macrodef, definition, hashval, wchar_type, user_label_prefix,
6430 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
6431 expand_to_temp_buffer, is_system_include, base_name,
6432 absolute_filename, read_name_map, open_include_file,
6433 record_control_macro, check_precompiled, check_preconditions,
6434 pcfinclude, pass_thru_directive, create_definition,
6435 check_macro_name, comp_def_part, collect_expansion,
6436 check_assertion, read_token_list, assertion_install,
6437 assertion_lookup, eval_if_expression, conditional_skip,
6438 validate_else, skip_quoted_string, quote_string, macarg1,
6439 error_from_errno, install, lookup, hashf, dump_defn_1,
6440 perror_with_name, pfatal_with_name, main, trigraph_pcp,
6441 check_white_space, rescan, handle_directive, monthnames,
6442 special_symbol, do_include, remap_include_file, write_output,
6443 arglist, do_assert, do_unassert, do_line, do_error, do_once,
6444 do_ident, do_sccs, do_xifdef, skip_if_group,
6445 output_line_directive, macroexpand, macarg, change_newlines,
6446 initialize_builtins, make_definition): Constify a char*.
6447
6448 * pcp.h (stringdef): Likewise.
6449
6450 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
6451
6452 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
6453 not of pattern.
6454
6455 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
6456 Richard Henderson <rth@cygnus.com>
6457
6458 * alias.c: Include ggc.h.
6459 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
6460 (record_set): Verify enough room in reg_base_value.
6461 (init_alias_analysis): Allocate reg_base_value with xcalloc.
6462 Register it as a GC root.
6463 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
6464 * Makefile.in (alias.o): Depend on ggc.h.
6465
6466 * unroll.c (unroll_loop): Verify the insn before a barrier
6467 is a JUMP_INSN before checking JUMP_LABEL.
6468
6469 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6470
6471 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
6472 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
6473 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
6474 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
6475 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
6476 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
6477
6478 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6479
6480 * output.h (ctors_section, dtors_section, bss_section): Prototype.
6481
6482 * alpha/alpha-interix.h (text_section): Delete prototype.
6483 * alpha/elf.h (text_section): Likewise.
6484 * arm/linux-elf.h (text_section): Likewise.
6485 * arm/linux-telf.h (text_section): Likewise.
6486 * c4x/c4x.h (text_section): Likewise.
6487 * dsp16xx/dsp16xx.h (bss_section): Likewise.
6488 * elfos.h (text_section): Likewise.
6489 * i386/aix386ng.h (text_section): Likewise.
6490 * i386/i386-interix.h (text_section): Likewise.
6491 * i386/sco5.h (text_section): Likewise.
6492 * i386/svr3gas.h (text_section): Likewise.
6493 * nextstep.h (text_section): Likewise.
6494 * psos.h (text_section): Likewise.
6495 * ptx4.h (text_section): Likewise.
6496 * svr3.h (text_section): Likewise.
6497 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
6498
6499 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6500
6501 * final.c (peephole): Delete prototype.
6502
6503 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
6504 (pre_insert_copies): Remove unused variable `bb'.
6505
6506 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
6507 prototypes.
6508
6509 * output.h (peephole): Add prototype.
6510
6511 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
6512
6513 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
6514 -O0.
6515
6516 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
6517
6518 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
6519 for inlined declarations.
6520
6521 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
6522
6523 * arm.c (logical_binary_operator): New fucntion.
6524 * arm.h (logical_binary_operator): Declare it.
6525 (PREDICATE_CODES): Handle logical_binary_operator.
6526 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
6527 output constraints. Add appropriate splitters.
6528 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
6529 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
6530 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
6531
6532 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6533
6534 * genoutput.c (struct operand_data): New elt eliminable.
6535 (output_operand_data): Write it.
6536 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
6537 (compare_operands): Take it into account.
6538 * recog.h (struct insn_operand_data): New elt eliminable.
6539 * reload1.c (check_eliminable_occurrences, elimination_effects): New
6540 functions.
6541 (old_asm_operands_vec, new_asm_operands_vec): Delete.
6542 (eliminate_regs): Move code that detects changes to elimination
6543 target regs into new function elimination_effects.
6544 Delete one #if 0 block.
6545 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
6546 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
6547 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
6548 Only call eliminate_regs for real operands of the insn, not for parts
6549 of its structure or parts matched by things like match_operator.
6550 Use elimination_effects and check_eliminable_occurrences. Use
6551 copy_insn to duplicate the pattern when not in the final pass.
6552
6553 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
6554
6555 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
6556 and fld.
6557
6558 1999-10-22 Bruce Korb <autogen@linuxbox.com>
6559
6560 * fixinc/README: document the "mach" machine matching test
6561 * fixinc/fixfixes.c: Implement the #else/#endif label fix
6562 * fixinc/fixtests.c: Implement the #else/#endif label test
6563 * fixinc/inclhack.def: utilize these tests and fixes
6564 * fixinc/inclhack.sh: regen
6565 * fixinc/fixincl.x: regen
6566 * fixinc/fixincl.sh: regen
6567
6568 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
6569
6570 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
6571 depend on ggc.h.
6572
6573 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
6574
6575 * gcc.1: Document exit codes.
6576
6577 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6578
6579 * calls.c: Include tm_p.h later, so everything we need is defined.
6580 * expr.c: Likewise.
6581 * function.c: Likewise.
6582
6583 * except.c: Include tm_p.h.
6584
6585 * sparc.c: Likewise.
6586 (dwarf2out_cfi_label): Don't prototype.
6587 (check_return_regs, epilogue_renumber,
6588 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
6589 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
6590 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
6591 ultra_schedule_insn): Add static prototype.
6592 (data_segment_operand, text_segment_operand): Call itself with the
6593 proper number of arguments.
6594 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
6595
6596 * sparc.h: Move all declarations to sparc-protos.h.
6597 (SELECT_RTX_SECTION): Pass a missing MODE argument to
6598 symbolic_operand.
6599
6600 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
6601
6602 * config/svr4.h (text_section, ctors_section, dtors_section): Add
6603 Prototypes.
6604 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
6605 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
6606 ASM_OUTPUT_ASCII): Constify a char*.
6607
6608 * sparc-protos.h: New file for sparc prototypes.
6609
6610 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6611
6612 * function.c (record_insns, contains): Always declare and define.
6613 (record_insns): Mark with ATTRIBUTE_UNUSED.
6614
6615 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
6616
6617 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
6618 to .section when outputting a .bss section to deal with multiple
6619 .bss input sections (as happens with -fdata-sections)
6620 Also output %progbits, not @progbits so the assembler doesn't treat as
6621 a comment.
6622 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
6623
6624 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
6625 thumb parts even when building with non-thumb CPUs, by forcing
6626 thumb mode.
6627
6628 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
6629
6630 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
6631 (movdf_const_intreg_sp64): Similarly.
6632
6633 * local-alloc.c (update_equiv_regs): Check the correct insn
6634 for pre-existing REG_EQUIV notes.
6635
6636 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
6637
6638 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
6639 block reached by a branch if we're not going to actually process
6640 this block.
6641
6642 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
6643
6644 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
6645 a local extern function declaration.
6646
6647 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
6648
6649 * i386.c (ix86_expand_prologue): Properly wrap USE around
6650 reg for CALL_INSN_FUNCTION_USAGE.
6651
6652 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
6653
6654 * config/mips/mips.md (movdf_internal1a): Allow floating-point
6655 move between GP_REGs.
6656
6657 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
6658
6659 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
6660 the mode size when finding out if an offset is legal.
6661
6662 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
6663
6664 * basic-block.h (PROP_*): Move constants from ...
6665 * flow.c: ... here.
6666 (compute_bb_for_insn): Free the array before reallocating.
6667 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
6668 (allocate_reg_life_data): Reset all reg variables collected by
6669 propagate_block.
6670 (get_block_head_tail): Don't convert from bb to block.
6671 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
6672 (find_insn_reg_weight): Take block not bb.
6673 (schedule_block): Don't set block num for moved insns.
6674 (schedule_region): Don't update_life_info or find_insn_reg_weight.
6675 (schedule_insns): Do it here instead.
6676 * combine.c (combine_instructions): Invoke compute_bb_for_insn
6677 before update_life_info.
6678 * recog.c (split_all_insns, peephole2_optimize): Update for
6679 new arg to update_life_info.
6680 * rtlanal.c (remove_note): Cope with NULL note.
6681 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
6682 if we did sched1.
6683
6684 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
6685
6686 * jump.c (jump_optimize_1): More accurately detect casesi insns.
6687
6688 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
6689 block records so that merge_blocks_nomove will clean up correctly.
6690 (split_edge): Handle casesi insns.
6691
6692 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
6693
6694 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
6695
6696 * pa.md (call, call_value): Do not emit a blockage after restoring
6697 the PIC register.
6698
6699 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
6700
6701 * c-typeck.c (c_expand_asm_operands): Fix typo.
6702
6703 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6704
6705 * arm.c (fpu_rhs_operand): Verify modes.
6706 (fpu_add_operand): Likewise.
6707 (di_operand): Likewise.
6708 (soft_df_operand): Likewise.
6709
6710 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
6711
6712 * arm.c (arm_return_in_memory): APCS rules state that the elements
6713 of a structure returned in a register must be 'integer-like'.
6714
6715 1999-10-19 Bruce Korb <autogen@linuxbox.com>
6716
6717 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
6718 in the source tree when the generated targets are out of date
6719 * fixinc/genfixes: Alter it to run individual fixes for make.
6720 * fixinc/README: rewrite
6721 * fixinc/inclhack.def: moved initial comments to README
6722
6723 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
6724
6725 * toplev.c (main): Do not generate an error message if an
6726 unrecognised command line switch is recognisable by another
6727 language. If extra_warnings are enabled, then generate a
6728 warning message instead.
6729
6730 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
6731
6732 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
6733 (insert_pack_attributes): Delete prototype.
6734
6735 * c-pragma.c (default_alignment): New static variable.
6736 (push_alignment): Initialize to current effective alignment.
6737 (pop_alignment): Use to set new alignment.
6738 (insert_pack_attributes): Delete function.
6739 (handle_pragma_token): Set default_alignment as well each time
6740 a #pragma pack(<n>) is encountered.
6741
6742 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
6743
6744 * reg-stack.c (stack_result): Aggregates are not returned in
6745 stack registers.
6746
6747 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6748
6749 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
6750
6751 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
6752
6753 * basic-block.h (set_block_num): Declare.
6754 * flow.c (update_life_info): Don't call compute_bb_for_insn
6755 or free_basic_block_vars.
6756 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
6757 (insn_orig_block): Remove.
6758 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
6759 (schedule_block): Keep BLOCK_NUM up-to-date.
6760 (schedule_insns): Use compute_bb_for_insn.
6761 * recog.c (split_all_insns): Likewise.
6762 (peephole2_optimize): Likewise.
6763
6764 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
6765
6766 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
6767 if the pic register is used.
6768
6769 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6770
6771 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
6772 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
6773 if that tests TREE_PERMANENT.
6774
6775 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
6776
6777 * cse.c (invalidate_for_call): Do not remove memory references from
6778 the table here. It's handled elsewhere.
6779
6780 * haifa-sched.c (add_dependence): Protect references to the
6781 true dependency cache with #ifdef INSN_SCHEDULING.
6782 (remove_dependence): Similarly.
6783
6784 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
6785 to the cfg code that this is a return instruction.
6786 * mn10300.md (return_internal): Similarly.
6787
6788 * combine.c (get_last_value): If the last set of a register
6789 is after subst_low_cuid, then we can not use it to determine
6790 the register's last value.
6791
6792 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6793
6794 * Makefile.in: Back out previous change.
6795
6796 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
6797
6798 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
6799
6800 * haifa-sched.c (add_dependence): Only check/update the cache
6801 if it exists.
6802 (remove_dependence): Likewise.
6803 (schedule_insns): Only create the true_dependency_cache if the
6804 average number of instructions in a basic block is very large.
6805
6806 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
6807
6808 * Makefile.in (ggc-common.o): Depend on genrtl.h.
6809 (ggc-simple.o): Likewise.
6810 (ggc-page.o): Likewise.
6811
6812 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
6813
6814 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
6815 Prototype for exported functions.
6816 (pre_lcm, pre_rev_lcm): Remove prototypes.
6817 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
6818 (compute_available): Move to lcm.c, and change parameter order.
6819 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
6820 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
6821 (gcse_main): No longer call compute_preds_succs. Rebuild the
6822 set table after reach pre pass.
6823 (pre_insert_map, pre_delete_map, edge_list): New.
6824 (alloc_pre_mem): Allocate edge vectors.
6825 (free_pre_mem): Delete edge vectors.
6826 (compute_pre_data): Call new edge based lcm routines.
6827 (process_insert_insn): New function.
6828 (insert_insn_end_bb): Use it.
6829 (pre_edge_insert): New function.
6830 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
6831 needed.
6832 (pre_insert_copies): Revamp using new edge based lcm outputs.
6833 (pre_delete): Likewise.
6834 (one_pre_gcse_pass): Insert & remove fake edges to the exit
6835 block.
6836 (compute_code_hoist_vbeinout): New new edge based routines.
6837 * lcm.c: Remove all the old LCM functions. Replace with new ones
6838 that work with the new cfg datastructures and work with edges
6839 instead of blocks.
6840
6841 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6842
6843 * reload.h (struct reload): Add new fields "mode" and "nregs".
6844 * reload1.c: Change all occurrences of reload_mode and reload_nregs
6845 to reference the "mode" and "nregs" field within struct reload.
6846
6847 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
6848
6849 * haifa-sched.c (true_dependency_cache): New.
6850 (add_dependence): Use the true dependency cache to avoid expensive
6851 walks down the LOG_LINKS dependency list. Add entries to the
6852 cache as necessary.
6853 (remove_dependence): Remove entries from the true dependency cache
6854 as needed.
6855 (schedule_insns): Allocate and initialize and free the true
6856 dependency cache.
6857
6858 * haifa-sched.c (schedule_insns): Do not remove inter-block
6859 dependencies anymore.
6860
6861 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
6862
6863 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
6864 * i386/t-winnt: Likewise.
6865
6866 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
6867
6868 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
6869
6870 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
6871
6872 * Makefile.in (LANGUAGES): Omit "proto".
6873 (clean): Remove stale comment about removing unprotoize.c.
6874
6875 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6876
6877 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
6878 using arithmetic on void pointers.
6879
6880 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
6881
6882 * haifa-sched.c (compute_block_forward_dependencies): Only check
6883 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
6884
6885 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
6886
6887 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
6888 (expr_equiv_p): Reject memories with different alias sets.
6889
6890 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
6891
6892 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
6893 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
6894 (f_options): Add "bounded-pointers" and "bounds-check" entries.
6895 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
6896 (lang_init): Set default for flag_bounds_check if still "unspecified".
6897
6898 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6899
6900 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
6901
6902 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6903
6904 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
6905 instructions.
6906
6907 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6908
6909 * config/c4x/c4x.md (*db_noclobber,
6910 *decrement_and_branch_until_zero_noclobber): New patterns and
6911 associated splitters.
6912
6913 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6914
6915 * config/c4x/c4x.md (parallel instruction patterns): Rework
6916 constraints to keep reload happy.
6917
6918 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6919
6920 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
6921 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
6922 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
6923 Add new patterns and associated post-reload splitters.
6924
6925 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6926
6927 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
6928
6929 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6930
6931 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
6932 if appropriate.
6933 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
6934
6935 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6936
6937 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
6938 memory mode.
6939
6940 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
6941
6942 * pa.c (move_operand): Rely on memory_address_p to determine the
6943 validity of non-indexed memory addresses.
6944 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
6945 operand in DFmode and SFmode when generating PA2.0 code.
6946
6947 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
6948
6949 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
6950
6951 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
6952
6953 * mips.c (function_prologue): Fix argument types.
6954 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
6955 (casesi_internal): Write to the scratch register.
6956
6957 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
6958
6959 * cppexp.c (cpp_parse_escape): Make static. Change second arg
6960 to U_CHAR **.
6961 (parse_charconst): Delete unnecessary cast when calling
6962 cpp_parse_escape.
6963 (cpplib.h): Kill prototype of cpp_parse_escape.
6964
6965 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
6966
6967 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
6968 * unroll.c (unroll_loop): Cast return value of alloca.
6969 * i370/i370.c: Include function.h and toplev.h.
6970 (i370_label_scan): Remove c++ commented abort.
6971 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
6972 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
6973 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
6974 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
6975
6976 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
6977
6978 * config/t-freebsd: Do not override USER_H.
6979 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
6980
6981 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
6982 Mumit Khan <khan@xraylith.wisc.edu>
6983
6984 * c-parse.in (component_decl): Support anonymous struct/union.
6985 (%expect): Update.
6986 * c-parse.y: Regenerate.
6987 * c-parse.c: Likewise.
6988 * objc/objc-parse.y: Likewise.
6989 * objc/objc-parse.c: Likewise.
6990 * c-decl.c (finish_struct): Don't sort the fields.
6991 (field_decl_cmp): Delete unused function.
6992
6993 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
6994
6995 * sparc.md (movsf_const_intreg): Revert last constraint change.
6996 (movdf_const_intreg_sp32): Likewise.
6997
6998 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
6999
7000 * cse.c: Include hashtab.h instead of splay-tree.h
7001 (struct cse_reg_info): No longer use variant union. Add new
7002 field "regno". All references changed to avoid union.
7003 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
7004 (free_cse_reg_info): Remove.
7005 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
7006 (get_cse_reg_info): Revamp to use expandable hash tables instead
7007 of splay trees. Initialize new fields in cse_reg_info structure.
7008 (new_basic_block): Similarly.
7009
7010 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
7011
7012 * genrecog.c (message_with_line): Prototype.
7013 (validate_pattern): Pass along the set for the dest, not a flag.
7014 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
7015 Check for PC/CC0 as sources.
7016 (nodes_identical): Check for children position match before
7017 allowing the combination.
7018
7019 * rtl.c (read_rtx): Track line number across \\\n.
7020
7021 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
7022
7023 * mips.h (SPECIAL_MODE_PREDICATES): New.
7024 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
7025 (movdi+1, movsi+1): Add output reload constraint.
7026 (casesi_internal): Likewise. Fix commentary.
7027 (return_internal): Use pmode_register_operand.
7028
7029 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
7030
7031 * 1750a.md (movstrqi): Add missing output reload constraint.
7032 (call_value): Likewise.
7033 * a29k.md (cpxxx patterns): Add missing match_operator mode.
7034 (jmpfdec): Add missing inout reload constraint.
7035 * elxsi.md (addsi patterns): Add missing output reload constraint.
7036 (move from sp): Use @ alternates.
7037 (call_value): No constraint on output.
7038 * fr30.md (movsi_pop): Add missing output reload constraint.
7039 (movsf_constant_store): Likewise.
7040 (splits): Remove constraints.
7041 (subsi3): Add missing mode.
7042 * i370.md (cmpstrsi+1): Add missing output reload constraint.
7043 (call_value): Likewise.
7044 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
7045 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
7046 * m32r.md (movsicc_internal): Add output reload constraint.
7047 (movstrsi_internal): Add inout reload constraints.
7048 * m88k.h (reg_names): Don't declare.
7049 (SPECIAL_MODE_PREDICATES): New.
7050 * m88k.md (*): Use register_operand not reg_or_0_operand
7051 on destinations.
7052 * mn10200.h (PREDICATE_CODES): New.
7053 * ns32k.md (ffs pattern): Add output reload constraint.
7054 * pdp11.md (sob pattern): Add inout reload constraint.
7055 * sh.md (splits): Remove constraints.
7056 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
7057 * v850.md (pattern_is_ok_for_epilogue): Likewise.
7058 * vax.md (jgequ pattern): Add inout reload constraint.
7059
7060 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
7061
7062 * configure.in (djgpp): Revert previous patch.
7063 * configure: Rebuit.
7064 * config/i386/djgpp.h: Revert previous patch.
7065
7066 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
7067
7068 * fixinc/inclhack.def: Restore patch lost during last merge of
7069 "no_bogosity" branch.
7070 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
7071
7072 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
7073
7074 * fixincludes: Add a HPUX 11 fix for inttypes.h.
7075 * fixinc/inclhack.def: Same.
7076 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
7077
7078 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
7079
7080 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
7081 as the base of a PLUS.
7082
7083 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7084
7085 * config/c4x/c4x.md: Define mode for remaining unspec operators.
7086 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
7087
7088 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
7089
7090 * pa.md (post_stw+1): Use pmode_register_operand.
7091 (dcacheflush, icacheflush): Likewise.
7092
7093 * i386.md (movstricthi_1): Allow r/r.
7094
7095 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
7096
7097 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
7098 to (not (and (arg0) (arg1))). Similary for and.
7099
7100 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
7101 fallthrough to associate code.
7102 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
7103 bits in common.
7104
7105 * combine.c (simplify_logical): Convert XOR to IOR if operands have
7106 no bits in common; remove XOR to ROTATE conversion.
7107
7108 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7109
7110 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
7111
7112 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7113
7114 * config/c4x/c4x.c (dst_operand): New.
7115 (PREDICATE_CODES): Update.
7116 * config/c4x/c4x.h (dst_operand): Declare it.
7117 * config/c4x/c4x.md: Define mode for each unspec usage.
7118 (move patterns): Use dst_operand predicate instead of src_operand.
7119 (movqi_update, movqf_update): Delete.
7120
7121 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
7122
7123 * recog.c (pmode_register_operand): New.
7124 * recog.h: Declare it.
7125 * genrecog.c (pred_codes): Likewise.
7126 (special_mode_pred_table): Likewise.
7127 (validate_pattern): Don't warn no mode for address_operand.
7128
7129 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
7130 if the operand is not insn-like.
7131
7132 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
7133 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
7134
7135 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
7136
7137 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
7138
7139 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
7140 instead of general_operand in a SET_DEST. Use const_double_operand
7141 instead of an explicit test against CONST_DOUBLE.
7142 (movsf_const_lo): Add missing register mode.
7143 (goto_handler_and_restore): Add auxiliary test for Pmode.
7144 (flush): Adjust to use address_operand.
7145 (return_sf_no_fpu): Add missing output constraint.
7146
7147 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
7148
7149 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
7150 for call return value.
7151 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
7152
7153 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
7154
7155 * toplev.c (main): Only warn about options for other languages.
7156 * collect2.c (main): Pass -w to sub-gcc.
7157
7158 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
7159
7160 * flow.c (propagate_block): Add call-clobbered registers to
7161 significant too.
7162
7163 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
7164 zapping mem_set_list.
7165 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
7166 (mark_set_1, mark_used_regs): Likewise.
7167
7168 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
7169
7170 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
7171
7172 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7173
7174 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
7175 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
7176 options. Also add a new item "C-only Warning Options" to the
7177 option summary.
7178
7179 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
7180
7181 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
7182 from multiple calls.
7183
7184 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
7185
7186 * i386.md (call value patterns): Move to the end of the file.
7187 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
7188
7189 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
7190
7191 * configure.in (djgpp configuration): Define extra_objects..
7192 * configure: Rebuilt.
7193 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
7194 (DTORS_SECTION_ASM_OP): Define.
7195 (INIT_SECTION_ASM_OP): Define.
7196 (FINI_SECTION_ASM_OP): Define.
7197 (DATA_SECTION_ASM_OP): Define.
7198 (TEXT_SECTION_ASM_OP): Define.
7199 (EH_FRAME_SECTION_ASM_OP): Define.
7200 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
7201 (STARTFILE_SPEC): Add crtbegin.o.
7202 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
7203 to here from LINK_COMMAND_SPEC.
7204 (DO_GLOBAL_CTORS_BODY): Define.
7205 (CRTSTUFF_USE_FINI_SECTION): Define
7206 (HAS_INIT_SECTION): Delete.
7207
7208 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
7209
7210 * Makefile.in (all.cross): Depend on xcpp$(exeext).
7211
7212 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
7213
7214 * pa.h (PREDICATE_CODES): New.
7215
7216 * genrecog.c (validate_pattern): Condense the destination
7217 non-lvalue message.
7218
7219 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
7220
7221 * alpha.md (call-1): Supply missing mode for operator.
7222 (*): Add missing output reload constraints. Remove constraints
7223 from define_splits.
7224
7225 * i386.h (SPECIAL_MODE_PREDICATES): New.
7226 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
7227 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
7228 (addsi_lea_3): Add missing mode for op 3.
7229 (prologue_set_got, prologue_get_pc): Add missing modes.
7230 (*) Add missing output reload constraints.
7231
7232 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
7233
7234 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
7235 check for member bit-size overflow and use var_size if it occurs.
7236 (layout_record): Use bitsize_int() to define the type size in bits.
7237 Likewise for computation and assignment to DECL_FIELD_BITPOS.
7238 (layout_decl): Likewise when assigning to DECL_SIZE.
7239
7240 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
7241
7242 * genrecog.c (validate_pattern): Typo last change. Verify
7243 that output operands have output reloads.
7244
7245 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
7246
7247 * genrecog.c (special_mode_pred_table): New.
7248 (NUM_SPECIAL_MODE_PREDS): New.
7249 (find_operand): New.
7250 (validate_pattern): New argument `insn'. Warn for assignment to
7251 any predicate accepting non-lvalues. Conditionaly warn for
7252 match_operand without a mode. Try much harder to match source
7253 and destination modes on a set.
7254 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
7255
7256 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
7257
7258 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
7259
7260 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
7261
7262 * combine.c (simplify_logical): Recognize xor pattern that encodes
7263 rotation.
7264
7265 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7266
7267 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
7268 alignment.
7269
7270 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
7271
7272 * ggc-page.c (MAP_FAILED): Provide default.
7273
7274 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
7275
7276 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
7277 * sparc.h (PREDICATE_CODES): Update.
7278
7279 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
7280
7281 * alpha.c (some_ni_operand): New.
7282 * alpha-protos.h: Declare it.
7283 * alpha.h (PREDICATE_CODES): Update.
7284 * alpha.md (sXaddq reload insns): Use some_ni_operand
7285 for SET_DEST instead of some_operand.
7286
7287 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
7288 Jim Wilson <wilson@cygnus.com>
7289
7290 * genrecog.c (maybe_both_true_2): Don't compare modes of
7291 two DT_pred tests.
7292 (process_tree): Elide peephole2_insns. Invoke simplify_tests
7293 after find_afterward.
7294 (debug_decision_1): Dump next and afterward codes.
7295
7296 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
7297
7298 * rtl.c (dump_and_abort): Remove.
7299 (fatal_with_file_and_line): New.
7300 (fatal_expected_char): New.
7301 (read_rtx_lineno, read_rtx_filename): New.
7302 (read_skip_spaces): Track line number.
7303 (read_name): Use fatal_with_file_and_line.
7304 (read_rtx): Use fatal_expected_char. Track line number.
7305 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
7306
7307 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
7308 if it isn't a CODE_LABEL.
7309
7310 * genattr.c (main): Set read_rtx_filename.
7311 * genattrtab.c (main): Likewise.
7312 * gencodes.c (main): Likewise.
7313 * genconfig.c (main): Likewise.
7314 * genemit.c (main): Likewise.
7315 * genextract.c (main): Likewise.
7316 * genflags.c (main): Likewise.
7317 * genopinit.c (main): Likewise.
7318 * genoutput.c (main): Likewise.
7319 * genpeep.c (main): Likewise.
7320
7321 * genrecog.c (decision_test.u.insn): Add `lineno'.
7322 (pattern_lineno, error_count): New variables.
7323 (message_with_line): New.
7324 (add_to_sequence): Break out checking code to ...
7325 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
7326 (merge_insn): Use message_with_line.
7327 (make_insn_sequence): Use validate_pattern. Record insn lineno.
7328 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
7329
7330 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7331
7332 * expr.c (store_constructor): Clear union if constructor is empty.
7333
7334 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
7335
7336 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
7337 Add !endian checks. Change %{...} to %(...).
7338
7339 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
7340
7341 * i386.md (*addsi3_cc): Renamed from addcsi3.
7342 (*addsi3_carry): Renamed from addxsi3.
7343 (*subsi3_cc): Renamed from subcsi3.
7344 (*subsi3_carry): Renamed from subxsi3.
7345 (*xorqi_cc_1): Renamed from xorcqi_1.
7346 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
7347 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
7348
7349 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
7350
7351 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
7352 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
7353
7354 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
7355
7356 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
7357 climb up the chain of insns.
7358
7359 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
7360
7361 * genrecog.c (write_subroutine): Careful for null trees.
7362 (process_tree): Don't elide empty functions.
7363
7364 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
7365
7366 * Makefile.in (genrtl.o): Depend on ggc.h.
7367 * configure.in (valloc): Probe for it.
7368 (with-gc): Use ggc-page if valloc present.
7369 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
7370 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
7371 (ggc_alloc_string): Moved from ggc-page.c.
7372 * ggc-none.c (ggc_alloc_obj): New.
7373 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
7374 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
7375 (struct globals): Likewise for dev_zero_fd.
7376 (init_ggc): Likewise for it's initialization.
7377 (ggc_allocated_p): Move careful dereference from ...
7378 (ggc_lookup_page_table): ... here. Delete.
7379 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
7380 (alloc_anon): Use valloc if no mmap.
7381 (release_pages): Use free if using valloc.
7382 (ggc_alloc_obj): Renamed from alloc_obj.
7383 (ggc_set_mark): Renamed from mark_obj.
7384 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
7385 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
7386 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
7387 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
7388 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
7389 (ggc_collect): Use fp printing instead of our own rounding.
7390 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
7391 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
7392 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
7393 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
7394 (struct ggc_string, struct ggc_any): Delete.
7395 (offsetof): Provide default definition.
7396 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
7397 (PTR_KEY): New.
7398 (struct ggc_mem): New, from corpse of ggc_any.
7399 (struct ggc_status): Delete.
7400 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
7401 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
7402 (n_strings_collected, n_anys_collected): Delete.
7403 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
7404 (ggc_alloc_string, ggc_alloc): Delete.
7405 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
7406 (ggc_free_string, ggc_free_any): Delete.
7407 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
7408 (ggc_compare_addresses, ggc_mark_string): Delete.
7409 (ggc_mark_string_if_gcable, ggc_mark): Delete.
7410 (search_data): Delete.
7411 (struct globals): New.
7412 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
7413 (tree_insert, tree_lookup): New.
7414 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
7415 (clear_marks, sweep_objs): New.
7416 (ggc_collect): Gut. Use clear_marks, sweep_objs.
7417 (init_ggc): Set allocated_last_gc.
7418 (ggc_push_context): Gut. Use G.context.
7419 (ggc_pop_context): Likewise.
7420 (ggc_pop_context_1): New.
7421 (debug_ggc_tree): New.
7422 (debug_ggc_balance, tally_leaves): New.
7423 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
7424 (ggc_mark_string_if_gcable): Remove decl.
7425 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
7426 (ggc_mark_rtvec_children): New.
7427 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
7428 (ggc_mark_if_gcable): New decl.
7429 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
7430 (ggc_alloc_tree, ggc_alloc): Likewise.
7431 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
7432 (ggc_alloc_obj): New decl.
7433 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
7434 (ggc_alloc_tree, ggc_alloc): Likewise.
7435 (ggc_set_mark): New decl.
7436 * rtl.h (struct rtx_def): Remove gc_mark.
7437 (struct rtvec_def): Likewise.
7438 * tree.h (struct tree_common): Likewise.
7439
7440 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
7441
7442 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
7443 float_format and thread_file definitions.
7444 * configure: Rebuilt.
7445
7446 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
7447
7448 * extend.texi (Function Names): Document types of function names.
7449
7450 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7451
7452 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7453 an earlyclobbered output conflict with RELOAD_INPUT reloads.
7454
7455 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7456
7457 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
7458
7459 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7460
7461 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
7462
7463 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
7464
7465 * collect2.c (main): Do prelimnary link on AIX if rflag.
7466
7467 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7468
7469 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
7470 __CTOR_LIST__ in opposite order, which is the correct order for sorted
7471 constructors.
7472 (__do_global_dtors): similarly for __DTOR_LIST__.
7473
7474 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7475 Diego Novillo <dnovillo@cygnus.com>
7476
7477 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
7478 FPUL_REGS.
7479
7480 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
7481
7482 * fixincl/*: Merged "no_bogosity" branch
7483 * fixincl/fixlib.h: protect against doubly defining t_bool
7484 * fixincl/server.h: protect against doubly defining t_bool
7485
7486 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
7487
7488 * genoutput.c: Include toplev.h.
7489
7490 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
7491
7492 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7493 Undef.
7494 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
7495 * configure: Regenerate.
7496
7497 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
7498
7499 * gcse.c (delete_null_pointer_checks): Returns void.
7500
7501 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7502
7503 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
7504 * emit-rtl.c (copy_insn_1): Likewise.
7505
7506 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
7507
7508 * config/mips/mips.c (mips_build_va_list): Correct
7509 TREE_CHAIN setting when hard-float.
7510 (mips_va_start): Use corrected setting.
7511 (mips_va_arg): Likewise. Also pass a tree to build of
7512 POSTINCREMENT_EXPR rather than a naked 'int'.
7513
7514 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
7515
7516 * ggc.h (ggc_push_context): Fix comment.
7517 (ggc_pop_context): Likewise.
7518 (mark_string_if_gcable): Likewise.
7519 * ggc-common.c (ggc_mark_rtx_children): Use
7520 ggc_mark_string_if_gcable.
7521 * ggc-page.c (ggc_lookup_page_table): New function.
7522 (ggc_allocated_p): Likewise.
7523 (mark_obj): Fix formatting.
7524 (ggc_mark_string_if_gcable): New function.
7525 * ggc-simple.c (ggc_allocated_strings): New variable.
7526 (ggc_strings_used): Likewise.
7527 (ggc_compare_addresses): New function.
7528 (ggc_pop_context): Pop the `any' memory too.
7529 (ggc_mark_string_if_gcable): New function.
7530 (ggc_collect): Initialize and tear down ggc_allocated_strings.
7531
7532 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
7533
7534 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
7535 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
7536 * rs6000.c (expand_block_move): Match movstrsi_?reg register
7537 changes.
7538
7539 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
7540
7541 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
7542 (sched_reg_live_length, sched_reg_basic_block): Delete.
7543 (current_block_num, bb_live_regs, old_live_regs): Delete.
7544 (dead_notes, struct sometimes): Delete.
7545 (sched_note_set, birthing_insn_p): Delete.
7546 (adjust_priority): Gut useless reg lifetime code.
7547 (create_reg_dead_note, attach_deaths): Delete.
7548 (attach_deaths_insn, new_sometimes_live): Delete.
7549 (finish_sometimes_live): Delete.
7550 (find_pre_sched_live, find_post_sched_live): Delete.
7551 (update_reg_usage): Delete.
7552 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
7553 (schedule_insns): Delete reg lifetime code.
7554 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
7555 (unlink_other_notes): Adjust REG_NOTE commentary.
7556 (reemit_notes): Use REG_SAVE_NOTE.
7557 (schedule_block): Likewise.
7558 (schedule_region): Allocate bitmap of blocks in region. Use
7559 count_or_remove_death_notes. Use update_life_info.
7560
7561 * rtl.h (REG_SAVE_NOTE): New.
7562 * rtl.c (reg_note_name): Update.
7563
7564 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
7565
7566 * combine.c (refresh_blocks, need_refresh): New.
7567 (combine_instructions): Allocate refresh_blocks. Invoke
7568 update_life_info if needed.
7569 (distribute_notes): Mark refresh_blocks instead of installing
7570 USE insns.
7571 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
7572 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
7573
7574 * Makefile.in (recog.o): Depend on basic-block.h.
7575
7576 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
7577
7578 * genrecog.c (add_to_sequence): Thinko last change: delete
7579 shadowing allow_const_int variable.
7580
7581 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7582
7583 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
7584 __GNUC__ and __GNUC_MINOR__.
7585
7586 * gansidecl.h: Likewise.
7587
7588 * rtl.c: Likewise.
7589
7590 * rtl.h: Likewise.
7591
7592 * toplev.h: Likewise.
7593
7594 * tree.c: Likewise.
7595
7596 * tree.h: Likewise.
7597
7598 * varray.c: Likewise.
7599
7600 * varray.h: Likewise.
7601
7602 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7603
7604 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
7605 use one before a jump table.
7606
7607 * rtl.def (ADDRESS): Change documentation to match reality.
7608 * md.texi: Don't document it.
7609 * gmicro.md (load address pattern): Use 'p' constraint, delete use
7610 of ADDRESS rtx.
7611
7612 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
7613
7614 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
7615
7616 * genrecog.c (add_to_sequence): Move allow_const_int test outside
7617 known predicate block; default allow_const_int true.
7618 (debug_decision_list): New.
7619
7620 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
7621
7622 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
7623
7624 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
7625
7626 * gcse.c (gcse_main): Avoid global optimizations if we have a
7627 large number of basic blocks and the ratio of edges to blocks
7628 is high.
7629 (delete_null_pointer_checks): Likewise.
7630
7631 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
7632
7633 * c-common.c (check_format_info): Warn if format string isn't a
7634 string literal.
7635
7636 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7637
7638 * configure.in (arm*-*-*): Don't let autoconf remove brackets
7639 * configure: regenerate
7640
7641 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
7642
7643 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
7644 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
7645 (peepholes): Re-enable.
7646
7647 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
7648
7649 * Makefile.in (flow.o): Depend on TREE_H.
7650 * basic-block.h (REG_SET_EQUAL_P): New.
7651 (XOR_REG_SET): New.
7652 (n_edges): Declare.
7653 (free_regset_vector): Remove declaration.
7654 (flow_delete_insn_chain): Declare.
7655 (enum update_life_extent): New.
7656 (update_life_info, count_or_remove_death_notes): Declare.
7657 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
7658 Verify register live at bb->global_live_at_start before adding USE.
7659 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
7660 (CLEAN_ALLOCA): New.
7661 (n_edges): New.
7662 (PROP_*): New flags.
7663 (find_basic_blocks_1): Use alloc_EXPR_LIST.
7664 (clear_edges): Zero n_edges.
7665 (make_edge): Increment n_edges.
7666 (split_edge): Don't allocate bb->local_set. Increment n_edges.
7667 (flow_delete_insn_chain): Export.
7668 (delete_block): Decrement n_edges.
7669 (merge_blocks_nomove): Likewise.
7670 (life_analysis): Give life_analysis_1 PROP flags.
7671 (verify_wide_reg_1, verify_wide_reg): New.
7672 (verify_local_live_at_start): New.
7673 (update_life_info): Rewrite to call into propogate_block.
7674 (mark_reg): New.
7675 (mark_regs_live_at_end): After reload, if epilogue as rtl,
7676 always mark stack pointer. Conditionally mark PIC register.
7677 After reload, mark call-saved registers, return regsiters.
7678 (life_analysis_1): Accept PROP flags not remove_dead_code.
7679 Call mark_regs_live_at_end before zeroing regs_ever_live.
7680 Use calculate_global_regs_live. Copy global_live_at_end before
7681 calling final propagate_block. Zero reg_next_use on exit.
7682 (calculate_global_regs_live): New.
7683 (allocate_bb_life_data): Don't allocate bb->local_set.
7684 (init_regset_vector, free_regset_vector): Remove.
7685 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
7686 Test flags before every operation. Warn if prologue/epilogue insn
7687 would have been deleted.
7688 (mark_set_regs, mark_set_1): Accept and use FLAGS.
7689 Use alloc_EXPR_LIST.
7690 (mark_used_regs): Accept and use FLAGS, not FINAL.
7691 Remove special handling for RETURN.
7692 (try_pre_increment): Use alloc_EXPR_LIST.
7693 (dump_flow_info): Dump n_edges.
7694 (unlink_insn_chain, split_hard_reg_notes): Remove.
7695 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
7696 (find_insn_with_note, new_insn_dead_notes): Remove.
7697 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
7698 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
7699 (replace_insns): Remove.
7700 (count_or_remove_death_notes): New.
7701 (verify_flow_info): Abort on error after all checks.
7702 (remove_edge): Decrement n_edges.
7703 (remove_fake_edges): Tweek format.
7704 * haifa-sched.c (schedule_insns): Use split_all_insns.
7705 * output.h (update_life_info): Remove declaration.
7706 * recog.c (split_all_insns): From the corpse of split_block_insns,
7707 do the whole function block by block. Use update_life_info.
7708 (recog_last_allowed_insn): New.
7709 (recog_next_insn): Mind it.
7710 (peephole2_optimize): Set it. Walk backwards through blocks.
7711 Use update_life_info.
7712 * rtl.h (update_flow_info, replace_insns): Remove declarations.
7713 (split_all_insns): Declare.
7714 * toplev.c (rest_of_compilation): Thread prologue before flow2.
7715 Use split_all_insns.
7716
7717 * i386.md (or -1 peep2s): Disable.
7718
7719 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
7720
7721 * config/mips/mips.md (movstrsi+[123]) : Combine these into
7722 a single pattern. Scrap the 'd' versions as unnecessary.
7723
7724 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
7725 tablejump_mips162,tablejump_internal4): The operands to a
7726 label_ref must be VOIDmode.
7727
7728 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7729
7730 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
7731
7732 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7733
7734 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
7735
7736 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
7737
7738 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
7739 cache every function if ggc_p.
7740
7741 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7742
7743 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
7744 instead of copy_rtx. Accept sequences that contain asm statements.
7745 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
7746 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
7747 orig_asm_operands_vector, copy_asm_operands_vector,
7748 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
7749 variables.
7750 * rtl.h (copy_insn, copy_insn_1): Declare.
7751
7752 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7753
7754 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
7755
7756 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
7757 arguments to `current_file_function_operand'.
7758
7759 * genrecog.c: Include hard-reg-set.h and resource.h in the
7760 generated output file.
7761
7762 * real.c: Include tm_p.h.
7763
7764 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7765
7766 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
7767 output operand.
7768
7769 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
7770
7771 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
7772 before the fctiwz insn.
7773
7774 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7775 Mark Mitchell <mark@codesourcery.com>
7776
7777 * tree.c (make_lang_type_fn): New funtion pointer.
7778 (make_lang_type): Call it.
7779 * tree.h (make_lang_type): Declare.
7780 (make_lang_type_fn): Likewise.
7781 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
7782
7783 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
7784
7785 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
7786 make sure that HIGH instructions are copied into BASE_REGS.
7787
7788 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
7789
7790 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
7791
7792 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
7793
7794 * c-decl.c (finish_struct): Use simpler method of
7795 removing elements of a singly-linked list.
7796
7797 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
7798
7799 * alpha.md (peephole2's): Comment out peephole2's that generate
7800 buggy code.
7801
7802 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
7803
7804 * genrecog.c (add_to_sequence): Disable mode check for
7805 wildcard matches.
7806
7807 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7808
7809 * ggc-simple.c (init_ggc): Set empty_string.
7810
7811 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
7812
7813 * configure.in: Detect mmap. Add --with-gc=foo to select
7814 garbage collector; default to page if mmap available.
7815 * Makefile.in (GGC): Substitute.
7816
7817 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
7818
7819 * c-decl.c (ggc_p): Enable.
7820
7821 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7822
7823 * flow.c (verify_flow_info): Make it extern & unconditionally define.
7824
7825 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
7826
7827 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
7828 string for little-endian-data.
7829
7830 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
7831
7832 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
7833 case somebody tries to compile --enable-checking code with gcc
7834 1.34 or such.
7835
7836 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
7837
7838 * genrecog.c (add_to_sequence): Verify operand to label_ref is
7839 VOIDmode.
7840
7841 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
7842
7843 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
7844 * jump.c (jump_optimize_1): Document why.
7845
7846 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7847
7848 * collect2.c (scan_prog_file, scan_libraries): Prototype function
7849 pointers and casts for `int_handler' and `quit_handler'.
7850
7851 * flow.c (verify_flow_info, split_hard_reg_notes,
7852 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
7853 remove_edge, remove_fake_successors): Add static prototypes.
7854 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
7855 (mark_set_1): Initialize variable `regno'.
7856 (unlink_insn_chain): Likewise for variable `curr'.
7857 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
7858
7859 * loop.c (strength_reduce): Initialize variable
7860 `unrolled_insn_copies'.
7861 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
7862 prototypes. Change these functions to take const PTR parameters
7863 to avoid prototype conflict when used as the comparson argument
7864 for qsort.
7865 (check_dbra_loop): Initialize variable `comparison_val'.
7866
7867 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
7868 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
7869 (find_valid_class): Initialize variable `best_class'.
7870 (find_reloads): Call memcpy, not bcopy.
7871
7872 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
7873 (hard_reg_use_compare): Don't needlessly cast away const.
7874 (reload_reg_class_lower): Likewise.
7875 (choose_reload_regs): Initialize variable `regno'.
7876
7877 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
7878
7879 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
7880
7881 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
7882
7883 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
7884 ({,d}discard): Add forward declarations. Declare parameter as
7885 unused.
7886 (main_without_main): Explicitly declare return type to be int.
7887 (memcpy): Properly declare.
7888
7889 * libgcc2.c (toplevel): If inhibit_libc is defined and not
7890 building the trampoline support, declare malloc, free, and
7891 atexit.
7892 (__clear_cache): Mark arguments as potentially unused.
7893
7894 * frame.c (toplevel): If inhibit_libc is defined, declare
7895 malloc and free.
7896
7897 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
7898
7899 * flow.c (make_edge): Accept an optional 2D bitmap in which
7900 to cache edge existence. Update all callers.
7901 (make_label_edge, make_eh_edge): Pass through the edge cache.
7902 (make_edges): Provide the cache.
7903
7904 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7905
7906 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
7907 a char*.
7908 (local_mbtowc): Change the type of variable `i' from int to size_t.
7909
7910 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
7911 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
7912
7913 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
7914
7915 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
7916 after other includes that define the appropriate types. Include
7917 tm_p.h for getting user prototypes.
7918 * ggc-callbacks.c (toplevel): Ditto.
7919 * ggc-none.c (toplevel): Ditto.
7920 * gcc-page.c (toplevel): Ditto.
7921 * ggc-simple.c (toplevel): Ditto.
7922
7923 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
7924 Jonathan Larmour <jlarmour@cygnus.co.uk>
7925
7926 * config/mips/mips.c (mips_move_2words): Split doubles if
7927 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
7928
7929 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
7930
7931 * genrecog.c (struct decision_test): New.
7932 (struct decision): Remove test-related members, sort the rest by size.
7933 (IS_SPLIT): Simplify.
7934 (new_decision, new_decision_test): New.
7935 (add_to_sequence): Use them. No special handling for args of
7936 non-MATCH codes.
7937 (maybe_both_true): Renamed from not_both_true; return sense changed.
7938 (maybe_both_true_1, maybe_both_true_2): New. Broken out
7939 of maybe_both_true and adjusted for decision_test.
7940 (position_merit): Remove.
7941 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
7942 (merge_accept_insn): New, broken out of merge_trees.
7943 (merge_trees): Use them. No special case for c_test; no node
7944 splitting; use test type instead of position_merit.
7945 (factor_tests): New.
7946 (simplify_tests): New.
7947 (break_out_subroutines): Don't write code now.
7948 (find_afterward): New.
7949 (write_afterward, write_switch, write_cond): New.
7950 (write_action, is_unconditional): New.
7951 (write_node): New. Use them.
7952 (write_tree_1): Rewrite. Use the new functions above.
7953 (write_tree): Remove afterward processing.
7954 (write_subroutine): Simplify function variant emission.
7955 (write_subroutines): New.
7956 (same_codes, clear_codes): Remove.
7957 (same_modes, clear_modes): Remove.
7958 (write_header): New, broken out of main.
7959 (make_insn_sequence): Use new_decision and new_decision_test.
7960 (process_tree): New, broken out of main.
7961 (main): Adjust for merge_trees interface change.
7962 Don't #define operands in the output file.
7963 (record_insn_name): New, broken out of make_insn_sequence.
7964 (debug_decision_2, debug_decision_1, debug_decision_0): New.
7965 (debug_decision): New.
7966
7967 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
7968
7969 * resource.c (find_free_register): Mark class_str argument const.
7970 * resource.h: Update prototype to match.
7971
7972 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
7973 * i386.md: Give all anonymous insns names.
7974
7975 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
7976
7977 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
7978 blocks.
7979
7980 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
7981
7982 * toplev.c (dbr_sched_time): Unconditional.
7983 (peephole2_time): New.
7984 (compile_file): Add pass numbers to all of the dump file suffixes.
7985 Dump peephole2_time. Don't dump times for non-applicable passes.
7986 (rest_of_compilation): Add pass numbers to dump file suffixes.
7987 Conditionalize calls to the scheduler.
7988 * invoke.texi: Update.
7989
7990 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
7991
7992 * flow.c (make_edges): Fix insn iteration.
7993 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
7994 (find_basic_blocks_1): Fix spelling mistake.
7995
7996 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
7997
7998 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
7999 always have side-effects. Use memset not bzero.
8000 (make_node): Likewise.
8001
8002 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
8003
8004 * stmt.c (expand_anon_union_decl): When any of the elements of the
8005 union is addressable, so is the entire union.
8006
8007 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
8008
8009 * sbitmap.c (sbitmap_ones): Don't set too many bits.
8010
8011 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
8012 * bitmap.c (bitmap_operation): Return true iff TO changed.
8013 (bitmap_equal_p): New.
8014 (bitmap_bit_p): Tidy arithmetic.
8015 (debug_bitmap_file): Likewise.
8016
8017 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
8018
8019 * toplev.c (rest_of_compilation): Turn on cse_not_expected
8020 before cse2 instead of after.
8021
8022 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
8023
8024 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
8025 register offsets.
8026
8027 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8028
8029 * cppinit.c (is_idchar initializer): Loosen tests to accept
8030 gcc 2.>6 and >2.
8031
8032 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
8033
8034 * mips.md: Define conditional move patterns for floating point
8035 operands and DI mode conditions.
8036
8037 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
8038
8039 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
8040 always have side-effects.
8041
8042 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
8043
8044 * mn10200.c (asm_file_start): Fix typo.
8045
8046 * cppinit.c (is_idchar initializer): Tighten tests for when
8047 to put the table into initialized memory.
8048
8049 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
8050 not an array of rtunion.
8051 * gcc-page.c (ggc_alloc_rtvec): Similarly.
8052 * gcc-simple (ggc_free_rtvec): Similarly.
8053
8054 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
8055 of rtunions.
8056
8057 * mbchar.h: Add missing #endif.
8058
8059 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
8060 (FPBIT, DPBIT): Define.
8061
8062 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8063
8064 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
8065
8066 * profile.c (instrument_arcs, output_gcov_string,
8067 tablejump_entry_p): Add static prototypes.
8068 (output_gcov_string): Constify a char*.
8069
8070 * regmove.c (replacement_quality, fixup_match_2): Add static
8071 prototypes.
8072
8073 * resource.h (reg_dead_p): Add extern prototype.
8074
8075 * rtl.c (trim_filename): Add static prototype.
8076
8077 * scan-decls.c (skip_to_closing_brace): Likewise.
8078
8079 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
8080 (expand_end_case): Initialize variable `range'.
8081 (emit_case_nodes): Remove unused prototype `rtx_fn'.
8082
8083 * varasm.c (asm_emit_uninitialised): Add static prototype.
8084 (asm_emit_uninitialised, assemble_variable): Mark parameter with
8085 ATTRIBUTE_UNUSED.
8086
8087 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8088
8089 * cpplib.c (if_directive_nameo): Add static prototype.
8090
8091 * cse.c (cse_insn): Remove unused variable `p'.
8092
8093 * except.c (create_rethrow_ref, push_entry,
8094 receive_exception_label, new_eh_region_entry, find_func_region,
8095 clear_function_eh_region, process_nestinfo): Add static prototypes.
8096 (get_reg_for_handler): Hide definition.
8097 (process_nestinfo): Initialize variable `extra_handlers'.
8098
8099 * expr.h (expand_builtin_longjmp): Add extern prototype.
8100
8101 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
8102
8103 * function.c (prepare_function_start): Likewise.
8104 (pop_function_context_from): Mark parameter `context' with
8105 ATTRIBUTE_UNUSED.
8106 (push_temp_slots_for_block, flush_addressof): Hide definition.
8107
8108 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
8109 solve_program_flow_graph, calculate_branch_probs,
8110 function_summary, main, fancy_abort): Add prototypes.
8111
8112 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
8113 (add_hash): Constify a char*.
8114
8115 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
8116 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
8117 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
8118
8119 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
8120
8121 * lists.c (free_list, zap_lists): Likewise.
8122
8123 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8124
8125 * alias.c (nonlocal_reference_p): Add static prototype.
8126
8127 * bitmap.c (bitmap_element_allocate): Prototype args in function
8128 pointer cast.
8129
8130 * builtins.c (stabilize_va_list): Add static prototype.
8131 (expand_builtin_va_arg): Constify a char*.
8132
8133 * c-lex.c (getch, put_back, extend_token_buffer_to,
8134 read_line_number, token_getch, token_put_back): Add static
8135 prototypes.
8136
8137 * c-parse.gperf (hash, is_reserved_word): Likewise.
8138
8139 * cccp.c (is_dir_separator): Likewise.
8140
8141 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8142
8143 * graph.h: New file to prototype functions exported by graph.c.
8144
8145 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
8146
8147 * graph.c: Include graph.h.
8148
8149 * toplev.c: Likewise. Remove redundant prototypes.
8150
8151 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
8152
8153 * invoke.texi: Removed duplicated description for -Q.
8154
8155 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
8156
8157 * extend.texi: Grammar fix in __extension__ text.
8158
8159 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
8160
8161 * md.texi (define_peephole2): New section.
8162
8163 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
8164
8165 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
8166 (mov $-1 to or peepholer): Enable for pentium when optimizing for
8167 speed.
8168
8169 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
8170
8171 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
8172
8173 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
8174
8175 * i386.md (ffs expander): Emit Pentium friendly code for
8176 TARGET_PENTIUM.
8177
8178 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
8179
8180 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
8181 for non-trees.
8182 (build1): Likewise.
8183
8184 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8185
8186 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
8187
8188 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
8189
8190 * config/m68k/m68k.c (use_return_insn): Return false if the pic
8191 register is in use.
8192
8193 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8194
8195 * md.texi (No Constraints): Delete section.
8196 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
8197 * final.c (final_scan_insn): We always have register constraints.
8198 * genattrtab.c: Don't include "insn-config.h".
8199 (write_attr_case): We always have register constraints.
8200 * genconfig.c (register_constraint_flag): Delete.
8201 (walk_insn_part): Don't check whether we have register constraints.
8202 (main): Don't write out "#define REGISTER_CONSTRAINTS".
8203 * genoutput.c (have_constraints): Delete.
8204 (main): Don't set it.
8205 (output_operand_data): We always have constraints.
8206 (scan_operands): Likewise.
8207 (compare_operands): Likewise.
8208 * local-alloc.c (block_alloc): We always have constraints.
8209 (requires_inout): Always compile this function.
8210 * recog.c (extract_insn): We always have constraints.
8211 (constrain_operands, reg_fits_class_p): Always compile these
8212 functions.
8213 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
8214 fields.
8215 (struct insn_operand_data): Likewise.
8216 * regclass.c (regclass): We always have constraints.
8217 (record_reg_classes, copy_cost, record_address_regs,
8218 auto_inc_dec_reg_p): Always compile these functions.
8219 * regmove.c (regmove_optimize): We always have constraints.
8220 * reload.c (find_reloads): Likewise.
8221 * reload1.c (reload): Likewise.
8222 (reload_cse_simplify_operands): Likewise.
8223 * i860.c (output_delay_insn): Likewise.
8224
8225 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
8226
8227 * iris6.h (BUILD_VA_LIST_TYPE): Define.
8228
8229 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8230
8231 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
8232 for the va_list record.
8233
8234 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
8235
8236 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
8237 prologues.
8238
8239 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
8240
8241 * alias.c: Include insn-flags.h.
8242 * Makefile.in (alias.o): Update.
8243
8244 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
8245
8246 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
8247 to LTU and GEU. Handle more cases using sbb.
8248
8249 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
8250
8251 * i386.md (truncatexfdf splitters): Do not use subreg.
8252 (fop XFmode patterns): Fix mode in operand testing.
8253
8254 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
8255
8256 * jump.c (jump_optimize_1): Amend last change to test only the
8257 form of the operand, not the insn.
8258
8259 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
8260 not register_operand to determine when B may need preloading.
8261
8262 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
8263
8264 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
8265 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
8266 (call-value patterns): Move to end of file.
8267 (*): Remove mode from label_ref in (pc) context.
8268 (movstrqi): Use memory not general_operand for BLKmode operands.
8269 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
8270 to register_operand operands.
8271 (peep2 patterns): Convert from commented-out peephole patterns.
8272
8273 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8274
8275 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
8276 to BUILT_IN_INIT_DWARF_REG_SIZES.
8277 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
8278 Renamed from BUILT_IN_DWARF_REG_SIZE; call
8279 expand_builtin_init_dwarf_reg_sizes.
8280 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
8281 with __builtin_init_dwarf_reg_size_table.
8282 * dwarf2out.c (struct reg_size_range): Delete.
8283 (expand_builtin_init_dwarf_reg_sizes): New function.
8284 (expand_builtin_dwarf_reg_size): Delete.
8285 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
8286 (expand_builtin_dwarf_reg_size): Don't declare.
8287 * libgcc2.c (dwarf_reg_size_table_initialized): New.
8288 (dwarf_reg_size_table): New.
8289 (init_reg_size_table): New function.
8290 (copy_reg): Use dwarf_reg_size_table.
8291 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
8292 before use.
8293
8294 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
8295
8296 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
8297 Correctly build argument list to constructor and destructor functions.
8298
8299 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
8300
8301 * c-tree.h (warn_float_equal): Declare.
8302 * c-decl.c (warn_float_equal): Define.
8303 (c_decode_option): Recognize -W[no-]float-equal.
8304 * c-typeck.c (build_binary_op): Conditionally warn
8305 about equality tests of floating point types.
8306 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
8307 * invoke.texi: Add docs for -Wfloat-equal warning.
8308
8309 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
8310
8311 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
8312 generating RTL directly.
8313 * mips.h (INIT_TARGET_OPTABS): Likewise.
8314 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
8315
8316 * expr.h (init_mov_optab): Delete declaration
8317
8318 * h8300.c (WORD_REG_USED): Update to avoid useless register
8319 saves in interrupt functions and functions which never return.
8320
8321 * cse.c (struct set): Delete inner_dest_loc field.
8322 (cse_insn): Remove assignments to inner_dest_loc field.
8323
8324 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
8325
8326 * ggc-page.c: Don't include <unistd.h> etc taken care of
8327 by "system.h". Include <sys/mman.h> afterward.
8328
8329 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
8330
8331 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
8332 ggc_alloc_string.
8333
8334 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
8335
8336 * xcoffout.c (xcoffout_declare_function): Add documentation.
8337 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
8338 TARGET_64BIT. Compare constant to -1, not bit pattern.
8339 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
8340 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
8341 gen_movsi typos.
8342
8343 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
8344
8345 * dwarf2out.c (add_abstract_origin_attribute): Abort if
8346 origin_die is NULL.
8347 (gen_inlined_enumeration_type_die): Do not abort if the type has
8348 not been writeen out.
8349 (gen_inlined_structure_type_die): Do not abort if the type has
8350 not been writeen out.
8351 (gen_inlined_union_type_die): Do not abort if the type has
8352 not been writeen out.
8353 (gen_tagged_type_instantiation_die): Do not abort if the type
8354 has not been written out.
8355
8356 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8357
8358 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
8359 call it.
8360 * reg-stack.c (straighten_stack): Copy hard reg set with
8361 COPY_HARD_REG_SET.
8362
8363 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
8364
8365 * builtins.c (stabilize_va_list): Stabilize array type va_list
8366 to a pointer type, not the base record type.
8367 (expand_builtin_va_copy): Dereference the pointers explicitly;
8368 use the correct size for the copy.
8369
8370 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
8371 (rs6000_va_arg): Likewise.
8372
8373 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
8374
8375 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
8376
8377 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
8378
8379 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
8380 field.
8381 (DECL_BUILT_IN_CLASS): Adjust accordingly.
8382
8383 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
8384
8385 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
8386 (init_ggc): Use it instead of a constant.
8387 (ggc_collect): Bound allocated_last_gc by it.
8388
8389 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
8390
8391 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
8392 with va_list.
8393
8394 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
8395
8396 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
8397 (mips*-*-openbsd*): Let big endian configuration be a fragment.
8398 * configure: Regen.
8399 * config/mips/openbsd.h: New, OpenBSD little endian target.
8400 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
8401 * config/mips/xm-openbsd.h: New, OpenBSD host.
8402
8403 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
8404
8405 * config/m68k/m68k.c (output_function_prologue,
8406 output_function_epilogue): Use
8407 current_function_uses_pic_offset_table instead of regs_ever_live
8408 to decide whether to save/restore pic register.
8409 (legitimize_pic_address): Don't modify regs_ever_live any more.
8410
8411 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
8412
8413 * function.h (struct function): Add x_dont_save_pending_sizes_p.
8414 * stor-layout.c (variable_size): Don't add sizes to the pending
8415 sizes list if x_dont_save_pending_sizes_p is set.
8416
8417 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
8418
8419 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
8420 for symbolic_operand().
8421 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
8422
8423 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8424
8425 * combine.c (gen_rtx_combine): Add missing call to va_end().
8426
8427 * final.c (asm_fprintf): Likewise.
8428
8429 * genattrtab.c (attr_rtx): Likewise.
8430
8431 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
8432
8433 * cse.c: Update comments.
8434 (cse_insn): When converting a conditional/computed jump into
8435 an unconditional jump, always make sure a BARRIER immediately
8436 follows the converted jump. Do not delete unreachable code.
8437 (cse_basic_block): Do not delete unreachable code.
8438 * toplev.c (rest_of_compilation): Move call to
8439 delete_trivially_dead_insns after the conditional call to
8440 jump_optimize.
8441
8442 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8443
8444 * collect2.c (make_temp_file): Don't prototype.
8445
8446 * gcc.c (make_temp_file): Likewise.
8447
8448 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
8449
8450 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
8451
8452 * varasm.c (asm_emit_uninitialised): New function: Generate
8453 the assembler statements necessary to declare an uninitialised
8454 variable.
8455 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
8456 variable.
8457 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
8458 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
8459 section.
8460 (assemble_variable): Use asm_emit_uninitialised to emit an
8461 uninitialised variable.
8462
8463 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
8464
8465 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
8466 constant on a 64 bit host. Patch supplied by Geoffrey Keating
8467 <geoffk@cygnus.com>.
8468
8469 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8470
8471 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
8472 * c-common.h (builtin_function): Don't declare.
8473
8474 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
8475 DECL_BUILT_IN.
8476 (pushdecl): Likewise.
8477 (finish_decl): Likewise.
8478 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
8479 int. All callers changed.
8480 Set the builtin's DECL_BUILT_IN_CLASS.
8481 * tree.h (enum built_in_class): New.
8482 (enum built_in_function): Delete NOT_BUILT_IN.
8483 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
8484 in a union.
8485 (DECL_SET_FUNCTION_CODE): Likewise.
8486 (DECL_BUILT_IN_CLASS): New macro.
8487 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
8488 (struct tree_decl): Split builtin function code field into a
8489 struct.
8490 (builtin_function): Declare.
8491
8492 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
8493
8494 * optabs.c (init_traps): Fix typo in last change.
8495
8496 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
8497
8498 * toplev.c (rest_of_decl_compilation): Update comment.
8499
8500 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8501
8502 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
8503 in .sbss if appropriate.
8504 (EXTRA_SECTION_FUNCTIONS): Add sbss.
8505 (SBSS_SECTION_ASM_OP): New macro.
8506 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
8507 (EXTRA_SECTIONS): Add in_sbss.
8508 * config/mips/mips.h: Prototype sbss_section.
8509
8510 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
8511
8512 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
8513 to disappear.
8514
8515 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
8516
8517 * optabs.c (init_traps): Register trap_rtx as a GC root.
8518
8519 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8520
8521 * config/mips/mips.c (function_arg_pass_by_reference): Define
8522 unconditionally, since it's called unconditionally.
8523
8524 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
8525
8526 * toplev.c (documented_lang_options): Add -fshort-wchar.
8527 * c-decl.c (c_decode_option): Likewise.
8528 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
8529 for wchar_t.
8530 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
8531 * gcc.c (default_compilers): If -fshort-wchar,
8532 override __WCHAR_TYPE__.
8533 * tm.texi (C Dialect Options): Add -fshort-wchar.
8534
8535 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
8536 symbol for a variable.
8537
8538 * cpplib.h (CPP_PREPROCESSED): New macro.
8539 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
8540 we're seeing this input for a second time.
8541
8542 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
8543
8544 * emit-rtl.c (init_emit_once): Initialize modes first.
8545
8546 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
8547
8548 * config/i386/i386.c (pic_label_name): Change to char pointer.
8549 (global_offset_table): New variable.
8550 (load_pic_register): Fill global_offset_table if it hasn't
8551 already been done. Allocate pic_label_name dynamically.
8552 * ggc.h (empty_string): New variable.
8553 * ggc-simple.c (empty_string): Likewise.
8554 (init_ggc): Allocate empty_string and add as root.
8555 * stmt.c (digit_strings): New variable.
8556 (init_stmt): Add last_block_end_note as root. Allocate and
8557 initialize digit_strings.
8558 (expand_asm_operands): Use empty_string instead of string
8559 constant. Use digit_strings instead of string constants.
8560 * profile.c (init_arc_profiler): Allocate string with
8561 ggc_alloc_string instead of xmalloc.
8562 (output_func_start_profiler): Likewise.
8563 * c-typeck.c (digest_init): Check if init is error_mark_node.
8564
8565 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
8566 Richard Henderson <rth@cygnus.com>
8567
8568 * ggc-page.c: New file.
8569 * Makefile.in (ggc-page.o): New.
8570
8571 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
8572
8573 * invoke.texi: Document -fdelete-null-pointer-checks
8574 * toplev.c (flag_delete_null_pointer_checks): New.
8575 (f_options): Add entry for -fdelete-null-pointer-checks.
8576 (rest_of_compilation): Conditionalize null pointer check
8577 elimination on flag_delete_null_pointer_checks.
8578 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
8579
8580 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
8581
8582 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
8583 copyright notice and special exception to GPL.
8584
8585 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8586
8587 * abi64.h (mips_function_value): Add prototype arguments.
8588
8589 * mips-protos.h: New file with mips prototypes.
8590
8591 * mips.c: Include "tm_p.h".
8592 (mktemp, lookup_name): Add prototype arguments.
8593 (extern_list, string_constant, mips_fill_delay_slot,
8594 mips_output_external, mips_output_external_libcall,
8595 mips_output_filename, mips_declare_object, function_prologue,
8596 mips_expand_prologue, function_epilogue, mips16_constant,
8597 build_mips16_function_stub, mips_output_conditional_branch):
8598 Constify a char*.
8599 (mips_va_start): Remove unused variable `u'.
8600 (mips_va_arg): Cast value to unsigned when comparing against one.
8601 (trace): Delete.
8602 (save_restore_insns, mips_expand_prologue): Add missing arg in
8603 call to `large_int'.
8604
8605 * mips.h: Move prototypes to mips-protos.h.
8606 (data_section, memory_address_p, rdata_section,
8607 readonly_data_section, simple_epilogue_p, text_section): Delete
8608 prototypes delcared elsewhere.
8609 (mips_epilogue_delay_slots, print_options): Delete unused decls.
8610 (trace): Delete.
8611 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
8612
8613 * mips.md: Delete extra args in call to `mips_move_2words'.
8614
8615 * xm-iris6.h (alloca): Add prototype argument.
8616
8617 * genpeep.c: Include "tm_p.h" in generated output file.
8618
8619 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8620
8621 * basic-block.h (find_edge_index): Change parameters.
8622 * flow.c (verify_edge_list): Pass basic_block parameters to
8623 find_edge_index instead of integers.
8624
8625 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
8626
8627 * combine.c (simplify_comparison): Use an unsigned shift to adjust
8628 the constant.
8629
8630 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
8631
8632 * gcc.1: Fix a formatting error.
8633
8634 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8635
8636 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
8637 i786, mn10200, mn10300, pdp11, v850.
8638
8639 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
8640
8641 * libgcc2.c (num_digits): Add prototype with
8642 __attribute__((const)).
8643 (__terminate): Add prototype.
8644
8645 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
8646
8647 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
8648
8649 * alpha/alpha.c (print_operand): Fix type of `code'.
8650 (alpha_output_filename): Constify.
8651 * alpha/alpha.h: Move all function declarations ...
8652 * alpha/alpha-protos.h: ... here. New file.
8653 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
8654 (SECTION_FUNCTION_TEMPLATE): Likewise.
8655
8656 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8657
8658 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
8659 * expr.c (expand_expr): Likewise.
8660 (do_jump): Likewise.
8661 (do_store_flag): Pass ccp_store_flag to can_compare_p.
8662 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
8663 accessor macros.
8664 (enum can_compare_purpose): New.
8665 (can_compare_p): Adjust prototype.
8666 (prepare_cmp_insn, prepare_operand): Declare.
8667 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
8668 * optabs.c (cmp_available_p): Deleted.
8669 (expand_abs): Pass ccp_jump to can_compare_p.
8670 (can_compare_p): New arg PURPOSE. Check for combined optabs.
8671 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
8672 Call can_compare_p rather than cmp_available_p.
8673 (prepare_operand): No longer static.
8674 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
8675 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
8676 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
8677 sequence to use emit_cmp_and_jump_insns.
8678 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
8679
8680 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
8681
8682 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
8683 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
8684 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
8685 (plus (reg) (const_int 0))
8686 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
8687
8688 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
8689
8690 * rs6000.c (expand_block_move): DImode loads and stores require
8691 word-aligned displacements. Increment address registers with
8692 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
8693
8694 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
8695
8696 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
8697 is no name for the base type, rather than segfault. If we are
8698 writing out a complex integer type, use DW_ATE_lo_user.
8699
8700 * expr.c (emit_move_insn_1): If we are copying a complex that fits
8701 in one word or less (complex char, complex short, or on 64 bit
8702 systems complex float) to/from a hard register, copy it through
8703 memory instead of dying in gen_{real,imag}part. If we have a
8704 short complex type, prevent inlining since it allocates stack
8705 memory.
8706
8707 * tree.c (build_complex_type): If we are writing dwarf2 output,
8708 generate a name for complex integer types.
8709
8710 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8711
8712 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
8713 * flow.c (remove_edge): Remove extra whitespace.
8714 (remove_fake_edges): Fix comment.
8715 (add_noreturn_fake_exit_edges): Use the correct name.
8716
8717 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
8718
8719 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
8720 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
8721 (clean): Depend on INTL_CLEAN.
8722 (maintainer-clean): Adjust.
8723
8724 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8725
8726 * configure.in (AC_PREREQ): Bump to 2.13.
8727 (AC_C_STRINGIZE): Call this instead of using a custom macro.
8728
8729 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
8730
8731 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
8732
8733 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
8734
8735 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
8736 (HAVE_STRINGIZE): Define.
8737
8738 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
8739
8740 * c-parse.in: save and restore warn_pointer_arith on __extension__
8741 along with pedantic.
8742 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
8743 Set the type of extension to itype rather than $<itype>1 kludge.
8744 * extend.texi (Alternate Keywords): Adjust documentation.
8745 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
8746
8747 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
8748
8749 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
8750 most assembler templates.
8751
8752 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
8753 FP loads and stores.
8754 (following_call): Always return zero for the PA8000.
8755 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
8756 FP loads and stores.
8757 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
8758
8759 * pa.h (BRANCH_COST): Define.
8760
8761 * pa.md (return, return_internal): Use bve for PA2.0.
8762
8763 * pa.md (fused multiply): Add variants which reduce height for the
8764 fused multiply, but which still generate 2 insns.
8765 (fnegabs): Similarly.
8766
8767 * pa.md (subsi3): Turn into an expander. Create two anonymous
8768 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
8769 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
8770
8771 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
8772 for TARGET_PA_20.
8773 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
8774 code generation.
8775 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
8776 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
8777
8778 * regclass.c (init_regs): Add "top_of_stack" as a garbage
8779 collection root.
8780
8781 * flow.c (record_active_eh_regions): Terminate loop after finding
8782 the last insn in the last basic block.
8783
8784 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8785
8786 * config/c4x/c4x.md: Delete parallel instruction peepholes.
8787
8788 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8789
8790 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
8791
8792 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8793
8794 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
8795 splitting to not use output template.
8796
8797 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8798
8799 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
8800 * config/c4x/c4x.c (c4x_va_start): New function.
8801
8802 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
8803
8804 * genrecog.c (not_both_true): Handle correctly cases when called for
8805 tests with different positions in the insn.
8806
8807 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8808
8809 * machmode.h (HOST_PTR_PRINTF): Move from here ...
8810
8811 * system.h (HOST_PTR_PRINTF): ... to here.
8812
8813 * mips-tfile.c: Don't include machmode.h.
8814
8815 * Makefile.in (MACHMODE_H): New variable. Update to use it.
8816 (mips-tfile.o): Don't depend on machmode.h.
8817
8818 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8819
8820 * haifa-sched.c (sched_analyze): Rename local variable `region' to
8821 avoid conflicts with typedef struct `region' at the top level scope.
8822
8823 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
8824
8825 * basic-block.h (basic_block): Add eh_beg, eh_end.
8826 * flow.c (entry_exit_blocks): Update.
8827 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
8828 Call new functions.
8829 (find_basic_blocks_1): Don't record eh_list at each bb. Use
8830 lists.c functions to allocate insn lists.
8831 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
8832 edge creation ...
8833 (make_eh_edge): ... here. New.
8834 (move_stray_eh_region_notes): New.
8835 (record_active_eh_regions): New.
8836 (delete_unreachable_blocks): Split out block merging ...
8837 (try_merge_blocks): ... here. New.
8838 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
8839 Dump debugging data.
8840 (merge_blocks_move_successor_nojumps): Likewise.
8841 (merge_blocks): Use eh_beg+eh_end to validate block movement.
8842
8843 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8844
8845 * extend.texi (Bound member functions): Document unbound pmf
8846 conversion.
8847
8848 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8849
8850 * flow.c (split_edge): Handle insertion on a fallthrough edge which
8851 has the EXIT_BLOCK as a dest.
8852
8853 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8854
8855 * flow.c (remove_edge): New function to remove an edge from the
8856 flow graph.
8857 (remove_fake_successors): New function to remove fake successor edges.
8858 (remove_fake_edges): New function to remove all fake edges from the
8859 flow graph.
8860 (add_fake_exit_edges): New function to add fake edges from all blocks
8861 with no successors to the exit block.
8862 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
8863 prototypes for new functions.
8864
8865 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8866
8867 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
8868 Use Pmode to determine whether to output .dword or .word.
8869
8870 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
8871
8872 * tree.c (built_in_filename): New variable.
8873 (BUILT_IN_FILENAME): New macro.
8874 (init_tree_codes): Allocate built_in_filename.
8875 (make_node): Use built_in_filename instead of string constant.
8876
8877 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
8878
8879 * configure.in: Add fr30 target.
8880 * configure: Regenerate.
8881 * config/fr30: New directory.
8882 * config/fr30/crti.asm: New file.
8883 * config/fr30/fr30.c: New file.
8884 * config/fr30/crtn.asm: New file.
8885 * config/fr30/fr30.h: New file.
8886 * config/fr30/fr30.md: New file.
8887 * config/fr30/lib1funcs.asm: New file.
8888 * config/fr30/t-fr30: New file.
8889 * config/fr30/xm-fr30.h: New file.
8890
8891 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
8892
8893 * flow.c (merge_blocks_move_successor_nojumps): Delete the
8894 BARRIER at the end of the successor, not the BARRIER before
8895 the successor.
8896
8897 * pa.c (pa_add_gc_roots): Fix thinko in last change.
8898
8899 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
8900
8901 * stmt.c (any_pending_cleanups): Don't crash when
8902 current_function->stmt is unset.
8903
8904 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8905
8906 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
8907 other initializations that may use it for relative offsets.
8908
8909 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8910
8911 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
8912 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
8913 * config/i386/sol2dbg.h: Removed.
8914 * config/i386/sol2gas.h: New file, to enable gas work-around.
8915 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
8916 Don't use sol2dbg.h.
8917 * configure: Rebuilt.
8918
8919 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
8920
8921 * invoke.texi (-fthis-is-variable): Remove documentation.
8922
8923 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
8924
8925 * basic-block.h (compute_bb_for_insn): Declare.
8926 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
8927 to use; set size of basic_block_for_insn directly.
8928 (find_basic_blocks): Update.
8929
8930 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8931
8932 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
8933
8934 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8935
8936 * crtstuff.c (ON_EXIT): Delete empty macro definition.
8937 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
8938
8939 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
8940
8941 * c-decl.c (c_decode_option): Extend comment.
8942
8943 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
8944
8945 * toplev.c (progname): Make 'const char *'
8946 (flag_print_mem): Move out of main.
8947 (version_flag): Move out of main.
8948 (filename): Move out of main.
8949 (debug_args): Remove g prefix from options.
8950 (documented_lang_options): Remove cpplib specific options.
8951 (display_help): Add g prefix to debug options.
8952 (check_lang_option): Delete this function.
8953 (decode_d_option): New function: Decode -d... option.
8954 (decode_f_option): New function: Decode -f... option.
8955 (decode_W_option): New function: Decode -W... option.
8956 (decode_g_option): New function: Decode -g... option.
8957 (independent_decode_option): New function: Decode a language
8958 independent command line option.
8959 (main): Invoke lang_decode_option and then
8960 independent_decode_option on each command line option in
8961 turn.
8962
8963 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
8964
8965 Revert this change. Gavin's patch to operand_equal_p is a better fix.
8966 * fold-const.c (fold_range_test): Do not try to fold the range
8967 test if the rhs or lhs has side effects.
8968
8969 * basic-block.h (compute_flow_dominators): Declare.
8970
8971 * gcse.c (alloc_code_hoist_mem): New function.
8972 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
8973 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
8974 (hoist_code, one_code_hoisting_pass): Likewise.
8975 (gcse_main): If optimizing for size, then hoist expressions
8976 computed in multiple dominated basic blocks.
8977
8978 * gcse.c (invalid_nonnull_info): New function.
8979 (delete_null_pointer_checks): Likewise.
8980 * rtl.h (delete_null_pointer_checks): Declare.
8981 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
8982
8983 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
8984 (merge-blocks_move_successor_nojumps): Likewise.
8985 (merge_blocks): Allow merging of some blocks, even if it requires
8986 physical movement of the blocks, but not if it requires new jumps.
8987
8988 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
8989 Callers and prototype changed.
8990 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
8991
8992 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8993
8994 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
8995 -YP when both -p and -pg are present. From i386/sol2.h.
8996
8997 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8998
8999 * Makefile.in (distclean): Delete tm_p.h.
9000 * configure.in: Create a new file, "tm_p.h", from a list in
9001 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
9002 "i386/i386-protos.h".
9003
9004 * alias.c: Include "tm_p.h".
9005 * c-typeck.c: Likewise.
9006 * calls.c: Likewise.
9007 * cse.c: Likewise.
9008 * emit-rtl.c: Likewise.
9009 * explow.c: Likewise.
9010 * expmed.c: Likewise.
9011 * expr.c: Likewise.
9012 * final.c: Likewise.
9013 * flow.c: Likewise.
9014 * fold-const.c: Likewise.
9015 * function.c: Likewise.
9016 * gcse.c: Likewise.
9017 * global.c: Likewise.
9018 * haifa-sched.c: Likewise.
9019 * integrate.c: Likewise.
9020 * jump.c: Likewise.
9021 * local-alloc.c: Likewise.
9022 * loop.c: Likewise.
9023 * optabs.c: Likewise.
9024 * recog.c: Likewise.
9025 * reg-stack.c: Likewise.
9026 * regclass.c: Likewise.
9027 * regmove.c: Likewise.
9028 * reload.c: Likewise.
9029 * reload1.c: Likewise.
9030 * reorg.c: Likewise.
9031 * resource.c: Likewise.
9032 * stmt.c: Likewise.
9033 * stor-layout.c: Likewise.
9034 * toplev.c: Likewise.
9035 * tree.c: Likewise.
9036 * unroll.c: Likewise.
9037 * genattrtab.c (main): Make generated file include "tm_p.h".
9038 * genemit.c (main): Likewise.
9039 * genoutput.c (main): Likewise.
9040 * genrecog.c (main): Likewise.
9041
9042 * i386.h: Delete all prototypes.
9043 * i386.c: Include "tm_p.h".
9044 (ix86_attr_length_default): Call constant_call_address_operand
9045 with correct number of arguments.
9046 * i386-protos.h: New file.
9047 * i386.md (unnamed patterns): Call constant_call_address_operand
9048 with correct number of arguments.
9049 (exception_receiver): Call load_pic_register with correct number
9050 of arguments.
9051
9052 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
9053
9054 * c-pragma.c (mark_align_stack): Dereference the void* properly.
9055
9056 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
9057
9058 * rtl.h (insns_safe_to_move_p): New function.
9059 * loop.c (find_and_verify_loops): Use it.
9060 * rtlanal.c (insns_safe_to_move_p): Define it.
9061
9062 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
9063
9064 * c-pragma.c: Include ggc.h.
9065 * Makefile.in (c-pragma.o): Update.
9066
9067 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9068
9069 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
9070 (LIB_SPEC): Likewise.
9071 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
9072 Reindent -YP/-p/-pg.
9073 Copied from config/sparc/sol2.h.
9074
9075 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
9076
9077 * c-pragma.c (mark_align_stack): New.
9078 (init_pragma): New.
9079 * c-pragma.h (init_pragma): Declare it.
9080 * c-lex.c (init_parse): Call it.
9081
9082 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9083
9084 * configure.in: Pick up thread library on Solaris/x86 just
9085 like on Solaris/sparc.
9086 * configure: Rebuilt.
9087
9088 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
9089
9090 * rtl.h (global_rtx_index): New enum.
9091 (global_rtl): Change to array of rtx.
9092 (pc_rtx, cc0_rtx): Redefine accordingly.
9093 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
9094 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
9095 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
9096 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
9097 (const_int_rtx): Change to array of rtx.
9098 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
9099 accordingly.
9100 * emit-rtl.c (global_rtl): Change to array of rtx.
9101 (const_int_rtx): Change to aray of rtx.
9102 (gen_rtx_CONST_INT): Redefine accordingly.
9103 (init_emit_once): Allocate and initialize global_rtl. Likewise
9104 for const_int_rtx. Add both as GC roots.
9105 * genattrtab.c (global_rtl): Update declaration.
9106
9107 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
9108
9109 * Makefile (USER_H): Add iso646.h back.
9110
9111 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
9112
9113 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
9114 zapping the LOG_LINKS of sched_before_next_call.
9115
9116 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
9117 * pa.c (insn_refs_are_delayed): Renamed from
9118 insn_sets_and_refs_are_delayed.
9119
9120 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
9121
9122 * functiion.h (struct function): Add x_whole_function_mode_p.
9123 (retrofit_block): Declare.
9124 * function.c (retrofit_block): New function.
9125 (identify_blocks): Add assertions. Allow an incomplete set of
9126 block notes if we're still generating code for the function.
9127 * integrate.c: Include loop.h.
9128 (expand_inline_function): Call find_loop_tree_blocks to map block
9129 notes to blocks when in whole-function mode. Use retrofit_block
9130 to insert new BLOCKs for the inlined function, rather than
9131 insert_block.
9132 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
9133 * Makefile.in (integrate.o): Depend on loop.h.
9134
9135 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
9136
9137 * tree.h (warn_about_unused_variables): Declare.
9138 * stmt.c (warn_about_unused_variables): New function, split out
9139 from ...
9140 (expand_end_bindings): Here.
9141
9142 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
9143
9144 * stmt.c (preserve_subexpressions_p): Don't crash when
9145 current_function->stmt is unset.
9146
9147 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
9148
9149 * stmt.c (expand_start_bindings): Allow callers to pass a flag
9150 indicating that no NOTE_INSN_BLOCK_BEG note is required.
9151 (expand_start_target_temps): Use it.
9152 * except.c (expand_eh_region_start_for_decl): Likewise.
9153 * expr.c (expand_expr): Likewise.
9154
9155 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
9156
9157 * fold-const.c (operand_equal_p): Pay attention to side effects.
9158
9159 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
9160
9161 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
9162 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
9163
9164 * tlink.c (scan_linker_output): Look for keywords before accepting
9165 a mangled name in quotes.
9166
9167 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
9168
9169 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
9170 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
9171
9172 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
9173
9174 * alpha.md: Revert Thu Nov 26 change that came in through the
9175 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
9176 Avoid earlyclobber when possible.
9177
9178 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9179
9180 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
9181
9182 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
9183 Define HAVE_ON_EXIT.
9184
9185 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9186
9187 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
9188 CTYPE_CONV in all ctype macros.
9189
9190 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
9191 from system.h.
9192
9193 * cexp.y (initialize_random_junk): Likewise.
9194
9195 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
9196
9197 * i370.c (handle_pragma): Likewise.
9198
9199 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
9200
9201 * v850.c (override_options): Likewise.
9202
9203 * doprint.c (_doprnt): Likewise.
9204
9205 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
9206 Likewise.
9207
9208 * fixinc/server.c (load_data): Likewise.
9209
9210 * fold-const.c (real_hex_to_f): Likewise.
9211
9212 * genattr.c (write_upcase, gen_attr): Likewise.
9213
9214 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
9215 write_upcase): Likewise.
9216
9217 * genemit.c (print_code): Likewise.
9218
9219 * genopinit.c (gen_insn): Likewise.
9220
9221 * genpeep.c (print_code): Likewise.
9222
9223 * genrecog.c (print_code): Likewise.
9224
9225 * optabs.c (init_libfuncs): Likewise.
9226
9227 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
9228
9229 * haifa-sched.c (sched_analyze): Keep the list of notes organized
9230 in pairs.
9231 (reemit_notes): Likewise.
9232
9233 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
9234
9235 * ggc.h (ggc_root): Move to ggc-common.c.
9236 (roots): Remove.
9237 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
9238 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
9239 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
9240 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
9241 * ggc-common.c (ggc_root): Move from ggc.h.
9242 (roots): Declare, static.
9243 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
9244 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
9245 null or check/set mark bit.
9246 (ggc_mark_roots): New.
9247 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
9248
9249 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
9250
9251 * m32r.c: Include toplev.h.
9252 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
9253 (gen_compare): Rename swap_p to must_swap to match uses.
9254 Add default abort case.
9255 (m32r_output_function_epilogue): Remove unused variables.
9256 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
9257 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
9258 define to empty parameter list. Update all uses.
9259 (predicate decls): Use enum machine_mode not int.
9260 * m32r.md (movsi): Call abort, not fatal_insn.
9261 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
9262
9263 1999-09-14 Andrew Haley <aph@cygnus.com>
9264
9265 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
9266 use $0 instead of 0.
9267
9268 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9269
9270 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
9271 computation out of loop over hard regs.
9272
9273 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
9274
9275 * function.c (identify_blocks): Don't shadow a variable in an
9276 outer scope.
9277 * integrate.c (integrate_decl_tree): Don't use pushlevel,
9278 pushdecl, or poplevel to build up the new BLOCK tree.
9279 (expand_inline_function): Likewise.
9280 (integrate_parm_decls): Likewise.
9281
9282 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
9283
9284 * c-typeck.c (qualify_type): Merge qualifiers from both types.
9285
9286 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
9287
9288 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
9289 * invoke.texi: Document this change.
9290
9291 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
9292
9293 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
9294 Free the struct.
9295 (mark_emit_status): Renamed from mark_emit_state.
9296 * except.c (mark_eh_status): Renamed from mark_eh_state.
9297 Check not null before marking.
9298 (free_eh_status): New.
9299 * expr.c (mark_expr_status, free_expr_status): New.
9300 * function.c (free_machine_status): New.
9301 (free_after_parsing): New.
9302 (free_after_compilation): Move bits to free_after_parsing; call
9303 free_eh_status, free_expr_status; zero the marked members of the
9304 function state.
9305 (prepare_function_start): No can_garbage_collect.
9306 Call init_eh_for_function.
9307 (expand_dummy_function_end): Free up current_function state.
9308 (mark_function_status): Renamed from mark_function_state.
9309 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
9310 * function.h (struct function): No can_garbage_collect.
9311 (free_machine_status, free_after_parsing): Declare.
9312 (free_eh_status, free_expr_status): Declare.
9313 * ggc.h (mark_expr_status): Declare.
9314 * stmt.c (free_stmt_status): Free the struct.
9315 (mark_stmt_status): Renamed from mark_stmt_state.
9316 (init_stmt): Don't call init_eh.
9317 (init_stmt_for_function): Don't call init_eh_for_function.
9318 * toplev.c (compile_file): Call init_eh.
9319 (rest_of_compilation): Free basic block info before ggc_collect.
9320 Call free_after_parsing; conditionally call free_after_compilation.
9321 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
9322 Check not null before marking.
9323 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
9324
9325 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
9326
9327 * c-lex.c (yylex): Initialize warn.
9328
9329 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
9330
9331 * pa.c (emit_move_sequence): Properly set the mode of the scratch
9332 register when performing secondary reloads for the SAR register.
9333
9334 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
9335
9336 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
9337 (NOTE_BLOCK): New macro.
9338 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
9339 * function.h (identify_blocks): Change prototype.
9340 * function.c (identify_blocks): Simplify.
9341 (reorder_blocks): Likewise.
9342 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
9343 NOTE_INSN_BLOCK_{BEG,END}.
9344 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
9345 the list of saved notes if the note isn't a
9346 NOTE_INSN_BLOCK_{BEG,END}.
9347 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
9348 NOTE_BLOCK_NUMBER.
9349 (reemit_notes): Adjust recreation of notes to reflect new saved
9350 note structure.
9351 * print-rtl.c (print_rtx): Print the address of the BLOCK when
9352 printing a block note.
9353 * stmt.c (block_vector): Remove.
9354 (find_loop_tree_blocks): Simplify.
9355 (unroll_block_trees): Likewise.
9356 * tree.h (reorder_block): Change prototype.
9357
9358 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
9359
9360 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
9361 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
9362 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
9363 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
9364 (atexit, exit): Simplify.
9365 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
9366 * config/lots: Remove defns of HAVE_ATEXIT.
9367
9368 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
9369
9370 * calls.c (precompute_arguments): Fix typo in comment.
9371 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
9372 TARGET_EXPR.
9373
9374 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
9375
9376 * dsp16xx.c (override_options): Fix typos in GC root registration.
9377
9378 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
9379
9380 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
9381 from config/svr4.h.
9382 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
9383 (FUNCTION_PROFILER): Redefine appropriately for Linux.
9384 (CC1_SPEC): Likewise.
9385
9386 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9387
9388 * genattr.c (main): Add extern prototype. Call return, not exit.
9389 * genattrtab.c (main): Likewise.
9390 * gencheck.c (main): Likewise.
9391 * gencodes.c (main): Likewise.
9392 * genconfig.c (main): Likewise.
9393 * genemit.c (main): Likewise.
9394 * genextract.c (main): Likewise.
9395 * genflags.c (main): Likewise.
9396 * gengenrtl.c (main): Likewise.
9397 * genopinit.c (main): Likewise.
9398 * genoutput.c (main): Likewise.
9399 * genpeep.c (main): Likewise.
9400 * genrecog.c (main): Likewise.
9401
9402 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
9403 * genattrtab.c (get_insn_name): Likewise.
9404 * gencodes.c (get_insn_name): Likewise.
9405 * genconfig.c (get_insn_name): Likewise.
9406 * genemit.c (get_insn_name): Likewise.
9407 * genextract.c (get_insn_name): Likewise.
9408 * genflags.c (get_insn_name): Likewise.
9409 * genopinit.c (get_insn_name): Likewise.
9410 * genpeep.c (get_insn_name): Likewise.
9411
9412 * gencheck.c (usage): Add static prototype.
9413 * genextract.c (print_path): Constify a char*.
9414 * genopinit.c (optabs): Likewise.
9415 * genoutput.c (operand_data, data, output_predicate_decls,
9416 compare_operands): Likewise.
9417 * genrecog.c (write_tree): Add default case in switch.
9418
9419 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9420
9421 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
9422
9423 * print-rtl.c (get_insn_name): Remove prototype.
9424
9425 * toplev.h (progname): Declare const.
9426
9427 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
9428 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
9429 dump_sched_info, dump_local_alloc, regset_release_memory,
9430 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
9431 error_with_file_and_line, error_with_decl, error_for_asm, error,
9432 fatal, warning_with_file_and_line, warning_with_decl, warning,
9433 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
9434 Remove redundant prototypes.
9435
9436 (notice, check_lang_option, report_file_and_line, vnotice,
9437 mark_file_stack): Add static prototype.
9438 (set_fatal_function): Add prototype.
9439 (vnotice, report_file_and_line, set_fatal_function,
9440 check_lang_option): Constify a char*.
9441 (main): Prototype. Call return, not exit.
9442
9443 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9444
9445 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
9446
9447 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
9448
9449 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
9450
9451 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
9452
9453 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9454
9455 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
9456 behave as if it's zero in all cases.
9457 (expand_function_start): Adjust call to assign_parms.
9458 * tree.h (assign_parms): Adjust prototype.
9459 * objc/objc-act.c (hack_method_prototype): Adjust call to
9460 assign_parms.
9461
9462 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
9463
9464 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
9465 arg_pointer_rtx fixed if the argument pointer register is
9466 not fixed.
9467 (NONZERO_BASE_PLUS_P): Likewise.
9468
9469 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
9470
9471 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
9472 match_insn2 to match_insn.
9473 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
9474
9475 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
9476
9477 * Makefile.in (USER_H): Remove va-foo.h.
9478
9479 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
9480 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
9481 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
9482 va-spur.h,va-v850.h}: Remove.
9483
9484 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
9485
9486 * sparc/sparc.md (eligible_for_return_delay): New attribute.
9487 (in_return_delay): Use it instead of match_insn.
9488
9489 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9490
9491 * config/alpha/va_list.h (va-alpha.h): Do not include.
9492 (__gnuc_va_list): Typedef as in varargs.h.
9493
9494 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
9495
9496 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
9497 DECL_LIVE_RANGE_RTL.
9498
9499 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
9500
9501 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
9502 not NOTE_BLOCK_NUMBER.
9503 (expand_eh_region_end): Likewise.
9504 (find_exception_handler_labels): Likewise.
9505 (scan_region): Likewise.
9506 (exception_optimize): Likewise.
9507 (update_rethrow_references): Likewise.
9508 (set_insn_eh_region): Likewise.
9509 * final.c (final_scan_insn): Likewise.
9510 * flow.c (make_edges): Likewise.
9511 * integrate.c (expand_inline_function): Likewise.
9512 * print-rtl.c (print_rtx): Likewise.
9513
9514 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
9515
9516 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
9517 terms of builtin functions and types.
9518
9519 * mips.c (mips_build_va_list): New.
9520 (mips_va_start, mips_va_arg): New.
9521 * mips.h (BUILD_VA_LIST_TYPE): New.
9522 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9523
9524 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
9525 (sh_build_va_list, sh_va_start, sh_va_arg): New.
9526 * sh.h (BUILD_VA_LIST_TYPE): New.
9527 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
9528
9529 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
9530
9531 * recog.h (struct recog_data): Make dup_num, operand_address_p,
9532 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
9533 (struct insn_data): Likewise with n_operands, n_dups,
9534 n_alternatives, output_format.
9535 * regclass.c (scan_one_insn): Cast n_operands to int before
9536 arithmetic inside comparison.
9537
9538 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
9539
9540 * toplev.c (compile_function): Unconditionally emit nop.
9541
9542 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9543
9544 * haifa-sched.c (actual_hazard): Move declaration of variable
9545 `this_cost' into the scope where it is used.
9546
9547 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9548
9549 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
9550 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
9551 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
9552
9553 * genrecog.c (make_insn_sequence): Call memset, not bzero.
9554
9555 * jump.c (find_insert_position): Don't declare or define unless
9556 !HAVE_conditional_arithmetic.
9557 (returnjump_p_1, delete_prior_computation): Add static prototypes.
9558
9559 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
9560
9561 * recog.c (offsettable_address_p): Prototype function pointer.
9562 (preprocess_constraints): Call memset, not bzero.
9563
9564 * tree.c (tree_node_kind_names): Constify a char*. Make static.
9565 (gcc_obstack_init): Don't declare.
9566 (fix_sizetype): Add static prototype.
9567 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
9568 (tree_cons): Call memset, not bzero.
9569
9570 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
9571 definition in macro ASM_WEAKEN_LABEL.
9572 (mark_const_hash_entry): Add static prototype.
9573
9574 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9575
9576 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
9577
9578 * unroll.c (find_common_reg_term, subtract_reg_term,
9579 loop_find_equiv_value): Add static prototypes.
9580 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
9581 (copy_loop_body): Remove unreachable break statement.
9582
9583 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
9584
9585 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
9586
9587 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9588
9589 Undo some changes from the gcc2 merge:
9590 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
9591 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
9592 pointers.
9593
9594 Undo this change:
9595 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
9596 * emit-rtl.c (gen_lowpart_common): Disable optimization of
9597 initialized float-int union if the value is a NaN.
9598
9599 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
9600
9601 * gthr-win32.h: New file.
9602
9603 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
9604 shared as a valid attribute.
9605 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
9606 * extend.texi: Document `shared' variable attribute.
9607
9608 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
9609
9610 * configure.in: Handle --enable-threads on FreeBSD.
9611 * configure: Rebuit.
9612
9613 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9614
9615 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
9616 thread support.
9617 * configure: Rebuilt.
9618
9619 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
9620 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
9621 Rosimildo DaSilva <rdasilva@connecttel.com>
9622
9623 * configure.in (m68k-*-rtemscoff*): Added.
9624 * configure.in (mips64orion-*-rtems*): Converted to ELF.
9625 * configure.in (sparc-*-rtemsaout*): Added as alias for old
9626 sparc-rtems configuration.
9627 * configure.in (sparc-*-rtemself*): Added.
9628 * configure.in (sparc-*-rtems*): Now ELF not a.out.
9629 * config/i386/rtems.h: Added comment.
9630 * config/sparc/rtemself.h: New file.
9631
9632 * configure.in (m68k-rtemself): Added.
9633 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
9634 and DWARF_DEBUGGING_INFO.
9635 * config/m68k/crti.s: New file.
9636 * config/m68k/crtn.s: New file.
9637 * config/m68k/t-crtstuff: New file.
9638 * config/m68k/rtemself.h: New file.
9639
9640 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
9641 global ctor/dtor and C++ exception handling.
9642 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
9643 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
9644 ENDFILE_SPEC.
9645 * config/i386/t-rtems-i386: New File.
9646
9647 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
9648
9649 * stmt.c (expand_end_case): Return right away if the case stack is
9650 empty.
9651
9652 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
9653
9654 * Makefile.in (version.c): Remove rule incorrectly brought in from
9655 the gcc2 merge.
9656
9657 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
9658
9659 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
9660 * msdos/top.sed: Take into account a prepended $(SHELL) to
9661 move-if-change.
9662 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
9663
9664 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
9665
9666 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9667
9668 * regmove.c (fixup_match_1): Don't change an unchanging register.
9669 (stable_but_for_p): Renamed to:
9670 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
9671 Changed all callers.
9672
9673 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
9674
9675 * loop.c (strength_reduce): Don't call reg_used_between_p if the
9676 insn from BL2 is after the insn from BL.
9677
9678 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
9679
9680 * recog.h (INSN_OUTPUT_FORMAT_*): New.
9681 (struct insn_data): Merge `template' and `outfun' into `output'.
9682 Add `output_format'.
9683 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
9684 (struct data): Remove `outfun'; add `output_format'.
9685 (name_for_index): Remove declaration.
9686 (output_insn_data): Handle output formats.
9687 (process_template): Emit the bare array for @.
9688 (gen_expand, gen_split): Set output_format to NONE.
9689 * output.h (get_insn_template): Declare.
9690 * final.c (get_insn_template): New.
9691 (final_scan_insn): Use it.
9692 * toplev.c (compile_file): Likewise.
9693
9694 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9695 * i860/i860.c (output_delayed_branch): Likewise.
9696 (output_delay_insn): Likewise.
9697
9698 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9699
9700 * rtl.c (obstack_alloc_rtx): Removed.
9701
9702 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
9703
9704 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
9705
9706 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
9707
9708 * i386.c (call_insn_operand): Reject const_int.
9709 (expander_call_insn_operand): Use call_insn_operand.
9710
9711 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9712
9713 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
9714
9715 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
9716
9717 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
9718 Use DImode operation.
9719
9720 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
9721
9722 * gcc.c: Include sys/resource.h.
9723 (report_times): New flag.
9724 (execute): If report_times is set, calculate and report the
9725 CPU time consumed by each subprocess.
9726
9727 (rus, prus): New globals.
9728 (option_map): Add --time.
9729 (display_help): Document -time.
9730 (process_command): Set report_times if -time is given.
9731 Turn off -pipe if -time is given.
9732
9733 * invoke.texi: Document new option -time.
9734
9735 * configure.in: Check for getrusage. Check if we have to
9736 prototype getrusage.
9737 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
9738 * configure: Regenerate.
9739 * config.in: Regenerate.
9740
9741 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
9742
9743 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
9744 fields.
9745
9746 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
9747
9748 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
9749 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
9750 (nan): Return _thenan_sf or _thenan_df as appropriate.
9751 (L_thenan_sf): Define _thenan_sf.
9752 (L_thenan_df): Define _thenan_df.
9753
9754 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
9755 (DPBIT_FUNCS): Add _thenan_df.
9756
9757 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
9758
9759 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
9760 TYPE_SIZE_UNIT.
9761
9762 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9763
9764 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
9765
9766 * gcc.h: New file.
9767 (lang_specific_driver): Don't take a function pointer parameter.
9768 All callers changed.
9769
9770 * gcc.c: Include gcc.h.
9771 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
9772 lang_specific_extra_outfiles, fatal): Don't declare.
9773 (multilib_defaults_raw): Constify.
9774 (read_specs): Call memset, rather than bzero.
9775 (main): Call return, not exit.
9776 (lookup_compiler): Call memcpy, not bcopy.
9777 (fatal): Make extern.
9778
9779 * cppspec.c: Include gcc.h.
9780 (lang_specific_driver): Initialize variable `quote'. Constify a
9781 char*. All calls to the function pointer parameter now
9782 explicitly call `fatal'.
9783
9784 * gccspec.c (lang_specific_driver): Include gcc.h.
9785
9786 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
9787
9788 * arm.c (note_invalid_constants): Use recog_data.operand_type
9789 for recog_op_type.
9790
9791 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9792
9793 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
9794 Declare.
9795
9796 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
9797 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9798 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9799 reload_secondary_in_reload, reload_secondary_out_reload,
9800 reload_secondary_in_icode, reload_secondary_out_icode,
9801 reload_reg_rtx, reload_when_needed): Delete declarations.
9802 (struct reload): New structure.
9803 (rld): Declare new array.
9804 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
9805 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
9806 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
9807 reload_secondary_in_reload, reload_secondary_out_reload,
9808 reload_secondary_in_icode, reload_secondary_out_icode,
9809 reload_reg_rtx, reload_when_needed): Delete definitions.
9810 (rld): New array.
9811 (whole file): Replace uses of the deleted arrays with uses of rld.
9812 * reload1.c (whole file): Replace uses of the deleted arrays with
9813 uses of rld.
9814 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
9815 explicit loops, not with bcopy.
9816
9817 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
9818
9819 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
9820 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
9821 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
9822 insn_name): Delete and consolidate into new structures.
9823 (insn_operand_predicate_fn): New.
9824 (insn_output_fn): New.
9825 (insn_gen_fn): New.
9826 (struct insn_operand_data): New.
9827 (struct insn_data): New.
9828 (insn_data): New.
9829 (OUT_FCN): Update for insn_data change.
9830 * builtins.c (expand_builtin_strlen): Likewise.
9831 (expand_builtin_memcmp): Likewise.
9832 * combine.c (make_extraction, simplify_comparison): Likewise.
9833 * cse.c (canon_reg, cse_insn): Likewise.
9834 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
9835 * expmed.c (store_bit_field, extract_bit_field): Likewise.
9836 (emit_store_flag): Likewise.
9837 * expr.c (convert_move, emit_block_move): Likewise.
9838 (clear_storage, emit_push_insn, expand_increment): Likewise.
9839 (do_store_flag): Likewise.
9840 * expr.h (GEN_FCN): Likewise.
9841 (insn_gen_function): Die.
9842 * final.c (final_scan_insn): Update for insn_data change.
9843 (output_asm_name): Likewise.
9844 * function.c (fixup_var_refs_1): Likewise.
9845 * loop.c (check_dbra_loop): Likewise.
9846 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
9847 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
9848 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
9849 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
9850 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
9851 * regmove.c (gen_add3_insn): Likewise.
9852 * reload.c (push_secondary_reload, combine_reloads): Likewise.
9853 (find_reloads, find_reloads_address_1): Likewise.
9854 (debug_reload_to_stream): Likewise.
9855 * reload1.c (emit_reload_insns, gen_reload): Likewise.
9856 * stmt.c (expand_end_case): Likewise.
9857 * toplev.c (compile_file): Likewise.
9858
9859 * c4x/c4x.c (c4x_process_after_reload): Likewise.
9860 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9861
9862 * print-rtl.c (insn_name_ptr): Remove declaration.
9863 (get_insn_name): Declare.
9864 (print_rtx): Use it.
9865 * genoutput.c (insn_name_ptr): Remove.
9866 (next_operand_number): New.
9867 (struct operand_data): New.
9868 (null_operand, odata, odata_end): New.
9869 (struct data): Use struct operand_data.
9870 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
9871 (get_insn_name): Renamed from name_for_index.
9872 (output_prologue): Define NO_MD_PROTOTYPES.
9873 (output_predicate_decls): Break out from output_epilogue.
9874 Iterate over the operands list.
9875 (output_operand_data): Break out from output_epilogue. Emit
9876 just the operands list.
9877 (output_insn_data): Break out from output_epilogue. Emit just
9878 the insn data.
9879 (output_epilogue): Remove.
9880 (output_get_insn_name): New.
9881 (constraints, op_n_alternatives, predicates, address_p): Die.
9882 (modes, strict_low, seen): Die.
9883 (scan_operands): Take new param `d' instead of writing to
9884 seven global variables.
9885 (compare_operands): New.
9886 (place_operands): New.
9887 (validate_insn_alternatives): Update for struct data change.
9888 (gen_insn): Don't zero or copy 7 global arrays. Update for
9889 scan_operands; call place_operands.
9890 (gen_peephole, gen_expand, gen_split): Likewise.
9891 (main): Update for new output routines.
9892
9893 * genattr.c (insn_name_ptr): Remove.
9894 (get_insn_name): New function.
9895 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
9896 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
9897 * genrecog.c: Likewise.
9898
9899 * alpha.md (adddi3): Make `pattern' array static.
9900
9901 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9902
9903 * config/c4x/c4x.h (c4x_rpts_cycles_string,
9904 c4x_cpu_version_string): Constify char *.
9905 * config/c4x/c4x.c (c4x_rpts_cycles_string,
9906 c4x_cpu_version_string): Likewise.
9907
9908 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
9909
9910 * tree.c (save_tree_status): Revert 10 Sep change.
9911 (restore_tree_status): Likewise. Call obstack_free with NULL
9912 before freeing the obstack proper.
9913
9914 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
9915
9916 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
9917
9918 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
9919 surrounding context.
9920
9921 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
9922
9923 * tree.c (type_hash_canon): Put all types in the hash-table, when
9924 GC'ing.
9925
9926 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
9927
9928 * recog.h (struct recog_data, recog_data): New.
9929 (recog_foo variables): Kill.
9930 * recog.c (recog_operand, recog_operand_loc): Kill.
9931 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
9932 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
9933 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
9934 (recog_data): Define.
9935 (extract_insn): Update all recog_foo references to use recog_data.
9936 (preprocess_constraints, constrain_operands): Likewise.
9937 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
9938 * genattrtab.c (main): Likewise.
9939 * genextract.c (main): Likewise.
9940 * genoutput.c: Likewise.
9941 * genrecog.c (write_subroutine, main): Likewise.
9942 * local-alloc.c (block_alloc): Likewise.
9943 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
9944 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
9945 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
9946 * reload.c (find_reloads, find_reloads_toplev): Likewise.
9947 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
9948 (reload_cse_simplify_operands): Likewise.
9949
9950 * arc/arc.c (arc_final_prescan_insn): Likewise.
9951 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
9952 * h8300/h8300.c (notice_update_cc): Likewise.
9953 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
9954 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
9955 * mn10200/mn10200.c (notice_update_cc): Likewise.
9956 * mn10300/mn10300.c (notice_update_cc): Likewise.
9957 * romp/romp.c (update_cc): Likewise.
9958 * sparc/sparc.c (check_pic): Likewise.
9959 * v850/v850.c (notice_update_cc): Likewise.
9960
9961 * genemit.c (main): Don't declare recog_operand.
9962
9963 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
9964
9965 * ggc.h (rtvec_def): Forward declare.
9966 (tree_node): Likewise.
9967 (ggc_root): Define.
9968 (roots): Declare.
9969 (ggc_set_mark_rtx): Add prototype.
9970 (ggc_set_mark_rtvec): Likewise.
9971 (ggc_set_mark_tree): Likewise.
9972 * ggc-simple.c (ggc_root): Don't define.
9973 (roots): Don't declare.
9974 (ggc_mark_rtx): Remove.
9975 (ggc_mark_rtvec): Likewise.
9976 (ggc_mark_tree): Likewise.
9977 (ggc_mark_varray): Likewise.
9978 (ggc_mark_tree_hash_table_entry): Likewise.
9979 (ggc_mark_tree_hash_table): Likewise.
9980 (ggc_set_mart_rtx): New function.
9981 (ggc_set_mark_rtvec): Likewise.
9982 (ggc_set_mark_tree): Likewise.
9983 (ggc_add_root): Remove.
9984 (ggc_add_rtx_root): Likewise.
9985 (ggc_remove_tree_root): Likewise.
9986 (ggc_add_string_root): Likewise.
9987 (ggc_add_tree_varray_root): Likewise.
9988 (ggc_add_tree_hash_table_root): Likewise.
9989 (ggc_del_root): Likewise.
9990 (ggc_mark_rtx_ptr): Likewise.
9991 (ggc_mark_tree_ptr): Likewise.
9992 (ggc_mark_string_ptr): Likewise.
9993 (ggc_mark_tree_varray_ptr): Likewise.
9994 (ggc_mark_tree_hash_table_ptr): Likewise.
9995 * ggc-common.c: New file.
9996 * Makefile.in (OBJS): Add ggc-common.o.
9997 (ggc-common.o): List dependencies.
9998
9999 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
10000
10001 * cppalloc.c (xstrdup): Use memcpy.
10002 * cpperror.c (cpp_print_containing_files): Don't use
10003 cpp_notice.
10004 * cpplib.c (conditional_skip): Set temp->lineno.
10005 (do_endif): Make error message less obscure.
10006 (if_directive_name): New function.
10007 (cpp_get_token [case EOF]): Unwind the if stack and generate
10008 error messages for each unterminated conditional in this file.
10009 (parse_string): Do not behave differently if -traditional.
10010
10011 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
10012
10013 * builtins.c (expand_builtin_va_arg): Cope with an array-type
10014 va_list decomposing to pointer-type.
10015 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
10016 (rs6000_va_arg): Likewise.
10017
10018 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
10019
10020 * except.c (start_dynamic_handler): Compute size using
10021 STACK_SAVEAREA_MODE.
10022
10023 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10024
10025 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
10026 include directory headers. Don't define strrchr. Don't provide
10027 my_* replacement functions. Prefer PTR over `pointer_type'.
10028 Don't prototype system functions. Don't redefine getopt.
10029
10030 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
10031 safe_read, safe_write, save_pointers, restore_pointers,
10032 is_id_char, in_system_include_dir, directory_specified_p,
10033 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
10034 find_corresponding_lparen, referenced_file_is_newer,
10035 save_def_or_dec, munge_compile_params, gen_aux_info_file,
10036 process_aux_info_file, identify_lineno, check_source,
10037 seek_to_line, forward_to_next_token_char, output_bytes,
10038 output_string, output_up_to, other_variable_style_function,
10039 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
10040 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
10041 find_static_definition, connect_defs_and_decs, add_local_decl,
10042 add_global_decls, needs_to_be_converted, visit_each_hash_node,
10043 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
10044 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
10045 scan_for_missed_items, edit_file, string_list_cons): Add static
10046 prototypes.
10047 (standard_exec_prefix, target_machine, target_version,
10048 default_syscalls_dir, string_list, string_list_cons, find_file,
10049 do_cleaning): Constify a char*.
10050 (safe_read, safe_write): Use PTR, not a char*.
10051 (is_id_char): Take an int, not a char.
10052 (main): Add prototype. Call return, not exit.
10053
10054 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
10055
10056 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
10057 when comparing types.
10058
10059 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
10060
10061 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
10062 (strength_reduce): Release the varrays from the no-bivs early exit.
10063
10064 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
10065 the loop over the registers.
10066
10067 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
10068 for a new obstack.
10069 (restore_tree_status): Check that instead when freeing the obstack.
10070
10071 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
10072
10073 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
10074 as pointers.
10075
10076 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10077
10078 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
10079 operand size modifiers.
10080
10081 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10082
10083 * c-common.c (c_common_nodes_and_builtins): Don't build
10084 va_list_type_node.
10085 * c-common.h (enum c_tree_index and related accesor macros): Remove
10086 everything now declared in tree.h.
10087 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10088 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
10089 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
10090 (error_mark_node, void_type_node, char_type_node, integer_type_node,
10091 unsigned_type_node, ptr_type_node, va_list_type_node,
10092 integer_zero_node, null_pointer_node, integer_one_node): Delete.
10093 (init_decl_processing): Call build_common_tree_nodes and
10094 build_common_tree_nodes_2 instead of building their nodes here.
10095 Don't add roots for these nodes.
10096 * stor-layout.c (size_zero_node, size_one_node): Delete.
10097 (set_sizetype): Make a new node for bitsizetype each time.
10098 * tree.c (global_trees): New variable.
10099 (init_obstacks): Add a gc root for it.
10100 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10101 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
10102 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
10103 (build_common_tree_nodes): New function.
10104 (fix_sizetype): New function.
10105 (build_common_tree_nodes_2): New function.
10106 * tree.h (enum tree_index): New.
10107 (global_trees): Declare.
10108 Add accessor macros for all nodes now moved to global_trees.
10109 Delete their declarations.
10110
10111 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
10112
10113 * c-decl.c (finish_function): When processing a nested function,
10114 push and pop GC context around rest_of_compilation.
10115
10116 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
10117
10118 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
10119 Default ix86_arch to PROCESSOR_I386.
10120 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
10121 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
10122 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
10123 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
10124 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
10125 (EXTRA_SPECS): Remove deleted specs.
10126
10127 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
10128
10129 * function.c (assign_stack_local_1): Allocate from
10130 function->x_frame_offset, not frame_offset.
10131
10132 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
10133
10134 * ggc.h (lang_cleanup_tree): Remove.
10135 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
10136 * ggc-callbacks.c (lang_cleanup_tree): Remove.
10137
10138 * c-decl.c (finish_struct): Use ggc_alloc to allocate
10139 TYPE_LANG_SPECIFIC when garbage collecting.
10140 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
10141 (lang_cleanup_tree): Remove.
10142
10143 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10144
10145 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
10146 * crtstuff.c: Not here.
10147 * dwarf2out.c: Or here.
10148 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
10149 info.
10150
10151 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
10152
10153 * function.h (free_after_compilation): Remove decl parameter.
10154 (free_varasm_status0: Likewise.
10155 (free_emit_status): Likewise.
10156 (free_stmt_status): Likewise.
10157 (free_after_compilation): Likewise.
10158 (init_lang_status): New variable.
10159 (free_lang_status): Likewise.
10160 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
10161 * function.c (init_lang_status): New variable.
10162 (free_lang_status): Likewise.
10163 (push_function_context_to): Don't set function::decl here.
10164 (free_after_copmilation): Make decl parameter implicit. Call
10165 free_lang_status if defined.
10166 (prepare_function_start): Call init_lang_status if defined.
10167 (init_function_start): Set function::decl here.
10168 * profile.c (output_func_start_profiler): Don't call pushdecl
10169 until we've actually started the function.
10170 * stmt.c (free_stmt_status): Make decl parameter implicit.
10171 * toplev.c (rest_of_compilation): Don't pass decl to
10172 free_after_compilation.
10173 * varasm.c (free_varasm_status): Likewise.
10174
10175 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10176
10177 * except.c (call_get_eh_context): Add root when allocating static
10178 tree variable.
10179
10180 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
10181
10182 * arm.c: Include "ggc.h".
10183 (arm_add_gc_roots): New function.
10184 (arm_override_options): Call it.
10185 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
10186
10187 * arm.md (define_asm_attributes): Add a pool_range attribute.
10188
10189 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
10190
10191 * extend.texi (Volatiles): New node.
10192
10193 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
10194
10195 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
10196 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
10197 (struct ggc_any): Replace `mark' with `magic_mark'.
10198 (ggc_alloc_string): Use memcpy, not bcopy.
10199 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
10200 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
10201 (ggc_free_any): New.
10202 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
10203 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
10204 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
10205 Use IS_MARKED. Use ggc_free_any.
10206
10207 1999-09-09 Scott Bambrough <scottb@netwinder.org>
10208
10209 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
10210
10211 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
10212
10213 * toplev.c (main): Always init_ggc.
10214
10215 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
10216
10217 * except.c (find_all_handler_type_matches): Free the list if
10218 we found no matches.
10219
10220 * combine.c (SUBST): Break out to a real function do_SUBST.
10221 (SUBST_INT): Likewise.
10222 * gcse.c (free_pre_mem): Free `temp_bitmap'.
10223 (pre_insert): Free `inserted'.
10224 * loop.c (basic_induction_var): Always set `location'.
10225
10226 * function.c (expand_function_end): Add initial_trampoline as a root.
10227 * rtl.h (init_varasm_once): Declare.
10228 * toplev.c (compile_file): Call it.
10229 * ggc-simple.c (ggc_mark_string_ptr): New.
10230 (ggc_add_string_root): New.
10231 (ggc_collect): Disable collection avoidance temporarily.
10232 * ggc.h (ggc_add_string_root): Declare.
10233 * except.c (create_rethrow_ref): Use ggc_alloc_string.
10234 * optabs.c (init_libfuncs): Likewise.
10235 * varasm.c (named_section): Use ggc_alloc_string.
10236 (make_function_rtl): Likewise.
10237 (make_decl_rtl): Likewise.
10238 (assemble_static_space): Likewise.
10239 (assemble_trampoline_template): Likewise.
10240 (output_constant_def): Likewise.
10241 (force_const_mem): Likewise.
10242 (mark_const_hash_entry): New.
10243 (mark_pool_sym_hash_table): New.
10244 (mark_varasm_state): Use it.
10245 (init_varasm_once): New.
10246
10247 * expr.h (init_one_libfunc): Declare.
10248 * optabs.c (init_one_libfunc): New.
10249 (init_optabs): Use it.
10250 * config/gofast.h: Likewise.
10251 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
10252 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
10253
10254 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
10255
10256 * Makefile.in (cppexp.o): Depend on cpphash.h.
10257 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
10258 Include cpphash.h.
10259 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
10260 * cpplib.c (do_define): Generalise to handle poisoned definitions,
10261 redefining poisoned identifiers, etc.
10262 (do_undef): Don't allow poisoned identifiers to be undefined.
10263 (do_pragma): Add #pragma poison.
10264 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
10265
10266 * cccp.c: Add T_POISON node type.
10267 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
10268 poisoned xxx.
10269 (do_define): Generalise to handle poisoned definitions,
10270 redefining poisoned identifiers, etc.
10271 (do_undef): Don't allow poisoned identifiers to be undefined.
10272 (do_pragma): Add #pragma poison.
10273 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
10274
10275 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
10276 * c-pragma.h: Add ps_poison state. We now always have generic
10277 pragmas.
10278
10279 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
10280
10281 * ggc.h (ggc_alloc): New function.
10282 (ggc_mark): Likewise.
10283 * ggc-simple.c (ggc_any): New structure.
10284 (ggc_status): Add anys.
10285 (n_anys_collected): New variable.
10286 (ggc_alloc): Define.
10287 (ggc_mark): Likewise.
10288 (ggc_collect): Collect the anys.
10289
10290 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10291
10292 * c-decl.c (mark_binding_level): Make static to match prototype.
10293
10294 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
10295
10296 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
10297
10298 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
10299
10300 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
10301 will use into account. Expand the max width to 5.
10302 * rtl.c: Likewise.
10303
10304 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
10305
10306 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
10307 for the rtx length.
10308
10309 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
10310
10311 * alpha.md (call value patterns): Remove the result predicates.
10312
10313 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
10314
10315 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
10316 last change.
10317
10318 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10319
10320 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
10321 changed from extern char *, to extern PTR. Also fix typo in
10322 NEED_DECLARATION_REALLOC test.
10323
10324 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
10325
10326 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10327
10328 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
10329 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
10330 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
10331 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
10332
10333 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
10334
10335 * cccp.c (pcfinclude): Likewise.
10336
10337 * global.c (allocno_compare): Likewise.
10338
10339 * haifa-sched.c (rank_for_schedule): Likewise.
10340
10341 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
10342
10343 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
10344
10345 * stupid.c (stupid_reg_compare): Likewise.
10346
10347 * tree.c (_obstack_allocated_p): Likewise.
10348
10349 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
10350
10351 1999-09-08 Bruce Korb autogen@linuxbox.com
10352
10353 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
10354 why "gperf -F" fails.
10355 * gcc/cp/Makefile.in: ditto
10356 * gcc/Makefile.in: ditto
10357 * gcc/java/Makefile.in: ditto
10358
10359 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
10360
10361 * lists.c: Include ggc.h.
10362 (zap_lists): New.
10363 (init_EXPR_INSN_LIST_cache): Install it.
10364
10365 * ggc-simple.c (init_ggc): Absorb the old init.
10366 (ggc_push_context): Use xcalloc.
10367 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
10368 (ggc_collect): Add [rvts] tags to the collection stats.
10369
10370 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
10371
10372 * cccp.c (main): Fix handling of -include and -imacros options.
10373
10374 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
10375
10376 * cpplib.c (cpp_push_buffer): Fix order of arguments.
10377
10378 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10379
10380 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
10381 genrtl.c.
10382
10383 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
10384
10385 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
10386 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
10387 and SET_DEST. Update comment.
10388
10389 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10390
10391 * config/c4x/c4x.c: Include ggc.h.
10392 (c4x_add_gc_roots): New function.
10393 (c4x_override_options): Call c4x_add_gc_roots.
10394
10395 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
10396
10397 * defaults.h (TARGET_ESC): Move ...
10398 * system.h: ... here, where Linas had it in the first place. Silly me.
10399
10400 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
10401
10402 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
10403 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
10404 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
10405 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
10406 * defaults.h (TARGET_ESC): Add default.
10407
10408 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
10409
10410 * configure.in: add i370-*-openedition, i370-*-mvs and
10411 i370-*-linux targets
10412
10413 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
10414
10415 * dsp16xxx.c: Include ggc.h
10416 (override_options): Mark GC roots.
10417 * mn10200.c: Include ggc.h.
10418 (asm_file_start): Mark GC roots.
10419 * tahoe.c: Include ggc.h.
10420 (extensible_operand): Mark GC roots.
10421
10422 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
10423
10424 * README: Add section discussing status of ELF ABI.
10425 * i370.c: Fix misc spelling mistakes.
10426 (i370_label_scan): Updated notes, exception handling.
10427 (i370_function_prolog): Simplify ELF stack handling.
10428 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
10429 (STACK_GROWS_DOWNWARD): ELF stack grows down.
10430 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
10431 * i370.md: (movdi): Add notes.
10432 (floatsidf2): Use stack not rtca for scratch float area.
10433 (iorsi3): Correct operand constraints.
10434 * x-oe: Restore TAROUTOPTS which are used by pax.
10435
10436 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
10437
10438 * rs6000.c: Include ggc.h.
10439 (rs6000_add_gc_roots): New function.
10440 (override_options): Call it.
10441
10442 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
10443
10444 * alpha.h (alpha_compare): New.
10445 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
10446 * alpha.c: Likewise for the definitions.
10447 (alpha_emit_conditional_branch): Update for alpha_compare.
10448 (alpha_emit_conditional_move): Likewise.
10449 * alpha.md (cmpdf, cmpdi): Likewise.
10450 (setcc patterns): Likewise. Zero alpha_compare after use.
10451 (sne): Optimize (x != 0) into (0U < x).
10452
10453 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
10454
10455 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
10456 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
10457 (INIT_EXPANDERS): Remove.
10458 * alpha.c: Include ggc.h.
10459 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
10460 (alpha_init_machine_status, alpha_mark_machine_status): New.
10461 (override_options): Install them.
10462 (struct machine_function): Moved to alpha.h.
10463 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
10464 (alpha_init_expanders): Remove.
10465 (alpha_return_addr): Adjust to use current_function->machine.
10466 (alpha_ra_ever_killed): Likewise.
10467 (alpha_expand_epilogue): Likewise.
10468 * alpha.md (eh_epilogue): Likewise.
10469
10470 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
10471 Melissa O'Neill <oneill@cs.sfu.ca>
10472 Geoffrey Keating <geoffk@cygnus.com>
10473
10474 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
10475 call-used registers (call-saved registers must still be contiguous
10476 and end with r31, of course).
10477
10478 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
10479
10480 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
10481 (self_promoting_type_p): Delete.
10482 (self_promoting_args_p): Move ...
10483 * c-common.c: ... here.
10484 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
10485 (simple_type_promotes_to): New.
10486 * builtins.c (lang_type_promotes_to): New.
10487 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
10488 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
10489 * c-common.h: ... here.
10490 (self_promoting_args_p, simple_type_promotes_to): Declare.
10491 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
10492 (grokdeclarator): Likewise.
10493 * tree.h (lang_type_promotes_to): Declare.
10494
10495 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
10496
10497 Add some machine-dependent GC roots.
10498 * sparc.c: Include ggc.h.
10499 (sparc_add_gc_roots): New function.
10500 (mark_ultrasparc_pipeline_state): Likewise.
10501 (override_options): Call sparc_add_gc_roots.
10502 * pa.c: Include ggc.h.
10503 (pa_add_gc_roots): New function.
10504 (mark_deferred_plabels): Likewise.
10505 (override_options): Call pa_add_gc_roots.
10506 * mips.c: Include ggc.h.
10507 (mips_add_gc_roots): New function.
10508 (override_options): Use it.
10509
10510 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10511
10512 * cpperror.c (cpp_file_line_for_message): Constify a char*.
10513
10514 * cppexp.c (parse_number, parse_charconst, cpp_lex,
10515 cpp_parse_expr): Add static prototypes.
10516 (parse_charconst): Don't cast away const-ness.
10517 (token): Constify a char*.
10518
10519 * cppfiles.c (file_name_list, include_hash, find_include_file,
10520 finclude, initialize_input_buffer): Constify a char*.
10521 (file_cleanup, find_position): Add static prototypes.
10522
10523 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
10524 collect_expansion): Add static prototypes.
10525 (cpp_install, create_definition, monthnames): Constify a char*.
10526
10527 * cpphash.h (cpp_install): Likewise.
10528
10529 * cppinit.c (known_suffixes, default_include,
10530 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
10531 (base_name, dump_special_to_buffer, initialize_dependency_output):
10532 Add static prototypes.
10533
10534 * cpplib.c (my_strerror): Constify a char*.
10535 (null_underflow, null_cleanup, skip_comment, copy_comment,
10536 copy_rest_of_line, handle_directive, pass_thru_directive,
10537 get_directive_token, read_line_number, cpp_print_file_and_line,
10538 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
10539 v_cpp_warning_with_line, detect_if_not_defined,
10540 consider_directive_while_skipping): Add static prototypes.
10541 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
10542 cpp_pedwarn_with_file_and_line): Constify a char*.
10543
10544 * cpplib.h (cpp_options, include_hash, progname, definition,
10545 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
10546 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
10547 find_include_file, deps_output, include_hash): Constify a char*.
10548
10549 * cppmain.c (progname): Constify.
10550 (main): Add prototype. Use return, not exit.
10551
10552 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
10553 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
10554 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
10555 check_protection): Add static prototype.
10556 (xfree): Remove.
10557 (progname, recognized_macrom, recognized_extern): Constify a char*.
10558 (main): Add prototype.
10559
10560 * gen-protos.c (progname): Constify a char*.
10561
10562 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
10563
10564 * emit-rtl.c (free_emit_status): Take decl as a parameter.
10565 (init_emit_once): Add more GC roots.
10566 * except.c (mark_func_eh_entry): New function.
10567 (mark_eh_node): Mark false_label and rethrow_label.
10568 (init_eh): Add more GC roots.
10569 * function.c (free_after_compilation): Take decl as a paramter.
10570 Call free_stmt_status.
10571 (mark_function_state): Don't assume x_parm_reg_stack_loc is
10572 non-NULL.
10573 * function.h (free_after_compilation): Change prototype.
10574 (free_varasm_status): Likewise.
10575 (free_emit_status): Likewise.
10576 (free_stmt_status): New function.
10577 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
10578 Remove, replacing with ...
10579 (ggc_status): New structure.
10580 (ggc_chain): New variable.
10581 (init_gcc): Define.
10582 (ggc_push_context): New function.
10583 (ggc_pop_context): Likewise.
10584 (ggc_alloc_rtx): Adjust for use of ggc_chain.
10585 (ggc_alloc_rtvec): Likewise.
10586 (ggc_alloc_tree): Likewise.
10587 (ggc_alloc_string): Likewise.
10588 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
10589 (ggc_mark_tree): Give language-dependent code a chance to mark
10590 `x' nodes.
10591 (ggc_mark_tree_varray): Handle empty arrays.
10592 (ggc_collect): Adjust for use of ggc_chain. Clear
10593 bytes_alloced_since_last_gc.
10594 * ggc.h (ggc_pop_context): New function.
10595 (ggc_push_context): Likewise.
10596 * print-tree.c (print_node): Don't print obstacks when GC'ing.
10597 * stmt.c (free_stmt_status): New function.
10598 (init_stmt_for_function): Clear last_expr_value.
10599 * toplev.c (rest_of_compilation): Always call free_after_compilation.
10600 Conditionalize call to ggc_collect.
10601 (main): Call init_ggc.
10602 * tree.c (push_obstacks): Do the push, even when GC'ing.
10603 (push_obstacks_nochange): Likewise.
10604 (pop_obstacks): Liekwise.
10605 * varasm.c (free_varasm_status): Take decl as a parameter.
10606
10607 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
10608
10609 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
10610 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
10611 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
10612 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
10613
10614 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
10615
10616 * pa/x-pa-mpeix: New file for the MPE port.
10617
10618 * pa/quadlib.asm: New file for long double support.
10619
10620 * configure.in: Add hppa1.0-*-mpeix for MPE port.
10621 * configure: Rebuilt.
10622
10623 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
10624
10625 * final.c (shorten_branches): Fix last change.
10626
10627 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
10628
10629 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
10630
10631 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
10632
10633 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
10634 details.
10635
10636 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10637
10638 * c-aux-info.c (concat): Don't define.
10639
10640 * cccp.c (my_strerror): Likewise. All callers changed to use
10641 xstrerror instead.
10642 (do_include): Call xstrdup, not xmalloc/strcpy.
10643 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
10644 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
10645
10646 * collect2.c (my_strsignal): Likewise. All callers changed to use
10647 strsignal instead.
10648 (locatelib): Call xstrdup, not xmalloc/strcpy.
10649
10650 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
10651
10652 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
10653
10654 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
10655
10656 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
10657
10658 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
10659
10660 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
10661
10662 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
10663 malloc/realloc.
10664 (find_all_handler_type_matches): Likewise. Don't check return
10665 value.
10666 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
10667 xmalloc, not malloc.
10668 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
10669
10670 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
10671 (init_spec): Call xcalloc, not xmalloc/bzero.
10672 (set_spec): Call xstrdup, not save_string.
10673 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
10674 (find_a_file): Call xstrdup, not xmalloc/strcpy.
10675 (process_command): Call xstrdup, not save_string.
10676 (main): Call xcalloc, not xmalloc/bzero.
10677
10678 * gcov.c (xmalloc): Don't define.
10679 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
10680 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
10681 (output_data): Call xcalloc, not xmalloc/bzero.
10682
10683 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
10684
10685 * mips-tdump.c (xmalloc): Don't define.
10686 (print_symbol): Call xmalloc, not malloc.
10687 (read_tfile): Call xcalloc, not calloc.
10688
10689 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
10690 Don't define. All callers of xfree/my_strsignal changed to use
10691 free/strsignal instead.
10692 (allocate_cluster): Call xcalloc, not calloc.
10693
10694 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
10695 Fix memory leak, free allocated memory.
10696
10697 * prefix.c (translate_name): Call xstrdup, not save_string.
10698 (update_path): Likewise.
10699
10700 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
10701
10702 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
10703 Don't define. Callers of xfree/savestring2 changed to use
10704 free/concat instead.
10705
10706 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
10707 (init_elim_table): Likewise.
10708
10709 * resource.c (init_resource_info): Likewise.
10710
10711 * stupid.c (stupid_life_analysis): Likewise.
10712
10713 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
10714 (open_dump_file): Call concat, not xmalloc/strcpy/...
10715 (clean_dump_file): Likewise.
10716 (compile_file): Call xstrdup, not xmalloc/strcpy.
10717
10718 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
10719
10720 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
10721 * v850.c (v850_va_arg): New.
10722
10723 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10724
10725 * haifa-sched.c: Tidy comments.
10726
10727 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10728
10729 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
10730 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
10731 $(out_object_file)): Depend on ggc.h.
10732 * c-common.c: Include "ggc.h".
10733 (combine_strings): If doing GC, use ggc_alloc_string.
10734 * c-decl.c: Include "ggc.h".
10735 (ggc_p): Define with value 0.
10736 (mark_binding_level): New function.
10737 (init_decl_processing): Add GC roots.
10738 (mark_c_function_context): New function.
10739 (lang_mark_false_label_stack): New function.
10740 (lang_mark_tree): New function.
10741 (lang_cleanup_tree): New function.
10742 * c-lang.c: Include "ggc.h".
10743 (lang_init): Call c_parse_init.
10744 * c-lex.c: Include "ggc.h".
10745 (check_linenum): If doing GC, don't copy filenames to permanent
10746 obstack.
10747 * c-parse.in: Include "ggc.h".
10748 (c_parse_init): New function.
10749 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
10750 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
10751
10752 * except.c (mark_eh_state): Mark more state.
10753 * function.c (mark_function_state): Likewise.
10754 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
10755 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
10756 * toplev.c (mark_file_stack): New function.
10757 (compile_file): If doing GC, use ggc_alloc_string on input filename.
10758 (main): Add root for input_file_stack.
10759
10760 * i386.c: Include "ggc.h".
10761 (ix86_mark_machine_status): New function.
10762 (override_options): Set mark_machine_status.
10763
10764 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10765
10766 * tree.c (copy_node): Copy node contents also if doing GC.
10767
10768 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10769
10770 * collect2.c (scan_libraries): Fix double-thinko :-).
10771
10772 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
10773
10774 * collect2.c (scan_libraries): Fix thinko.
10775
10776 * cse.c (delete_trivially_dead_insns): Do not skip the last
10777 insn if it is a real insn.
10778
10779 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
10780
10781 * Makefile.in (ggc-simple.o): Depend on hash.h.
10782 * ggc.h (ggc_add_tree_hash_table_root): Declare.
10783 (ggc_mark_tree_varray): Likewise.
10784 (ggc_mark_tree_hash_table): Likewise.
10785 * ggc-simple.c: Include hash.h.
10786 (ggc_mark_tree_hash_table_ptr): New function.
10787 (ggc_mark_tree_hash_table_entry): Likewise.
10788 (ggc_mark_tree_hash_table): Likewise.
10789 (ggc_add_tree_hash_table_root): Likewise.
10790 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
10791 rtx, when defining fields.
10792
10793 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10794
10795 * profile.c (output_func_start_profiler): Remove apparently
10796 nonsensical call to start_sequence.
10797
10798 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
10799
10800 * clipper/clipper.c (clipper_va_start): Fix typos.
10801
10802 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
10803 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
10804 (spur_va_arg): New stub.
10805
10806 * configure.in: Comment out pyramid.
10807
10808 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
10809
10810 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
10811 don't conflict with the bits that win32, cygwin, and dgux
10812 defines.
10813
10814 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
10815 Bernd Schmidt <bernds@cygnus.co.uk>
10816
10817 * integrate.c (function_cannot_inline_p): Do not inline
10818 functions with forced labels.
10819
10820 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
10821 Bernd Schmidt <bernds@cygnus.co.uk>
10822 Mark Mitchell <mark@codesourcery.com>
10823
10824 * Makefile.in (ggc-simple.o): Depend on varray.h.
10825 (rtl.o): Depend on ggc.h.
10826 (genattrtab.o): Depend on ggc.h.
10827 (print-tree.o): Likewise.
10828 (fold-const.o): Likewise.
10829 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
10830 (make_insn_raw): Don't cache insns when GC'ing.
10831 (emit_insn_before): Likewise.
10832 (emit_insn_after): Likewise.
10833 (emit_insn): Likewise.
10834 (start_sequence): Use xmalloc to allocate the sequence_stack.
10835 (end_sequence): Add free to free it.
10836 (gen_sequence): Don't cache insns when GC'ing.
10837 (clear_emit_caches): Don't use sequence_element_free_list.
10838 (init_emit): Use xcalloc, not xmalloc+bzero.
10839 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
10840 * function.c (pop_function_context_from): Use free to free the
10841 fixup_var_refs_queue.
10842 (put_reg_into_stack): Allocate it with xmalloc.
10843 * genattrtab.c: Include ggc.h.
10844 (operate_exp): Don't use obstack_free when GC'ing.
10845 (simplify_cond): Likewise.
10846 (simplify_text_exp): Likewise.
10847 (optimize_attrs): Likewise.
10848 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
10849 GC'ing.
10850 (gencode): Generate a #include for ggc.h.
10851 * ggc-callbacks.c (ggc_p): Define it to zero.
10852 * ggc-none.c (ggc_p): Likewise.
10853 * ggc-simple.c: Include varray.h.
10854 (ggc_mark_tree_varray): New function.
10855 (ggc_add_tree_varray_root): Likewise.
10856 (ggc_mark_tree_varray_ptr): Likewise.
10857 * ggc.h (ggc_p): Declare.
10858 (varray_head_tag): Likewise.
10859 (ggc_add_tree_varray_root): Declare.
10860 * print-tree.c (print_node): Don't check for TREE_PERMANENT
10861 inconsistencies when GC'ing.
10862 * rtl.c: Include ggc.h.
10863 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
10864 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
10865 (rtx_free): Don't call obstack_free when GC'ing.
10866 * toplev.c (rest_of_compilation): Call ggc_collect after every
10867 pass, if GC'ing.
10868 * tree.c (push_obstacks): Do nothing, if GC'ing.
10869 (pop_obstacks_nochange): Likewise.
10870 (pop_obstacks): Likewise.
10871 (make_node): Use ggc_alloc_tree when GC'ing.
10872 (copy_node): Likewise.
10873 (get_identifier): Use ggc_alloc_string when GC'ing.
10874 (build_string): Likewise.
10875 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
10876 (tree_cons): Likewise.
10877 (build1): Likewise.
10878 (type_hash_canon): Don't call obstack_free when GC'ing.
10879
10880 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
10881
10882 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
10883 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
10884
10885 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
10886 Bernd Schmidt <bernds@cygnus.co.uk>
10887 Mark Mitchell <mark@codesourcery.com>
10888
10889 * Makefile.in (stor-layout.o): Depend on ggc.h.
10890 (expr.o): Depend on ggc.h.
10891 (profile.o): Depend on ggc.h.
10892 (stor-layout.o): Depend on ggc.h.
10893 * emit-rtl.c (init_emit_once): Add gc roots.
10894 * expr.c: Include ggc.h.
10895 (emit_block_move): Add gc roots.
10896 (clear_storage): Likewise.
10897 * expr.h (init_stor_layout_once): New function.
10898 * profile.c: Include ggc.h.
10899 (init_arc_profiler): profiler_label is a root.
10900 * scan.c (make_sstring_space): Trust xrealloc to function
10901 correctly with first parameter NULL.
10902 * stor-layout.c: Include ggc.h.
10903 (set_sizetype): Add gc root.
10904 (init_stor_layout_once): New function.
10905 * toplev.c (compile_file): Call it.
10906
10907 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
10908 Bernd Schmidt <bernds@cygnus.co.uk>
10909 Mark Mitchell <mark@codesourcery.com>
10910
10911 * Makefile.in (tree.o): Depend on ggc.h.
10912 (varasm.o): Likewise.
10913 (function.o): Likewise.
10914 (stmt.o): Likewise.
10915 (except.o): Likewise.
10916 (optabs.o): Likewise.
10917 (emit-rtl.o): Likewise.
10918 * emit-rtl.c: Include ggc.h.
10919 (sequence_element_free_list): Remove, and all references.
10920 (mark_sequence): New functions.
10921 (mark_emit_state): New function.
10922 * except.c: Include ggc.h.
10923 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
10924 (mark_tree_label_node): New functions.
10925 (mark_eh_state): New function.
10926 * function.c: Include ggc.h.
10927 (mark_temp_slot, mark_function_chain): New functions.
10928 (mark_function_state): New function.
10929 (init_function_once): New function.
10930 * function.h (init_function_once): New function.
10931 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
10932 * ggc.h (label_node): Declare.
10933 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
10934 (lang_mark_false_label_stack): New function.
10935 (mark_temp_slot): Remove declaration.
10936 (mark_function_chain): Likewise.
10937 (mark_eh_state): Adjust prototype.
10938 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
10939 Likewise.
10940 * optabs.c: Include ggc.h.
10941 (mark_optab): New function.
10942 (init_optabs): Add gc roots.
10943 * stmt.c: Include ggc.h.
10944 (mark_cond_nesting, mark_loop_nesting): New functions.
10945 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
10946 (mark_stmt_state): New function.
10947 * toplev.c (compile_file): Call init_function_once.
10948 * tree.c: Include ggc.h.
10949 (type_hash): Move declaration earlier in file.
10950 (TYPE_HASH_SIZE, type_hash_table): Likewise.
10951 (init_obstacks): Add gc roots.
10952 (mark_type_hash): New function.
10953 * varasm.c: Include ggc.h.
10954 (mark_pool_constant): New function.
10955 (mark_varasm_state): New function.
10956
10957 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10958
10959 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
10960
10961 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10962
10963 * c-decl.c (struct language_function): Renamed from struct c_function.
10964 Delete elt NEXT.
10965 (c_function_chain): Delete.
10966 (push_c_function_context): New arg F. Don't warn about nested
10967 functions here. Fill LANGUAGE elt of F. Delete code to update
10968 c_function_chain. Don't call push_function_context.
10969 (pop_c_function_context): New arg F. Restore from there instead of
10970 from c_function_chain. Don't call pop_function_context. Clear out
10971 LANGUAGE field of F when done.
10972 * c-lang.c: Include "function.h"
10973 (lang_init): Initialize save_lang_status and restore_lang_status.
10974 * c-parse.in (nested_function, nested_function_notype): Warn about
10975 nested functions. Call push_function_context/pop_function_context
10976 instead of the _c_ variants.
10977 * c-tree.h (push_c_function_context, pop_c_function_context): Update
10978 prototype.
10979 * Makefile.in (c-lang.o): Update dependencies.
10980
10981 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
10982 regno_pointer_flag, regno_pointer_align.
10983 (gen_reg_rtx): Use xrealloc to enlarge them.
10984 (free_emit_status): New function.
10985 * function.c (mark_machine_status, mark_lang_status): New variables.
10986 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
10987 in some bits from assign_stack_local. All callers changed to use new
10988 name.
10989 (assign_stack_local): Just call assign_stack_local_1.
10990 (free_after_compilation): New function.
10991 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
10992 (trampoline_address): Likewise.
10993 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
10994 (prepare_function_start): Explicitly clear some more variables.
10995 * function.h (struct function): New elt can_garbage_collect.
10996 (mark_machine_status, mark_lang_status): Declare variables.
10997 (free_after_compilation, free_emit_status, free_varasm_status,
10998 init_varasm_status): Declare functions.
10999 * toplev.c (rest_of_compilation): Call free_after_compilation when
11000 done with the current function.
11001 * varasm.c (free_varasm_status): New function.
11002
11003 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
11004
11005 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
11006 (EXPAND_BUILTIN_VA_ARG): Define.
11007 * sparc.c (sparc_va_start): New.
11008 (sparc_va_arg): New.
11009
11010 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11011
11012 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
11013
11014 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11015
11016 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
11017
11018 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
11019
11020 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
11021 (OBJS): Add $(GGC).
11022 (ggc-callbacks.o): New target.
11023 * ggc-callbacks.c: New file.
11024
11025 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11026
11027 * expr.h: Collapse individual optab and libfunc vars to arrays.
11028 (optab_index, libfunc_index): New enumerations.
11029 (optab_table, libfunc_table): New arrays.
11030 Add accessor macros for both.
11031
11032 * optabs.c (optab_table, libfunc_table): New.
11033 Delete declarations for individual optab and libfunc vars.
11034
11035 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
11036
11037 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
11038
11039 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11040
11041 * Makefile.in (GGC, GGC_LIB): New.
11042 (HOST_RTL): Include ggc-none.o.
11043 (ggc-simple.o): New target.
11044 (ggc-none.o): Likewise.
11045 * tree.h (tree_common): Add gc_mark.
11046 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
11047 (struct rtvec_def): Add gc_mark.
11048 * emit-rtl.c (global_rtl): Update static initializers to contain
11049 enough initializers.
11050 * ggc.h, ggc-none.c, ggc-simple.c: New files.
11051 * toplev.c (gc_time): New variable.
11052 (all_time): New variable.
11053 (compile_file): Print gc time.
11054 (print_time): Calculate percentage of the whole.
11055
11056 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11057
11058 Change obstack memory management and varasm constant pool handling so
11059 that nested functions are treated like any other functions.
11060 * function.c (init_machine_status): New variable.
11061 (push_function_context_to): Set contains_functions for the outer
11062 function. Don't call save_varasm_status.
11063 (pop_function_context_from): Don't call restore_varasm_status. Don't
11064 set current_function_contains_functions.
11065 (prepare_function_start): Call init_varasm_status rather than
11066 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
11067 is non-null.
11068 * function.h (struct function) Add field varasm. Delete fields
11069 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
11070 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
11071 (init_machine_status): Declare.
11072 (save_varasm_status, restore_varasm_status): Delete declarations.
11073 (save_tree_status, restore_tree_status): Delete last argument.
11074 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
11075 code. All callers changed.
11076 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
11077 save_constants_in_decl_trees, restore_constants, save_constants,
11078 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
11079 functions.
11080 (inlining): New variable.
11081 (reg_map, label_map, insn_map, orig_asm_operands_vector,
11082 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
11083 variables.
11084 (save_for_inline_nocopy): Don't save constants.
11085 Don't set inl_emit field in current_function.
11086 (expand_inline_function): Use emit field, not inl_emit, of the inlined
11087 function. Set new variable inlining before
11088 calling copy_rtx_and_substitute.
11089 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
11090 constant pool references if inlining is nonzero.
11091 Delete ADDRESS and (most of the) CONST cases.
11092 (output_inline_function): Save and restore current_function/
11093 current_function_decl. Delete restore_constants code. Don't call
11094 init_const_rtx_hash_table.
11095 * output.h (init_const_rtx_hash_table): Don't declare.
11096 * rtl.h (struct function): Declare.
11097 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
11098 * toplev.c (rest_of_compilation): Don't treat nested functions or
11099 functions containing them specially. Delete all code to deal with
11100 save_for_inline_copying.
11101 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
11102 inline_obstacks): Delete variables.
11103 (save_tree_status): Lose arg CONTEXT. All callers changed.
11104 Simply allocate a new function_maybepermanent_obstack for the new
11105 function, delete all the special cases.
11106 Don't save inline_obstacks.
11107 (restore_tree_status): Lose arg CONTEXT. All callers changed.
11108 Delete special handling for function_maybepermanent_obstack; simply
11109 free it if empty.
11110 Don't restore inline_obstacks.
11111 (permanent_allocation): Delete code that frees inline_obstacks.
11112 (print_inline_obstack_statistics): Delete function.
11113 (dump_tree_statistics): Don't call it.
11114 * varasm.c (struct varasm_status): New.
11115 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
11116 last_pool, pool_offset, const_double_chain): Delete global
11117 variables, replace with accessor macros.
11118 (immed_double_const): Don't walk const_double_chain outside a
11119 function, but don't treat nested functions specially anymore.
11120 (immed_real_const_1): Likewise.
11121 (clear_const_double_mem): Don't treat nested functions specially.
11122 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
11123 (save_varasm_status, restore_varasm_status): Delete functions.
11124 (init_varasm_status): New function.
11125 (force_const_mem): Don't treat nested functions specially.
11126 (find_pool_constant): Accept new arg F, search for constants in
11127 that function's pool rather than the current one. All callers
11128 changed.
11129 (get_pool_constant_for_function, get_pool_mode_for_function): New
11130 functions.
11131
11132 * i386.c (init_386_machine_status): New function, mostly from
11133 clear_386_stack_locals.
11134 (struct machine_functions): Rename element names to avoid name
11135 clashes.
11136 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
11137 macros, replacing global variables.
11138 (clear_386_stack_locals, save_386_machine_status,
11139 restore_386_machine_status): Delete functions.
11140 (override_options): Initialize init_machine_status.
11141 * i386.h (INIT_EXPANDERS): Delete macro.
11142 (save_386_machine_status, restore_386_machine_status,
11143 clear_386_stack_locals): Delete declarations.
11144
11145 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11146
11147 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
11148 (doloop_begin): Simplify pattern and use emit_jump_insn.
11149 (doloop_end): Simplify pattern, switch operand order,
11150 and use emit_jump_insn.
11151
11152 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11153
11154 * function.h (struct function): Add new element LANGUAGE.
11155 (save_lang_status): Declare new variable.
11156 (restore_lang_status): Likewise.
11157 * function.c (save_lang_status): Define.
11158 (restore_lang_status): Likewise.
11159 (push_function_context_to): Call language-specific save function.
11160 (pop_function_context_from): Call language-specific restore function.
11161
11162 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11163
11164 * i386.md (movsf_1): Check REG_P before use of REGNO.
11165 (movdf_1): Likewise.
11166 (movxf_1): Likewise.
11167 (extendsfdf2): Likewise.
11168 (extendsfxf2): Likewise.
11169 (extenddfxf2): Likewise.
11170
11171 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11172
11173 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
11174 constants into memory.
11175 (c4x_shiftable_constant): New function.
11176 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
11177 (c4x_shiftable_constant): Declare.
11178 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
11179 ashlqi3_noclobber): Add new patterns and associated splitters.
11180
11181 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
11182
11183 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
11184 * dwarf2out.c (dwarf2out_frame_init): Likewise.
11185 * final.c (shorten_branches): Likewise.
11186 * global.c (global_alloc): Likewise.
11187 * haifa-sched.c (build_control_flow): Likewise.
11188 * stmt.c (check_for_full_enumeration_handling): Likewise.
11189 (estimate_case_costs): Likewise.
11190
11191 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
11192
11193 * rtl.h (RTL_CHECKC2): Fix typo in last change.
11194
11195 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
11196
11197 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
11198 (recompute_reg_usage): Likewise.
11199 * rtlanal.c (find_regno_fusage): Likewise.
11200
11201 * rtl.c (rtl_check_failed_code1): New function.
11202 (rtl_check_failed_code2): New.
11203 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
11204 (RTL_CHECKC1, RTL_CHECKC2): New.
11205 (XC*): New accessor macros.
11206 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
11207 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
11208 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
11209 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
11210 (TRAP_*, RANGE_INFO_*): Likewise.
11211
11212 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11213
11214 * Makefile.in (tlink.o): Don't depend on toplev.h.
11215
11216 * collect2.c (c_file, o_file, export_file, import_file, ldout,
11217 output_file, nm_file_name, ldd_file_name, strip_file_name,
11218 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
11219 add_prefix, prefix_from_env, prefix_from_string, do_wait,
11220 fork_execute, maybe_unlink, add_to_list,
11221 extract_init_priority, write_list, dump_list,
11222 dump_prefix_list, write_list_with_asm, write_c_file,
11223 write_c_file_stat, write_c_file_glob, scan_prog_file,
11224 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
11225 ignore_library, extract_string, notice, dump_file, target_machine,
11226 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
11227 read_file, print_load_command): Constify a char*.
11228 (fdopen, error, fatal, fatal_perror): Don't prototype.
11229 (my_strerror): Remove. All callers use xstrerror instead.
11230 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
11231 (main): Add prototype. Constify lots of char* ptrs. Change calls
11232 to xcalloc/strcpy/strcat/... to one call to concat.
11233 (main, scan_prog_file, scan_libraries): Use an intermediate
11234 `const char **' to build an argv array.
11235 (mapfile, libselect, libcompare, locatelib): Add prototypes.
11236
11237 * collect2.h (collect_execute, collect_wait, dump_file,
11238 file_exists): Constify a char*.
11239 (ldout, c_file_name, temporary_obstack, permanent_obstack,
11240 temporary_firstobj, vflag, debug): Add extern declarations.
11241 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
11242
11243 * tlink.c: Don't include toplev.h.
11244 (vflag, debug, ldout, c_file_name, temporary_obstack,
11245 permanent_obstack, temporary_firstobj): Don't declare.
11246 (tlink_execute, frob_extension, symbol_hash_lookup,
11247 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
11248 recompile_files, read_repo_files, demangle_new_symbols,
11249 scan_linker_output): Constify a char*.
11250 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
11251 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
11252
11253 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
11254
11255 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
11256 (relative) rather than jsr (absolute) subroutine call insns.
11257 * config/m68k/m68k-coff.h: Ditto.
11258
11259 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
11260
11261 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
11262 now rework these too.
11263 (arm_reorg): If an insn can't reach the end of the current pool,
11264 ensure that we emit that pool before the insn.
11265
11266 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
11267
11268 * tlink.c (scan_linker_output): Skip the initial underscore in
11269 a mangled name if appropriate.
11270
11271 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11272
11273 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
11274 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
11275 error_with_ivar, gen_declarator, create_builtin_decl,
11276 my_build_string, generate_descriptor_table, generate_ivars_list,
11277 generate_dispatch_table, check_protocols, TAG_GETCLASS,
11278 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
11279 dump_base_name, lang_decode_option, build_encode_expr,
11280 start_class, finish_class, encode_pointer, really_start_method,
11281 gen_declaration, dump_interface, handle_class_ref, handle_impent):
11282 Constify.
11283 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
11284 Add static prototypes.
11285 (build_objc_string_decl, build_selector_reference_decl,
11286 encode_bitfield, build_class_reference_decl): Remove unused
11287 parameter, all callers changed.
11288 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
11289 (objc_printable_name): Likewise. Change second parameter to type int.
11290 (init_objc): Use memcpy, not bcopy, to avoid casts.
11291
11292 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
11293
11294 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
11295 reg notes on a deleted insn.
11296 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
11297
11298 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
11299
11300 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
11301
11302 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11303
11304 * stmt.c (expand_asm_operands): Fix index into inout_mode when
11305 reading it.
11306
11307 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
11308
11309 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
11310 * tm.texi (MD_ASM_CLOBBERS): Document it.
11311
11312 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
11313
11314 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
11315 * except.c (expand_rethrow): Remove unused variable.
11316 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
11317 * flow.c (replace_insns): Likewise.
11318 (create_edge_list, verify_edge_list): Likewise.
11319 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
11320
11321 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
11322 is special code to run.
11323 (main): Don't define operands to emit_operand.
11324 * genrecog.c (main): Don't emit an empty peephole2_insn function.
11325
11326 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
11327
11328 * alpha/alpha.h (normal_memory_operand): Declare.
11329 (reg_no_subreg_operand): Declare.
11330 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
11331
11332 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
11333
11334 * c-parse.in (compstmt_primary_start): New, broken out of first
11335 part of compstmt handling in primary.
11336 (primary): Use it. Add an error clause.
11337 (compstmt_nostart): Renamed from compstmt; remove all
11338 initial invocations of compstmt_start.
11339 (compstmt): New.
11340
11341 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
11342
11343 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
11344 needed.
11345
11346 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
11347
11348 * combine.c (simplify_shift_const): Remove extra semicolon.
11349 * dwarf2out.c (remove_AT): Likewise.
11350 * expmed.c (expand_mult): Likewise.
11351 * gcov.c (create_program_flow_graph): Likewise.
11352 * reorg.c (mostly_true_jump): Likewise.
11353
11354 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
11355
11356 * fold-const.c (fold_range_test): Do not try to fold the range
11357 test if the rhs or lhs has side effects.
11358
11359 * combine.c (simplify_rtx): Recognize another case of a synthesized
11360 sign extension.
11361
11362 * varasm.c (mark_constant_pool): When marking indirect references,
11363 only look at SYMBOL_REFs.
11364
11365 * except.c (expand_fixup_region_end): Do not peek at
11366 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
11367
11368 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
11369
11370 * flags.h: New variables align_loops, align_loops_log,
11371 align_jumps, align_jumps_log, align_labels, align_labels_log,
11372 align_functions, align_functions_log.
11373 * toplev.c: Define them.
11374 (f_options): Handle -falign-* when they have no argument.
11375 (main): Add logic to set variables for -falign-functions,
11376 -falign-jumps, -falign-labels, -falign-loops.
11377 Make it -fsched-verbose=<n> and -finline-limit=<n>.
11378 (display_help): Change help to match options.
11379 * final.c (LABEL_ALIGN): Default to align_labels_log.
11380 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
11381 (LOOP_ALIGN): Default to align_loops_log.
11382 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
11383 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
11384 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
11385 * varasm.c (assemble_start_function): Handle align_functions.
11386
11387 * config/sparc/sparc.h: Don't declare sparc_align_*.
11388 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
11389 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
11390 sparc.c.
11391 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
11392 it's a promise.
11393 * config/sparc/sparc.c: Delete sparc_align_loops,
11394 sparc_align_jumps, sparc_align_funcs and the corresponding string
11395 variables.
11396 (sparc_override_options): Default align_functions on ultrasparc.
11397 Delete -malign-* handling.
11398
11399 * config/mips/mips.c (override_options): On 64-bit targets,
11400 try to align code to 64-bit boundaries.
11401 (print_operand): New substitution, %~,
11402 which aligns labels to align_labels_log.
11403 * config/mips/mips.md (div_trap_normal): Use %~.
11404 (div_trap_mips16): Likewise.
11405 (abssi): Likewise.
11406 (absdi2): Likewise.
11407 (ffssi2): Likewise.
11408 (ffsdi2): Likewise.
11409 (ashldi3_internal): Likewise.
11410 (ashrdi3_internal): Likewise.
11411 (lshrdi3_internal): Likewise.
11412 (casesi_internal): Likewise.
11413
11414 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
11415
11416 Merge new ia32 backend from the branch!
11417
11418 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
11419 See ChangeLog.P2 on new_ia32_branch for details.
11420
11421 * rtl.h (stack_regs_mentioned_p): Delete prototype.
11422 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
11423 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11424 * i386/gas.h (ASM_FILE_START): Define.
11425 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
11426 for name change of ix86_valid_decl_attribute_p.
11427 (i386_pe_valid_type_attribute_p): Similarly.
11428
11429 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
11430
11431 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
11432 to step through CC modes.
11433
11434 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11435
11436 * regmove.c (fixup_match_1): Don't move INSN in front of P if
11437 it would end up in the shadow of a live flags regsiter.
11438
11439 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11440
11441 * reload1.c: Fix many indentation problems.
11442 * reload.c: Likewise.
11443
11444 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
11445
11446 * alias.c (non_local_reference_p): Constify fmt.
11447
11448 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
11449
11450 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
11451
11452 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
11453
11454 * cse.c (delete_trivially_dead_insns): Do not delete stores to
11455 the internal_arg_pointer.
11456
11457 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
11458
11459 Merge peephole2 from new_ia32_branch:
11460 * Makefile.in (STAGESTUFF): Add *.peephole2.
11461 (mostlyclean): Likewise.
11462 (recog.o): Depend on resource.h.
11463
11464 * final.c (peephole): Conditionalize decl on HAVE_peephole.
11465 (final_scan_insn): Likewise for the invocation of peephole.
11466 * genconfig.c (main): Look for peephole and peephole2 patterns.
11467 Emit HAVE_peephole* accordingly.
11468 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
11469 * flags.h (flag_peephole2): Declare.
11470 * toplev.c: New pass peephole2. New flag -fpeephole2.
11471
11472 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
11473 * gencodes.c (main): Likewise.
11474 * genextract.c (main): Likewise.
11475 * genoutput.c (main): Likewise.
11476 * genemit.c (max_operand_1): Look for the max scratch operand.
11477 (gen_rtx_scratch): New.
11478 (gen_exp): Use it, and pass on new arg subroutine_type.
11479 (gen_expand): Take max scratch into account.
11480 (gen_split): Emit peephole2 functions.
11481 (output_peephole2_scratch): New.
11482 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
11483 * genrecog.c (routine_type): Add PEEPHOLE2.
11484 (IS_SPLIT): New.
11485 (make_insn_sequence): Match outer parallel for peep2. Discard
11486 top level scratches and dups.
11487 (add_to_sequence): New args insn_type and top. Update all callers.
11488 Handle toplevel peep2 matching insns.
11489 (write_subroutine): Handle peep2.
11490 (write_tree_1): Likewise.
11491 (write_tree): Likewise.
11492 (main): Likewise.
11493 (change_state): New arg afterward. Update all callers.
11494 Handle matching separate insns.
11495 * recog.c (recog_next_insn): New.
11496 (peephole2_optimize): New.
11497 * rtl.def (DEFINE_PEEPHOLE2): New.
11498 * resource.c (find_free_register): New argument last_insn. Use it
11499 to find a register available through the entire span.
11500 * resource.h (find_free_register): Update prototype.
11501
11502 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
11503
11504 * i386.c (output_strlen_unroll): Don't write xops[7]
11505 label if it wasn't set.
11506
11507 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
11508
11509 * cpplib.c (struct directive): Const-ify name pointer and
11510 function pointer prototype.
11511 (validate_else, do_define, do_line, do_include, do_undef,
11512 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
11513 do_elif, do_endif, do_sccs, do_assert, do_unassert,
11514 do_warning): Const-ify second arg.
11515 (directive_table): Mark const. Reorder entries by frequency
11516 of usage, record statistics.
11517
11518 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
11519
11520 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
11521 bounds- check RTL accesses if --enable-checking.
11522 (RTVEC_ELT): Bounds check if --enable-checking.
11523 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
11524 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
11525 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
11526 GET_NUM_ELEM.
11527 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
11528 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
11529
11530 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
11531 (NOTE_SOURCE_FILE): Use X0STR.
11532 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
11533 MEM_ALIAS_SET): Use X0INT.
11534 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
11535 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
11536 Use X0EXP.
11537 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
11538 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
11539 (rtl_check_failed_bounds, rtl_check_failed_type1,
11540 rtl_check_failed_type2, rtvec_check_failed_bounds): New
11541 functions.
11542 (fancy_abort): Fix comment.
11543
11544 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
11545 (cse_insn): Decrement LABEL_NUSES for jump target before
11546 deleting jump insn.
11547 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
11548 * final.c (alter_subreg): Compute regno before changing x to
11549 REG; set REGNO(x) after changing it.
11550 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
11551 notes containing CONST_INTs.
11552 (delete_eh_regions): Use NOTE_EH_HANDLER.
11553 * function.c (put_reg_into_stack): Make reg a MEM before
11554 initializing it.
11555 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
11556 delete insn.
11557 (gen_mem_addressof): Make reg a MEM before initializing it.
11558 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
11559 X0WINT.
11560 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
11561 deleting an insn, not after.
11562 (block_alloc): Only look at PATTERN(insn) if we have to, and
11563 only if it's format class 'i'.
11564 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
11565 CONST_INT before using its INTVAL.
11566 * print-rtl.c (print_rtx): Use X0STR.
11567 * regmove.c (fixup_match_1): Don't look at PATTERN of
11568 non-class-'i' insn chain elements.
11569 * reload.c (loc_mentioned_in_p): Take address of
11570 in->fld[1].rtx directly.
11571 * reload1.c (reload): Change reg to a MEM before initializing
11572 it.
11573 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
11574 have no names.
11575 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
11576
11577 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
11578
11579 * config/mips/mips.c (machine_dependent_reorg): Force a
11580 barrier to output the local constant pool if a barrier hasn't
11581 been found at a natural point in the instruction stream.
11582
11583 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11584
11585 * c-parse.in (language_string): Constify.
11586
11587 * dwarf2out.c (language_string): Remove declaration.
11588
11589 * dwarfout.c (language_string): Likewise.
11590
11591 * toplev.c (language_string, init_parse, finish_parse): Likewise.
11592
11593 * tree.h (language_string, init_parse, finish_parse): Declare.
11594
11595 * i386/sun386.h (language_string): Remove declaration.
11596
11597 * mips.h (language_string): Likewise.
11598
11599 * nextstep.h (language_string): Likewise.
11600
11601 * nextstep21.h (language_string): Likewise.
11602
11603 * rs6000.c (language_string): Likewise.
11604
11605 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11606
11607 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
11608 (getpwd.o): Remove target.
11609
11610 * getpwd.c: Delete file. Its in libiberty now.
11611
11612 * dbxout.c (getpwd): Don't prototype.
11613 * dwarf2out.c (getpwd): Likewise
11614 * dwarfout.c (getpwd): Likewise
11615 * final.c (getpwd): Likewise.
11616 * protoize.c (getpwd): Likewise.
11617
11618 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11619
11620 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
11621
11622 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
11623
11624 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
11625 mark_set_resources.
11626
11627 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
11628
11629 * fixinc/Makefile.in (subdir): New.
11630 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
11631 (Makefile): New.
11632
11633 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
11634
11635 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
11636 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
11637 be shared.
11638
11639 * invoke.texi: Fix typo.
11640
11641 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
11642 changed. Handle autoincrement addressing modes.
11643
11644 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
11645 just like we would the virtual incoming args register when
11646 integrating.
11647
11648 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
11649
11650 * rs6000.h (ASM_FILE_START): Specify complete filename, including
11651 path, in .file directive.
11652
11653 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
11654
11655 * gcc.texi (External Bugs): Remove obsolete note about Perl on
11656 SunOS.
11657
11658 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
11659
11660 * stdbool.h: Make the typedef name _Bool, with bool a #defined
11661 alias.
11662
11663 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11664
11665 * tree.c (tree_code_name): Constify a char*.
11666
11667 * tree.h (tree_code_name, decl_printable_name): Likewise.
11668
11669 * function.h (struct function): Likewise.
11670
11671 * toplev.c (decl_name, decl_printable_name): Likewise.
11672
11673 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
11674
11675 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
11676 (init_objc): Remove function pointer cast.
11677
11678 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
11679
11680 * pa.md (interspace_jump): New pattern.
11681 (builtin_longjmp): New expander.
11682
11683 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
11684
11685 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
11686 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
11687 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
11688
11689 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
11690
11691 * jump.c (delete_prior_computation): Also check calls
11692 to constant functions. Don't bother checking for a
11693 REG_UNUSED note before adding it.
11694 (delete_computation): Handle multi-word hard registers
11695 when synthesizing missing REG_DEAD notes for a register
11696 which is both set and used by an insn.
11697
11698 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11699
11700 * loop.c (this_loop_info): New variable.
11701 (loop_has_call, loop_has_volatile, loop_has_tablejump,
11702 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
11703 All uses updated.
11704 (prescan_loop, strength_reduce): New argument loop_info. All callers
11705 updated.
11706 (scan_loop): New variable loop_info, initialise to address of
11707 this_loop_info.
11708 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
11709 Delete variable loop_has_multiple_exit targets and replace with
11710 field in this_loop_info.
11711 (find_and_verify_loops): Rename this_loop to this_loop_num.
11712 (strength_reduce): Delete loop_iteration_info. Replace variable
11713 loop_info with function argument of same name.
11714 (insert_bct): Rework test for loop being completely unrolled.
11715
11716 * loop.h (struct loop_info): New fields num, loops_enclosed,
11717 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
11718 has_indirect_jump, and cont. Redefine use of unroll_number.
11719 (loop_unroll_number): Delete.
11720
11721 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
11722 field of loop_info.
11723 (loop_iterations): Delete variable vtop and instead use
11724 loop_info->vtop computed in prescan_loop.
11725
11726 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
11727
11728 * fix-header.c (main): Do not pass a null pointer to strcmp.
11729
11730 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
11731
11732 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
11733 filenames.
11734 * configure: Rebuilt.
11735
11736 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
11737
11738 * jump.c (jump_optimize_1): Do not delete assignments to
11739 internal_arg_pointer.
11740 * cse.c (delete_trivially_dead_insns): Always consider a set of
11741 the internal_arg_pointer live.
11742
11743 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
11744
11745 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
11746 (update_life_info) [REG_WAS_0]: Search the original insns rather
11747 than the new insns for the note. Fix typos finding note_dest.
11748 If no dest found, discard the note rather than abort.
11749 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
11750 (replace_insns): Remove the old insn list after update_life_info
11751 not before.
11752
11753 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
11754
11755 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
11756 sched_analyze_insn.
11757 (sched_analyze_1): Let add_dependence care for not adding dups.
11758 (sched_analyze_2): Likewise.
11759 (add_branch_dependences): Likewise.
11760
11761 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
11762
11763 * i386/winnt.c (export_list): New type.
11764 (exports_head): Rename to
11765 (export_head): this.
11766 (i386_pe_record_exported_symbol): Add is_data flag.
11767 (i386_pe_asm_file_end): Emit directive for exported variables.
11768 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
11769 prototype.
11770 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
11771 (ASM_DECLARE_OBJECT_NAME): Likewise.
11772 (ASM_DECLARE_FUNCTION_NAME): Likewise.
11773 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11774
11775 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
11776
11777 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
11778
11779 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
11780 operand.
11781
11782 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
11783
11784 * config/openbsd.h: Define SET_ASM_OP.
11785 * tm.texi: cross-reference SET_ASM_OP in the index.
11786
11787 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
11788
11789 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
11790 for a CONST_DOUBLE, at compile time. Initialize rtx_length
11791 and class_narrowest_mode at compile time. Kill init_rtl.
11792 Mark rtx_length, mode_class, mode_size, mode_unit_size,
11793 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
11794 rtx_format as const. Kill all references to EXTRA_CC_MODES or
11795 EXTRA_CC_NAMES.
11796 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
11797 format.
11798 * rtl.h: Declare rtx_length and rtx_format as const.
11799 * machmode.def: Define CC(). Use CC() to define CCmode. If
11800 EXTRA_CC_MODES is defined, expand it here.
11801 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
11802 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
11803 const. Kill all references to EXTRA_CC_MODES.
11804
11805 * toplev.c: Don't prototype or call init_rtl.
11806 * optabs.c: Don't call init_mov_optab.
11807 * genemit.c: Don't generate init_mov_optab. Don't call
11808 init_rtl.
11809 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
11810 here.
11811 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
11812 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
11813 genrecog.c: Don't call init_rtl.
11814
11815 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
11816 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
11817 definition of EXTRA_CC_MODES.
11818
11819 * md.texi: Kill ref to EXTRA_CC_NAMES.
11820 * tm.texi: Document new way to define EXTRA_CC_MODES.
11821
11822 * genrecog.c: Do not look up the name of a define_split.
11823 (Unrelated bugfix.)
11824
11825 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
11826
11827 * config/v850/v850.md: Fix typo introduced by previous delta.
11828
11829 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11830
11831 * gcc.c (fatal): Make definition static to match prototype.
11832
11833 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11834
11835 * combine.c (get_last_value): Don't look for earlier sets if the last
11836 known set is somewhere in between the insns being combined.
11837
11838 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
11839
11840 * configure.in: Don't use shell ! to negate exit codes
11841 * configure: Regenerate
11842
11843 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
11844
11845 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
11846 the fact that ALIGN is measured in bits, not bytes.
11847
11848 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
11849
11850 * errors.c: New file; defines functions error, warning, and
11851 fatal, variables have_error and progname.
11852 * errors.h: New file; prototypes and decls for stuff in errors.c.
11853
11854 * Makefile: Add rules to build errors.o and
11855 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
11856 genopinit, genrecog, genextract, genpeep, genattr, and
11857 genoutput with errors.o. Add errors.h to deps of genconfig.o,
11858 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
11859 genpeep.o, genattr.o, and genoutput.o.
11860
11861 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
11862 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
11863 define or prototype fatal. Set progname at beginning of main.
11864 * genoutput.c: Likewise, and don't define or prototype error
11865 either.
11866
11867 * c-typeck.c (c_expand_start_case): Return immediately if exp
11868 is an ERROR_MARK.
11869 * fold-const.c (operand_equal_p): Return immediately if arg1
11870 or arg0 are ERROR_MARKs.
11871 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
11872 fields of type ERROR_MARK when calculating if the record can
11873 go in a register.
11874
11875 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
11876 with much help from Jeffrey A Law and Richard Henderson
11877
11878 * i386.md: In the 6 insns which call output_fix_trunc,
11879 earlyclobber operands[0].
11880
11881 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
11882
11883 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
11884 creating new registers.
11885
11886 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
11887
11888 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
11889 i386_reg_alloc_order, i386_regparm_string,
11890 i386_align_loops_string, i386_align_jumps_string,
11891 i386_align_funcs_string, i386_preferred_stack_boundary_string,
11892 and i386_branch_cost_string as type "const char *".
11893 * i386.c: Define all above strings as type "const char *".
11894
11895 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
11896
11897 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
11898 when emitting alignment padding. Emit padding byte of 0 instead of 4.
11899
11900 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
11901
11902 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
11903 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
11904
11905 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
11906
11907 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
11908 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
11909 (dwarf2out_line, dwarf2out_finish): Likewise.
11910 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
11911
11912 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
11913
11914 * tree.c (lang_unsave_expr_now) : Correct return type.
11915 * tree.h (lang_unsave_expr_now) : Same.
11916
11917 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
11918
11919 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
11920 instead of duplicating code.
11921
11922 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11923
11924 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
11925
11926 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
11927
11928 * tree.h: fancy_abort always takes three args.
11929 * resource.c: Move include of system.h before toplev.h.
11930
11931 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
11932
11933 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
11934 as SYMBOL_REFs.
11935
11936 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
11937
11938 * system.h: Don't redefine abort or trim_filename.
11939 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
11940 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11941 whether or not __FUNCTION__ is available.
11942 * tree.h: Duplicate rtl.h's definition of abort, for files
11943 that don't include rtl.h. Delete all code to perform type
11944 checking with a compiler other than GCC.
11945 * varray.h: Delete all code to perform type checking with a
11946 compiler other than GCC. Make VARRAY_CHECK() always evaluate
11947 its arguments exactly once, using a statement expression.
11948 Adjust the VARRAY_<type> accessor macros to match.
11949 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
11950 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
11951 caller's location. Define fatal_insn and fatal_insn_not_found
11952 as macros that use _fatal_insn and _fatal_insn_not_found.
11953 (fancy_abort, trim_filename): Kill prototypes.
11954
11955 * rtl.c (trim_filename): Move here from toplev.c.
11956 (fancy_abort): New function.
11957 (DIR_SEPARATOR): Provide default definition.
11958 * tree.c (tree_check_failed, tree_class_check_failed): Go
11959 through fancy_abort.
11960 (tree_check, tree_class_check, cst_or_constructor_check,
11961 expr_check): Delete.
11962 * varray.c (varray_check_failed): New function.
11963 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
11964 _fatal_insn and _fatal_insn_not_found. Go through
11965 fancy_abort.
11966 (trim_filename, fancy_abort): Delete.
11967
11968 * builtins.c (expand_builtin_args_info): Report ICE with abort.
11969 * except.c (start_catch_handler): Report ICE with error/abort
11970 combo.
11971 * final.c (output_operand_lossage): Likewise.
11972 * flow.c (verify_flow_info): Likewise.
11973
11974 * gcc.c: Prototype fatal.
11975 * gengenrtl.c: Undef abort after including rtl.h not system.h.
11976 * genattr.c, genattrtab.c, genemit.c, genextract.c,
11977 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
11978 Don't define fancy_abort.
11979
11980 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
11981
11982 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
11983 canonization.
11984
11985 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
11986
11987 * m88k.h (VERSION_INFO2): Kill.
11988 (VERSION_STRING): Kill.
11989 (TM_RCS_ID): Kill.
11990 (VERSION_INFO1): Tidy.
11991 (TARGET_VERSION): Update.
11992 * m88k/dgux.h (VERSION_INFO2): Kill.
11993 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
11994 * m88k/luna.h (VERSION_INFO1): Tidy.
11995 * m88k/sysv4.h (VERSION_INFO1): Likewise.
11996 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
11997 (output_file_start): Adjust for death of VERSION_STRING.
11998
11999 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
12000
12001 * cpplib.c (detect_if_not_defined): New function.
12002 (do_if): Use it to detect potential once-only headers.
12003
12004 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
12005
12006 * c-common.c (combine_strings): Always set TREE_CONSTANT.
12007
12008 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
12009
12010 * combine.c (nonzero_bits) : Allow single-ly set registers to be
12011 anywere in the function only if they are pseudos and set before
12012 being used (not live at the start of the function).
12013 (num_sign_bit_copies) : Same.
12014 (get_last_value_validate) : Same.
12015 (get_last_value) : Same.
12016
12017 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
12018
12019 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
12020 where N and M are constant and N is an integer multiple of M.
12021
12022 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12023
12024 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
12025 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
12026 sbitmap_union_of_preds): Add prototypes.
12027 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
12028 the intersection of successors with the new flow graph structures.
12029 (sbitmap_intersection_of_preds): New function to compute the
12030 intersection of predecessors with the new flow graph structures.
12031 (sbitmap_union_of_succs): New function to compute the union of
12032 successors with the new flow graph structures.
12033 (sbitmap_union_of_preds): New function to compute the union of
12034 predecessors with the new flow graph structures.
12035 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
12036 (expr_reaches_here_p): Use edge and basic_block structures instead
12037 of s_preds and s_succs.
12038 (compute_cprop_avinout): Use new sbitmap routines.
12039 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
12040 of s_preds and s_succs.
12041 * flow.c (compute_flow_dominators): Compute dominators using
12042 edges and basic blocks instead of s_preds and s_succs.
12043
12044 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12045
12046 * lists.c (unused_insn_list, unused_expr_list): New file for
12047 maintaining various types of lists. New statics for maintaining a
12048 cache of available INSN_LIST and EXPR_LIST nodes.
12049 (free_list): Static function for freeing a list of INSN/EXPR nodes.
12050 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
12051 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
12052 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
12053 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
12054 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
12055 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
12056 (free_INSN_LIST_node): Free an individual INSN_LIST node.
12057 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
12058 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
12059 (remove_dependence, free_pending_lists): Use new global routines.
12060 (flush_pending_lists, sched_analyze_insn): Use new global routines.
12061 (sched_analyze, compute_block_backward_dependences): Use new routines.
12062 (sched_analyze_1, sched_analyze_2): Use new routines.
12063 (schedule_insns): Use new global routines.
12064 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
12065 prototypes.
12066 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
12067 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
12068 prototypes.
12069 * toplev.c (rest_of_compilation): Initialize node cache.
12070 * Makefile.in (OBJS): Add lists.o to list of object files.
12071 (lists.o): Add dependancies.
12072
12073 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
12074
12075 * config/v850/v850.md: Fix compile time warning messages.
12076 * config/v850/v850.c: Fix compile time warning messages.
12077 * config/v850/v850.h: Fix compile time warning messages.
12078
12079 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12080
12081 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
12082 Remove unused prototype for `init_lengths'.
12083
12084 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12085
12086 * calls.c (emit_call_1): Mark parameter `stack_size' with
12087 ATTRIBUTE_UNUSED.
12088 (expand_call): Initialize variable `insn'.
12089 (emit_library_call): Likewise for variable `high_to_save'.
12090 (emit_library_call_value): Likewise.
12091 (store_one_arg): Likewise for variables `lower_bound' and
12092 `upper_bound'.
12093
12094 * combine.c (try_combine): Likewise for variables `i2_code_number'
12095 and `other_code_number'.
12096 (find_split_point): Likewise for variables `pos', `unsignedp' and
12097 `inner'.
12098 (simplify_if_then_else): Likewise for variables `op' and `c1'.
12099 (simplify_and_const_int): Remove unused variable `width'.
12100 (merge_outer_ops): Likewise.
12101
12102 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
12103 HOST_WIDE_INT' when comparing against one.
12104 (simplify_relational_operation): Likewise.
12105 (cse_insn): Initialize variables `src_eqv_volatile',
12106 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
12107
12108 * final.c (init_final): Constify parameter `filename'.
12109 (final_start_function): Mark parameter `optimize' with
12110 ATTRIBUTE_UNUSED.
12111 (profile_function): Likewise for parameters `first' and `optimize'.
12112 (output_source_line): Likewise for parameter `file'.
12113
12114 * integrate.c (subst_constants): Cast a value to `size_t' when
12115 comparing against one.
12116 (mark_stores): Initialize variable `mode'. Cast a value to
12117 `size_t' when comparing against one.
12118
12119 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
12120
12121 * loop.c (move_movables): Initialize variable `first'.
12122 (strength_reduce): Likewise for variable `increment'.
12123 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
12124 value to `size_t' when comparing against one.
12125 (load_mems): Initialize variable `end_label'.
12126
12127 * output.h (init_final): Constify parameter.
12128
12129 * reload.c (decompose): Initialize variable `base'.
12130
12131 * reload1.c (reload): Likewise for variable `is_scalar'.
12132 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
12133 (choose_reload_regs): Initialize variable `mode'.
12134 (emit_reload_insns): Likewise for variable `store_insn'.
12135 (reload_cse_noop_set_p): Mark parameter `insn' with
12136 ATTRIBUTE_UNUSED.
12137 (reload_combine): Initialize variable `set'.
12138
12139 * unroll.c (unroll_loop): Likewise for variable `local_label'.
12140 (copy_loop_body): Cast a value to `size_t' when comparing against
12141 one.
12142
12143 * varasm.c (assemble_variable): Initialize variable `size_tree'.
12144 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
12145 (remove_from_pending_weak_list): Mark parameter `name' with
12146 ATTRIBUTE_UNUSED.
12147
12148 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12149
12150 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
12151 gcse dump file.
12152
12153 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
12154
12155 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
12156 (ASM_DECLARE_FUNCTION_NAME): Define.
12157 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
12158 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
12159 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
12160 not already defined.
12161
12162 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
12163
12164 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
12165 of n_popped when call/call_value are not defined.
12166
12167 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
12168
12169 * tm.texi: GNU CC -> GCC conversion.
12170 (CC1_SPEC): Indicate it is used for all language front ends.
12171
12172 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
12173
12174 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
12175 NOTE_INSN_EH_REGION_END correctly.
12176
12177 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
12178 Jeff Law <law@cygnus.com>
12179
12180 * loop.c (strength_reduce): Automatically unroll loops if the
12181 unrolled loop size is smaller than the rolled loop size.
12182
12183 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
12184 and delete comment that code should be rewritten.
12185
12186 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
12187
12188 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
12189 as reachable.
12190
12191 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
12192
12193 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12194
12195 * fixinc/mkfixinc.sh: Don't fix uwin headers.
12196 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
12197 (LINK_SPEC): Add -u _main when building executables.
12198 (ASM_DECLARE_FUNCTION): Update from Cygwin.
12199 (ASM_FILE_END): Use the default for ix86-pe.
12200 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
12201
12202 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
12203
12204 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
12205 and ASM_CLOSE_PAREN are empty strings.
12206
12207 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
12208 Geoffrey Keating <geoffk@cygnus.com>
12209
12210 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
12211 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
12212 (unprotoize.o): Ditto.
12213 (test-protoize-simple): Don't define STD_PROTO_DIR.
12214 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
12215 changes to make 'test-protoize-simple' pass.
12216 (STD_PROTO_DIR): Remove define.
12217 (STANDARD_EXEC_PREFIX): Supply default define.
12218 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
12219 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
12220 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
12221 (GET_ENV_PATH_LIST): New macro.
12222 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
12223 (do_processing): Initialize default_syscalls_dir using new
12224 macros. Use it to initialize syscalls_absolute_filename.
12225
12226 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
12227
12228 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
12229 B into a register before emit_conditional_move.
12230
12231 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
12232
12233 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
12234 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
12235 multiplicand out of (+ (* a b) (* c d)).
12236
12237 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
12238 Richard Henderson <rth@cygnus.com>
12239
12240 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
12241 (new_insn_dead_notes): Likewise.
12242 (update_n_sets): Likewise.
12243 (update_flow_info): Move to flow.c, renamed to update_life_info;
12244 extend to handle multiple source insns.
12245 * flow.c: Include resource.h
12246 (unlink_insn_chain): New.
12247 (split_hard_reg_notes): New.
12248 (maybe_add_dead_note): New.
12249 (maybe_add_dead_note_use): New.
12250 (find_insn_with_note): New.
12251 (new_insn_dead_notes): New.
12252 (update_n_sets): New.
12253 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
12254 (maybe_remove_dead_notes): New.
12255 (update_life_info): New.
12256 (prepend_reg_notes): New.
12257 (replace_insns): New.
12258 * output.h (update_life_info): Declare.
12259 * recog.c (split_block_insns): Use update_life_info.
12260 * resource.c (find_free_register): Use reg_alloc_order, don't use
12261 fixed regs, make sure the mode is supported, don't use new regs.
12262 (reg_dead_p): New.
12263 * rtl.h (replace_insns): Declare.
12264
12265 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
12266
12267 * expr.c (expand_expr): Cope with COND_EXPRs with one
12268 non-returning branch.
12269
12270 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
12271
12272 * expr.c (store_expr): Always pass down the target, even when not
12273 doing CSE.
12274
12275 1999-08-24 Nick Clifton <nickc@cygnus.com>
12276
12277 * configure.in: Define target_cpu_default for v850 targets.
12278 * configure: Regenerate
12279
12280 * config/v850/v850.h (TARGET_CPU_generic): Define.
12281 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
12282 addresses are 4 byte aligned.
12283
12284 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
12285 addresses.
12286
12287 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12288
12289 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
12290 (main): Add prototypes.
12291
12292 * genattrtab.c (substitute_address, write_const_num_delay_slots,
12293 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
12294 (write_attr_get): Emit prototypes along with function definition.
12295 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
12296 (write_complex_function): Emit static prototype along with
12297 function definition.
12298
12299 * genemit.c (gen_split): Emit prototypes along with function
12300 definition.
12301
12302 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
12303 Likewise for predicates and `insn_operand_predicate'.
12304 (process_template): Emit static prototype along with function
12305 definition.
12306
12307 * genrecog.c (make_insn_sequence): Constify a char*. Add
12308 prototypes for get_split_*().
12309 (write_subroutine): Emit prototypes along with function
12310 definition.
12311
12312 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12313
12314 * gcse.c (find_avail_set): Follow chains of register-register copies.
12315 Use oprs_not_set_p to guarantee that the returned value can be
12316 substituted.
12317 (cprop_insn): Don't verify the return value of find_avail_set with
12318 oprs_not_set_p.
12319
12320 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
12321 (cprop_cc0_jump): New function.
12322 (cprop_insn): Break out new function cprop_jump and use it.
12323 Also use cprop_cc0_jump for machines with CC0.
12324 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
12325
12326 * tree.h (current_function_calls_setjmp,
12327 current_function_calls_longjmp): Delete declarations.
12328 * dsp16xx.c: Include "function.h".
12329 * elxsi.c: Likewise.
12330 * gmicro.c: Likewise.
12331 * h8300.c: Likewise.
12332 * i370.c: Likewise.
12333 * m32r.c: Likewise.
12334 * mn10200.c: Likewise.
12335 * mn10300.c: Likewise.
12336 * ns32k.c: Likewise.
12337 * spur.c: Likewise.
12338 * v850.c: Likewise.
12339
12340 * rtl.h (rtx_equal_function_value_matters): Declare.
12341 * toplev.c (rtx_equal_function_value_matters): Don't declare.
12342 * cse.c: Likewise.
12343 * function.c: Likewise.
12344 * emit-rtl.c: Likewise.
12345
12346 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
12347
12348 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
12349 call.
12350
12351 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12352
12353 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
12354 exactly.
12355
12356 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
12357
12358 * cpp.texi: Add a node documenting macro varargs (copied
12359 from extend.texi).
12360
12361 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
12362
12363 * cppspec.c: Put a null pointer at the end of the new argv.
12364
12365 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
12366
12367 * configure.in: Remove code to select/de-select the haifa
12368 scheduler. Every scheduled port gets haifa now.
12369 * configure: Rebuilt.
12370 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
12371 * sched.c Deleted.
12372 * Makefile.in: Corresponding changes.
12373
12374 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12375
12376 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
12377 All callers changed.
12378 (prepare_float_lib_cmp): Likewise.
12379 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
12380 * expr.h (emit_float_lib_cmp): Delete declaration.
12381 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
12382 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
12383 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
12384 specially.
12385 (cmptf): Now conditional on TARGET_HARD_QUAD.
12386
12387 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
12388
12389 * resource.c (mark_target_live_regs): Use
12390 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
12391
12392 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12393
12394 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
12395
12396 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
12397
12398 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
12399
12400 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12401
12402 * rtl.h (rtx_format): Constify a char*.
12403
12404 * rtl.c (rtx_format): Likewise.
12405 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
12406 (init_rtl): Use accessor macro, not `rtx_format'.
12407
12408 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
12409 char*.
12410
12411 * caller-save.c (mark_referenced_regs): Likewise.
12412
12413 * combine.c (subst, make_compound_operation, known_cond,
12414 gen_rtx_combine, update_table_tick, get_last_value_validate,
12415 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
12416
12417 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
12418 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
12419 count_reg_usage): Likewise.
12420
12421 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
12422 Likewise.
12423
12424 * final.c (leaf_renumber_regs_insn): Likewise.
12425
12426 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
12427 dump_edge_info, count_reg_references): Likewise.
12428
12429 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
12430 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
12431 Likewise.
12432
12433 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
12434 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
12435 add_label_notes): Likewise.
12436
12437 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
12438 clear_struct_flag, count_sub_rtxs, count_alternatives,
12439 compares_alternatives_p, contained_in_p, walk_attr_value,
12440 write_expr_attr_cache): Likewise.
12441
12442 * genconfig.c (walk_insn_part): Likewise.
12443
12444 * genemit.c (max_operand_1, gen_exp): Likewise.
12445
12446 * genextract.c (walk_rtx): Likewise.
12447
12448 * genflags.c (num_operands): Likewise.
12449
12450 * genoutput.c (scan_operands): Likewise.
12451
12452 * genpeep.c (match_rtx): Likewise.
12453
12454 * genrecog.c (add_to_sequence): Likewise.
12455
12456 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
12457 Likewise.
12458
12459 * integrate.c (save_constants, copy_for_inline,
12460 copy_rtx_and_substitute, subst_constants, restore_constants):
12461 Likewise.
12462
12463 * jump.c (mark_jump_label, invert_exp, redirect_exp,
12464 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
12465
12466 * local-alloc.c (contains_replace_regs, memref_referenced_p):
12467 Likewise.
12468
12469 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
12470 add_label_notes, replace_call_address, count_nonfixed_reads,
12471 invariant_p, find_single_use_in_loop, find_mem_givs,
12472 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
12473 Likewise.
12474
12475 * print-rtl.c (reg_names, print_rtx): Likewise.
12476
12477 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
12478
12479 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
12480 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
12481 print_blocks): Likewise.
12482
12483 * regclass.c (fix_register, record_address_regs,
12484 reg_scan_mark_refs): Likewise.
12485
12486 * regmove.c (stable_but_for_p): Likewise.
12487
12488 * reload.c (loc_mentioned_in_p, operands_match_p,
12489 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
12490 copy_replacements, refers_to_regno_for_reload_p,
12491 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
12492 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
12493 Likewise.
12494
12495 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
12496 delete_address_reloads_1, count_occurrences,
12497 reload_cse_mem_conflict_p, reload_combine_note_use,
12498 add_auto_inc_notes): Likewise.
12499
12500 * resource.c (mark_referenced_resources, mark_set_resources):
12501 Likewise.
12502
12503 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
12504 reg_mentioned_p, regs_set_between_p, modified_between_p,
12505 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
12506 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
12507 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
12508 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
12509
12510 * sched.c (sched_analyze_2, attach_deaths): Likewise.
12511
12512 * stupid.c (stupid_mark_refs): Likewise.
12513
12514 * unroll.c (remap_split_bivs): Likewise.
12515
12516 * varasm.c (mark_constants): Likewise.
12517
12518 * a29k/a29k.c (uses_local_reg_p): Likewise.
12519
12520 * alpha/alpha.c (summarize_insn): Likewise.
12521
12522 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
12523 eliminate_lr2ip): Likewise.
12524
12525 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
12526
12527 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
12528 reg_mentioned_in_mem): Likewise.
12529
12530 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
12531 symbolic_reference_mentioned_p): Likewise.
12532
12533 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
12534
12535 * sh/sh.c (regs_used, mark_use): Likewise.
12536
12537 * vax/vax.c (vax_rtx_cost): Likewise.
12538
12539 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12540
12541 * machmode.h (mode_name): Constify a char*.
12542
12543 * rtl.c (mode_name): Likewise.
12544
12545 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
12546
12547 * optabs.c (init_libfuncs): Constify a char*.
12548
12549 * print-tree.c (mode_name): Remove redundant declaration.
12550 (print_node): Use accessor macro, not `mode_name'.
12551
12552 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
12553 not `mode_name'.
12554 (new_spill_reg): Constify a char*.
12555
12556 * tree.c (mode_name): Remove redundant declaration.
12557
12558 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12559
12560 * rtl.c (rtx_name): Constify a char*.
12561
12562 * rtl.h (rtx_name, fix_sched_param): Likewise.
12563
12564 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
12565 (mypr): Use accessor macro, not `rtx_name'.
12566
12567 * genemit.c (print_code): Constify a char*.
12568
12569 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
12570
12571 * genpeep.c (print_code): Constify a char*.
12572
12573 * genrecog.c (print_code): Likewise.
12574
12575 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
12576 end_bb): Add static prototype.
12577 (draw_edge): Constify a char*.
12578 (end_bb): Remove unused parameter.
12579
12580 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
12581 print_block_visualization): Constify a char*.
12582
12583 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
12584
12585 * c-common.c (c_get_alias_set): Update comment.
12586
12587 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12588
12589 * linux.h (LIB_SPEC): Added.
12590
12591 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12592
12593 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
12594
12595 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
12596
12597 * tree.c (expr_check): Fix typo in last change.
12598
12599 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
12600
12601 * rtl.def (NOTE): Change format to "iuu0n".
12602 (ADDR_DIFF_VEC): Change format to "eEee0".
12603 (ADDRESSOF): Change format to "eit".
12604
12605 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
12606 (RTVEC_ELT): Change to match.
12607 (XVECEXP): Use XVEC and RTVEC_ELT.
12608 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
12609 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
12610 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
12611 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
12612 TRAP_CONDITION, TRAP_CODE): Use XEXP.
12613 (INTVAL): Use XWINT.
12614 (ADDRESSOF_DECL): Use XTREE.
12615 (SET_ADDRESSOF_DECL): Delete.
12616 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
12617 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
12618 ifdefed out since 2.6 at least.
12619 (gen_rtvec_vv): Delete prototype.
12620
12621 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
12622 not rtunion.
12623 (copy_most_rtx): Handle 't' format letter.
12624 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
12625 (gen_rtvec_vv): Delete function. All callers changed to use
12626 gen_rtvec_v instead.
12627 * print-rtl.c (print_rtx): Move special casing of NOTEs to
12628 the '0' format letter.
12629
12630 * function.c (gen_mem_addressof): Don't use
12631 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
12632 instead.
12633 * integrate.c (copy_rtx_and_substitute): Likewise.
12634 Copy 't' slots with XTREE.
12635 (subst_constants): Treat 't' slots like '[swi]' slots.
12636 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
12637 * jump.c (rtx_equal_for_thread_p): Likewise.
12638 * rtlanal.c (rtx_equal_p): Likewise.
12639 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
12640 only four arguments.
12641 * gengenrtl.c (type_from_format): Provide correct types for
12642 'b' and 't' slots.
12643
12644
12645 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
12646 If a recent gcc is in use (always in stage2 and beyond), use
12647 statement expressions, so we don't make a function call unless
12648 the check fails. Evaluate arguments exactly once.
12649 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
12650 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
12651 Delete.
12652 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
12653 they evaluate their arguments exactly once, irrespective of
12654 the compiler in use.
12655
12656 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
12657 is used by the currently-enabled check macros. This is:
12658 (tree_check_failed, tree_class_check_failed): For gcc.
12659 (tree_check, tree_class_check, cst_or_constructor_check,
12660 expr_check): For other compilers.
12661
12662 * gencheck.c: Do not define any *_CHECK1 macros.
12663
12664 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
12665 Mark Mitchell <mark@codesourcery.com>
12666
12667 * c-common.c (c_get_alias_set): Fix support for poitners and
12668 references.
12669
12670 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
12671
12672 * alias.c: Include tree.h.
12673 (nonlocal_reference_p, mark_constant_function): New functions.
12674 * flow.c (life_analysis): Call mark_constant_function.
12675 * rtl.h (mark_constant_function): Declare it.
12676
12677 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
12678
12679 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
12680 unrecognisable switches.
12681
12682 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12683
12684 * loop.c (recombine_givs): Set ix field after sorting.
12685 (recombine_givs): Remove bogus index / giv lockstep looping.
12686
12687 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12688
12689 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
12690 on CODE.
12691 (emit_store_flag_force): Use do_compare_rtx_and_jump.
12692 (do_cmp_and_jump): Formatting fixes.
12693 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
12694 do_compare_rtx_and_jump instead of compare_from_rtx.
12695 (do_compare_rtx_and_jump): New function; mostly copied from
12696 compare_from_rtx.
12697 (do_jump_for_compare): Delete.
12698 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
12699 MIN_EXPR.
12700 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
12701 of compare/do_jump_for_compare pairs.
12702 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
12703 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
12704 compare_from_rtx/do_jump_for_compare pairs.
12705 (do_jump_by_parts_equality): Likewise.
12706 (do_jump_by_parts_equality_rtx): Likewise.
12707 * expr.h (do_compare_rtx_and_jump): Declare.
12708 * optabs.c (prepare_cmp_insn): New function, contains most of the code
12709 that used to be in emit_cmp_insn.
12710 (cmp_available_p): New function.
12711 (prepare_operand): New function.
12712 (emit_cmp_and_jump_insn_1): New function, contains some code that used
12713 to be in emit_cmp_insn.
12714 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
12715 parameters to be pointers; don't emit final compare but modify some of
12716 the values pointed to by the args so the caller can perform the
12717 correct comparison.
12718 (expand_binop): Call emit_store_flag_force with signed forms of
12719 comparison code.
12720 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
12721 emit_jump_insn pair.
12722 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
12723 emit_cmp_and_jump_insn_1. Call emit_queue.
12724 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
12725 arg.
12726 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
12727 jump sets cc0 before deleting it.
12728 * integrate.c (expand_inline_function): Likewise.
12729 * unroll.c (unroll_loop): Similar changes in several places.
12730 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
12731 before deleting it.
12732
12733 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12734
12735 * Makefile.in (insn-recog.o): Update dependencies.
12736 * genrecog.c (main): Make generated file include "function.h".
12737
12738 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
12739
12740 * cse.c (cse_insn): Call never_reached_warning when a jump is
12741 changed to be unconditional.
12742 * flags.h: Declare warn_notreached.
12743 * flow.c (delete_block): Call never_reached_warning when
12744 a block is deleted.
12745 * jump.c (delete_barrier_successors): Call never_reached_warning
12746 when we delete everything after a BARRIER.
12747 (never_reached_warning): New function.
12748 * rtl.h: Declare never_reached_warning.
12749 * toplev.c (warn_notreached): New variable.
12750 (lang_independent_options): Set warn_notreached
12751 when -Wunreachable-code.
12752 (compile_file): We need line numbers for -Wunreachable-code.
12753
12754 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
12755
12756 * haifa-sched.c (insn_unit): Fix typo on out of range test.
12757 * sched.c (insn_unit): Likewise.
12758
12759 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
12760
12761 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
12762
12763 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12764
12765 * flow.c (create_edge_list): Use xmalloc, not malloc.
12766
12767 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
12768
12769 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
12770 C-style comments. Do not lose the character before double slash.
12771
12772 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12773
12774 * basic-block.h (struct edge_list): Stucture to maintain a vector
12775 of edges.
12776 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
12777 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
12778 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
12779 New function prototypes.
12780 * flow.c (create_edge_list): Function to create an edge list.
12781 (free_edge_list): Discards memory used by an edge list.
12782 (print_edge_list): Debug output showing an edge list.
12783 (verify_edge_list): Internal consistency check for an edge list.
12784 (find_edge_index): Function to find an edge index for a pred and succ.
12785
12786 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
12787
12788 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
12789 hashtable.
12790
12791 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
12792
12793 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
12794
12795 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12796
12797 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
12798
12799 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
12800
12801 * toplev.c (rest_of_compilation): Allow machine dependent
12802 reorganisation pass to place information into the RTL dump
12803 file if it so wishes.
12804
12805 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
12806
12807 * explow.c (hard_function_value): Use VOIDmode instead of
12808 MAX_MACHINE_MODE.
12809 * stmt.c (expand_return): Likewise.
12810 * stor-layout.c (get_best_mode): Likewise.
12811
12812 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
12813 emit call instead of emit_insn call.
12814
12815 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
12816
12817 * configure.in: Handle --disable/enable-win32-registry.
12818 * install.texi: Document --disable/enable-win32-registry.
12819 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
12820 (WIN32_REGISTRY_KEY): New macro.
12821 * prefix.c: Use to enable/disable win32-specific code.
12822 (lookup_key): Use versioned key.
12823 * configure: Regenerate.
12824 * config.in: Likewise.
12825
12826 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
12827
12828 * cpplib.c (read_line_number): New fn, split out of...
12829 (do_line): Here.
12830
12831 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
12832
12833 tree.c (lang_unsave_expr_now) : New.
12834 (unsave_expr_now): Call lang_unsave_expr_now.
12835 tree.h (lang_unsave_expr_now) : New.
12836
12837 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
12838
12839 * toplev.c (flag_new_exceptions): On by default.
12840
12841 1999-08-13 Michael Meissner <meissner@cygnus.com>
12842
12843 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
12844
12845 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12846
12847 * dwarfout.c (fundamental_type_code): Return FT_boolean for
12848 INTEGER_TYPE with precision==1, it's __java_boolean.
12849
12850 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12851
12852 * global.c (prune_preferences): Move some invariants out of the
12853 inner loop.
12854
12855 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
12856
12857 * configure.in (alpha*-dec-osf*): Add osf5.
12858
12859 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
12860
12861 * configure.in: Rework handling of ARM GNU/Linux slightly.
12862 (arm*-*-linux-gnuoldld): New target.
12863 * configure: Regenerate.
12864 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
12865 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
12866 * config/arm/linux-oldld.h: New file.
12867 * config/arm/linux-elf26.h: Don't include linux-elf.h.
12868 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
12869 Don't define.
12870 * config/arm/linux-elf.h (ASM_SPEC): Define.
12871 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
12872 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
12873 for 26-bit APCS and old linker.
12874 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
12875 `arm_elf'.
12876 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
12877 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
12878 don't define `arm' or `arm_elf'.
12879 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
12880 MULTILIB_DIRNAMES): Define. Fix typo in comment.
12881
12882 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
12883
12884 * rtl.texi: Fix typo.
12885
12886 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
12887
12888 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
12889
12890 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
12891
12892 * extend.texi (C++ Signatures): Remove node.
12893 * invoke.texi: Remove discussion of -fhandle-signatures,
12894 signature, sigof, __signature__, and __sigof__.
12895
12896 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
12897
12898 * Makefile.in (JAVAGC): Removed.
12899
12900 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
12901
12902 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12903
12904 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
12905
12906 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
12907
12908 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
12909
12910 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
12911 a register that is already known to be a pointer.
12912
12913 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
12914
12915 * fixinc/inclhack.tpl: Only install assert.h conditionally.
12916 * fixinc/inclhack.sh: Regenerated.
12917 * fixinc/fixincl.sh: Regenerated.
12918
12919 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
12920
12921 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
12922 Fix documentation of -ansi flag to describe its C++ behavior.
12923 Remove bogus reference to GCC 2.9.
12924
12925 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
12926
12927 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
12928 note if it is non-NULL.
12929
12930 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12931
12932 * except.h (eh_nesting_info): Add new structure defintion.
12933 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
12934 (reachable_handlers, update_rethrow_references): Add function
12935 prototypes.
12936 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
12937 a rethrow symbol instead of an integer exception region number.
12938 * flow.c (Make_edges): Use new exception nesting routines to determine
12939 which handlers are reachable from a CALL or asynchronous insn.
12940 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
12941 goto receivers.
12942 (delete_eh_regions): Update rethrow labels, and don't delete
12943 regions which are the target of a rethrow.
12944 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
12945 avoid overloading the SYMBOL_REF_USED flag.
12946 (rethrow_symbol_map): Use new rethrow_ref field.
12947 (rethrow_used): Use new rethrow_ref field.
12948 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
12949 of an integer. Fix formatting.
12950 (output_exception_table_entry): Use new rethrow_ref field.
12951 (can_throw): Check for EH_REGION_NOTE before deciding
12952 whether a CALL can throw or not.
12953 (scan_region): Call rethrow_used() instead of accessing data structure.
12954 (update_rethrow_references): New function to make sure only regions
12955 which are still targets of a rethrow are flagged as such.
12956 (process_nestinfo): New static function to initialize a handler
12957 list for a specific region.
12958 (init_eh_nesting_info): New function to allocate and initialize
12959 the list of all EH handlers reachable from all regions.
12960 (reachable_handlers): New function to retrieve the list of handlers
12961 reachable from a specific region and insn.
12962 (free_eh_nesting_info): New function to dispose of a list of
12963 reachable handlers.
12964
12965 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
12966
12967 * flow.c (split_edge): Set JUMP_LABEL field.
12968 (commit_one_edge_insertion): Set head correctly for insert_before.
12969 When inserting insns, update insn block numbers if allocated.
12970
12971 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12972
12973 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
12974 retry_incomplete_types): Add static prototype.
12975 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
12976 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
12977 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
12978 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
12979 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
12980 Constify a char*.
12981
12982 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
12983 dwarf2out_start_source_file, dwarf2out_line): Likewise.
12984
12985 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12986
12987 * output.h (assemble_name): Constify a char*.
12988
12989 * varasm.c (UNIQUE_SECTION, assemble_start_function,
12990 assemble_variable, assemble_name): Likewise.
12991
12992 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
12993
12994 * arm/pe.c (arm_pe_unique_section): Likewise.
12995
12996 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
12997
12998 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
12999
13000 * i386/interix.c (i386_pe_unique_section): Likewise.
13001
13002 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
13003
13004 * i386/winnt.c (i386_pe_unique_section): Likewise.
13005
13006 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
13007
13008 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
13009
13010 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
13011
13012 * pa/pa.c (output_call): Likewise.
13013
13014 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
13015
13016 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
13017
13018 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
13019 Likewise.
13020
13021 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
13022 Likewise.
13023
13024 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
13025
13026 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
13027 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
13028
13029 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
13030
13031 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13032
13033 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
13034
13035 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13036
13037 * tree.h (lang_identify): Constify a char*.
13038 (print_error_function): Add extern prototype. Constify a char*.
13039
13040 * c-lang.c (lang_identify): Constify a char*.
13041
13042 * objc/objc-act.c (lang_identify): Constify a char*.
13043
13044 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13045
13046 * genpeep.c (main): Make generated file include "function.h".
13047 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
13048
13049 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13050
13051 * Makefile.in: Update dependencies.
13052 * alias.c: Include "function.h"
13053 * c-decl.c: Likewise.
13054 * caller-save.c: Likewise.
13055 * calls.c: Likewise.
13056 * combine.c: Likewise.
13057 * cse.c: Likewise.
13058 * explow.c: Likewise.
13059 * final.c: Likewise.
13060 * global.c: Likewise.
13061 * graph.c: Likewise.
13062 * local-alloc.c: Likewise.
13063 * loop.c: Likewise.
13064 * optabs.c: Likewise.
13065 * profile.c: Likewise.
13066 * recog.c: Likewise.
13067 * regclass.c: Likewise.
13068 * regmove.c: Likewise.
13069 * reload.c: Likewise.
13070 * reorg.c: Likewise.
13071 * resource.c: Likewise.
13072 * sched.c: Likewise.
13073 * stupid.c: Likewise.
13074 * config/1750a/1750a.c: Likewise.
13075 * config/a29k/a29k.c: Likewise.
13076 * config/arc/arc.c: Likewise.
13077 * config/arm/arm.c: Likewise.
13078 * config/arm/thumb.c: Likewise.
13079 * config/c4x/c4x.c: Likewise.
13080 * config/clipper/clipper.c: Likewise.
13081 * config/convex/convex.c: Likewise.
13082 * config/fx80/fx80.c: Likewise.
13083 * config/i860/i860.c: Likewise.
13084 * config/m68k/m68k.c: Likewise.
13085 * config/m88k/m88k.c: Likewise.
13086 * config/mips/mips.c: Likewise.
13087 * config/pdp11/pdp11.c: Likewise.
13088 * config/pyr/pyr.c: Likewise.
13089 * config/romp/romp.c: Likewise.
13090 * config/sh/sh.c: Likewise.
13091 * config/tahoe/tahoe.c: Likewise.
13092 * config/vax/vax.c: Likewise.
13093 * config/we32k/we32k.c: Likewise.
13094 * config/sparc/sparc.c: Include "function.h".
13095 (mem_min_alignment): Test current_function rather than
13096 regno_pointer_align.
13097 * config/pa/pa.c: Likewise.
13098 (compute_frame_size): Delete declaration of
13099 current_function_outgoing_args_size.
13100 * config/arc/arc.h (current_function_varargs): Delete declaration.
13101 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
13102 declaration.
13103 * config/i370/i370.h (current_function_outgoing_args_size): Delete
13104 declaration.
13105 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
13106 current_function_uses_pic_offset_table.
13107 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
13108 of current_function_returns_pointer.
13109 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13110 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13111 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13112 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13113 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13114 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13115 * config/m88k/m88k.c: Include "function.h"
13116 (call_used_regs, current_function_pretend_args_size,
13117 current_function_outgoing_args_size, frame_pointer_needed): Delete
13118 declarations.
13119 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
13120 declaration.
13121 * config/mips/mips.h (current_function_calls_alloca): Delete
13122 declaration.
13123 * config/mn10200/mn10200.h (current_function_needs_context,
13124 rtx_equal_function_value_matters): Delete declarations.
13125 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
13126 flag_pic): Delete declarations.
13127 * config/pa/pa.h (current_function_pretend_args_size,
13128 current_function_decl): Delete declarations.
13129 * config/pa/som.h (current_function_varargs): Delete declaration.
13130 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
13131 declaration.
13132 * config/pyr/pyr.h (current_function_pretend_args_size,
13133 current_function_args_size, current_function_calls_alloca): Delete
13134 declarations.
13135 * config/sh/sh.h (current_function_varargs): Delete declaration.
13136 * config/sparc/sparc.h (current_function_outgoing_args_size,
13137 current_function_calls_alloca, current_function_decl): Delete
13138 declarations.
13139 * config/spur/spur.h (current_function_pretend_args_size,
13140 current_function_calls_alloca): Delete declarations.
13141 * config/v850/v850.c (current_function_outgoing_args_size): Delete
13142 declaration.
13143 * config/vax/vms.h (current_function_name): Delete declaration.
13144 * gcse.c: Include "function.h".
13145 (current_function_name, current_function_calls_setjmp): Delete
13146 declarations.
13147 * haifa-sched.c: Include "function.h".
13148 (forced_labels): Delete declaration.
13149 * jump.c: Likewise.
13150 * reg-stack.c: Likewise.
13151 * reload1.c: Likewise.
13152 * genemit.c (main): Make generated file include function.h.
13153 * genoutput.c (output_prologue): Likewise.
13154
13155 * builtins.c (saveregs_value, apply_args_value): Delete variables.
13156 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
13157 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
13158 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
13159 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
13160 macros for some of them.
13161 (emit_filename, emit_lineno): Delete declarations.
13162 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
13163 regno_pointer_* variables through current_function.
13164 (gen_inline_header_rtx): Delete function.
13165 (save_emit_status): Delete function.
13166 (set_new_last_label_num): New function.
13167 (clear_emit_caches): New function.
13168 (restore_emit_status): Just clear last_labelnum and call
13169 clear_emit_caches.
13170 (get_last_insn_anywhere): Variable sequence_stack is now accessed
13171 through macro seq_stack.
13172 (add_insn_after): Likewise.
13173 (add_insn_before): Likewise.
13174 (remove_insn): Likewise.
13175 (pop_topmost_sequence): Likewise.
13176 (in_sequence_p): Likewise.
13177 (start_sequence_for_rtl_expr): Likewise.
13178 (start_sequence): Likewise, and likewise for
13179 sequence_rtl_expr/seq_rtl_expr.
13180 (push_topmost_sequence): Likewise.
13181 (end_sequence): Likewise.
13182 (init_virtual_regs): Now takes a "struct emit_status *" argument.
13183 All callers changed. Store into that pointer instead of globals.
13184 (init_emit): Allocate emit elt of current_function.
13185 Changes for sequence_rtl_expr/sequence_stack renaming.
13186 Call clear_emit_caches instead of doing it in-line.
13187 Access regno_pointer_* variables through current_function.
13188 (init_emit_once) Don't clear sequence_stack.
13189
13190 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
13191 Delete variables.
13192 (arg_pointer_save_area): Delete declaration.
13193 (finish_expr_for_function): Renamed from init_queue; no longer static.
13194 (init_expr): Don't call init_queue.
13195 (save_expr_status, restore_expr_status): Delete functions.
13196 (expand_expr): Changes to reflect new layout of struct function.
13197 Don't access current_function_check_memory_usage when current_function
13198 is 0.
13199 * expr.h (forced_labels, save_expr_regs, saveregs_value,
13200 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
13201 current_function_outgoing_args_size, current_function_arg_offset_rtx,
13202 current_function_uses_const_pool, function_call_count,
13203 current_function_uses_pic_offset_table, nonlocal_labels,
13204 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
13205 current_function_check_memory_usage, nonlocal_goto_handler_slots,
13206 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
13207 declarations.
13208 (finish_expr_for_function): Declare.
13209 * flags.h (current_function_has_nonlocal_label,
13210 current_function_has_nonlocal_goto, current_function_is_thunk,
13211 current_function_has_computed_jump): Delete declarations.
13212 * flow.c (forced_labels): Delete declaration.
13213 * function.c (current_function_pops_args,
13214 current_function_returns_struct, current_function_returns_pcc_struct,
13215 current_function_needs_context, current_function_calls_setjmp,
13216 current_function_calls_longjmp, current_function_has_nonlocal_label,
13217 current_function_has_nonlocal_goto, current_function_is_thunk,
13218 current_function_has_computed_jump, current_function_calls_alloca,
13219 current_function_contains_functions, current_function_returns_pointer,
13220 current_function_epilogue_delay_list, current_function_args_size,
13221 current_function_pretend_args_size, current_function_arg_offset_rtx,
13222 current_function_outgoing_args_size, current_function_varargs,
13223 current_function_stdarg, current_function_args_info, cleanup_label,
13224 current_function_name, current_function_uses_const_pool,
13225 current_function_instrument_entry_exit, current_function_return_rtx,
13226 current_function_uses_pic_offset_table, nonlocal_labels,
13227 current_function_internal_arg_pointer, current_function_cannot_inline,
13228 current_function_check_memory_usage, function_call_count,
13229 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
13230 nonlocal_goto_stack_level, return_label, save_expr_regs,
13231 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
13232 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
13233 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
13234 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
13235 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
13236 Delete variables.
13237 (push_function_context_to): Don't save them. Don't call
13238 save_storage_status, save_emit_status or save_expr_status.
13239 (pop_function_context_from): Don't restore them. Don't call
13240 restore_storage_status or restore_expr_status.
13241 (get_func_frame_size): New function.
13242 (get_frame_size): Use it.
13243 (assign_outer_stack_local): Reflect some member name changes in struct
13244 function.
13245 (put_reg_into_stack): Likewise.
13246 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
13247 seq_rtl_expr.
13248 (fixup_var_refs): Likewise.
13249 (fix_lexical_addr): Likewise.
13250 (trampoline_address): Likewise.
13251 (prepare_function_start): Clear field inlinable of current_function.
13252 (init_function_for_compilation): New function.
13253 (expand_dummy_function_end): New function.
13254 (expand_function_end): Call finish_expr_for_function.
13255 * function.h (struct emit_status): New; fields moved here from struct
13256 function and from global variables. Add accessor macros for some of
13257 the fields.
13258 (struct expr_status): Likewise.
13259 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
13260 (struct function): Add fields expr and emit, inlinable, inl_emit,
13261 original_arg_vector, original_decl_initial, inl_last_parm_insn,
13262 inl_max_label_num. Add many comments.
13263 Add accessor macros for all elts of struct function that no longer
13264 have a global variable.
13265 (cleanup_label, return_label, frame_offset, tail_recursion_label,
13266 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
13267 stack_slot_list): Delete declarations.
13268 (get_func_frame_size): Declare.
13269 (save_expr_status, restore_expr_status, save_emit_status,
13270 save_storage_status, restore_storage_status): Delete declarations.
13271 (init_virtual_regs): Declare.
13272 * output.h (current_function_pops_args,
13273 current_function_returns_struct, current_function_returns_pcc_struct,
13274 current_function_needs_context, current_function_calls_setjmp,
13275 current_function_calls_longjmp, current_function_calls_alloca,
13276 current_function_has_nonlocal_label, current_function_varargs,
13277 current_function_has_computed_jump, current_function_returns_pointer,
13278 current_function_contains_functions, current_function_args_size,
13279 current_function_pretend_args_size, current_function_stdarg,
13280 current_function_outgoing_args_size, current_function_args_info,
13281 current_function_name, current_function_return_rtx,
13282 current_function_epilogue_delay_list,
13283 current_function_uses_const_pool, current_function_cannot_inline):
13284 Delete declarations.
13285 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
13286 regno_reg_rtx): Delete declaration.
13287 (REGNO_POINTER_FLAG): Delete macro.
13288 * stmt.c (expand_goto): Changes to reflect that some fields in struct
13289 function were renamed.
13290 * stor-layout.c (save_storage_status, restore_storage_status): Delete
13291 functions.
13292 * toplev.c: Include "function.h".
13293 (current_function_decl): Delete declaration.
13294 (compile_file): Call init_dummy_function_start and
13295 expand_dummy_function_end around some initializations that need to
13296 emit rtl.
13297 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
13298 Call init_function_for_compilation.
13299 * unroll.c: Include "function.h"
13300 (unroll_loop): Access regno_pointer_* variables through
13301 current_function.
13302
13303 * tree.h (struct tree_decl): Add elt f to saved_insns member.
13304 (DECL_SAVED_INSNS): use it.
13305 (expand_dummy_function_end): Declare.
13306 (init_function_for_compilation): Declare.
13307 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
13308 that it's no longer an INLINE_HEADER.
13309 (expand_call): Likewise.
13310 * integrate.c (finish_inline): Delete function.
13311 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
13312 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
13313 args. Don't generate an INLINE_HEADER rtx, just return the arg
13314 vector. All callers changed.
13315 (save_for_inline_copying): Create a duplicate struct emit_status to
13316 hold the emit state for compiling the current function. Use this and
13317 the other new fields in struct function that are for integration
13318 instead of an INLINE_HEADER.
13319 Use memcpy instead of bcopy.
13320 Store the current struct function in DECL_SAVED_INSNS of fndecl.
13321 (save_for_inline_nocopy): Similar changes, except no new emit_status
13322 is needed here.
13323 (expand_inline_function): Get information from function structure,
13324 not from an inline header rtx.
13325 (output_inline_function): Lose code to extract the necessary
13326 information from an inline header; simply put back the function
13327 structure into current_function. Clear its inlinable elt.
13328 * rtl.def (INLINE_HEADER): Delete.
13329 * rtl.h: Delete all accessors for an INLINE_HEADER.
13330 (gen_inline_header_rtx): Delete declaration.
13331 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
13332 Delete declarations.
13333 (REGNO_POINTER_ALIGN): Delete.
13334 (clear_emit_caches): Declare.
13335 (set_new_last_label_num): Declare.
13336
13337 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
13338
13339 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
13340
13341 * except.c (expand_eh_region_start_for_decl): Always start a new block.
13342 * stmt.c (is_eh_region): Make sure current_function is present, too.
13343
13344 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
13345
13346 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
13347 for 64bit PA targets.
13348
13349 * pa.h (SELECT_SECTION): Define.
13350 * som.h (SELECT_SECTION): Delete.
13351
13352 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13353
13354 * alias.c (init_alias_analysis): Wrap call to
13355 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
13356
13357 1999-08-07 Bruce Korb <autogen@linuxbox.com>
13358
13359 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
13360 <sys/asm.h> contains an asm comment with an apostrophe
13361 * fixinc/inclhack.sh: regen
13362 * fixinc/fixincl.x: regen
13363
13364 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
13365
13366 * function.c (init_function_start): Clear prologue & epilogue.
13367 (prologue_epilogue_contains): New function.
13368 * alias.c (init_alias_analysis): Use it.
13369 * rtl.h (prologue_epilogue_contains): Declare it.
13370
13371 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
13372
13373 * jump.c (onlyjump_p): New function.
13374 * rtl.h: Declare it.
13375 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
13376 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
13377
13378 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
13379
13380 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
13381 to invert loops. Simplify block scanning.
13382
13383 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13384
13385 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
13386 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
13387
13388 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
13389
13390 * config/sparc/liteelf.h: New file to support sparclite-elf target
13391 * config/sparc/t-sp86x: New file to support sparc86x targets
13392 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
13393 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
13394 * configure.in: Support above target triplets
13395 * configure: Regenerated
13396
13397 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
13398
13399 * fixinc/server.c (server_setup): Do not prefix function used as
13400 parameter with `&'.
13401
13402 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
13403
13404 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
13405 Remove fp reg alternatives.
13406
13407 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
13408
13409 * Makefile.in (TAROUTOPTS): Kill.
13410 (install-headers-tar): Use "xpf" for tar headerfile extraction
13411 * i370/x-oe (TAROUTOPTS): Delete.
13412 * m68k/x-apollo68 (TAROUTOPTS): Delete.
13413 * m68k/x-hp320 (TAROUTOPTS): Delete.
13414 * m68k/x-hp320g (TAROUTOPTS): Delete.
13415 * gcc.texi: Update bug reporting text.
13416
13417 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13418
13419 * reg-stack.c (change_stack) Fixed problem with negative array index.
13420
13421 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
13422
13423 * extend.texi, install.texi: Fix spelling mistakes.
13424
13425 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
13426 (s-attrtab); No longer try to use pre-made insn-attrtab file.
13427 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
13428 PREMADE_ATTRTAB_MD.
13429 * mips/t-ecoff: Likewise.
13430 * mips/t-elf: Likewise.
13431 * mips/t-mips: Likewise.
13432 * mips/t-osfrose: Likewise.
13433 * mips/t-r3900: Likewise.
13434 * mips/t-svr3: Likewise.
13435 * mips/t-svr4: Likewise.
13436 * mips/t-ultrix: Likewise.
13437
13438 * gcc.texi: Document recommend means to provide software floating
13439 point libraries in libgcc.a
13440
13441 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
13442
13443 * c-lex.c (yylex): We can have a number with no digits.
13444
13445 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
13446
13447 * jump.c (delete_prior_computation): New function, broken
13448 out of delete_computation. Check for side effects with
13449 side_effects_p instead of FIND_REG_INC_NOTE. Handle
13450 multi-word hard registers.
13451 (delete_computation): Use it. Check for side effects with
13452 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
13453 missing REG_DEAD note for a register which is both set and
13454 used by an insn.
13455
13456 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
13457
13458 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
13459 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
13460 (ASM_FILE_START): Import _mcount with the right type.
13461 (ASM_DECLARE_FUNCTION_NAME): Define.
13462 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
13463 * pa.c (output_function_prologue): Always emit the function's label
13464 here.
13465 * pa.h (TEXT_SPACE_P): Define.
13466 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13467 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
13468 * som.h (TEXT_SPACE_P): Delete.
13469 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
13470 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
13471
13472 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
13473
13474 * expr.c (emit_group_load): Allow src to be a CONCAT.
13475
13476 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13477
13478 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
13479 (___mulsi3): Use '!' comment character.
13480
13481 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13482
13483 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
13484
13485 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
13486
13487 * gcc.c: Update URLs and mail addresses.
13488 * gcc.texi: Likewise.
13489
13490 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
13491
13492 * rs6000.c (current_file_function_operand): Return zero for
13493 weak functions.
13494 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
13495 weak symbols.
13496 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
13497 for weak symbols.
13498
13499 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
13500
13501 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
13502 allocate space in the stack frame for the PIC register.
13503
13504 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
13505
13506 * m68k.md (xordi3, anddi3): These patterns are not available on
13507 the coldfire.
13508
13509 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
13510
13511 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
13512 (PUT_REAL): Likewise.
13513
13514 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13515
13516 * final.c (shorten_branches): Don't add an alignment for loops
13517 that have no label inside.
13518
13519 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13520
13521 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
13522 prototypes in macro HAVE_cmpstrsi.
13523
13524 * cpplib.c (cpp_get_token): Remove unused label `op3'.
13525
13526 * emit-rtl.c (operand_subword): Remove unused variable
13527 `bits_per_word'.
13528
13529 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
13530
13531 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
13532
13533 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
13534
13535 * cpphash.c (macroexpand): Delete leading whitespace when arg
13536 is concatenated before.
13537 (unsafe_chars): Correct test for whether + and - can extend a
13538 token.
13539
13540 * cppinit.c (cpp_start_read): Do dependencies for
13541 -include/-imacros files also.
13542
13543 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
13544 tokenizing non-directive lines.
13545 (cpp_expand_to_buffer): Temporarily disable no-output mode.
13546 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
13547 the input file.
13548
13549 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13550
13551 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
13552
13553 * c-lex.c: Sync with C++ frontend.
13554 (linemode): New variable.
13555 (parse_float): imag, conversion_errno, and type are output only.
13556 (yylex): Adjust. Move initial '.' case into main switch.
13557 Use linemode.
13558 (handle_generic_pragma): Just deal with tokens.
13559 (readescape): Use ISXDIGIT and ISGRAPH.
13560 * c-parse.in: Add END_OF_LINE token.
13561
13562 * c-lex.c (lang_init): Generalize.
13563 (nextchar): Remove. Replace uses with UNGETC.
13564 (skip_white_space): Handle linemode here. Optimize for cpplib.
13565 (skip_white_space_on_line): Remove.
13566 (extend_token_buffer_to): New fn.
13567 (extend_token_buffer): Use it.
13568 (read_line_number, check_newline): Just deal with tokens.
13569 (token_getch, token_put_back): New fns.
13570 (yylex): Use them. More cpplib optimizations. Simplify.
13571
13572 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13573 Jason Merrill <jason@yorick.cygnus.com>
13574
13575 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
13576 (consume_string): Make this smart about USE_CPPLIB.
13577 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
13578 (yylex): Rewrite to be intelligent about USE_CPPLIB.
13579 Also, clean up cases where we redundantly set token_buffer[0].
13580 (read_line_number): New fn.
13581 (ignore_escape_flag): New variable.
13582
13583 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
13584
13585 * a29k/t-a29kbare: Fix some comments.
13586 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
13587 (FPBIT, DPBIT): Define.
13588 * a29k/t-vx29k: Likewise.
13589 * arc/t-arc: Likewise.
13590 * arm/t-arm-elf: Likewise.
13591 * arm/t-bare: Likewise.
13592 * arm/t-pe: Likewise.
13593 * arm/t-pe-thumb: Likewise.
13594 * arm/t-semi: Likewise.
13595 * arm/t-thumb: Likewise.
13596 * arm/t-thumb-elf: Likewise.
13597 * arm/t-thumb-linux: Likewise.
13598 * h8300/t-h8300: Likewise.
13599 * i960/t-i960: Likewise.
13600 * i960/t-vxworks960: Likewise.
13601 * m32r/t-m32r: Likewise.
13602 * mips/t-ecoff: Likewise.
13603 * mips/t-elf: Likewise.
13604 * mips/t-r3900: Likewise.
13605 * pa/t-pro: Likewise.
13606 * rs6000/t-aix43: Likewise.
13607 * rs6000/t-beos: Likewise.
13608 * rs6000/t-newas: Likewise.
13609 * rs6000/t-ppccomm: Likewise.
13610 * rs6000/t-rs6000: Likewise.
13611 * rs6000/t-winnt: Likewise.
13612 * rs6000/t-xnewas: Likewise.
13613 * rs6000/t-xrs6000: Likewise.
13614 * sh/t-sh: Likewise.
13615 * sparc/t-elf: Likewise.
13616 * sparc/t-sparcbare: Likewise.
13617 * sparc/t-sparclite: Likewise.
13618 * sparc/t-splet: Likewise.
13619 * v850/t-v850: Likewise.
13620 * mn10200/t-mn10200: Fix comments.
13621 * mn10300/t-mn10300: Likewise.
13622
13623 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
13624 dummy operand. Allocate a new pseudo for the dummy operand.
13625 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
13626
13627 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
13628
13629 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
13630
13631 * configure: Rebuilt.
13632 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
13633
13634 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
13635
13636 * recog.c (preproces_constraints): Zero recog_op_alt before
13637 processing the constraints.
13638
13639 * arm.c (typedef minipool_node): Renamed from pool_node.
13640 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
13641 (add_minipool_constant): New function.
13642 (dump_minipool): New function.
13643 (find_barrier): Remove special case for getting the insn size of
13644 an insn that references the constant pool.
13645 (minipool_fixup): New structure.
13646 (push_minipool_barrier): New function.
13647 (push_minipool_fix): New function.
13648 (note_invalid_constants): New function.
13649 (add_pool_constant, dump_table, fixit, broken_move): Delete.
13650 (arm_reorg): Rewrite code to fix up the constant pool into a
13651 series of mini-pools embedded in the insn stream.
13652 (arm_output_epilogue): New function, made mainly from the body
13653 of output_func_epilogue.
13654 (output_func_epilogue): Move insn generation part of epilogue code
13655 to arm_output_epilogue.
13656 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
13657 * arm.md (pool_range): New attribute.
13658 (zero_extendqidi2): Add attribute pool_range.
13659 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
13660 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
13661 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
13662 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
13663 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
13664 (epilogue): New expand.
13665 (epilogue_insn): New insn. Call arm_output_epilogue.
13666
13667 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
13668 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
13669
13670 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
13671
13672 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13673
13674 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
13675
13676 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
13677
13678 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
13679
13680 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
13681
13682 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
13683
13684 * global.c: Fix comment.
13685
13686 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
13687
13688 * gcc.c (access_check): New static function.
13689 (find_a_file): Use it when searching a directory list.
13690 * collect2.c (find_a_file): Don't accept directories found when
13691 searching a directory list.
13692
13693 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
13694
13695 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
13696 function parameters with `&'.
13697 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
13698
13699 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
13700
13701 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
13702 or tidy_fallthru_edge if the last insn in the block is not
13703 an unconditional jump or a simple conditional jump.
13704
13705 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13706
13707 * Makefile.in (c-decl.o): Depends on defaults.h.
13708
13709 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
13710
13711 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
13712 PA1.1 and above.
13713 (CLASS_MAX_NREGS): Likewise.
13714
13715 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
13716
13717 * cse.c (cse_insn): Fix dumb thinko in last change.
13718
13719 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13720
13721 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
13722 "const char *".
13723
13724 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
13725
13726 * dwarf2out.c (add_location_or_const_value_attribute): Correct
13727 test for sizes of passed and declared parameter types.
13728
13729 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13730
13731 * fixincludes: Fix the return type of bsearch, char* -> void*.
13732
13733 * fixinc/inclhack.def: Likewise.
13734
13735 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
13736
13737 * invoke.texi (-fdump-translation-unit): New option.
13738
13739 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
13740
13741 * expr.h (PROMOTE_PROTOTYPES): Move ...
13742 * defaults.h: ... to here.
13743 * c-decl.c: Include defaults.h instead of expr.h.
13744 * c-typeck.c: Include defaults.h.
13745
13746 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
13747
13748 * toplev.h (errorcount): Declare.
13749 (warningcount): Likewise.
13750 (sorrycount): Likewise.
13751 * c-lex.c (errorcount): Don't declare.
13752 * dwarf2out.c (errorcount): Don't declare.
13753
13754 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
13755
13756 * config/libgloss.h: Add a note discouraging use with ELF.
13757 * configure.in: Don't use libgloss.h for ELF targets.
13758 Always use_collect2 on a.out targets.
13759
13760 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
13761
13762 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
13763 (force_to_mode, case ASHIFTRT): Add shiftrt label.
13764
13765 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13766
13767 * loop.c (strength_reduce): When doing biv->giv conversion, update
13768 reg note of NEXT->insn.
13769
13770 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13771
13772 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
13773
13774 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13775
13776 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
13777 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
13778 Ensure expr.h is included.
13779 * c-typecheck.c (convert_arguments): Ditto.
13780
13781 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
13782
13783 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
13784 * config/convex/convex.h: Ditto.
13785 * config/dsp16xx/dsp16xx.h: Ditto.
13786 * config/fx80/fx80.h: Ditto.
13787 * config/gmicro/gmicro.h: Ditto.
13788 * config/i370/i370.h: Ditto.
13789 * config/i386/i386.h: Ditto.
13790 * config/m32r/m32r.h: Ditto.
13791 * config/m68k/m68k.h: Ditto.
13792 * config/m88k/m88k.h: Ditto.
13793 * config/mips/mips.h: Ditto.
13794 * config/pa/pa.h: Ditto.
13795 * config/pyr/pyr.h: Ditto.
13796 * config/tahoe/tahoe.h: Ditto.
13797 * config/we32k/we32k.h: Ditto.
13798
13799 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
13800 based on arch size.
13801
13802 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
13803
13804 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
13805 from comment.
13806
13807 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
13808
13809 1999-08-02 Richard Henderson <rth@cygnus.com>
13810
13811 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
13812 for the register spill block.
13813 (m32r_va_arg): New.
13814 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
13815 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
13816
13817 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
13818 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
13819 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
13820
13821 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13822
13823 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
13824 MAX_WCHAR_TYPE defined in sparc.h.
13825 * config/sparc/linuxaout.h: Likewise.
13826 * config/sparc/linux64.h: Likewise.
13827 Also default to -mvis if CPU is UltraSPARC.
13828
13829 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13830
13831 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
13832 (RTX_OK_FOR_OLO10): Likewise.
13833 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
13834 %lo(), allow it in addresses...
13835 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
13836 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
13837 does not make sense.
13838 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
13839 (sparc_output_scratch_registers): New function.
13840 (output_function_prologue, sparc_flat_output_function_prologue): Use
13841 it.
13842 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
13843 defined.
13844 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
13845 * configure.in: Add check for .register pseudo-op support in as and
13846 check for offsetable %lo().
13847 * acconfig.h: Add templates for the above checks.
13848 * configure: Regenerate.
13849
13850 1999-08-02 Richard Henderson <rth@cygnus.com>
13851
13852 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
13853 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
13854 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
13855
13856 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13857
13858 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13859 reg_biv_class.
13860
13861 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
13862
13863 * config/float-sparc.h: New file.
13864 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
13865 sparc-*-linux-gnu and sparc64-*-linux*.
13866
13867 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13868
13869 * rs6000.c (rs6000_va_list): Type is an array.
13870 (rs6000_va_start): Don't doubly adjust for varargs.
13871 (rs6000_va_arg): Evaluate long long GPR adjustment.
13872
13873 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
13874
13875 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
13876 -maix64 and -maix32.
13877 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
13878 LINK_SPEC): Change appropriately.
13879 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
13880 (u_short_cint_operand): Likewise.
13881 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
13882 for 64-bit hosts.
13883 * rs6000/t-aix43 (MULTILIB): Change to -m64.
13884
13885 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
13886
13887 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
13888
13889 * rs6000/rs6000.c (num_insns_constant_wide): Correct
13890 for type promotion.
13891 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
13892 (non_add_cint_operand): Likewise.
13893 (logical_operand): Likewise.
13894 (non_logical_cint_operand): Likewise.
13895 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
13896 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
13897 (rs6000_select_rtx_section): Suppress warning.
13898 (small_data_operand): Suppress warning.
13899 (rs6000_got_register): Suppress warning.
13900 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
13901 type, so `J' is generally the wrong constraint for a SImode value;
13902 use `L' instead.
13903 (andsi3_internal2): Likewise.
13904 (andsi3_internal3): Likewise.
13905 (iorsi3_internal1): Likewise.
13906 (xorsi3_internal1): Likewise.
13907 (movsi): Likewise.
13908 (movsf_softfloat): Likewise.
13909 (scc insns): Likewise.
13910 (movsi+2): Preserve sign bits of SImode constant.
13911 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
13912 (movdf+1): Sign-extend properly.
13913 (movdi_32+1): Sign-extend properly.
13914 (scc insns): Sign-extend properly.
13915
13916 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
13917 K, L, and T.
13918
13919 1999-08-02 Richard Henderson <rth@cygnus.com>
13920
13921 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
13922 -mcpu parsing code.
13923 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
13924 * alpha.md (all fp insns): Likewise.
13925
13926 1999-08-02 Nick Clifton <nickc@cygnus.com>
13927
13928 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
13929 already defined.
13930
13931 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
13932
13933 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
13934 pic_load_label generator directly.
13935 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
13936 No longer a named pattern.
13937
13938 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
13939
13940 * explow.c (force_reg): Call force_operand if X does not
13941 satisfy general_operand.
13942
13943 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
13944
13945 * fix-header.c (main): When testing for CONTINUED, use string
13946 equality, not pointer equality.
13947
13948 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
13949
13950 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
13951
13952 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
13953
13954 * cse.c (cse_insn): Fix loop which deletes insns after a jump
13955 that has become an unconditional jump.
13956
13957 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
13958 (output_function_epilogue): Similarly.
13959
13960 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13961
13962 * tree.h (init_dummy_function_start): Declare.
13963
13964 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13965
13966 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
13967 last_expr_type, last_expr_value, block_start_count, block_stack,
13968 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
13969 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
13970 dynamically in stmt elt of struct function for each function.
13971 (struct nesting): Rename function_call_count elt to n_function_calls,
13972 target_temp_slot_level to block_target_temp_slot_level. All users
13973 changed.
13974 (struct stmt_status): New structure definition.
13975 Add many accessor macros for stmt_status elements which previously
13976 were global variables.
13977 (init_stmt_for_function): Allocate stmt elt for current_function.
13978 Reflect that block_start_count was renamed to
13979 current_block_start_count.
13980 (save_stmt_status, restore_stmt_status): Delete functions.
13981 (preserve_subexpressions_p): Don't access loop_stack when outside
13982 a function.
13983 (expand_start_bindings): Reflect that block_start_count was renamed to
13984 current_block_start_count.
13985 (expand_fixup): Likewise.
13986 (expand_decl): Don't access block_stack when outside a function.
13987 (expand_decl_cleanup): Likewise.
13988 (expand_dcc_cleanup): Likewise.
13989 (expand_dhc_cleanup): Likewise.
13990 (expand_anon_union_decl): Likewise.
13991 (set_file_and_line_for_stmt): New function.
13992 (in_control_zone_p): New function.
13993
13994 * function.h (struct function): Add new elt stmt.
13995 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
13996 case_stack, nesting_stack, nesting_depth, block_start_count,
13997 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
13998 emit_lineno, goto_fixup_chain.
13999 (save_eh_status, restore_eh_status, save_stmt_status,
14000 restore_stmt_status): Delete declarations.
14001 * function.c (push_function_context_to): Don't call save_stmt_status.
14002 (pop_function_context_to): Don't call restore_stmt_status.
14003 * tree.h (in_control_zone_p): Declare.
14004 * rtl.h (set_file_and_line_for_stmt): Declare.
14005
14006 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
14007 call set_file_and_line_for_stmt.
14008
14009 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
14010
14011 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
14012 Also update copyright.
14013
14014 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14015
14016 * c-pragma.c: Don't include "except.h".
14017 * emit-rtl.c: Likewise.
14018 * stor-layout.c: Likewise.
14019 * tree.c: Likewise.
14020 * varasm.c: Likewise.
14021
14022 * flow.c: Include "function.h".
14023 * tree.h (init_dummy_function_start): Declare new function.
14024
14025 * except.h (struct eh_status): New structure.
14026 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
14027 been included.
14028 (eh_return_stub_label, ehstack, catchstack, ehqueue,
14029 catch_clauses, false_label_stack, caught_return_label_stack,
14030 protect_list, current_function_ehc): Add accessor macros for the
14031 corresponding fields in current_function->eh; delete declarations
14032 for all items that used to be declared here.
14033 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
14034 catch_clauses, false_label_stack, caught_return_label_stack,
14035 protect_list, current_function_ehc): Delete variables.
14036 (init_eh_for_function): Allocate current_function->eh.
14037 (save_eh_status, restore_eh_status): Delete functions.
14038
14039 * function.h (struct function): Add fields next_global and eh.
14040 Delete all exception handling related fields.
14041 * function.c (current_function): New variable.
14042 (all_functions): New variable.
14043 (push_function_context_to): Don't allocate a struct function,
14044 use current_function instead. Call init_dummy_function_start when
14045 outside a function. Clear current_function before returning.
14046 (pop_function_context_from): Restore current_function.
14047 Don't free the restored struct function.
14048 (prepare_function_start): New function.
14049 (init_dummy_function_start): New function.
14050 (init_function_start): Break out some code into prepare_function_start
14051 and call it here.
14052
14053 * stmt.c (save_stmt_status): Don't call save_eh_status.
14054 (restore_stmt_status): Don't call restore_eh_status.
14055
14056 * Makefile.in: Update dependencies.
14057
14058 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
14059
14060 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
14061 of depending on a magic constant value. Update comments.
14062 (hppa_expand_prologue): Similarly.
14063
14064 * pa.md (reload_indi, reload_outdi): Allow any register for the
14065 original reload register.
14066
14067 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
14068
14069 * cccp.c (print_help): Change marcos to macros.
14070
14071 1999-07-30 Richard Henderson <rth@cygnus.com>
14072
14073 * c-typeck.c (initializer_constant_valid_p): Move ...
14074 * c-common.c (initializer_constant_valid_p): ... here. Use
14075 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
14076 of label addresses.
14077 * c-common.h (initializer_constant_valid_p): Declare.
14078 * c-tree.h (initializer_constant_valid_p): Remove.
14079
14080 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
14081
14082 * config/i386/sol2-c1.asm: Align the stack.
14083 * config/i386/sol2-gc1.asm: Likewise.
14084
14085 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
14086
14087 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
14088 -Asparclite for sparc86x.
14089 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
14090 sparc86x.
14091 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
14092
14093 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
14094
14095 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
14096 the user if using the non-default arch size in BI_ARCH configuration.
14097 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
14098
14099 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
14100 Fix patterns so that they actually match.
14101 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
14102 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
14103 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
14104 TARGET_HARD_MUL32.
14105 (mulsidi3): Reflect this in the expand.
14106 (smulsi3_highpart): Only on TARGET_ARCH32.
14107 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
14108 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
14109 (umulsidi3): Reflect this in the expand.
14110 (umulsi3_highpart): Only on TARGET_ARCH32.
14111 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
14112 don't require g0 to be zero.
14113 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
14114 ({,u}divsi3): New expands.
14115 ({,u}divsi3_sp64): New patterns.
14116 (after lshrdi3_v8plus): Four new patterns to help combiner
14117 optimizing nested mixed mode shifts.
14118
14119 * config/sparc/sparc.c (sparc_override_options): Use deprecated
14120 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
14121 speed things up. Don't use them by default on plain v9 in 64bit
14122 mode, according to what SPAMv9 sais.
14123
14124 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
14125 top 32 bits of %[og][0-7] in signal handlers.
14126 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
14127
14128 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
14129
14130 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
14131 (ashlsi3): Corresponding changes.
14132
14133 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
14134
14135 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
14136
14137 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
14138
14139 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14140
14141 * arm.h (Hint): Delete macro.
14142 Substitute HOST_WIDE_INT for Hint in some prototypes.
14143 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
14144
14145 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
14146
14147 * builtins.c (expand_builtin_setjmp): Use force_operand to
14148 make sure that the buffer address is in a suitable form to be
14149 passed to force_reg.
14150
14151 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
14152
14153 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
14154 them here.
14155
14156 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
14157
14158 * pa.md (indirect_jump): Remove mode from match_operand. Verify
14159 proper mode in the condition string.
14160 (icacheflush, dcacheflush): Remove modes from match_operands.
14161
14162 * pa.c (emit_move_sequence): Always convert scratch_reg to the
14163 proper mode before using it.
14164
14165 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
14166 pair.
14167
14168 * pa.c (store_reg): Do not call add_high_const generator directly.
14169 (load_reg, set_reg_plus_d): Likewise.
14170 * pa.md (add_high_const): No longer a named pattern.
14171
14172 * pa.c (legitimize_address): Consistently use Pmode rather than
14173 SImode. Do not call gen_pic2_highpart directly anymore.
14174 * pa.md (pic2_highpart): No longer a named pattern.
14175 (pic2_lo_sum): Similarly. Reformat to make more readable.
14176
14177 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
14178 needed.
14179
14180 * README: Update.
14181
14182 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14183
14184 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
14185
14186 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
14187
14188 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
14189 and tag the spill mems.
14190 (hppa_va_start): New.
14191 (hppa_va_arg): New.
14192 * pa.h (EXPAND_BUILTIN_VA_START): New.
14193 (EXPAND_BUILTIN_VA_ARG): New.
14194
14195 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
14196
14197 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
14198 and tag the spill mems.
14199 (mn10300_va_start): New.
14200 (mn10300_va_arg): New.
14201 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
14202 (EXPAND_BUILTIN_VA_ARG): New.
14203
14204 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
14205
14206 * mn10200.c (mn10200_va_arg): New.
14207 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
14208
14209 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
14210
14211 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
14212 rather than play with TREE_INT_CST_LOW.
14213
14214 1999-07-27 Philip Blundell <pb@nexus.co.uk>
14215
14216 * config/arm/telf.h: Include dbxelf.h.
14217 (CPP_PREDEFINES): Only define if not already defined.
14218 (ASM_IDENTIFY_GCC): Likewise.
14219 (SUBTARGET_EXTRA_SECTIONS): Likewise.
14220 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
14221 * config/arm/thumb.h (LINK_SPEC): Only define if not already
14222 defined.
14223 (DBX_DEBUGGING_INFO): Don't define.
14224 * config/arm/linux-telf.h: New file.
14225 * config/arm/linux-tgas.h: New file.
14226 * config/arm/t-thumb-linux: New file.
14227 * config/arm/uclinux-elf.h: New file.
14228 * config/arm/uclinux-telf.h: New file.
14229 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
14230 thumb-*-uclinux): New targets.
14231 * configure: Regenerate.
14232
14233 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
14234
14235 * pa.md (post_store, pre_load): New expanders.
14236 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
14237 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
14238 need to directly generate RTL for them.
14239 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
14240 changes.
14241
14242 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
14243
14244 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
14245 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
14246 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
14247 (secndary_reload_class): Make TARGET_ELF conditional compile.
14248 (print_operand_address): Similar.
14249 (output_toc): Print all values as hex.
14250 (get_issue_rate): Rearrange and add RS64A and PPC630.
14251 * rs6000.h (processor_type): Add RS64A and PPC630.
14252 (PROCESSOR_POWERPC64): New.
14253 (PROMOTE_MODE): Use word_mode.
14254 (RTX_COSTS): Add RS64A and PPC630.
14255 * rs6000.md (scheduling information): Add lmul and ldiv
14256 representing 64-bit integer multiply and divide. Add rs64a and
14257 PPC630 information.
14258 (ashldi3): Add support for "rldic" instruction.
14259 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
14260
14261 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
14262
14263 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
14264 instead of V8 for sparclite86x in cpu_table.
14265
14266 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14267
14268 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
14269 output_file_directive.
14270
14271 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
14272
14273 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
14274 tree for op1, not the rtl.
14275
14276 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
14277
14278 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
14279 to m88k_va_start, leaving only the register spill.
14280 (m88k_build_va_list): New.
14281 (m88k_va_start): New.
14282 (m88k_va_arg): New.
14283 * m88k.h (BUILD_VA_LIST_TYPE): New.
14284 (EXPAND_BUILTIN_VA_START): New.
14285 (EXPAND_BUILTIN_VA_ARG): New.
14286
14287 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
14288
14289 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
14290 Rename from expand_builtin_saveregs.
14291 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
14292
14293 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
14294
14295 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
14296 for the register spill block.
14297 (i960_build_va_list): New.
14298 (i960_va_start): New.
14299 (i960_va_arg): New.
14300 * i960.h (BUILD_VA_LIST_TYPE): New.
14301 (EXPAND_BUILTIN_VA_START): New.
14302 (EXPAND_BUILTIN_VA_ARG): New.
14303 * i960.md (store_multiple): Use change_address on individul mems.
14304
14305 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
14306
14307 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
14308 an ARRAY_TYPE.
14309 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
14310 (expand_builtin_va_end): Evaluate arg for side effects.
14311 * c-common.c (c_common_nodes_and_builtins): Construct a
14312 va_list_arg_type_node to handle array decomposition to pointer.
14313
14314 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
14315
14316 * except.c (start_dynamic_cleanup): Use force_operand on the
14317 buffer's address.
14318
14319 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
14320
14321 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
14322 * c4x.c (c4x_va_arg): New.
14323
14324 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
14325
14326 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
14327 has manual_pop set.
14328
14329 1999-07-26 Nathan Sidwell <nathan@acm.org>
14330
14331 * eh-common.h (__eh_matcher): Prototype correctly.
14332
14333 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
14334
14335 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
14336 (TARGET_SINGLE_PIC_BASE): Likewise.
14337 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
14338 definitions.
14339 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
14340 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
14341 (TARGET_OPTIONS): Add -mpic-register=N.
14342 (OUTPUT_INT_ADDR_CONST): New macro.
14343 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
14344 LEGITIMATE_PIC_OPERAND_P): Likewise.
14345 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
14346 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
14347 output_addr_const directly.
14348 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
14349 ARM port.
14350 (thumb_pic_register, thumb_pic_register_string): Declare.
14351
14352 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
14353 from arm.c.
14354 (label_mentioned_p): New function: Imported from arm.c.
14355 (legitimize_pic_address): New function: Imported from arm.c.
14356 (is_pic):New function: Imported from arm.c.
14357 (thumb_finalize_pic):New function: Imported from arm.c.
14358 (add_constant): Cope with PIC constants.
14359 (fixit): Cope with PIC constants.
14360 (output_return): Do not treat the PIC register as live if
14361 TARGET_SINGLE_PIC_BASE is true.
14362 (thumb_function_prologue): Do not treat the PIC register as live if
14363 TARGET_SINGLE_PIC_BASE is true.
14364 (thumb_expand_prologue): Do not treat the PIC register as live if
14365 TARGET_SINGLE_PIC_BASE is true.
14366 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
14367 TARGET_SINGLE_PIC_BASE is true.
14368 (thumb_print_operand): Accept '|'.
14369 (thumb_override_options): Process PIC options.
14370
14371 * config/arm/thumb.md (movsi): Support PIC.
14372 (call_insn): Change "i" constraint to "X".
14373 (call_value_insn): Likewise.
14374 (consttable_4, consttable_8, consttable_end): Set and clear
14375 "making_const_table" as appropriate.
14376 (pic_load_addr, pic_add_dot_plus_four): New insns.
14377
14378 * invoke.texi (Thumb Options): Fix spelling. Document new
14379 options -msingle-pic-base and -mpic-register=.
14380
14381 1999-07-26 Andrew Haley <aph@cygnus.com>
14382
14383 * config/m32r/initfini.c (__init): Use a full word immediate for
14384 __fini: this allows it to be placed in any memory region.
14385
14386 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
14387 -mmodel=medium. This is OK for all memory models.
14388
14389 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
14390
14391 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
14392 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
14393
14394 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
14395
14396 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
14397 defined.
14398
14399 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
14400
14401 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
14402
14403 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
14404 (BUILD_VA_LIST_TYPE): New.
14405 (EXPAND_BUILTIN_VA_START): New.
14406 (EXPAND_BUILTIN_VA_ARG): New.
14407 * i860.c (output_delayed_branch): Disable.
14408 (output_delay_insn): Likewise.
14409 (i860_saveregs): New.
14410 (i860_build_va_list): New.
14411 (i860_va_start): New.
14412 (i860_va_arg): New.
14413 * i860.md: Disable all peepholes using output_delayed_branch.
14414 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
14415
14416 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
14417
14418 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
14419 (BUILD_VA_LIST_TYPE): New.
14420 (EXPAND_BUILTIN_VA_START): New.
14421 (EXPAND_BUILTIN_VA_ARG): New.
14422 * clipper.c (clipper_builtin_saveregs): Only dump registers.
14423 Return the address of the save area.
14424 (clipper_build_va_list): New.
14425 (clipper_va_start): New.
14426 (clipper_va_arg): New.
14427
14428 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
14429
14430 * arc.h (EXPAND_BUILTIN_VA_START): New.
14431 (EXPAND_BUILTIN_VA_ARG): New.
14432 * arc.c (arc_setup_incoming_varargs): Set alias set of
14433 varargs save area.
14434 (arc_va_start): New.
14435 (arc_va_arg): New.
14436
14437 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
14438
14439 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
14440 (BUILD_VA_LIST_TYPE): New.
14441 (EXPAND_BUILTIN_VA_START): New.
14442 (EXPAND_BUILTIN_VA_ARG): New.
14443 * alpha.c (alpha_builtin_saveregs): Delete.
14444 (alpha_build_va_list): New.
14445 (alpha_va_start): New.
14446 (alpha_va_arg): New.
14447
14448 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
14449
14450 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
14451 column zero.
14452 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
14453 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
14454
14455 * gcc.texi: More changes related to list conversion.
14456 * invoke.texi: Likewise.
14457
14458 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
14459
14460 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
14461 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
14462 (expand_builtin_next_arg): Accept ARGLIST not EXP.
14463 (stabilize_va_list): New function.
14464 (std_expand_builtin_va_start): New function.
14465 (expand_builtin_va_start): New function.
14466 (get_varargs_alias_set): New function.
14467 (std_expand_builtin_va_arg): New function.
14468 (expand_builtin_va_arg): New function.
14469 (expand_builtin_va_end): New function.
14470 (expand_builtin_va_copy): New function.
14471 (expand_builtin): Call them.
14472 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
14473 __builtin_{varargs_start,stdarg_start,end,copy}.
14474 (build_va_arg): New function.
14475 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
14476 (build_va_arg): Declare.
14477 * c-decl.c (ptr_type_node, va_list_type_node): New.
14478 * c-parse.gperf (__builtin_va_arg): New.
14479 * c-parse.in (VA_ARG): New token.
14480 (unary_expr): Recognize it.
14481 * expr.c (expand_expr): Expand VA_ARG_EXPR.
14482 * expr.h (std_expand_builtin_va_start): Declare.
14483 (std_expand_builtin_va_arg): Declare.
14484 (expand_builtin_va_arg): Declare.
14485 (get_varargs_alias_set): Declare.
14486 * tree.def (VA_ARG_EXPR): New.
14487 * tree.h (BUILT_IN_VARARGS_START): New.
14488 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
14489 (ptr_type_node, va_list_type_node): Declare.
14490 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
14491 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
14492 * m88k.h, m88k.c: Likewise.
14493 * mn10300.h, mn10300.c: Likewise.
14494 * pa.h, pa.c: Likewise.
14495 * rs6000.h, rs6000.c: Likewise.
14496 * sh.h, sh.c: Likewise.
14497 * sparc.h, sparc.c: Likewise.
14498
14499 * emit-rtl.c (operand_subword): Copy alias set.
14500 (change_address): Likewise.
14501
14502 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
14503
14504 * pa.c (compute_frame_size): Scan all the used callee saved registers,
14505 not just the first one.
14506
14507 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
14508
14509 * config/arm/arm.h (TARGET_SWITCHES): Add
14510 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
14511 (TARGET_OPTIONS): Add -mpic-register=.
14512 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
14513 (arm_pic_register_string): Declare.
14514 (NEED_PLT_GOT): Delete, replace with ...
14515 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
14516 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
14517 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
14518 * config/arm/arm.c (arm_override_options): Add new option
14519 -mpic-register=N.
14520 (arm_pic_register_string): New variable.
14521 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
14522 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
14523 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
14524 (output_return_instruction): Likewise.
14525 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
14526 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
14527 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
14528
14529 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
14530 mention of -msched-prolog. Document new options -msingle-pic-base
14531 and -mpic-register=.
14532
14533 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
14534
14535 * haifa-sched.c (reemit_notes): Tidy.
14536 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
14537 haifa's routine.
14538
14539 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
14540
14541 * explow.c (trunc_int_for_mode): New function.
14542 (plus_constant_wide): Use it.
14543 * combine.c (simplify_and_const_int): Likewise.
14544 (merge_outer_ops): Likewise.
14545 (simplify_shift_const): Likewise.
14546 * cse.c (simplify_unary_operation): Likewise.
14547 (simplify_binary_operation): Likewise.
14548 * emit-rtl.c (operand_subword): Likewise.
14549 * rtl.h: Declare it.
14550
14551 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14552
14553 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
14554 (use NUM_REGS instead of NUM_INTS).
14555
14556 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14557
14558 * builtins.c: New file.
14559 * expr.c (saveregs_value, apply_args_value): Delete definition,
14560 moved into builtins.c.
14561 (string_constant): No longer static.
14562 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
14563 apply_args_size, apply_result_size, result_vector,
14564 expand_builtin_apply_args, expand_builtin_apply,
14565 expand_builtin_return): Delete functions, moved into builtins.c.
14566 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
14567 * expr.h (saveregs_value, apply_args_value): Declare variables.
14568 (expand_builtin, string_constant): Declare functions.
14569 * Makefile.in: Update to build builtin.o.
14570
14571 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14572
14573 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
14574 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
14575 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
14576 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
14577 false.
14578 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
14579 Define to zero.
14580
14581 1999-07-21 Michael Meissner <meissner@cygnus.com>
14582
14583 * print-rtl.c (print_rtx): Print the names of the virtual
14584 registers.
14585
14586 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
14587
14588 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
14589 introduced in previous delta.
14590
14591 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14592
14593 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
14594 to avoid name clash.
14595
14596 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
14597
14598 * c-lex.c (yylex) : Correct the test for overflow when lexing
14599 integer literals.
14600
14601 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
14602
14603 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
14604 (adjust_priority): Always call ADJUST_PRIORITY.
14605 (schedule_insn): Only put insns into the ready at cost 0.
14606 (schedule_block): Remove redundant initial sort. Give clock_var
14607 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
14608 is not 0.
14609 * tm.texi (MD_SCHED_REORDER): Update docs.
14610
14611 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
14612 * sparc.c (ultra_reorder_called_this_block): Delete.
14613 (ultrasparc_sched_init): Don't set it.
14614 (ultrasparc_sched_reorder): Don't check it.
14615
14616 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
14617
14618 * rs6000.h (struct rs6000_args): Add sysv_gregno.
14619 * rs6000.c (init_cumulative_args): Init sysv_gregno.
14620 (function_arg_boundary): Align DFmode.
14621 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
14622 to get fp reg and stack overflow correct.
14623 (function_arg): Likewise.
14624 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
14625 (setup_incoming_varargs): Restructure for ABI_V4; use
14626 function_arg_advance to skip final named argument.
14627 (expand_builtin_saveregs): Properly unskip the last integer arg
14628 when doing varargs. Adjust overflow location calculation.
14629
14630 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
14631 explicitly unsigned.
14632 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
14633 (__VA_GP_REGSAVE): Similarly.
14634 (__va_longlong_p): Delete.
14635 (__va_arg_type_violation): New declaration.
14636 (va_arg): Restructure. Flag promotion errors. Align double.
14637 TFmode passed by reference.
14638
14639 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
14640 in the HOST_BITS_PER_WIDE_INT > 32 case.
14641
14642 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
14643
14644 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
14645
14646 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
14647
14648 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
14649 * toplev.c (documented_lang_options): Add -fpreprocessed.
14650 * cpplib.h (struct cpp_buffer): Add preprocessed.
14651 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
14652 (cpp_start_read): Don't expand macros or emit an initial #line
14653 directive if -fpreprocessed.
14654
14655 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14656
14657 * cpplib.h (struct cpp_buffer): Added manual_pop for
14658 better C++ tokenization.
14659 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
14660 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
14661 * c-common.c (cpp_token): Make non-static.
14662
14663 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14664
14665 * c-common.h: New file.
14666 * c-common.c (permanent_obstack): Delete unused declaration.
14667 (c_global_trees): New array.
14668 (c_common_nodes_and_builtins): New function; split off common code
14669 from init_decl_processing in both c-decl.c and cp/decl.c.
14670 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
14671 c_global_trees and accessor macros defined in c-common.h.
14672 Include c-common.h.
14673 * c-decl.c: Delete definitions for tree nodes that were replaced by
14674 c_global_trees.
14675 (init_decl_processing): Build void_list_node.
14676 Call c_common_nodes_and_builtins; delete code to generate the common
14677 builtins here.
14678 * objc/objc-act.c (build_module_descriptor): Rename variable
14679 void_list_node to avoid clash with c-common.h.
14680
14681 * Makefile.in: Update dependencies.
14682 * objc/Make-lang.in: Likewise.
14683
14684 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
14685
14686 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
14687 (UNIQUE_SECTION_P): Likewise.
14688 (UNIQUE_SECTION): Likewise.
14689
14690 1999-07-19 Linas Vepstas <linas@linas.org>
14691
14692 * config/i370/README: New file.
14693 * config/i370/linux.h: New file.
14694 * config/i370/mvs.h: New file.
14695 * config/i370/oe.h: New file.
14696 * config/i370/t-linux: New file.
14697 * config/i370/t-mvs: New file.
14698 * config/i370/t-oe: New file.
14699 * config/i370/x-oe: New file.
14700 * config/i370/xm-linux.h: New file.
14701 * config/i370/xm-mvs.h: New file.
14702 * config/i370/xm-oe.h: New file.
14703
14704 * i370.c (label_node_t): Add first_ref_page, label_addr,
14705 label_first_ref, label_last_ref members.
14706 (mvs_need_base_reload): Renamed from mvs_label_emitted.
14707 (MAX_MVS_LABEL_SIZE): Define.
14708 (MAX_LONG_LABEL_SIZE): Define.
14709 (alias_node_t, alias_anchor, alias_number): New.
14710 (mvs_function_table): Reorder for EBCDIC.
14711 (ascebc, ebcasc): Unconditionally define.
14712 (i370_branch_dest, i370_branch_length): New functions.
14713 (i370_short_branch, i370_label_scan): New functions.
14714 (mvs_get_label): Renamed from mvs_add_label. Search for
14715 an existing label before creating a new one.
14716 (mvs_add_label): New function.
14717 (mvs_get_label_page): New function.
14718 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
14719 over the entire list.
14720 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
14721 (mvs_check_page) [TARGET_ELF_ABI]: New function.
14722 (mvs_add_alias, mvs_need_alias): New functions.
14723 (mvs_get_alias, mvs_check_alias): New functions.
14724 (handle_pragma): New function.
14725 (mvs_function_check): New function.
14726 (unsigned_jump_follows_p): Search harder.
14727 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
14728 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
14729 * i370.h (TARGET_VERSION): Delete.
14730 (CPP_SPEC, CPP_PREDEFINES): Delete.
14731 (mvs_label_emitted): Delete.
14732 (TARGET_EBCDIC): Delete.
14733 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
14734 (HANDLE_PRAGMA): Define.
14735 (HARD_REGNO_NREGS): Handle complex modes.
14736 (HARD_REGNO_MODE_OK): Likewise.
14737 (CLASS_MAX_NREGS): Likewise.
14738 (RET_REG): Likewise.
14739 (EXTRA_CONSTRAINT): Define.
14740 (RETURN_IN_MEMORY): True for DImode.
14741 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
14742 (FUNCTION_PROFILER): Delete.
14743 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
14744 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
14745 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
14746 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
14747 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
14748 (ASM_FILE_START): Add "RMODE ANY".
14749 (ASM_OUTPUT_EXTERNAL): Check for aliases.
14750 (ASM_GLOBALIZE_LABEL): Likewise.
14751 (ASM_OUTPUT_LABELREF): Likewise.
14752 (ASM_OUTPUT_COMMON): Likewise.
14753 (PRINT_OPERAND): Handle 'K', 'W', default.
14754 (PRINT_OPERAND_ADDRESS): New.
14755 (Lots of defines): Add support for TARGET_ELF_ABI.
14756 * i370.md (attr length): New. Define for all patterns.
14757 (*): Lots of tweeks to assembly output and constraints.
14758
14759 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
14760
14761 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
14762 Disable patterns performing SImode comparisons with SImode values
14763 if TARGET_POWERPC64 and instruction does not sign-extend or does
14764 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
14765 differ for signed quantities.
14766 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
14767 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
14768 (decrement_and_branch_on_count): Add 64-bit variant.
14769
14770 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14771
14772 * final.c (output_asm_insn): When searching for the matching string
14773 for a given dialect, don't run past the end of the list of
14774 alternatives if there are fewer alternatives in the template than
14775 dialects.
14776
14777 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14778
14779 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
14780 Removed paragraph about compression of files and size limitation,
14781 duplicated in the FAQ. Use gcc-patches for posting patches.
14782 * gcc.c (main): Updated URL with bug reporting instructions to
14783 gcc.gnu.org. Removed e-mail address.
14784 * system.h (abort): Likewise.
14785
14786 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14787
14788 * Makefile.in (stmp-multilib-sub): Make the files extracted
14789 from $(LIBGCC1) writable.
14790
14791 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
14792
14793 * config/arm/aout.h: Reformat for improved readability.
14794
14795 * config/arm/arm.h: Reformat for improved readability.
14796 Replace uses of fprintf with asm_fprintf where appropriate.
14797 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
14798 function declaration assembler actions.
14799 (NUM_INTS): New macro: Convert from bytes to words.
14800 (NUM_REGS): New macro: Compute number of registers required to
14801 hold a quanitity of tyep MODE.
14802 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
14803 types.
14804 (NUM_ARG_REGS): New macro: The number of argument registers
14805 available.
14806 (ARG_REGISTER): New macro: Compute the register number of the Nth
14807 argument register.
14808 (LAST_ARG_REGNUM): New macro: The number of the last argument
14809 register.
14810 (SP_REGNUM): New macro: Register number of the stack pointer.
14811 (FP_REGNUM): New macro: Register number of the frame pointer.
14812 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
14813 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
14814 CUMULATIVE_ARGS so that it counts registers not bytes.
14815
14816 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
14817 TARGET_INTERWORK.
14818 Replace uses of fprintf with asm_fprintf where appropriate.
14819 (output_ascii_pseudo_op): Replace with version from thumb.c
14820
14821 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
14822
14823 * config/arm/elf.h (CPP_PREDEFINES): Replace with
14824 SUBTARGET_CPP_SPEC.
14825 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
14826 (ASM_FILE_START): Emit ASM_APP_OFF.
14827
14828 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
14829
14830 * pa.c (compute_frame_size): Round frame according to
14831 STACK_BOUNDARY rather than a hardwired value.
14832
14833 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
14834
14835 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
14836 of "1".
14837 * configure: Rebuilt.
14838
14839 * configure.in (hppa*-*-linux*): New configuration.
14840 * configure: Rebuilt.
14841 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
14842 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
14843 * pa/pa-linux.h: New file.
14844 * pa/t-linux: New file.
14845 * pa/xm-linux.h: New file.
14846
14847 * pa.c (hppa_legitimize_address): Change references from SImode to
14848 either Pmode or word_mode as appropriate.
14849 (emit_move_sequence, store_reg, load_reg): Likewise.
14850 (set_reg_plus_d, hppa_expand_prologue): Likewise.
14851 (output_mul_insn): Likewise.
14852 * pa.h (PROMOTE_MODE): Likewise.
14853 (INITIALZE_TRAMPOLINE): Likewise.
14854 (Pmode): Define to word_mode.
14855
14856 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
14857 value of 4. Allocate 8 bytes for each FP register save.
14858 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
14859 value of 4.
14860 (hppa_expand_prologue): Likewise.
14861 * pa.h (PROMOTE_MODE): Likewise.
14862 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
14863 (FUNCTION_ARG_BOUNDARY): Likewise.
14864
14865 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
14866
14867 * pa.c (out_of_line_prologue_epilogue): Delete.
14868 (override_options): Remove -mspace related code.
14869 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
14870 (compute_frame_size): Only allocate space for register that
14871 actually need to be saved.
14872 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
14873 (TARGET_SWITCHES): Remove -mspace, -mno-space
14874 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
14875 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
14876 * pa/ee.asm, pa/ee_fp.asm: Delete.
14877
14878 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
14879
14880 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
14881 directive in column zero.
14882
14883 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
14884
14885 * m68k.c (output_function_prologue): Fix computation of save mask
14886 when generating PIC code.
14887
14888 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
14889
14890 * tree.c (build_type_attribute_variant): Move current_obstack restore
14891 after build_qualified_type call.
14892
14893 1999-07-15 Mark Mitchell <mark@codesourcery.com>
14894
14895 * configure.in: Use t-iris6, even with GNU LD.
14896 * config/mips/iris6gld.h: Fix typo in linker spec.
14897 * config/mips/t-iris6gld: Remove.
14898
14899 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
14900
14901 * rs6000.md (insv, extzv): Remove SImode dependence in named
14902 patterns. Explicitly generate DImode RTL if PowerPC64 and
14903 operand is DImode.
14904 (insvdi): Reverse start and size in instruction template.
14905
14906 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
14907
14908 * invoke.texi: Typo fixes.
14909
14910 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
14911
14912 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
14913 handle at this time instead of silently generating incorrect code.
14914 (gen_imagpart): Likewise.
14915
14916 * reload.c (find_reloads): Emit a USE for a pseudo register without
14917 a hard register if we could not create an optional reload for the
14918 pseudo.
14919
14920 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14921
14922 * c-typeck.c (output_init_element, process_init_element):
14923 When advancing constructor_unfilled_fields for a RECORD_TYPE,
14924 check for nameless bit fields.
14925
14926 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
14927
14928 * regclass.c (scan_one_insn): Notice subregs that change the
14929 size of their operand.
14930 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
14931
14932 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
14933
14934 * configure.in (alpha*-*-*): Include alpha/t-ieee.
14935 * configure: Rebuilt.
14936 * alpha/t-ieee: New file.
14937
14938 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
14939
14940 * rs6000.c (find_addr_reg): Do not select r0 as an address
14941 register.
14942
14943 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
14944
14945 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
14946
14947 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
14948
14949 * rs6000.md (movsf): Do not force easy FP constants into memory.
14950
14951 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
14952 immed_double_const to ensure they are properly truncated then
14953 sign extended.
14954
14955 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
14956
14957 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
14958 always unless NO_DEBUG is used. Compile this code
14959 unconditionally.
14960 (replace_symbols_in_block): Compile it unconditionally.
14961
14962 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
14963
14964 * configure.in (i?86-*-elf*): New target.
14965 * configure: Rebuilt.
14966 * i386/i386elf.h, i386/t-i386elf: New files.
14967
14968 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14969
14970 * toplev.c (main): Don't complain about saying -gdwarf.
14971 (rest_of_compilation): Remove redundant code.
14972
14973 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
14974
14975 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
14976
14977 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
14978
14979 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
14980 "Li960R:", to avoid name clash.
14981
14982 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14983
14984 * loop.c (check_dbra_loop): When reversing a loop, delete all
14985 REG_EQUAL notes referencing the reversed biv except those which are
14986 for a giv based on it.
14987
14988 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
14989
14990 * version.c: Drop "gcc-" prefix from version #.
14991
14992 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
14993
14994 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
14995 the label if we're being verbose.
14996
14997 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
14998
14999 * m68k.c (output_function_prologue): Add pic register to mask
15000 if live and flag_pic.
15001 (output_function_epilogue): Likewise.
15002
15003 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
15004
15005 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
15006 directives in column zero.
15007
15008 * pa/elf.h (ASM_FILE_START): Define.
15009 * pa/som.h (ASM_FILE_START): Include .level directives.
15010 * pa/hpux10.h (ASM_FILE_START): Delete.
15011 * pa/hpux11.h (ASM_FILE_START): Delete.
15012
15013 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
15014
15015 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15016
15017 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
15018 when reload_out equals reload_in.
15019
15020 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
15021
15022 * invoke.texi (Spec Files): New node: Describe the contents of
15023 spec files.
15024
15025 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
15026
15027 * invoke.texi (DEC Alpha Options): Put @end table at
15028 beginning of line, to avoid confusing texi2html.
15029
15030 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
15031
15032 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
15033 introduced in previous delta.
15034
15035 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15036
15037 * reload1.c (gen_reload): When synthesizing a 3 operand add
15038 sequence, improve test for when to reload OP1 into the reload
15039 register instead of OP0.
15040
15041 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
15042
15043 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
15044
15045 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
15046
15047 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
15048 string literal.
15049
15050 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
15051
15052 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
15053 (va_dcl): Use __builtin_va_alist_t.
15054
15055 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
15056
15057 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
15058 on the permanent_obstack.
15059 * dwarfout.c (output_type): Likewise.
15060
15061 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
15062
15063 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15064 Merged from c-typeck.c and cp/typeck.c.
15065 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15066 Merged into c-common.
15067
15068 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
15069
15070 * c-lex.c (errorcount): Declare it.
15071 (finish_parse): Update errorcount when using CPPLIB.
15072
15073 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
15074
15075 * fixinc/inclhack.def(end_else_label): Double the backslash so
15076 sed gets a chance to see it.
15077 * fixinc/inclhack.sh: regen
15078 * fixinc/fixincl.x: regen
15079
15080 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
15081
15082 Add framework to support armv5 architecture when it becomes
15083 available:
15084
15085 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
15086 (arm_arch5): New variable.
15087 (all_architectures): Add armv5 line.
15088 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
15089 -march=armv5 is specified on the command line.
15090 (arm_arch5): Export this variable.
15091 * invoke.texi: Document new string accepted by -march= switch for
15092 ARM ports.
15093
15094 * config/arm/arm.h: Replace use of constant 12 as a register
15095 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15096 * config/arm/arm.c: Replace use of constant 12 as a register
15097 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
15098
15099 * config/arm/elf.h: Tidy up.
15100 * config/arm/coff.h: Tidy up.
15101
15102 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
15103
15104 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
15105 * gcc/config/mips/t-iris6gld: New file.
15106 * gcc/config/mips/iris6gld.h: Likewise.
15107
15108 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
15109
15110 * c-decl.c (widest_integer_literal_type_node,
15111 widest_unsigned_literal_type) : New.
15112 (init_decl_processing): Handle/use the two new types.
15113 * c-common.c (type_for_size,type_for_mode) : Same.
15114 * c-lex.c (yylex) : Same.
15115 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15116 Same.
15117 * c-tree.h (widest_integer_literal_type_node,
15118 widest_unsigned_literal_type) : New.
15119
15120 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
15121
15122 * dwarfout.c (field_byte_offset): Correctly compute the object's
15123 byte offset for the first bit of a field which crosses an alignment
15124 boundary on a !BYTES_BIG_ENDIAN target.
15125
15126 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
15127
15128 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
15129 ntohs.
15130
15131 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
15132 Jeff Law <law@cygnus.com>
15133
15134 * ginclude/varargs.h (va_dcl): Use word_mode for type of
15135 __builtin_va_list.
15136
15137 * except.c: Include intl.h.
15138 (expand_eh_return): Set current_function_cannot_inline.
15139 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
15140 * function.h (struct function): Add eh_return_stub_label.
15141 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
15142 * Makefile.in (except.o): Depend on intl.h.
15143
15144 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
15145
15146 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
15147 same as offsettable in cases 1 and 2.
15148
15149 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
15150
15151 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
15152 (extlh, extwh): Likewise.
15153
15154 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
15155
15156 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
15157
15158 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
15159
15160 * configure.in: Add arm-pe and thumb-pe targets.
15161 * configure: Regenerate.
15162
15163 * thumb.c (arm_naked_function_p): New function: Determines if
15164 a function is naked (has no gcc generated prologue/epilogue).
15165 (is_called_in_ARM_mode): Return true if the func has the
15166 interfacearm attribute.
15167 (output_return): Do not generate a return for naked functions.
15168 (thumb_function_prologue): Do not generate a prologue for
15169 naked functions.
15170 (thumb_expand_prologue): Do not generate a prologue for naked
15171 functions.
15172 (thumb_expand_epilogue): Do not generate an epilogue for naked
15173 functions.
15174 (arm_valid_machine_decl_attribute): New function, copied from
15175 arm.c: Permit naked and interfacearm attributes.
15176
15177 * config/arm/pe.c: New file: Support code for arm-pe target.
15178 * config/arm/pe.h: New file: Header file for arm-pe target.
15179 * config/arm/tpe.h: New file: Header file for thumb-pe target.
15180 * config/arm/t-thumb-pe: New file: Makefile fragment for
15181 thumb-pe target.
15182
15183 1999-07-01 Mark Kettenis <kettenis@gnu.org>
15184
15185 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
15186 -fPIC or -fpic is specified.
15187
15188 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
15189
15190 * expr.c (emit_block_move): Use copy_to_mode_reg for
15191 !TARGET_MEM_FUNCTIONS case too.
15192
15193 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
15194 appropriate.
15195 * configure: Rebuilt.
15196 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
15197 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
15198 definitions made redundant by dbxelf.h inclusion. Delete
15199 lots of definitions related to assembly output that are
15200 specific to the SOM object format.
15201 * pa.c (output_function_prologue): Do not emit the function's
15202 name for OBJ_ELF.
15203 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
15204 * pa-pro.h: Deleted.
15205 * som.h: New file with SOM specific definitions.
15206 * elf.h: New file with ELF specific definitions.
15207
15208 * elfos.h (const_section): Output a tab before assembler directives.
15209 (ctors_section, dtors_section): Likewise.
15210 (ASM_OUTPUT_SECTION_NAME): Likewise.
15211
15212 * pa/pa1.h: Delete unused file.
15213
15214 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
15215
15216 * configure.in (hppa*-hp-hpux11*): New configuration.
15217 * configure: Rebuilt.
15218 * pa/pa-hpux11.h: New file.
15219 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
15220 command line.
15221
15222 * mips.md (leasi, leadi): New patterns.
15223
15224 * expr.c (emit_block_move): Properly handle case where one of the
15225 block move arguments has a queued increment or decrement.
15226 (clear_storage): Similarly. Fix formatting goof.
15227
15228 1999-06-28 "David O'Brien" <obrien@NUXI.com>
15229
15230 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
15231 semicolon from the BSD VA_LIST replacement expression.
15232
15233 * fixinc/inclhack.sh: regen
15234 * fixinc/fixincl.x: regen
15235
15236 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
15237 now use the fixincl program.
15238
15239 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
15240
15241 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
15242 case. Also make the PIC register call_used.
15243
15244 * m68k.h (FINALIZE_PIC): Delete.
15245 * m68k.c (finalize_pic): Delete.
15246
15247 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
15248
15249 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
15250 to memory.
15251
15252 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
15253
15254 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
15255
15256 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
15257
15258 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
15259
15260 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
15261
15262 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
15263
15264 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
15265
15266 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
15267
15268 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
15269
15270 * rs6000.c (output_toc): Always use hex values for floating-point
15271 constants. Store single-precision values in upper-half of TOC
15272 entry in 64-bit mode.
15273 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
15274 to final constraints.
15275 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
15276 (fctiwz): Improve accuracy of RTL for pattern.
15277
15278 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
15279
15280 * expr.c (expand_expr): Allow RTL_EXPR's through the
15281 MAX_INTEGER_COMPUTATION_MODE checks.
15282
15283 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
15284
15285 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
15286 such that MASK_SUPPORT_ARCH is not negative.
15287
15288 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
15289
15290 * loop.c (verify_dominator): Properly handle ADDR_VEC and
15291 ADDR_DIFF_VEC insns that appear inside loops.
15292
15293 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
15294 Jeff Law <law@cygnus.com>
15295
15296 * rs6000.md (movdf_hardfloat32): Revert previous patch.
15297 Handle LO_SUM the same as offsettable in cases 1 and 2.
15298 * rs6000.c (find_addr_reg): Revert previous patch.
15299
15300 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
15301
15302 * system.h (strstr): New external function declaration.
15303 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
15304 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
15305 * config.in, configure: Rebuilt.
15306
15307 1999-06-24 Tom Tromey <tromey@cygnus.com>
15308
15309 * gcc.c (main): Read user-specified specs files after computing
15310 additional startfile_prefixes.
15311
15312 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
15313
15314 Revert these two patches:
15315
15316 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15317 * loop.c (strength_reduce): When doing biv->giv conversion, update
15318 reg note of NEXT->insn.
15319
15320 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15321 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15322 reg_biv_class.
15323 (recombine_givs): Set ix field after sorting.
15324
15325 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15326
15327 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
15328 for the parts of an UNSPEC / UNSPEC_VOLATILE.
15329
15330 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
15331
15332 *fixinc/inclhack.def: Add fix development commentary
15333 (read_ret_type): reactivate and add selection clause
15334 (zzz_*): tweak output file name to match what is used in hackshell.tpl
15335 *fixinc/{fixincl.x|inclhack.sh}: regen
15336
15337 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
15338
15339 * expr.c (expand_expr): STRIP_NOPS before checking against
15340 MAX_INTEGER_COMPUTATION_MODE
15341 (check_max_integer_computation_mode): Likewise.
15342
15343 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
15344
15345 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
15346
15347 1999-06-22 Jim Wilson <wilson@cygnus.com>
15348
15349 * expr.c (store_expr): When target is a promoted subreg, return a
15350 promoted subreg as a result.
15351
15352 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
15353
15354 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
15355 coding standards.
15356 (dwarf2out_define): Mark unused parameters appropriately.
15357 (gen_unspecified_parameters_die): Ditto.
15358 (gen_subprogram_die): Fix signed/unsigned warnings.
15359 (gen_variable_die): Ditto.
15360
15361 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
15362
15363 * fixinc/inclhack.def(end_else_label): combined else_label
15364 and endif_label and fixed the sed expression.
15365 *fixinc/{fixincl.x|inclhack.sh}: regen
15366
15367 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
15368
15369 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
15370 'x' when handling non-offsettable addresses
15371
15372 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
15373
15374 * final.c (shorten_branches): Don't try to split an insn that has
15375 been deleted.
15376
15377 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
15378
15379 * config/mips/mips.c (symbolic_expression_p): New function.
15380 (mips_select_rtx_section): Put symbolic expressions in the
15381 data section, not the read-only data section.
15382
15383 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
15384
15385 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
15386
15387 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
15388
15389 * collect2.c (main): Log frame table count.
15390 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
15391 (scan_prog_file) [COFF]: Handle frame tables.
15392
15393 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
15394 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
15395 * alpha/elf.h: Undef them again.
15396 * alpha/vms.h: Remove their definitions.
15397
15398 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15399
15400 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
15401 remove the clobber of r0 and change the REG_UNUSED note to
15402 REG_INC.
15403
15404 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
15405
15406 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
15407 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
15408 fits in HOST_WIDE_INT and one uses union to access a long constant
15409 as double.
15410
15411 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
15412
15413 * sparc.c (sparc_override_options): Don't allow profiling for
15414 code models other than medlow.
15415 (sparc_function_profiler): New function from old FUNCTION_PROFILER
15416 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
15417 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
15418 (sparc_block_profiler): Likewise.
15419 (sparc_function_block_profiler_exit): Likewise.
15420 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
15421 (FUNCTION_BLOCK_PROFILER): Likewise.
15422 (BLOCK_PROFILER): Likewise.
15423 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
15424 (MCOUNT_FUNCTION): New.
15425 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
15426 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
15427 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
15428 (MCOUNT_FUNCTION): New.
15429 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
15430 (BLOCK_PROFILER): Delete.
15431 (MCOUNT_FUNCTION): New.
15432
15433 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
15434
15435 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
15436
15437 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15438
15439 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15440 Add the macros.
15441
15442 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15443 Ditto.
15444
15445 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15446 Ditto.
15447
15448 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
15449 Ditto.
15450
15451 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
15452
15453 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
15454 types.
15455
15456 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
15457
15458 * i386/djgpp.h (LIB_SPEC): New.
15459 (STARTFILE_SPEC): New.
15460
15461 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
15462
15463 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
15464
15465 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
15466 compiler flags.
15467
15468 * system.h (WSTOPSIG): New macro.
15469
15470 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
15471
15472 * c-pragma.c (push_alignment): Don't ignore alignments greater than
15473 4 bytes.
15474 (insert_pack_attributes): Take into account member natural
15475 alignment.
15476
15477 * i386/winnt.c (exports_head): New static variable.
15478 (i386_pe_record_exported_symbol): New function.
15479 (i386_pe_asm_file_end): Use.
15480 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
15481 symbols to be emitted at end of assembly.
15482 (ASM_DECLARE_OBJECT_NAME): Likewise.
15483 (ASM_DECLARE_FUNCTION_NAME): Likewise.
15484
15485 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
15486 -iwithprefix.
15487
15488 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
15489
15490 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
15491 in last change.
15492
15493 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
15494
15495 * haifa-sched.c (sched_analyze_1): Use free_list instead of
15496 zapping reg_last_uses directly.
15497 (sched_analyze_2, sched_analyze_insn): Likewise.
15498 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
15499
15500 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
15501
15502 * rs6000.md (movdf_hardfloat32): Use worst case insn length
15503 attributes for cases 1 and 2.
15504
15505 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
15506
15507 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
15508 instead of set.
15509
15510 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
15511
15512 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
15513
15514 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
15515
15516 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
15517 PIC_OFFSET_TABLE_REGNUM for general alloaction.
15518 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
15519 must be stacked if it is used for PIC accesses.
15520 * arm.c (use_return_insn): Handle PIC register specially.
15521 (output_return_instruction): Likewise.
15522 (output_func_{prologue,epilogue}): Likewise.
15523 (output_expand_prologue): Likewise.
15524
15525 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
15526 (*strsi_predec): Renamed from *strqi_predec.
15527 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
15528 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
15529
15530 * arm.c (arm_override_options): Remove warning about PIC code
15531 not being supported.
15532
15533 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
15534
15535 * rs6000.c (find_addr_reg): New function.
15536 * rs6000.h (find_addr_reg): Declare.
15537 (offsettable_addr_operand): Delete.
15538 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
15539 from and stores to GPRs.
15540
15541 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
15542
15543 * alpha.c (alpha_expand_block_move): Use get_insns rather than
15544 gen_sequence as argument to emit_no_conflict_block.
15545
15546 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15547
15548 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
15549 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
15550 *fixinc/fixincl.x: regen
15551 *fixinc/inclhack.sh: regen
15552
15553 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
15554
15555 * added support for -mpcrel (PC relative addressing for m68k)
15556 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
15557 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
15558 * m68k.c (print_operand_address): Handle 32-bit PIC case.
15559 (comments for general_src_operand): Add some explanation
15560 about EXTRA_CONSTRAINTS.
15561 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
15562 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
15563 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
15564 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
15565 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
15566 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
15567 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
15568 if not already set.
15569 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
15570 * m68k.h (TARGET_PCREL): New target flag.
15571 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
15572 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
15573 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
15574 contains a SYMBOL_REF. Relax this constraint during reload, since
15575 we want to use the predicates, not reload's built-in concept of a
15576 valid memory address, to control what insns need reloading.
15577 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
15578 operands (essentially 'g', 'm', and 's' under normal circumstances).
15579 * m68k.c (print_operand): Cause printing of pc-relative addresses
15580 to include pc register.
15581 (print_operand_address): Ditto.
15582 (general_src_operand): Accept operands that are not only
15583 general_operands, but are also valid when used as a pc-relative
15584 source.
15585 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
15586 (memory_src_operand): Similar, for memory_operands.
15587 (pcrel_address): New predicate to accept the special case of a
15588 pc-relative address.
15589 * m68k.md (many patterns): Rewrite common SImode, HImode, and
15590 QImode insns to accept *_src_operand instead of *_operand where
15591 pc-relative operands can fit. For example, a pc-relative operand
15592 can be used as a memory source operand for addsi3, but not as a
15593 memory destination.
15594 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
15595
15596 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
15597
15598 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
15599 .thumb_set pseudo op to mark aliases of thumb functions.
15600
15601 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
15602
15603 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
15604 preference to ASM_OUTPUT_DEF, if it is defined.
15605
15606 * tm.texi: Document new, optional target macro
15607 ASM_OUTPUT_DEF_FROM_DECLS.
15608
15609 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15610
15611 * fixincludes: ISCNTL patch
15612 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
15613 (dgux_int_varargs): new for DG/UX
15614 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
15615
15616 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
15617
15618 * invoke.texi (ia32 options): Fix typo.
15619
15620 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15621
15622 * loop.c (strength_reduce): When doing biv->giv conversion, update
15623 reg note of NEXT->insn.
15624
15625 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
15626
15627 * loop.c (move_movables): Note issues with replacing REGs with
15628 SUBREGs.
15629 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
15630
15631 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
15632
15633 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
15634
15635 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
15636 the reference to `mcount' was not correct for the ELF on FreeBSD.
15637
15638 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15639
15640 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15641 reg_biv_class.
15642
15643 (recombine_givs): Set ix field after sorting.
15644
15645 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
15646
15647 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
15648 to safe to extract a subword out of a REG.
15649
15650 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15651
15652 * sh.md (mulsi3): Don't add a no-op move at the end.
15653
15654 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15655
15656 * cse.c (cse_insn): Don't put hard register source into tables for
15657 the last insn of a libcall.
15658
15659 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15660
15661 * loop.c (strength_reduce): Insert sets of derived givs at every
15662 biv increment, even if it's the only one.
15663
15664 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
15665
15666 * dwarfout.c (add_incomplete_type): New fn.
15667 (output_type): Call it.
15668 (retry_incomplete_types): New fn.
15669 (dwarfout_finish): Call it.
15670
15671 From Eric Raskin <ehr@listworks.com>:
15672 (output_type): Output types for bases.
15673
15674 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15675
15676 * mips.c (mips_output_conditional_branch): Add `break'
15677 between `default' label and `close braces'.
15678
15679 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
15680
15681 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
15682 specifications and make it realistic.
15683 (LIB_SPEC): Likewise.
15684
15685 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
15686
15687 * config/mips/mips.c (mips_secondary_reload_class): Check for
15688 (PLUS (SP) (REG)) and return appropriate register class.
15689 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
15690 Handle (PLUS (SP) (REG)).
15691 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
15692 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
15693 of emit_insn for tablejump.
15694
15695 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
15696
15697 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
15698 asm_fprintf format string by itself.
15699 (output_function_profiler): Likewise.
15700
15701 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
15702
15703 * combine.c (simplify_logical, case AND): Only call
15704 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
15705 or the constant is positive.
15706
15707 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
15708
15709 * configure.in: Fix typo in rs6000-ibm-aix4 case.
15710 * configure: Regenerate.
15711
15712 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
15713
15714 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
15715 require a sub-version #.
15716 * configure: Rebuilt.
15717
15718 1999-06-14 Robert Lipe (robertlipe@usa.net)
15719
15720 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
15721
15722 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
15723
15724 * c-typeck.c (process_init_element): Detect excess elements in
15725 char array initializer.
15726
15727 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15728
15729 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
15730
15731 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15732
15733 * invoke.texi (Option Summary): Add -fpermissive flag.
15734
15735 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
15736
15737 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
15738 that require PIC code sequences.
15739
15740 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
15741
15742 * configure.in: Add new target: thumb-elf.
15743 * configure: Regenerate.
15744 * config/arm/t-thumb-elf: New file: Makefile fragment for
15745 thumb-elf build.
15746 * config/arm/telf.h: New file: Header file for thumb-elf
15747 build.
15748
15749 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
15750
15751 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
15752 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
15753 initializers is some circumstances.
15754
15755 * fixinc/inclhack.def (endif_label): Add additional selector for
15756 more bogus stuff after #endif statements.
15757 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15758
15759 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
15760
15761 * i386/cygwin.h (SET_ASM_OP): Define.
15762
15763 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
15764
15765 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
15766
15767 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15768
15769 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
15770 latter.
15771
15772 * sh.md (ic_invalidate_line_i): Remove second alternative.
15773
15774 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15775
15776 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
15777 test for the presence of valid prototypes. Delete bypass expr.
15778 (ioctl_fix_ctrl): Correct the selection expression.
15779 (no_double_slash): Correct quoting rules
15780 *fixinc/fixincl.x: regen
15781 *fixinc/inclhack.sh: regen
15782
15783 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
15784
15785 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
15786
15787 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15788
15789 * rs6000.md (movsi_got_internal_mem): Delete.
15790 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
15791 (GOT_TOC_REGNUM): Delete.
15792 (PIC_OFFSET_TABLE_REGNUM): Define.
15793 (FINALIZE_PIC): Disable.
15794 * rs6000.c (rs6000_got_register): New code for fixed pic register.
15795 (rs6000_replace_regno): Delete.
15796 (rs6000_finalize_pic): Likewise.
15797 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
15798
15799 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15800
15801 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
15802 is a note; use <= for the compare; advance P while it is
15803 a NOTE.
15804
15805 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
15806
15807 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
15808 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
15809
15810 * varasm.c (remove_from_pending_weak_list): Verify t->name
15811 is non-NULL before passing it to strcmp.
15812
15813 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
15814
15815 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
15816 the typed arguments are not part of a comment
15817 (ioctl_fix_ctrl): Added a purpose comment
15818 *fixinc/fixincl.x: regenerate
15819 *fixinc/inclhack.sh: regenerate
15820
15821 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15822
15823 * invoke.texi: Add C4x invocation docs.
15824
15825 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15826
15827 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
15828 Define new macros.
15829 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
15830 TARGET_EXPOSE_LDP.
15831 (c4x_legitimize_reload_address): New function.
15832 * config/c4x/c4x.md: Update docs.
15833
15834 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
15835
15836 * fixincludes: Avoid removing '.'.
15837 * fixinc/fixinc.svr4: Likewise.
15838 * fixinc/fixinc.winnt: Likewise.
15839 * fixinc/inclhack.tpl: Likewise.
15840 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
15841
15842 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15843
15844 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
15845 pattern.
15846 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
15847
15848 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
15849
15850 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
15851 correctly.
15852
15853 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
15854
15855 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
15856 * configure: Regenerate.
15857
15858 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
15859
15860 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
15861 values.
15862
15863 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
15864
15865 * fixinc/inclhack.def (avoid_bool): Also catch
15866 "typedef [unsigned] int bool".
15867 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15868
15869 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
15870 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
15871 * configure: Rebuilt.
15872
15873 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
15874
15875 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
15876 such that we can override its definitions if necessary.
15877 (CPP_SPEC): New define. Support processor specific predefines via
15878 %(cpp_cpu).
15879 (CC1_SPEC): New define. Support processor specific compiler
15880 options via %(cc1_cpu).
15881 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
15882 -static.
15883
15884 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15885
15886 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
15887 between sed's -e flag, and the open-quote following it.
15888 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
15889
15890 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
15891 Jeffrey A Law (law@cygnus.com)
15892
15893 * varasm.c (assemble_start_function): Remove the function
15894 from the pending weak decls list when we define a function.
15895 (assemble_variable): Similarly for variables.
15896 (weak_finish): Ignore items on the list with a NULL name.
15897 (remove_from_ending_weak_list); New function to "remove" an item
15898 from the pending weak declarations list.
15899
15900 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
15901
15902 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
15903
15904 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
15905
15906 * c-lex.c (GETC): Redefine to call getch.
15907 (UNGETC): Redefine to call put_back.
15908 (putback_buffer): New structure type.
15909 (putback): New static structure.
15910 (getch): New function.
15911 (put_back): New function.
15912 (yylex): Replace unused bytes from bad multibyte character.
15913
15914 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
15915
15916 * cpplib.c (do_define): Cast `alloca' return value.
15917 (do_include, do_undef, do_pragma): Likewise.
15918 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
15919 values.
15920 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
15921 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
15922
15923 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
15924
15925 * sparc.md (abstf2): This should be an expand.
15926 (split after abstf2_notv9): Fix mode.
15927 (abstf2_hq_v9): New pattern.
15928 (abstf2_v9): Only use when no hard quad.
15929 (absdf2_v9): Fix if target is not the same as source.
15930 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
15931 Add correct output constraints.
15932
15933 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
15934
15935 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
15936 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
15937
15938 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
15939
15940 * mips.h (mips_output_conditional_branch): New function.
15941 (mips_adjust_insn_length): Likewise.
15942 (ASSEMBLER_SCRATCH_REGNUM): New macro.
15943 (ADJUST_INSN_LENGTH): Likewise.
15944 * mips.c (print_operand): Add `F' and `W' for floating-point
15945 comparison opcodes.
15946 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
15947 are now in bytes.
15948 (mips_adjust_insn_length): New function.
15949 (mips_output_conditional_branch): New function.
15950 * mips.md (length): Adjust attribute definition to handle
15951 conditional branches. Change lengths to bytes, rather than
15952 instructions throughout. Remove length attribute from
15953 instructions whose length is four bytes, and rely on the default
15954 instead.
15955 (dslot): Fix typo in comment.
15956 Reword conditional branch patterns to use
15957 mips_output_conditional_branch.
15958
15959 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15960
15961 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
15962 (LIB_SPEC): Likewise.
15963 Link with -lprof1_r for -g/-pg.
15964
15965 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15966
15967 * loop.c (check_dbra_loop): Fix change of Jan 19.
15968
15969 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
15970
15971 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
15972 (STARTFILE_SPEC): Define, override the svr4.h version.
15973 (ENDFILE_SPEC): Likewise.
15974
15975 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
15976
15977 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
15978 * fixinc/fixincl.x: Regenerated.
15979 * fixinc/inclhack.sh: Regenerated.
15980
15981 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15982
15983 * sh.c (barrier_align): Don't return early for normal branch/barrier
15984 when optimizing for SH2.
15985
15986 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
15987
15988 * i386/udk.h (LINK_SPEC): Correct linker search path for
15989 system libraries.
15990
15991 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15992
15993 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
15994 (braf_label_ref_operand): Delete.
15995 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
15996 * sh.md (casesi_jump_2): Operand1 is now the inside of a
15997 label_ref, and has no predicate.
15998 The patten has a predicate to guard against invalid substitutions.
15999 (dummy_jump): Delete.
16000 (casesi): Update use of casesi_jump_2.
16001
16002 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16003
16004 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
16005 *fixinc/fixincl.x: regenerate
16006 *fixinc/inclhack.sh: regenerate
16007
16008 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
16009
16010 * dwarf2out.c (add_incomplete_type): New fn.
16011 (gen_struct_or_union_type_die): Call it.
16012 (retry_incomplete_types): New fn.
16013 (dwarf2out_finish): Call it.
16014
16015 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
16016
16017 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
16018 current block starts with a CODE_LABEL and ends with a CALL and
16019 we can not find all the argument setup instructions for the CALL.
16020
16021 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
16022
16023 Revert this change:
16024 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16025 something is a candidate for optimize_bit_field_compare.
16026
16027 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16028
16029 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
16030
16031 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
16032
16033 * alpha.c (override_options): Thinko in last patch.
16034
16035 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
16036 (LIB_SPEC): Recognize -pthread.
16037
16038 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
16039
16040 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
16041 definition in config/arm/coff.h
16042 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
16043
16044 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16045
16046 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
16047 fixes that need "file=xxx\n" prepended before invocation
16048 (start_fixer - new): starting the fixer process is complex enough
16049 to warrent its own routine. It prepends the "file=xxx\n" stuff.
16050 (process): uses the new routine; omit usage of putenv()
16051 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
16052 * fixinc/fixincl.x: regenerate
16053
16054 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
16055
16056 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
16057 and version #s (1.1 -> 2.96) as needed.
16058 * README.g77: Kill way out of date file in the toplevel directory.
16059
16060 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
16061
16062 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
16063 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
16064 * configure: Rebuilt.
16065 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
16066 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
16067 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
16068 (SWITCH_TAKES_ARG): Likewise.
16069 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
16070 * config/t-freebsd: Moved from config/i386/ so it can used for all
16071 FreeBSD targets.
16072
16073 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
16074
16075 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
16076
16077 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
16078
16079 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
16080 * configure: Rebuilt.
16081
16082 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
16083
16084 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
16085 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
16086 * rs6000/rs6000.c (rs6000_file_start): Use putc.
16087 (rs6000_output_load_toc_table): Same.
16088 (output_prolog, output_mi_thunk): Same.
16089 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
16090 (ASM_GLOBALIZE_LABEL): Use putc.
16091
16092 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
16093
16094 * alpha.md (reload_*_help): New patterns and splitters.
16095 (reload_*): Use them.
16096 (mov[qh]i): Likewise.
16097
16098 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
16099
16100 * cccp.c (handle_directive): Handle backslash-newlines in quoted
16101 strings correctly.
16102
16103 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
16104
16105 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
16106
16107 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
16108
16109 * flow.c (mark_regs_live_at_end, insn_dead_p,
16110 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
16111 and HARD_FRAME_POINTER_REGNUM special treatment if reload
16112 hasn't run or the frame pointer is needed.
16113 * haifa-sched.c (attach_deaths): Likewise.
16114 * sched.c (attach_deaths): Likewise.
16115
16116 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
16117
16118 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
16119 calculate_can_reach_end returns nonzero.
16120
16121 * configure.in (native gas tests): Search for an assembler in the
16122 same manner that the installed compiler will.
16123 * configure: Rebuilt.
16124 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
16125
16126 * alias.c (find_base_term): Improve handling of addresses
16127 constructed from binary operations.
16128
16129 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
16130
16131 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
16132
16133 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
16134
16135 * function.h (cleanup_label, frame_offset): Declare.
16136 (tail_recursion_label, tail_recursion_reentry): Likewise.
16137 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16138 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
16139 (tail_recursion_label, tail_recursion_reentry): Likewise.
16140 (arg_pointer_save_area, rtl_expr_chain): Likewise.
16141
16142 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
16143
16144 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
16145 defined.
16146 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
16147 (MAX_OFILE_ALIGNMENT): Define.
16148
16149 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
16150
16151 * fixincl.c: Replace local include scheme with #includes of
16152 gansidecl.h and system.h.
16153 * procopen.c: Likewise.
16154 * server.c: Likewise.
16155
16156 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
16157
16158 * i386/t-dgux (EXTRA_PARTS): Add crti.o
16159 (crti.o): Add build rule and dependencies.
16160 * fixinc/fixinc.dgux: Use modified _int_varargs.h
16161
16162 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16163
16164 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
16165 (LIB_LINUX_SPEC): Likewise.
16166 (LIB_LINUX_SPEC): Add support for -pthread
16167 (CPP_OS_LINUX_SPEC): Likewise.
16168 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
16169 specified.
16170
16171 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
16172
16173 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
16174 conditional move.
16175 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
16176 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
16177 for IEEE math and CC_FCOMI.
16178 (put_jump_code): No IEEE if CC_FCOMI is set.
16179
16180 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16181
16182 * fold-const.c (fold_truthop): Make the field reference unsigned
16183 when converting a single bit compare.
16184
16185 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16186
16187 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
16188
16189 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
16190
16191 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
16192 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
16193 version did.
16194
16195 * reload.c (push_reload): Do not call remove_address_replacements
16196 when presented with identical optional reloads.
16197
16198 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
16199
16200 * alpha.h (MASK_FIX, TARGET_FIX): New.
16201 (MASK_*): Reorganize constants.
16202 (CPP_AM_FIX_SPEC): New.
16203 (TARGET_SWITCHES): Add FIX.
16204 (EXTRA_SPECS): Likewise.
16205 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
16206 (SECONDARY_MEMORY_NEEDED): Likewise.
16207 (REGISTER_MOVE_COST): Likewise.
16208 * alpha.c (override_options): Add FIX support. Always use
16209 ALPHA_TP_PROG for ev6.
16210 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
16211 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
16212 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
16213
16214 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
16215
16216 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16217 something is a candidate for optimize_bit_field_compare.
16218
16219 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
16220
16221 * gcc.texi (Passes): Document branch-shortening.
16222 * invoke.texi (Debugging Options): Document the fact that `-dp'
16223 outputs length information for instructions.
16224
16225 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
16226
16227 * flow.c: Revert previous delta.
16228
16229 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
16230
16231 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
16232 FRAME_POINTER_REGNUM.
16233 (mark_set_1): Ditto.
16234 (mark_used_regs): Ditto.
16235
16236 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
16237
16238 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
16239 (GOT_PCREL): New macro. Define to 1 if not already defined.
16240 * arm/elf.h (GOT_PCREL): Define to 0.
16241 * arm.c (arm_finalize_pic): Take into account the setting of
16242 GOT_PCREL.
16243
16244 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
16245
16246 * output.h (STRIP_NAME_ENCODING): Provide default definition.
16247 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
16248
16249 * flow.c (mark_set_1): Do not record BLKmode stores as dead
16250 store elimination candidates.
16251
16252 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
16253
16254 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
16255 TARGET_GAS.
16256
16257 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
16258
16259 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
16260 Add use of x-aix41-gld.
16261
16262 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
16263
16264 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
16265 (ASM_OUTPUT_DESTRUCTOR): Define.
16266
16267 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
16268
16269 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
16270 last CODE_LABEL in a loop if we have previously passed a jump
16271 to the top of the loop.
16272
16273 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
16274
16275 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
16276 applying Philip's patch.
16277
16278 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
16279
16280 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
16281 are not VAR_DECLs.
16282
16283 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
16284
16285 * loop.c (strength_reduce): Grow reg_single_usage as needed.
16286
16287 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
16288
16289 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
16290 Also remove a useless comment.
16291
16292 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
16293
16294 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
16295
16296 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
16297
16298 * collect2.c (main): Only generate import or export file and add
16299 to link arguments if non-empty. Use xmalloc not alloca.
16300 (write_{export,import}_file): Delete.
16301 (write_aix_file): New function.
16302 (locatelib): Use xmalloc not malloc.
16303 (GCC_OK_SYMBOL): Do not check type if aix64.
16304
16305 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
16306
16307 Based on patch by Scott Bambrough and Pat Beirne:
16308 * config/arm/arm.c (making_const_table): New variable.
16309 * config/arm/arm.h (making_const_table): Declare.
16310 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
16311 appropriate.
16312 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
16313 Keep track of when we are building the constant table.
16314
16315 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
16316
16317 * config/arm/arm.c (arm_override_options): Fix erroneous warning
16318 message.
16319
16320 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
16321
16322 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
16323 defined.
16324
16325 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
16326
16327 * tm.texi (FUNCTION_ARG): Correct description of a stack element
16328 in a PARALLEL.
16329
16330 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
16331
16332 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
16333
16334 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16335
16336 * rs6000.c (output_mi_thunk): Enable full support again.
16337
16338 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16339
16340 * sh.h (BRANCH_COST): Define.
16341
16342 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
16343
16344 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
16345
16346 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
16347
16348 * function.c (assign_stack_local): Align stack slot propertly.
16349 (assign_outer_stack_local): Likewise.
16350
16351 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
16352
16353 * expr.h (lang_expand_constant): Declare.
16354 * toplev.c (lang_expand_constant): Define it.
16355 * varasm.c (output_constant): Use it.
16356
16357 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16358
16359 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
16360 Change function definitions to K&R style.
16361
16362 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16363
16364 * fixinc/fixincl.c: We must not ignore SIGCLD now.
16365
16366 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
16367
16368 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
16369 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
16370 (several places): omit static initialization
16371 (process): use single fd, since only the read fd is used
16372 * fixinc/gnu-regex.c: define 'const' away, if not supported
16373 * fixinc/procopen.c(several places): omit static initialization
16374 * fixinc/server.c: define 'volitile' away, if not supported
16375
16376 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
16377
16378 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
16379 asm_fprintf and %L to generate the label name.
16380 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
16381 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
16382
16383 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
16384
16385 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
16386 insn for a conditional jump can not be found.
16387
16388 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
16389
16390 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
16391 on variables in specific sections other than .sbss and .sdata.
16392
16393 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
16394
16395 * stmt.c (expand_return): Call start_cleanup_deferral and
16396 end_cleanup_deferral around conditional code.
16397
16398 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16399
16400 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
16401 filename lists. Utilizes new "krstr" AutoGen function.
16402 * fixinc/fixincl.x: Rebuilt.
16403
16404 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
16405
16406 * i386.c (output_float_compare): Avoid GNU-C extensions.
16407
16408 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
16409
16410 * version.c: Bump to distinguish mainline tree from the
16411 gcc-2.95 branch.
16412
16413 See ChangeLog.1 for earlier changes.
This page took 0.732581 seconds and 4 git commands to generate.