i386.md (float_truncate splitter, [...]): Add reload_completted; fix operand predicate.
[gcc.git] / gcc / ChangeLog
1 Tue Jun 26 12:40:12 CEST 2001 Jan Hubicka <jh@suse.cz>
2
3 * i386.md (float_truncate splitter, and to mov splitters): Add
4 reload_completed; fix operand predicate.
5
6 * haifa-sched.c (sched_init): Do not split insns.
7 * toplev.c (rest_of_compilation): Call split_all_insns before
8 sched1 pass; simplify condition of post-reload splitter;
9 call split_all_insn before sched2 pass.
10
11 2001-06-26 Gabriel Dos Reis <gdr@codesourcery.com>
12
13 * diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
14 (set_message_prefixing_rule): Adjust prototype.
15 * diagnostic.c (current_prefixing_rule): Adjust type.
16
17 2001-06-26 Neil Booth <neil@daikokuya.demon.co.uk>
18
19 * defaults.h: Default escape sequences to ASCII.
20 * config/i370/i370.h: Adjust for ASCII default.
21 * config/1750a/1750a.h: Remove escape sequence definitions.
22 * config/a29k/a29k.h: Similarly.
23 * config/alpha/alpha.h: Similarly.
24 * config/arc/arc.h: Similarly.
25 * config/arm/arm.h: Similarly.
26 * config/avr/avr.h: Similarly.
27 * config/c4x/c4x.h: Similarly.
28 * config/clipper/clipper.h: Similarly.
29 * config/convex/convex.h: Similarly.
30 * config/d30v/d30v.h: Similarly.
31 * config/dsp16xx/dsp16xx.h: Similarly.
32 * config/elxsi/elxsi.h: Similarly.
33 * config/fr30/fr30.h: Similarly.
34 * config/h8300/h8300.h: Similarly.
35 * config/i386/i386.h: Similarly.
36 * config/i860/i860.h: Similarly.
37 * config/i960/i960.h: Similarly.
38 * config/ia64/ia64.h: Similarly.
39 * config/m32r/m32r.h: Similarly.
40 * config/m68hc11/m68hc11.h: Similarly.
41 * config/m68k/m68k.h: Similarly.
42 * config/m88k/m88k.h: Similarly.
43 * config/mcore/mcore.h: Similarly.
44 * config/mips/mips.h: Similarly.
45 * config/mn10200/mn10200.h: Similarly.
46 * config/mn10300/mn10300.h: Similarly.
47 * config/ns32k/ns32k.h: Similarly.
48 * config/pa/pa.h: Similarly.
49 * config/pdp11/pdp11.h: Similarly.
50 * config/pj/pj.h: Similarly.
51 * config/romp/romp.h: Similarly.
52 * config/rs6000/rs6000.h: Similarly.
53 * config/sh/sh.h: Similarly.
54 * config/sparc/sparc.h: Similarly.
55 * config/v850/v850.h: Similarly.
56 * config/vax/vax.h: Similarly.
57 * config/we32k/we32k.h: Similarly.
58 * doc/tm.texi: Update documentation.
59
60 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
61
62 * diagnostic.c (digit_buffer): Remove as global. Move to...
63 * diagnostic.h (struct output_buffer): ... here.
64 * diagnostic.c (output_formatted_integer): Adjust use of digit_buffer.
65
66 2001-06-25 Steve Ellcey <sje@cup.hp.com>
67
68 * config.gcc (ia64*-*-hpux*): Add ia64/hpux_longdouble.h to tm_file.
69 Define tmake_file to include ia64/t-hpux.
70 * real.c (INTEL_EXTENDED_IEEE_FORMAT): Test for value instead of
71 testing to see if it is defined.
72 * real.h (INTEL_EXTENDED_IEEE_FORMAT): Likewise. Default to 0 if
73 undefined.
74 * config/ia64/hpux_longdouble.h: New.
75 * config/ia64/ia64.c (hfa_element_mode): Add comment about incorrect
76 handling of long doubles.
77 (ia64_function_arg, ia64_function_value): Add checks for TFmode
78 and INTEL_EXTENDED_IEEE_FORMAT.
79 * config/ia64/ia64.h (INTEL_EXTENDED_IEEE_FORMAT): Define to one.
80 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, LIBCALL_VALUE): Add checks for
81 TFmode and INTEL_EXTENDED_IEEE_FORMAT.
82 * config/ia64/ia64.md (all TFmode patterns): Test
83 INTEL_EXTENDED_IEEE_FORMAT in condition.
84 (floatdidf2, floatdisf2): New, for !INTEL_EXTENDED_IEEE_FORMAT.
85 * config/ia64/quadlib.c: New.
86 * config/ia64/t-hpux: New.
87 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Define to one.
88
89 2001-06-25 Jim Wilson <wilson@redhat.com>
90
91 * config/i960/t-960bare (i960-c.o): Add missing header dependencies.
92 * config/i960/t-vxworks960: Likewise.
93
94 2001-06-25 Dale Johannesen <dalej@apple.com>
95
96 * bitmap.c (bitmap_last_bit_set): Fix a non-c89 usage (null actual
97 argument to macro).
98
99 Mon Jun 25 11:10:51 CEST 2001 Jan Hubicka <jh@suse.cz>
100
101 * i386.md (movsi_insv_1, movsi_insv_1_rex64): Fix constraints.
102
103 2001-06-25 Joseph S. Myers <jsm28@cam.ac.uk>
104
105 * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
106 doc/gcc.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
107 doc/md.texi, doc/rtl.texi, doc/tm.texi: Be more consistent about
108 the use of "GCC" and related terms.
109 * doc/gcc.1, doc/gcov.1: Regenerate.
110
111 2001-06-24 Joseph S. Myers <jsm28@cam.ac.uk>
112
113 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
114 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Remove
115 uses of @refill.
116
117 Sun Jun 24 21:21:49 CEST 2001 Jan Hubicka <jh@suse.cz>
118
119 * (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
120
121 2001-06-24 Richard Henderson <rth@redhat.com>
122
123 * builtins.c (expand_builtin_expect_jump): Disable if the
124 expression can't be re-evaluated.
125
126 2001-06-24 Nick Clifton <nickc@cambridge.redhat.com>
127
128 * config/arm/arm.c (arm_compute_save_reg_mask): For FIQ interrupt
129 handlers examine register r0-r7, for other interrupt handlers
130 examine r0-r12. If the interrupt handler is not a leaf function
131 save all call clobbered registers.
132 (arm_output_epilogue): If the prologue has pushed the IP register,
133 restore it here.
134 (Arm_expand_prologue): For interrupt functions that need the frame
135 pointer, push the IP register before it is corrupted.
136
137 * config/arm/arm.h (ARM_SIGN_EXTEND): Fix compile time warnings
138 about the use of signed and unsigned quantities in a conditional.
139
140 2001-06-23 Richard Henderson <rth@redhat.com>
141
142 * config/alpha/crtfastmath.c: New file.
143 * config/alpha/t-crtfm: New file.
144 * config/alpha/elf.h (ENDFILE_SPEC): Use crtfastmath.o.
145 * config/alpha/osf.h (ENDFILE_SPEC): Likewise.
146 * config/alpha/t-crtbe (EXTRA_PARTS): Add pieces defined here.
147 * config.gcc (alpha-{linux,freebsd,netbsd,osf}): Use alpha/t-crtfm;
148 do not set extra_parts here.
149
150 2001-06-24 Joseph S. Myers <jsm28@cam.ac.uk>
151
152 * doc/install-old.texi: Remove more documentation of configure
153 options.
154 * doc/install.texi: Add it here.
155
156 Sat Jun 23 19:40:05 CEST 2001 Jan Hubicka <jh@suse.cz>
157
158 * i386-protos.h (emit_i387_cw_initialization): Declare.
159 * i386.md (movsi_insv_1): Remove '*'.
160 (fix_trunc?f?i2): Revamp to use control word parameters.
161 (fix_trunc?i_1): Likewise; update splitters.
162 (fix splitter): Remove.
163 * i386.c (MAX_386_STACK_LOCALS): set to 3.
164 (emit_i387_cw_initialization): New function.
165 (output_fix_trunc): Do not initialize control word;
166 kill dead code; simplify.
167
168 2001-06-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
169
170 * cppmacro.c (make_string_token): Avoid warning.
171 (cpp_macro_definition): Prepend the macro name. Update
172 comments.
173 * cppmain.c (cb_define, dump_macro): Update for changes
174 to cpp_macro_definition.
175
176 Sat Jun 23 10:20:03 CEST 2001 Jan Hubicka <jh@suse.cz>
177
178 * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
179
180 Sat Jun 23 01:23:59 CEST 2001 Jan Hubicka <jh@suse.cz>
181
182 * flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
183 try_pre_increment_1): compute REG_FREQ using bb->frequency.
184
185 * regclass.c (loop_cost): Kill.
186 (frequency): New global variable.
187 (record_operand_costs): Replace loop_cost by frequency.
188 (scan_one_insn): Likewise.
189 (regclass): Likewise; set frequency according to bb->frequency.
190
191 * flow.c (split_edge): Set frequency.
192
193 Sat Jun 23 01:16:42 CEST 2001 Jan Hubicka <jh@suse.cz>
194
195 * predict.c (block_info_def): Add nvisited.
196 (propagate_freq): Count nvisited; re-queue delayed blocks; handle
197 irreducible regions.
198
199 * flow.c (dump_edge_info): Dump the probability of edge.
200 (combine_predictions_for_insn): Dump the basic block.
201
202 2001-06-22 Joseph S. Myers <jsm28@cam.ac.uk>
203
204 * doc/gcc.texi: Update documentation of source files of C
205 compiler.
206
207 2001-06-22 Richard Henderson <rth@redhat.com>
208
209 * doc/invoke.texi (-funsafe-math-optimizations): Document its
210 possible effects at link time.
211
212 2001-06-22 Diego Novillo <dnovillo@redhat.com>
213
214 * basic-block.h (dump_edge_info): Declare.
215 (clear_edges): Declare.
216 (mark_critical_edges): Declare.
217 * flow.c (dump_edge_info): Remove static declaration.
218 (clear_edges): Ditto.
219 (mark_critical_edges): Ditto.
220 (free_basic_block_vars): Only clear edges and free basic block
221 array if basic_block_info is not NULL.
222 * ssa.c (compute_dominance_frontiers): Remove static declaration.
223 * ssa.h (compute_dominance_frontiers): Declare.
224
225 2001-06-22 Toshiyasu Morita (toshiyasu.morita@hsa.hitachi.com)
226
227 * predict.c: (expected_value_to_br_prob): Check for const_true_rtx
228 instead of const1_rtx for true case.
229
230 2001-06-22 David Mosberger <davidm@hpl.hp.com>
231
232 * config/ia64/crtfastmath.c: New file.
233 * config/ia64/t-ia64 (EXTRA_PARTS): Include it.
234 * config/ia64/linux.h (ENDFILE_SPEC): New.
235
236 2001-06-22 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
237
238 * config/h8300/h8300.c (asm_file_start): Remove reference to
239 "release F-1".
240
241 2001-06-22 Joseph S. Myers <jsm28@cam.ac.uk>
242
243 * c-common.c (verify_tree): Check for x being NULL.
244 * doc/c-tree.texi: Document COMPOUND_BODY of an empty
245 COMPOUND_STMT.
246 Fixes PR c/3259.
247
248 2001-06-22 DJ Delorie <dj@redhat.com>
249
250 * config/arm/arm.h (struct machine_function): Remove ra_rtx.
251 * config/arm/arm.c (arm_mark_machine_status): Remove ra_rtx.
252 (arm_return_addr): Use get_hard_reg_initial_val et al.
253 * config/d30v/d30v.h (struct machine_function): Remove ra_rtx.
254 * config/d30v/d30v.c (d30v_mark_machine_status): Remove ra_rtx.
255 (d30v_return_addr): Use get_hard_reg_initial_val et al.
256 * config/rs6000/rs6000.h (struct machine_function): Remove ra_rtx.
257 * config/rs6000/rs6000.c (rs6000_override_options): Don't set
258 mark_machine_status.
259 (rs6000_mark_machine_status): Remove.
260 (rs6000_return_addr): Use get_hard_reg_initial_val.
261 (rs6000_ra_ever_killed): Use has_hard_reg_initial_val.
262 * config/v850/v850.h (INIT_EXPANDERS): Delete.
263 * config/v850/v850.c (struct machine_function): Delete.
264 (v850_init_machine_status): Delete.
265 (v850_mark_machine_status): Delete.
266 (v850_free_machine_status): Delete.
267 (v850_return_addr): Use get_hard_reg_initial_val.
268 (v850_init_expanders): Delete.
269
270 Fri Jun 22 19:20:59 CEST 2001 Jan Hubicka <jh@suse.cz>
271
272 * predict.c (estimate_bb_frequencies): Do not handle conditional
273 jumps jumping to fallthru basic block as conditional jumps.
274
275 Fri Jun 22 19:11:28 CEST 2001 Jan Hubicka <jh@suse.cz>
276
277 * regs.h (struct reg_info_def): Add freq field.
278 (REG_N_REFS): Update comment.
279 (REG_FREQ): New.
280 * regclass.c (scan_one_insn): Update REG_FREQ.
281 * flow.c (mark_set_1): Update REG_FREQ, make REG_N_SETS unweighted.
282 (attempt_auto_inc): Likewise.
283 (mark_used_reg): Likewise.
284 (try_pre_increment_1): Likewise.
285 * local-alloc.c (struct qty): Add freq field.
286 (alloc_qty): Set freq.
287 (update_equiv_regs): Set REG_FREQ.
288 (QTY_CMP_PRI): Use freq.
289 (combine_regs): Update qty->freq.
290 * global.c (struct allocno): Update comment for n_refs;
291 add freq field.
292 (local_reg_freq): New array.
293 (global_alloc): Update freq field;
294 allocate and initialize local_reg_freq.
295 (allocno_compare): Use freq field.
296 (find_reg): Likewise.
297 * reload1.c (count_pseudo): Use freq isntead of n_refs.
298 (count_spilled_pseudo): Likewise.
299
300 * tm.texi (GCOV_TYPE_SIZE): Document.
301 * basic-block.h (gcov_type): Define.
302 (struct edge_def): Use gcov_type for count field.
303 (struct basic_block_def): Likewise.
304 * defaults.h (GCOV_TYPE_SIZE): Define.
305 * final.c (end_final): Use GCOV_TYPE_SIZE.
306 * flow.c (dump_edge_info, dump_flow_info, dump_bb): Print count fields
307 using HOST_WIDEST_INT_PRINT_DEC.
308 * gcov-io.h (__fetch_gcov_type, __store_gcov_type, __read_gcov_type,
309 __write_gcov_type): New.
310 (store_long): Remove.
311 * gcov.c (gcov_type): Set default.
312 (struct adj_list): Use gcov_type for arc_count.
313 (bb_info): Use gcov_type for succ_count, pred_count and exec_count.
314 (create_program_flow_graph): Read arc_count properly.
315 (solve_program_flow_graph): 'total' is gcov_type.
316 (output_data): Line_counts is gcov_type, print it properly.
317 * libgcc2.c (struct bb): Counts is gcov_type.
318 (__bb_exit_func): Use __read_gcov_type and __write_gcov_type.
319 * profile.c (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set default.
320 (GCOV_TYPE_SIZE): Define.
321 (struct bb_info): succ_count and pred_count is gcov_type.
322 (compute_branch_probabilities): Use __read_gcov_type,
323 print read edges to the dump file.
324 (total): Is gcov_type.
325 (gen_edge_profiler): Use GCOV_TYPE_SIZE.
326
327 2001-06-14 Andrew Haley <aph@cambridge.redhat.com>
328
329 * optabs.c (emit_libcall_block): When using non-call exceptions,
330 don't mark libcalls never throwing.
331
332 2001-06-21 Stan Shebs <shebs@apple.com>
333
334 * objc/objc-act.c (hash_init): Use xcalloc.
335
336 2001-06-21 Richard Henderson <rth@redhat.com>
337
338 * flow.c (entry_exit_blocks): Initialize frequency.
339 (split_block): Copy it.
340 (dump_flow_info): Dump it.
341
342 Thu Jun 21 22:15:10 2001 J"orn Rennecke <amylaar@redhat.com>
343
344 * sh.c (barrier_align): Also recognize branch-around-a-jump-sequence
345 from machine-depedent_reorg for purposes of alignment supression
346 when no delay slot insn has been added.
347
348 2001-06-21 Neil Booth <neil@cat.daikokuya.demon.co.uk>
349
350 * cppmacro.c (make_string_token): Null terminate.
351
352 2001-06-21 DJ Delorie <dj@redhat.com>
353
354 * config/alpha/alpha.h (struct machine_function): Remove.
355 * config/alpha/alpha.c (integrate.h): Include.
356 (override_options): Don't set up machine_status hooks.
357 (alpha_init_machine_status): Remove.
358 (alpha_mark_machine_status): Remove.
359 (alpha_free_machine_status): Remove.
360 (alpha_return_addr): Use get_hard_reg_initial_val.
361 (alpha_gp_save_rtx): Likewise.
362 (alpha_ra_ever_killed): Use has_hard_reg_initial_val.
363
364 2001-06-20 Aldy Hernandez <aldyh@redhat.com>
365
366 * config/sh/sh.md (interrupt_function): Use
367 current_function_interrupt.
368 (define_delay): Schedule in delay slot if TARGET_SH3, even if it is
369 an interrupt function.
370
371 * config/sh/sh.h (current_function_interrupt): Define extern.
372
373 * config/sh/sh.c (current_function_interrupt): New global.
374 (sh_expand_prologue): Set current_function_interrupt.
375
376 2001-06-21 Phil Edwards <pme@sources.redhat.com>
377
378 * doc/install.texi: Add 'c' to list of --enable-languages choices.
379
380 2001-06-21 DJ Delorie <dj@redhat.com>
381
382 * integrate.c (mark_hard_reg_initial_vals): Check for NULL.
383
384 * integrate.c (ggc.h): Include.
385 (initial_value_pair, initial_value_struct,
386 setup_initial_hard_reg_value_integration): Add prototypes.
387 (expand_inline_function): Call
388 setup_initial_hard_reg_value_integration.
389 (has_func_hard_reg_initial_val, get_func_hard_reg_initial_val,
390 get_hard_reg_initial_val, has_hard_reg_initial_val): New functions
391 to keep track of values present at the start of a function.
392 (mark_hard_reg_initial_vals): New, for gc.
393 (setup_initial_hard_reg_value_integration): New. Sets up pseudo
394 mappings for initial values.
395 (emit_initial_value_sets): New. Emits code to set initial value
396 pseudos.
397 * integrate.h: Add prototypes for new functions.
398 * function.h (struct function): Add hard_reg_initial_vals field.
399 * function.c (integrate.h): Include.
400 (mark_function_status): Call
401 mark_hard_reg_initial_vals.
402 * toplev.c (integrate.h): Include.
403 (rest_of_compilation): Call emit_initial_value_sets.
404
405 2001-06-21 Stan Shebs <shebs@apple.com>
406
407 * doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi,
408 doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi,
409 doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C"
410 everywhere instead of "Objective C".
411
412 2001-06-21 Joseph S. Myers <jsm28@cam.ac.uk>
413
414 * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
415 doc/gcc.texi, doc/install-old.texi, doc/install.texi,
416 doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and
417 "back end" as nouns and "front-end" and "back-end" as adjectives.
418
419 Wed Jun 20 21:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
420
421 * predict.c (estimate_probability): Fix loop bounds.
422
423 Wed Jun 20 19:10:48 CEST 2001 Jan Hubicka <jh@suse.cz>
424
425 * toplev.c (rest_of_compilation): Run mark_constant_function
426 before profile-arcs.
427
428 Wed Jun 20 19:08:18 CEST 2001 Jan Hubicka <jh@suse.cz>
429
430 * predict.c (estimate_loops_at_level, propagate_freq
431 estimate_bb_frequencies, count_to_freqs): New functions.
432 (estimate_probability): Call estimate_bb_frequencies.
433 * basic-block.h (basic_block_def): Add field "freq".
434 (BB_FREQ_MAX): New constant.
435
436 Wed Jun 20 17:02:50 2001 J"orn Rennecke <amylaar@redhat.com>
437
438 * sh.c (barrier_align): Don't ask for alignment when seeing a
439 branch-around-a-jump from machine_dependent_reorg.
440
441 Wed Jun 20 08:35:02 2001 Jeffrey A Law (law@cygnus.com)
442
443 * ssa.c (rename_block): Update parameter to remove_phi_alternative
444 (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when
445 re-running life analysis.
446
447 2001-06-20 Stan Shebs <shebs@apple.com>
448
449 * objc/objc-act.c (hash_init): Assume xmalloc always succeeds,
450 also use memset to clear the hash tables.
451 (hash_enter): Assume xmalloc always succeeds.
452 (hash_add_attr): Ditto.
453 (continue_class): Ditto.
454
455 2001-06-20 Michael Meissner <meissner@redhat.com>
456
457 * builtins.c (predict.h): Include.
458 (expand_builtin_expect): Update comment.
459 (expand_builtin_expect_jump): New function to expand
460 __builtin_expect inside of a conditional jump expansion.
461
462 * expr.c (do_jump): Special case __builtin_expect (<test>, 0) and
463 __builtin_expect (<test>, 1).
464
465 * Makefile.in (builtins.o): Depend on $(PREDICT_H).
466
467 * rtl.h (expand_builtin_expect_jump): Add prototype.
468
469 2001-06-19 Geoffrey Keating <geoffk@redhat.com>
470
471 * doc/rtl.texi (Machine Modes): Correct description of
472 floating-point modes on machines with non-8-bit bytes.
473
474 2001-06-19 Bernd Schmidt <bernds@redhat.com>
475
476 * regmove.c (optimize_reg_copy_3): Do nothing if previous insn
477 carries a REG_EQUIV note. If it carries REG_EQUAL, delete the
478 note.
479
480 Tue Jun 19 07:53:52 2001 Jeffrey A Law (law@cygnus.com)
481
482 * ssa.c (remove_phi_alternative): Remove declaration. No longer
483 static. Second argument is a pointer to a basic block structure,
484 not a basic block index.
485 (convert_to_ssa): Do not remove dead code.
486 (convert_from_ssa): Do not remove dead code to create death notes.
487 * ssa.h (remove_phi_alternative): Declare.
488
489 * flow.c (delete_unreachable_blocks): Fix patch error in
490 previous change (call to find_unreachable_blocks was lost).
491
492 * ssa.c (ssa_uses): Remove definition.
493 (apply_delayed_renames): Don't grow ssa_uses.
494 (rename_block): Remove comment related to ssa_uses.
495 (rename_registers): Do not initialize ssa_uses.
496 (convert_from_ssa): Do not free ssa_uses.
497
498 * ssa-dce.c: Renamed from dce.c.
499 * Makefile.in (OBJS): Replace dce.o with ssa-dce.o
500 (dependencies): Replace dce.c with ssa-dce.c and dce.o with
501 ssa-dce.o.
502
503 2001-06-19 Eric Christopher <echristo@redhat.com>
504
505 * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode
506 and DFmode are UNITS_PER_WORD and 2*UNITS_PER_WORD. Use
507 GET_MODE_BITSIZE instead of GET_MODE_SIZE/UNITS_PER_WORD.
508
509 Tue Jun 19 01:52:27 2001 J"orn Rennecke <amylaar@redhat.com>
510
511 * sh.c (output_branch): Delete bogus code.
512
513 * sh.c (initial_elimination_offset):
514 Fix FROM == RETURN_ADDRESS_POINTER_REGNUM case.
515
516 Mon Jun 18 12:50:49 2001 Jeffrey A Law (law@cygnus.com)
517
518 * flow.c (find_unreachable_blocks): New function.
519 (delete_unreachable_blocks): Use find_unreachable_blocks.
520 * basic-block.h (find_unreachable_blocks): Declare.
521
522 * dce.c (eliminate_dead_code): Fix formatting glitch.
523
524 2001-06-18 Jason Merrill <jason_merrill@redhat.com>
525
526 * c-common.h (RETURN_NULLIFIED_P): New macro.
527 * c-semantics.c (genrtl_return_stmt): Check it.
528
529 * expr.c (clear_storage): Set TREE_NOTHROW on the decl for memset.
530 (emit_block_move): Likewise.
531
532 Mon Jun 18 17:27:24 CEST 2001 Jan Hubicka <jh@suse.cz>
533
534 * unroll.c: Include predict.h.
535 (unroll_loop): Drop prediction notes on preconditioning.
536 * predict.def (PRED_LOOP_PRECONDITIONG, PRED_LOOP_CONDITION):
537 New; add comments on the others.
538 * Makefile.in: (unroll.o): Add dependancy on predict.h.
539 * loop.c (strength_reduce): Fix branch prediction.
540
541 Mon Jun 18 17:26:56 CEST 2001 Jan Hubicka <jh@suse.cz>
542
543 * stmt.c (emit_case_nodes): Optimize test whether index is in given
544 interval.
545
546 Mon Jun 18 15:43:10 CEST 2001 Jan Hubicka <jh@suse.cz>
547
548 * predict.c (estimate_probability): Do not bail out early
549 when note is present.
550 (combine_predictions_for_insn): Fix note removal code.
551
552 2001-06-18 Ben Elliston <bje@redhat.com>
553
554 * except.c (resolve_fixup_regions): Initialise "cleanup".
555
556 2001-06-17 Neil Booth <neil@daikokuya.demon.co.uk>
557
558 * tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.
559
560 Sat Jun 16 20:20:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
561
562 * expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR,
563 use put_var_into_stack.
564
565 2001-06-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
566
567 * gccspec.c (lang_specific_driver): If compiling ObjC, add
568 -shared-libgcc when necessary.
569 * Makefile.in (gccspec.o): Compile with DRIVER_DEFINES.
570
571 2001-06-16 Daniel Berlin <dan@cgsoftware.com>
572
573 * bitmap.h: Add dump_bitmap, bitmap_zero, bitmap_union_of_diffs,
574 bitmap_a_or_b, bitmap_a_and_b, bitmap_first_set_bit,
575 bitmap_last_set_bit. All for compatibility with sbitmap's.
576
577 *bitmap.c (bitmap_zero): New function.
578 (bitmap_union_of_diffs): New function.
579 (bitmap_first_set_bit): New function.
580 (bitmap_last_set_bit): New function.
581
582 2001-06-16 Neil Booth <neil@daikokuya.demon.co.uk>
583
584 * cpp.texi, invoke.texi: Update.
585 * cpp.1, gcc.1: Regenerate.
586
587 Sat Jun 16 12:45:20 CEST 2001 Jan Hubicka <jh@suse.cz>
588
589 * i386.md (minsf): Fix splitter. (PR fortran/3191)
590
591 2001-06-16 Neil Booth <neil@daikokuya.demon.co.uk>
592
593 * doc/cpp.texi: Update.
594 * doc/cpp.1: Regenerate.
595
596 2001-06-15 Loren J. Rittle <ljrittle@acm.org>
597
598 * doc/install.texi: Use correct markup hints.
599
600 Fri Jun 15 18:05:22 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
601
602 * function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.
603
604 * explow.c (expr_size): If DECL and size specified, use it.
605
606 2001-06-15 Zack Weinberg <zackw@stanford.edu>
607
608 * doc/cpp.texi: Formatting corrections.
609 Correct buggy example of use of __GNUC__ etc.
610 Clarify $ in identifiers.
611 * doc/cpp.1: Regenerate.
612
613 Fri Jun 15 19:35:38 CEST 2001 Jan Hubicka <jh@suse.cz>
614
615 * optabs.c (expand_twoval_binop): Avoid undefined behaviour.
616
617 2001-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
618
619 * doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX
620 etc. spelling.
621 (Specific, alpha-*-osf1): Renamed to alpha*-*-osf*.
622 Added Tru64 UNIX V5.1 bootstrap hints.
623 (Specific, alpha*-*-osf*): Removed old section, obsolete.
624
625 2001-06-15 Andreas Jaeger <aj@suse.de>
626
627 * doc/install.texi (Specific): Mention that glibc cannot be
628 compiled with GCC 3.0.
629
630 2001-06-14 Andrew Haley <aph@cambridge.redhat.com>
631
632 * combine.c (nonzero_bits): Don't optimize away division by
633 zero.
634
635 2001-06-15 Zack Weinberg <zackw@stanford.edu>
636
637 * doc/cpp.texi: Revised and brought up to date.
638 * doc/cpp.1: Regenerate.
639
640 2001-06-15 Loren J. Rittle <ljrittle@acm.org>
641
642 * doc/install.texi: Update --enable-threads to match reality.
643
644 2001-06-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
645
646 * doc/install.texi: Update for C4x.
647 * README.C4X: Remove.
648
649 2001-06-14 Joseph S. Myers <jsm28@cam.ac.uk>
650
651 * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
652 doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
653 doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
654 Consistently use "built-in" and "bit-field". Minor logical markup
655 improvements.
656 * doc/gcc.1: Regenerate.
657
658 2001-06-14 Richard Henderson <rth@redhat.com>
659
660 * config/mips/mips.md (exception_receiver): New.
661
662 2001-06-14 Daniel J. Berlin <dan@cgsoftware.com>
663
664 * doc/gcc.texi: Update passes documentation to be more in tune
665 with reality.
666
667 Thu Jun 14 15:38:28 CEST 2001 Jan Hubicka <jh@suse.cz>
668
669 * i386.c (ix86_expand_prologue): Fix merging conflict.
670
671 2001-06-14 Joseph S. Myers <jsm28@cam.ac.uk>
672
673 * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
674 doc/gcc.texi, doc/gcov.texi, doc/install-old.texi,
675 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use more
676 logical markup. Use TeX quotes and dashes. Use @dots{} and
677 @minus{}. Avoid spaces inside @var. Update last modification
678 date in gcc.texi.
679 * doc/gcc.1, doc/gcov.1: Regenerate.
680
681 Thu Jun 14 12:44:15 CEST 2001 Jan Hubicka <jh@suse.cz>
682
683 * i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move,
684 x86_epilogue_using_move): New global variables.
685 (override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred.
686 (ix86_emit_save_regs_using_mov): New static function.
687 (ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred.
688 * i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE,
689 MASK_MIX_SSE_I387): Renumber.
690 (MASK_NO_ACCUMULATE_OUTGOING_ARGS): New.
691 (x86_accumulate_outgoing_args, x86_prologue_using_move,
692 x86_epilogue_using_move): Declare.
693 (TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New.
694
695 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
696
697 * inclhack.def (hpux10_cpp_pow_inline): New hack.
698
699 2001-06-13 Richard Henderson <rth@redhat.com>
700
701 * ifcvt.c (dead_or_predicable): Fix return value last patch.
702
703 2001-06-13 Mark Mitchell <mark@codesourcery.com>
704
705 * NEWS: Remove.
706
707 2001-06-13 Richard Henderson <rth@redhat.com>
708
709 * ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
710 (cond_exec_process_if_block, dead_or_predicable): Likewise.
711
712 2001-06-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
713
714 * mips-tfile.c (copy_object): Always pass indexNil for symbol
715 table index.
716
717 2001-06-13 Kazu Hirata <kazu@hxi.com>
718
719 * config/h8300/h8300.h (OK_FOR_T): Remove.
720 (EXTRA_CONSTRAINT): Do not use OK_FOR_T.
721 * config/h8300/h8300.md: Remove alternatives involving inc and dec
722 in the helper patterns for addhi3 and addsi3.
723
724 2001-06-13 Phil Edwards <pme@sources.redhat.com>
725
726 * doc/contrib.texi: Link to libstdc++'s thanks.html for now.
727
728 2001-06-13 Zack Weinberg <zackw@stanford.edu>
729
730 * Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
731 * libgcc-std.ver: Take out __bb* and __gcc_bcmp.
732
733 * config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
734 config/alpha/t-osf4, config/mips/t-iris6: Extract all
735 references to @shlib_map_file@, @shlib_objs@, or
736 @shlib_base_name@ to Makefile variables.
737 Bump soname version of libgcc to 1.
738
739 2001-06-13 Joseph S. Myers <jsm28@cam.ac.uk>
740
741 * doc/install.texi: Use more logical markup. Include @node
742 commands in the source when generating any non-HTML.
743
744 2001-06-13 Joseph S. Myers <jsm28@cam.ac.uk>
745
746 * README: Remove. Some of the contents moved to ../README.
747
748 2001-06-13 Alexandre Oliva <aoliva@redhat.com>
749
750 * doc/install.texi (--enable-shared): List package names
751 recognized by GCC.
752
753 2001-06-13 Alexandre Oliva <aoliva@redhat.com>
754
755 * doc/install.texi (ix86-*-solaris*): Removed, outdated.
756 (*-*-solaris*): Document problem in /bin/sh that affects
757 configuring libraries.
758 (sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
759 (*-sun-solaris2.8): Document linker problem that explains why
760 libjava is disabled by default.
761
762 2001-06-09 Mark Mitchell <mark@codesourcery.com>
763
764 Revert this patch:
765 * toplev.c (rest_of_compilation): Remove dead code before
766 purge_addressof.
767
768 2001-06-12 Alexandre Oliva <aoliva@redhat.com>
769
770 Reverted:
771 2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
772 * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
773 * configure: Rebuilt.
774
775 2001-06-12 Jim Wilson <wilson@redhat.com>
776
777 * loop.c (strength_reduce): Move bl->all_reduced set before
778 check_ext_dependant_givs call.
779 (check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.
780
781 2001-06-12 Alexandre Oliva <aoliva@redhat.com>
782
783 * doc/extend.texi (Function Attributes): Document SH's sp_switch
784 and trap_exit.
785
786 2001-06-13 Joseph S. Myers <jsm28@cam.ac.uk>
787
788 * doc/invoke.texi: Use more logical markup. Use TeX quotes,
789 dashes and @dots{}.
790
791 2001-06-12 Richard Henderson <rth@redhat.com>
792
793 * config/i386/i386.c (ix86_expand_prologue): Always use
794 gen_pro_epilogue_adjust_stack; update arguments.
795 (ix86_expand_epilogue): Likewise.
796 (ix86_emit_epilogue_esp_adjustment): Remove.
797 (ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
798 * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
799 clobber of scratch memory instead of a modification of EBP as the
800 barrier. Update all peepholes to match.
801
802 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
803
804 * doc/gcc.texi: Change the font used for @def... commands to a
805 fixed width font.
806 * doc/extend.texi: Use more logical markup. Use "built-in"
807 instead of "builtin". Use @deftypefn to mark up built-in
808 functions; specify their types in the @deftypefn and not in the
809 descriptive text. Use TeX quotes and dashes. Add more index
810 entries.
811
812 2001-06-12 lars brinkhoff <lars@nocrew.org>
813
814 * gcc.texi (HOST_BITS_PER_LONGLONG): Document.
815 (DIR_SEPARATOR_2): Likewise.
816
817 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
818
819 * doc/install.texi (--exec-prefix, --bindir, --libdir,
820 --with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
821 Document.
822 (--enable-cpp): Change to document --disable-cpp instead; update
823 to reflect current default.
824 (--without-fast-fixincludes): Remove documentation.
825 (Final install): Document installation directories in more
826 detail. Document use of make dvi.
827
828 Tue Jun 12 19:01:43 CEST 2001 Jan Hubicka <jh@suse.cz>
829
830 * recog.c (validate_replace_rtx_1): Fix previous patch.
831
832 Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka <jh@suse.cz>
833
834 * recog.c (validate_replace_rtx_1): Do plus_constant call always.
835
836 Tue Jun 12 17:24:07 CEST 2001 Jan Hubicka <jh@suse.cz>
837
838 * simplify-rtx.c (simplify_subreg): Allow volatile memory
839 to be subregged in case we don't have move instruction.
840
841 Tue Jun 12 12:20:12 CEST 2001 Jan Hubicka <jh@suse.cz>
842
843 * loop.c: Include predict.h
844 (strength_reduce): Drop branch prediction note in case
845 number of iterations is known.
846 * predict.def (PRED_LOOP_ITERATIONS): new.
847 * Makefile.in (loop.o): Add dependancy on predict.h
848
849 2001-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
850
851 * c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
852
853 * c-typeck.c (c_start_case): Likewise.
854
855 2001-06-12 Mark Mitchell <mark@codesourcery.com>
856
857 * expr.c (store_field): Don't set MEM_ALIAS_SET for a field
858 in a structure at a variable address.
859
860 2001-06-12 Joseph S. Myers <jsm28@cam.ac.uk>
861
862 * doc/gcov.texi: Use more logical markup.
863
864 2001-06-11 Mark Mitchell <mark@codesourcery.com>
865
866 * unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and
867 REG_NOTE_KIND, not PUT_MODE and GET_MODE.
868 (final_reg_note_copy): Remove REG_WAS_0 notes that are no longer
869 valid.
870
871 2001-06-11 Stan Shebs <shebs@apple.com>
872
873 * darwin.h (ASM_FILE_END): Remove decl of language_string.
874
875 2001-06-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
876
877 * config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber
878 as an early clobber to make sure it is not used by reload in
879 one of the operands.
880
881 2001-06-11 Mark Mitchell <mark@codesourcery.com>
882
883 * doc/c-tree.texi: Update information about flag_honor_std.
884 * doc/install.texi: Note that binutils is required on HPUX 11.
885 * doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
886 now the default.
887
888 * config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
889 variable-sized types.
890
891 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
892
893 * doc/md.texi: Use TeX dashes and quotes.
894
895 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
896
897 * doc/rtl.texi: Reference manual chapter about trees.
898
899 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
900
901 * config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
902 (WINT_TYPE): Override.
903 (WINT_TYPE_SIZE): Likewise.
904 (SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.
905
906 * config/sparc/sol2.h (WINT_TYPE): Define.
907 (WINT_TYPE_SIZE): Likewise.
908
909 * config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
910 (WINT_TYPE): Override.
911 (WINT_TYPE_SIZE): Likewise.
912 (CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
913 (CPP_ARCH64_SPEC): Likewise.
914
915 2001-06-11 Richard Henderson <rth@redhat.com>
916
917 * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
918 with alias attribute.
919
920 * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
921 * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
922
923 2001-06-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
924
925 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
926
927 2001-06-11 Stan Shebs <shebs@apple.com>
928
929 * darwin.c (darwin_encode_section_info): Rewrite to simplify
930 and fix coding mistakes.
931
932 2001-06-11 Nick Clifton <nickc@cambridge.redhat.com>
933
934 * config/m32r/m32r.md (movstrsi_internal): Do not expect a
935 return string from m32r_output_block_move.
936 * config/m32r/m32r-protos.h: Make m32r_output_block_move a
937 void function.
938 * config/m32r/m32r.h (INT32_P): Rename to UNIT32_P and remove
939 integer overflow.
940 (ROUND_ADVANCE): Remove signed/unsigned conflict.
941 * config/m32r/m32r.c: Declare prototypes for static functions.
942 (move_src_operand): Replace INT32_P with UINT32_P.
943 (function_arg_partial_nregs): Fixed signed/unsigned conflict
944 in initialisation of 'size'.
945 (m32r_sched_reord): Remove redundant declarations of 'code'.
946 (m32r_output_block_move): Change to a void function.
947 (m32r_encode_section_info): Cast return of
948 TREE_STRING_POINTER to avoid compile time warning.
949
950 2001-06-11 Richard Henderson <rth@redhat.com>
951
952 * config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
953 * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
954 (struct machine_function): Add gp_save_rtx.
955 * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
956 (alpha_gp_save_rtx): New.
957 * config/alpha/alpha-protos.h: Declare it.
958 * config/alpha/alpha.md (exception_receiver): Make an expander.
959 Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.
960
961 2001-06-11 Richard Henderson <rth@redhat.com>
962
963 * config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
964
965 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
966
967 * configure.in: Align --help messages.
968 Remove trailing full stops.
969 Consistently use lower case.
970 Fix DWARF 2 spelling.
971 * configure: Rebuilt.
972
973 2001-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
974
975 * config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
976 variants for .cpp/.cp/.c++ files.
977 Move definition of __LANGUAGE_C_PLUS_PLUS ...
978 (CPLUSPLUS_CPP_SPEC): ... here.
979
980 Mon Jun 11 15:47:45 CEST 2001 Jan Hubicka <jh@suse.cz>
981
982 * jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
983
984 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
985
986 * c-decl.c (store_parm_decls): When comparing types in an
987 old-style function declaration with those from a previous
988 prototype, compare the unqualified versions of parameter types.
989 Fixes PR c/3116.
990
991 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
992
993 * doc/objc.texi: Use more logical markup. Use TeX dashes.
994
995 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
996
997 * doc/c-tree.texi: Use more logical markup.
998
999 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
1000
1001 * c-decl.c (xref_tag): Don't return previous tags of wrong type.
1002
1003 2001-06-11 Aldy Hernandez <aldyh@redhat.com>
1004
1005 * loop.c (scan_loop): Do not combine asm statements.
1006
1007 2001-06-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1008
1009 * simplify-rtx.c (simplify_subreg): Fix offset calculation
1010 for complex values within a CONCAT.
1011
1012 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
1013
1014 * doc/install.texi: Update details of what components are included
1015 in the GCC distribution. Update default directory for g++
1016 includes. Update documentation relating to old libio. Adjust
1017 documentation on DejaGnu environment variables. Remove
1018 documentation of --enable-cpplib.
1019
1020 2001-06-11 Joseph S. Myers <jsm28@cam.ac.uk>
1021
1022 * doc/contrib.texi: Fix alphabetical order. Fix typos. Improve
1023 markup.
1024
1025 2001-06-10 Richard Henderson <rth@redhat.com>
1026
1027 * ifcvt.c (life_data_ok): New.
1028 (merge_if_block): Use it to determine whether to update
1029 global_live_at_end.
1030 (if_convert): Set it.
1031
1032 2001-06-10 Richard Henderson <rth@redhat.com>
1033
1034 * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
1035
1036 2001-06-10 Alexandre Oliva <aoliva@redhat.com>
1037
1038 * doc/invoke.texi (MN10300 Options): Document -mno-crt0.
1039 (SH Options): Document -mieee.
1040 * doc/install.texi (Final install): Remove obsolete information
1041 about installing cross compilers.
1042 * doc/gcc.1: Rebuilt.
1043
1044 2001-06-10 Richard Henderson <rth@redhat.com>
1045
1046 * config/alpha/alpha.c (override_options): Set align_loops,
1047 align_jumps, and align_functions.
1048 * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
1049 (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.
1050
1051 2001-06-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1052
1053 * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
1054 are one and two words in size.
1055
1056 2001-06-10 Richard Henderson <rth@redhat.com>
1057
1058 * doc/invoke.texi (Optimization Options): Document -fpeephole2.
1059 (Code Generation Options): Document -fnon-call-exceptions.
1060
1061 2001-06-10 Mark Kettenis <kettenis@gnu.org>
1062
1063 * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
1064
1065 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1066
1067 * m68hc11.md (peepholes): Remove unused and wrong peepholes.
1068
1069 2001-06-10 Mark Mitchell <mark@codesourcery.com>
1070 Gabriel Dos Reis <gdr@codesourcery.com>
1071
1072 * Makefile.in (c-parse.o): Depend on diagnostic.h
1073 (dwarf2out.o): Likewise.
1074
1075 * dwarf2out.c: #include diagnostic.h
1076
1077 * toplev.h (warningcount, errorcount, sorrycount): Remove
1078 declarations.
1079
1080 * toplev.c (warningcount, errorcount, sorrycount): Remove
1081 definitions.
1082
1083 * diagnostic.h (struct output_buffer): Reorder fields.
1084 (diagnostic_kind_count): New macro.
1085 (errorcount, warningcount, sorrycount): Define as macros.
1086 (diagnostic_report_warnings_p): New macro.
1087 (output_state): Add diagnostic_count field.
1088
1089 * diagnostic.c (warningcount, errorcount, inhibit_warnings):
1090 Remove tentative declaration.
1091 (count_error): Use diagnostic_report_warnings_p.
1092
1093 * c-parse.in: #include diagnostic.h
1094
1095 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1096
1097 * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
1098 prefer a memory for operand 1.
1099 ("*addsi3"): Fix constraints, the '!' was too strong.
1100 ("*addsi3_split"): Accept soft register and split accordingly.
1101
1102 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1103
1104 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
1105 Move definition in the RTX_CODE section.
1106
1107 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1108
1109 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
1110 address as relative to the argument pointer.
1111
1112 Sun Jun 10 10:58:53 CEST 2001 Jan Hubicka <jh@suse.cz>
1113
1114 * predict.def (PRED_OPCODE): Place before call and error_return.
1115
1116 Sun Jun 10 10:00:17 CEST 2001 Jan Hubicka <jh@suse.cz>
1117
1118 * predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
1119 * predict.c (estimate_probability): Calculate dominance
1120 information; improve detection of NORETURN heuristics;
1121 add call/error_return heuiristics; tweak comparison heuristics
1122 to recognize -1.
1123
1124 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1125
1126 * doc/invoke.texi (C Dialect Options): Document -aux-info.
1127 (Debugging Options): Document -print-multi-directory and
1128 -print-multi-lib.
1129 * doc/gcc.1: Rebuilt.
1130
1131 * toplev.c (independent_decode_option): Require `=' between
1132 `-aux-info' and filename in the same argument.
1133 * gcc.c: Don't pass -aux-info=filename twice.
1134
1135 2001-06-09 Mark Mitchell <mark@codesourcery.com>
1136
1137 * expr.c (expand_expr, case ARRAY_REF): Do not replace
1138 an array element with the known initializing value if it has
1139 side-effects.
1140
1141 * toplev.c (rest_of_compilation): Remove dead code before
1142 purge_addressof.
1143
1144 2001-06-09 Neil Booth <neil@daikokuya.demon.co.uk>
1145
1146 * cppinit.c (print_help): Document -fpreprocessed.
1147 * invoke.texi: Similarly.
1148
1149 Sun Jun 10 00:35:37 CEST 2001 Jan Hubicka <jh@suse.cz>
1150
1151 * predict.def: New file.
1152 * predict.h: New file.
1153 * predict.c: Include predict.h.
1154 (predictor_info): New structure and array.
1155 (predict_edge, predict_insn): Rewrite; make global.
1156 (predict_edge_def, predict_insn_def): New global functions.
1157 (dump_prediction, combine_predictions_for_insns): New
1158 static functions.
1159 (estimate_probability): Change calls to predict_edge
1160 to predict_edge_def and calls to predict_insn to predict_insn_def;
1161 combine probabilities.
1162 (expected_value_to_br_prob): Behave as predictor.
1163 * rtl.h (REG_BR_PRED): Update coment.
1164 (invert_br_probabilities): New.
1165 * jump.c: Include predict.h
1166 (duplicate_loop_exit_test): Drop branch prediction notes.
1167 (invert_jump): Use invert_br_probabilities.
1168 * Makefile.in: Add dependancy on predict.h for jump and predict pass.
1169 * ifcvt.c (dead_or_predicable): Use invert_br_probabilities.
1170 * combine.c (distribute_notes): Handle BR_PRED.
1171
1172 Sat Jun 9 23:29:41 CEST 2001 Jan Hubicka <jh@suse.cz>
1173
1174 * predict.c (predict_insn, predict_edge): New static functions.
1175 (estimate_probability): Revamp to use new functions;
1176 fix loop header heruistics; add loop exist heruistics
1177
1178 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1179
1180 * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
1181
1182 2001-06-09 Peter Jakubek <pjak@snafu.de>
1183
1184 * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
1185
1186 2001-06-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1187
1188 * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
1189 for integer operations that don't update C bit.
1190
1191 2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
1192
1193 * gthr-posix.h (__gthread_objc_init_thread_system): If
1194 pthread_key_create fails, it's not clear what the return value is.
1195 This obvious fix makes sure it always returns -1 if a problem
1196 occurs.
1197
1198 2001-06-09 Joseph S. Myers <jsm28@cam.ac.uk>
1199
1200 * doc/gcc.texi: Use @defcodeindex for the index of options. Add
1201 more index entries. Use more logical markup where appropriate.
1202 Use TeX quotes and dashes.
1203
1204 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1205
1206 * unwind-pe.h: Conditionally qualify references to abort with
1207 std::.
1208
1209 2001-06-09 Julian Foad <julian_foad@hotmail.com>
1210
1211 * doc/invoke.texi: Remove superfluous text.
1212
1213 2001-06-08 Richard Henderson <rth@redhat.com>
1214
1215 * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
1216 (LIB_SPEC): Mirror config/linux.h version.
1217
1218 2001-06-08 Richard Henderson <rth@redhat.com>
1219
1220 * except.c (get_exception_pointer, get_exception_filter): Take a
1221 struct function. Update all callers.
1222 * except.h (get_exception_pointer): Update declaration.
1223 * expr.c (expand_expr): Update get_exception_pointer call.
1224 * integrate.c (expand_inline_function): Remap the exception pointer
1225 from callee to caller.
1226
1227 2001-06-08 Mark Mitchell <mark@codesourcery.com>
1228
1229 * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
1230 accurately reflect its cv-qualification.
1231 * c-typeck.c (type_lists_compatible_p): Ignore the top-levl
1232 cv-qualifiers on function types.
1233
1234 2001-06-08 Mark Mitchell <mark@codesourcery.com>
1235
1236 * basic-block.h: Improve comments.
1237 * except.c (expand_eh_region_end_allowed): Remove redundant call
1238 to do_pending_stack_adjust.
1239 * flow.c (life_analysis): Fix typo in comment.
1240 (calculate_global_regs_live): Add documentation.
1241 (mark_set_1): Likewise.
1242 (debug_regset): Likewise.
1243 * doc/rtl.texi (cond_exec): Document it.
1244
1245 Fri Jun 8 21:52:51 CEST 2001 Jan Hubicka <jh@suse.cz>
1246
1247 * i386.h (CONST_COSTS): set cost of constants representable in
1248 immediate fields to 0.
1249
1250 Fri Jun 8 21:34:54 CEST 2001 Jan Hubicka <jh@suse.cz>
1251
1252 * function.c (diddle_return_value): Kill code to determine
1253 return value before expand_function_end.
1254 (expand_function_end): Delay call to clobber_return_register
1255 after fucntion return value is computed.
1256
1257 Re-install temporary reverted patch:
1258 * toplev.c (rest_of_compilation): Call split_all_insns
1259 before reg-stack and shorten-branches. Do shorten-branches
1260 after reg-stack.
1261 * final.c (shorten_branches): Remove insn splitting code.
1262
1263 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
1264
1265 * doc/gcc.texi, doc/invoke.texi: Add index of command line
1266 options. Use @opindex to index them rather than other indexing
1267 commands. Use @var{...} instead of <...>. Avoid spaces in names
1268 inside @var. Don't use @kindex to index escape sequences in
1269 source code.
1270
1271 2001-06-08 Jason Merrill <jason_merrill@redhat.com>
1272
1273 * stmt.c (current_nesting_level): New fn.
1274 * tree.h: Declare it.
1275 * c-semantics.c (genrtl_compound_stmt): Use it.
1276
1277 * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
1278
1279 2001-06-08 Jakub Jelinek <jakub@redhat.com>
1280
1281 * jump.c (mark_modified_reg): Allow jump threading if condition
1282 codes are represented by a hard register.
1283
1284 2001-06-08 Jakub Jelinek <jakub@redhat.com>
1285
1286 * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
1287 for complex floats passed to unprototyped functions.
1288
1289 2001-06-08 Mark Mitchell <mark@codesourcery.com>
1290
1291 * except.c (expand_eh_region_end_allowed): Call
1292 do_pending_stack_adjust as necessary.
1293
1294 Fri Jun 8 14:16:33 CEST 2001 Jan Hubicka <jh@suse.cz>
1295
1296 * function.c (clobber_return_register): Clobber the pseudo return
1297 register too.
1298
1299 * sibcall.c (skip_unreturned_value): New function.
1300 (call_ends_block_p): Use it.
1301
1302 * recog.c (split_insn): Break out from ...
1303 (split_all_insns): ... here; do not use basic block information
1304 when it is broken.
1305
1306 Thu Jun 7 18:27:53 CEST 2001 Jan Hubicka <jh@suse.cz>
1307
1308 * simplify-rtx.c (simplify_subreg): Fix verification of
1309 combined subreg.
1310
1311 2001-06-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1312
1313 * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
1314 Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
1315 Move definition of _LANGUAGE_C_PLUS_PLUS ...
1316 (CPLUSPLUS_CPP_SPEC): ... here.
1317 Fixes PRs c++/3047, target/441.
1318
1319 2001-06-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1320
1321 * doc/install.texi2html (MAKEINFO): Keep value if set already.
1322
1323 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
1324
1325 * doc/gcc.texi: Add trailing slash to URL.
1326
1327 2001-06-07 Stan Shebs <shebs@apple.com>
1328
1329 * config/darwin.h (ENCODE_SECTION_INFO): Define.
1330 (REDO_SECTION_INFO_P): Ditto.
1331 (STRIP_NAME_ENCODING): Ditto.
1332 (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
1333 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
1334 (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
1335 (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
1336 * config/darwin.c: No longer include c-tree.h.
1337 (machopic_classify_ident): Rewrite to use symbol encoding.
1338 (lookup_name_darwin): Remove.
1339 (machopic_non_lazy_ptr_name): Handle encoded symbols.
1340 (machopic_stub_name): Use STRIP_NAME_ENCODING.
1341 (machopic_validate_stub_or_non_lazy_ptr): Ditto.
1342 (machopic_finish): Ditto, remove test of decl.
1343 (update_non_lazy_ptrs): New function.
1344 (darwin_encode_section_info): New function.
1345 * config/darwin-protos.h: Declare it.
1346 * config/rs6000/rs6000.c (machopic_output_stub): Use
1347 STRIP_NAME_ENCODING.
1348
1349 2001-06-07 Mark Mitchell <mark@codesourcery.com>
1350
1351 * tree.h (DECL_SOURCE_FILE): Improve documentation.
1352 (DECL_SOURCE_LINE): Likewise.
1353
1354 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1355
1356 * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
1357 from config/elfos.h.
1358
1359 2001-06-07 Phil Edwards <pme@sources.redhat.com>
1360
1361 * linux.h (CPLUSPLUS_CPP_SPEC): Move -D_GNU_SOURCE to here.
1362 * pa/pa-linux.h: Allow CPLUSPLUS_CPP_SPEC to remain.
1363
1364 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
1365
1366 * doc/contrib.texi: Add copyright notice.
1367
1368 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
1369
1370 * doc/md.texi: Use four digit years in copyright notice.
1371
1372 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
1373
1374 * config.gcc: For $target_alias of athlon-*, set
1375 target_cpu_default2=5.
1376
1377 Thu Jun 7 16:17:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1378
1379 * global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
1380 end of last block if last real insn is a JUMP_INSN.
1381
1382 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
1383
1384 * NEWS: Regenerate.
1385
1386 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1387
1388 * gthr-posix.h (__gthread_objc_thread_detach): Simply cast
1389 pthread_t to objc_thread_t.
1390 (__gthread_objc_thread_id): Likewise.
1391
1392 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1393
1394 * alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
1395 (ASM_OLDAS_SPEC): Likewise.
1396
1397 * alpha/osf.h (CPP_XFLOAT_SPEC): Define.
1398 (CPP_SUBTARGET_SPEC): Use it.
1399 (ASM_OLDAS_SPEC): Define.
1400 (ASM_SPEC): Use it.
1401 (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above.
1402
1403 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1404
1405 * config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
1406 passed by reference.
1407
1408 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
1409
1410 * doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
1411 Document use of N_(...), and show it in examples. Note that
1412 documentation should be added to invoke.texi. Avoid an overfull
1413 hbox.
1414
1415 Thu Jun 7 17:09:50 CEST 2001 Jan Hubicka <jh@suse.cz>
1416
1417 * toplev.c (rest_of_compilation): Revert previous patch.
1418 * final.c (shorten_branches): Likewise.
1419
1420 2001-06-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1421
1422 * pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
1423 Remove.
1424
1425 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
1426
1427 * doc/install-old.texi: Remove more obsolete documentation.
1428
1429 Thu Jun 7 13:20:14 CEST 2001 Jan Hubicka <jh@suse.cz>
1430
1431 * expr.c (copy_blkmode_from_reg): Fix operand_subword_force call.
1432
1433 Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka <jh@suse.cz>
1434
1435 * toplev.c (rest_of_compilation): Call split_all_insns
1436 before reg-stack and shorten-branches. Do shorten-branches
1437 after reg-stack.
1438 * final.c (shorten_branches): Remove insn splitting code.
1439
1440 2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
1441
1442 * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
1443 * configure: Rebuilt.
1444
1445 2001-06-07 Andreas Jaeger <aj@suse.de>
1446
1447 * emit-rtl.c (operand_subword): Remove unused variable.
1448
1449 Wed Jun 6 14:51:05 CEST 2001 Jan Hubicka <jh@suse.cz>
1450
1451 * i386.md (floatdi?f): Avoid usinf of SSE instructions
1452 if TARGET_64BIT is false.
1453 (floatdi?f_i386_only): New insn.
1454 (floatdi?f_i386): Disable for !TARGET_64BIT.
1455
1456 * (min?f, max?f splitters): Handle case where
1457 operands are cross-matched.
1458
1459 * i386.h (HI_REGISTER_NAMES): Remove redundant definition
1460 (MMX_REGISTER_NAMES): Kill.
1461 (PRINT_OPERAND): Fix comment.
1462 (PRINT_REG): Likewise.
1463 * i386.c (print_reg): Kill support for 'm' CODE; simplify.
1464 (print_operand): Update comment; kill 'm'.
1465
1466 * i386.c (x86_branch_hints): New global variable
1467 (print_operand): Support outputting of branch prediction hints.
1468 * i386.md (conditional jump patterns): Add branch prediction hints
1469 to the template.
1470 * i386.h (x86_branch_hints): Declare
1471 (TARGET_BRANCH_PREDICTION_HINTS): New macro.
1472 (PRINT_OPERAND_FUNCT_VALID_P): New.
1473 * final.c (final_forward_branch_p): New function.
1474
1475 2001-06-06 Richard Henderson <rth@redhat.com>
1476
1477 * flow.c (mark_used_reg): Clean up looping over multiple hard
1478 registers. Do conditional life bits across multiple hard regs.
1479
1480 2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com>
1481
1482 * reload1.c (reload): Revert Schmidt's change so all USEs are not
1483 deleted during reload.
1484
1485 2001-06-05 Mark Mitchell <mark@codesourcery.com>
1486
1487 * c-semantics.c (genrtl_scope_stmt): Write out nested inline
1488 functions here, instead of ...
1489 * c-decl.c (c_expand_body): ... here.
1490
1491 2001-06-05 David O'Brien <obrien@FreeBSD.org>
1492
1493 * config.gcc, config/sparc/bsd.h: Do not directly include
1494 sparc/sparc.h. Instead do it via tm_file.
1495
1496 2001-06-05 Richard Henderson <rth@redhat.com>
1497
1498 * dwarf2.h (DW_EH_PE_aligned): New.
1499 * dwarf2asm.c (eh_data_format_name): Name it.
1500 (dw2_asm_output_encoded_addr_rtx): Align for it.
1501 * dwarf2out.c (output_call_frame_info): Handle it for personality
1502 routine and LSDA pointers.
1503
1504 * unwind-pe.h (DW_EH_PE_aligned): New.
1505 (base_of_encoded_value): Handle it.
1506 (read_encoded_value_with_base): Likewise.
1507 * unwind-dw2-fde.c (base_from_object): Likewise.
1508 (get_cie_encoding): Likewise.
1509
1510 * config/alpha/elf.h: Remove ecoff commentary.
1511 * config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1512
1513 2001-06-05 David O'Brien <obrien@FreeBSD.org>
1514
1515 * config.gcc, config/i386/bsd386.h: Do not directly include
1516 i386/386bsd.h. Instead do it via tm_file.
1517
1518 2001-06-05 David O'Brien <obrien@FreeBSD.org>
1519
1520 * elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same
1521 way svr4.h does.
1522
1523 2001-06-05 Pascal Obry <obry@act-europe.fr>
1524
1525 * configure.in: Quote $enable_win32_registry in case the value has
1526 spaces in it.
1527 * configure: Ditto.
1528
1529 2001-06-05 Mark Mitchell <mark@codesourcery.com>
1530
1531 * print-rtl.c (xspaces): Remove.
1532 (print_rtx): Use printf field-width, rather than xpsaces, to
1533 indent.
1534 * toplev.c (main): Disable sibling-call optimization if we are
1535 handling exceptions.
1536
1537 2001-06-05 Bernd Schmidt <bernds@redhat.com>
1538
1539 * reload1.c (reload): Delete all USEs generated during reload.
1540
1541 2001-06-05 scott snyder <snyder@fnal.gov>
1542
1543 * gccbug.in: Fix typo.
1544
1545 2001-06-05 Andreas Jaeger <aj@suse.de>
1546
1547 * builtins.def: Fix definition of __builtin_cosf, it uses float as
1548 parameter and return value.
1549
1550 2001-06-04 Anthony Green <green@redhat.com>
1551
1552 * config/sparc/elf.h (CPP_PREDEFINES): Don't assert cpu or
1553 machine. This is now done in sparc.h.
1554
1555 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
1556
1557 Correct CVS resurrection of invoke.texi.
1558 * doc/invoke.texi: Document new tree dump flags.
1559
1560 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
1561
1562 * c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
1563 for casting an aggregate to its own type. Fixes PR c/2735.
1564
1565 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
1566
1567 * doc/texinfo.tex: Update to version 2001-05-24.08.
1568
1569 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
1570
1571 * c-common.h (flag_dump_translation_unit): Remove.
1572 (enum tree_dump_index): Define.
1573 (TDF_ADDRESS, TDF_SLIM): New #defines.
1574 (dump_node_to_file): Remove.
1575 (dump_node): Make extern. Add flags.
1576 (dump_flag, dump_enabled_p, dump_begin, dump_end,
1577 dump_switch_p): Prototype.
1578 * c-common.c (flag_dump_translation_unit): Remove.
1579 * c-decl.c (c_decode_option): Remove -fdump-translation-unit
1580 logic. Use dump_switch_p.
1581 * c-dump.h (struct dump_info): Add node and user fields.
1582 (dump_pointer): Declare.
1583 * c-dump.c (dump_node): Make extern. Add flags.
1584 (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
1585 (dump_new_line, dump_maybe_newline): Use them.
1586 (dump_pointer): New function.
1587 (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
1588 chain or function's body. Dump address, if TDF_ADDRESS set.
1589 (dump_flag): Define.
1590 (dump_node_to_file): Remove.
1591 (struct dump_file_info): New struct.
1592 (dump_files): New array.
1593 (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
1594 * c-lang.c (finish_file): Adjust dumping.
1595 * toplev.h (dump_base_name): Make extern.
1596 * invoke.texi: Document new flags.
1597
1598 2001-06-04 Mark Mitchell <mark@codesourcery.com>
1599
1600 * c-tree.h (lang_decl): Add pending_sizes fields.
1601 * c-decl.c (store_parm_decls): Save pending_sizes away for nested
1602 functions.
1603 (c_expand_body): Expand them.
1604 (lang_mark_tree): Mark lang_decl:pending_sizes.
1605 * function.c (expand_pending_sizes): New function, broken out
1606 from ...
1607 (expand_function_start): ... here.
1608 * tree.h (expand_pending_sizes): Declare it.
1609
1610 2001-06-04 Loren J. Rittle <ljrittle@acm.org>
1611
1612 * doc/install.texi: Update FreeBSD information. Generalize
1613 and update information for alpha-based platforms using ELF.
1614
1615 2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1616
1617 * c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
1618 (store_parm_decls): Likewise.
1619 * c-typeck.c (convert_arguments): Likewise.
1620
1621 2001-06-04 Richard Henderson <rth@redhat.com>
1622
1623 * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
1624 optimization if current_function_calls_setjmp.
1625
1626 2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
1627
1628 * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
1629 wide strings.
1630
1631 Mon Jun 4 20:44:25 CEST 2001 Jan Hubicka <jh@suse.cz>
1632
1633 * simplify-rtx.c (simplify_subreg): Fix combining of
1634 paradoxical subregs.
1635
1636 Mon Jun 4 20:15:25 CEST 2001 Jan Hubicka <jh@suse.cz>
1637
1638 * rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
1639 (no_labels_between_p): Short circuit case beg==end.
1640
1641 Mon Jun 4 20:03:05 CEST 2001 Jan Hubicka <jh@suse.cz>
1642
1643 * rtlanal.c (operand_preference): Fix preference for objects.
1644
1645 Mon Jun 4 20:00:40 CEST 2001 Jan Hubicka <jh@suse.cz>
1646
1647 * gcse.c (handle_avail_expr): Be prepared to handle single_set
1648 parallels.
1649
1650 Mon Jun 4 19:59:46 CEST 2001 Jan Hubicka <jh@suse.cz>
1651
1652 * combine.c (if_then_else_cond): Use simplify_subreg instead
1653 of operand_subword.
1654 * integreate.c (sub_constants): Likewise.
1655
1656 Mon Jun 4 19:59:12 CEST 2001 Jan Hubicka <jh@suse.cz>
1657
1658 * emit-rtl.c (constant_subword): Deprecate; remove most of code
1659 and use simplify_gen_subreg.
1660
1661 Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org>
1662
1663 * sibcall.c (skip_copy_to_return_value): recognize the situation
1664 when the called function's return value is copied into an
1665 intermediate pseudo, and then into the calling functions return
1666 value register.
1667
1668 Mon Jun 4 16:50:33 CEST 2001 Jan Hubicka <jh@suse.cz>
1669
1670 * simplify_rtx.c (simplify_subreg): Keep subregs on return values,
1671 check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg,
1672 in case register wasn't OK previously, accept it now; allow
1673 subregs of frame pointer if reload completed and frame pointer
1674 is not needed.
1675
1676 * combine.c (sombine_simplify_rtx): Fix comment;
1677 use subreg_lowpart_offset instead of subreg_lowpart_p
1678 (gen_lowpart_for_combine): Use subreg_lowpart_offset.
1679 * rtl.h (subreg_lowpart_parts_p): Kill.
1680 (subreg_lowpart_offset, subreg_highpart_offset): Declare.
1681 * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset.
1682 * emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset;
1683 (gen_lowpart_common): Likewise.
1684 (subreg_lowpart_p): Likewise.
1685 (subreg_lowpart_parts_p): Kill.
1686 (subreg_lowpart_offset, subreg_highpart_offset): New function.
1687
1688 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1689 to simplify SUBREG and REG.
1690 (gen_highpart): Use simplify_gen_subreg for all simplifications.
1691
1692 * emit-rtl.c (gen_realpart, gen_imagpart): Do not handle
1693 CONCAT specially.
1694
1695 * rtlanal.c (replace_regs): Use simplify_gen_subreg
1696
1697 Mon Jun 4 09:21:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1698
1699 * doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
1700 (ARRAY_RANGE_REF): Added description.
1701
1702 * tree.def (ARRAY_RANGE_REF): New code.
1703 * alias.c (handled_component_p, can_address_p): Handle it.
1704 * dwarf2out.c (loc_descriptor_from_tree): Likewise.
1705 * explow.c (set_mem_attributes): Likewise.
1706 * expr.c (expand_assignment, get_inner_reference): Likewise.
1707 (expand_expr, expand_expr_unaligned, do_jump): Likewise.
1708 * fold-const.c (operand_equal_p): Likewise.
1709 * tree.c (staticp, stabilize_reference): Likewise.
1710 * varasm.c (decode_addr_const): Likewise.
1711
1712 Sun Jun 3 21:59:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1713
1714 * reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
1715 (push_reload): Handle non-REG in reload_inner_reg_of_subreg case.
1716
1717 2001-06-03 kaz Kojima <kkojima@rr.iij4u.or.jp>
1718
1719 * gcc/config/sh/sh.c (print_operand_address, print_operand): Call
1720 mark_constant_pool_use before output_addr_const.
1721 (struct pool_node): New field wend.
1722 (add_constant): Note a sequence of constants that are referenced
1723 by a given label.
1724 (pool_window_label, pool_window_last): New variables.
1725 (dump_table): Emit a unspec_volatile representing the end of a
1726 sequence of constants.
1727 (mark_constant_pool_use): New function.
1728 * gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
1729 (consttable_2): Add the second operand which flags whether
1730 this consttable entry was used or not.
1731 (consttable_4, consttable_8, consttable_sf, consttable_df):
1732 Likewise.
1733 (consttable_window_end): New insn.
1734
1735 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1736
1737 * insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
1738 Reformat according to coding standards.
1739
1740 Warning removal.
1741 * config/sh/sh.c (print_operand_address): Cast INTVAL to int.
1742 (shl_and_kind): Cast wide constant.
1743 (gen_far_branch): Define as static, as in declaration.
1744 (barrier_align): Compute cache-line length as unsigned. Add
1745 parentheses in initial credit computation.
1746 (rounded_frame_size): Add parentheses.
1747 (permanent_obstack): Remove declaration. Include ggc.h for
1748 declaration of ggc_add_root_rtx().
1749 (get_free_reg): Removed declaration of unused variable reg.
1750 (legitimize_pic_address): Mark mode argument as unused.
1751
1752 2001-06-03 Igor Shevlyakov <igor@windriver.com>
1753
1754 * config/sh/sh.c (output_branch): Support for insn with lenght
1755 attr 12 & 16 which represents cond branches outside +-4096 range.
1756
1757 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1758
1759 * config/sh/lib1funcs.asm (ic_invalidate): Align the
1760 cache-mirroring sequence. Add nops.
1761
1762 2001-06-03 Joseph S. Myers <jsm28@cam.ac.uk>
1763
1764 * doc/install-old.texi: Remove more old installation
1765 documentation.
1766 * doc/install.texi: Add relevant parts here.
1767
1768 2001-06-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1769
1770 * doc/install.texi2html: New script.
1771
1772 2001-06-03 David Edelsohn <edelsohn@gnu.org>
1773
1774 * doc/install.texi: Update AIX information again.
1775
1776 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
1777
1778 * doc/gcc.texi, doc/install-old.texi: Remove old system-specific
1779 installation documentation.
1780 * doc/install.texi: Move it to here.
1781
1782 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
1783
1784 * doc/install.texi: Clean up Texinfo markup.
1785
1786 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
1787
1788 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
1789 to just after title page.
1790
1791 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
1792
1793 * doc/install-old.texi: Remove documentation of some configuration
1794 options.
1795 * doc/install.texi: Add relevant parts of this documentation here.
1796
1797 2001-06-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1798
1799 * contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
1800 Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.
1801
1802 Sat Jun 2 12:23:51 CEST 2001 Jan Hubicka <jh@suse.cz>
1803
1804 * i386.md (all uses of ext_register_operand): Make sure they are
1805 VOIDmode; replace all uses outside zero_extend.
1806 (and?i splitters): Use ext_register_operands.
1807 (test?i peep2): Remove ignored constraints.
1808 * i386.c (ext_register_operand): Check that operand is
1809 eighter pseudo or hard or 'Q' register.
1810
1811 Sat Jun 2 06:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1812
1813 * tree.h (struct record_layout_info_s): New field unpadded_align.
1814 (set_lang_adjust_rli): New declaration.
1815 * stor-layout.c (layout_decl): If DECL is packed, but at alignment
1816 it would have if not packed, do not downgrade DECL_ALIGN.
1817 (lang_adjust_rli, set_lang_adjust_rli): New.
1818 (start_record_layout): Initialize new field unpadded_align.
1819 (debug_rli): Display it.
1820 (place_union_field, place_field): Set it.
1821 (layout_type, case RECORD_TYPE): Call via lang_adjust_rli if set.
1822
1823 * print-tree.c (print_node): Don't print "regdecl" when bit doesn't
1824 mean that; use proper names instead.
1825 Print DECL_NO_STATIC_CHAIN.
1826
1827 * except.c (expand_builtin_frob_return_addr): Add missing call
1828 to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.
1829 (expand_builtin_eh_return): Likewise.
1830 (expand_eh_return): Clean up ptr_mode != Pmode cases.
1831
1832 2001-06-01 Jan van Male <jan.vanmale@fenk.wau.nl>
1833
1834 * doc/invoke.texi: Remove references to papers about sequence points
1835 to readings.html, refer to that page.
1836
1837 2001-06-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1838
1839 * README: Update references to installation instructions.
1840
1841 2001-06-01 Laurent Guerby <guerby@acm.org>
1842 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1843
1844 * doc/install.texi: Define srcdir when sources come from CVS.
1845 Significantly improve markup. Wrap overly long lines
1846
1847 2001-06-01 DJ Delorie <dj@redhat.com>
1848
1849 * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
1850 extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi,
1851 objc.texi, rtl.texi, tm.texi, texinfo.tex, gcc.1, cpp.1,
1852 gcov.1: Move to doc subdirectory.
1853 * install.texi: Move to doc/install-old.texi.
1854 * gcc.texi: Move to doc, refer to install-old.texi.
1855 * Makefile.in: Reflect move of docs to doc/.
1856 * f/Make-lang.in: Ditto.
1857 * java/Make-lang.in: Ditto.
1858 * doc/.cvsignore: New.
1859
1860 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
1861
1862 * invoke.texi: use two spaces between command options, eliminate
1863 some 'overfull hboxes'
1864
1865 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1866
1867 * Makefile.in (s-mlib): Make backtick-commands always succeed.
1868 (DRIVER_DEFINES): Ditto.
1869
1870 2001-05-31 Richard Henderson <rth@redhat.com>
1871
1872 * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
1873 also link against libgcc.a.
1874
1875 2001-05-31 Geoff Keating <geoffk@cygnus.com>
1876
1877 * config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
1878 * config/mips/mips.c (mips_output_ascii): New function.
1879 * config/mips/mips-protos.h (mips_output_ascii): Prototype.
1880
1881 * config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.
1882
1883 Thu May 31 19:09:53 CEST 2001 Jan Hubicka <jh@suse.cz>
1884
1885 * flow.c (set_block_for_new_insns): Remove bogus shortcut.
1886 * i386.c (ix86_expand_int_movcc): Force one of operands to be register.
1887
1888 2001-05-31 Rodney Brown <rbrown64@csc.com.au>
1889
1890 * install.texi (Configuration): Add html links for --with-gnu-as &
1891 --with-gnu-ld and refer to them from hppa & SCO triplets.
1892 (Specific): Link back to with-gnu-ld for all ELF platfoms.
1893 (Specific): Reword AVR binutils recommendation.
1894
1895 2001-05-30 Zack Weinberg <zackw@stanford.edu>
1896
1897 * ggc-page.c (size_lookup): Increase minimum allocation size
1898 to eight bytes.
1899 (ggc_print_statistics): Report size of each bin in bytes, not
1900 as its order; there is no longer a direct relationship.
1901
1902 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
1903
1904 * extend.texi: Fix formating of examples, eliminate some
1905 'overfull hboxes'.
1906 * gcc.texi: Eliminate some 'overfull hboxes'.
1907 * invoke.texi: Use two spaces between command options, eliminate
1908 some 'overfull hboxes'.
1909
1910 2001-05-30 Richard Henderson <rth@redhat.com>
1911
1912 * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
1913
1914 2001-05-30 Tom Tromey <tromey@redhat.com>
1915
1916 * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
1917 use it in the new association.
1918
1919 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1920 John David Anglin <dave@hiauly1.hia.nrc.ca>
1921
1922 * gthr-posix.h (__gthread_active_ptr): Cast function pointer
1923 to target type to allow ISO C++ compiler to accept it.
1924 * gthr-dce.h (__gthread_active_ptr): Likewise.
1925 * gthr-solaris.h (__gthread_active_ptr): Likewise.
1926
1927 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
1928
1929 * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
1930 so that we do accept comments in preprocessed input.
1931
1932 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
1933
1934 * cpphash.c (alloc_node): Cast allocated pointer.
1935
1936 2001-05-30 Gordon Sadler <gbsadler1@lcisp.com>
1937
1938 * invoke.texi (Option Summary): Remove -isystem-c++ from options.
1939
1940 2001-05-29 Stan Shebs <shebs@apple.com>
1941
1942 * gcc.texi: Add links for information about Objective-C.
1943
1944 2001-05-29 Nathan Sidwell <nathan@codesourcery.com>
1945
1946 * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
1947 /bin/sed fails on [^\"]).
1948 (configargs.h): Likewise.
1949
1950 2001-05-29 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
1951
1952 * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
1953
1954 2001-05-28 Stan Shebs <shebs@apple.com>
1955
1956 * objc/objc.gperf: Remove, no longer used.
1957
1958 2001-05-28 Joseph S. Myers <jsm28@cam.ac.uk>
1959
1960 * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
1961 gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
1962 Remove trailing whitespace.
1963
1964 2001-05-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1965
1966 * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
1967 became http://freeware.sgi.com/.
1968
1969 2001-05-27 Geoffrey Keating <geoffk@redhat.com>
1970
1971 * local-alloc.c (update_equiv_regs): Don't eliminate constant
1972 expressions at -O0.
1973
1974 2001-05-27 Stan Shebs <shebs@apple.com>
1975
1976 * objc/objc-act.c: Add/fix various comments.
1977 (init_selector): Remove, no longer used.
1978 (build_msg_pool_reference): Ditto.
1979 (objc_debug): Ditto.
1980
1981 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
1982
1983 * c-decl.c (init_decl_processing):
1984 Don't call start_identifier_warnings.
1985 * flags.h (warn_id_clash, id_clash_len): Remove.
1986 * stringpool.c: Don't include flags.h.
1987 (scan_for_clashes, do_identifier_warnings,
1988 start_identifier_warnings): Remove.
1989 * toplev.c (warn_id_clash, id_clash_len): Remove.
1990 (display_help): Don't document -Wid-clash.
1991 (decode_W_option): Print warning on -Wid-clash.
1992 * tree.h (start_identifier_warnings): Remove.
1993 * invoke.texi: Remove documentation of -Wid-clash.
1994
1995 2001-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1996
1997 * fixinc/fixtests.c: Declare entries in ENV_TABLE.
1998
1999 2001-05-27 Bruce Korb <bkorb@gnu.org>
2000
2001 * fixinc/check.tpl(HACK) add and use a Scheme variable
2002 (has no test text): error out if no "test_text" is defined
2003 * fixinc/fixincl.tpl: likewise
2004 (FIXIDX): make it an enumeration so we minimize diffs
2005 * fixinc/inclhack.def: re-alphabetize and add sort instructions
2006 * fixinc/fixincl.x: regenerate
2007 * fixinc/tests/base/stdio.h: test output got moved due to
2008 the alphabetizing
2009 * README-fixinc: rewrite (mostly)
2010
2011 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
2012
2013 * cpplib.c (run_directive): Set pfile->directive.
2014
2015 2001-05-23 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2016
2017 * c-tree.texi: Reformat the manual as a single chapter now
2018 included by gcc.texi.
2019 * gcc.texi: Include c-tree.texi. Merge all indexes.
2020 * Makefile.in (dvi): Add generation for the cppinternals
2021 documentation. Added dependencies on fdl.texi and c-tree.texi
2022 where appropriate. Use TEXI2DVI instead of custom tex calls.
2023 (info): Added dependencies on fdl.texi and c-tree.texi where
2024 appropriate. Remove the target c-tree.info.
2025
2026 2001-05-27 Lars Brinkhoff <lars@nocrew.org>
2027
2028 * combine.c (try_combine): Fix typo in comment.
2029 * expr.c (expand_expr): Likewise.
2030 * config/i370/i370.md (untyped_call): Likewise.
2031
2032 2001-05-26 Bruce Korb <bkorb@gnu.org>
2033
2034 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
2035 when fixincl is operating in test mode
2036 * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
2037 (AAB_ultrix_limits): remove redundant text
2038 (AAB_ultrix_memory): ditto
2039 (AAB_ultrix_string): ditto
2040 (djgpp_wchar_h): fix the test text
2041 (irix_stdio_va_list): add test text
2042 (irix_limits_const): add a testing output file (limits.h is overwritten)
2043 (strict_ansi_not_ctd): put limits.h second in list for same reason
2044 (solaris27_mutex_init): test text needed selection text, too
2045
2046 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
2047 when fixincl is operating in test mode
2048
2049 2001-05-26 Philip Blundell <philb@gnu.org>
2050
2051 * config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
2052 * config/i960/i960-protos.h: Likewise.
2053 * config/i370/i370-protos.h: Likewise.
2054 * config/h8300/h8300-protos.h: Likewise,
2055 * config/sh/sh-protos.h: Likewise.
2056 * config/v850/v850-protos.h: Likewise.
2057
2058 2001-05-26 Philip Blundell <philb@gnu.org>
2059
2060 * config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
2061
2062 2001-05-25 Zack Weinberg <zackw@stanford.edu>
2063
2064 * toplev.c (debug_args, f_options, W_options): Mark
2065 descriptions for translation.
2066 (display_help): Translate descriptions on output.
2067
2068 * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
2069 objc/lang-options.h: Mark descriptions for translation.
2070
2071 * aclocal.m4: Quote final argument of patsubst. Use
2072 3-argument form of AC_DEFINE. Restore quotes to [] while
2073 using AC_FD_CC.
2074 * configure.in: Remove unnecessary changequote calls.
2075 * configure, config.in: Regenerate.
2076
2077 2001-05-25 Sam TH <sam@uchicago.edu>
2078
2079 * basic-block.h: Fix header include guards.
2080 * bitmap.h c-dump.h c-lex.h c-pragma.h c-tree.h collect2.h
2081 cppdefault.h cpphash.h cpplib.h defaults.h diagnostic.h errors.h
2082 except.h flags.h gcc.h gcov-io.h graph.h gstab.h gthr-aix.h
2083 gthr-dce.h gthr-posix.h gthr-rtems.h gthr-single.h gthr-solaris.h
2084 gthr-vxworks.h gthr-win32.h gthr.h hard-reg-set.h hwint.h
2085 insn-addr.h libgcc2.h mbchar.h mkdeps.h params.h prefix.h real.h
2086 rtl.h sbitmap.h system.h timevar.h toplev.h tradcpp.h tsystem.h
2087 varray.h version.h: Likewise.
2088 * config/dbxelf.h config/fp-bit.h config/arm/arm-protos.h
2089 config/arm/arm.h config/c4x/c4x-protos.h
2090 config/h8300/h8300-protos.h config/h8300/h8300.h
2091 config/i370/i370-protos.h config/i370/i370.h
2092 config/i960/i960-protos.h config/mcore/mcore.h
2093 config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h
2094 config/v850/v850-protos.h config/v850/v850.h: Likewise.
2095 * fixinc/fixlib.h fixinc/server.h: Likewise.
2096
2097 2001-05-25 Stacey Sheldon <ssheldon@Catena.com>
2098
2099 * config/arc/initfini.c (.init): Fix typo.
2100
2101 2001-05-25 Geoffrey Keating <geoffk@redhat.com>
2102
2103 * config/rs6000/rs6000.md (fseldfsf4): Correct mode of operand 4.
2104
2105 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2106
2107 * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
2108
2109 2001-05-25 Richard Henderson <rth@redhat.com>
2110
2111 * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
2112
2113 2001-05-25 Richard Henderson <rth@redhat.com>
2114
2115 * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
2116 (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
2117 (sparc*-*-solaris2): Likewise.
2118 * config/t-linux: Remove shared libgcc macros.
2119 * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
2120 * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
2121
2122 2001-05-25 Loren J. Rittle <ljrittle@acm.org>
2123
2124 * config.gcc (*-*-freebsd*): Report bad configuration.
2125
2126 2001-05-25 David Edelsohn <edelsohn@gnu.org>
2127
2128 * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
2129
2130 * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
2131 any prefix.
2132 (ASM_OUTPUT_LABELREF): Delete.
2133
2134 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2135
2136 * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
2137 strict_ansi_only): Don't run if stdc_0_in_system_headers.
2138 * fixinc/fixincl.x: Regenerate.
2139 * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
2140 (FIX_TEST_TABLE): Declare it.
2141 * fixinc/fixlib.h: Include config.h.
2142
2143 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2144
2145 * fixinc/inclhack.def (alpha___assert): Change char * args to
2146 const char * on Tru64 UNIX to avoid excessive warnings from
2147 assert.h.
2148 * fixinc/fixincl.x: Regenerate.
2149
2150 2001-05-25 Geoff Keating <geoffk@redhat.com>
2151
2152 * dbxout.c (dbxout_symbol): Invert previous patch, which was
2153 outputting a tag only for variable-size records.
2154
2155 2001-05-25 Jeff Knaggs <jknaggs@redhat.com>
2156
2157 * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
2158 instead of rtx_equal_p for early clobber test.
2159
2160 2001-05-26 Mark Mitchell <mark@codesourcery.com>
2161
2162 * builtins.def: Encode additional information, such as names and
2163 types, here.
2164 * builtin-types.def: New file.
2165 * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
2166 (built_in_decls): Likewise. Don't explicitly initialize global
2167 data to NULL.
2168 (expand_builtin_mathfn): Handle float and long double variants of
2169 math builtins.
2170 (expand_builtin): Likewise.
2171 * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
2172 (expand_tree_builtin): Handle long, long long, float, and long
2173 double variants of math functions.
2174 * c-common.h (c_tree_index): Remove some unused nodes.
2175 (void_ftype): Remove.
2176 (void_type_ptr): Likewise.
2177 (int_ftype_int): Likewise.
2178 (ptr_ftype_sizetype): Likewise.
2179 * c-decl.c (init_decl_processing): Remove creation of DWARF
2180 builtins.
2181 * defaults.h (MD_INIT_BUILTINS): Provide default definition.
2182 * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
2183 * Makefile.in (c-common.o): Depend on builtin-types.def.
2184
2185 2001-05-25 Dale Johannesen <dalej@apple.com>
2186
2187 * config/rs6000/t-darwin: Fix dependencies for darwin.o.
2188
2189 2001-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
2190
2191 * c-parse.in (notype_initdcl): Remove redundant line.
2192
2193 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2194
2195 * aclocal.m4: Fixed typo.
2196 (gcc_AC_HEADER_STDBOOL): Define.
2197 (gcc_AC_C__BOOL): Define.
2198 * configure.in: Use them.
2199 (AC_CHECK_HEADERS): Remove stdbool.h
2200 * configure, config.in: Regenerate.
2201
2202 2001-05-25 Richard Henderson <rth@redhat.com>
2203
2204 * function.c (expand_function_start): Don't abort on PARALLEL
2205 returns from hard_function_value.
2206
2207 2001-05-25 Richard Henderson <rth@redhat.com>
2208
2209 * config/i386/i386.md: Revert previous change. Do not apply
2210 the peephole if the components do not die after the sequence.
2211
2212 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
2213
2214 * c-parse.in (array_declarator): New. Handle C99 constructs.
2215 Don't restrict [*] declarators to C only.
2216 (after_type_declarator, parm_declarator_starttypename,
2217 parm_declarator_nostarttypename, notype_declarator,
2218 direct_absdcl1): Use it.
2219 * c-decl.c (build_array_declarator, set_array_declarator_type):
2220 New functions. Warn that [*] isn't properly implemented; pedwarn
2221 for [*] outside C99 mode if pedantic rather than giving a hard
2222 error.
2223 (grokdeclarator): Handle static and type qualifiers in parameter
2224 array declarators.
2225 * c-tree.h (build_array_declarator, set_array_declarator_type):
2226 Declare.
2227 * extend.texi (Attribute Syntax): Document attributes in parameter
2228 array declarators.
2229
2230 2001-05-25 Mark Mitchell <mark@codesourcery.com>
2231
2232 * config/i386/i386.md: Make sure cmpstr peepholes do not
2233 affect liveness information.
2234
2235 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2236
2237 * c-typeck.c (digest_init): Issue error messages about
2238 invalid constants, not warnings.
2239
2240 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2241
2242 * invoke.texi (-fno-builtin): Document that this is always on
2243 in C++.
2244
2245 2001-05-24 Philip Blundell <philb@gnu.org>
2246
2247 * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
2248 required.
2249
2250 2001-05-24 Philip Blundell <philb@gnu.org>
2251
2252 * config/arm/arm.c (output_return_instruction): Correctly handle
2253 interworking and interrupt functions.
2254
2255 2001-05-24 Philip Blundell <philb@gnu.org>
2256
2257 * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
2258 -m{no-}sched-prolog. Fix typos and improve formatting.
2259
2260 2001-05-24 Philip Blundell <philb@gnu.org>
2261
2262 * invoke.texi (ARM Options): Improve wording slightly. Add
2263 documentation for more options, including those for Thumb mode.
2264 Don't mention options that don't exist or are unimplemented.
2265 (Thumb Options): Delete; merged into above section.
2266
2267 2001-05-24 Geoff Keating <geoffk@redhat.com>
2268
2269 * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
2270 (MD_FALLBACK_FRAME_STATE_FOR): Use it.
2271
2272 Thu May 24 19:47:19 CEST 2001 Jan Hubicka <jh@suse.cz>
2273
2274 * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
2275 fix hard register simplification.
2276
2277 Thu May 24 00:15:17 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2278
2279 * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
2280 of just copying CPP_CPU_SPEC.
2281
2282 Thu May 24 15:56:48 CEST 2001 Jan Hubicka <jh@suse.cz>
2283
2284 * i386.c (incdec_operand): Accept only 1 and -1.
2285
2286 2001-05-23 Kelley Cook <kelley.cook@home.com>
2287
2288 * Makefile.in: Move many of the *_H definitions eariler in the
2289 file, so that rules in t-* files that use them for
2290 dependencies will work in a parallel build.
2291 * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
2292
2293 2001-05-23 Richard Henderson <rth@redhat.com>
2294
2295 * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
2296
2297 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
2298
2299 * cpp.texi: Update for handling of charconsts.
2300 * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF. Update
2301 diagnostics. Skip to the end if the UCS is too short.
2302 (cpp_interpret_charconst): Long charconsts issue a warning
2303 not an error.
2304
2305 2001-05-23 Richard Henderson <rth@redhat.com>
2306
2307 * doc/install.texi (alpha-linux): Require binutils 2.11.
2308
2309 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
2310
2311 * c-lex.c (read_escape, read_ucs): Delete.
2312 (lex_string): Use cpp_parse_escape.
2313 * cpplex.c (read_ucs): Rename maybe_read_ucs. Do nothing
2314 if not C++ or not C99. Warn if traditional.
2315 (parse_escape): Rename cpp_parse_escape. Make the bitmask
2316 unsigned. Warn for out-of-range escape sequences here.
2317 Update to use maybe_read_ucs.
2318 (cpp_interpret_charconst): Don't warn here.
2319 * cpplib.h (cpp_parse_escape): New exported function.
2320
2321 2001-05-23 Joseph S. Myers <jsm28@cam.ac.uk>
2322
2323 * extend.texi (Attribute Syntax): Clarify application of
2324 attributes to parameters declared as functions or arrays.
2325
2326 2001-05-23 Jason Merrill <jason_merrill@redhat.com>
2327
2328 * dbxout.c (dbxout_type_methods): Do still group methods by name.
2329
2330 2001-05-23 Zack Weinberg <zackw@stanford.edu>
2331
2332 * diagnostic.c (vnotice): Kill.
2333 (fnotice): Call vfprintf directly.
2334 (diagnostic_for_decl, output_do_verbatim, output_verbatim,
2335 verbatim, set_diagnostic_context): Rename string argument to
2336 indicate that it is run through gettext.
2337 (vbuild_message_string, build_message_string, output_do_printf):
2338 Rename string argument to indicate that it is NOT run through
2339 gettext.
2340 (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
2341 output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
2342 Run msgid argument through gettext.
2343 (default_print_error_function): Run constant strings through
2344 gettext when nothing else will.
2345 (fatal_error, internal_error, error_recursion): Use fnotice.
2346 Present complete sentences to gettext.
2347
2348 2001-05-23 Mark Mitchell <mark@codesourcery.com>
2349
2350 * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
2351
2352 2001-05-23 Richard Henderson <rth@redhat.com>
2353
2354 * function.c (expand_function_start): Always use a pseudo
2355 for the function result value.
2356
2357 2001-05-22 Richard Henderson <rth@redhat.com>
2358
2359 * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
2360 section pointer alignment.
2361
2362 * doc/install.texi (alpha-linux): Require binutils >= 2.10.
2363
2364 * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
2365 of __USER_LABEL_PREFIX__.
2366
2367 2001-05-22 Richard Henderson <rth@redhat.com>
2368
2369 * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
2370 (__deregister_frame_info_bases): New.
2371 * unwind-dw2-fde.h: Declare it.
2372 * libgcc-std.ver: Export it.
2373 * crtstuff.c (__do_global_dtors_aux): Call it if we would have
2374 called __register_frame_info_bases.
2375
2376 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
2377
2378 * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
2379 instead of #elif (which is OK for this case but not in general).
2380
2381 2001-05-22 Andrew MacLeod <amacleod@redhat.com>
2382
2383 * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
2384 * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
2385 parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
2386 * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
2387 "r2" to the assembly file. Only issue allocs with non-zero parameters.
2388
2389 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
2390 David O'Brien <obrien@freebsd.org>
2391
2392 * config/freebsd.h (LIB_SPEC): Key the exact setting to
2393 configure-time options and target version of FreeBSD. Set-up
2394 to match architectural change in threading support. Correctly
2395 report when -pthread option is not supported by configure-time
2396 options.
2397 (FBSD_CPP_PREDEFINES): Move from architecture-specific files
2398 and extend to encode target version number in run-time setting
2399 of __FreeBSD__ macro to match the system compiler.
2400 (CPP_PREDEFINES): Likewise.
2401 (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
2402
2403 * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
2404 * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
2405
2406 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
2407 David O'Brien <obrien@freebsd.org>
2408
2409 * config.gcc (the unlabeled system switch statement): Add
2410 generic configuration section to handle *-*-freebsd*. Also,
2411 to match the system compiler, default to threading support (it
2412 may be disabled with the standard --disable-threads
2413 configuration-time switch).
2414 (i[34567]86-*-freebsd* in machine-specific section): Use it.
2415 (alpha*-*-freebsd* in machine-specific section): Likewise.
2416
2417 * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
2418 * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
2419 * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
2420 * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
2421 * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
2422
2423 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
2424 David O'Brien <obrien@freebsd.org>
2425
2426 * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
2427 * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
2428 -pthread instead setting macro.
2429
2430 2001-05-22 Richard Henderson <rth@redhat.com>
2431
2432 * crtstuff.c (__register_frame_info_bases): Declare.
2433 (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
2434 (__do_global_dtors_aux, __do_global_dtors): Streamline.
2435
2436 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
2437 (CRT_GET_RFIB_DATA): New.
2438 * config/i386/sysv4.h: Likewise.
2439 * config/i386/sco5.h: Likewise.
2440 (ASM_PREFERRED_EH_DATA_FORMAT): New.
2441
2442 2001-05-22 Richard Henderson <rth@redhat.com>
2443
2444 * rtl.c (read_string): Break out from ...
2445 (read_rtx): ... here.
2446
2447 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2448
2449 * doc/install.texi (Specific): Remove a bogus and duplicate part
2450 copied from the end of the document.
2451
2452 2001-05-22 Bernd Schmidt <bernds@redhat.com>
2453
2454 * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
2455
2456 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2457
2458 * install.texi: Remove obsolete information on SunOS as well as
2459 i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
2460 (Installing GNU CC on the Sun): Remove section.
2461
2462 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
2463
2464 * cppfiles.c (remove_component_p): Don't assume lstat/stat will
2465 keep errno unchanged on success.
2466
2467 2001-05-22 Joseph S. Myers <jsm28@cam.ac.uk>
2468
2469 * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
2470 once for hexadecimal floats, whether or not they contain a decimal
2471 point. Don't let the setting of pedantic otherwise affect the
2472 parsing of hexadecimal floats.
2473
2474 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2475
2476 * README.ACORN: Remove obsolete file.
2477
2478 2001-05-22 Jan Hubicka <jh@suse.cz>
2479
2480 * combine.c (gen_binary): Use swap_commutative_operands_p
2481 (simplify_comparison): Likewise.
2482 * expmed.c (emit_store_flag): Likewise.
2483 * expr.c (compare_from_rtx): Likewise.
2484 (do_compare_rtx_and_jump): Likewise.
2485 * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
2486 if not emitting a branch and operands want swapping.
2487
2488 2001-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
2489
2490 * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
2491 * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
2492 (maybe_get_identifier): Update.
2493 * tree.h (make_identifier): Delete.
2494
2495 2001-05-21 Richard Henderson <rth@redhat.com>
2496
2497 * combine.c (subst): Do not substitute for a register as
2498 a destination subreg/strict_low_part/zero_extract.
2499
2500 * combine.c (simplify_comparison): Update op1 after constant
2501 extension.
2502 * recog.c (const_int_operand): Accept only constants valid
2503 for the given mode.
2504 * genrecog.c: Update comments wrt const_int_operand.
2505
2506 * emit-rtl.c (init_emit_once): Zero unused memory in a
2507 CONST_DOUBLE.
2508
2509 2001-05-21 Mark Mitchell <mark@codesourcery.com>
2510
2511 * tree.h (type_num_arguments): Declare it.
2512 * tree.c (type_num_arguments): New function.
2513
2514 2001-05-21 Richard Henderson <rth@redhat.com>
2515
2516 * dwarf2out.c (current_funcdef_number): Move outside dwarf2
2517 conditional ifdef.
2518
2519 2001-05-21 Geoff Keating <geoffk@redhat.com>
2520
2521 * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
2522 (maxsf3+1): Delete.
2523 (minsf3): Use rs6000_emit_minmax.
2524 (minsf3+1): Generalize to handle both SMIN and SMAX. Use
2525 rs6000_emit_minmax.
2526 (movsfcc): Use rs6000_emit_cmove.
2527 (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
2528 Don't generate emit_fselsfsf4.
2529 (fseldfsf4): Likewise.
2530 (maxdf3): Use rs6000_emit_minmax.
2531 (maxdf3+1): Delete.
2532 (mindf3): Use rs6000_emit_minmax.
2533 (mindf3+1): Generalize to handle both SMIN and SMAX. Use
2534 rs6000_emit_minmax.
2535 (movdfcc): Use rs6000_emit_cmove.
2536 (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
2537 Don't generate emit_fselsfsf4.
2538 (fselsfdf4): Likewise.
2539 * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
2540 (min_max_operator): New predicate.
2541 (rs6000_emit_cmove): New function.
2542 (rs6000_emit_minmax): New function.
2543 * config/rs6000/rs6000-protos.h: Prototype new functions.
2544 * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
2545 and min_max_operator.
2546
2547 * config/rs6000/rs6000.c (output_cbranch): Handle all
2548 conditional types in the switch statement.
2549
2550 2001-05-21 Mark Mitchell <mark@codesourcery.com>
2551
2552 * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
2553 non-register variables.
2554 * extend.texi: Document that asm-specifications do not make sense
2555 for non-static local variables.
2556
2557 2001-05-21 Jason Merrill <jason_merrill@redhat.com>
2558
2559 * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
2560 (dbxout_type_fields): Lose minimal_debug support.
2561 (dbxout_type_methods, dbxout_type): Likewise.
2562
2563 2001-05-17 Andrew Haley <aph@redhat.com>
2564
2565 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2566
2567 2001-05-21 Richard Henderson <rth@redhat.com>
2568
2569 * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
2570 Update all users.
2571
2572 2001-05-20 Richard Henderson <rth@redhat.com>
2573
2574 * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
2575 DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
2576 DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users.
2577 * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
2578 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
2579 Likewise.
2580 * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
2581 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
2582 DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
2583 (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
2584 * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
2585 DEBUG_PUBNAMES_SECTION): Rename as above.
2586 (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
2587
2588 2001-05-20 Richard Henderson <rth@redhat.com>
2589
2590 * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
2591 operands unless the operation is commutative.
2592
2593 2001-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2594
2595 * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
2596 cases.
2597
2598 2001-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
2599
2600 * extend.texi: Clarify documentation of extensions included in ISO
2601 C99. Prefer C99 terminology and syntax to old GNU terminology and
2602 syntax. Add more index entries. Document mixed declarations and
2603 code as an extension in C89 mode. Warn about future changes to
2604 semantics of inline functions. Fixes PR other/930.
2605
2606 Sun May 20 16:39:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2607
2608 * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
2609 access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
2610 (expand_expr, case COMPONENT_REF): Do copy if misaligned even
2611 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
2612
2613 * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
2614
2615 2001-05-20 Richard Henderson <rth@redhat.com>
2616
2617 * sched-deps.c (sched_analyze_insn): Force volatile memory reads
2618 to be output before a branch.
2619
2620 2001-05-20 Richard Henderson <rth@redhat.com>
2621
2622 * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
2623
2624 2001-05-20 Richard Henderson <rth@redhat.com>
2625
2626 * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
2627 (ASM_DOUBLE): Remove.
2628 * config/i386/bsd.h, config/i386/sco5.h: Likewise.
2629 * config/i386/sun386.h: Likewise.
2630
2631 * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
2632 (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
2633
2634 * config/i386/cygwin.h (INT_ASM_OP): Remove.
2635 * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
2636 * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
2637 * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
2638
2639 * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
2640 * config/i386/djgpp.h, config/i386/i386.h: Likewise.
2641 * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
2642 * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
2643 * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
2644 * config/i386/win32.h: Likewise.
2645
2646 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
2647
2648 * invoke.texi: Add more options to summary list.
2649
2650 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
2651
2652 * invoke.texi: Document meaning of -pedantic when -std=gnu* is
2653 used. Fixes PR c/2291.
2654 * gcc.1: Regenerate.
2655
2656 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2657
2658 * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
2659 the -fpic and -fPIC options, clear flag_pic.
2660
2661 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
2662
2663 * hashtable.c (calc_hash): Fix HASHSTEP definition.
2664 * stringpool.c (make_identifier): No statistics here anymore.
2665 * objc-act.c (steup_string_decl): Remove redundant check.
2666
2667 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
2668
2669 * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
2670 cpplib.o, cpphash.o, fix-header): Update.
2671 (hashtable.o): New target.
2672 * c-common.h: Include cpplib.h. Define C_RID_CODE and
2673 struct c_common_identifier here.
2674 * c-lang.c (c_init_options): Update. Call set_identifier_size.
2675 * c-lex.c (c_lex): Update.
2676 * c-pragma.h: Update.
2677 * c-tree.h (struct lang_identifier): Contain c_common_identifier.
2678 Delete rid_code.
2679 (C_RID_CODE): Delete.
2680 * cpphash.c: Rewrite to use hashtable.c.
2681 * cpphash.h: Update include guards.
2682 (struct cpp_reader): Remove hashtab.
2683 hash_ob and buffer_ob are no longer pointers. Add hash_table
2684 and our_hashtable.
2685 (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
2686 (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
2687 (_cpp_cleanup_stacks): Rename _cpp_init_directives.
2688 * cppinit.c (cpp_create_reader): Update.
2689 * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
2690 (cpp_interpret_charconst): Eliminate warning.
2691 * cpplib.c (do_pragma, do_endif, push_conditional,
2692 cpp_push_buffer, cpp_pop_buffer): Update.
2693 (_cpp_init_stacks): Rename cpp_init_directives.
2694 (_cpp_cleanup_stacks): Remove.
2695 * cpplib.h: Update include guards. Include tree-core.h and c-rid.h.
2696 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
2697 cpp_forall_identifiers, cpp_create_reader): Update.
2698 (C_RID_CODE, cpp_make_node): New.
2699 (c_common_identifier): New identifier node for C front ends.
2700 * cppmain.c (main): Update.
2701 * fix-header.c (read_scan_file): Update.
2702 * flags.h (id_clash_len): Make unsigned.
2703 * ggc.h (ggc_mark_nonnull_tree): New.
2704 * hashtable.c: New.
2705 * hashtable.h: New.
2706 * stringpool.c: Update comments and copyright. Update to use
2707 hashtable.c.
2708 * toplev.c (approx_sqrt): Move to hashtable.c.
2709 (id_clash_len): Make unsigned.
2710 * toplev.h (ident_hash): New.
2711 * tree.c (gcc_obstack_init): Move to hashtable.c.
2712 * tree.h: Include hashtable.h.
2713 (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
2714 (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
2715 (struct tree_identifier): Update.
2716 (make_identifier): New.
2717 cp:
2718 * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
2719 (C_RID_CODE): Remove.
2720 * lex.c (cxx_init_options): Call set_identifier_size. Update.
2721 (init_parse): Don't do it here.
2722 objc:
2723 * objc-act.c (objc_init_options): Call set_identifier_size. Update.
2724
2725 Sat May 19 18:23:04 2001 Richard Henderson <rth@redhat.com>
2726
2727 * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
2728 as ncessary.
2729 (expand_eh_return): Convert between word_mode and Pmode.
2730 * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
2731 are the same size.
2732 (execute_stack_op): Likewise.
2733 (execute_cfa_program): Likewise.
2734 (uw_frame_state_for): Likewise.
2735 (uw_update_context_1): Likewise.
2736 * unwind.inc (_Unwind_Reason_Code): Likewise.
2737 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
2738 (EH_RETURN_STACKADJ_RTX): Likewise.
2739 * config/mips/mips.c (compute_frame_size): Make space for saving
2740 EH return registers.
2741 (mips_expand_epilogue): Handle EH stack adjustments.
2742 * config/mips/mips.md (eh_return): New pattern.
2743 (eh_set_lr_si): Likewise.
2744 (eh_set_lr_di): Likewise.
2745 Add splitter to perform EH return after reload.
2746
2747 2001-05-19 Mark Mitchell <mark@codesourcery.com>
2748
2749 * jump.c (mark_jump_label): Tidy previous change.
2750
2751 2001-05-19 Bruce Korb <bkorb@gnu.org>
2752
2753 * fixinc/genfixes: no need for two warnings
2754 * fixinc/Makefile.in: open stdin for those building with a closed one.
2755
2756 2001-05-19 Mark Mitchell <mark@codesourcery.com>
2757
2758 * jump.c (jump_optimize_1): Tidy.
2759 (mark_jump_label): When changing the label in a LABEL_REF, change
2760 update any REG_EQUAL notes as well.
2761
2762 2001-05-19 Joseph S. Myers <jsm28@cam.ac.uk>
2763
2764 * c-parse.in (parm_declarator): Split into
2765 parm_declarator_starttypename and parm_declarator_nostarttypename.
2766 (parm_declarator_starttypename, parm_declarator_nostarttypename):
2767 New. Allow parenthesised sub-declarators which don't begin with a
2768 TYPENAME. Fixes PR c/166.
2769
2770 2001-05-19 Mark Mitchell <mark@codesourcery.com>
2771
2772 * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
2773 macro.
2774 * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
2775 Document it.
2776 * toplev.c (main): If the target does not allow profiling without
2777 a frame pointer, issue an error message.
2778 * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
2779 Define it to false.
2780
2781 Sat May 19 07:53:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2782
2783 * recog.c (general_operand): Modify last change to allow it if reload
2784 has completed.
2785
2786 Sat May 19 10:23:54 CEST 2001 Jan Hubicka <jh@suse.cz>
2787
2788 * recog.c (general_operand): Prohibit nonzero subreg bytes on
2789 subregs containing mem.
2790
2791 Sat May 19 09:40:45 2001 Denis Chertykov <denisc@overta.ru>
2792
2793 * regrename.c (regrename_optimize): frame pointer register can
2794 use a few hardregs.
2795
2796 2001-05-18 Jason Merrill <jason_merrill@redhat.com>
2797
2798 * README.DWARF: Move into dwarfout.c.
2799
2800 2001-05-18 Dale Johannesen <dalej@apple.com>
2801
2802 * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
2803 specific misuse of r0 as a reload address.
2804
2805 Fri May 18 22:42:04 CEST 2001 Jan Hubicka <jh@suse.cz>
2806
2807 * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
2808 suceeded.
2809
2810 Fri May 18 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2811
2812 * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
2813 (add_to_sequence): Make that decision type.
2814 (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
2815 (write_switch, write_cond, debug_decision_2): Likewise.
2816
2817 * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
2818 for INTEGER_TYPE.
2819 (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
2820 variable size.
2821
2822 2001-05-18 Stan Shebs <shebs@apple.com>
2823
2824 * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
2825 * configure: Regenerate.
2826
2827 2001-05-18 Per Bothner <per@bothner.com>
2828
2829 Changes needed for java/jvspec.c
2830 * gcc.h (n_infiles, outfiles): Add declarations.
2831 * gcc.c (n_infiles, outfiles): Mske no longer static.
2832
2833 Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
2834
2835 * config/pa/som.h (EXCEPTION_SECTION): Define.
2836
2837 2001-05-18 Daniel Berlin <dan@cgsoftware.com>
2838
2839 * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
2840 list.
2841 Add have_location_lists, a variable to determine whether we need a
2842 .debug_loc section or not.
2843 (enum dw_val_class): Add dw_val_class_loc_list.
2844 (dw_val_struct): Add val_loc_list.
2845 (dw_loc_list_struct): New structure, represents location lists.
2846 (new_loc_list): New function, return a new location list, given
2847 the range and location expression.
2848 (add_loc_descr_to_loc_list): New function, add a location
2849 expression to a location list, given the expression and range.
2850 (output_loc_list): New function, output a location list.
2851 (gen_internal_sym): Modified to take symbol prefix, so we can
2852 reuse it for location list symbols.
2853 (add_AT_loc_list): New function, add a location list to a DIE at
2854 the named attribute.
2855 (AT_loc_list): New function, return the location list reference
2856 for a given attribute, if it's a location list.
2857 (print_die): Handle dw_val_class_loc_list.
2858 (size_of_die): Ditto.
2859 (value_format): Ditto.
2860 (output_die): Ditto.
2861 (output_location_lists): New function, output all of the location
2862 lists for a DIE and it's children.
2863 (dwarf2out_finish): Call output_location_lists if we have location
2864 lists.
2865
2866
2867 Fri May 18 15:39:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2868
2869 * gcse.c (try_replace_reg): First try global replace, later try to
2870 simplify the expression.
2871
2872 * gcse.c (find_used_regs): Change calling convention; work via
2873 note_uses.
2874 (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
2875
2876 2001-05-18 Bernd Schmidt <bernds@redhat.com>
2877
2878 Revert
2879 2001-02-09 Nick Clifton <nickc@redhat.com>
2880 * config/arm/arm.md: Change output constraint on post inc
2881 load/store multiple patterns to be a read/write constraint.
2882
2883 2001-05-18 Mark Mitchell <mark@codesourcery.com>
2884
2885 * basic-block.h (struct basic_block_def): Add documentation about
2886 what a basic block is, and what the various fields are used for.
2887 * flow.c (calculate_globlal_regs_live): Add documentation about
2888 how the algorithm works, and how we know that it will terminate.
2889 Check that the the inductive assumption that guarantees
2890 termination actually holds.
2891 (mark_used_regs): Treat conditionally set registers as used.
2892 (debug_regset): Add comment.
2893 * rtl.texi (cond_exec): Add documentation.
2894
2895 * function.c (expand_function_start): Avoid creating BLKmode
2896 pseudos.
2897
2898 2001-05-17 Mark Mitchell <mark@codesourcery.com>
2899
2900 * dwarf2out.c (output_comp_unit): Always output a compilation-unit
2901 DIE, even if it has no children.
2902 (dwarf2out_finish): Always output the line-number table, even if
2903 it has no content.
2904
2905 2001-05-18 David Edelsohn <edelsohn@gnu.org>
2906
2907 * rs6000.md (movsfcc,movdfcc): Remove NE case.
2908
2909 2001-05-17 Bruce Korb <bkorb@gnu.org>
2910
2911 * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
2912 * fixinc/genfixes: emit a warning if AutoGen is out of date
2913
2914 2001-05-17 Brendan Conoboy <blc@cygnus.com>
2915 Bruce Korb <bkorb@gnu.org>
2916
2917 * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
2918 found in fixinc directory. Facilitates binary distributions.
2919
2920 2001-05-17 Jeffrey Oldham <oldham@codesourcery.com>
2921
2922 * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
2923 COMPLEX_TYPE.
2924
2925 Thu May 17 19:42:39 2001 Mark Kettenis <kettenis@wins.uva.nl>
2926
2927 * dwarf2out.c (modified_type_die): Equate qualified type to die.
2928
2929 Thu May 17 23:19:46 CEST 2001 Jan Hubicka <jh@suse.cz>
2930
2931 * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
2932 (simplify_subreg): Handle complex types represented as CONCAT.
2933
2934 * recog.c (validate_replace_rtx_1): Properly canonicalize expression
2935 * rtl.h (swap_commutative_operands_p): Declare.
2936 * rtlanal.c (swap_commutative_operands_p): New.
2937 (operand_preference): New static function.
2938
2939 * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
2940 (gen_binary): Likewise.
2941 * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
2942 * simplify-rtx.c (simplify_gen_binary,
2943 simplify_gen_relational): Likewise.
2944
2945 Thu May 17 20:43:36 CEST 2001 Jan Hubicka <jh@suse.cz>
2946
2947 * cse.c (fold_rtx): Use simplify_subreg.
2948
2949 * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
2950 (simplify_gen_subreg): New.
2951 (simplify_rtx): Use simplify_subreg.
2952 * rtl.h (simplify_gen_subreg): Declare.
2953
2954 2001-05-17 Mark Mitchell <mark@codesourcery.com>
2955
2956 * doc/install.texi: Update Solaris information.
2957
2958 * except.h (protect_cleanup_actions): Remove it.
2959 (lang_protect_cleanup_actions): Declare it.
2960 * except.c (protect_cleanup_actions): Remove it.
2961 (lang_protect_cleanup_actions): New variable.
2962 (init_eh): Don't make protect_cleanup_actions a GC root.
2963 (expand_eh_region_and_cleanup): Call
2964 lang_protect_cleanup_actions.
2965 (output_function_exception_table): Remove unused `align'
2966 variable.
2967 * varasm.c (assemble_external): Abort if we have not yet
2968 opened the assembly output file.
2969
2970 Thu May 17 11:54:50 2001 Jeffrey A Law (law@cygnus.com)
2971
2972 * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
2973 for eh_personality_libfunc.
2974
2975 Thu May 17 19:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2976
2977 * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
2978 when calling simplify_subreg. This is needed to allow replacing
2979 of expression of one mode by expression of different mode.
2980
2981 Thu May 17 19:40:03 CEST 2001 Jan Hubicka <jh@suse.cz>
2982
2983 * simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
2984
2985 2001-05-17 Bernd Schmidt <bernds@redhat.com>
2986
2987 * expr.c (protect_from_queue): Protect against subsequent calls to
2988 emit_queue.
2989 (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
2990 too clever.
2991
2992 Thu May 17 18:17:34 CEST 2001 Jan Hubicka <jh@suse.cz>
2993
2994 * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
2995
2996 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2997
2998 * gccbug.in (CATEGORIES): Add "bootstrap".
2999
3000 Thu May 17 16:59:41 CEST 2001 Jan Hubicka <jh@suse.cz>
3001
3002 * simplify-rtx.c (simplify_subreg): Break out from ...
3003 * combine.c (combine_splify_rtx) ... here and ...
3004 * recog.c (validate_replace_rtx_1): ... here;
3005 * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
3006 * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
3007 (subreg_lowpart_p): ... here.
3008
3009 2001-05-17 Bernd Schmidt <bernds@redhat.com>
3010
3011 * stmt.c (expand_asm_operands): For inout operands, make sure
3012 the substitution of '=' for '+' makes it into the rtl.
3013
3014 * reload1.c (delete_output_reload): Call eliminate_regs on substed.
3015 (reload_as_needed): Call update_eliminable_offsets a bit later.
3016
3017 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3018
3019 * gcc.texi (gccbug): Refer to the web pages for detailed information
3020 on GNATS.
3021
3022 2001-05-16 Zack Weinberg <zackw@stanford.edu>
3023
3024 * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
3025
3026 * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
3027 OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
3028 LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test,
3029 libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists.
3030 * cross-make: Don't set LIBGCC1.
3031 * mklibgcc.in: Delete all code for building from libgcc1.c.
3032 Always honor LIB1ASMFUNCS if set.
3033
3034 * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
3035 config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
3036 config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
3037 config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
3038 config/i386/uwin.asm, config/m68hc11/larith.asm,
3039 config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
3040 config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
3041 config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
3042 config/v850/lib1funcs.asm, config/c4x/libgcc.S:
3043 Delete or update references to libgcc1 in commentary.
3044
3045 * config/t-libc-ok, config/t-linux, config/t-linux-aout,
3046 config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
3047 config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
3048 config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
3049 config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
3050 config/arm/t-semi, config/arm/t-strongarm-coff,
3051 config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
3052 config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
3053 config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
3054 config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
3055 config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
3056 config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
3057 config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
3058 config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
3059 config/m68k/t-m68kbare, config/m68k/t-m68kelf,
3060 config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
3061 config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
3062 config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
3063 config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
3064 config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
3065 config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
3066 config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
3067 config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
3068 config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
3069 config/mips/t-ultrix, config/mn10200/t-mn10200,
3070 config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
3071 config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
3072 config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
3073 config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
3074 config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
3075 config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
3076 config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
3077 config/sparc/t-sparclite, config/sparc/t-splet,
3078 config/sparc/t-sunos41, config/sparc/t-vxsparc,
3079 config/sparc/t-vxsparc64, config/v850/t-v850:
3080 Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
3081
3082 * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h:
3083 Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
3084 * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
3085 FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
3086 nongcc_SI_type, nongcc_word_type, or perform_*
3087 * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
3088
3089 * config/i386/386bsd.h, config/i386/beos-elf.h,
3090 config/i386/linux-aout.h, config/i386/linux-oldld.h,
3091 config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
3092 config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
3093 Don't include i386/perform.h.
3094
3095 * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
3096 config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
3097 config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
3098 config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
3099 config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
3100 config/vax/t-openbsd, config/vax/t-vax: Delete.
3101
3102 * config.gcc: Remove references to deleted files.
3103 (arm-semi-aof): Use arm/t-semi for tmake_file.
3104
3105 * gcc.texi, install.texi, invoke.texi, tm.texi:
3106 Delete or rewrite text which is no longer relevant now that
3107 libgcc1 no longer exists.
3108
3109 * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
3110 No need to set INSTALL_ASSERT_H. (Missed in previous sweep.)
3111
3112 2001-05-16 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3113 Bruce Korb <bkorb@gnu.org>
3114
3115 * fixinc/inclhack.def(solaris27_mutex_init): Fix broken mutex
3116 initializer
3117
3118 2001-05-16 Zack Weinberg <zackw@stanford.edu>
3119
3120 * i386.md: Add two peepholes to clean up code generated by
3121 cmpstr* expanders.
3122
3123 2001-05-16 Richard Henderson <rth@redhat.com>
3124
3125 * dwarf2asm.c (eh_data_format_name): Add names for "pointer size"
3126 variants of non-absolute encodings.
3127
3128 * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
3129
3130 * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
3131 __register_frame_info_table_bases): Export.
3132
3133 2001-05-16 Richard Henderson <rth@redhat.com>
3134
3135 * except.c (eh_data_format_name): Move to ...
3136 * dwarf2asm.c: ... here. Use designated initializers if available.
3137 (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
3138 * dwarf2asm.h: Update declarations.
3139 * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
3140 ASM_PREFERRED_EH_DATA_FORMAT.
3141 (output_call_frame_info): Likewise. Use 'L' augmentation for
3142 the LSDA encoding.
3143
3144 * unwind-dw2-fde.h (struct fde_vector): New.
3145 (struct old_object): Rename from struct object.
3146 (struct object): New.
3147 (__register_frame_info_bases): Declare.
3148 (__register_frame_info_table_bases): Declare.
3149 (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
3150 * unwind-dw2-fde.c (objects): Remove.
3151 (unseen_objects, seen_objects): New.
3152 (__register_frame_info_bases): New.
3153 (__register_frame_info): Use it.
3154 (__register_frame_info_table_bases): New.
3155 (__register_frame_info_table): Use it.
3156 (__deregister_frame_info): Rewrite for changed object struct.
3157 (base_from_object, get_cie_encoding, get_fde_encoding): New.
3158 (fde_unencoded_compare): Rename from fde_compare; uninline.
3159 (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
3160 (start_fde_sort): Adjust for new definition of fde_vector.
3161 (fde_insert): Likewise.
3162 (end_fde_sort): Likewise. Select comparison function based
3163 on properties of the object.
3164 (fde_split): Take object and fde_compare_t arguments.
3165 (frame_heapsort, fde_merge): Likewise.
3166 (classify_object_over_fdes): Rename from count_fdes. Handle
3167 encoded pointers. Collect encoding, mixed_encoding, and pc_begin
3168 for the object.
3169 (add_fdes): Handle encoded pointers.
3170 (init_object): Rename from frame_init. Update for new struct object.
3171 (linear_search_fdes): Rename from search_fdes. Handle encoded
3172 pointers.
3173 (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
3174 (binary_search_single_encoding_fdes): New.
3175 (binary_search_mixed_encoding_fdes): New.
3176 (search_object): New.
3177 (_Unwind_Find_FDE): Update for new struct object. Fill in
3178 the dwarf_eh_bases.
3179 * unwind-dw2.c: Include unwind-pe.h. Constify all pointers
3180 iterating over EH data.
3181 (_Unwind_FrameState): Remove saw_lsda, addr_encoding. Add
3182 fde_encoding, lsda_encoding.
3183 (read_uleb128, read_sleb128): Remove.
3184 (read_encoded_pointer): Remove. All callers use read_encoded_value.
3185 (extract_cie_info): Set lsda_encoding from 'L' augmentation.
3186 (uw_frame_state_for): Don't set bases.func. Handle encoded fde
3187 pointers.
3188 * unwind-pe.h: Add "struct" to _Unwind_Context references.
3189
3190 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3191
3192 * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
3193 * cpphash.c (_cpp_lookup_with_hash): Similarly.
3194 * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
3195 cpp_spell_token, cpp_output_token): Similarly.
3196 * cpplib.c (lex_macro_node, do_undef, do_pragma,
3197 do_pragma_poison, parse_assertion, do_assert): Similarly.
3198 * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
3199 save_parameter, _cpp_create_definition, check_trad_stringification,
3200 cpp_macro_definition): Similarly.
3201 * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
3202 * c-lex.c (cb_undef, c_lex): Similarly.
3203 * fix-header.c (recognized_function): Similarly.
3204 * cpplib.h (NODE_LEN, NODE_NAME): New.
3205 (cpp_hashnode): Rename length len.
3206
3207 Wed May 16 13:41:10 2001 Jeffrey A Law (law@cygnus.com)
3208
3209 * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
3210 GPRs.
3211
3212 2001-05-16 Andreas Jaeger <aj@suse.de>
3213
3214 * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
3215
3216 * toplev.c: Include dwarf2asm.h for prototype of
3217 dw2_output_indirect_constants.
3218
3219 Wed May 16 19:53:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3220
3221 * stmt.c (expand_asm_operands): Be able to offload addressof
3222 expression to memory. (PR optimization/185)
3223
3224 Wed May 16 18:53:23 CEST 2001 Jan Hubicka <jh@suse.cz>
3225
3226 * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
3227 applying distributive law.
3228
3229 2001-05-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
3230
3231 * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
3232
3233 * gthr-dce.h (UNUSED): Attribute unused macro.
3234 (__gthread_key_dtor): Make arguments UNUSED.
3235 (__gthread_key_delete): Revise for compatibility with DRAFT4
3236 implementation.
3237
3238 2001-05-16 David Edelsohn <edelsohn@gnu.org>
3239
3240 * doc/install.texi: Update AIX information.
3241 * README.RS6000: Remove obsolete file.
3242
3243 2001-05-16 Jakub Jelinek <jakub@redhat.com>
3244 Nathan Sidwell <nathan@codesourcery.com>
3245
3246 * gcc.c (give_switch): Don't write before start of string.
3247 Always append suffix.
3248
3249 2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
3250
3251 * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
3252 after stage3.
3253
3254 2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3255
3256 * README.ALTOS: Remove obsolete file.
3257
3258 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
3259
3260 * c-lex.h (save_and_forget_protocol_qualifiers,
3261 forget_protocol_qualifiers, remember_protocol_qualifiers):
3262 Remove deleted functions' prototypes.
3263
3264 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
3265
3266 * c-parse.in (methodtype): New production.
3267 (methoddef, methodproto): Collapse separate '-' and '+'
3268 handlers into 1.
3269
3270 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3271
3272 * c-common.h (RID_FIRST_PQ): New.
3273 * c-parse.in (objc_pq_context): New.
3274 (objc parser): Set objc_pq_context rather than calling
3275 remember_protocol_qualifiers and forget_protocol_qualifiers.
3276 Don't call save_and_forget_protocol_qualifiers.
3277 (yylexname): Handle objc protocol qualifiers here.
3278 * stringpool.c (struct str_header): Replace with sp_hashnode.
3279 (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
3280 (alloc_string): Rename alloc_ident. Use the SP_ accessors.
3281 Allocate an IDENTIFIER_NODE for each identifier.
3282 (FORALL_STRINGS, set_identifier): Delete.
3283 (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
3284 (ggc_alloc_string): Use an obstack.
3285 (get_identifier, maybe_get_identifier, mark_string_hash): Update.
3286 * tree.h: Update comments.
3287 (set_identifier): Delete.
3288 * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
3289 save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
3290 remember_protocol_qualifiers): Delete.
3291
3292 Tue May 15 22:14:09 2001 Jeffrey A Law (law@cygnus.com)
3293
3294 * flow.c (life_analysis): After life analysis is complete, do
3295 an optional scan over insns looking for REG_LABEL notes that
3296 reference a deleted label.
3297 (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
3298 before peeking at LABEL_NUSES.
3299
3300 2001-05-15 Richard Henderson <rth@redhat.com>
3301
3302 * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
3303 (_Unwind_GetTextRelBase): New.
3304
3305 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3306
3307 * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
3308
3309 2001-05-15 Geoffrey Keating <geoffk@redhat.com>
3310
3311 * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
3312 so that CHOOSE_SECTION gets used.
3313
3314 * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
3315 TARGET_RELOCATABLE like flag_pic for now.
3316
3317 2001-05-15 David Edelsohn <edelsohn@gnu.org>
3318
3319 * rs6000.md (movdi splitter): Sign extend more efficiently.
3320 * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
3321 to "long long" valid on 32-bit and 64-bit hosts.
3322 (logical_operand): Cast trunc_int_for_mode return value.
3323 (rs6000_emit_move): Shift macro to encapsulate variable.
3324 (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
3325 (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
3326 plus_constant requires signed argument.
3327
3328 2001-05-15 Loren J. Rittle <ljrittle@acm.org>
3329
3330 * gthr-posix.h: Make additional pthread-* functions weak.
3331
3332 Tue May 15 13:51:32 CEST 2001 Jan Hubicka <jh@suse.cz>
3333
3334 * recog.c (apply_change_group): Avoid unneeded validating.
3335
3336 2001-05-14 David Edelsohn <edelsohn@gnu.org>
3337
3338 * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
3339 (num_insns_constant): CONST_INT can be 64-bits.
3340
3341 2001-05-14 Stan Shebs <shebs@apple.com>
3342
3343 * config/darwin.h (LIB_SPEC): Just use -lSystem.
3344 (LIBGCC_SPEC): Don't define.
3345
3346 2001-05-14 Richard Henderson <rth@redhat.com>
3347
3348 * configure.in (gcc_cv_as_eh_frame): New test.
3349 * config.in, configure: Rebuild.
3350 * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
3351
3352 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
3353
3354 * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
3355 extended precision divide.
3356
3357 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
3358
3359 * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
3360 for RETURNS as well.
3361
3362 Mon May 14 17:34:48 CEST 2001 Jan Hubicka <jh@suse.cz>
3363
3364 * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
3365 (CPP_CPU??_SIZE_TYPE): New.
3366 (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
3367 (CPP_CPU_SPEC): ... here; support choosing of CPU.
3368 (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
3369 (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
3370 compiler.
3371 * i386.c (override_options): Add sorry about not suported modes.
3372
3373 Mon May 14 08:56:47 2001 Jeffrey A Law (law@cygnus.com)
3374
3375 * config/pa/som.h (NM_FLAGS): Remove.
3376 (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
3377 (ASM_OUTPUT_SECTION_NAME): Remove.
3378 (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
3379
3380 2001-05-14 Mark Mitchell <mark@codesourcery.com>
3381
3382 * regrename.c (regrename_optimize): Do not rename registers to
3383 leaf registers.
3384
3385 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
3386
3387 * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
3388 contain MEMs. Remove useless distinction about clobbering
3389 registers.
3390
3391 2001-05-13 Geoff Keating <geoffk@redhat.com>
3392
3393 * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
3394 * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
3395 * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
3396 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
3397 (EXCEPTION_SECTION): Define.
3398
3399 2001-05-13 Zack Weinberg <zackw@stanford.edu>
3400
3401 * libgcc2.c, libgcc2.h: Restore __eprintf. Label as used for
3402 binary backward compat only.
3403 * Makefile.in (LIB2FUNCS_ST): New. Put _eprintf here, not
3404 in LIB2FUNCS. Pass it to mklibgcc.
3405 * mklibgcc.in: Handle LIB2FUNCS_ST.
3406
3407 * Makefile.in (installdirs): Don't create $(gcc_tooldir).
3408
3409 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3410
3411 * tm.texi (THREAD_MODEL_SPEC): Document it.
3412 * gcc.c (main): Use it.
3413 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
3414 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
3415
3416 2001-05-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3417
3418 * rtl.h (SYMBOL_REF_WEAK): New macro.
3419 * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
3420 * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
3421 * rtl.texi (SYMBOL_REF_WEAK): Document it.
3422 * gcc.texi: Remove wrong description.
3423
3424 2001-05-13 Mark Mitchell <mark@codesourcery.com>
3425
3426 * Makefile.in (STAMP): New macro.
3427 Replace all uses of `touch' with $(STAMP).
3428 * fixinc/Makefile.in: Likewise.
3429
3430 Sun May 13 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3431
3432 * configure.in: ldopen is never in -lexc, so don't test for it.
3433 Add test for exc_resume in -lexc for Ada.
3434 * configure: Regenerated.
3435
3436 2001-05-12 Richard Henderson <rth@redhat.com>
3437
3438 * dwarf2asm.c (size_of_encoded_value): New function.
3439 * dwarf2asm.h: Declare it.
3440 * except.c (output_function_exception_table): Align the TType
3441 array only as wide as the encoding.
3442
3443 2001-05-12 Zack Weinberg <zackw@stanford.edu>
3444
3445 * extend.texi: Document #pragma GCC java_exceptions.
3446
3447 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3448
3449 * c-parse.in (bison parser, init_reswords): Remove uses of
3450 doing_objc_thang.
3451 * c-tree.h (doing_objc_thang): Remove.
3452
3453 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
3454
3455 * cpplex.c (_cpp_lex_token): Ensure we warn at most once
3456 about files not ending in newlines.
3457
3458 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3459
3460 * dwarfout.c (dwarfout_init): Add cast.
3461 * sched-deps.c (sched_analyze_insn): Remove unused vars.
3462 * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
3463 cp:
3464 * method.c (build_mangled_C99_name): Remove unused prototype.
3465
3466 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
3467
3468 * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
3469
3470 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
3471
3472 * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
3473 * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
3474
3475 2001-05-11 Richard Henderson <rth@redhat.com>
3476
3477 * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
3478 * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
3479 dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
3480 * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
3481 (dw2_output_indirect_constants): Prototype.
3482 * dwarf2out.c (dwarf2out_begin_prologue): Generate
3483 current_function_func_begin_label if we'll need it for EH. Exit
3484 early for IA64_UNWIND_INFO.
3485 * except.c: Get DW_EH_PE_* defines from dwarf2.h.
3486 (eh_data_format_name): Update for indirect references.
3487 (output_function_exception_table): Care for IA64_UNWIND_INFO.
3488 Handle ASM_PREFERRED_EH_DATA_FORMAT.
3489 * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
3490 define HAVE_eh_return etc.
3491 * final.c (final_start_function): Always call dwarf2out_begin_prologue.
3492 (final_end_function): Don't call output_function_exception_table.
3493 * toplev.c (compile_file): Call dw2_output_indirect_constants.
3494 (rest_of_compilation): Invoke output_function_exception_table
3495 for ia64 before assemble_end_function.
3496 * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
3497 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
3498
3499 * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
3500 * unwind.h: Declare them.
3501 * libgcc-std.ver: Export them.
3502 * unwind-pe.h: New file.
3503
3504 * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
3505
3506 * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
3507 instead of "fde".
3508 (find_fde_for_dso): Extract DT_PLTGOT.
3509 (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
3510 the segment and gp as well.
3511 * config/ia64/frame-ia64.c: Remove file.
3512 * config/ia64/frame-ia64.h: Remove file.
3513 * config/ia64/unwind-ia64.c: New file.
3514 * config/ia64/unwind-ia64.h: New file.
3515 * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
3516 (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
3517 (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
3518 (ASM_PREFERRED_EH_DATA_FORMAT): New.
3519 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
3520 (IA64_UNWIND_INFO): Re-enable.
3521 (HANDLER_SECTION): Remove.
3522 (EH_RETURN_DATA_REGNO): New.
3523 * config/ia64/ia64.md (exception_receiver): Remove.
3524 * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
3525 * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
3526
3527 2001-05-11 Richard Henderson <rth@redhat.com>
3528
3529 * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
3530 calls and jumps to be bundled together.
3531 (ia64_reorg): Emit a break after a noreturn call that ends
3532 a function.
3533 * config/ia64/ia64.md (break_f): New.
3534
3535 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
3536
3537 * c-lex.c (lex_charconst): Convert into a simple wrapper
3538 around cpp_interpret_charconst, to which most of the code
3539 body is moved.
3540 * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
3541 MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
3542 MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
3543 (lex): Use cpp_interpret_charconst.
3544 * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
3545 hex_digit_value): New functions.
3546 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
3547 * cpplib.h (cpp_interpret_charconst): New prototype.
3548 * Makefile.in: Update.
3549
3550 2001-05-12 Dean Wakerley <dean@wakerley.com>
3551
3552 * doc/install.texi: New file. Converted to texinfo from the HTML
3553 documentation in wwwdocs/htdocs/install.
3554
3555 Fri May 11 15:50:13 2001 Jeffrey A Law (law@cygnus.com)
3556
3557 * gcse.c (insert_insn_end_bb): Do not search for assignments to
3558 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
3559
3560 * toplev.c (compile_file): Move comment for opening output
3561 file to just before the code that opens the output file.
3562
3563 2001-05-11 Jakub Jelinek <jakub@redhat.com>
3564
3565 * regmove.c (regmove_optimize): Suppress the optimization for
3566 unchanging destination register. Add comment above function.
3567
3568 2001-05-11 Zack Weinberg <zackw@stanford.edu>
3569
3570 * Makefile.in: Exterminate all references to assert.h.
3571 * cross-make: Likewise.
3572 * assert.h: Delete.
3573 * configure.in: Correct commentary.
3574 * configure: Regenerate.
3575
3576 * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
3577 Remove __eprintf.
3578
3579 * config/t-freebsd, config/t-linux, config/t-linux-aout,
3580 config/t-netbsd, config/t-rtems, config/x-linux,
3581 config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
3582 No need to override INSTALL_ASSERT_H.
3583
3584 * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
3585 fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
3586 fixinc/fixincl.sh: Don't install assert.h into objdir/include.
3587
3588 2001-05-11 Graham Stott <grahams@redhat.com>
3589
3590 * combine.c (simplify_comparison): Fix typo.
3591
3592 2001-05-11 Mark Mitchell <mark@codesourcery.com>
3593
3594 * loop.h (struct movables): Remove `num'.
3595 * loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
3596 Adjust call to strength_reduce.
3597 (num_unmoved_movables): New function.
3598 (move_movables): Don't set movables->num.
3599 (strength_reduce): Compute the number of instructions in the loop
3600 here, rather than in the caller.
3601 (check_dbra_loop): Always clear reversible_mem_store if there
3602 are any memory sets.
3603 (loop_regs_scan): Don't count instructions here.
3604 (count_insn_in_loop): New function.
3605
3606 2001-05-11 Mark Mitchell <mark@codesourcery.com>
3607
3608 * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
3609
3610 2001-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
3611
3612 * c-common.c (finish_label_expr): New function, lifted from
3613 from cp/semantics.c.
3614 * c-common.h (finish_label_expr, lookup_label): New prototypes.
3615 * c-parse.in: Move 3 blocks of parser code into new functions.
3616 * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
3617 * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
3618 (lookup_label): Remove.
3619
3620 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
3621
3622 * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
3623 FLOAT_BIT_ORDER_MISMATCH.
3624
3625 2001-05-10 David Edelsohn <edelsohn@gnu.org>
3626
3627 * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
3628 bytes. Reported by Kazu Hirata <kazu@hxi.com>.
3629
3630 2001-05-10 David Edelsohn <edelsohn@gnu.org>
3631
3632 * expr.c (emit_group_load): extract_bit_field requires a REG or
3633 MEM as an argument.
3634
3635 Thu May 10 14:45:44 2001 Jeffrey A Law (law@cygnus.com)
3636
3637 * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
3638 a computed jump into an unconditional jump.
3639 In second hunk of code for collapsing computed and conditional jumps
3640 into unconditional jumps, reemit the jump in additional cases.
3641
3642 * jump.c (jump_optimize_1): Do not wrap the new jump target
3643 inside a LABEL_REF; gen_jump will do that automatically.
3644
3645 2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl>
3646
3647 * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
3648 contents for a SYMBOL_REF in case of floating point constants.
3649
3650 2001-05-10 DJ Delorie <dj@redhat.com>
3651
3652 * c-common.c (combine_strings): Widen strings in a
3653 host-endian-independent way.
3654
3655 2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk>
3656
3657 * c-parse.in: Remove many shift/reduce conflicts. Update
3658 %expect values.
3659 (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
3660 declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
3661 declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
3662 declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
3663 declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
3664 declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
3665 declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
3666 declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
3667 declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
3668 declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
3669 maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
3670 typespec_reserved_nonattr, typespec_reserved_attr,
3671 typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
3672 structsp_nonattr, components_notype, component_notype_declarator,
3673 absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
3674 firstparm, setspecs_fp): New
3675 (typed_declspecs, reserved_declspecs, typed_typespecs,
3676 reserved_typespecquals, declmods, typespec, typespecqual_reserved,
3677 typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
3678 declmods_no_prefix_attr, nonempty_type_quals, structsp,
3679 type_quals): Remove. Users updated.
3680 (initdecls, notype_initdecls, after_type_declarator,
3681 parm_declarator, notype_declarator, absdcl1, components, ivars):
3682 Don't allow attributes at the start of a declarator; include them
3683 in the production containing the declarator instead. Always
3684 require type specifiers before trying to redeclare a typedef name.
3685 (typename): Allow for attributes but warn that they are ignored.
3686 (parmlist, firstparm, setspecs_fp): Include attributes in
3687 parmlist; suck them off the parser stack in firstparm using
3688 setspecs_fp.
3689
3690 Thu May 10 09:17:42 2001 Jeffrey A Law (law@cygnus.com)
3691
3692 * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
3693 to determine if a block has an unconditional jump at its end.
3694
3695 * jump.c (jump_optimize_1): When converting a conditional jump
3696 to an unconditional jump, build the jump using gen_jump instead
3697 of just modify operands in-place.
3698
3699 2001-05-09 Zack Weinberg <zackw@stanford.edu>
3700
3701 * cppinit.c (cpp_post_options): Shut off macro expansion if
3702 -fpreprocessed.
3703 * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
3704 IN_I directives only if the # is in column 1 and the directive
3705 name begins in column 2.
3706 * cppmain.c (scan_buffer): Insert a space between # and an
3707 identifier, when that identifier is a directive name.
3708
3709 * tradcpp.c (struct file_buf): Add a pointer to the next entry
3710 in the header search path.
3711 (enum node_type): Add T_INCLUDE_NEXT.
3712 (directive_table): Add entry for include_next.
3713 (do_include_next): New function.
3714 (process_include): New routine, broken out of do_include.
3715 (finclude): Insert 'nhd' argument, to be copied into
3716 next_header_dir of the new buffer.
3717 (main): Adjust to match.
3718 * gsyslimits.h, limity.h: Un-indent #include_next.
3719
3720 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
3721
3722 * objc.texi: Move from ../libobjc/objc-features.texi. Adjust for
3723 inclusion as a chapter of the GCC manual.
3724 * gcc.texi: Include objc.texi.
3725 * fdl.texi: Use @unnumberedsec for the addendum.
3726 * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
3727
3728 Wed May 9 16:01:41 CEST 2001 Jan Hubicka <jh@suse.cz>
3729
3730 * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
3731
3732 Wed May 9 10:40:25 2001 Alexandre Oliva <aoliva@redhat.com>
3733
3734 * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
3735 handling of two-address insns.
3736
3737 Wed May 9 10:36:18 2001 Alexandre Oliva <aoliva@redhat.com>
3738
3739 * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
3740 ../binutils/nm-new instead of ../binutils/nm.
3741
3742 Wed May 9 12:15:46 CEST 2001 Jan Hubicka <jh@suse.cz>
3743
3744 * i386.md (movdi splitter): Fix the splitting condition
3745 (float_extenddftf splitter): Fix mode.
3746
3747 Wed May 9 12:05:39 CEST 2001 Jan Hubicka <jh@suse.cz>
3748
3749 * genrecog.c (write_switch): Avoid outputting of switch for
3750 types wider than int.
3751
3752 2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
3753
3754 * reload1.c (copy_eh_notes): New function.
3755 (emit_input_reload_insns): Call it.
3756 (emit_output_reload_insns): Call it.
3757
3758 2001-05-07 Zack Weinberg <zackw@stanford.edu>
3759
3760 * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
3761 Delete stanzas.
3762 * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
3763 config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
3764
3765 * optabs.c: Delete #ifdef BROKEN_LDEXP block.
3766
3767 2001-05-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
3768
3769 * pa.md (interspace_jump): Revise comment.
3770 (builtin_longjmp): Block initial setup insns from delay slot of
3771 interspace branch.
3772 (builtin_setjmp_receiver): New expander to save and restore PIC
3773 register.
3774
3775 * som.h (NM_FLAGS): Remove `-n' sort option. Revise comment.
3776
3777 Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com)
3778
3779 * toplev.c (compile_file): Set up the output file before we call
3780 the various initializers for the compiler.
3781
3782 * except.c (sjlj_mark_call_sites): Do not search for assignments to
3783 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
3784
3785 * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
3786 * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
3787
3788 2001-05-06 Zack Weinberg <zackw@stanford.edu>
3789
3790 * Makefile.in (tradcpp0): Correct typo in dependency list.
3791
3792 2001-05-06 Geoff Keating <geoffk@redhat.com>
3793
3794 * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
3795 the link register if we're not going to use it.
3796
3797 * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
3798 (output_function_profiler): Likewise.
3799
3800 2001-05-07 Alan Modra <amodra@one.net.au>
3801
3802 * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
3803
3804 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
3805
3806 * unroll.c (loop_iterations): Don't sign-extend abs_diff;
3807 zero-extend it. Make abs_inc unsigned.
3808
3809 * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
3810 widest mode in narrowing and widening operations.
3811
3812 * config/mips/mips.md: Sign extend CONST_INTs.
3813
3814 2001-05-06 Andreas Jaeger <aj@suse.de>
3815
3816 * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
3817 (i386 Options): Document -momit-leaf-frame-pointer.
3818
3819 2001-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
3820
3821 * c-typeck.c (internal_build_compound_expr): Check for
3822 array to pointer conversion just once.
3823
3824 2001-05-05 Richard Henderson <rth@redhat.com>
3825
3826 * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
3827
3828 2001-05-05 Richard Henderson <rth@redhat.com>
3829
3830 * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
3831 to the parent of the fixup region.
3832
3833 2001-05-05 Jakub Jelinek <jakub@redhat.com>
3834
3835 * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
3836 "inline" keyword.
3837 * cpp.texi (__NO_INLINE): Document it.
3838
3839 2001-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
3840
3841 * cppfiles.c (struct include_file): New member err_no.
3842 (find_or_create_entry): Set it.
3843 (open_file): Don't set fds to -2. Instead, use err_no to
3844 remember previous errors, if any.
3845
3846 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3847
3848 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
3849 between X and Y by using sequences of xgdx and xgdy.
3850
3851 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3852
3853 * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
3854 of '!' for the 'D' alternative ('!' is too strong).
3855 ("*logicalsi3_silshl16"): Likewise.
3856 ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
3857 ("movstrictsi"): Remove spurious '+'.
3858 ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
3859 ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
3860 ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
3861 a reload to them.
3862
3863 2001-05-04 David Edelsohn <edelsohn@gnu.org>
3864
3865 * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
3866
3867 2001-05-04 Lars Brinkhoff <lars@nocrew.org>
3868
3869 * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
3870 into -a.
3871
3872 2001-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3873
3874 * config/rs6000/rs6000.md (ashldi3 splits): Guard with
3875 TARGET_POWERPC64.
3876
3877 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3878
3879 * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
3880 soft register, use ror instead of rol.
3881
3882 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3883
3884 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
3885 into account pre/post increment decrement for 68HC12.
3886 Fix other problems in replacement and fix call to reg_mentioned_p.
3887
3888 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3889
3890 * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
3891 Put the soft registers in bss for 68HC12.
3892 (L_regs_d3_4): New for _.d3 and _.d4.
3893 (L_regs_d5_6): Likewise.
3894 (L_regs_d1_2): Likewise.
3895 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
3896
3897 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3898
3899 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
3900 to the pre-processor when -fshort-double is specified.
3901 * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
3902
3903 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3904
3905 * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
3906 (__mulsi3): Rewrite for 68HC12.
3907 * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
3908 Mark 'x' constraint with earlyclobber to prevent a
3909 RELOAD_FOR_OTHER_ADDRESS to go in it.
3910 (mulhi3_m68hc12): New pattern.
3911 (mulhi3_m68hc11): Rename of mulhi3.
3912 (mulhi3): New expand for 68HC12 optimisation.
3913 (umulhisi3, mulhisi3): New patterns for 68HC12.
3914
3915 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3916
3917 * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
3918 (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
3919 (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
3920
3921 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3922
3923 * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
3924 constants cheap after reload.
3925 * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
3926 are cheap.
3927 (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
3928 so that gcc prefers a shift by 16.
3929 (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
3930
3931 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>
3932
3933 * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
3934
3935 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3936
3937 * alpha.h: NULL_PTR -> NULL.
3938 * arm.c: Likewise.
3939 * arm.h: Likewise.
3940 * avr.h: Likewise.
3941 * c4x.c: Likewise.
3942 * c4x.h: Likewise.
3943 * i386.c: Likewise.
3944 * i386.md: Likewise.
3945 * i860.c: Likewise.
3946 * ia64.c: Likewise.
3947 * m68hc11.h: Likewise.
3948 * rs6000.h: Likewise.
3949 * sh.c: Likewise.
3950 * sh.h: Likewise.
3951 * sparc.h: Likewise.
3952 * v850.c: Likewise.
3953
3954 * expr.c: Likewise.
3955 * final.c: Likewise.
3956 * gcc.c: Likewise.
3957 * recog.c: Likewise.
3958
3959 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3960
3961 * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
3962 `bool' parameter to `int'.
3963
3964 * hash.c (hash_lookup): Likewise.
3965
3966 * hash.h (hash_lookup): Likewise.
3967
3968 * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
3969
3970 Fri May 4 13:10:03 CEST 2001 Jan Hubicka <jh@suse.cz>
3971
3972 * i386.c (x86_initialize_trampoline): Fix mode of constant.
3973
3974 2001-05-03 Geoff Keating <geoffk@redhat.com>
3975
3976 * invoke.texi (i386 Options): Delete references to -malign-jumps,
3977 -malign-loops, -malign-functions.
3978 * i386.c (ix86_align_funcs): Delete.
3979 (ix86_align_loops): Delete.
3980 (ix86_align_jumps): Delete.
3981 (override_options): Mark -malign-* as obsolete. Emulate their
3982 behaviour with the -falign-* options. Default -falign-* from
3983 the processor table.
3984 * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
3985 patch of Wed May 2 13:09:36 2001.
3986 (LOOP_ALIGN): Delete.
3987 (LOOP_ALIGN_MAX_SKIP): Delete.
3988 (LABEL_ALIGN_AFTER_BARRIER): Delete.
3989 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
3990
3991 2001-05-04 Andreas Jaeger <aj@suse.de>
3992
3993 * except.h: Add prototype declaration for
3994 expand_builtin_init_dwarf_reg_sizes.
3995
3996 2001-05-03 Geoffrey Keating <geoffk@redhat.com>
3997
3998 * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
3999
4000 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4001
4002 * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
4003 instruction.
4004 ("bitcmpqi2"): New pattern for bit-extract and test.
4005 ("bitcmphi"): New pattern for bitb/bita instructions.
4006
4007 2001-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
4008
4009 * gccbug.in: Use a temporary directory when the mktemp command is
4010 not available.
4011
4012 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4013
4014 * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
4015 instead of _.d1.
4016 (INITIALIZE_TRAMPOLINE): Call it.
4017 (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
4018 (TRAMPOLINE_TEMPLATE): Remove.
4019 * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
4020 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
4021 Declare.
4022
4023 2001-05-03 David O'Brien <obrien@FreeBSD.org>
4024
4025 * config/t-freebsd: Don't install "assert.h" in gcc. Compile crtbeginS.o
4026 and crtendS.o with PIC.
4027
4028 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4029
4030 * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
4031 negative numbers.
4032 (___subdi3, ___adddi3): Use x instead of y as index register.
4033 (__init_bss_section, __map_data_section): Optimize for 68HC12.
4034 (__memset, __memcpy): Likewise.
4035 (regs): Put the soft registers in bss for 68HC12.
4036 (abort): Use trap to abort for 68hc12.
4037 (__mulhi3, __mulhi32): Use emul for 68hc12.
4038 (__mulsi3): Avoid to use the tmp soft register for 68hc12.
4039
4040 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4041
4042 * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
4043 * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
4044 * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
4045 (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
4046 Set 68HC12 min offset to -65536.
4047 (print_operand): Put parenthesis arround the operand if it refers
4048 to a symbol having the same name as a register.
4049 (m68hc11_z_replacement): When z register is replaced by its
4050 equivalent soft register, force the insn to be re-recognized.
4051 (m68hc11_check_z_replacement): Fix the test when destination is
4052 the index register and z dies in the insn.
4053 (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
4054
4055 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4056
4057 * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
4058 costs according to processor variant.
4059 (m68hc11_shift_cost): New function to compute shift costs.
4060 (m68hc11_rtx_costs): Define costs according to processor variant.
4061 (m6811_cost): Costs for 68HC11.
4062 (m6812_cost): Costs for 68HC12.
4063 (COSTS_N_INSNS): Remove.
4064
4065 * config/m68hc11/m68hc11.h (RTX_COSTS): New.
4066 (DEFAULT_RTX_COSTS): Remove.
4067 (CONST_COSTS): Define costs according to OUTER_CODE.
4068 (processor_costs): New struct to define costs.
4069 (m68hc11_cost): Pointer to current costs.
4070
4071 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4072
4073 * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
4074 and use m68hc11_notice_keep_cc when using leax/leay.
4075 (addhi3 split): Reject split if the insn is handled by
4076 leax/leay above.
4077 * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
4078 push must be handled in a special way if the source operand uses
4079 sp as index register.
4080 (m68hc11_notice_keep_cc): New function.
4081 (m68hc11_gen_movhi): Use it when an insn changes a register but
4082 not the flags.
4083 (m68hc11_gen_movqi): Fix move for 68HC12.
4084 * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
4085
4086 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4087
4088 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
4089 and don't pass operands[0] to emit_library_call_value.
4090
4091 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4092
4093 * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
4094 (zero_extendsi split): Simplify and use (zero_extendhi).
4095 (*addhi3): Remove 'w' constraint since stack pointer is handled
4096 by (addhi3_sp).
4097 (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
4098 (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
4099 (*ashrhi3_const): Fix shift by 7.
4100 (*lshrsi3_const16): Fix template.
4101 (call, call_value): Fix constraint and predicate.
4102
4103 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4104
4105 * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
4106 (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
4107 (CC_REGNUM): Likewise.
4108 (*unnamed splits): Use above constants instead of hard coded numbers.
4109 (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
4110 (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
4111 (*return_16bit, *unnamed peepholes): Likewise.
4112
4113 2001-05-03 David O'Brien <obrien@FreeBSD.org>
4114
4115 * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix): Do not include
4116 rs6000/rs6000.h twice.
4117
4118 2001-05-03 Mark Elbrecht <snowball3@bigfoot.com>
4119
4120 * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
4121 (CPP_SPEC): Conditionally define MSDOS and GO32.
4122 (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
4123 (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
4124 ignored.
4125 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
4126
4127 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4128
4129 * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
4130
4131 2001-05-03 Mark Mitchell <mark@codesourcery.com>
4132
4133 * integrate.h (struct inline_remap): Add leaf_reg_map table.
4134 * integrate.c (expand_inline_function): Use xcalloc to allocate
4135 memory.
4136 (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
4137 registers.
4138
4139 2001-05-03 Mark Mitchell <mark@codesourcery.com>
4140
4141 * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
4142 if it is not set.
4143
4144 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4145
4146 * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
4147 linker if -mrelax is given.
4148 (TARGET_SWITCHES): Document -mrelax.
4149
4150 Re-installed 2001-01-09's patch:
4151 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
4152 if it's wider than long and the target's long is wider than the
4153 host's.
4154
4155 2001-05-02 David O'Brien <obrien@FreeBSD.org>
4156
4157 * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h: Do not
4158 directly include rs6000/rs6000.h. Instead do it in tm.h.
4159
4160 2001-05-02 Stan Shebs <shebs@apple.com>
4161
4162 * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
4163 NSConstantString for NeXT-style runtimes.
4164 (STRING_OBJECT_GLOBAL_NAME): New macro.
4165 (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
4166 OCTI_STRING_CLASS_DECL.
4167 (constant_string_global_id): New macro.
4168 (string_class_decl): Ditto.
4169 (setup_string_decl): New function.
4170 (build_objc_string_object): Use it to build a NeXT runtime
4171 compatible string initializer.
4172
4173 2001-05-02 Jakub Jelinek <jakub@redhat.com>
4174
4175 * tradcpp.c (do_define): Make sure we don't walk past limit.
4176
4177 2000-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4178
4179 * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
4180 offsets if not REG_OK_STRICT.
4181
4182 * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
4183 (INT_REG_OK_FOR_INDEX_P): Likewise.
4184 (INT_REG_OK_FOR_BASE_P): Likewise.
4185 (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
4186 (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
4187 (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
4188 INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
4189 REG_OK_FOR_BASE_P. Take an additional parameter.
4190 (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
4191 (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
4192 (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
4193 (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
4194 rs6000_legitimate_address() and use it.
4195 * config/rs6000/rs6000.c: Update all callers.
4196 (rs6000_legitimate_address): New function.
4197
4198 2001-05-02 David Edelsohn <edelsohn@gnu.org>
4199
4200 * config/rs6000/rs6000.c (rs6000_emit_move): Merge
4201 special_constant conditional blocks together.
4202
4203 2001-05-02 Dale Johannesen <dalej@apple.com>
4204
4205 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
4206 parameter.
4207 (STRICT_ARGUMENT_NAMING): Define.
4208 * config/rs6000/rs6000.c (function_arg_advance, function_arg,
4209 function_arg_partial_nregs, setup_incoming_varargs): Remove
4210 args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
4211 is defined.
4212
4213 Wed May 2 13:09:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4214
4215 * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
4216
4217 * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
4218 for replacement.
4219
4220 * expr.c (store_field): Do nothing except elaborate side-effects if
4221 zero-bit field.
4222
4223 2001-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4224
4225 * c-lex.c: NULL_PTR -> NULL.
4226 * cse.c: Likewise.
4227 * emit-rtl.c: Likewise.
4228 * gcse.c: Likewise.
4229 * genpeep.c: Likewise.
4230 * jump.c: Likewise.
4231 * mips-tdump.c: Likewise.
4232 * reload1.c: Likewise.
4233 * rtlanal.c: Likewise.
4234 * stmt.c: Likewise.
4235 * stor-layout.c: Likewise.
4236 * toplev.c: Likewise.
4237
4238 2001-05-01 Per Bothner <per@bothner.com>
4239
4240 * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR,
4241 call do_pending_stack_adjust before emiting label.
4242
4243 2001-05-01 Mark Mitchell <mark@codesourcery.com>
4244
4245 * extend.texi: Fix typo.
4246
4247 2001-05-01 Stan Shebs <shebs@apple.com>
4248
4249 * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
4250 of UOBJC_MODULES_decl.
4251 (generate_strings): Clear DECL_CONTEXT of new decl nodes.
4252 (generate_descriptor_table): Ditto.
4253 (generate_protocols): Ditto.
4254 (generate_protocol_list): Ditto.
4255 (generate_classref_translation_entry): Ditto.
4256
4257 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
4258
4259 * invoke.texi (Optimize Options): Add documentation for `--param
4260 max-delay-slot-insn-search' and `--param
4261 max-delay-slot-live-search' and reorder --param section.
4262 * params.def: Modify initial comment.
4263 * params.h (param_info): Add `help' member.
4264 * toplev.c (lang_independent_params): Include `help' description.
4265 (display_help): Print --param parameters.
4266
4267 2001-05-01 Zack Weinberg <zackw@stanford.edu>
4268
4269 * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
4270 Remove references to deleted files.
4271 (*-*-openbsd): No need to override xmake_file.
4272 (*-*-sysv4): Treat like *-*-sysv.
4273
4274 * configure.in: Probe for ldopen in various places, and set up
4275 collect2 to be linked with them if found.
4276 Don't dink with Windows registry stuff unless $host_os is a
4277 Win32 os name. Check to see if we need -ladvapi32.
4278 * configure: Regenerate.
4279
4280 * Makefile: Get rid of CLIB and HOST_CLIB.
4281 Substitute in COLLECT2_LIBS and link collect2 against its contents.
4282 * build-make: Get rid of HOST_CLIB.
4283
4284 * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
4285 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
4286 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
4287 config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
4288 config/rs6000/x-rs6000: Delete.
4289
4290 * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
4291 Don't set CLIB.
4292
4293 24 x-host fragments remain, 0 x-cpu, 3 top level.
4294
4295 2001-05-01 Zack Weinberg <zackw@stanford.edu>
4296
4297 * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
4298 * configure: Regenerate.
4299
4300 2001-05-01 Angela Marie Thomas <angela@cygnus.com>
4301
4302 * Makefile.in (install-headers): Remove redundant dependency.
4303
4304 2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
4305
4306 * c-tree.texi (USING_STMT): Document.
4307
4308 2001-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4309
4310 * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
4311 * c-common.c: Likewise.
4312 * c-decl.c: Likewise.
4313 * combine.c: Likewise.
4314 * rs6000.c: Likewise.
4315 * except.c: Likewise.
4316 * explow.c: Likewise.
4317 * expr.c: Likewise.
4318 * fold-const.c: Likewise.
4319 * function.c: Likewise.
4320 * gcc.c: Likewise.
4321 * gcse.c: Likewise.
4322 * integrate.c: Likewise.
4323 * loop.c: Likewise.
4324 * objc/objc-act.c: Likewise.
4325 * recog.c: Likewise.
4326 * reg-stack.c: Likewise.
4327 * reload.c: Likewise.
4328 * reload1.c: Likewise.
4329 * simplify-rtx.c: Likewise.
4330 * stmt.c: Likewise.
4331 * varasm.c: Likewise.
4332
4333 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4334
4335 * diagnostic.def: New file.
4336 * diagnostic.h (diagnostic_t): New enum.
4337 * Makefile.in (diagnostic.o): Depend on diagnostic.def
4338
4339 2001-04-30 Zack Weinberg <zackw@stanford.edu>
4340
4341 * tsystem.h: Test only POSIX for availability of string.h
4342 and time.h.
4343 * config.gcc (all systems): If USG appeared in xm_defines,
4344 change it to POSIX. If both USG and POSIX appeared, just
4345 delete USG. Remove unnecessary quotes around xm_defines
4346 settings.
4347 (m68k-crds-unos*): Don't #define unos - tested nowhere.
4348 (m68k-apple-aux*): Don't #define AUX - tested nowhere.
4349 (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
4350 powerpc-*-linux*): No need to set xm_defines - handled by
4351 global settings for *-*-linux*.
4352
4353 2001-04-30 Zack Weinberg <zackw@stanford.edu>
4354
4355 * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
4356 Always include gstab.h, not system stab.h. Don't provide
4357 default definitions of N_CATCH or N_OPT. Always use the
4358 gstab.h variant of STAB_CODE_TYPE.
4359 * final.c: Don't include stab.h/gstab.h at all, or provide
4360 defaults for N_SLINE and N_SOL.
4361
4362 * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
4363 N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
4364 available.
4365 * sdbout.c: Always include gsyms.h instead of system syms.h.
4366
4367 * configure.in: No need to check for stab.h.
4368 * configure, config.in: Regenerate.
4369 * Makefile.in (final.o): Don't depend on gstab.h.
4370
4371 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4372 Richard Henderson <rth@redhat.com>
4373
4374 * extend.texi: Improve documentation of volatile asms.
4375
4376 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4377
4378 * c-tree.texi: Fix thinko.
4379 * gcc.texi: Likewise.
4380
4381 2001-04-30 Richard Henderson <rth@redhat.com>
4382
4383 * c-common.c (c_promoting_integer_type_p): New function, from the
4384 corpse of old macro. Properly promote too-small enumerations and
4385 booleans. Adjust all callers.
4386 * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
4387 (c_promoting_integer_type_p): Declare.
4388 * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
4389 * c-typeck.c: Likewise.
4390 (default_conversion): Remove now redundant boolean check.
4391
4392 2001-04-30 Jan Hubicka <jh@suse.cz>
4393 Richard Henderson <rth@redhat.com>
4394
4395 * regmove.c (try_apply_stack_adjustment): Remove now redundant
4396 sanity checks.
4397 (combine_stack_adjustments_for_block): Don't combine stack
4398 allocation followed by deallocations. Handle grow-up stacks.
4399
4400 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4401
4402 * fdl.texi: New file.
4403 * c-tree.texi: Use the GFDL.
4404 * gcc.texi: Likewise.
4405
4406 2001-04-30 Stan Shebs <shebs@apple.com>
4407
4408 * invoke.texi: Add a section documenting Objective-C options.
4409
4410 2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
4411
4412 * emit-rtl.c (try_split): Copy EH notes to sequence.
4413
4414 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4415
4416 * regmove.c (record_stack_memrefs): Catch all references to the
4417 stack pointer.
4418
4419 2001-04-29 Toomas Rosin <toomas at ns dot tklabor dot ee>
4420
4421 * Makefile.in (stmp-fixinc): quote shell assignment values
4422
4423 2001-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4424
4425 * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
4426
4427 * gcc.c: Likewise.
4428
4429 * prefix.c: Likewise.
4430
4431 2001-04-28 Stan Shebs <shebs@apple.com>
4432
4433 * objc/objc-act.c (handle_class_ref): Rewrite to flush target
4434 specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
4435 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
4436 * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
4437
4438 * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
4439 (NEXT_OBJC_RUNTIME): Define.
4440
4441 Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka <jh@suse.cz>
4442
4443 * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
4444 * simplify-rtx.c (simplify_gen_relational): Likewise.
4445
4446 * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
4447
4448 * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
4449 * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
4450
4451 * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
4452 registers in SSE case; fix handling of the immediates.
4453 (negsf2_ifs, abssf2_ifs): Tweak constraints; require
4454 operands to be in regsiters before reload.
4455 (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
4456 (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
4457 (abstf,absxf,negtf,negxf splitters): Compute
4458 properly the regnum for x86_64.
4459 (avsdf2_if_rex64): New.
4460
4461 Sat Apr 28 10:36:23 2001 Jeffrey A Law (law@cygnus.com)
4462
4463 * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
4464 and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
4465 into the constant pool.
4466 * jump.c (jump_optimize_1): Remove barrier successors after all
4467 the LABEL_NUSES counds have been computed.
4468 (delete_barrier_successors): When deleting a tablejump insn, also
4469 delete the jump table it uses.
4470 * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
4471 label into memory.
4472
4473 2001-04-28 Martin Kalen <martin.kalen@todaysystems.com.au>
4474
4475 * pa.c (FRP): Remove erroneous white space in macro definition.
4476
4477 2001-04-28 Andreas Jaeger <aj@suse.de>
4478
4479 * invoke.texi: Use XX-bit instead of XXbit or XX bit where
4480 appropriate.
4481 * extend.texi: Likewise.
4482 * tm.texi: Likewise.
4483
4484 2001-04-28 Andreas Jaeger <aj@suse.de>
4485
4486 * md.texi: Use XX-bit instead of XXbit or XX bit where
4487 appropriate.
4488
4489 2001-04-28 Jens Schweikhardt <schweikh@schweikhardt.net>
4490
4491 * gcc.c (process_command): Allow -l lib in addition to -llib
4492 for POSIX compliance. This fixes PR c/2347.
4493
4494 * invoke.texi: Update section on Link Options accordingly.
4495
4496 2001-04-27 Zack Weinberg <zackw@stanford.edu>
4497
4498 * function.c (purge_addressof_1): Remove the duplicate
4499 if (code == SET) block. Fold the two if (code == ADDRESSOF)
4500 blocks together.
4501
4502 2001-04-28 Jason Merrill <jason_merrill@redhat.com>
4503
4504 * except.c (expand_eh_region_start): Don't start a new block.
4505 (expand_eh_region_end): Don't end a block.
4506 * stmt.c (expand_end_bindings): Don't end EH blocks.
4507 (expand_decl_cleanup): Starting an EH region won't change the block.
4508 (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
4509 (is_eh_region): Lose.
4510 * tree.h: Adjust.
4511
4512 2001-04-27 Jeffrey Oldham <oldham@codesourcery.com>
4513
4514 * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
4515
4516 * collect2.c (main): Add `-L' case to remove duplicate entries.
4517 (is_in_args): New function to check for a duplicate argument.
4518 * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
4519 * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
4520 * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
4521 Define to be nonzero.
4522
4523 2001-04-27 Andreas Jaeger <aj@suse.de>
4524 Richard Henderson <rth@redhat.com>
4525
4526 * md.texi (Machine Constraints): Document additional i386
4527 constraints and fix description of "A".
4528
4529 Fri Apr 27 10:43:49 2001 Jeffrey A Law (law@cygnus.com)
4530
4531 * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
4532
4533 2001-04-27 Jason Merrill <jason_merrill@redhat.com>
4534
4535 * except.c (get_exception_filter): word_mode, not Pmode.
4536
4537 2001-04-26 Geoffrey Keating <geoffk@redhat.com>
4538
4539 * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
4540 common to other movsf patterns. Move up so that in future
4541 people who change the other patterns will change it too.
4542 (movsf_lo_sum): Allow even for soft-float; add appropriate
4543 constraints.
4544 (movsf_high): Likewise.
4545 (movsf_high+1): Allow even for soft-float.
4546
4547 * function.c (expand_function_end): Always clobber the
4548 return registers, even if there is no return label.
4549
4550 Thu Apr 26 20:28:21 CEST 2001 Jan Hubicka <jh@suse.cz>
4551
4552 * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
4553
4554 Thu Apr 26 19:20:28 CEST 2001 Jan Hubicka <jh@suse.cz>
4555
4556 * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
4557 (pushqi2_rex64, pushhi2_rex64): Add.
4558
4559 2001-04-26 Andrew Haley <aph@cambridge.redhat.com>
4560
4561 * except.c (expand_eh_region_end_cleanup): Force pending stack
4562 adjust before emitting label that branches around cleanup code.
4563
4564 2001-04-26 H.J. Lu (hjl@gnu.org)
4565
4566 * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
4567
4568 * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
4569 define.
4570 * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
4571 (ASM_OUTPUT_SECTION_NAME): Likewise.
4572 (ASM_WEAKEN_LABEL): Likewise.
4573 (UNIQUE_SECTION): Likewise.
4574 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
4575 (ASM_OUTPUT_DESTRUCTOR): Likewise.
4576 * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
4577 (ASM_OUTPUT_SECTION_NAME): Likewise.
4578 (ASM_WEAKEN_LABEL): Likewise.
4579 (UNIQUE_SECTION): Likewise.
4580 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
4581 (ASM_OUTPUT_DESTRUCTOR): Likewise.
4582 * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
4583 * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
4584 (ASM_FILE_START): Likewise.
4585 (ASM_OUTPUT_SOURCE_LINE): Likewise.
4586 (ASM_DECLARE_OBJECT_NAME): Likewise.
4587 (ASM_FILE_END): Likewise.
4588 (ASM_DECLARE_FUNCTION_NAME): Likewise.
4589 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
4590 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4591 (ASM_OUTPUT_CASE_LABEL): Likewise.
4592 (ASM_OUTPUT_SKIP): Likewise.
4593 (ASM_OUTPUT_ASCII): Likewise.
4594 (ASM_OUTPUT_IDENT): Likewise.
4595 (READONLY_DATA_SECTION): Likewise.
4596 (EXTRA_SECTIONS): Likewise.
4597 (EXTRA_SECTION_FUNCTIONS): Likewise.
4598 (SELECT_RTX_SECTION): Likewise.
4599 (SELECT_SECTION): Likewise.
4600
4601 * config/mips/linux.h (INVOKE__main): Undefine.
4602 (CTOR_LIST_BEGIN): Likewise.
4603 (CTOR_LIST_END): Likewise.
4604 (DTOR_LIST_BEGIN): Likewise.
4605 (DTOR_LIST_END): Likewise.
4606 (SET_ASM_OP): Defined it to ".dummy".
4607 (ASM_OUTPUT_DEF): Defined.
4608 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
4609
4610 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
4611
4612 * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
4613 assembler supports .p2align.
4614
4615 2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
4616
4617 * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
4618
4619 2001-04-26 Jakub Jelinek <jakub@redhat.com>
4620
4621 * integrate.c (expand_inline_function): Check for error_mark_node
4622 in actual argument.
4623
4624 2001-04-26 Jakub Jelinek <jakub@redhat.com>
4625
4626 * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
4627 -m386 and -m486.
4628
4629 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4630
4631 * configure.in (configargs.h): Define thread_model.
4632 * configure: Rebuilt.
4633 * gcc.c (main): Print it with -v.
4634
4635 2001-04-25 Joseph S. Myers <jsm28@cam.ac.uk>
4636
4637 * invoke.texi: Document -Wmissing-braces, -dumpspecs,
4638 -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
4639 * gcc.1: Regenerate.
4640
4641 2001-04-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4642
4643 * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
4644 is_redundant_typedef): Use static inline instead of inline static.
4645
4646 Wed Apr 25 18:21:01 2001 Christopher Faylor <cgf@cygnus.com>
4647
4648 * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
4649 this directory is always searched.
4650
4651 2001-04-25 Richard Henderson <rth@redhat.com>
4652
4653 * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
4654 of registers to restore along non eh_return path.
4655
4656 2001-04-25 Jakub Jelinek <jakub@redhat.com>
4657
4658 * c-format.c (check_format_info_recurse): Handle
4659 PLUS_EXPR for format string.
4660
4661 2001-04-25 Jakub Jelinek <jakub@redhat.com>
4662
4663 * config/ia64/ia64.h (CC1_SPEC): Define.
4664 * config/ia64/linux.h (CC1_SPEC): Define.
4665
4666 Wed Apr 25 17:09:50 2001 J"orn Rennecke <amylaar@redhat.com>
4667
4668 * emit-rtl.c (constant_subword): Also do sign extension in
4669 BITS_PER_WORD == 16 case.
4670
4671 2001-04-25 Jason Merrill <jason_merrill@redhat.com>
4672
4673 * loop.c (try_swap_copy_prop): Go back to checking insn.
4674
4675 2001-04-25 Jakub Jelinek <jakub@redhat.com>
4676
4677 * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
4678 if check_mode is non-zero.
4679
4680 2001-04-25 Jakub Jelinek <jakub@redhat.com>
4681
4682 * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
4683 out and comparison sequence has been detected, put result into
4684 proper temporary pseudo.
4685
4686 2001-04-24 Zack Weinberg <zackw@stanford.edu>
4687
4688 * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
4689 * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
4690 * libgcc2.c: Remove __dummy and __builtin_saveregs.
4691 * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
4692 * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
4693 for future reference.
4694
4695 2001-04-24 Jason Merrill <jason_merrill@redhat.com>
4696
4697 * except.c (reachable_handlers): Step out one level from a RESX.
4698
4699 * except.c (struct eh_region): Rename 'last' to 'resume'.
4700 (mark_eh_region, duplicate_eh_region_1): Adjust.
4701 (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
4702 (build_post_landing_pads): Likewise.
4703 (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
4704 (expand_eh_region_end_must_not_throw): Likewise.
4705 (connect_post_landing_pads): Thread (only) regions with non-deleted
4706 resume insns.
4707
4708 * except.c (expand_eh_region_end_cleanup): Save the EH return data
4709 registers around the cleanup.
4710 (get_exception_filter): New fn.
4711 (finish_eh_generation): Use it.
4712
4713 2001-04-24 Nathan Sidwell <nathan@codesourcery.com>
4714
4715 * c-semantics.c (add_scope_stmt): Don't call
4716 current_scope_stmt_stack multiple times.
4717
4718 2001-04-24 Zack Weinberg <zackw@stanford.edu>
4719 Nathan Sidwell <nathan@codesourcery.com>
4720
4721 Lazy __FUNCTION__ generation.
4722 * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
4723 RID_C99_FUNCTION_NAME): New _RIDs.
4724 (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
4725 (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
4726 CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
4727 global tree slots.
4728 (function_id_node, pretty_function_id_node, func_id_node): Remove.
4729 (c99_function_name_decl_node, function_name_decl_node,
4730 pretty_function_name_decl_node, saved_function_name_decls):
4731 Declare.
4732 (struct language_function): Remove x_function_name_declared_p.
4733 (make_fname_decl): Remove a parameter.
4734 (declare_function_names): Remove prototype.
4735 (start_fname_decls, finish_fname_decls): Prototype.
4736 (fname_as_string): Likewise.
4737 (fname_string, fname_decl): Likewise.
4738 * c-common.c (make_fname_decl): Adjust.
4739 (struct fname_var_t): New struct.
4740 (fname_vars): New static array.
4741 (declare_function_name): Remove.
4742 (start_fname_decls, finish_fname_decls): New functions.
4743 (fname_as_string): New function from remnants of
4744 declare_function_name.
4745 (fname_string, fname_decl): New functions.
4746
4747 * c-decl.c (c_function_name_declared_p): Remove.
4748 (init_decl_processing): Don't generate __FUNCTION__ et al ids,
4749 don't call declare_function_name. Call start_fname_decls.
4750 (c_make_fname_decl): Adjust parameters. Generate the name. Don't
4751 clobber the line number. Call finish_decl.
4752 (start_function): Call start_fname_decls.
4753 (finish_function): Call finish_fname_decls.
4754 Remove c_function_name_declared_p.
4755 (push_c_function_context): Don't push c_function_name_declared_p.
4756 (pop_c_function_context): Don't pop c_function_name_declared_p.
4757 (c_begin_compound_stmt): Don't check c_function_name_declared_p.
4758 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
4759 (program): Call finish_fname_decls for C.
4760 (primary): Add VAR_FUNC_NAME.
4761 (reswords): Add slots for __FUNCTION__ et al.
4762 (rid_to_yy): Add mappings for __FUNCTION__ et al.
4763 (yylexname): If it's a STRING_FUNC_NAME generate the function name
4764 now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
4765 * c-semantics.c (prune_unused_decls): Remove.
4766 (finish_stmt_tree): Don't call prune_unused_decls.
4767 (genrtl_decl_stmt): Don't prune unused decls here.
4768
4769 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com>
4770
4771 * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
4772 constant pool, use the pool's SYMBOL_REF instead.
4773
4774 * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
4775 v850e.
4776
4777 2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk>
4778
4779 * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
4780 passing nested NOP_EXPRs to fold.
4781
4782 Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz>
4783
4784 * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
4785
4786 2001-04-22 Mark Mitchell <mark@codesourcery.com>
4787
4788 * loop.c (loop_delete_insns): Add prototype.
4789
4790 2001-04-23 Phil Edwards <pme@sources.redhat.com>
4791
4792 * configure.in: Remove ENABLE_STD_NAMESPACE.
4793 * config.in: Regenerated.
4794 * configure: Regenerated.
4795
4796 2001-04-22 Stan Shebs <shebs@apple.com>
4797
4798 * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
4799 into xm_defines.
4800 * config/rs6000/xm-darwin.h: Remove file.
4801
4802 2001-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4803
4804 * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
4805 (write_c_file_stat): Likewise.
4806
4807 * dbxout.c (dbxout_init): Likewise.
4808
4809 * profile.c (output_func_start_profiler): Likewise.
4810
4811 2001-04-22 Philipp Thomas <pthomas@suse.de>
4812
4813 * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
4814 require it instead of the CVS version.
4815 * cpperror.c (v_message): Put a blank before the macro
4816 body to not confuse exgettext.
4817
4818 2001-04-21 Mark Mitchell <mark@codesourcery.com>
4819
4820 * flow.c (proagate_one_insn): Remove useless assignment.
4821 * jump.c (delete_insn): Tidy.
4822 * loop.c (try_copy_prop): When deleting an instruction with a
4823 REG_RETVAL note, delete the entire libcall sequence.
4824 (loop_delete_insns): New function.
4825 * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
4826 we're not substituting into them yet.
4827
4828 2001-04-21 Kazu Hirata <kazu@hxi.com>
4829
4830 * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
4831
4832 * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
4833 Fix a comment typo.
4834 * config/i960/i960.c (signed_arith_operand): Likewise.
4835
4836 * calls.c (expand_call): Fix a comment typo.
4837
4838 2001-04-20 Zack Weinberg <zackw@stanford.edu>
4839
4840 * configure.in: Probe for times, clock, struct tms, and clock_t.
4841 * configure, config.in: Regenerate.
4842 * timevar.c: Replace ifdef forest in get_time with (relatively)
4843 straightforward series of checks based on autoconf's probes.
4844
4845 Fri Apr 20 12:24:50 2001 Jeffrey A Law (law@cygnus.com)
4846
4847 * config/pa/som.h (NM_FLAGS): Define.
4848
4849 2001-04-20 Bernd Schmidt <bernds@redhat.com>
4850
4851 * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
4852 function.
4853 * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
4854 * ia64.c (nop_cycles_until): New function.
4855 (prev_cycle, prev_first, last_issued): New static variables.
4856 (ia64_sched_reorder): Additional arg for clock.
4857 On final scheduling pass, emit extra NOPs as needed.
4858 Set prev_first and prev_cycle.
4859 (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
4860 (ia64_variable_issue): Set last_issued.
4861
4862 2001-04-20 Alexandre Oliva <aoliva@redhat.com>
4863
4864 * config/i386/i386.c (ix86_expand_int_movcc,
4865 ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
4866
4867 2001-04-20 Geoff Keating <geoffk@redhat.com>
4868
4869 * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
4870 ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
4871 ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
4872 ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
4873 ctrdi_internal6): In the short-branch case, this insn is only 4
4874 bytes long. Reported by Reza Yazdani <reza@apple.com>.
4875
4876 2001-04-20 Jakub Jelinek <jakub@redhat.com>
4877
4878 * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
4879 "=u" is used together with "st" resp. "st(1)" clobber.
4880
4881 2001-04-20 Jakub Jelinek <jakub@redhat.com>
4882
4883 * gcse.c (gcse_main): Fix comment typo.
4884 (delete_null_pointer_check): Likewise.
4885 (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
4886 * cse.c (cse_insn): Likewise.
4887 * function.c (fixup_var_refs_insns_with_hash): The sequence is
4888 toplevel.
4889
4890 2001-04-19 Zack Weinberg <zackw@stanford.edu>
4891
4892 * toplev.c: Excise all code for the undocumented -dm option.
4893 (float_signal): Call signal just once, unconditionally.
4894
4895 2001-04-19 Geoff Keating <geoffk@redhat.com>
4896
4897 * fold-const.c (fold): Use first_rtl_op rather than
4898 TREE_CODE_LENGTH when looping over parameters of a tree.
4899 Correct strange grouping in test for evaluated SAVE_EXPR.
4900
4901 Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com)
4902
4903 * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
4904 * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
4905
4906 * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
4907 name at 32 total characters.
4908 (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
4909 functions in named sections -- data items can still go into unique
4910 sections, but they have normal names (ie $LIT$ and $DATA$).
4911
4912 * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
4913 INIT_PRIORITY.
4914
4915 2001-04-19 DJ Delorie <dj@redhat.com>
4916
4917 * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
4918 to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
4919 * config/i386/cygwin.h: Likewise.
4920 * config/i386/mingw32.h: Likewise.
4921 * config/vax/vms.h: Likewise.
4922 * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
4923
4924 * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
4925 to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
4926 * config/i386/xm-cygwin.h: Likewise.
4927 * config/i386/xm-djgpp.h: Likewise.
4928 * config/i386/xm-mingw32.h: Likewise.
4929 * config/vax/xm-vms.h: Likewise.
4930
4931 * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
4932 instead of OBJECT_SUFFIX.
4933 * collect2.c (find_a_file): Look for files matching the extension
4934 HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
4935 * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
4936 TARGET_EXECUTABLE_SUFFIX.
4937 (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
4938 (make_relative_prefix): Likewise.
4939 (convert_filename): Use TARGET_ suffixes throughout. Remove
4940 NO_AUTO_EXE_SUFFIX.
4941 (process_command): Likewise.
4942 (do_spec_1): Likewise.
4943 * java/lang.c (init_parse): Likewise.
4944
4945 * gcc.texi : Document four new options matching the pattern
4946 (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
4947 for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
4948 documentation for NO_AUTO_EXE_SUFFIX.
4949
4950 2001-04-19 Mark Mitchell <mark@codesourcery.com>
4951
4952 * toplev.h (struct lang_hooks): Allow decode_option to indicate
4953 that language-independent processing should not be done.
4954 * toplev.c (main): Adjust accordingly.
4955
4956 * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
4957 * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
4958
4959 * mips.md (reload_outputdi): Require that operand0 be a
4960 general_operand.
4961
4962 2001-04-19 Jakub Jelinek <jakub@redhat.com>
4963
4964 * invoke.texi (-Wshadow): Clarify.
4965
4966 2001-04-18 Mark Mitchell <mark@codesourcery.com>
4967
4968 * loop.c (load_mems): Examine all the instructions in the loop
4969 before concluding that all jumps branch to the first instruction
4970 after the loop.
4971
4972 Wed Apr 18 20:32:03 2001 Christopher Faylor <cgf@cygnus.com>
4973
4974 * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
4975
4976 2001-04-18 Jakub Jelinek <jakub@redhat.com>
4977
4978 * cpp.texi (-Wwhite-space): Remove.
4979 (-Wall): -Wall does not imply -Wwhite-space.
4980
4981 2001-04-17 Zack Weinberg <zackw@stanford.edu>
4982
4983 * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
4984 use it instead of blindly generating a .stabs.
4985 * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
4986 in the right place.
4987 * xcoffout.c: Don't bother defining default for N_CATCH.
4988 (UNKNOWN_STAB): Use internal_error.
4989 (stab_to_sclass): Remove now-unnecessary aborts.
4990 Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
4991
4992 Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com)
4993
4994 * jump.c (mark_all_labels): Canonicalize the tail recursion
4995 label attached to CALL_PLACEHOLDER insns.
4996
4997 2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4998
4999 * output.h (dump_flow_info, free_basic_block_vars,
5000 which_alternative): Delete redundant prototypes.
5001
5002 * rtl.h (bss_section): Likewise.
5003
5004 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
5005
5006 * dbxout.c (N_OPT): Define if not available from <stab.h>
5007
5008 2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
5009
5010 * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
5011 libraries and native K&R compilers.
5012
5013 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5014
5015 * c-typeck.c (convert_arguments): Don't check for width changes
5016 with -Wtraditional.
5017
5018 * invoke.texi (-Wtraditional): Update documentation.
5019
5020 2001-04-16 Zack Weinberg <zackw@stanford.edu>
5021
5022 * toplev.c (output_lang_identify): Delete.
5023 (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
5024 Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
5025 If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
5026 after calling ASM_FILE_END.
5027
5028 * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
5029 Instead, unconditionally emit an N_OPT stab with string equal
5030 to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
5031
5032 * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
5033
5034 * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
5035 config/psos.h, config/ptx4.h, config/1750a/1750a.h,
5036 config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
5037 config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
5038 config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
5039 config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
5040 config/i370/i370.h, config/i386/beos-elf.h,
5041 config/i386/osf1elf.h, config/i386/osfrose.h,
5042 config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
5043 config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
5044 config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
5045 config/m68k/tower-as.h, config/mcore/mcore-elf.h,
5046 config/mips/iris6.h, config/mips/osfrose.h,
5047 config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
5048 config/sparc/sp64-elf.h:
5049 Delete definitions of any or all of: ASM_IDENTIFY_GCC,
5050 ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
5051
5052 * config/elfos.h, config/freebsd.h, config/linux.h,
5053 config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
5054 config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
5055 config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
5056 of ASM_FILE_START which merely emit a .version directive. Delete
5057 definitions of ASM_FILE_END which merely emit an .ident directive.
5058
5059 * config/avr/avr.h, config/vax/vax.h: Delete definition of
5060 ASM_IDENTIFY_GCC and move part of its logic into
5061 ASM_FILE_START.
5062
5063 * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
5064 config/sparc/linux-aout.h: Don't emit .version directive in
5065 ASM_FILE_START.
5066
5067 * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
5068 (output_file_start): Correct comment.
5069
5070 * config/i386/osfrose.h: Don't emit trailing .ident directive.
5071 * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
5072 to match gdb.
5073 * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
5074 * config/rs6000/aix.h: Correct comment.
5075
5076 * config/i386/i386afe.h: Delete.
5077 * config.gcc: Remove references to i386afe.h.
5078
5079 * tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
5080 other macros deleted by this patch were undocumented.
5081
5082 Mon Apr 16 08:03:48 2001 Jeffrey A Law (law@cygnus.com)
5083
5084 * pa.md (reload_outdi): Operand 0 must be a non hard register.
5085
5086 * pa.c (secondary_reload_class): SAR<->FP copies require a
5087 secondary register.
5088
5089 * install.texi (mips-mips-bsd): Update list of functions
5090 required to include memmove.
5091 * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
5092 used functions to include memmove.
5093
5094 2001-04-15 Toon Moene <toon@moene.indiv.nluug.nl>
5095
5096 * i386.md (sqrtdf2): SFmode should be DFmode.
5097
5098 2001-04-15 Alexandre Oliva <aoliva@redhat.com>
5099
5100 * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
5101 (find_moveable_store): Likewise.
5102
5103 2001-04-15 Jim Wilson <wilson@redhat.com>
5104
5105 * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
5106
5107 Sat Apr 14 16:24:19 CEST 2001 Jan Hubicka <jh@suse.cz>
5108
5109 * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
5110 (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
5111
5112 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
5113
5114 * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
5115 first alternative.
5116
5117 2001-04-14 Alan Modra <amodra@one.net.au>
5118
5119 * pa.c (force_mode): New function.
5120 (emit_move_sequence): Use it instead of generating new rtx_REGs.
5121
5122 2001-04-13 Jim Wilson <wilson@redhat.com>
5123
5124 * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
5125 (first_instruction): New static variable.
5126 (rtx_needs_barrier): Return 1 for alloc.
5127 (init_insn_group_barriers): Set first_instruction.
5128 (rws_sum): Delete duplicate definition.
5129 (group_barrier_needed_p): Return 0 when first_instruction true.
5130 (safe_group_barrier_needed_p): Save and restore first_instruction
5131 around group_barrier_needed_p call.
5132
5133 Fri Apr 13 21:40:28 2001 Loren J. Rittle <ljrittle@acm.org>
5134
5135 * expr.h (enum libfunc_index): Add LTI_memmove.
5136 (memmove_libfunc): Define macro.
5137 * optabs.c (init_optabs): Initialize memmove_libfunc.
5138 * expr.c (expand_assignment): Use memmove_libfunc instead of
5139 memcpy_libfunc.
5140
5141 2001-04-13 Alan Modra <alan@linuxcare.com.au>
5142
5143 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
5144 fp mode addresses.
5145
5146 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5147
5148 * Makefile.in (reg-stack.o): Depend on reload.h.
5149 (insn-attrtab.o): Depend on flags.h.
5150
5151 * genattrtab (main): Include flags.h in insn-attrtab.c.
5152
5153 * reg-stack.c: Include reload.h.
5154
5155 * sparc.h (flag_pic): Delete redundant declaration.
5156
5157 * output.h (flag_pic): Likewise.
5158
5159 * tree.h (pedantic): Likewise.
5160
5161 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5162
5163 * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
5164
5165 * jump.c, regmove.c, toplev.c: Include reload.h.
5166
5167 * reload.h (reload_cse_regs): Declare.
5168
5169 * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
5170 reload_cse_regs, init_reload, mark_home_live, reload,
5171 init_caller_save): Delete redundant prototypes.
5172
5173 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5174
5175 * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
5176
5177 * regclass.c, ssa.c: Include expr.h.
5178
5179 * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
5180 gen_move_insn): Delete redundant declarations.
5181
5182 2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5183
5184 * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
5185 (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
5186 MAKEINFO and MAKEINFOFLAGS too.
5187 (stage4_build): Correctly order -B flags.
5188
5189 2001-04-13 Alan Modra <amodra@one.net.au>
5190
5191 * pa.c (hppa_init_pic_save): Set rtx_unchanging for
5192 PIC_OFFSET_TABLE_SAVE_RTX.
5193 (zdepi_cint_p): Describe zdepi insn.
5194 Formatting and white space fixes throughout file.
5195
5196 * pa.c (uint32_operand): Don't use long constant >= 2^32.
5197 (emit_move_sequence): Use HOST_WIDE_INT constants. Don't worry
5198 about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
5199 (compute_movstrsi_length): Make `align' unsigned to avoid warning.
5200 (output_64bit_and): Use plain `int's for shift counts.
5201 (output_64bit_ior): Likewise.
5202 (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
5203 * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
5204 `N', and simplify.
5205
5206 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
5207 * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
5208 * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
5209 NEW_HP_ASSEMBLER into one. Kill warnings.
5210
5211 * pa-gas.h: Delete file.
5212 * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
5213 Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*. Update
5214 hppa*-*-linux*. For all pa targets, remove pa/gas.h from tm_file,
5215 instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
5216
5217 * config/pa/mill32.S: New file.
5218 * config/pa/mill64.S: New file.
5219 * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
5220 LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
5221 * config/pa/t-linux64: New file.
5222 * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
5223 (LIB1ASMFUNCS, LIB1ASMSRC): Define.
5224 (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
5225
5226 * elfos.h (SELECT_SECTION): Undef before defining.
5227 * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
5228 (LIB_SPEC): Remove -lmilli.
5229 (DBX_REGISTER_NUMBER): Remove.
5230 (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
5231 (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
5232 NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
5233 DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
5234 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
5235 ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
5236 ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
5237 TARGET_GAS): Define.
5238 * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
5239 (function_arg): If TARGET_ELF32, pass fp args in both general and fp
5240 regs if we don't have a prototype.
5241 * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
5242 * pa.h (TARGET_ELF32): Default to 0 if undefined.
5243 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
5244 EH_RETURN_HANDLER_RTX): Define.
5245 * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
5246 (DWARF_FRAME_REGNUM): Define.
5247 * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
5248 * pa32-linux.h: New file.
5249 * pa64-linux.h: New file.
5250
5251 * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
5252 (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
5253 (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
5254 NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
5255 DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
5256 DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
5257 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
5258 FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
5259 READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
5260 DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
5261 UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
5262 ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
5263 TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
5264 * pa64-hpux.h: New file.
5265 (ASM_FILE_START): Correct typo.
5266 (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
5267 * config.gcc: Modify for above.
5268
5269 Fri Apr 13 00:09:22 EDT 2001 John Wehle (john@feith.com)
5270
5271 * jump.c (jump_optimize_1): Don't delete dead stores here.
5272 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
5273 prior to running jump optimize before cse2.
5274
5275 2001-04-12 Richard Henderson <rth@redhat.com>
5276
5277 * Makefile.in (regmove.o): Depend on except.h.
5278 * regmove.c: Include it.
5279
5280 2001-04-12 Stan Shebs <shebs@apple.com>
5281
5282 * objc/objc-act.c: Remove all code ifdefed with the never-used
5283 macro OBJC_INT_SELECTORS.
5284 * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
5285 * tm.texi: Remove doc for OBJC_INT_SELECTORS.
5286
5287 Thu Apr 12 18:13:37 2001 Rodney Brown <RodneyBrown@mynd.com>
5288
5289 * config/pa/quadlib.c: Add prototypes.
5290
5291 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5292
5293 * bitmap.h (debug_bitmap): Delete redundant prototype.
5294
5295 * rtl.h (get_frame_size): Likewise.
5296
5297 2001-04-12 Jim Wilson <wilson@redhat.com>
5298
5299 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
5300 to just emit an fnorm.
5301
5302 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5303
5304 * c-common.h (truthvalue_conversion, type_for_mode,
5305 type_for_size): Delete redundant declarations.
5306
5307 * c-lex.h (is_class_name): Likewise.
5308
5309 * c-tree.h (pedantic, convert, getdecls, gettags,
5310 global_bindings_p, init_decl_processing, insert_block,
5311 maybe_build_cleanup, poplevel, print_lang_decl,
5312 print_lang_identifier, print_lang_type, pushdecl, pushlevel,
5313 set_block, incomplete_type_error, build_function_call,
5314 lvalue_or_else, mark_addressable): Likewise.
5315
5316 * expr.h (expand_tree_builtin): Likewise.
5317
5318 2001-04-12 Mark Mitchell <mark@codesourcery.com>
5319
5320 * invoke.texi: Document --param max-gcse-memory.
5321
5322 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5323
5324 * configure.in (errno): Check for declaration.
5325 * configure, config.in: Regenerated.
5326
5327 * system.h (errno): Only declare if not already done.
5328
5329 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
5330
5331 * recog.c (general_operand, immediate_operand,
5332 nonmemory_operand): Require CONST_INTs to be sign-extended
5333 values for their modes.
5334
5335 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
5336
5337 * expmed.c (store_bit_field): Truncate CONST_INTs.
5338 (expand_mult_highpart, expand_divmod): Likewise.
5339 * expr.c (convert_modes, store_field): Likewise.
5340 * integrate.c (expand_inline_function): Use promote_mode() to
5341 determine whether to convert_modes() an argument as signed
5342 or unsigned.
5343 * optabs.c (expand_binop): Get CONST_INT operands
5344 sign-extended for their appropriate modes.
5345 * stmt.c (emit_case_nodes): Convert node values to the
5346 appropriate mode.
5347 (expand_end_case): Convert minval and range to the appropriate
5348 mode.
5349 * unroll.c (loop_iterations): Truncate abs_diff to the mode of
5350 the iteration variable.
5351 * varasm.c (immed_double_const): Don't require words to be
5352 narrower than host wide ints to properly sign-extend
5353 CONST_INTs.
5354
5355 2001-04-12 kaz Kojima <kkojima@rr.iij4u.or.jp>
5356
5357 * sh.md (builtin_setjmp_receiver): New expander.
5358
5359 2001-04-12 David Edelsohn <dje@watson.ibm.com>
5360
5361 * config/rs6000/rs6000.c (rs6000_emit_move): Do not
5362 special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria
5363 for generating CONST_INT and CONST_DOUBLE.
5364
5365 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
5366
5367 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
5368 already sign-extended.
5369 (rs6000_emit_prologue): Make register iterator signed.
5370 (rs6000_emit_epilogue): Likewise.
5371 * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
5372 and low.
5373 (movsf split, movdf split): Sign-extend CONST_INTs.
5374 (movdi splits): Likewise.
5375
5376 2001-04-12 Kelley Cook <kelley.cook@home.com>
5377
5378 * config-lang.in (lang_dirs): Add in zlib.
5379
5380 2001-04-11 Alexandre Oliva <aoliva@redhat.com>
5381
5382 * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
5383 operands that make it to RTL.
5384
5385 2001-04-11 Stan Shebs <shebs@apple.com>
5386
5387 Add Darwin (Mac OS X kernel) native support.
5388 * config.gcc (powerpc-*-darwin*): Add native bits.
5389 * config/darwin.c: New file, generic Darwin support functions.
5390 * config/darwin.h: New file, generic Darwin definitions.
5391 * config/darwin-protos.h: New file, generic Darwin prototypes.
5392 * rs6000/darwin.h: New file, Darwin for PowerPC.
5393 * rs6000/t-darwin: New file, Darwin makefile fragment.
5394 * rs6000/rs6000.h (OBJECT_MACHO): New macro.
5395 (TARGET_MACHO): Ditto.
5396 (rs6000_abi): Add ABI_DARWIN.
5397 (RS6000_REG_SAVE): Add ABI_DARWIN case.
5398 (RS6000_SAVE_AREA): Ditto.
5399 (FP_ARG_MAX_REG): Ditto.
5400 (RETURN_ADDRESS_OFFSET): Ditto.
5401 * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
5402 cases.
5403 (rs6000_emit_move): Add ABI_DARWIN cases.
5404 (print_operand): Ditto.
5405 (first_reg_to_save): Ditto.
5406 (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
5407 (debug_stack_info): Ditto.
5408 (rs6000_emit_prologue): Ditto.
5409 (rs6000_emit_epilogue): Ditto.
5410 (output_profiler_hook): Ditto.
5411 (output_function_profiler): Ditto.
5412 (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
5413 (output_mi_thunk): Add TARGET_MACHO case.
5414 (add_compiler_stub): Ditto.
5415 (output_compiler_stub): Ditto.
5416 (no_previous_def): Ditto.
5417 (output_call): Ditto.
5418 (machopic_output_stub): Ditto.
5419 (rs6000_machopic_legitimize_pic_address): Ditto.
5420 (toc_section): Ditto.
5421 * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
5422 (macho_high): Ditto.
5423 (macho_low): Ditto.
5424 (movsi_low): Ditto.
5425 (load_macho_picbase): Ditto.
5426 (call): Add TARGET_MACHO case to modify function.
5427 (call_value): Ditto.
5428 (call_nonlocal_sysv): Add ABI_DARWIN case.
5429 (call_value_nonlocal_sysv): Ditto.
5430 * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
5431 Add prototype.
5432 (machopic_output_stub): Ditto.
5433 * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
5434
5435 2001-04-11 Mark Mitchell <mark@codesourcery.com>
5436
5437 * dwarf2out.c (modified_type_die): Don't create new types here.
5438 * tree.h (get_qualified_type): New function.
5439 (build_qualified_type): Adjust comment.
5440 * tree.c (get_qualified_type): New function.
5441 (build_qualified_type): Use it.
5442
5443 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5444
5445 * cpp.texi (-Wtraditional): Update description.
5446
5447 * invoke.texi (-Wtraditional): Likewise.
5448
5449 2001-04-11 Jim Wilson <wilson@redhat.com>
5450
5451 * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
5452 requires more than 64 bits of alignment.
5453
5454 2001-04-11 Neil Booth <neil@daikokuya.demon.co.uk>
5455
5456 * cpplib.c (do_line): Sanity check iff enable checking.
5457
5458 2001-04-11 Richard Henderson <rth@redhat.com>
5459
5460 * Makefile.in (insn-recog.o): Depend on toplev.h.
5461 (insn-emit.o, doloop.o): Likewise.
5462 * genrecog.c, genemit.c: Include toplev.h in generated file.
5463 * doloop.c: Include toplev.h.
5464
5465 2001-04-11 Mark Mitchell <mark@codesourcery.com>
5466
5467 * Makefile.in (gcse.o): Depend on params.h.
5468 * gcse.c: Include params.h.
5469 (gcse_main): Don't do GCSE if doing so will take inordinate
5470 amounts of memory.
5471 * params.def (PARAM_MAX_GCSE_MEMORY): New parameter.
5472 * params.h (MAX_GCSE_MEMORY): New macro.
5473
5474 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5475
5476 * Makefile.in (insn-output.o): Depend on $(EXPR_H).
5477
5478 * genoutput.c (output_prologue): Include expr.h in insn-output.c.
5479
5480 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5481
5482 * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
5483
5484 * real.h (ereal_atof, real_value_truncate, target_isnan,
5485 target_isinf, target_negative, assemble_real, debug_real): Delete
5486 redundant prototypes.
5487
5488 * Makefile.in (ifcvt.o): Depend on toplev.h.
5489
5490 * c-semantics.c: Include expr.h.
5491
5492 * ifcvt.c: Include toplev.h.
5493
5494 * expr.h (rtx_equal_p): Delete prototype.
5495
5496 * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
5497 protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
5498 eliminate_constant_term, expand_complex_abs, find_single_use,
5499 make_tree, init_expr_once, init_optabs, supports_one_only):
5500 Likewise.
5501
5502 * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
5503 rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
5504 expand_assignment, store_expr, emit_line_note_after,
5505 emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
5506
5507 * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
5508
5509 * sparc-protos.h: Delete redundant prototypes.
5510
5511 2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
5512
5513 * reload.c (push_reload): Add condition missed in SUBREG byte
5514 offset patch.
5515
5516 Wed Apr 4 00:28:23 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5517
5518 * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
5519
5520 Wed Apr 11 14:06:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5521
5522 * i386.md (floatsisf_sse): Fix output template
5523 * i386.c (ix86_expand_fp_movcc)
5524
5525 * reg-stack.c (emit_pop_insn): Handle complex modes.
5526 (move_for_stack_reg): Emit proper move mode.
5527 (subst_stack_regs_pat): Handle complex modes.
5528
5529 2001-04-11 Jakub Jelinek <jakub@redhat.com>
5530
5531 * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
5532
5533 2001-04-10 Richard Henderson <rth@redhat.com>
5534
5535 * libgcc2.h (__terminate_func_ptr): Remove typedef.
5536 (__pure_virtual, __terminate, __terminate_set_func,
5537 __default_terminate, __throw_type_match, __empty,
5538 __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
5539 __eh_rtime_match, __unwinding_cleanup, __rethrow,
5540 __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
5541 Remove prototypes of deleted functions.
5542
5543 2001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5544
5545 * c-typeck.c (convert_arguments): -Wtraditional now activates
5546 -Wconversion warnings, except for changes in signed-ness.
5547 Detect complex<->int & int<->complex conversions as well.
5548
5549 * invoke.texi (-Wtraditional): Document it.
5550
5551 Tue Apr 10 17:45:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5552
5553 * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
5554 * flow.c (set_block_for_new_insns): Remove needless cast and
5555 properly check for unset block number.
5556
5557 2001-04-10 Andrew MacLeod <amacleod@redhat.com>
5558
5559 * function.c (purge_single_hard_subreg_set): Only check REGNO if
5560 the subreg was a hard register. Pseudos are left as subregs.
5561
5562 2001-04-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5563
5564 * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
5565 (LIB2ADD_ST): New macro, pass it to mklibgcc.
5566 * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
5567 (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
5568 * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
5569
5570 2001-04-09 Bo Thorsen <bo@suse.co.uk>
5571
5572 * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
5573
5574 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
5575
5576 * output.h (set_block_num): Missed it earlier, remove deprecated
5577 prototype.
5578
5579 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
5580
5581 * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
5582 (load_killed_in_block_p): Change bb parameter from int to basic_block.
5583 (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
5584 (handle_rd_kill_set): Change bb parameter from int to basic_block.
5585 (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
5586 (expr_killed_p): Change bb parameter from int to basic_block, pass
5587 basic_blocks instead of ints as parameters.
5588 (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
5589 (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
5590 from int to basic_block, pass basic_blocks instead of ints as parms.
5591 (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
5592 parameter from int to basic_block, pass basic_blocks instead of ints.
5593 (process_insert_insn): Pass basic_blocks instead of ints as parameters.
5594 (insert_insn_end_bb): Change bb parameter from int to basic_block,
5595 pass basic_blocks instead of ints.
5596 (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
5597 basic_blocks instead of ints as parameters.
5598 (pre_delete): Pass basic_blocks instead of ints as parameters.
5599 (hoist_expr_reaches_here_p): Change bb parameter from int to
5600 basic_block, pass basic_blocks instead of ints.
5601 (hoist_code): Pass basic_blocks instead of ints as parameters.
5602 (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
5603 Change bb parameter from int to basic_block.
5604 (build_store_vectors): Pass basic_blocks instead of ints as parameters.
5605 (insert_insn_start_bb): Change bb parameter from int to basic_block,
5606 pass basic_blocks instead of ints.
5607 (insert_store): Pass basic_blocks instead of ints as parameters.
5608 (replace_store_insn, delete_store): Change bb parameter from int to
5609 basic_block, pass basic_blocks instead of ints.
5610 (store_motion): Pass basic_blocks instead of ints as parameters.
5611
5612 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
5613
5614 * basic-block.h (set_new_block_for_insns): New Prototype.
5615 (set_block_num): Delete prototype.
5616 * flow.c (set_block_num): Remove obsolete function.
5617 (set_block_for_new_insns): Set BB for single or multiple insns.
5618 * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
5619 (process_insn_end_bb): Use set_block_for_new_insns or
5620 set_block_for_insn instead of set_block_num.
5621 (pre_insert_copy_insn): Use set_block_for_new_insns.
5622 (update_ld_motion_stores): Use set_block_for_new_insns.
5623 (insert_insn_start_bb): Use set_block_for_new_insns.
5624 (replace_store_insn): Use set_block_for_new_insns.
5625
5626 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
5627 Jeff Law <law@redhat.com>
5628
5629 * alias.c (get_addr): Externalize.
5630 (canon_true_dependence): New function. Behaves like true_dependance
5631 except it already assumes a MEM has been canonicalized.
5632 * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
5633 * gcse.c (struct ls_expr): Add load/store expressions structure.
5634 (modify_mem_list, canon_modify_mem_list): New variable.
5635 (gcse_main): Initialize & finalize alias analysis. Use enhanced
5636 load motion and store motion if requested.
5637 (alloc_gcse_mem): Allocate space for modify_mem_list array.
5638 (free_gcse_mem): Free the modify_mem_list array.
5639 (oprs_unchanged_p): Use load_killed_in_block_p.
5640 (gcse_mems_conflict_p, gcse_mem_operand): New variables.
5641 (mems_conflict_for_gcse_p): New function. Don't kill loads
5642 with stores to themselves if its in the load/store expression list.
5643 (load_killed_in_block_p): New function.
5644 (canon_list_insert): New Function.
5645 (record_last_mem_set_info): Keep a list of all instructions which
5646 can modify memory for each basic block.
5647 (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
5648 (oprs_not_set_p): Use load_killed_in_block_p.
5649 (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
5650 (expr_killed_p): Use load_killed_in_block_p.
5651 (compute_transp): Do not pessimize memory references.
5652 (pre_edge_insert): Update stores for a load motion expression.
5653 (one_pre_gcse_pass): Check loads/stores for extra load motion.
5654 (ldst_entry): Find or create a ldst_expr structure.
5655 (free_ldst_entry): Free memory for an individual item.
5656 (free_ldst_mems): Free entire load/store expression list.
5657 (print_ldst_list): Print debug info.
5658 (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
5659 (enumerate_ldsts): Assign integer values to each entry in list.
5660 (first_ls_expr): First expression in the list.
5661 (next_ls_expr): Next expression in the list.
5662 (simple_mem): Check if expression qualifies for ld/st expression list.
5663 (invalidate_any_buried_refs): Remove from expression list if its
5664 used in some other way we dont understand.
5665 (compute_ld_motion_mems): Find all potential enhanced load motion
5666 expression.
5667 (trim_ld_motion_mems): Remove any expressions which are invalid.
5668 (update_ld_motion_stores): Copy store values to registers for loads
5669 which have been moved.
5670 (regvec, st_antloc, num_store): New global statics.
5671 (reg_set_info): Marks registers as set.
5672 (store_ops_ok): Verfies registers expressions are valid in a block.
5673 (find_moveable_store): Look for moveable stores in a pattern.
5674 (compute_store_table): Find stores in a function worth moving, maybe.
5675 (load_kills_store): Check dependance of a load and store.
5676 (find_loads): Find any loads in a pattern.
5677 (store_killed_in_insn): Check if a store is killed in an insn.
5678 (store_killed_after): Check is store killed after an insn in a block.
5679 (store_killed_before): Check is store killed before an insn in a block.
5680 (build_store_vectors): Generate the antic and avail vectors.
5681 (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
5682 (insert_store): Add a store to an edge.
5683 (replace_store_insn): Replace a store with a SET insn.
5684 (delete_store): Delete a store insn.
5685 (free_store_memory): Free memory.
5686 (store_motion): Perform store motion.
5687 * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
5688 * rtl.h (get_addr, canon_true_dependence): Add prototypes.
5689 * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
5690 (f_options): Add gcse-lm and gcse-sm.
5691
5692 Mon Apr 9 16:18:03 CEST 2001 Jan Hubicka <jh@suse.cz>
5693
5694 * i386.c (expand_fp_movcc): Fix condition reversal code.
5695
5696 * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
5697 * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
5698 (CLASS_MAX_NREGS): Use it.
5699
5700 * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
5701 handle properly complex values.
5702 (CLASS_MAX_NREGS): Likewise; update comment.
5703
5704 2001-04-05 Bernd Schmidt <bernds@redhat.com>
5705
5706 * ia64.c (ia64_flag_schedule_insns2): New variable.
5707 (ia64_override_options): Initialize it. Clear
5708 flag_schedule_insns_after_reload.
5709 (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
5710
5711 Mon Apr 9 15:09:13 CEST 2001 Jan Hubicka <jh@suse.cz>
5712
5713 * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
5714 Do not require source to match destination anymore;
5715 Add abort to the nontrivial cases that should be handled by split.
5716 (fix_trunc?fdi): Add SSE case for x86_64.
5717 (floatdi?f): Likewise.
5718 (floatdi?f_sse): New.
5719 (fix_trunc?fdi_sse): New.
5720
5721 2001-04-09 Richard Sandiford <rsandifo@redhat.com>
5722
5723 * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
5724 (DEBUG_ARANGES_END_LABEL): Ditto.
5725 (dwarfout_init): Generate length and version fields at the start
5726 of the .debug_aranges info. Insert DEBUG_ARANGES_BEGIN_LABEL
5727 after the length field.
5728 (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
5729 the .debug_aranges info.
5730
5731 Sun Apr 8 00:43:27 CEST 2001 Jan Hubicka <jh@suse.cz>
5732
5733 * i386.c (call, call_value): Make sure that resulting call_insn
5734 does have proper second operand.
5735
5736 Sun Apr 8 22:50:49 2001 Christopher Faylor <cgf@cygnus.com>
5737
5738 * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
5739 function. Remove include of sys/cygwin.h.
5740
5741 Sun Apr 8 22:20:27 2001 Christopher Faylor <cgf@cygnus.com>
5742
5743 * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
5744 (CPP_SPEC): Always search */include/w32api for header files.
5745 (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
5746 (LINK_SPEC): Add "cyg" to the library search prefixes.
5747
5748 2001-04-08 Philip Blundell <philb@gnu.org>
5749
5750 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
5751
5752 2001-04-08 Neil Booth <neil@daikokuya.demon.co.uk>
5753
5754 * cpperror.c (print_location): Don't special case <stdin>.
5755 (_cpp_begin_message): Handle WARNING_SYSHDR the same as
5756 WARNING, but we don't check if we're in system headers.
5757 * cpplib.h (enum error_type): WARNING_SYSHDR: New.
5758 * cpplib.c (do_warning): Warn in system headers.
5759
5760 2001-04-07 Mumit Khan <khan@NanoTech.Wisc.EDU>
5761
5762 * mbchar.c: Include config.h first.
5763
5764 2001-04-07 Zack Weinberg <zackw@stanford.edu>
5765
5766 * config.gcc: Set default for xmake_file at top, not bottom.
5767 Change places that set xmake_file to "none" to set to the
5768 empty string instead, or remove them entirely if there is no
5769 default xmake_file for this cpu_type. Remove references to
5770 deleted files.
5771
5772 * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
5773 config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
5774 config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
5775 config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
5776 config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
5777 config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
5778 config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
5779 config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
5780 config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
5781 config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
5782 Delete.
5783
5784 * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
5785 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
5786 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
5787 config/mips/x-sysv, config/rs6000/x-aix31:
5788 Just set CLIB to -lld or -lmld, as appropriate.
5789
5790 * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
5791 config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
5792 config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
5793 config/mips/x-iris, config/pa/x-pa:
5794 Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
5795 OTHER_FIXINCLUDES_DIRS.
5796
5797 * config/i386/x-djgpp: Don't set LN or LN_S.
5798 * config/m88k/x-dolph: Don't define __m88k__.
5799 * config/m88k/x-tekXD88: Don't set AR_FLAGS.
5800 * config/pa/x-pa-mpeix: Just set up quadlib.asm.
5801 * config/i860/fx2800.h: No need to #undef SVR4.
5802
5803 38 x-host fragments remain, 2 x-cpu.
5804
5805 2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5806
5807 * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
5808
5809 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
5810
5811 * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
5812
5813 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
5814
5815 * configure.in: Add check for lstat.
5816 * configure, config.in: Regenerate.
5817 * cppinit.c (append_include_chain): Make empty path ".".
5818 * cpplib.c (do_line): Don't simplify #line paths.
5819 * cppfiles.c (remove_component_p): New function.
5820 (find_or_create_entry): Acknowledge stat () errors during
5821 path simplification.
5822 (handle_missing_header): Don't simplify paths.
5823 (_cpp_simplify_pathname): Don't simplify VMS paths. Return
5824 the empty path untouched. Don't leave a trailing '/'.
5825
5826 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
5827
5828 * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
5829 * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
5830
5831 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
5832
5833 * cppfiles.c (open_file): Fail directories silently, but
5834 with an errno of NOENT set.
5835 (read_include_file): Move the common exit code to the sole
5836 caller. Return an int indicating success or failure. Let
5837 open_file handle directories.
5838 (stack_include_file): If read_include_file fails,
5839 push a "null" buffer.
5840
5841 2001-04-05 DJ Delorie <dj@redhat.com>
5842
5843 * function.h (virtuals_instantiated): Declare.
5844 * function.c: (virtuals_instantiated): Make global.
5845 * calls.c (emit_library_call_value_1): Use
5846 virtual_outgoing_args_rtx only if it hasn't been instantiated.
5847 Otherwise, use the stack pointer directly.
5848
5849 Thu Apr 5 19:13:33 CEST 2001 Jan Hubicka <jh@suse.cz>
5850
5851 * i386.c (x86_initialize_trampoline): New global function.
5852 * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
5853 (INITIALIZE_TRAMPOLINE): Move offline.
5854 * i386-protos.h (x86_initialize_trampoline): Declare.
5855
5856 Thu Apr 5 19:02:15 CEST 2001 Jan Hubicka <jh@suse.cz>
5857
5858 * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
5859 (lea_0): Rename to lea_1.
5860 (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
5861 (lea_general_?): Allow SImodes on TARGET_64BIT
5862 (lea_general_?_zext): New patterns.
5863 (call_1, call_1_rex64): Fix.
5864
5865 Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka <jh@suse.cz>
5866
5867 * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
5868
5869 Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka <jh@suse.cz>
5870
5871 * i386.c (function_arg): Return constm1_rtx for last argument.
5872 (ix86_expand_prologue): Update gen_call calls.
5873 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
5874 * i386.md (call_pop): Likewise.
5875 (call): Second operand is VOIDmode.
5876 (call_0): Likewise; Support 64bits.
5877 (call_exp): New expander.
5878 (call_1): Get to the sync.
5879 (call_1_exp): New pattern.
5880 (call_value): Support 64bit.
5881 (call_value_exp): New pattern.
5882 (untyped_call): Update gen_call call.
5883 (call_value_pop): Disable for 64bit.
5884 (call_value_0_rex64): New pattern.
5885 (call_value_1_rex64): Likewise.
5886
5887 2001-04-05 Bo Thorsen <bo@suse.de>
5888
5889 * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
5890
5891 Thu Apr 5 13:44:17 2001 J"orn Rennecke <amylaar@redhat.com>
5892
5893 * i386.md (*andsi_1+3): If used after reload, make sure the operand
5894 satisfies ANY_QI_REG_P.
5895
5896 2001-04-05 Bernd Schmidt <bernds@redhat.com>
5897
5898 * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
5899 ASM_OPERAND.
5900
5901 * sched-deps.c (sched_analyze_insn): Revert more of the March 27
5902 change.
5903
5904 2001-04-04 Zack Weinberg <zackw@stanford.edu>
5905
5906 * config.gcc: Remove default for xm_file. Clean up local
5907 machine type handling. Remove settings of xm_file to
5908 something that doesn't exist. In the big switch, set xm_file,
5909 don't append to it (the value before the big switch is always
5910 null). Don't force build_xm_file or host_xm_file to have a value.
5911 * configure.in: Remove default for xm_file. Do not special
5912 case $cpu/xm-$cpu.h not existing.
5913 * configure: Regenerate.
5914
5915 2001-04-04 Diego Novillo <dnovillo@redhat.com>
5916
5917 * simplify-rtx.c (simplify_binary_operation): Check for overflow
5918 when folding integer division and modulo operations.
5919
5920 2001-04-04 Andrew MacLeod <amacleod@redhat.com>
5921
5922 * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
5923 instead of DWARF2_ADDR_SIZE for EH addresses.
5924 (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
5925 EH addresses.
5926
5927 2001-04-04 Richard Henderson <rth@redhat.com>
5928
5929 * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
5930 * config/ia64/t-glibc (LIB2ADDEH): Disable.
5931 * config/ia64/t-ia64 (LIB2ADDEH): Disable.
5932
5933 2001-04-04 Richard Henderson <rth@redhat.com>
5934
5935 * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
5936 * configure: Rebuilt.
5937
5938 2001-04-04 Jakub Jelinek <jakub@redhat.com>
5939
5940 * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
5941 push insns to delete to it instead of deleting them.
5942 (delete_null_pointer_checks): Delete insns from delete_list after
5943 all delete_null_pointer_checks_1 passes are done.
5944
5945 2001-04-04 Richard Henderson <rth@redhat.com>
5946
5947 * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
5948 * configure: Rebuilt.
5949
5950 2001-04-04 Zack Weinberg <zackw@stanford.edu>
5951
5952 * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
5953 * config/romp/xm-romp.h: Delete.
5954
5955 2001-04-04 Bernd Schmidt <bernds@redhat.com>
5956
5957 * sched-deps.c (sched_analyze_insn): Partially revert March 27
5958 change.
5959
5960 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5961
5962 * emit-rtl.c (mark_label_nuses) Increment the label uses for
5963 all labels present in rtx.
5964 (try_split) Call new function for all split insns.
5965
5966 2001-04-04 Jakub Jelinek <jakub@redhat.com>
5967
5968 * recog.c (validate_replace_rtx_1): Instead of aborting just make
5969 sure the change won't be validated.
5970
5971 Wed Apr 4 00:45:38 EDT 2001 John Wehle (john@feith.com)
5972
5973 * rtl.h (set_noop_p): Declare.
5974 * flow.c (set_noop_p): Move from here ...
5975 * rtlanal.c (set_noop_p): ... to here and enhance.
5976 * cse.c (delete_trivially_dead_insns): Use it.
5977 * gcse.c (hash_scan_set): Likewise.
5978 * jump.c (delete_noop_moves): Likewise.
5979 * recog.c (split_all_insns): Likewise.
5980
5981 2001-04-04 Alan Modra <alan@linuxcare.com.au>
5982
5983 * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
5984 stack pointer via a LO_SUM. Ditto for setting a temp register
5985 used to save to the stack. Set cfa_temp when setting fp, and
5986 allow matches to cfa_temp in addition to cfa_store when saving
5987 regs. Handle POST_INC and LO_SUM register stores. Document the
5988 changes and errors in rule 12 doco.
5989
5990 * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
5991 (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
5992 (load_reg): Move closer to epilogue code.
5993 (DO_FRAME_NOTES): Define to control the following..
5994 (FRP): Define to set RTX_FRAME_RELATED_P on insns.
5995 (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
5996 notes as necessary.
5997 (hppa_expand_epilogue): Likewise.
5998
5999 2001-04-03 Richard Henderson <rth@redhat.com>
6000
6001 * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
6002 * configure: Rebuild.
6003
6004 2001-04-03 Richard Henderson <rth@redhat.com>
6005
6006 * rtl.h (LCT_THROW): New.
6007 * calls.c (emit_library_call_value_1): Handle it.
6008 * except.c (connect_post_landing_pads): Use it.
6009
6010 2001-04-03 Zack Weinberg <zackw@stanford.edu>
6011
6012 * gansidecl.h: Delete file.
6013 * configure.in: Change all refs to gansidecl.h to use
6014 ansidecl.h. Adjust *_file_list so they know where ansidecl.h
6015 lives.
6016 * configure: Regenerate.
6017
6018 * Makefile.in (intl.o): Don't depend on gansidecl.h.
6019 * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
6020 * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
6021 Don't include gansidecl.h.
6022 * intl.c, main.c, version.c, fixinc/fixlib.h,
6023 fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
6024 gansidecl.h.
6025
6026 Tue Apr 3 19:41:21 CEST 2001 Jan Hubicka <jh@suse.cz>
6027
6028 * i386.c (ix86_force_to_memory, ix86_free_from_memory):
6029 Update for 64bit.
6030
6031 2001-04-03 Zack Weinberg <zackw@stanford.edu>
6032
6033 * config/i386/xm-beos.h, config/i386/xm-isc.h,
6034 config/i386/xm-next.h, config/i386/xm-sco.h,
6035 config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
6036 config/m88k/xm-m88k.h: Delete.
6037
6038 * config/i386/xm-djgpp.h: Don't define __MSDOS__.
6039 * config/romp/xm-romp.h: Don't define bcopy.
6040 * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
6041 HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
6042
6043 * config.gcc: Remove references to deleted files.
6044
6045 14 xm-host.h remain, 1 xm-cpu.h.
6046
6047 2001-04-03 Jakub Jelinek <jakub@redhat.com>
6048 David S. Miller <davem@pierdol.cobaltmicro.com>
6049 Andrew MacLeod <amacleod@redhat.com>
6050
6051 Use byte offsets in SUBREGs instead of words.
6052
6053 * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
6054 * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
6055 to pass new argument.
6056 (add_stored_regs): Use subreg_regno_offset function.
6057 * calls.c (expand_call): For non-paradoxical SUBREG take endianess
6058 into account.
6059 (precompute_arguments): Use gen_lowpart_SUBREG.
6060 * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
6061 (combine_simplify_rtx): Rework to use SUBREG_BYTE.
6062 (simplify_set): Rework to use SUBREG_BYTE.
6063 (expand_field_assignment): Use SUBREG_BYTE.
6064 (make_extraction): Use SUBREG_BYTE.
6065 (if_then_else_cond): Use SUBREG_BYTE.
6066 (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
6067 (gen_lowpart_for_combine): Compute full byte offset.
6068 * cse.c (mention_regs): Use SUBREG_BYTE.
6069 (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
6070 (canon_hash): Use SUBREG_BYTE.
6071 (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
6072 (gen_lowpart_if_possible): Formatting.
6073 * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
6074 correctly.
6075 * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
6076 (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
6077 (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
6078 * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
6079 (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
6080 (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
6081 * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
6082 certain invariants about SUBREGs the compiler creates.
6083 (gen_lowpart_SUBREG): New function.
6084 (subreg_hard_regno): New function to get the final register number.
6085 (gen_lowpart_common): Use SUBREG_BYTE.
6086 (gen_imagpart): Spacing nits.
6087 (subreg_realpart_p): Use SUBREG_BYTE.
6088 (gen_highpart): Use SUBREG_BYTE.
6089 (subreg_lowpart_p): Always compute endian corrected goal offset,
6090 even at the byte level, then compare against that.
6091 (constant_subword): New function, pulled out all constant cases
6092 from operand_subword and changed second argument name to offset.
6093 (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
6094 and call constant_subword to do the work. Return const0_rtx if
6095 looking for a word outside of OP.
6096 (operand_subword_force): Change second arg name to offset.
6097 * expmed.c (store_bit_field): Use SUBREG_BYTE.
6098 (store_split_bit_field): Use SUBREG_BYTE.
6099 (extract_bit_field): Use SUBREG_BYTE.
6100 (extract_split_bit_field): Use SUBREG_BYTE.
6101 (expand_shift): Use SUBREG_BYTE.
6102 * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
6103 * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
6104 * flow.c (set_noop_p): Use SUBREG_BYTE.
6105 (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
6106 * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
6107 (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
6108 correction code.
6109 (optimize_bit_field): Use SUBREG_BYTE.
6110 (purge_addressof_1): Use SUBREG_BYTE.
6111 (purge_single_hard_subreg_set): Use subreg_regno_offset function.
6112 (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
6113 actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
6114 * gengenrtl.c (special_rtx): Add SUBREG.
6115 * global.c (mark_reg_store): Use SUBREG_BYTE.
6116 (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
6117 * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
6118 * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
6119 final byte offset is congruent to subreg's mode size.
6120 (subst_constants): Use SUBREG_BYTE.
6121 (mark_stores): Use subreg_regno_offset function.
6122 * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
6123 function and SUBREG_BYTE.
6124 * local-alloc.c (combine_regs): Use subreg_regno_offset function.
6125 (reg_is_born): Use subreg_hard_regno.
6126 * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
6127 endian correction code. Don't combine subregs unless resulting
6128 offset aligns with type. Fix subreg constant extraction for DImode.
6129 Simplify SUBREG of VOIDmode CONST_DOUBLE.
6130 (general_operand): Remove dead mode_altering_drug code.
6131 (indirect_operand): Use SUBREG_BYTE.
6132 (constrain_operands): Use subreg_regno_offset function.
6133 * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
6134 * regmove.c (regmove_optimize): Use SUBREG_BYTE.
6135 (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
6136 * regs.h (REG_SIZE): Allow target to override.
6137 (REGMODE_NATURAL_SIZE): New macro which target can override.
6138 * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
6139 on the entire subreg rtx.
6140 (push_reload): Use SUBREG_BYTE in comments and code.
6141 (find_dummy_reload): Use subreg_regno_offset. Only adjust offsets
6142 for hard registers inside subregs.
6143 (operands_match_p): Use subreg_regno_offset.
6144 (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
6145 containing hard regs.
6146 (find_reload_toplev): Use SUBREG_BYTE. Remove byte endian
6147 corrections when fixing up MEM subregs.
6148 (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
6149 subreg_regno_offset where appropriate.
6150 (find_reloads_subreg_address): Use SUBREG_BYTE. Remove
6151 byte endian corrections when fixing up MEM subregs.
6152 (subst_reloads): When combining two subregs, make sure final
6153 offset is congruent to subreg's mode size.
6154 (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
6155 (refers_to_regno_for_reload_p): Use subreg_regno.
6156 (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
6157 * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
6158 correction code for memory subreg fixups.
6159 (forget_old_reload_1): Use subreg_regno_offset.
6160 (choose_reload_regs): Use subreg_regno.
6161 (emit_input_reload_insns): Use SUBREG_BYTE.
6162 (reload_combine_note_store): Use subreg_regno_offset.
6163 (move2add_note_store): Use subreg_regno_offset.
6164 * resource.c (update_live_status, mark_referenced_resources): Use
6165 subreg_regno function.
6166 (mark_set_resources): Use subreg_regno function.
6167 * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
6168 (subreg_regno_offset, subreg_regno): Define prototypes.
6169 (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
6170 (gen_lowpart_SUBREG): Add prototype.
6171 * rtl.texi (subreg): Update to reflect new byte offset representation.
6172 Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
6173 * rtlanal.c (refers_to_regno_p): Use subreg_regno.
6174 (reg_overlap_mentioned_p): Use subreg_regno.
6175 (replace_regs); Make sure final offset of combined subreg is
6176 congruent to size of subreg's mode.
6177 (subreg_regno_offset): New function.
6178 (subreg_regno): New function.
6179 * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
6180 * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
6181 * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
6182 * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
6183 (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
6184 * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
6185 (a29k_get_reloaded_address): Use SUBREG_BYTE.
6186 (print_operand): Use SUBREG_BYTE.
6187 * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
6188 * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
6189 (arm_reload_out_hi): Use SUBREG_BYTE.
6190 * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
6191 instead of SUBREG_WORD.
6192 (d30v_print_operand_memory_reference): Use subreg_regno_offset.
6193 * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
6194 SUBREG creation to use byte offset.
6195 * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
6196 inverted load insns): Fix explicit rtl subregs to use byte
6197 offsets.
6198 * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
6199 udivsi3, umodsi3): Generate SUBREGs with byte offsets.
6200 * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
6201 * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
6202 to use byte offsets.
6203 (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
6204 * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
6205 offsets, also make sure it is congruent to SUBREG's mode size.
6206 (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
6207 unnamed ldob insn): Generate SUBREGs with byte offset.
6208 (zero_extendqihi2): SUBREG's are byte offsets.
6209 * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
6210 (m68hc11_gen_highpart): Use SUBREG_BYTE.
6211 * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
6212 zero-extendqisi2): Generate SUBREGs with byte offset.
6213 (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
6214 subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
6215 subregs in rtl to use byte offsets.
6216 * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
6217 * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
6218 (mips_move_2words): Use subreg_regno_offset.
6219 (mips_secondary_reload_class): Use subreg_regno_offset.
6220 * config/mips/mips.md (DImode plus, minus, move, and logical op
6221 splits): Fixup explicit subregs in rtl to use byte offsets.
6222 * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
6223 * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
6224 * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
6225 rtl to use byte offsets.
6226 * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
6227 * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
6228 subregs to use byte offsets.
6229 * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
6230 Fixup explicit subregs in rtl to use byte offsets.
6231 * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
6232 and remove byte endian correction code.
6233 * config/sh/sh.c (output_movedouble): Use subreg_regno.
6234 (gen_ashift_hi): Use SUBREG_BYTE.
6235 (regs_used): Use subreg_regno_offset.
6236 (machine_dependent_reorg): Use subreg_regno_offset.
6237 * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
6238 * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
6239 (movdf_i4): Subregs are byte offsets now.
6240 * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
6241 * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
6242 (REGMODE_NATURAL_SIZE): Override.
6243 (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
6244 * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
6245 with byte offsets.
6246 (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
6247 extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
6248 extendqidi2): Generate SUBREGs with byte offsets, also make sure
6249 it is congruent to SUBREG's mode size.
6250 (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
6251 offsets.
6252 (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
6253 cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
6254 lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
6255 SUBREG_BYTE offset for non-paradoxical subregs in patterns.
6256 * config/v850/v850.c (print_operand, output_move_double): Use
6257 subreg_regno function.
6258
6259 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
6260
6261 * configure.in (target_subdir): Use target_alias, not target.
6262 * configure: Rebuilt.
6263
6264 * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
6265 other way round.
6266 * config/sh/crti.asm: Fix typos in comments.
6267
6268 2001-04-03 Alan Modra <alan@linuxcare.com.au>
6269
6270 * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
6271 TARGET_FAST_INDIRECT_CALLS.
6272 * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
6273 -fPIC. Don't warn.
6274 (return_addr_rtx): Short circuit export stub matching when
6275 TARGET_NO_SPACE_REGS.
6276 (output_millicode_call): For out of range calls, make -fPIC
6277 take precedence, then TARGET_PORTABLE_RUNTIME, then ble. Don't
6278 return before delay slot checks when TARGET_PORTABLE_RUNTIME.
6279 * pa.md: Modify length attr calculation of all millicode insns to
6280 match above.
6281
6282 2001-04-02 Geoffrey Keating <geoffk@redhat.com>
6283
6284 * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
6285 Require at least 2.11 in the version test. Specifically check
6286 for and reject GAS version 2.10.90.
6287 * configure: regenerate.
6288
6289 2001-04-03 Alan Modra <alan@linuxcare.com.au>
6290
6291 * pa.c (override_options): Remove PIC profiling warning.
6292 (hp_profile_labelno): Delete.
6293 (hp_profile_label_rtx): Delete.
6294 (hp_profile_label_name): Delete.
6295 (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
6296 (output_function_prologue): Remove profiling code and all tests on
6297 profile_flag. Move store of PIC_OFFSET_TABLE_REGNUM now that
6298 merge_sp_adjust_with_store can work for PIC and profiling.
6299 (hppa_expand_epilogue): Remove profile_flag test.
6300 (hppa_can_use_return_insn_p): Likewise.
6301 (hppa_init_pic_save): Emit before tail_recursion_reentry, and
6302 cater for PROFILE_HOOK.
6303 (hppa_profile_hook): New function.
6304 * pa.h (FUNCTION_PROFILER): Now does nothing.
6305 (PROFILE_HOOK): Define.
6306 (hppa_profile_hook): Declare.
6307 (PROFILE_BEFORE_PROLOGUE): Delete.
6308 (ASM_OUTPUT_REG_PUSH): Delete.
6309 (ASM_OUTPUT_REG_POP): Delete.
6310 * pa.md (call_profiler): Turn it into a call insn, and don't `use'
6311 r24. Accept function name operand, and use this and a locally
6312 generated label to calculate pc-rel offset to func start.
6313
6314 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6315
6316 * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
6317 ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
6318 $(SYSTEM_H).
6319
6320 2001-04-03 Alan Modra <alan@linuxcare.com.au>
6321
6322 * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
6323 LO_SUM cases to where they belong.
6324
6325 2001-04-02 Richard Henderson <rth@redhat.com>
6326
6327 * except.h (lang_eh_type_covers): Mark extern.
6328 (lang_eh_runtime_type): Likewise.
6329
6330 2001-04-02 Zack Weinberg <zackw@stanford.edu>
6331
6332 * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
6333 gengenrtl.c: Wrap generated header in multiple-include guard.
6334 Improve error checking.
6335
6336 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6337
6338 * configure.in: Don't check for putenv.
6339 * configure: Regenerate.
6340 * gcc.c (putenv): Don't define.
6341 * vax/xm-vms.h: Handle putenv.
6342
6343 2001-04-02 Jakub Jelinek <jakub@redhat.com>
6344
6345 * ifcvt.c (noce_emit_move_insn): New.
6346 (noce_try_store_flag, noce_try_store_flag_constants,
6347 noce_try_store_flag_inc, noce_try_store_flag_mask,
6348 noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
6349 noce_try_abs): Use it.
6350 (noce_process_if_block): Likewise.
6351 For STRICT_LOW_PART, take mode from its SUBREG.
6352
6353 2001-04-02 Jakub Jelinek <jakub@redhat.com>
6354
6355 * fold-const.c (fold): Before optimizing unsigned comparison with
6356 0x7fffffffU, make sure arg0 is integral type.
6357
6358 2001-04-02 Joseph S. Myers <jsm28@cam.ac.uk>
6359
6360 * c-tree.texi: Document representation of wide strings.
6361
6362 2001-04-01 Richard Henderson <rth@redhat.com>
6363
6364 * except.h (expand_builtin_dwarf_fp_regnum): Declare.
6365
6366 Sun Apr 1 11:49:05 CEST 2001 Jan Hubicka <jH@suse.cz>
6367
6368 * i386.md: remove obsoleted comments.
6369 (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
6370 (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
6371 fix output template.
6372
6373 2001-03-31 Marek Michalkiewicz <marekm@linux.org.pl>
6374
6375 * config/avr/libgcc.S (__mulhi3): Optimize previous change.
6376
6377 2001-03-30 Bernd Schmidt <bernds@redhat.com>
6378
6379 * loop.c (load_mems): When generating a load from a pseudo, update
6380 REGNO_LAST_UID.
6381
6382 Fri Mar 30 17:36:43 CEST 2001 Jan Hubicka <jh@suse.cz>
6383
6384 * i386.c (ix86_split_long_move): Use change address to compensate
6385 stack pointer change in push instruction.
6386
6387 Fri Mar 30 00:31:00 CEST 2001 Jan Hubicka <jh@suse.cz>
6388
6389 * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
6390 instead of rtx_equal_p; fix the output template.
6391
6392 Fri Mar 30 00:21:41 CEST 2001 Jan Hubicka <jh@suse.cz>
6393
6394 * i386.c (ix86_expand_setcc): Support 64bit.
6395 (ix86_expand_int_movcc): Likewise.
6396 * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
6397 New patterns.
6398
6399 * i386.md (allocate_stack_worker): Turn to expander.
6400 (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
6401
6402 * i386.c (print_reg): Do not print x86_64 style regs on IA-32
6403
6404 2001-03-29 Richard Henderson <rth@redhat.com>
6405
6406 * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
6407
6408 2001-03-28 Matthew Hiller <hiller@redhat.com>
6409
6410 * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
6411 output template.
6412
6413 * MAINTAINERS: Added self.
6414
6415 2001-03-28 Richard Henderson <rth@redhat.com>
6416
6417 * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
6418 Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
6419
6420 2001-03-28 Jim Wilson <wilson@redhat.com>
6421
6422 * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
6423 operand_subword.
6424
6425 2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6426
6427 * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
6428
6429 * tradcif.y (yyerror): Likewise. Add format specifier in call to
6430 `error'.
6431
6432 * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
6433
6434 2001-03-28 DJ Delorie <dj@redhat.com>
6435
6436 * Makefile.in (stage1_build): Revert CFLAGS patch.
6437
6438 2001-03-28 Marek Michalkiewicz <marekm@linux.org.pl>
6439
6440 * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
6441 when multiplier or multiplicand is zero.
6442
6443 2001-03-28 Bernd Schmidt <bernds@redhat.com>
6444
6445 * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
6446
6447 * config/ia64/ia64.c (update_set_flags): New function, broken out of
6448 rtx_needs_barrier.
6449 (set_src_needs_barrier): Likewise.
6450 (rtx_needs_barrier): For SET case, use these two functions. Rework
6451 PARALLEL case to handle all inputs before all outputs.
6452 (emit_insn_group_barriers): Call init_insn_group_barriers only if we
6453 saw a label and no stop bit since then.
6454 (maybe_rotate, process_epilogue): Add prototypes.
6455
6456 2001-03-28 Richard Henderson <rth@redhat.com>
6457
6458 * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
6459 not TARGET_TOC for special toc restore handling.
6460 * config/rs6000/rs6000.md (eh_return): Likewise.
6461
6462 2001-03-28 Richard Henderson <rth@redhat.com>
6463
6464 * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
6465 current_function_calls_eh_return.
6466 (output_function_epilogue): Handle eh_return.
6467 * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
6468 (EH_RETURN_DATA_REGNO): New.
6469 (EH_RETURN_STACKADJ_RTX): New.
6470 (EH_RETURN_HANDLER_RTX): New.
6471 * config/sparc/sparc.md (call/short branch peepholes): Check
6472 can_throw_internal instead of in_same_eh_region.
6473
6474 * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
6475 for eh_return data registers.
6476 (rs6000_emit_prologue): Save eh_return data registers.
6477 (rs6000_emit_epilogue): Force inline restores if eh_return.
6478 Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX.
6479 * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
6480 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
6481 (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
6482 the target uses one.
6483 * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
6484 (return_eh_si, return_eh_di): Remove.
6485 (eh_return): New, from corpse of eh_epilogue.
6486 (eh_set_lr_si, eh_set_lr_di): New.
6487
6488 * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
6489 (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
6490 True for pic register if current_function_calls_eh_return.
6491 (ix86_expand_epilogue): Change "emit_return" argument into "style".
6492 Handle eh_return requirements.
6493 * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
6494 (EH_RETURN_STACKADJ_RTX): New.
6495 * config/i386/i386.md (exception_receiver): Remove.
6496 (eh_return, eh_return_1): New.
6497 * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
6498
6499 * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
6500 (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
6501 (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
6502 * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
6503 (EH_RETURN_DATA_REGNO): New.
6504 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
6505 * config/alpha/alpha.md (eh_epilogue): Remove.
6506 (exception_receiver): Use $26 for ldgp input.
6507 * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
6508
6509 2001-03-28 Richard Henderson <rth@redhat.com>
6510
6511 * except.c: Rewrite entirely for IA-64 ABI exception handling.
6512 * except.h: Likewise.
6513
6514 * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
6515 (LIB2ADDEHDEP): New.
6516 (LIB2FUNCS_EH): Remove.
6517 (LIB2ADD): Remove LIB2ADDEH.
6518 (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
6519 (LIBGCC_DEPS): Use LIB2ADDEHDEP.
6520 (crt{begin,end}[S].o): Likewise.
6521 (except.o): Update includes.
6522 * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
6523 (libgcc2_c_dep): Use LIB2ADDEHDEP.
6524
6525 * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
6526 * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
6527 * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
6528 * builtins.c (expand_builtin): Implement it.
6529 [BUILT_IN_EH_RETURN]: Update for nr arguments change.
6530 * c-common.c (c_common_nodes_and_builtins): Declare it.
6531 * c-decl.c (init_decl_processing): Update __builtin_eh_return.
6532 * calls.c (libfunc_nothrow): Remove.
6533 (emit_library_call_value_1): Don't call it.
6534 * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
6535 * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
6536 (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
6537 * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
6538 (current_funcdef_number): Globalize.
6539 (output_call_frame_info): Emit frame data if an lsda is needed.
6540 Generate augmentation for personality routine. Don't play with
6541 difference symbols.
6542 (dwarf2out_begin_prologue): Record funcdef_number.
6543 * dwarf2out.h (current_funcdef_number): Declare.
6544 * expr.c (expand_expr): Update for except.h name changes.
6545 Remove POPDCC_EXPR, POPDHC_EXPR. Add EXC_PTR_EXPR.
6546 * expr.h (LTI_throw, LTI_rethrow): Remove.
6547 (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
6548 (LTI_eh_rtime_match): Remove.
6549 (LTI_unwind_resume, LTI_eh_personality): Add.
6550 (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
6551 * final.c (final): Don't call check_exception_handler_labels,
6552 init_insn_eh_region, or free_insn_eh_region.
6553 (final_scan_insn): Always emit debug labels for
6554 NOTE_INSN_EH_REGION notes.
6555 * flags.h (flag_new_exceptions): Remove.
6556 * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
6557 (record_active_eh_regions): Remove.
6558 (count_basic_blocks): Check all instructions for REG_EH_REGION.
6559 Use can_throw_internal.
6560 (find_basic_blocks_1): Likewise.
6561 (move_stray_eh_region_notes): Remove.
6562 (find_label_refs): No eh_return_stub_label.
6563 (make_edges): Likewise. No init/free_eh_nesting_info. Handle RESX.
6564 (make_eh_edge): No eh_nest_info. Update for reachable_handlers
6565 changes.
6566 (delete_unreachable_blocks): Don't track deleted handlers.
6567 (flow_delete_block): Use maybe_remove_eh_handler.
6568 (delete_eh_regions): Remove.
6569 (merge_blocks): Don't check for eh region match.
6570 (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
6571 EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
6572 (init_propagate_block_info): Disable dead frame store optimization
6573 when current_function_calls_eh_return.
6574 (dump_bb): Don't print eh_beg, eh_end.
6575 * function.c (fixup_var_refs): No catch_clauses.
6576 (expand_function_end): Likewise. Call expand_eh_return before
6577 the return register use. Call sjlj_emit_function_exit_after.
6578 (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
6579 * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
6580 * ifcvt.c (dead_or_predicable): Remove eh region check.
6581 * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
6582 Don't check for EH vs parameters.
6583 (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
6584 (expand_inline_function): Call duplicate_eh_regions.
6585 (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
6586 (copy_insn_notes): Remap REG_EH_REGION notes.
6587 (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
6588 * integrate.h (struct inline_remap): Add local_return_label.
6589 * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
6590 check_exception_handler_labels, nor exception_optimize.
6591 (find_cross_jump): No EH region check.
6592 * optabs.c (init_optabs): Update for changed eh libfuncs.
6593 * rtl.def (RESX): New.
6594 * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
6595 * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
6596 checks. Update for except.h name changes.
6597 (expand_cleanups): Likewise.
6598 (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
6599 * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
6600 (compile_file): Call init_eh before init_optabs. Don't
6601 output_exception_table here.
6602 (rest_of_compilation): Call convert_from_eh_region_ranges,
6603 convert_to_eh_region_ranges, output_function_exception_table.
6604 Don't emit_eh_context.
6605 * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
6606 (EXC_PTR_EXPR): New.
6607
6608 * md.texi (eh_epilogue): Remove.
6609 (eh_return): Document.
6610 * tm.texi (EH_RETURN_DATA_REGNO): Document.
6611 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
6612
6613 * eh-common.h: Remove file.
6614 * frame-dwarf2.c, frame.c, frame.h: Remove files.
6615 * libgcc2.c (L_eh): Remove.
6616
6617 * unwind-dw2-fde.c: New file, largely copied from frame.c.
6618 * unwind-dw2-fde.h: New file.
6619 * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
6620 * unwind-sjlj.c, unwind.h, unwind.inc: New files.
6621 * libgcc-std.ver: Update for eh symbols.
6622
6623 2001-03-27 Richard Henderson <rth@redhat.com>
6624
6625 * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
6626 reduce false positives.
6627 (regmove_optimize): Disable if flag_non_call_exceptions.
6628
6629 * stmt.c (expand_return): Remove always true predicate.
6630 (expand_decl_cleanup_no_eh): Remove dead code.
6631
6632 * sched-deps.c (sched_analyze_insn): Consolidate scheduling
6633 barrier code. Add a scheduling barrier if a non-call insn
6634 can throw internally.
6635
6636 * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
6637 Auto-inc addresses trap only if their base register does.
6638
6639 * except.c (can_throw_internal): Rename from can_throw.
6640 * except.h, resource.c: Update references.
6641
6642 * integrate.c (copy_insn_list): Use returnjump_p.
6643 (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
6644
6645 * function.h (struct function): Move all boolean valued fields
6646 to single bit fields at the end of the struct.
6647
6648 * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
6649 jump.c, toplev.c:
6650 Rename asynchronous_exceptions to flag_non_call_exceptions.
6651
6652 * gthr-single.h (UNUSED): New. Distinguish between how C
6653 and C++ mark unused function arguments. Use throughout.
6654
6655 * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
6656 value to target configuration header.
6657 * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
6658 * config.in, configure: Rebuild.
6659 * except.h (USING_SJLJ_EXCEPTIONS): New. Define based on
6660 configuration and target defines.
6661 (exceptions_via_longjmp): Remove.
6662 * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
6663 Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
6664
6665 * except.h (flag_non_call_exceptions): Move ...
6666 * flags.h: ... here.
6667
6668 * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
6669 exceptions, put the note on the trapping instruction.
6670
6671 * flags.h (flag_new_exceptions): Remove.
6672 * toplev.c: Don't set it.
6673 * final.c: Don't check it.
6674 * except.c: Provide stub definition.
6675
6676 * flow.c (tidy_fallthru_edges): Don't combine complex edges.
6677 (calculate_global_regs_live): Kill call-clobbered registers
6678 across exception edges.
6679 * reg-stack.c (convert_regs_1): Kill the entire target stack
6680 across non-call exception edges.
6681
6682 * flow.c (cleanup_cfg): Take no argument.
6683 * output.h, sibcall.c, toplev.c: Update all calls.
6684
6685 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6686
6687 * configure.in: Don't check for bcopy.
6688 * configure, config.in: Regenerate.
6689
6690 * system.h: Don't define or prototype bcopy, instead poison it.
6691
6692 2001-03-27 Richard Henderson <rth@redhat.com>
6693
6694 * function.c (expand_function_start): Set DECL_REGISTER on
6695 a pseudo used for DECL_RESULT.
6696
6697 * rtl.h (LCT_NORETURN): New.
6698 * calls.c (emit_library_call_value_1): Handle it.
6699
6700 2001-03-27 Stan Shebs <shebs@apple.com>
6701
6702 * objc/objc-act.c (objc_init): Use dump_base_name.
6703 (gen_declaration): Clear the buffer arg.
6704 (gen_declaration_1): New function, body of gen_declaration.
6705 (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
6706 (gen_method_decl): Ditto, plus always clear buffer arg.
6707 (error_with_ivar): Simplify.
6708 (warn_with_method): Ditto.
6709 (build_message_expr): Don't clear buffers.
6710 (dump_interface): Ditto.
6711 (objc_debug): Ditto.
6712 (build_keyword_selector): Clear the buffer by only zeroing
6713 the first element.
6714 (objc_implementation_context): Declare.
6715 (start_class): Warn about missing @end.
6716 (finish_objc): Ditto.
6717
6718 2001-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
6719
6720 * reload1.c (eliminate_regs): Don't abort on MEM USEs.
6721
6722 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6723
6724 * Makefile.in (SYSTEM_H): Define.
6725 Depend on $(SYSTEM_H), not system.h.
6726
6727 * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
6728
6729 2001-03-27 Jim Wilson <wilson@redhat.com>
6730
6731 * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
6732 IA64_UNWIND_EMIT.
6733 * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
6734 (process_epilogue): New static function.
6735 (process_set): Call process_epilogue instead of emitting .restore
6736 directly.
6737 (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
6738
6739 * flow.c (struct reg_cond_life_info): New fields orig_condition
6740 and stores.
6741 (init_propagate_block_info): Set new fields.
6742 (mark_regno_cond_dead): Set and use new fields.
6743 (flush_reg_cond_reg_1): Likewise.
6744 (and_reg_cond, case AND): Check for redundant AND conditions.
6745 (mark_used_reg): Delete unnecessary clears before freeing splay trees.
6746 Set new fields.
6747
6748 2001-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6749
6750 * cppmacro.c (stringify_arg): Null terminate strings.
6751
6752 2001-03-27 Zack Weinberg <zackw@stanford.edu>
6753
6754 * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
6755 inclusion style. xm-m68hc11.h no longer exists.
6756 * config/m68hc11/xm-m68hc11.h: Delete file.
6757 * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
6758
6759 * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
6760 Don't define GCC_VERSION, N_, or PARAMS; don't include
6761 gansidecl.h or stdio.h. Define inhibit_libc here.
6762 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
6763 Delete code conditioned on #if GCC_VERSION == 2095.
6764
6765 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
6766 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
6767 Delete code conditioned on #if GCC_VERSION == 2095.
6768
6769 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6770
6771 * system.h: Include symcat.h.
6772 (STRINGIFY): Don't define.
6773
6774 * configure.in: Adjust comment.
6775
6776 * builtins.c: Use STRINGX, not STRINGIFY.
6777 * gencheck.c: Likewise.
6778 * gengenrtl.c: Likewise.
6779 * protoize.c: Likewise.
6780
6781 * cpplex.c: Don't include symcat.h.
6782 * cpplib.c: Likewise.
6783
6784 * gansidecl.h (HAVE_STRINGIZE): Don't define.
6785
6786 2001-03-27 Alan Modra <alan@linuxcare.com.au>
6787
6788 * c-typeck.c (digest_init): Fold init expression.
6789
6790 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6791
6792 * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
6793
6794 2001-03-27 Alan Modra <alan@linuxcare.com.au>
6795
6796 * except.c (eh_regs): Save results of build_pointer_type to a temp
6797 as FUNCTION_VALUE macro may evaluate its args multiple times.
6798
6799 2001-03-26 Mark Mitchell <mark@codesourcery.com>
6800
6801 * c-common.h (DECL_NUM_STMTS): New macro.
6802 * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
6803 DECL_FRAME_SIZE.
6804 (pushdecl): Likewise.
6805 * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
6806 * integrate.c (expand_inline_function): Don't check
6807 DECL_FRAME_SIZE.
6808 * print-tree.c (print_node): Don't print it.
6809 * toplev.c (rest_of_compilation): Don't try to inline when
6810 flag_no_inline is on.
6811 * tree.h (DECL_FRAME_SIZE): Remove.
6812 (tree_decl): Adjust accordingly.
6813
6814 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6815
6816 * combine.c (try_combine): Use memcpy, not bcopy.
6817
6818 * genattrtab.c (expand_units): Likewise.
6819
6820 Mon Mar 26 15:55:08 CEST 2001 Jan Hubicka <jh@suse.cz>
6821
6822 * i386.md (push mem DI peep2): New.
6823 (mov 0, mov -1 peep2): Handle 64bit.
6824 (lea to arithmetics peep2): Handle 64bit leas.
6825 (rsp arithmetics to push/pop peep2s): New.
6826
6827 * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
6828
6829 Mon Mar 26 14:35:18 CEST 2001 Jan Hubicka <jh@suse.cz>
6830
6831 * i386.c (struct machine_function): Add save_varrargs_registers.
6832 (ix86_save_varrargs_registers): New macro.
6833 (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
6834 (ix86_expand_prologue): Likewise.
6835 (ix86_emit_epilogue_esp_adjustement): Likewise.
6836 (ix86_expand_epilogue): Likewise.
6837 * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
6838 (pro_epilogue_adjust_stack_1): New insn.
6839 (pro_epilogue_adjust_stack_rex64): Likewise.
6840 * i386.h (MASK_NO_RED_ZONE): New constant.
6841 (TARGET_RED_ZONE): New macro.
6842 (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
6843 (RED_ZONE_SIZE): New constant.
6844 (RED_ZONE_RESERVE): New constant.
6845
6846 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6847
6848 * toplev.c (set_float_handler): Use memcpy, not bcopy.
6849
6850 2001-03-25 Kazu Hirata <kazu@hxi.com>
6851
6852 * config/h8300/h8300.md (umodqi3): Output a tab instead of a
6853 space.
6854 (modqi3): Likewise.
6855 (umodhi3): Likewise.
6856 (modhi3): Likewise.
6857
6858 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6859
6860 * mkconfig.sh (DEFINES): Handle entries with '='.
6861
6862 * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
6863 Set xm_defines to MACRO=value instead.
6864
6865 * i370/xm-mvs.h: Delete.
6866
6867 * ns32k/xm-pc532-min.h: Likewise.
6868
6869 Sun Mar 25 15:01:40 CEST 2001 Jan Hubicka <jh@suse.cz>
6870
6871 * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
6872 shiftdi_operand;
6873 use ix86_expand_binary_operator
6874 (?sh??i_?): Disable for 64bit.
6875 * i386.h (PREDICATE_CODES): Add shiftdi_operand.
6876 * i386.c (shiftdi_operand): New predicate.
6877
6878 * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
6879 ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
6880 ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
6881 ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
6882 ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
6883 lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
6884 lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
6885 rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
6886 rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
6887 rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
6888 (rotldi3, rotrdi3): New expanders.
6889
6890 Sun Mar 25 14:25:33 CEST 2001 Jan Hubicka <jh@suse.cz>
6891
6892 * i386.md (movstrsi): Move offline.
6893 (movstrdi): New.
6894 (strmovdi_rex64): New.
6895 (strmov?i): Accept 64bit.
6896 (strmov?i_rex64): New.
6897 (strmov?i_rex_1): New.
6898 (strmov?i_1): Disable for 64bit.
6899 (rep_mov?i_rex64): New.
6900 (rep_mov?i): Disable for 64bit.
6901 (clrstrsi): Move offline.
6902 (strset?i_rex64): New.
6903 (strset?i: Accept 64bit.
6904 (rep_stos?i): Disable for 64bit.
6905 (rep_stos?i_rex64): New.
6906 (strset?i_rex_1): New.
6907 (strset?i_1): Disable for 64bit.
6908 (cmpstrsi): Accept 64bit.
6909 (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
6910 (cmpstrqi_nz_rex_1): New.
6911 (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
6912 (strlensi): Move offline.
6913 (strlendi): New.
6914 (strlenqi_1): Disable for 64bit; fix constraints.
6915 (strlenqi_rex_1): New.
6916 * i386.c (ix86_adjust_counter): New static function.
6917 (ix86_zero_extend_to_Pmode): Likewise.
6918 (ix86_expand_aligntest): Likweise.
6919 (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
6920 (ix86_expand_movstr): New global function.
6921 (ix86_expand_clrstr): New global function.
6922 (ix86_expand_strlen): New global function.
6923 * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
6924 ix86_expand_strlen): Declare.
6925 (ix86_expand_strlensi_unroll_1): Delete.
6926
6927 Sat Mar 24 23:15:19 CET 2001 Jan Hubicka <jh@suse.cz>
6928
6929 * i386.md (cmpdi): Fix operand predicates.
6930 (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
6931 cmpdi_1_insn_rex64): New patterns.
6932 (adddi3): Turn to expander.
6933 (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
6934 (addsi3_carry_zext): New pattern.
6935 (adddi_?_rex64): New patterns and splitters.
6936 (addsi_?_zext): New patterns.
6937 (subsi3_carry_zext): New pattern.
6938 (subdi_?_rex64): New patterns and splitters.
6939 (iorsi_?_zext): New patterns.
6940 (iordi_?_rex64): New patterns and splitters.
6941 (iorsi_?_zext): New patterns.
6942 (iorsi_?_zext_imm): New patterns.
6943 (xorsi_?_zext): New patterns.
6944 (xordi_?_rex64): New patterns and splitters.
6945 (xorsi_?_zext): New patterns.
6946 (negdi*): New patterns.
6947 (one_cmpldi*): Likewise.
6948 (one_cmplsi*_zext, negsi*_zext): Likewise.
6949 (testqi_ext_3_rex64): New pattern.
6950
6951 Sat Mar 24 21:13:28 CET 2001 Jan Hubicka <jh@suse.cz>
6952
6953 * i386-protos.h (ix86_split_long_move): Return void.
6954 * i386.c (ix86_split_to_parts): Handle 64bit target.
6955 (ix86_split_long_move): Likewise.
6956 * i386.md (all calls to ix86_split_long_move): Update.
6957
6958 2001-03-23 Richard Henderson <rth@redhat.com>
6959
6960 * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
6961 to avoid shadowing arguments.
6962
6963 2001-03-23 Jakub Jelinek <jakub@redhat.com>
6964
6965 * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
6966 to variable names where DECL_NAME is different from
6967 DECL_ASSEMBLER_NAME.
6968
6969 2001-03-23 Jim Wilson <wilson@redhat.com>
6970
6971 * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
6972 (assemble_alias): Call make_decl_rtl.
6973
6974 Fri Mar 23 16:59:08 2001 J"orn Rennecke <amylaar@redhat.com>
6975
6976 * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
6977
6978 2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
6979
6980 * extend.texi: Document the "java_interface" attribute.
6981
6982 2001-03-22 Zack Weinberg <zackw@stanford.edu>
6983
6984 * mkconfig.sh: Use a subshell with redirected stdout,
6985 instead of closing stdout and confusing commands that run
6986 afterward. Throw away output of cmp.
6987
6988 2001-03-22 Gordon Sadler <gbsadler1@lcisp.com>
6989
6990 * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
6991
6992 Thu Mar 22 22:15:59 CET 2001 Jan Hubicka <jh@suse.cz>
6993
6994 * i386.md (zero_extendsidi2_32): Break out from ...
6995 (zero_extendsidi2): ... here ; turn to expander.
6996 (zero_extendsidi2_rex64): New.
6997 (extendsidi2_32): Break out from ...
6998 (extendsidi2): ... here ; turn to expander.
6999 (extendsidi2_rex64): New.
7000 (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
7001 (trunc?f?f splitters): Add 64bit versions.
7002
7003 Thu Mar 22 21:41:16 CET 2001 Jan Hubicka <jh@suse.cz>
7004
7005 * i386.md (pushsi, pushsi2_prologue): Disable.
7006 (pushsi2_rex64): New.
7007 (movabs?i_1_rex64, movabs?i_2_rex64): New.
7008 (movqi_ext_1): Disable for 64bit.
7009 (movqi_ext_1_rex64): New.
7010 (pushdi2_rex64): New pattern, peep2s and splitter.
7011 (pushdi2_prologue_rex64): New pattern.
7012 (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
7013 Likewise.
7014 (movdi splitters): Disable for 64bit.
7015 (movdi_1_rex64): New pattern, peep2s and splitters.
7016 (swapdi): New pattern.
7017 (pushsf): Disable for 64bit.
7018 (pushsf_rex64): New pattern and splitter.
7019 (pushdf_nointeger): Disable for 64bit.
7020 (pushdf_integer): Handle the 64bit case.
7021 (pushtf): Likewise; update splitters.
7022
7023 2001-03-22 Richard Henderson <rth@redhat.com>
7024
7025 * mkconfig.sh: Include insn-flags.h.
7026 * Makefile.in (CONFIG_H): Include insn-flags.h.
7027 (lots of objects): Remove insn-codes.h and insn-flags.h.
7028
7029 * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
7030 integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
7031 regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
7032 avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
7033 dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
7034 i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
7035 m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
7036 mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
7037 pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
7038 v850/v850.c, vax/vax.c:
7039 Don't include insn-flags.h.
7040
7041 * diagnostic.c, expr.h, reload.c, toplev.c:
7042 Don't include insn-codes.h.
7043
7044 * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
7045 final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
7046 c4x/c4x.c, i960/i960.c, mips/mips.c:
7047 Don't include insn-codes.h or insn-flags.h.
7048
7049 * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
7050 or insn-flags.h in the generated code.
7051 * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
7052 (main): Forward declare struct rtx_def.
7053
7054 2001-03-22 Joseph S. Myers <jsm28@cam.ac.uk>
7055
7056 * invoke.texi (-ffast-math): Remove duplicate line about
7057 __FAST_MATH__.
7058
7059 * gcc.texi: Remove more obsolete documentation of bugs and
7060 installation problems.
7061
7062 2001-03-21 Kazu Hirata <kazu@hxi.com>
7063
7064 * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
7065 into two parts.
7066
7067 2001-03-20 Jason Merrill <jason@redhat.com>
7068
7069 * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
7070 not '.' or '$'.
7071 * tree.c (FILE_FUNCTION_FORMAT): Likewise.
7072 * varasm.c (CHKR_PREFIX): Likewise.
7073
7074 Wed Mar 21 14:27:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7075
7076 * gcse.c (hash_scan_set): An expression is not anticipatible if it
7077 is part of a multi-SET insn.
7078
7079 * cse.c (find_comparison_args): Remove previous change.
7080 * ifcvt.c (noce_process_if_block): When moving an insn, remove any
7081 REG_EQUAL notes.
7082
7083 * config/i386/i386.md (conditional_trap): Remove warning.
7084
7085 * recog.c (push_operand): Fix error in last change that caused
7086 undefined symbol on many targets.
7087
7088 * sdbout.c: #include ggc.h.
7089 (sdbout_init): Move to end of file.
7090 Call ggc_add_tree_root for anonymous_types.
7091 (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
7092 (sdbout_one_type): Use DECL_NAME for field name.
7093 * Makefile.in (sdbout.o): Show includes ggc.h.
7094
7095 Wed Mar 21 20:33:26 CET 2001 Jan Hubicka <jh@suse.cz>
7096
7097 * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
7098 (override_options): Use properlimits for preferred_stack_boundary.
7099 (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
7100 on x86_64.
7101 (ext_register_operand): Accept DImode.
7102 (load_pic_register): Abort on 64bit.
7103 (gen_push): Use Pmode instead of SImode.
7104 (ix86_save_reg): Pic reg is never used on 64bit.
7105 (ix86_expand_prologue): Likewise.
7106 (ix86_emit_save_regs): Use Pmode instead of SImode.
7107 (legitimate_address_p): Check displacement for 64bit.
7108 (print_operand): Avoid outputting of (%rip) on 64bit.
7109 (print_operand_address): Output (%rip) where possible.
7110 (split_di): Abort on 64bit registers.
7111 (ix86_expand_branch): DImode comparison is simple for x86_64.
7112 (memory_address_length): Recognize memory addresses formed using
7113 PRE/POST modify.
7114 (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
7115 for x86_64.
7116 * i386.h (TARGET_USE_SAHF): Disable for 64bit.
7117
7118 Wed Mar 21 18:51:19 CET 2001 Jan Hubicka <jh@suse.cz>
7119
7120 * recog.c (push_operand): Recognize new format of push instructions.
7121
7122 Wed Mar 21 10:53:57 CET 2001 Jan Hubicka <jh@suse.cz>
7123
7124 * i386.md (pushqi1): New.
7125 * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
7126 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
7127 x86_64_immediate_operand, x86_64_immediate_operand,
7128 x86_64_zext_immediate_operand): Declare.
7129 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
7130 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
7131 x86_64_immediate_operand, x86_64_immediate_operand,
7132 x86_64_zext_immediate_operand): define.
7133 * i386.h (PREDICATE_CODES): Add new predicates.
7134
7135 Wed Mar 21 10:25:13 CET 2001 Jan Hubicka <jh@suse.cz>
7136
7137 * i386.md (pophi1, popqi1, pushqi1): Remove.
7138
7139 * expr.c (emit_single_push_insn): New function.
7140 (move_by_pieces): Accept NULL as destination for push instructions.
7141 (gen_push_operand): Kill.
7142 (emit_push_insn): Pass NULL when pushing; avoid updating of
7143 stack_pointer_delta.
7144 * expr.h (gen_push_operand): Kill.
7145
7146 Tue Mar 20 20:15:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7147
7148 * rtl.texi (COMPARE): Clarify documentation and reference section
7149 on comparisons.
7150
7151 2001-03-20 Stan Shebs <shebs@apple.com>
7152
7153 * objc/objc-act.c (get_static_reference): Use NULL_TREE.
7154 (get_object_reference): Ditto.
7155 (error_with_ivar): Use error_with_file_and_line.
7156 (warn_with_method): Use warning_with_file_and_line.
7157
7158 2001-03-20 Tom Tromey <tromey@redhat.com>
7159
7160 * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
7161
7162 2001-03-20 Mark Mitchell <mark@codesourcery.com>
7163
7164 * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
7165 variables that are TREE_PUBLIC, even if not TREE_STATIC.
7166
7167 2001-03-20 DJ Delorie <dj@redhat.com>
7168
7169 * Makefile.in (install-libgcc): Pass complete list of variables.
7170 (install-multilib): Ditto.
7171
7172 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
7173
7174 * config/i386/cygwin.h: Declare ctor_section, dtor_section
7175 drectve_section, switch_to_section.
7176
7177 * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
7178 i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
7179 i386_pe_mark_dllimport.
7180
7181 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
7182
7183 * config/i386/cygwin.h: Include <stdio.h> Declare and constify
7184 functions i386_pe_*.
7185
7186 * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
7187 i386_pe_* functions with char * arguments.
7188
7189 2001-03-20 Alexandre Oliva <aoliva@redhat.com>
7190
7191 * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
7192 and store.
7193 (movsi_ie): Introduce fpul store.
7194
7195 2001-03-20 Alan Modra <alan@linuxcare.com.au>
7196
7197 * Makefile.in (OBJS): Remove hashtab.o.
7198
7199 2001-03-19 Stan Shebs <shebs@apple.com>
7200
7201 * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
7202 * c-lang.c (maybe_objc_method_name): Ditto.
7203 * c-tree.h (maybe_objc_method_name): Remove decl.
7204
7205 2001-03-19 Tom Tromey <tromey@redhat.com>
7206
7207 * gcc.c (init_gcc_specs): Fix comment.
7208
7209 2001-03-19 Mark Mitchell <mark@codesourcery.com>
7210
7211 Compute DECL_ASSEMBLER_NAME lazily.
7212 * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
7213 (DECL_ASSEMBLER_NAME_SET_P): New macro.
7214 (SET_DECL_ASSEMBLER_NAME): Likewise.
7215 (COPY_DECL_ASSEMBLER_NAME): Likewise.
7216 (set_decl_assembler_name): Declare.
7217 (lang_set_decl_assembler_name): Likewise.
7218 * tree.c (lang_set_decl_assembler_name): New variab.e
7219 (set_decl_assembler_name): New function.
7220 (init_obstacks): Set lang_set_decl_assembler_name.
7221 (build_decl): Don't set DECL_ASSEMBLER_NAME.
7222 * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
7223 COPY_DECL_ASSEMBLER_NAME, etc. Don't set DECL_ASSEMBLER_NAME
7224 where it's not necessary.
7225 (builtin_function): Likewise.
7226 (finish_decl): Likewise.
7227 * dbxout.c (dbxout_type_methods): Likewise.
7228 * ggc-common.c (ggc_mark_trees): Likewise.
7229 * profile.c (output_func_start_profiler): Likewise.
7230 * varasm.c (make_decl_rtl): Likewise.
7231
7232 * cse.c (find_comparison_args): Update documentation. Fix
7233 mishandling of COMPARE operations.
7234
7235 * tree.def (ABS_EXPR): Add documentation.
7236 * fold-const.c (fold): Improve folding of ABS_EXPRs.
7237
7238 2001-03-19 Zack Weinberg <zackw@stanford.edu>
7239
7240 * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
7241
7242 2001-03-19 Jakub Jelinek <jakub@redhat.com>
7243
7244 * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
7245 Remove ia32 linux PIC kludge and move it...
7246 * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
7247
7248 Mon Mar 19 18:53:54 CET 2001 Jan Hubicka <jh@suse.cz>
7249
7250 * i386.md (absdf2 expander): Fix 64bit case.
7251
7252 2001-03-19 Brad Lucier <lucier@math.purdue.edu>
7253
7254 * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
7255
7256 2001-03-16 Andrew Haley <aph@cambridge.redhat.com>
7257
7258 * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
7259
7260 2001-03-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7261
7262 * README.X11: Remove obsolete file.
7263
7264 2001-03-18 Anthony Green <green@redhat.com>
7265
7266 * config/pj/pj.h: Remove some trailing commas.
7267 (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
7268
7269 2001-03-18 Richard Henderson <rth@redhat.com>
7270
7271 * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
7272 * calls.c: ... here.
7273 * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
7274 defaults for them here.
7275
7276 2001-03-17 Anthony Green <green@redhat.com>
7277
7278 * config/pj/lib1funcs.S: Fix broken comment.
7279 * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
7280 labels with '.'.
7281
7282 2001-03-18 Joseph S. Myers <jsm28@cam.ac.uk>
7283
7284 * gcc.texi: Remove obsolete information relating to build and
7285 installation problems with enquire or the Pyramid C compiler.
7286
7287 2001-03-17 Richard Henderson <rth@redhat.com>
7288
7289 * dwarf2out.c (queue_reg_save): New.
7290 (flush_queued_reg_saves, clobbers_queued_reg_save): New.
7291 (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
7292 dwarf2out_reg_save.
7293 (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
7294 (cfa, cfa_store, cfa_temp): Make static.
7295 * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
7296
7297 2001-03-17 Richard Henderson <rth@redhat.com>
7298
7299 * integrate.h (struct inline_remap): Add local_return_label.
7300 * integrate.c (expand_inline_function): Initialize it and emit
7301 it after copy_insn_notes.
7302 (copy_insn_list): Don't store local_return_label here.
7303 (copy_insn_notes): New function split out from copy_insn_list.
7304
7305 2001-03-17 Richard Henderson <rth@redhat.com>
7306
7307 * dwarf2out.c (lookup_filename): Emit .file if the assembler
7308 is generating .debug_line.
7309 (dwarf2out_init): Add main_input_filename to the file table first.
7310 * configure.in (as_dwarf2_debug_line): Test with file number 1
7311 instead of file number 0.
7312
7313 Sat Mar 17 11:52:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7314
7315 * combine.c (undobuf): Remove field previous_undos; all refs deleted.
7316 (gen_rtx_combine): Deleted; all references changed as appropriate.
7317 (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
7318
7319 * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
7320
7321 2001-03-17 David Billinghurst <David.Billinghurst@riotinto.com>
7322
7323 * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused
7324 variable.
7325
7326 2001-03-16 Jim Wilson <wilson@redhat.com>
7327
7328 * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
7329 then set it to LOC_REG (79) instead of aborting.
7330
7331 2001-03-16 Phil Edwards <pme@sources.redhat.com>
7332
7333 * gccbug.in: Remove high priority.
7334
7335 2001-03-16 Richard Henerson <rth@redhat.com>
7336
7337 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
7338 output with a space instead of deleting it.
7339 * configure: Regenerate.
7340
7341 2001-03-16 Zack Weinberg <zackw@stanford.edu>
7342
7343 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
7344 handles the gory details of converting an object file into
7345 something that's safe to grep.
7346 (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
7347 gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put
7348 newlines at either end of the string we're looking for.
7349 Make 'checking ...' message less stilted.
7350 (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle
7351 ARM in-memory layout and its hypothetical converse. Don't
7352 define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
7353 HOST_WORDS_BIG_ENDIAN.
7354
7355 * configure.in: Adjust for renamed macro. Move
7356 gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
7357 * configure, config.in: Regenerate.
7358
7359 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
7360
7361 * fixinc/Makefile.in: Set SHELL.
7362
7363 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
7364
7365 * fixinc/fixincl.c (fix_with_system): Quote file names before
7366 passing them to shell.
7367
7368 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
7369
7370 * Makefile.in: Use fix-header$(build_exeext) instead
7371 of fix-header.
7372
7373 2001-03-16 Richard Henderson <rth@redhat.com>
7374
7375 * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
7376 (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
7377 (size_of_line_prolog): Remove.
7378 (output_line_info): Compute prologue size via label difference.
7379 (lookup_filename): Return "unspecified" for <internal> and <built-in>.
7380
7381 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
7382 assembler error when redefining file numbers.
7383 * config.in, configure: Rebuild.
7384
7385 * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
7386 (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
7387 (dw2_asm_output_delta_uleb128): Likewise.
7388 (dw2_asm_output_delta_sleb128): Similarly.
7389 (dw2_asm_output_data_sleb128): Similarly. Print number in decimal.
7390
7391 2001-03-16 Michael Meissner <meissner@redhat.com>
7392
7393 * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
7394 warnings.
7395 (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
7396 warnings.
7397 (BITMASK_LOWER16): Replacement for 0x0000ffff.
7398
7399 * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
7400 instead of 0xffff0000/0x0000ffff to avoid warnings about constants
7401 being unsigned in ISO C and signed in traditional.
7402 (expand_prologue): Ditto.
7403 (RA_MASK): Use BITMASK_HIGH to avoid warnings.
7404
7405 * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
7406 warnings.
7407 (divsi3,divdi3): Ditto.
7408 (modsi3,moddi3): Ditto.
7409 (fix_truncdfsi2,fix_truncdfdi2): Ditto.
7410 (fix_truncsfsi2,fix_truncsfdi2): Ditto.
7411 (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
7412 warnings.
7413
7414 Fri Mar 16 14:47:57 CET 2001 Jan Hubicka <jh@suse.cz>
7415
7416 * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
7417 SSE based conditional moves on LTGT/UNEQ conditions;
7418 Canonicalize EQ to NE.
7419 * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
7420 (sse_mov?fcc_ne): New.
7421
7422 * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
7423
7424 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
7425
7426 * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
7427 register may be dead.
7428
7429 2001-03-16 Brad Lucier <lucier@math.purdue.edu>
7430
7431 * Makefile.in (hash.o): Depend on CONFIG_H.
7432
7433 2001-03-15 Mark Mitchell <mark@codesourcery.com>
7434
7435 * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
7436
7437 2001-03-15 Richard Henderson <rth@redhat.com>
7438
7439 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
7440 (ASM_OUTPUT_DWARF_PCREL): New.
7441 * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
7442
7443 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
7444
7445 * cppfiles.c (stack_include_file): Use MAX of sysp.
7446
7447 2001-03-15 Steve Ellcey <sje@cup.hp.com>
7448
7449 * config.gcc (ia64*-*-hpux*): New case.
7450 * config/ia64/hpux.h: New file for HP-UX support.
7451 * config/ia64/t-hpux: New file for HP-UX support.
7452
7453 2001-03-16 Bruce Korb <bkorb@gnu.org>, Alexandre Oliva <aoliva@redhat.com>
7454
7455 * fixinc/inclhack.def (irix_stdio_va_list): New.
7456 * fixinc/fixincl.x: Rebuilt.
7457
7458 2001-03-15 Richard Henderson <rth@redhat.com>
7459
7460 * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
7461 if provided by the target.
7462 (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
7463 (dw2_asm_output_addr): New.
7464 * dwarf2asm.h (dw2_asm_output_addr): Declare.
7465 * dwarf2out.c (output_cfi): Use it for program addresses.
7466 (output_call_frame_info, output_die): Likewise.
7467 (output_aranges, output_line_info): Likewise.
7468
7469 2001-03-15 Bruce Korb <bkorb@gnu.org>
7470
7471 * gcc.c(main): make more rigorous
7472 * collect2.c(main): guard against ignoring SIGCHLD
7473 * protoize.c(main): ditto
7474 * gcc/fixinc/fixincl.c(initialize): ditto
7475
7476 2001-03-15 Mark Mitchell <mark@codesourcery.com>
7477
7478 * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
7479 (sdbout_parms): Likewise.
7480
7481 Thu Mar 15 12:57:14 2001 Jeffrey A Law (law@cygnus.com)
7482
7483 * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
7484 "widen" a destination that is already wider than a word. Also do
7485 not widen if LOAD_EXTEND_OP is NIL for the given mode.
7486
7487 2001-03-15 Bernd Schmidt <bernds@redhat.com>
7488
7489 * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
7490
7491 Thu Mar 15 11:30:31 EST 2001 John Wehle (john@feith.com)
7492
7493 * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
7494
7495 Thu Mar 15 11:24:29 EST 2001 John Wehle (john@feith.com)
7496
7497 * i960.h (i960_maxbitalignment,
7498 i960_last_maxbitalignment): Declare.
7499 * i960.c (i960_maxbitalignment,
7500 i960_last_maxbitalignment): Make global.
7501 (process_pragma): Delete.
7502 (i960_pr_align, i960_pr_noalign): Move from here ...
7503 * i960-c.c: ... to this new file.
7504 * t-960bare (i960-c.o): New rule.
7505 * t-vxworks960 (i960-c.o): Likewise.
7506 * config.gcc (i960-*-*): Define c_target_objs and
7507 cxx_target_objs.
7508
7509 2001-03-15 Bernd Schmidt <bernds@redhat.com>
7510
7511 * cselib.c (hash_rtx): For REG and MEM, just use value of expression
7512 without adding in rtx code and mode.
7513
7514 * alias.c (init_alias_analysis): Don't use any rtx whose value
7515 varies as a known value.
7516 Delete a superfluous test.
7517
7518 * config/ia64/ia64.c (maybe_rotate): New function, broken out of
7519 ia64_sched_reorder.
7520 (ia64_sched_reorder): Call maybe_rotate; also rotate after
7521 scheduling a stop bit.
7522 (ia64_emit_nops): Correctly handle ASMs.
7523
7524 2001-03-15 Mark Mitchell <mark@codesourcery.com>
7525
7526 * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
7527
7528 2001-03-15 Neil Booth <neil@daikokuya.demon.co.uk>
7529
7530 * cpp.texi: Update documentation for -include and -imacros.
7531 * cppfiles.c (struct include_file): Remove "defined" memeber.
7532 (find_or_create_entry): Make a copy of the file name, and
7533 simplify it.
7534 (open_file): Update to ensure we use the simplified filename.
7535 (stack_include_file): Don't set search_from.
7536 (cpp_included): Don't simplify the path name here.
7537 (find_include_file): New prototype. Call search_from to
7538 get the start of the "" include chain. Don't simplify the
7539 filenames here.
7540 (_cpp_execute_include): New prototype. Move diagnostics to
7541 do_include_common. Update.
7542 (_cpp_pop_file_buffer): Don't set defined.
7543 (search_from): New prototype. Use the preprocessor's cwd
7544 for files included from the command line.
7545 (read_name_map): Don't simplify the pathname here.
7546 * cpphash.h (enum include_type): New.
7547 (struct buffer): Delete search from. New search_cached.
7548 (_cpp_execute_include): Update prototype.
7549 * cppinit.c (do_includes): Use _cpp_execute_include.
7550 * cpplib.c (do_include_common): New function.
7551 (do_include, do_include_next, do_import): Use it.
7552
7553 2001-03-14 Mark Mitchell <mark@codesourcery.com>
7554
7555 * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
7556 contents of the RTL, to determine the name of the object.
7557
7558 2001-03-14 Mark Mitchell <mark@codesourcery.com>
7559
7560 * tree.h (DECL_RTL): Allocate RTL lazily.
7561 (SET_DECL_RTL): New macro.
7562 (DECL_RTL_SET_P): Likewise.
7563 (COPY_DECL_RTL): Likewise.
7564 (DECL_RTL_IF_SET): Likewise.
7565 * varasm.c (make_decl_rtl): Add assertions about the kind of
7566 declaration we are processing.
7567 * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
7568 (start_decl): Likewise.
7569 (finish_decl): Likewise.
7570 * c-semantics.c (emit_local_var): Likewise.
7571 * calls.c (expand_call): Likewise.
7572 * dbxout.c (dbxout_symbol): Likewise.
7573 * emit-rtl.c (unshare_all_rtl): Likewise.
7574 (unshare_all_decls): Likewise.
7575 (reset_used_decls): Likewise.
7576 * expr.c (store_constructor): Likewise.
7577 (safe_from_p): Likewise.
7578 (expand_expr): Likewise.
7579 * function.c (put_var_into_stack): Likewise.
7580 (instantiate_decls_1): Likewise.
7581 (assign_parms): Likewise.
7582 (expand_function_start): Likewise.
7583 (expand_function_end): Likewise.
7584 * ggc-common.c (gcc_mark_trees): Likewise.
7585 * integrate.c (function_cannot_inline_p): Likewise.
7586 (copy_decl_for_inlining): Likewise.
7587 (expand_inline_function): Likewise.
7588 (integrate_parm_decls): Likewise.
7589 (integrate_decl_tree): Likewise.
7590 * print-tree.c (print_node): Likewise.
7591 * reg-stack.c (stack_result): Likewise.
7592 * stmt.c (label_rtx): Likewise.
7593 (expand_return): Likewise.
7594 (expand_decl): Likewise.
7595 (expand_decl_cleanup): Likewise.
7596 (expand_anon_union_decl): Likewise.
7597 * toplev.c (check_global_declarations): Likewise.
7598 (rest_of_decl_compilation): Likewise.
7599 * tree.c (simple_cst_equal): Likewise.
7600 * objc/objc-act.c (generate_static_references): Likewise.
7601
7602 2001-03-14 Zack Weinberg <zackw@stanford.edu>
7603
7604 * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
7605 gcc_AC_C_FLOAT_FORMAT): New macros.
7606 * configure.in: Add AC_PROG_CPP after CC tests;
7607 gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
7608 tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
7609 * configure, config.in: Regenerate.
7610
7611 * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
7612 config/arm/xm-arm.h, config/c4x/xm-c4x.h,
7613 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
7614 config/i370/xm-linux.h, config/i370/xm-oe.h,
7615 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
7616 config/m68k/xm-m68k.h, config/mips/xm-mips.h,
7617 config/pa/xm-linux.h, config/pa/xm-pa.h,
7618 config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
7619 config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
7620 config/sparc/xm-sparc.h, config/vax/xm-vax.h,
7621 config/we32k/xm-we32k.h: Delete.
7622
7623 * config/i370/xm-mvs.h, config/m88k/m88k.h,
7624 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
7625 config/vax/xm-vms.h: Don't define any of:
7626 HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
7627
7628 * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
7629
7630 * config.gcc: Remove references to deleted files.
7631 (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
7632 FATAL_EXIT_CODE, which is the same between oe and mvs).
7633
7634 2001-03-14 DJ Delorie <dj@redhat.com>
7635 Vladimir Makarov <vmakarov@redhat.com>
7636
7637 * config/i960/i960.c (i960_function_prologue): Compute size of
7638 frame according to number of registers actually saved there.
7639
7640 2001-03-14 Richard Henderson <rth@redhat.com>
7641
7642 * expr.c (emit_move_insn_1): Fix else if around #endif.
7643
7644 Wed Mar 14 22:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
7645 Vojtech Pavlik
7646
7647 * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
7648 constraints.
7649
7650 Wed Mar 14 22:26:10 CET 2001 Jan Hubicka <jh@suse.cz>
7651
7652 * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
7653 (override_options): Parse cmodel string.
7654 (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
7655 * i386.h (TARGET_OPTIONS): Add "cmodel".
7656 (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
7657 (enum cmodel): New.
7658 (ix86_cmodel_string, ix86_cmodel): Declare.
7659
7660 Wed Mar 14 22:26:54 CET 2001 Jan Hubicka <jh@suse.cz>
7661
7662 Spot by Matt Kraai:
7663 * i386.h (GENERAL_REG_P): Add missing REG_P.
7664
7665 2001-03-14 Laurynas Biveinis <lauras@softhome.net>
7666
7667 * configure.in: Use $gcc_cv_as instead of $as.
7668 * configure: Regenerated.
7669
7670 2001-03-14 Neil Booth <neil@daikokuya.demon.co.uk>
7671
7672 * cppfiles.c (stack_include_file): Only increase the include
7673 count if we actually process the file properly, as opposed
7674 to treating it as length zero. Only call read_include_file
7675 if not DO_NOT_REREAD. Handle the -H include file output
7676 here.
7677 (read_include_file): Remove now redundant DO_NOT_REREAD check.
7678 (cpp_included, find_include_file): Simplify pathnames after
7679 remapping them. If remapping, don't use the remapped file
7680 name's buffer as our scratch buffer.
7681 (cpp_pop_file_buffer): Replace the multiple include macro
7682 only if it isn't yet set.
7683 (read_name_map): Simplify remapped names when reading in.
7684 (remap_filename): Move code to code path that uses it.
7685 (_cpp_simplify_pathname): Return the input pointer.
7686 * cpphash.h (_cpp_simplify_pathname): Update prototype.
7687
7688 2001-03-14 Mark Mitchell <mark@codesourcery.com>
7689
7690 * expr.c (expand_expr): Revove bogus conditional.
7691
7692 Wed Mar 14 19:29:50 CET 2001 Jan Hubicka <jh@suse.cz>
7693
7694 * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
7695
7696 2001-03-14 Jakub Jelinek <jakub@redhat.com>
7697
7698 * reg-stack.c (stack_result): Unconditionally use
7699 FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
7700
7701 Wed Mar 14 16:36:25 CET 2001 Jan Hubicka <jh@suse.cz>
7702
7703 * expr.c (emit_move_insn_1): Split push of complex value when
7704 no suitable push instruction exist.
7705
7706 * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
7707 instead of QI_REG_P.
7708
7709 Tue Mar 13 22:22:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7710
7711 * alias.c (handled_component_p, can_address_p): New functions.
7712 (get_alias_set): Use them.
7713
7714 2001-03-13 Jim Wilson <wilson@redhat.com>
7715
7716 * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
7717 from 80 in try_locals code.
7718 (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
7719
7720 2001-03-13 Zack Weinberg <zackw@stanford.edu>
7721
7722 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
7723 gcc_AC_C_LONG_LONG): New.
7724 * configure.in: Use them. Probe the size of short, int, long,
7725 and long long/__int64 if we have them. Move all the AC_C_*
7726 checks together, except gcc_AC_C_CHAR_BIT which has to go
7727 after AC_CHECK_HEADERS(limits.h).
7728 Take hwint.h out of host_xm_file and build_xm_file.
7729
7730 * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
7731 HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
7732 and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
7733 Move the HOST_WIDEST_INT setup logic here from system.h.
7734 Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
7735 defined.
7736 * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
7737 is now handled by hwint.h.
7738
7739 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
7740 config/c4x/xm-c4x.h, config/i370/xm-oe.h,
7741 config/ia64/xm-ia64.h: Don't define any of:
7742 HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
7743 HOST_BITS_PER_LONGLONG.
7744
7745 * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
7746 config/h8300/xm-h8300.h, config/mips/iris6.h,
7747 config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
7748 config/sparc/xm-sp64.h: Delete.
7749 * config.gcc: Remove references to deleted files.
7750
7751 * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
7752 HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
7753 * config/i370/xm-linux.h: Clarify floating-point situation in
7754 a comment.
7755
7756 2001-03-13 Neil Booth <neil@daikokuya.demon.co.uk>
7757
7758 * cppfiles.c (NO_INCLUDE_PATH): New macro.
7759 (find_include_file): Decide here which part of the include
7760 chain to start the search. Complain about an empty include
7761 chain in all cases apart from an abolsute file name.
7762 (_cpp_execute_include): Don't choose the search chain here.
7763 Don't call handle_missing_include in the case of an empty
7764 include chain.
7765 (_cpp_compare_file_date): Don't choose the search chain here.
7766 * cpplib.c (do_include_next): Move the in-main-file diagnostic
7767 here from _cpp_execute_include. Behave like #include if
7768 we're in the main file.
7769
7770 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7771
7772 * system.h (malloc, realloc, calloc, strdup): Only poison these
7773 tokens when IN_GCC is defined.
7774
7775 Tue Mar 13 14:38:44 CET 2001 Jan Hubicka <jh@suse.cz>
7776
7777 * i386.md (abs?f expander): Support SSE case.
7778 (abd?f_if): Add new "USE"; add splitters.
7779
7780 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7781
7782 * cpp.texi (poison): Explain the macro expansion exception.
7783
7784 2001-03-13 Jakub Jelinek <jakub@redhat.com>
7785
7786 * expr.c (store_expr): Add dont_store_target. If temp is already in
7787 target before copying to reg, don't store it into target again.
7788
7789 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
7790
7791 * cppinternals.texi: Update for file handling.
7792
7793 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
7794
7795 * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
7796 2001-02-24 which broke building the Java library.
7797 * function.c (identify_blocks): Likewise.
7798 (all_blocks): Likewise.
7799 * integrate.c (integrate_decl_tree): Likewise.
7800 * print-tree.c (print_node): Likewise.
7801 * tree.h (BLOCK_NUMBER): Likewise.
7802 (struct tree_block): Likewise.
7803
7804 2001-03-12 David Edelsohn <edelsohn@gnu.org>
7805
7806 * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
7807 __WCHAR_TYPE__ definition.
7808 (WCHAR_TYPE_SIZE): #undef before #define.
7809
7810 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
7811
7812 * cppfiles.c: Update comments.
7813 (destroy_include_file_node): Rename destroy_node.
7814 (find_or_create_entry): New function.
7815 (open_file, _cpp_fake_include): Use it.
7816 (handle_missing_header): New function, broken out of
7817 _cpp_execute include. Don't segfault if there is no
7818 system or quoted path.
7819 (_cpp_execute_include): Use handle_missing_header.
7820
7821 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
7822
7823 * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
7824 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
7825
7826 Mon Mar 12 14:05:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7827
7828 * flow.c (insn_dead_p): Don't consider two memrefs equivalent
7829 unless anti_dependence says they are.
7830 * alias.c (objects_must_conflict): If neither has a type specified,
7831 they must conflict.
7832
7833 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
7834 David Billinghurst <David.Billinghurst@riotinto.com>
7835
7836 * config/mips/iris5.h: Change WCHAR_TYPE to int.
7837
7838 Mon Mar 12 16:32:21 CET 2001 Jan Hubicka <jh@suse.cz>
7839
7840 * i386.md (trunctfdf2_2): Rename missnamed pattern.
7841 (*_one_bit): Remove type on the match_operand in attributes.
7842
7843 Mon Mar 12 16:27:56 CET 2001 Jan Hubicka <jh@suse.cz>
7844
7845 * i386.c: Commit forgotten hunk in previous patch.
7846 (regclass_map): Add extended registers.
7847 (dbx_register_map): Add missing frame register.
7848
7849 Mon Mar 12 15:41:08 CET 2001 Jan Hubicka <jh@suse.cz>
7850
7851 * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
7852
7853 * i386.md (x86_sahf_1): Disable for 64bit.
7854 (popsi*, pophi*): Likewise.
7855 (pushqi, pushhi): Likewise.
7856 (movdi, pushdi): Likewise.
7857 (zero extend DImode splitter): Likewise.
7858 (adddi, minusdi splitter): Likewise.
7859 (umulsidi): Likewise.
7860 (umulsi): New.
7861 (mulsidi): Disable for 64bit
7862 (lshift:DI/ashift:DI): Disable for 64bit.
7863 (loop patterns): Likewise.
7864 (call_pop, call_value_pop expanders and patterns): Likewise.
7865 (prologue_get_pc): Likewise.
7866 (leave): Likewise.
7867 (fcmovDI pattern and splitter): Likewise.
7868 (movdfcc_1_rex64): New.
7869
7870 Mon Mar 12 15:16:36 CET 2001 Jan Hubicka <jh@suse.cz>
7871
7872 * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
7873 (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
7874 (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
7875 (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
7876 (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
7877 (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
7878 (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
7879 (PUSH_ROUNDING): x86_64 rounds to 64bits.
7880 (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
7881 (REGPARM_MAX): Set to 6 for x86_64.
7882 (SSE_REGPARM_MAX): Set to 16 for x86_64.
7883 * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
7884 registers.
7885
7886 * (patterns that does use upper halves): Update constraints
7887 'q' to 'Q' and 'r' to 'R'.
7888 (cmpqi_ext_1): Disable for 64bit.
7889 (cmpqi_ext_3_insn): Likewise.
7890 (movqi_extzv_1): Likewsie.
7891 (addqi_ext_1): Liekwsie
7892 (testqi_ext_1): Liekwsie
7893 (andqi_ext_1): Liekwsie
7894 (xorqi_ext_1): Liekwsie
7895 (cmpqi_ext_1_rex64): New.
7896 (cmpqi_ext_3_insn_rex64): Likewise.
7897 (movqi_extzv_1_rex64): Likewsie.
7898 (addqi_ext_1_rex64): Liekwsie
7899 (testqi_ext_1_rex64): Liekwsie
7900 (andqi_ext_1_rex64): Liekwsie
7901 (xorqi_ext_1_rex64): Liekwsie
7902
7903 2001-03-11 Zack Weinberg <zackw@stanford.edu>
7904
7905 * configure.in: Move check for unsigned enumerated bitfields
7906 to macro in aclocal.m4. Disable it for now.
7907 * configure, config.in: Regenerate.
7908 * system.h: Don't do anything with ONLY_INT_FIELDS. Use the
7909 unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
7910 * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum
7911 kind above its first use.
7912
7913 * config/xm-interix.h, config/alpha/xm-alpha.h,
7914 config/i370/xm-linux.h, config/i386/xm-beos.h,
7915 config/i386/xm-mingw32.h, config/mips/xm-mips.h,
7916 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
7917 config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
7918 Don't define ONLY_INT_FIELDS under any circumstances.
7919
7920 * config/pa/xm-pa.h: Don't define __BSD_NET2__.
7921
7922 * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
7923 config/sparc/xm-sysv4.h: Delete - now identical with some
7924 other xm header.
7925 * config.gcc (hppa targets): Replace xm-pahpux.h and
7926 xm-papro.h with implicit xm-pa.h.
7927 (sparc targets): Replace xm-sysv4.h with implicit or explicit
7928 xm-sparc.h.
7929
7930 2001-03-12 Aldy Hernandez <aldyh@redhat.com>
7931
7932 * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
7933 before reload_cse_noop_set_p.
7934
7935 2001-03-11 Zack Weinberg <zackw@stanford.edu>
7936
7937 * config.gcc: Where xm-host.h used to include another
7938 xm-host.h, list the nested header directly in xm_file. Remove
7939 references to deleted files. Can now use sparc/xm-sp64.h for
7940 sparcv9-*-solaris*.
7941
7942 * config/xm-linux.h, config/arm/xm-linux.h,
7943 config/i386/xm-dos.h, config/i386/xm-gnu.h,
7944 config/i386/xm-linux.h, config/i386/xm-openbsd.h,
7945 config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
7946 config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
7947 config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
7948 Delete.
7949
7950 * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
7951 * config/mips/xm-iris5.h: Don't include mips/xm-mips.h. Don't
7952 bother to wrap #undef in #ifdef.
7953 * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
7954 Don't include xm-linux.h.
7955 * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
7956
7957 * configure.in: Wrap regexps using [] in changequote block.
7958 Use expr : not echo | grep. Simplify regexps.
7959 * configure: Regenerate.
7960
7961 56 xm-files remain, 22 xm-arch.
7962
7963 2001-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7964
7965 * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
7966 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
7967 (local_index, local_rindex): Delete, use strchr/strrchr instead.
7968 (copy_object): Fix format specifier vs argument mismatch.
7969
7970 * mips-tdump.c: Make local functions static.
7971 (rindex): Don't #undef.
7972 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
7973 (fatal, fancy_abort): Delete.
7974 (read_seek): Avoid signed/unsigned compare.
7975
7976 Sun Mar 11 17:01:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7977
7978 * combine.c (try_combine): Fix error in change to try original
7979 register.
7980 (gen_rtx_combine): Do same as gen_rtx for now.
7981
7982 2001-03-11 Zack Weinberg <zackw@stanford.edu>
7983
7984 * configure.in: AC_SUBST xm_defines.
7985 * configure: Regenerate.
7986 * Makefile.in: Set DEFINES=$(xm_defines) when building
7987 tconfig.h.
7988
7989 2001-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
7990
7991 * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
7992 (cpp_included, find_include_file): Update.
7993 (_cpp_compare_file_date): Make else unconditional.
7994
7995 2001-03-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
7996
7997 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
7998
7999 2001-03-10 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
8000
8001 * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
8002 * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
8003
8004 Sat Mar 10 22:42:05 2001 Alexandre Oliva <aoliva@redhat.com>
8005
8006 * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
8007 if it's a record type.
8008
8009 Sat Mar 10 17:52:54 2001 Christopher Faylor <cgf@cygnus.com>
8010
8011 * config/i386/cygwin.h: Make ../w32api a system directory. Reorganize
8012 mingw includes slightly.
8013
8014 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8015
8016 * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
8017 #undef token before poisoning it.
8018
8019 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8020
8021 * alpha.c (check_float_value): Use memcpy, not bcopy.
8022
8023 * m32r.c (m32r_sched_reorder): Likewise.
8024
8025 * vax.c (check_float_value): Likewise.
8026
8027 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
8028
8029 * toplev.c (file_name_nondirectory): Remove.
8030 * toplev.h: Similarly.
8031 * dwarf2out.c (compute_section_prefix): Use lbasename instead
8032 of file_name_nondirectory.
8033
8034 Sat Mar 10 10:36:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8035
8036 * mips-tdump.c (read_seek): Call xmalloc, not malloc.
8037 * mips-tfile.c: Don't #undef rindex; not used.
8038
8039 Sat Mar 10 14:34:59 CET 2001 Jan Hubicka <jh@suse.cz>
8040
8041 * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
8042 (dbx64_register_map): Declare.
8043 (RETURN_ADDR_RTX): Fix for 64bit.
8044 (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
8045 (INCOMING_FRAME_SP_OFFSET): Set to 8.
8046 * i386.c (dbx64_register_map): New global array.
8047 * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
8048 linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
8049 for 64bits.
8050
8051 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
8052
8053 * cppfiles.c (search_from): Use lbasename.
8054 * mkdeps.c (deps_add_default_target): Use lbasename.
8055
8056 2001-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8057
8058 * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
8059 xcalloc in lieu of malloc, realloc & calloc.
8060
8061 * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
8062
8063 * gengenrtl.c (xmalloc): Likewise.
8064
8065 * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
8066 really_call_* memory allocation routines.
8067
8068 * stmt.c (check_for_full_enumeration_handling): Use
8069 really_call_calloc, not calloc.
8070
8071 * system.h (really_call_malloc, really_call_calloc,
8072 really_call_realloc): Define.
8073 (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
8074
8075 Fri Mar 9 18:39:19 2001 Jeffrey A Law (law@cygnus.com)
8076
8077 * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
8078
8079 2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
8080
8081 * configure: Rebuilt.
8082 * configure.in: Only use `lang_requires' for languages athat are
8083 actually enabled.
8084
8085 2001-03-09 Joseph S. Myers <jsm28@cam.ac.uk>
8086
8087 * invoke.texi: Fix typo.
8088 * gcc.1: Regenerate.
8089
8090 2001-03-09 Zack Weinberg <zackw@stanford.edu>
8091
8092 * configure.in: Prune nonexistent files from build_xm_file,
8093 xm_file, and host_xm_file lists. Warn unless they're
8094 $cpu/xm-$cpu.h.
8095 Don't generate *config.h here.
8096 AC_SUBST all variables needed to generate *config.h.
8097 * configure: Regenerate.
8098 * mkconfig.sh: New helper script, from code removed from
8099 configure.in.
8100 * Makefile.in: Zap all MALLOC variables - no longer used
8101 anywhere, and malloc.c doesn't exist.
8102 Substitute in variables needed to generate *config.h.
8103 Stop lying about the dependencies contained in CONFIG_H and
8104 GCONFIG_H.
8105 (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
8106 (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
8107 cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
8108 (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
8109 $(TM_P_H), etc. as appropriate.
8110
8111 * config.gcc: Zap references to deleted files.
8112 * ggc-none.c: Don't include rtl.h or tm_p.h.
8113
8114 * config/i386/xm-beos.h, config/i386/xm-dgux.h,
8115 config/i386/xm-djgpp.h, config/i386/xm-dos.h,
8116 config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
8117 config/i386/xm-linux.h, config/i386/xm-linux.h,
8118 config/i386/xm-next.h, config/i386/xm-openbsd.h,
8119 config/i386/xm-sun.h, config/i386/xm-sysv3.h:
8120 Don't include i386/xm-i386.h.
8121
8122 * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
8123 config/i386/xm-i386.h, config/i860/xm-i860.h,
8124 config/i960/xm-i960.h, config/mcore/xm-mcore.h,
8125 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
8126 config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
8127 Delete (empty except comments, #includes of other deleted
8128 files, and macros used nowhere).
8129
8130 Fri Mar 9 20:05:27 CET 2001 Jan Hubicka <jh@suse.cz>
8131
8132 * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
8133 independent on TARGET_FLAGS.
8134
8135 Fri Mar 9 19:52:52 CET 2001 Jan Hubicka <jh@suse.cz>
8136
8137 * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
8138
8139 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
8140 extended ones.
8141 (CONDITIONAL_REGISTER_USAGE): Set proper values according to
8142 TARGET_64BIT.
8143 (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
8144 LAST_REX_SSE_REG): define.
8145 (enum reg_class): Add 'LEGACY_REGS'
8146 (REG_CLASS_CONTENTS): Likewise; add extended registers.
8147 (SSE_REGNO_P): Recognize extended registers.
8148 (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
8149 (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
8150 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
8151 REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
8152 (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
8153 REG_OK_FOR_STRREG_P): Remove.
8154 (HI_REGISTER_NAMES): Add extended registers.
8155 (ADDITIONAL_REGISTER_NAMES): Likewise.
8156 (QI_REGISTER_NAMES): Add 8bit extended registers.
8157 (DEBUG_REG): Support extended registers.
8158 * i386.c (regclass_map): Add extended registers.
8159 (dbx_register-map): Likewise.
8160 (svr4_dbx_register_map): Likewise.
8161 (print_reg): Support extended registers.
8162 (print_operand): Support 64bit operands.
8163
8164 Fri Mar 9 19:37:46 CET 2001 Jan Hubicka <jh@suse.cz>
8165
8166 * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
8167 (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
8168 FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
8169 DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
8170 (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
8171 STACK_BOUNDARY): Set properly for 64bits.
8172 (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
8173 (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
8174 (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
8175 (MOVE_MAX): Set to 16.
8176 (MOVE_MAX_PIECES): 8 for 64bit.
8177 (Pmode): Set to SImode.
8178
8179 Fri Mar 9 09:00:36 2001 Mike Stump <mrs@wrs.com>
8180
8181 * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
8182
8183 Fri Mar 9 17:38:08 CET 2001 Jan Hubicka <jh@suse.cz>
8184
8185 * i386.h (mask_64bit): New constant.
8186 (target_64bit): New macro.
8187 (target_options): Add '64'/'32'
8188 (target_default): Define.
8189 * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
8190 isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
8191 unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
8192
8193 Thu Mar 8 23:36:56 2001 Jeffrey A Law (law@cygnus.com)
8194
8195 * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
8196
8197 Thu Mar 8 23:29:37 2001 John Wehle (john@feith.com)
8198
8199 * rtlanal.c (rtx_varies_p): Check operand 0 of a
8200 LO_SUM unless for_alias is set.
8201
8202 2001-03-08 Stan Shebs <shebs@apple.com>
8203
8204 * objc/objc-act.c: Fix old typos in comments, add comments for
8205 various functions.
8206 (hash_init): Fix file name in error message.
8207 (hash_enter): Ditto.
8208 (hash_add_attr): Ditto.
8209 (continue_class): Ditto.
8210
8211 2001-03-08 Bruce Korb <bkorb@gnu.org>
8212
8213 gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
8214 wait4() can receive the signal.
8215
8216 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8217
8218 * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
8219 entities.
8220 * fixinc/fixincl.x: Regenerate.
8221
8222 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8223
8224 * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
8225 on Tru64 UNIX.
8226 * fixinc/fixincl.x: Regenerate.
8227
8228 2001-03-08 Richard Henderson <rth@redhat.com>
8229
8230 * configure.in (HAVE_AS_LEB128): New assembler check.
8231 * configure, config.in: Rebuilt.
8232
8233 Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz>
8234
8235 * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
8236 TFmode too.
8237
8238 2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8239
8240 * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
8241 references to the MAXPATHLEN macro.
8242
8243 * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
8244 config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
8245 the POSIX macro.
8246
8247 * config/i386/xm-gnu.h, config/xm-gnu.h,
8248 config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
8249 config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
8250 config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
8251 and/or unused files.
8252
8253 * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
8254 doing so in various xm-*.h files.
8255
8256 Thu Mar 8 06:32:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8257
8258 * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
8259
8260 2001-03-08 Alexandre Oliva <aoliva@redhat.com>
8261
8262 * configure.in (enable_shared): Support per-package shared-library
8263 enabling.
8264 * configure: Rebuilt.
8265
8266 2001-03-07 David Edelsohn <edelsohn@gnu.org>
8267
8268 * rs6000.md (cr logic): Add original POWER mnemonic alternative
8269 for crnot. Set operands[5] in splitter.
8270
8271 2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8272
8273 * config/i370/xm-mvs.h, config/i370/xm-oe.h,
8274 config/i386/xm-beos.h, config/i386/xm-mingw32.h,
8275 config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
8276 config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
8277 config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
8278 config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
8279 config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
8280 to the USG macro.
8281
8282 * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
8283 config/i370/xm-i370.h, config/i386/xm-dgux.h,
8284 config/i386/xm-sun.h, config/i386/xm-sysv3.h,
8285 config/m68k/xm-tower.h, config/m68k/xm-aux.h,
8286 config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
8287 config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
8288 config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
8289 config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
8290 config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
8291 config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
8292 Delete unused and/or empty files.
8293
8294 * config.gcc: Define USG in xm_defines as appropriate. Define
8295 POSIX in lieu of xm-svr4.h. Delete all references to the SVR3
8296 macro. Remove deleted xm-* files from $xm_files variable.
8297
8298 2001-03-07 Tom Tromey <tromey@redhat.com>
8299
8300 * configure: Rebuilt.
8301 * configure.in: Allow config-lang.in to set `lang_requires' to list
8302 of other required languages.
8303
8304 2001-03-07 Andrew MacLeod <amacleod@redhat.com>
8305
8306 * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
8307 after its emitted.
8308 (output_prologue): Use xmalloc not oballoc.
8309 (output_epilog): Free a29k_first_epilogue_insn when finished.
8310 * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
8311
8312 2001-03-07 Brad Lucier <lucier@math.purdue.edu>
8313
8314 * builtins.c (expand_builtin_mathfn): Check
8315 flag_unsafe_math_optimizations, not flag_fast_math.
8316 (expand_builtin): Likewise
8317 * combine.c (combine_simplify_rtx): Likewise.
8318 (simplify_if_then_else): Likewise.
8319 * cse.c (fold_rtx): Likewise.
8320 * flags.h: Remove flag_fast_math. Add
8321 flag_unsafe_math_optimizations and flag_trapping_math.
8322 * fold-const.c (negate_expr): Check
8323 flag_unsafe_math_optimizations, not flag_fast_math.
8324 (invert_truthvalue): Likewise.
8325 (fold): Likewise. Before associating operands, check that
8326 code == MULT_EXPR, not code != MULT_EXPR.
8327 * ifcvt.c (noce_try_minmax): Check
8328 flag_unsafe_math_optimizations, not flag_fast_math.
8329 (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
8330 * invoke.texi: Document -funsafe-math-optimizations and
8331 -fno-trapping-math. Change documentation for -ffast-math.
8332 * jump.c (reversed_comparison_code_parts): Likewise.
8333 (rtx_equal_for_thread_p): Likewise.
8334 * optabs.c (emit_conditional_move): Likewise.
8335 * simplify-rtx.c (simplify_binary_operation): Likewise.
8336 (simplify_relational_operation): Likewise.
8337 (simplify_ternary_operation): Likewise.
8338 * toplev.c: Remove flag_fast_math. Add flag_trapping_math and
8339 flag_unsafe_math_optimizations. Remove fast-math entry from f_options.
8340 Add trapping-math and unsafe-math-optimizations entries to f_options.
8341 (set_fast_math_flags): New, sets flags for -ffast-math.
8342 (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
8343 (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
8344 * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
8345
8346 * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
8347 (alpha_emit_conditional_move): Initialize local_fast_math to
8348 flag_unsafe_math_optimizations, not flat_fast_math.
8349 * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
8350 instead of setting flag_fast_math to 1.
8351 * config/convex/convex.md: Check flag_unsafe_math_optimizations,
8352 not flag_fast_math.
8353 * config/i386/i386.c (override_options): Likewise
8354 * config/i386/i386.md: Likewise.
8355 * config/m68k/m68k.md: Likewise.
8356 * config/mips/mips.md: Likewise.
8357 * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
8358 (rs6000_generate_compare): Likewise.
8359
8360 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
8361
8362 * Makefile.in: Set RANLIB to @RANLIB@.
8363 Remove RANLIB_TEST.
8364
8365 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
8366
8367 * fixinc/inclhack.def (djgpp_wchar_h): New test.
8368 * fixinc/fixincl.x: Regenerated.
8369
8370 2001-03-07 Richard Henderson <rth@redhat.com>
8371
8372 * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
8373
8374 2001-03-07 Richard Henderson <rth@redhat.com>
8375
8376 * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
8377 of block notes and exception handling notes.
8378
8379 * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
8380 * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
8381 (compile_file): ... here.
8382
8383 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8384
8385 * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
8386
8387 * fixinc/gnu-regex.c: Don't include auto-host.h since we get
8388 config.h now. Include libiberty.h to handle alloca.
8389
8390 2001-03-06 Zack Weinberg <zackw@stanford.edu>
8391
8392 * c-parse.in (yylexname): New function, split out of _yylex.
8393 (objc_rid_sans_at): New table.
8394 (init_reswords): Initialize it.
8395 (_yylex): Give labels clearer names. Handle CPP_ATSIGN by
8396 retrieving the next token and checking it for significance as
8397 an ObjC keyword or string constant.
8398
8399 * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
8400 * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
8401
8402 * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
8403 to CPP_OSTRING.
8404
8405 2001-03-06 Stephen L Moshier <moshier@mediaone.net>
8406
8407 * config/m68k/m68k.c (const_uint32_operand): Accept any
8408 const_int on a 32-bit host.
8409
8410 2001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
8411
8412 * objc/objc-act.c (init_objc): Set save_lang_status,
8413 restore_lang_status, and mark_lang_status.
8414
8415 2001-03-06 Krister Walfridsson <cato@df.lth.se>
8416
8417 * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
8418
8419 2001-03-06 Neil Booth <neil@daikokuya.demon.co.uk>
8420
8421 * cppinternals.texi: Update.
8422
8423 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8424
8425 * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
8426 config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
8427 config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
8428 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
8429 config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
8430 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
8431 config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
8432 config/i386/xm-i386.h, config/i860/xm-i860.h,
8433 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
8434 config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
8435 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
8436 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
8437 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
8438 config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
8439 config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
8440 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
8441 config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
8442 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
8443 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
8444 config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
8445 config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
8446 match the defaults provided in hwint.h.
8447
8448 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
8449 config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
8450
8451 * config.gcc (xm_file): Don't set to files which are deleted.
8452
8453 * hwint.h: Provide default values for HOST_BITS_PER_*. No longer
8454 guard this file against these macros being undefined.
8455
8456 2001-03-06 Zack Weinberg <zackw@stanford.edu>
8457
8458 * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
8459 and DECL_DEFER_OUTPUT on the decl we create, before calling
8460 rest_of_decl_compilation.
8461
8462 2001-03-06 Zack Weinberg <zackw@stanford.edu>
8463
8464 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
8465 AC_FUNC_ALLOCA.
8466 * configure, config.in: Regenerate.
8467 * config.gcc: Remove references to deleted files.
8468
8469 * genattr.c, genattrtab.c, genextract.c, genoutput.c,
8470 genrecog.c, rtl.c: Do not use alloca anywhere.
8471
8472 * Makefile.in, build-make, system.h, config/x-interix,
8473 config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
8474 config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
8475 config/arc/xm-arc.h, config/arm/xm-arm.h,
8476 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
8477 config/h8300/xm-h8300.h, config/i370/x-oe,
8478 config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
8479 config/i386/x-ncr3000, config/i386/x-sco5,
8480 config/i386/xm-dgux.h, config/i860/x-sysv4,
8481 config/i960/xm-i960.h, config/m32r/xm-m32r.h,
8482 config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
8483 config/m68k/x-hp320g, config/m69k/x-mot3300,
8484 config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
8485 config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
8486 config/m68k/xm-mot3300.h, config/m88k/x-dolph,
8487 config/m88k/x-sysv4, config/m88k/x-tekXD88,
8488 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
8489 config/mips/x-iris, config/mips/x-iris3,
8490 config/mips/x-sni-svr4, config/mips/x-sysv,
8491 config/mips/xm-iris6.h, config/mips/xm-mips.h,
8492 config/mips/xm-nws3250v4.h, config/pa/x-hpux,
8493 config/pa/x-pa-mpeix, config/pa/xm-pa.h,
8494 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
8495 config/pa/xm-papro.h, config/romp/xm-romp.h,
8496 config/rs6000/x-aix31, config/rs6000/x-aix41,
8497 config/rs6000/x-beos, config/rs6000/x-lynx,
8498 config/rs6000/x-mach, config/rs6000/x-rs6000,
8499 config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
8500 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
8501 config/sparc/x-sysv4, config/sparc/xm-linux.h,
8502 config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
8503 config/vax/xm-vms.h: Eradicate all references to alloca and
8504 related stuff.
8505
8506 * config/xm-alloca.h, config/clipper/x-clix,
8507 config/i386/xm-sysv4.h, config/i860/x-fx2800,
8508 config/i860/x-sysv3, config/m88k/x-sysv3,
8509 config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
8510 (contained only alloca related hacks).
8511
8512 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
8513 USE_C_ALLOCA.
8514
8515 2001-03-05 Brad Lucier <lucier@math.purdue.edu>
8516
8517 * invoke.texi: Document __FAST_MATH__.
8518
8519 2001-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8520
8521 * crtstuff.c: Restore include of auto-host.h.
8522
8523 2001-03-05 Fergus Henderson <fjh@cs.mu.oz.au>
8524
8525 Put main() in a separate file, so that the language
8526 front-end can use a different main().
8527
8528 * main.c: New.
8529 * toplev.c: (main): Rename as toplev_main.
8530 * toplev.h: Declare toplev_main.
8531 * Makefile.in (OBJS): add toplev.o.
8532 (BACKEND): remove toplev.o, add main.o.
8533
8534 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
8535
8536 * cppfiles.c (search_from): Special case the empty string.
8537
8538 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
8539
8540 * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
8541 copy of the filename. Don't use CPP_PREV_BUFFER. Don't call
8542 strlen or strcpy; we already know the length.
8543 (_cpp_compare_file_date): Similarly.
8544 * cpphash.h (struct cpp_reader): Delete done_initialising.
8545 (CPP_PREV_BUFFER): Delete.
8546 * cppinit.c (cpp_start_read): Don't set done_initialising.
8547 * cpplex.c (parse_string): Guarantee null-termination.
8548 (_cpp_equiv_toklists): Remove.
8549 * cpplib.c (glue_header_name): Null-terminate.
8550 (do_line): Don't leak memory.
8551 * cpplib.h (BT_WEAK): Delete.
8552 * cppmain.c (cb_ident): Strings are now null-terminated.
8553
8554 2001-03-04 Laurynas Biveinis <lauras@softhome.net>
8555
8556 * gcc.c (convert_filename): Append executable suffix
8557 if NO_AUTO_EXE_SUFFIX is not defined.
8558 * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
8559 * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
8560
8561 2001-03-03 David O'Brien <obrien@FreeBSD.org>
8562
8563 from 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
8564 * c-parse.gperf, c-gperf.h: Delete.
8565 (c-gperf.h was accidently re-added to the CVS repo in the rev
8566 1.16 commit by tromey)
8567
8568 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
8569
8570 * cpplex.c (_cpp_lex_token): Don't warn about directives in
8571 macro arguments when looking for the '('.
8572 * cppmacro.c (funlike_invocation_p): Set parsing_args to
8573 2 when really parsing arguments; 1 when looking for '('.
8574 Always restore the lexer position.
8575
8576 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
8577
8578 * longlong.h (umul_ppmm): Don't use a multiline string.
8579
8580 2001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
8581
8582 * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
8583 * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
8584 t_bool in declaration because pcc can't combine volatile with typedef
8585 types.
8586
8587 Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
8588
8589 * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
8590 until when it is really needed.
8591 (ix86_expand_compare): Update call of ix86_expand_fp_compare.
8592 * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
8593 * i386.md (float?i?f splitter): Don't force source operand to memory
8594 for SSE.
8595 (sse_movdfcc): Fix constraint.
8596 (sse_movdfcc splitter): Handle properly the second alternative.
8597
8598 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
8599
8600 * cpplex.c (parse_string): Unconditionally pedwarn.
8601
8602 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
8603
8604 * cpp.texi: Update.
8605 * cppexp.c (parse_number): Update.
8606 * cpplex.c (parse_string): Pedwarn if multiline string does not
8607 result from a system header's macro.
8608 * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
8609 * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
8610 for function-like macros too.
8611 * c-lex.c (lex_number): Update.
8612
8613 2001-03-03 Richard Henderson <rth@redhat.com>
8614
8615 * dwarf2out.c (output_call_frame_info): Fix augmentation length.
8616
8617 Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com>
8618
8619 * combine.c (try_combine): If split with mode-changed scratch
8620 register didn't work, try the original mode.
8621
8622 Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com>
8623
8624 * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
8625 * config/c4x/c4x.h: Likewise.
8626 * stor-layout.c (compute_record_mode): Likewise.
8627 (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
8628
8629 2001-03-02 Zack Weinberg <zackw@stanford.edu>
8630
8631 * configure.in: Kill tm.h. Include the files in the $tm_file
8632 list in all three of config.h, hconfig.h, tconfig.h, after the
8633 relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
8634 three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
8635 * configure: Regenerate.
8636 * Makefile.in (clean): Don't delete tm.h.
8637
8638 * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
8639 defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
8640 those are not defined, set SEC and FEC to 0 and 1.
8641 * gcc.texi: Update to match.
8642
8643 * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
8644 * config/fp-bit.c, config/m68k/aux-crt2.asm,
8645 config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
8646 Include tconfig.h, not tm.h.
8647
8648 * config/xm-lynx.h, config/xm-std32.h,
8649 config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
8650 config/alpha/xm-alpha.h, config/arc/xm-arc.h,
8651 config/avr/xm-avr.h, config/c4x/xm-c4x.h,
8652 config/clipper/xm-clix.h, config/convex/xm-convex.h,
8653 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
8654 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
8655 config/h8300/xm-h8300.h, config/i370/xm-linux.h,
8656 config/i386/xm-i386.h, config/i860/xm-i860.h,
8657 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
8658 config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
8659 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
8660 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
8661 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
8662 config/pa/xm-linux.h, config/pa/xm-pa.h,
8663 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
8664 config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
8665 config/pj/xm-pj.h, config/romp/xm-romp.h,
8666 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
8667 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
8668 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
8669 config/v850/xm-v850.h, config/vax/xm-vax.h,
8670 config/we32k/xm-we32k.h:
8671 Don't include tm.h.
8672 Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
8673
8674 * config/i370/xm-i370.h, config/i370/xm-mvs.h,
8675 config/i370/xm-oe.h: Don't include tm.h. Don't define
8676 SUCCESS_EXIT_CODE.
8677 * config/vax/xm-vms.h: Don't include tm.h.
8678
8679 * config/xm-lynx.h, config/avr/xm-avr.h,
8680 config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
8681 Delete; made empty by above changes.
8682 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
8683 config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
8684 Don't include config/xm-lynx.h or tm.h.
8685
8686 * config/xm-gnu.h: Don't include fcntl.h.
8687 * config/sparc/xm-lynx.h: Don't include sys/types.h and
8688 sys/wait.h.
8689 * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
8690
8691 2001-03-02 Richard Henderson <rth@redhat.com>
8692
8693 * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
8694 UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
8695
8696 2001-03-02 Richard Henderson <rth@redhat.com>
8697
8698 * Makefile.in (OBJS): Add dwarf2asm.o.
8699 * dwarf2asm.c, dwarf2asm.h: New files.
8700 * dwarf2out.c (*): Use them.
8701 (size_of_uleb128, size_of_sleb128): Remove.
8702 (output_uleb128, output_sleb128): Remove.
8703 (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
8704 (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
8705 (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
8706 (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
8707 (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
8708 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
8709 (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
8710 (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
8711 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
8712 (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
8713 (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
8714 (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
8715 (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
8716 (dwarf2out_frame_debug): Remove unused variables.
8717 (output_loc_operands): Don't abort on 8 byte constants if
8718 host integers are wide enough.
8719 (output_symbolic_ref): Remove.
8720 (size_of_die): Don't assume 4 byte host integers.
8721 (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
8722 and end labels.
8723 (add_const_value_attribute) [CONST_INT]: Verify we're not doing
8724 something stupid with HOST_WIDE_INT to long truncation.
8725 [CONST_DOUBLE]: Likewise.
8726
8727 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
8728 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
8729 * config/arm/unknown-elf.h: Likewise.
8730 * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
8731 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
8732 (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
8733 (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
8734 (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
8735 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
8736 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
8737 (ASM_OUTPUT_DWARF_OFFSET): Remove.
8738 * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
8739 * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
8740 (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
8741 (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
8742
8743 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
8744
8745 * cselib.c (hash_rtx): Cast enums to unsigned int.
8746
8747 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
8748
8749 * print-rtl.c (print_rtx): Cast enums to int for comparison.
8750 * c-decl.c (grokdeclarator): Cast enums to int for comparison and
8751 shifts.
8752 * c-format.c (C_STD_VER): Cast to int for comparisons.
8753 (check_function_format): Cast various enums to int for &.
8754 (maybe_read_dollar_number): Likewise.
8755 (check_format_info): Likewise.
8756 (check_format_info_main): Likewise.
8757 * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
8758 (safe_from_p): Likewise.
8759 * varasm.c (const_hash): Cast enum to int for %.
8760 * emit-rtl.c (init_emit_once): Use int loop variable to work around
8761 pcc enum problems with < and ++ operators.
8762 * regclass.c (init_reg_sets_1): Cast enums for comparison.
8763 (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
8764 (regclass_init): Change enum class to int to iterate over reg_classes.
8765 * genrecog.c (merge_trees): Cast enums for comparison.
8766 * rtl.h (GET_CODE): Cast to enum rtx_code.
8767 (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
8768 (GET_MODE): Cast to enum machine_mode.
8769 (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
8770 (GET_NOTE_INSN_NAME): Cast enum to int.
8771 * tree.h (TREE_CODE): Cast to enum tree_code.
8772 (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
8773 * timevar.c (timevar_print): Change loop variable id from enum to
8774 unsigned int.
8775 * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
8776 * config/i386/i386.md: Use PUT_MODE for mode assignment.
8777 * toplev.c (compile_file): Cast enum DFI to int.
8778 (decode_d_option): Likewise.
8779
8780 Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com>
8781
8782 * cppinit.c (append_include_chain): Mark "after" include file name list
8783 as a system directory.
8784 * cpp.texi: Document new behavior.
8785
8786 Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
8787
8788 * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
8789
8790 2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
8791
8792 * cppfiles.c (struct include_file): Update.
8793 (stack_include_file): Use search_from.
8794 (cpp_included, find_include_file): Update.
8795 (cpp_execute_include): Update. ptr->name may not be
8796 null terminated. Use the new search_from member variable
8797 of cpp_buffer.
8798 (_cpp_compare_file_date): Similarly.
8799 (search_from): New function, similiar to actual_directory.
8800 (actual_directory): Delete.
8801 (remap_filename): Update. loc->name may not be null terminated.
8802 (struct file_name_list): Rename search_path. Update.
8803 * cpphash.h (struct cpp_buffer): Delete actual_dir. New members
8804 search_from and dir.
8805 (struct cpp_reader): Remove actual_dirs.
8806 * cppinit.c (struct cpp_pending): Update for renamed objects.
8807 (append_include_chain, remove_dup_dir, remove_dup_dirs,
8808 merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
8809 * cpplib.h (struct cpp_options): Similarly.
8810
8811 2001-03-01 Zack Weinberg <zackw@stanford.edu>
8812
8813 * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
8814 config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
8815 config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
8816 config/clipper/xm-clix.h, config/convex/xm-convex.h,
8817 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
8818 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
8819 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
8820 config/i370/xm-linux.h, config/i370/xm-mvs.h,
8821 config/i370/xm-oe.h, config/i386/xm-aix.h,
8822 config/i386/xm-i386.h, config/i386/xm-osf.h,
8823 config/i860/xm-i860.h, config/i960/xm-i960.h,
8824 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
8825 config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
8826 config/mcore/xm-mcore.h, config/mips/xm-mips.h,
8827 config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
8828 config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
8829 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
8830 config/pa/xm-pahpux.h, config/pa/xm-papro.h,
8831 config/pj/xm-pj.h, config/romp/xm-romp.h,
8832 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
8833 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
8834 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
8835 config/v850/xm-v850.h, config/vax/xm-vax.h,
8836 config/vax/xm-vms.h, config/we32k/xm-we32k.h:
8837 Do not define TRUE or FALSE.
8838
8839 * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
8840 empty by above change.
8841 * config.gcc: Remove references to these files.
8842
8843 * configure.in: Detect stdbool.h.
8844 * configure, config.in: Regenerate.
8845 * system.h: Include stddef.h here if available.
8846 Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
8847 Then set up a sensible boolean type at the very end.
8848
8849 * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
8850 config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
8851
8852 * hash.h: Delete 'boolean' typedef and related #undefs.
8853
8854 * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
8855 all uses of 'boolean' with 'bool'.
8856
8857 2001-03-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
8858
8859 * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
8860 * cppexp.c (lex): Cast enums for comparison.
8861 * cppinit.c (parse_option): Cast enum for comparison.
8862 * cpplex.c (cpp_spell_token): Cast enums to int for minus.
8863 (cpp_output_token): Likewise.
8864 (cpp_can_paste): Cast enums for comparsion and plus/minus.
8865 (cpp_avoid_paste): Cast enums for minus and comparison.
8866
8867 2001-03-01 Zack Weinberg <zackw@stanford.edu>
8868
8869 * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
8870 field to all array elements.
8871
8872 2001-03-01 Zack Weinberg <zackw@stanford.edu>
8873
8874 * cpphash.h (struct cpp_reader): Add print_version field.
8875 * cppinit.c (cpp_handle_option): For -v, -version, and --version,
8876 just set print_version and other flags as appropriate.
8877 (cpp_post_options): Print version here if print_version is set.
8878
8879 * toplev.c (exit_after_options): New flag.
8880 (independent_decode_option): Don't exit here; just set
8881 exit_after_options.
8882 (main): Exit after calling lang_hooks.post_options if
8883 exit_after_options is true.
8884
8885 * cppinit.c (append_include_chain): Drop never-used case QUOTE.
8886 (merge_include_chains): Adjust comment to match code.
8887
8888 2001-03-01 Zack Weinberg <zackw@stanford.edu>
8889
8890 * stringpool.c (set_identifier): New function.
8891 * tree.h: Prototype it.
8892
8893 * c-parse.in: Kill D_YES. If compiled for objc, call
8894 save_and_forget_protocol_qualifiers from init_reswords.
8895 * objc/objc-act.c (remember_protocol_qualifiers,
8896 forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
8897 Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
8898 vice versa.
8899 (save_and_forget_protocol_qualifiers): New function.
8900 * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
8901
8902 2001-03-01 Diego Novillo <dnovillo@redhat.com>
8903
8904 * c-semantics.c (prune_unused_decls): Return error_mark_node
8905 instead of (tree) 1 to stop traversing the tree chain.
8906
8907 2001-03-01 Bernd Schmidt <bernds@redhat.com>
8908
8909 Fix a problem introduced by Kenner's Feb 18 change.
8910 * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
8911 flag_cse_skip_blocks only temporarily, not for ever.
8912
8913 Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com)
8914
8915 * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
8916 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
8917
8918 * pa.c (emit_move_sequence): Verify operand0 is a hard register
8919 before determining its register class.
8920
8921 2001-03-01 Bernd Schmidt <bernds@redhat.com>
8922
8923 * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
8924 from reg 4 if current_function_calls_setjmp.
8925 (gen_nop_type): New function.
8926 (ia64_emit_nops): New function.
8927 (ia64_reorg): Call it.
8928 (ia64_sched_reorder): Move code that rotates bundles up a bit.
8929
8930 * reload1.c (eliminate_regs_in_insn): Restrict the special case
8931 code not to try to optimize adds with anything but a REG destination.
8932
8933 * sched-int.h (struct haifa_insn_data): Add new member priority_known.
8934 (INSN_PRIORITY_KNOWN): New accessor macro.
8935 * haifa-sched.c (priority): Use it instead of testing priority against
8936 zero.
8937
8938 2001-02-28 DJ Delorie <dj@redhat.com>
8939
8940 * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
8941 since that doesn't work the way gcc wants on a generic m68k.
8942
8943 2001-02-28 Richard Henderson <rth@redhat.com>
8944
8945 * caller-save.c (save_call_clobbered_regs): Fix typo in
8946 comparison last change.
8947
8948 Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
8949
8950 * i386.c (pentium4_cost): New.
8951 (m_PENT4): New macro.
8952 (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
8953 x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
8954 x86_integer_DFmode_moves, x86_partial_reg_dependency,
8955 x86_memory_mismatch_stall): Add Pentium4
8956 (x86_use_q_reg, x86_use_any_reg): Kill.
8957 (override_options): Add pentium4.
8958 (incdec_operand): Return 0 for pentium4.
8959 (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
8960 * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
8961 (TARGET_PENTIUM4): Define.
8962 (enum processor_type): Add PROCESSOR_PENTIUM4.
8963 (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
8964 * i386.md (attribute "cpu"): Add pentium4.
8965 * invoke.texi (march): Add pentium4.
8966
8967 Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz>
8968
8969 * i386.md (sse_mov?fcc*): New patterns and splitters.
8970 * i386.c (ix86_expand_movcc): Work post-reload; recognize
8971 the SSE based conditional moves.
8972
8973 Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz>
8974
8975 * i386.md (attribute mode): Add "TI".
8976 (movsf_1): Add pxor support; remove constant propagation splitter.
8977 (movdf_integer): Likewise.
8978 (movdf_nointeger): Likewise.
8979 (movxf constant prop splitter): Handle all modes; update for SSE.
8980 * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
8981 * i386.c (standard_80387_constant_p): Rewrite.
8982 (standard_sse_constant_p): New.
8983 * i386-protos.h (standard_sse_constant_p): New.
8984
8985 Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz>
8986
8987 * i386.md (sse_setccsf, sse_setccdf): New.
8988 (sse_cmp* patterns): Use '%D' instead of outputtting condition
8989 flag directly.
8990 * i386.c (sse_comparison_operator): Accept the supported unordered
8991 comparses; be ready for fast_math.
8992 (print_operand): Support 'D'.
8993
8994 Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz>
8995
8996 * jump.c (reversed_comparison_code): Kill.
8997
8998 Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz>
8999
9000 * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
9001 for STACK_REGS
9002
9003 Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz>
9004
9005 * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
9006 add missing '%' in constraints.
9007
9008 Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz>
9009
9010 * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
9011 for HOST_BITS_PER_WIDE_INT == 32 too.
9012
9013 Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz>
9014
9015 * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
9016 NREGS.
9017 (insert_save, insert_restore): New parameter save_mode.
9018 (init_caller_save): Update initialization of reg_save_code
9019 and reg_restore_code.
9020 (save_call_clobbered_regs): Compute save_modes and update calls to
9021 reg_save_code and reg_restore_code.
9022 (insert_restore): Unsignetize numbers; use save_modes to choose mode
9023 of spill; update use of reg_restore_code.
9024 (insert_save): Likewise.
9025 * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
9026 * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
9027 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
9028
9029 Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
9030
9031 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
9032 noce_try_store_flag_inc, noce_try_store_flag_mask,
9033 noce_try_cmove_arith):
9034 Use reversed_comparison_code instead of reverse_comparison and
9035 can_reverse_comparison_p.
9036
9037 Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz>
9038
9039 * jump.c (reversed_comparison_code_parts): Allow reversal of
9040 unordered compares in -ffast-math mode; reverse ordered compares
9041 for FP even w/o -ffast-math.
9042
9043 2001-02-27 Richard Henderson <rth@redhat.com>
9044
9045 * print-rtl.c (print_rtx) [i]: Don't print field five on
9046 NOTEs other than NOTE_INSN_DELETED_LABEL.
9047
9048 2001-02-27 Zack Weinberg <zackw@stanford.edu>
9049
9050 * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
9051 * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
9052
9053 2001-02-27 Diego Novillo <dnovillo@redhat.com>
9054
9055 * c-common.c (walk_stmt_tree): Visit the chain of the current tree
9056 even if walk_subtrees is 0.
9057 * c-semantics.c (prune_unused_decls): Return a non-null value to
9058 stop traversing the tree chain.
9059
9060 2001-02-27 DJ Delorie <dj@redhat.com>
9061
9062 * config/m68k/m68k.c (output_function_prologue): Save the new CFA
9063 register, *then* define it as the new CFA.
9064
9065 Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
9066
9067 * pa.c (override_options): Promote -fpic to -fPIC.
9068 (legitimize_pic_address): Simplify due to removal of
9069 small PIC as a code generation option.
9070 (secondary_reload_class): Similarly.
9071 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
9072 (PRINT_OPERAND_ADDRESS): Similarly.
9073 * pa.md (various patterns): Similarly.
9074 (small pic lo_sum pattern): Remove.
9075
9076 Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz>
9077 Fergus Henderson
9078
9079 * md.texi (min, max): Document
9080
9081 Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz>
9082
9083 * i386.md (movsf, movdf): Use movaps for reg-reg moves if
9084 TARGET_PARTIAL_REG_DEPENDENCY.
9085 (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
9086
9087 Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz>
9088
9089 * i386.md (mins*, maxs*): New patterns, expanders and splitters.
9090
9091 2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
9092
9093 * mips.c (mips_make_temp_file): Fix thinko in last change.
9094
9095 2001-02-26 Jason Eckhardt <jle@redhat.com>
9096
9097 * combine.c (known_cond): Do not reverse the condition when
9098 SMAX/UMAX is being considered and the condition is for equality
9099 or inequality.
9100
9101 * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
9102
9103 2001-02-26 Philip Blundell <philb@gnu.org>
9104
9105 * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
9106 "armv2-*-linux".
9107 * config/arm/linux-elf.h: Remove historical relics related to
9108 above configurations.
9109 * config/arm/linux-oldld.h: Delete.
9110 * config/arm/linux-elf26.h: Delete.
9111
9112 2001-02-26 Jason Merrill <jason@redhat.com>
9113
9114 * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
9115 definitions.
9116 * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
9117 recognize a tentative definition. Lose obsolete code.
9118
9119 * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
9120 variables unless necessary, either.
9121
9122 2001-02-25 Richard Henderson <rth@redhat.com>
9123
9124 * ifcvt.c (struct noce_if_info): Add test_bb.
9125 (noce_get_alt_condition): New.
9126 (noce_try_minmax, noce_try_abs): New.
9127 (noce_operand_ok): New.
9128 (noce_process_if_block): Use them.
9129 * rtlanal.c (may_trap_p): NEG and ABS can never trap.
9130
9131 Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com>
9132
9133 * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
9134 include.
9135
9136 2001-02-25 Zack Weinberg <zackw@stanford.edu>
9137
9138 * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
9139 * config/mips/mips.c (mips_make_temp_file): Set temp_filename
9140 properly.
9141 (mips_asm_file_end): Free temp_filename here.
9142
9143 Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9144
9145 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
9146 * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
9147
9148 * config/i386/i386.md (movstrsi): Handle FAIL case.
9149
9150 2001-02-25 Neil Booth <neil@daikokuya.demon.co.uk>
9151
9152 * cppinit.c (builtin_array): Update.
9153 (init_builtins): Flag builtins to warn if redefined or
9154 undefined. Define __GXX_WEAK as a normal macro.
9155 * cpplib.c (do_undef): Warn if flagged NODE_WARN.
9156 * cpplib.h (NODE_WARN): New flag.
9157 * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
9158 Handle __STDC__ as a builtin only on Solaris.
9159 (warn_of_redefinition): Renamed from check_macro_definition.
9160 Reverse sense of test. Always warn if NODE_WARN.
9161 (_cpp_create_definition): Use warn_of_redefinition. Flag
9162 any macro beginning with "__STDC_" to require a mandatory
9163 warning if redefined or undefined.
9164
9165 2001-02-24 Zack Weinberg <zackw@stanford.edu>
9166
9167 * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
9168 i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
9169 i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
9170 i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
9171 m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
9172 mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
9173 Don't define any of:
9174 USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
9175 P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
9176 NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
9177 index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
9178 STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
9179
9180 * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
9181 fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
9182 definitions.
9183
9184 * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
9185 Delete now-empty file.
9186
9187 * alpha/vms.h: Define NEED_ATEXIT here...
9188 * alpha/xm-vms.h: ...not here.
9189
9190 * i386/cygwin.h: Don't define PARAMS.
9191 * mips/mips.c: Don't prototype mktemp. Don't define
9192 P_tmpdir. Use make_temp_file to create temporary files.
9193 Don't be clever and delete temporary files early.
9194 * config.gcc: Drop references to deleted files. Don't define
9195 FULL_PROTOTYPES.
9196 * gcc.texi: Don't mention USE_PROTOTYPES.
9197
9198 Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9199
9200 * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
9201 (ix86_set_move_mem_attrs_1): Likewise.
9202 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
9203 * config/i386/i386.md (movstrsi): Call it.
9204
9205 2001-02-24 Zack Weinberg <zackw@stanford.edu>
9206
9207 * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
9208 x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
9209 ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
9210 rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
9211
9212 (i750a-*-*): Error here if hosting on i750a.
9213 (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
9214
9215 * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
9216 Remove (empty modulo comments).
9217
9218 * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
9219 alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
9220 i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
9221 i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
9222 mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
9223 rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
9224
9225 * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
9226 Remove reference to winnt.h in comment.
9227 * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
9228
9229 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9230
9231 * loop.c (check_dbra_loop): A biv has uses besides counting if it is
9232 used to set another biv.
9233
9234 Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9235
9236 * tree.h (BLOCK_DEAD): New macro.
9237 (struct tree_block): New flag, dead_flag.
9238 * print-tree.c (print_node, case 'b'): Print missing fields.
9239 * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
9240 * function.c (identify_blocks): Enable test for misplaced notes.
9241 (all_blocks): Skip BLOCK_DEAD blocks.
9242 * integrate.c (integrate_decl_tree): Likewise.
9243
9244 * errors.c (internal_error, trim_filename): New functions.
9245 (fancy_abort): Call internal_error.
9246 * errors.h (internal_error, trim_filename): New declarations.
9247
9248 2001-02-24 Alexandre Oliva <aoliva@redhat.com>
9249
9250 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
9251 2000-08-26's patch.
9252 (EXTRA_CONSTRAINT): Formatting changes.
9253
9254 2001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9255
9256 * rtl.c (rtl_check_failed_code2): Fix typo in last change.
9257
9258 2001-02-23 Per Bothner <per@bothner.com>
9259
9260 * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
9261 so they can be called from java/jvspec.c.
9262 * gcc.h (record_temp_file, pfatal_with_name, error): Declare.
9263
9264 Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz>
9265
9266 * i386.c (ix86_frame): New structure.
9267 (ix86_compute_frame_size): Kill.
9268 (ix86_compute_frame_layout): New.
9269 (ix86_save_reg): New.
9270 (ix86_can_use_return_insn_p): Use frame layout stuff.
9271 (ix86_expand_prologue): Likewise.
9272 (ix86_expand_epilogue): Likewise.
9273 (ix86_initial_elimination_offset): Likewise.
9274 (ix86_nsaved_regs): Use ix86_save_reg.
9275 (ix86_emit_save_regs): Likewise.
9276
9277 Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz>
9278
9279 * flow.c (find_sub_basic_blocks): New function.
9280 (split_block): Be ready for basic block introduced by CODE_LABEL.
9281 (commit_one_edge_insertion): Call find_sub_basic_block.
9282
9283 * flow.c (make_edges): Add edge from entry for blocks starting with
9284 label having ALTERNATE_NAME
9285
9286 Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz>
9287
9288 * function.c (epilogue_done): Be ready for first basic block not
9289 containing PROLOGUE_END note.
9290 (reposition_prologue_and_epilogue_notes): Avoid placing
9291 PROLOGUE_END note between BASIC_BLOCK.
9292
9293 Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz>
9294
9295 * loop.c (canonicalize_condition): Move to reversed_comparison_code.
9296
9297 2001-02-21 DJ Delorie <dj@redhat.com>
9298
9299 * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
9300 check for current_function_has_nonlocal_goto from 1999-11-12.
9301
9302 Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9303
9304 * diagnostic.c (trim_filename): No longer static.
9305 * toplev.h (trim_filename): Declare.
9306 * rtl.c (rtl_check_failed_bounds): Call internal_error.
9307 (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
9308 (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
9309 (rtvec_check_failed_bounds): Likewise.
9310 * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
9311
9312 * convert.c (convert_to_integer): Don't do unsigned unless result or
9313 both inputs are unsigned.
9314
9315 * fold-const.c (fold_convert): Don't call size_int_type_wide if
9316 input overflows.
9317
9318 * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
9319
9320 * varasm.c (output_constant): Recompute CODE after lang-specific fn.
9321
9322 2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
9323
9324 * Makefile.in (resource.o): Add params.h dependence.
9325 * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
9326 * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
9327 * resource.c: Add dependence on params.h.
9328 (current_live_regs): Fix explanatory comment.
9329 (find_basic_block): Add new parameter to permit limiting search
9330 for a BARRIER.
9331 (mark_target_live_regs): Add new argument to find_basic_block call.
9332 (incr_ticks_for_insn): Likewise.
9333
9334 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
9335
9336 * diagnostic.c (output_to_stream): Rename to
9337 output_buffer_to_stream. Loses the stream parameter.
9338 (init_output_buffer): Set diagnosic_buffer's stream.
9339 (flush_diagnostic_buffer): Adjust.
9340 (default_print_error_function): Likewise.
9341 (finish_diagnostic): Likewise.
9342 (verbatim): Likewise.
9343
9344 * diagnostic.h (struct output_buffer): Add `stream' field.
9345 (output_buffer_attached_stream): New macro.
9346
9347 2001-02-23 Jakub Jelinek <jakub@redhat.com>
9348
9349 * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
9350 check if either operand is divisible by C.
9351 (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
9352 If type is signed, consider negative numbers as well.
9353
9354 2001-02-22 Richard Henderson <rth@redhat.com>
9355
9356 * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
9357 reach .text instead of gp-relative relocs.
9358 * config/ia64/crtend.asm (.init): Likewise.
9359
9360 2001-02-22 Andreas Jaeger <aj@suse.de>
9361
9362 * extend.texi (C++ Attributes): Fix typo.
9363
9364 2001-02-21 David Mosberger <davidm@hpl.hp.com>
9365
9366 * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
9367 functions, drop current_function_args_info.words test.
9368 (ia64_compute_frame_size): Mark syscall_linkage functions as
9369 using eight input registers.
9370
9371 2001-02-21 Loren J. Rittle <ljrittle@acm.org>
9372 Bruce Korb <bkorb@gnu.org>
9373
9374 * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
9375 * fixinc/README: Document how to convert sed substitutions
9376 to format style c_fix-es.
9377 * fixinc/fixincl.x: regen
9378
9379 2001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
9380
9381 * gcc.c: Add comment explaining how to add a command-line option.
9382 Add title to specs language comment.
9383
9384 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
9385
9386 * gcc.c (cc1_options): Add "-param".
9387 (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
9388 (option_map): Likewise.
9389 * toplev.c (display_help): Add entry for "--param".
9390 (independent_decode_option): Fix typographical error.
9391
9392 Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com>
9393 Bernd Schmidt <bernds@redhat.com>
9394 Jan Hubicka <jh@suse.cz>
9395
9396 * i386.c (function_arg_advance): Pass SSE arguments in registers.
9397 (function_arg): Likewise.
9398
9399 Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
9400
9401 * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
9402
9403 2001-02-21 Kazu Hirata <kazu@hxi.com>
9404
9405 * config/h8300/h8300.md (iorsi3): Do not output an extra newline
9406 character.
9407 (xorsi3): Likewise.
9408
9409 Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz>
9410
9411 * flow.c (init_propagate_block_info): Canon address and use single_set
9412 for killing dead memory stores.
9413
9414 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
9415
9416 * Makefile.in (reorg.o): Add params.h dependence.
9417 * params.def: Fix typographical error in comment.
9418 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
9419 * params.h: Modify introductory comment.
9420 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
9421 * reorg.c: Add dependence on params.h.
9422 (redundant_insn): Add parameterized throttle for search.
9423 (fill_simple_delay_slots): Add a comment explaining a variable.
9424 Move conditional out of loop, simplifying code.
9425 (fill_eager_delay_slots): Fix typographical error in comment.
9426
9427 2001-02-20 Aldy Hernandez <aldyh@redhat.com>
9428
9429 * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
9430
9431 * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
9432 (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
9433
9434 2001-02-21 Jason Merrill <jason@redhat.com>
9435
9436 * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
9437 (struct tree_decl): Add uninlinable bitfield.
9438 * c-decl.c (duplicate_decls): Set it.
9439 * integrate.c (function_cannot_inline_p): Check it.
9440
9441 * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
9442 DW_AT_MIPS_linkage_name to abstract methods.
9443 (dwarf2out_abstract_function): Emit class context before calling
9444 set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
9445 (gen_subprogram_die): Remove obsolete code.
9446 (gen_member_die): Don't include clones in the member list.
9447 (gen_decl_die): Emit abstract info for clone origin.
9448 * dwarfout.c (output_type): Don't include clones in the member list.
9449 * dbxout.c (dbxout_type_methods): Ignore abstract methods.
9450 * toplev.c (note_deferral_of_defined_inline_function): Don't clear
9451 DECL_ABSTRACT on a function that already has it set.
9452
9453 * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
9454 (get_subprogram_die): Pass it in.
9455
9456 2001-02-21 Richard Earnshaw <rearnsha@arm.com>
9457
9458 * flow.c (mark_set_1): Make not_dead unsigned long. For
9459 non-pseudos, use it as a bitmask of the hard regs that
9460 don't die.
9461
9462 2001-02-21 Neil Booth <neil@daikokuya.demon.co.uk>
9463
9464 * cppfiles.c: Update comments.
9465 (_cpp_read_file): Don't check for NULL filenames any more.
9466 * cppinit.c (cpp_start_read): Don't do canonicalization of
9467 in_fname and out_fname. Use the passed file name exclusively.
9468 (_cpp_handle_options): Don't treat "-" as a command line option,
9469 but as a normal filename.
9470 (_cpp_post_options): Canonicalize in_fname and out_fname.
9471 * cppmain.c (printer_init): Don't check out_fname for NULL.
9472 * c-lex.c (orig_filename): Rename cpp_filename for clarity.
9473 (init_c_lex): Update, and use "" to represent stdin to CPP.
9474 (yyparse): Update.
9475
9476 2001-02-20 Will Cohen <wcohen@redhat.com>
9477
9478 * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
9479 * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
9480 (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
9481 fixunstfsi_libfunc.
9482
9483 2001-02-20 Stan Shebs <shebs@apple.com>
9484
9485 * config/rs6000/rs6000.c (output_cbranch): Output branches
9486 on separate lines instead of using ';' to separate.
9487
9488 2001-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
9489
9490 * cppinit.c (set_lang): Move builtin handling to...
9491 (init_builtins): ...here.
9492 (_cpp_create_reader): Move call to set_lang.
9493
9494 2001-02-20 Mark Mitchell <mark@codesourcery.com>
9495
9496 * stmt.c (expand_return): If an attempt is made to return the
9497 error_mar_node, treat the return like a return without a value.
9498
9499 2001-02-19 Zack Weinberg <zackw@stanford.edu>
9500
9501 * sibcall.c (skip_copy_to_return_value): Call
9502 identify_call_return_value here, and return orig_insn if it
9503 returns zero. Hardret and softret arguments now unnecessary.
9504 (call_ends_block_p): Don't call identify_call_return_value here.
9505
9506 * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
9507 's' slots in RTXen.
9508 * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
9509 * ggc.h (ggc_mark_if_gcable): Delete prototype.
9510
9511 Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com)
9512
9513 * pa.c (move_operand): Accept code to load the address of a
9514 symbol out of the DLT as a valid move operand.
9515 (print_operand, case 'A'): New to handle generating a DLT
9516 reference for a LO_SUM expression.
9517 * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
9518 * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
9519
9520 2001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
9521
9522 * README, cpp.texi, gcc.texi, version.c: Update version number to
9523 3.1.
9524 * cpp.1, gcov.1, gcc.1: Regenerate.
9525
9526 2001-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
9527
9528 * cppfiles.c (stack_include_file): Generate dependencies
9529 here, and manage include_count here too.
9530 (PRINT_THIS_DEP): Delete.
9531 (_cpp_execute_include): Do not generate dependencies here,
9532 apart from the case of a missing header. Do not manage
9533 include_count.
9534 (_cpp_read_file): Leave dependency generation to
9535 stack_include_file.
9536
9537 Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com)
9538
9539 * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
9540 target_cpu_default. Remove dead assignment to
9541 target_cpu_default.
9542
9543 Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz>
9544
9545 * regclass.c (contains_reg_of_mode): Make global.
9546 (init_reg_sets): Remove contains_reg_of_mode; take into account
9547 CLASS_MAX_NREGS when looking for the proper mode.
9548 (dump_regclass): Dump only classes considered for the pseudo.
9549 (regclass): Use contains_reg_of_mode.
9550
9551 Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz>
9552
9553 * gcc.c (do_spec_1): 'n' for printing notices.
9554 * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
9555
9556 Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz>
9557
9558 * reg-stack.c (next_flags_user): Use current_block->end
9559 (swap_rtx_condition): Look for next user if flags don't die;
9560 give up on CALL_INSNs; use current_block->end.
9561
9562 Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9563
9564 * sibcall.c (call_ends_block_p): New function.
9565 (optimize_sibling_and_tail_recursive_call): Use it.
9566
9567 2001-02-18 Kazu Hirata <kazu@hxi.com>
9568
9569 * config/h8300/h8300.md: Update copyright.
9570 (andsi3): Do not output an extra newline character.
9571
9572 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9573
9574 * toplev.c (note_deferral_of_defined_inlined_function): Argument
9575 FNDECL may be unused.
9576
9577 * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
9578 follow jumps after first run.
9579 If -fexpensive-optimizations rerun CSE after GCSE and iterate until
9580 it doesn't change any jumps.
9581
9582 Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com)
9583
9584 * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
9585 ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
9586 (mostlyclean): Corresponding changes.
9587 * rtlanal.c (hard-reg-set.h): Include.
9588 (rtx_unstable_p): Do not treat the argument pointer specially
9589 if it is not a fixed register.
9590 (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
9591
9592 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9593
9594 * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
9595 against last real insn in basic block.
9596 Rework to avoid gotos.
9597
9598 * Makefile.in (gcse.o): Now includes ggc.h.
9599 * gcse.c: Include ggc.h.
9600 (want_to_gcse_p): Verify expression can be in SET as valid insn.
9601 (try_replace_reg): Remove warning of uninitialize variable.
9602 (process_insert_insn): Call invalid_insn_p to validate insn.
9603 * recog.c (insn_invalid_p): Now global.
9604 See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
9605 * recog.h (insn_invalid_p): New declaration.
9606
9607 * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
9608
9609 * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
9610 assignments from FP constants since 'Y' output code can't handle it.
9611 (eligible_for_sibcall_delay): Likewise.
9612
9613 * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
9614 Call fancy_abort directly, passing args.
9615 (print_rtl_and_abort): Now a macro, like fancy_abort.
9616
9617 * final.c (output_operand_lossage): Use internal_error, not error.
9618
9619 2001-02-18 Shane Nay <shane@agendacomputing.com>
9620
9621 * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
9622 structure shift insns.
9623
9624 2001-02-18 Mark Mitchell <mark@codesourcery.com>
9625
9626 * invoke.texi (-fsquangle): Remove documentation.
9627 (-fname-mangling-version): Likewise.
9628
9629 2001-02-18 Lars Brinkhoff <lars@nocrew.org>
9630
9631 * optabs.c (expand_abs): Remove reference to
9632 HAVE_contitional_arithmetic.
9633 * combine.c (simplify_set): Likewise.
9634
9635 2001-02-18 Richard Henderson <rth@redhat.com>
9636
9637 * ifcvt.c (dead_or_predicable): Don't move code if eh regions
9638 would be disrupted.
9639
9640 2001-02-18 Richard Henderson <rth@redhat.com>
9641
9642 * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
9643
9644 * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
9645
9646 * reload1.c (reload_cse_simplify_set): Fix typo.
9647
9648 Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9649
9650 * diagnostic.c (_fatal_insn): Decrement errorcount.
9651
9652 * invoke.texi (-I): Add note avoiding use for system header files.
9653
9654 * rtl.h (add_clobbers): Remove duplicate declaration.
9655 * recog.h (added_clobbers_hard_reg_p): New declaration.
9656 * genemit.c (struct clobber_pat): New field has_hard_reg.
9657 (gen_insn): Record if added clobbers clobber hard reg.
9658 (gen_split): Avoid unused warning if number of operands is 0.
9659 (output_added_clobbers_hard_reg_p): New function.
9660 (main): Call it.
9661
9662 2001-02-18 Alan Modra <alan@linuxcare.com.au>
9663
9664 * pa.c (hppa_expand_prologue): Simplify code storing return
9665 pointer. For large (>=8k) frames with a post_store, adjust stack
9666 pointer by 8k-64 first rather than by 64. When testing with
9667 VAL_14_BITS_P, always use the actual value rather than the value
9668 negated. Add blockage to prevent scheduling of spills before
9669 stack frame has been created.
9670 (hppa_expand_epilogue): Simplify code loading return pointer.
9671 Allow a slightly larger range for merge_sp_adjust_with_load case.
9672 When testing with VAL_14_BITS_P, always use the actual value.
9673
9674 * pa.c (pa_adjust_insn_length): Check that block move
9675 pattern is a set before looking at operands.
9676
9677 2001-02-17 Mark Mitchell <mark@codesourcery.com>
9678
9679 * fold-const.c (fold_binary_op_with_conditional_arg): New
9680 function, split out from ...
9681 (fold): ... here.
9682 * tree.def (COND_EXPR): Document the use of VOID_TYPE for
9683 conditional arms that throw exceptions.
9684
9685 * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
9686 looking at a BLOCK.
9687
9688 2001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9689
9690 * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
9691 define HAVE_DECL_* to 1 to mask potential backup declarations.
9692 * configure: Regenerated.
9693
9694 2001-02-17 Mark Mitchell <mark@codesourcery.com>
9695
9696 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
9697
9698 2001-02-17 Richard Henderson <rth@redhat.com>
9699
9700 * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
9701 when replacing a memory load with a register.
9702
9703 Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9704 Jan Hubicka <jh@suse.cz>
9705
9706 * recog.c (validate_replace_src_1): New.
9707 (validate_replace_src_data): Likewise.
9708 (validate_replace_src): Use note_uses.
9709 * rtl.h (note_uses): Declare.
9710 * rtlanal.c (note_uses): New.
9711
9712 Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz>
9713
9714 * reg-stack.c (stack_def): Make field reg unsigned.
9715 (remove_regno_note): Unsignetize parameter.
9716
9717 2001-02-16 Jes Sorensen <jes@linuxcare.com>
9718
9719 * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
9720 shladd_operand() call.
9721
9722 2001-02-16 Bruce Korb <bkorb@gnu.org>
9723 Rodney Brown <RodneyBrown@mynd.com>
9724
9725 * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
9726 * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
9727 machine restrictions
9728 * fixinc/fixincl.x: regen
9729
9730 Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9731
9732 * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
9733 Don't CSE a nop.
9734 (hash_scan_insn): Clean up calls to hash_scan_set.
9735 (compute_kill_rd): REGNO now unsigned.
9736 (try_replace_reg): Rework to use simplify_replace_rtx.
9737 (cprop_jump, cprop_cc0_jump): Likewise.
9738 (cprop_insn): Call find_reg_equal_equiv_note.
9739 Reflect changes to cprop_jump and cprop_cc0_jump.
9740
9741 * recog.c (validate_replace_src): Replace in operands of
9742 ZERO_EXTRACT in SET_DEST.
9743
9744 * cse.c (new_label_ref): New variable.
9745 (insert): Set it instead of recorded_label_ref.
9746 (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
9747 CODE_LABEL for this function, and not already in REG_LABEL note.
9748
9749 2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
9750
9751 * resource.c (mark_referenced_resources): Fix typo in introductory
9752 comment.
9753 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
9754 string constant.
9755
9756 2001-02-16 Jason Merrill <jason@redhat.com>
9757
9758 * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
9759 NULL.
9760 (gen_subprogram_die): Don't abort on seeing a second definition if
9761 the previous one was abstract. Don't replace an abstract instance
9762 in the lookup table.
9763
9764 * dwarf2out.c (dwarf2out_abstract_function): Rename from
9765 gen_abstract_function.
9766 * dwarf2out.h: Declare it.
9767 * toplev.c (note_outlining_of_inline_function): New fn.
9768 * toplev.h: Declare it.
9769 * integrate.c (output_inline_function): Call it.
9770 * c-decl.c (duplicate_decls): Call it when redefining an extern
9771 inline. Don't inline the new defn.
9772
9773 * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
9774
9775 2001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9776
9777 * .gdbinit: Rename to gdbinit.in.
9778 * gdbinit.in: New file,
9779 * configure.in: Generate .gdbinit from gdbinit.in.
9780 * configure: Regenerated.
9781 * Makefile.in (distclean): Always remove .gdbinit.
9782
9783 2001-02-16 Jakub Jelinek <jakub@redhat.com>
9784
9785 * objc/objc-act.c (start_class): Register implemented_classes with
9786 GC.
9787
9788 2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
9789
9790 * cppfiles.c (_cpp_make_system_header): Generate a file
9791 change callback.
9792
9793 2001-02-15 Jim Meyering <meyering@lucent.com>
9794
9795 * Makefile.in (install-common): Don't depend on installdirs here.
9796 Instead, make each of the lang.install-common targets (e.g.,
9797 c++.install-common in cp/Make-lang.in) depend on it.
9798 (install-driver): Depend on installdirs.
9799
9800 Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9801
9802 * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
9803
9804 * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
9805 do in memory.
9806
9807 2001-02-15 Mark Mitchell <mark@codesourcery.com>
9808
9809 * invoke.texi (--param): Document.
9810
9811 Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com>
9812
9813 * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
9814
9815 Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz>
9816
9817 * i386.md (extendsfdf2_2): Fix constraints.
9818
9819 Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz>
9820
9821 * i386.md (fop_df_3 splitter): Fix operand number.
9822
9823 Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz>
9824
9825 * invoke.texi (-mreg-alloc): Nuke.
9826 * i386.c (ix86_reg_alloc_order, regs_allocated,
9827 order_regs_for_local_alloc): Nuke.
9828 (override_options): Kill reg_alloc code.
9829 * i386.h (TARGET_OPTIONS): Kill reg-alloc.
9830 (REG_ALLOC_ORDER): SSE goes before I387.
9831 (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
9832 (ix86_reg_alloc_order): Likewise.
9833 * i386-protos.h (ix86_reg_alloc_order): Kill.
9834
9835 2001-02-14 Richard Henderson <rth@redhat.com>
9836
9837 * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
9838
9839 Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz>
9840
9841 * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
9842
9843 Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz>
9844
9845 * i386-protos.h (ix86_memory_move_cost): Move offline.
9846 * i386.c (ix86_register_move_cost): Compute properly cost of
9847 SSE, MMX and i387 instructions.
9848 (*_cost): Add costs of SSE/MMX moves.
9849 (ix86_memory_move_cost): Move offline from ....; Likewise.
9850 * i386.h (MEMORY_MOVE_COST): .... here;
9851 (struct processor costs): Add new fields to represent costs
9852 of SSE/MMX moves.
9853
9854 Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz>
9855
9856 * regclass.c (init_reg_sets_1): Reinstall the optimization of
9857 move_cost together with Matt Kraai's fix.
9858
9859 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
9860
9861 * Makefile.in (OBJS): Add params.o.
9862
9863 2001-02-14 Richard Henderson <rth@redhat.com>
9864 DJ Delorie <dj@redhat.com>
9865
9866 * jump.c (jump_optimize_1): When we delete a conditional jump
9867 preceeding a non-conditional jump to effectively the same place,
9868 make sure that the combined jump skips any clobber insns between
9869 the two labels.
9870
9871 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
9872
9873 * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
9874
9875 2001-02-14 Mark Mitchell <mark@codesourcery.com>
9876
9877 * Makefile.in (toplev.o): Depend on params.h.
9878 (intergate.o): Likewise.
9879 (params.o): New target.
9880 * flags.h (inline_max_insns): Remove.
9881 * integrate.c: Include params.h.
9882 Use MAX_INLINE_INSNS instead of inline_max_insns.
9883 * params.c: New file.
9884 * params.h: Likewise.
9885 * params.def: Likewise.
9886 * toplev.c: Include params.h.
9887 (lang_independent_params): New variable.
9888 (decode_f_option): Use the param machinery instead of setting
9889 max_inline_insns.
9890 (independent_decode_option): Handle "--param name=value".
9891 (main): Register language-independent parameters.
9892
9893 Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
9894
9895 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
9896
9897 2001-02-14 Richard Henderson <rth@redhat.com>
9898
9899 * regclass.c (init_reg_sets_1): Revert last two changes.
9900
9901 2001-02-14 Jakub Jelinek <jakub@redhat.com>
9902
9903 * stor-layout.c (is_pending_size, put_pending_size): New functions.
9904 (variable_size): Call put_pending_size.
9905 * tree.h (is_pending_size, put_pending_size): Add prototypes.
9906 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
9907 sizes list, put newly created SAVE_EXPR there as well.
9908
9909 2001-02-14 Jakub Jelinek <jakub@redhat.com>
9910
9911 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
9912 (errata_find_address_regs): load_group has only 2 entries.
9913 (errata_emit_nops): Likewise. shladd is not problematic.
9914 Clear last_group if nop was emitted.
9915 (fixup_errata): load_group has only 2 entries.
9916 Optimize.
9917
9918 2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
9919
9920 * c-lex.c (lex_number): Only warn traditionally for U suffix
9921 outside system macros.
9922 * cppexp.c (parse_number): Similarly.
9923 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
9924 * cppmacro.c (struct cpp_macro): New member node.
9925 (parse_args): Only warn about missing rest args if not
9926 a system macro.
9927 (funlike_invocation_p): Similarly for uninvoked funlike macros.
9928 (cpp_sys_objmacro_p): New.
9929 (_cpp_create_definition): Store the node with the macro defn.
9930 Remember if the macro is defined in a system header.
9931
9932 2001-02-13 DJ Delorie <dj@redhat.com>
9933
9934 * configure.in (check_languages): determine languages to check
9935 * Makefile.in (check-c++): alias for check-g++
9936 (check-f77): alias for check-g77
9937 (CHECK_TARGETS): depend on configured languages
9938
9939 Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
9940
9941 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
9942 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
9943 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
9944 (sqrtextendsfdf2): Disable for SSE2.
9945
9946 Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
9947
9948 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
9949 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
9950 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
9951 (sqrtextendsfdf2): Disable for SSE2.
9952
9953 Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
9954
9955 * i386.md (movsfcc_1): Support integer cmove instruction.
9956 (movdfcc_1): Likewise; new splitter.
9957
9958 Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
9959
9960 * i386.c (output_fp_compare): Support SSE.
9961 (prepare_fp_compare_args): SSE comparisons always support memory.
9962 * i386.h (TARGET_CMOVE): SSE imply cmove.
9963 * i386.md (cmp?f2): Enable for SSE too.
9964 (cmpfp_i*): Support SSE.
9965 (cmpfp_i_sse): New.
9966 (cmpfp_i_sse_only): New.
9967 (s*, b* fp expanters): Enable for SSE too.
9968 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
9969 New patterns.
9970
9971 Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
9972
9973 * regclass.c (init_reg_sets_1): Silence warning.
9974
9975 Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
9976
9977 * i386.md (sqrt?f2): Change to expander.
9978 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
9979
9980 Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9981
9982 * rtlanal.c (find_reg_equal_equiv_note): New function.
9983 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
9984 (simplify_gen_relational, simplify_replace_rtx): Likewise.
9985 * rtl.h: Add declarations for above functions.
9986
9987 Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
9988
9989 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
9990 conditionals.
9991 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
9992 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
9993 * flow.c (mark_regs_live_at_end): Likewise.
9994 (calculate_global_regs_live): Likewise.
9995 * gcse.c (compute_hash_table): Likewise.
9996 (compute_kill_rd): Likewise.
9997 * resource.c (mark_target_live_regs): Likewise.
9998 * rtl.h (INVALID_REGNUM): New macro.
9999
10000 Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
10001
10002 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
10003
10004 Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
10005
10006 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
10007 for SSE.
10008
10009 Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
10010
10011 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
10012 too.
10013 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
10014 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
10015 (fop_sf_1_sse, fop_df_1_sse): New patterns
10016 (fop_*): Disable float_extend and float patterns for SSE compilation.
10017 * i386.c (output_387_binary_op): Support SSE.
10018
10019 Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
10020
10021 * i386.md (dummy_extendsfdf2): Support SSE2
10022 (extendsfdf2): Enable if 80387 or SSE2.
10023 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
10024 and no MIX_I387_SSE2
10025 (extendsfdf2_1_sse_only): New pattern.
10026 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
10027 of SSE.
10028 (truncdfsf2_1): Support SSE.
10029 (truncdfsf2_2): Support SSE.
10030 (truncdfsf2_2_1_sse): New pattern.
10031 (fixtruncsfsi2): Always use SSE if available.
10032 (fix_truncsfsi_sse): New pattern.
10033 (fix_truncdfsi_sse): New pattern.
10034 (floatsis?f2): Support SSE.
10035 (floatsidf2_i387): New pattern.
10036 (floatsidf2_sse): Likewise.
10037
10038 Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10039
10040 * configure.in: Use "have_gnat" variable, not "gnat".
10041 * configure: Regenerated.
10042
10043 * config/sparc/sparc.c (function_value): Treat all non-record
10044 aggregate types like used to treat UNION_TYPE.
10045
10046 Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
10047
10048 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
10049 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
10050 (MASK_SSE2): New.
10051 (MASK_MIX_SSE_I387): New.
10052 (TARGET_SSE): SSE2 imply SSE.
10053 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
10054 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
10055 (enum reg_class): Add new classes.
10056 (REG_CLASS_NAMES): Likewise.
10057 (REG_CLASS_CONTENTS): Likewise.
10058 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
10059 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
10060 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
10061 (CLASS_MAX_NREGS): Use new macros.
10062 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
10063 * i386.md (pushsf, movsf): Support SSE.
10064 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
10065 splitters to use ANY_FP_REGNO_P.
10066 (movdf_nointeger, movdf_integer): Likewise.
10067
10068 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
10069
10070 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
10071 (try_combine): Use it.
10072
10073 Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
10074
10075 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
10076 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
10077 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
10078 (REGISTER_MOVE_COST): Likewise.
10079 * i386-protos.h (ix86_secondary_memory_needed,
10080 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
10081 * i386.c (ix86_secondary_memory_needed,
10082 ix86_preferred_reload_class, ix86_register_move_cost): New function.
10083
10084 Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
10085
10086 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
10087 (HARD_REGNO_MODE_OK): Move offline to ....
10088 * i386.c (ix86_hard_regno_mode_ok) ... here;
10089 refuse all incorrect modes.
10090 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
10091
10092 2001-02-13 Richard Henderson <rth@redhat.com>
10093
10094 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
10095 entire operator; replicate that and match_dup the operands.
10096 (cmp_ccx_arith_op_set): Likewise.
10097 (cmp_cc_arith_op_not_set): Likewise.
10098 (cmp_ccx_arith_op_not_set): Likewise.
10099
10100 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
10101
10102 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
10103
10104 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
10105
10106 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
10107 (TARGET_NO_BITFIELD_WORD): New macro.
10108 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
10109 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
10110
10111 Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10112
10113 * cselib.c: New file, from simplify-rtx.c.
10114 * simplify-rtx.c: Remove cselib parts.
10115 * Makefile.in: Add cselib.o.
10116
10117 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
10118
10119 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
10120 (setup_incoming_varargs): Remove warning.
10121
10122 * config/rs6000/rs6000.c (validate_condition_mode): When
10123 flag_fast_math, allow floating-point conditionals to be reversed.
10124 (rs6000_generate_compare): When flag_fast_math, don't generate
10125 cror operations for FP conditionals.
10126
10127 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
10128 -mcall-i960.
10129 (ASM_SPEC): Likewise.
10130 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
10131 (CC1_SPEC): Likewise.
10132 (LINK_TARGET_SPEC): Likewise.
10133 (CPP_ENDIAN_SPEC): Likewise.
10134 * Makefile.in (check-consistency): New target.
10135
10136 2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
10137
10138 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
10139 "return type defaults" warning for functions with return type
10140 defaulting to int.
10141 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
10142 function declarations by default rather than only when pedantic.
10143
10144 Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
10145
10146 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
10147 arrays.
10148
10149 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
10150
10151 * extend.texi (Deprecated): Deprecate new initializer lists.
10152
10153 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
10154
10155 * mkdeps.c (deps_add_default_target): Robustify. Add
10156 basename component only.
10157 * cpp.texi (-M): Describe how default target is generated.
10158 * invoke.texi (-M): Likewise.
10159
10160 2001-02-12 Kazu Hirata <kazu@hxi.com>
10161
10162 * toplev.c (push_float_handler): Remove.
10163 (pop_float_handler): Remove.
10164 * toplev.h: Remove prototypes for the above functions.
10165
10166 2001-02-12 Jakub Jelinek <jakub@redhat.com>
10167
10168 * c-common.c (constant_fits_type_p): New function.
10169 (convert_and_check): Use it.
10170
10171 2001-02-11 Mark Mitchell <mark@codesourcery.com>
10172
10173 * Makefile.in (GXX_ABI_FLAG): Don't define.
10174 * configure.in (--enable-new-gxx-abi): Remove option.
10175 * config.in: Regenerated.
10176 * configure: Likewise.
10177
10178 2001-02-12 Alexandre Oliva <aoliva@redhat.com>
10179
10180 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
10181 basic block.
10182 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
10183 regular basic block, and arrange for all edges into it to switch
10184 to normal mode.
10185
10186 2001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10187
10188 * Makefile.in (distclean): Do not remove .gdbinit.
10189
10190 2001-02-11 Mark Mitchell <mark@codesourcery.com>
10191
10192 * Makefile.in (gcc.o): Fix typos.
10193 (protize.o): Likewise.
10194 (unprotoize.o): Likewise.
10195
10196 2001-02-11 Richard Henderson <rth@redhat.com>
10197
10198 * tree.c (build1): Check for null operand in last change.
10199
10200 2001-02-11 Richard Henderson <rth@redhat.com>
10201
10202 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
10203 (fold): Don't assume a constant isn't foldable.
10204 * tree.c (build): Set TREE_CONSTANT for an expression with no
10205 side-effects and constant operands.
10206 (build1): Likewise.
10207
10208 2001-02-10 Richard Henderson <rth@redhat.com>
10209
10210 * jump.c (squeeze_notes): Revert 2000-05-12 change.
10211
10212 2001-02-10 Anthony Green <green@redhat.com>
10213
10214 * cpp.texi (Standard Predefined): Add documentation for
10215 __OPTIMIZE_SIZE__.
10216
10217 * c-common.c (combine_strings): Improve warning message.
10218
10219 2001-02-10 Geoffrey Keating <geoffk@redhat.com>
10220
10221 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
10222 --oformat.
10223 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
10224
10225 Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
10226
10227 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
10228 CYGWIN_CROSS_DIR.
10229
10230 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
10231
10232 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
10233 fp_mode attribute.
10234
10235 2001-02-09 Nick Clifton <nickc@redhat.com>
10236
10237 * config/arm/arm.md: Change output contraint on post inc
10238 load/store multiple patterns to be a read/write contraint.
10239
10240 2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
10241
10242 * gcc.c (cpp_options): Delete .d files on error. Don't delete
10243 .o files when using the -M options.
10244
10245 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10246 David Edelsohn <edelsohn@gnu.org>
10247
10248 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
10249 handle DImode constants. Use one TOC entry for SImode and smaller
10250 constants, aligned properly.
10251
10252 2001-02-08 Jason Merrill <jason@redhat.com>
10253
10254 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
10255 about the SP adjustment for saving the static chain pointer.
10256 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
10257 offset when setting a temporary CFA register.
10258
10259 2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
10260
10261 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
10262 powerpc-*-chorusos* .
10263 * config/rs6000/chorus.h : New file.
10264 * config/i386/chorus.h : New file.
10265 * config/sparc/chorus.h : New file.
10266 * config/sparc/t-chorus-elf : New file.
10267
10268 2001-02-08 David Edelsohn <edelsohn@gnu.org>
10269
10270 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
10271 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
10272 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
10273 (__WCHAR_TYPE__): Correct macro name.
10274
10275 2001-02-08 Richard Henderson <rth@redhat.com>
10276
10277 * config/i386/i386.c (ix86_frame_pointer_required): New.
10278 (ix86_setup_frame_addresses): New.
10279 (struct machine_funciton): Add accesses_prev_frame.
10280 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
10281 ix86_frame_pointer_required.
10282 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
10283 (SETUP_FRAME_ADDRESSES): New.
10284 * config/i386/i386-protos.h: Update.
10285 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
10286 from FRAME_POINTER_REQUIRED.
10287 * config/i386/svr3gas.h: Likewise.
10288 * config/i386/sysv3.h: Likewise.
10289 * config/i386/v3gas.h: Likewise.
10290
10291 2001-02-08 Richard Henderson <rth@redhat.com>
10292
10293 * config/sparc/sparc.c (function_arg_record_value_3): Fix
10294 calculation of the number of integer registers required.
10295 (function_arg_record_value): Likewise.
10296
10297 2001-02-08 Jason Merrill <jason@redhat.com>
10298
10299 * diagnostic.c (internal_error): Say "confused" after 1 error, not
10300 two. Print file and line with "confused" message.
10301
10302 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
10303
10304 Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10305
10306 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
10307
10308 2001-02-08 Bernd Schmidt <bernds@redhat.com>
10309
10310 * final.c (cleanup_subreg_operands): The address of a MEM can
10311 contain SUBREGs.
10312
10313 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
10314 for asms, too.
10315
10316 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
10317
10318 * gcc.texi (Incompatibilities): Update documentation of
10319 preprocessing numbers.
10320
10321 2001-02-07 Jakub Jelinek <jakub@redhat.com>
10322
10323 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
10324
10325 2001-02-07 Mark Mitchell <mark@codesourcery.com>
10326
10327 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
10328
10329 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
10330 * gcc.c (struct compiler): Add cpp_spec field.
10331 (input_file_compiler): New variable.
10332 (do_spec_1): Allow a particular compiler to handle `%C'
10333 specially.
10334 (main): Store the current compiler in input_file_compiler.
10335 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
10336
10337 2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
10338
10339 * cpphash.h (struct spec_nodes): Add n_true and n_false.
10340 * cppinit.c (cpp_create_reader): Initialize them.
10341 (append_include_chain): cxx_aware arg might be unused.
10342 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
10343 keywords and give them their phase 7 meaning. Pedwarn about
10344 this unless '__bool_true_false_are_defined' is defined.
10345
10346 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
10347
10348 * lcm.c (optimize_mode_switching): Emit mode_set before the
10349 JUMP_INSN of an abnormal edge.
10350
10351 2001-02-07 Bernd Schmidt <bernds@redhat.com>
10352
10353 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
10354 a scheduling barrier at the end.
10355
10356 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
10357
10358 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
10359
10360 * config/sh/sh.md (reload_outsf): Removed.
10361 (movsf_ie): Introduce constraints for FPUL loads and stores.
10362 (reload_insf): Broaden the output constraint.
10363
10364 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
10365 defined.
10366 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
10367 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
10368
10369 2001-02-06 Chandrakala Chavva <cchavva@redhat.com>
10370
10371 * final.c: Revert my previous changes.
10372 * output.h: Make profile_label_no extern.
10373 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
10374 for generating label.
10375
10376 2001-02-06 Laurynas Biveinis <lauras@softhome.net>
10377
10378 * config/i386/djgpp.h: Add comments about standard paths.
10379 (MD_EXEC_PREFIX): Undefine before defining.
10380 (MD_STARTFILE_PREFIX): New.
10381
10382 2001-01-30 Bruce Korb <bkorb@gnu.org>
10383
10384 fixinc/fixincl.c(process): Emit error message only if appropriate :)
10385 (load_file): do not rely on load_file_data() to close file pointer
10386 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
10387 fixinc/inclhack.def(irix_limits_const): add test_text
10388
10389 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
10390
10391 * cppexp.c (parse_defined): Improve diagnostics for invalid
10392 syntax.
10393
10394 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
10395
10396 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
10397
10398 2001-02-06 Mark Mitchell <mark@codesourcery.com>
10399
10400 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
10401 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
10402 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
10403 (rs6000_output_symbol_ref): New function.
10404 (output_toc): Use VTABLE_NAME_P.
10405
10406 Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10407
10408 * print-tree.c (print_node, case PARM_DECL):
10409 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
10410
10411 * stor-layout.c (reference_types_internal): New variable.
10412 (internal_reference_types): New function.
10413 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
10414 * tree.h (internal_reference_types): New declaration.
10415
10416 * cse.c (find_best_addr): Fix typo in computing cost.
10417
10418 Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10419
10420 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
10421 and this is the sum of a pointer and a constant, we know the result
10422 did not overflow.
10423 (num_sign_bit_copies, case PLUS): Likewise.
10424 * explow.c (convert_memory_address): Remove opposite SUBREG.
10425 * function.c (instantiate_new_reg): New function (from common code).
10426 (instantiate_virtual_regs_1): Call it.
10427 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
10428 if pointers sign- or zero-extend.
10429 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
10430 If pointers extend unsigned, use inside of SUBREG.
10431 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
10432
10433 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
10434
10435 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
10436 subdir of gcc_gxx_include_dir.
10437 (gcc_gxx_target_include_dir): Remove.
10438
10439 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
10440
10441 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
10442 (dwarf2out_frame_debug_expr): Revise introductory comments to add
10443 a high-level description.
10444
10445 2001-02-05 Chandrakala Chavva <cchavva@redhat.com>
10446
10447 * final.c: Move the declaration of profile_label_no to ...
10448 * output.h: ... here.
10449 * function.c (expand_function_start): Call PROFILE_HOOK.
10450 * config/rs6000/aix.h: Define PROFILE_HOOK.
10451 * config/rs6000/rs6000-protos.h: output_profile_hook new.
10452 * config/rs6000/rs6000.c (output_profile_hook): Define.
10453 (output_prolog): Do nothing for ABI_AIX as it is taken care by
10454 output_profile_hook.
10455 tm.texi : Explain new macro PROFILE_HOOK.
10456
10457 2001-02-06 Hans-Peter Nilsson <hp@axis.com>
10458
10459 * extend.texi (Extended Asm): Do not say that semicolon is always
10460 a valid line-breaking character for GNU assemblers. Use
10461 newline-tab as the most commonly supported syntax. Use
10462 newline-tab rather than semicolon in multi-insn examples.
10463
10464 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10465
10466 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
10467
10468 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10469 David Edelsohn <edelsohn@gnu.org>
10470
10471 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
10472 code for AIX, even without flag_pic.
10473
10474 2001-02-05 Jakub Jelinek <jakub@redhat.com>
10475
10476 * c-typeck.c (common_type): push and pop binding level around
10477 calling common_type on function parameters.
10478
10479 Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
10480
10481 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
10482
10483 Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10484
10485 * config/mips/mips.c (override_options): Fix typo in last change.
10486 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
10487 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
10488
10489 2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
10490
10491 * invoke.texi (-fdump-class-layout): Document.
10492 (-fdump-translation-unit): Use `=' as filename separator.
10493
10494 2001-02-05 Mark Mitchell <mark@codesourcery.com>
10495
10496 * Makefile.in (s-mlib): Don't build multilibs if
10497 --disable-multilib.
10498 (DRIVER_DEFINES): Adjust accordingly.
10499 (gcc.o): Likewise.
10500 (protoize.o): Likewise.
10501 (unprotoize.o): Likewise.
10502 * configure.in: Recognize --enable-multilib.
10503
10504 2001-02-04 Mark Mitchell <mark@codesourcery.com>
10505
10506 * Makefile.in (DRIVER_DEFINES): Fix quoting.
10507
10508 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
10509 * configure.in: Remove --enable-libstdcxx_v3 support.
10510 * configure: Regenerated.
10511
10512 Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10513
10514 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
10515 Call abort instead of fatal.
10516 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
10517 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
10518 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
10519 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
10520 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
10521 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
10522
10523 * diagnostic.h (set_internal_error_function): Renamed.
10524 * toplev.h (internal_error): Renamed from fatal.
10525 (pfatal_with_name): Deleted.
10526 (fatal_io_error): Now has printf-style arguments.
10527 * diagnostic.c (pfatal_with_name): Deleted.
10528 (fatal_io_error): Rework to have args in printf-style.
10529 (set_internal_error_function): Renamed from set_fatal_function.
10530 (internal_error): Renamed from fatal.
10531 (error_recursion, fancy_abort): Call internal_error instead of fatal.
10532 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
10533 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
10534 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
10535 * flow.c (verify_flow_info): Likewise.
10536 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
10537 * config/mips/mips.c (save_restore_insns): Likewise.
10538
10539 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
10540 * flow.c (verify_flow_info): Likewise.
10541 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
10542 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
10543 (avr_normalize_condition): Likewise.
10544 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
10545 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
10546 (limit_reload_class, double_reg_to_memory): Likewise.
10547 (print_operand_address, emit_1600_code_shift): Likewise.
10548 (gen_tst_reg, gen_compare_reg): Likewise.
10549 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
10550 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
10551 Deleted.
10552 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
10553
10554 * c-parse.in (methoddef): Call fatal_error instead of fatal.
10555 * objc/objc-act.c (build_ivar_chain): Likewise.
10556 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
10557 pfatal_with_name.
10558 * graph.c (clean_graph_dump_file): Likewise.
10559 * profile.c (init_branch_prob): Likewise.
10560 * objc/objc-act.c (objc_init): Likewise.
10561
10562 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
10563 * config/avr/avr.c (avr_override_options): Likewise.
10564 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
10565 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
10566 * config/h8300/h8300.c (h8300_init_once): Likewise.
10567 * config/mips/mips.c (override_options): Likewise.
10568 * config/i386/i386.c (override_options): Likewise, rework.
10569 * config/m68k/m68k.c (override_options): Likewise.
10570
10571 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
10572 instead of fatal.
10573 * config/mips/mips.c (print_operand): Likewise.
10574 * hash.c (hash_allocate): Don't check for failure returns from
10575 obstack functions that can't fail.
10576 (hash_table_init_n, hash_table_init): Likewise; also now return void.
10577 * hash.h (hash_table_init_n, hash_table_init): Now return void.
10578 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
10579 (get_object_reference): Likewise.
10580
10581 2001-02-04 Nick Clifton <nickc@redhat.com>
10582
10583 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
10584 StrongARM1110, 10TDMI, and 1020T.
10585
10586 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10587
10588 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
10589
10590 2001-02-04 Alexandre Oliva <aoliva@redhat.com>
10591
10592 * config/sh/sh.md (movdf load split): Pass register number to
10593 FP_OR_XD_REGISTER_P.
10594
10595 2001-02-04 Mark Mitchell <mark@codesourcery.com>
10596
10597 * cppinit.c (BC): New macro.
10598 (builtin_array): Add __GXX_WEAK__.
10599 * cpplib.h (builtin_type): Add BT_WEAK.
10600 * cppmacro.c (builtin_macro): Handle BT_WEAK.
10601 * defaults.h (SUPPORTS_ONE_ONLY): Define.
10602 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
10603
10604 2001-02-03 Jakub Jelinek <jakub@redhat.com>
10605
10606 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
10607
10608 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
10609
10610 * cpphash.h: Rename _ALIGN POOL_ALIGN.
10611 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
10612
10613 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
10614
10615 * cpphash.h: Rename ALIGN _ALIGN.
10616 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
10617
10618 Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
10619
10620 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
10621 compilation environment.
10622 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
10623 control over location of cygwin includes and libs.
10624
10625 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
10626
10627 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
10628
10629 2001-02-02 lars brinkhoff <lars@nocrew.org>
10630
10631 * md.texi (Standard Names): remove reference to spur.md.
10632
10633 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
10634
10635 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
10636 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
10637 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
10638 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
10639 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
10640
10641 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10642
10643 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
10644 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
10645 number before reload.
10646 (c4x_adjust_cost): Return zero before reload.
10647 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
10648 split before reload.
10649
10650 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10651
10652 * c4x.c (c4x_hard_regno_rename_ok): New.
10653 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
10654 * c4x.h (HARD_REGNO_RENAME_OK): Define.
10655
10656 Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10657
10658 * diagnostic.h: Add missing "extern" in all declarations.
10659
10660 2001-02-02 Alex Samuel <samuel@codesourcery.com>
10661
10662 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
10663 as for gcc_gxx_include_dir.
10664
10665 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
10666
10667 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
10668
10669 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
10670
10671 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
10672 label before alignment to be used as the braf base address.
10673 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
10674 branches.
10675 (casesi_jump_2): Require at least TARGET_SH2.
10676
10677 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
10678 truncation to 32-bit doubles on -m3e and -m4-single-only.
10679
10680 2001-02-02 Mark Mitchell <mark@codesourcery.com>
10681
10682 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
10683 the default when building a shared object.
10684 (init_spec): Use it.
10685 * testsuite/lib/g++.exp: Include the directory where libgcc
10686 is located to the LD_LIBRARY_PATH list.
10687 * invoke.texi (-shared-libgcc): Document the cases in which
10688 GCC defaults to using the shared libgcc.
10689
10690 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
10691
10692 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
10693 unsigned is wide enough.
10694 (BITS_PER_SI): New.
10695 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
10696 (si_to_float): Likewise.
10697 (float_to_si, float_to_usi): Use BITS_PER_SI.
10698
10699 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
10700
10701 * dwarf2out.c: Added explanation of abbreviations.
10702 (def_cfa_1): Added comments listing DWARF2 instructions.
10703 (cfa_temp_reg): Removed in favor of cfa_temp.
10704 (cfa_temp_value): Removed in favor of cfa_temp.
10705 (cfa_temp): New global variable.
10706 (dwarf2out_frame_debug_expr): Added extensive introductory
10707 comments explaining the function's transformations. Revised to
10708 use cfa_temp. Added some rtx checking. Generalize IOR case.
10709 (dwarf2out_frame_debug): Revised to use cfa_temp.
10710 (output_aranges): Cast as "unsigned" to avoid warning.
10711 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
10712 explain which instructions must be marked.
10713
10714 2001-02-01 Richard Henderson <rth@redhat.com>
10715
10716 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
10717 new instruction.
10718
10719 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10720
10721 * config/sh/crt1.asm (main_k): Modified so that start calls
10722 ___setup_argv_and_call_main.
10723
10724 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
10725
10726 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
10727 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
10728 and AVOID_LPASTE is cleared on meeting an unescaped newline.
10729 * cppmacro.c (builtin_macro): Set builtin flags here.
10730 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
10731 (replace_args): Clarify intent.
10732 (cpp_get_token): Macro expansion tokens get the saved flags.
10733 Update.
10734 * cppmain.c (scan_buffer): Remove now-redundant print.printed
10735 check.
10736
10737 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
10738
10739 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
10740 2001-Jan-29.
10741
10742 Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10743
10744 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
10745 returns Pmode pseudo, but we need ptr_mode.
10746 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
10747 Remove bogus conversions; use HOST_WIDE_INT for size.
10748 Don't use TARGET if wrong mode.
10749
10750 * config/i386/i386.c (ix86_compute_frame_size): Allow
10751 stack_alignment_needed to be non-default even if size is zero.
10752
10753 2001-01-31 Alan Modra <alan@linuxcare.com.au>
10754
10755 * pa.c (hppa_init_pic_save): New function.
10756 * pa.h (hppa_init_pic_save): Declare.
10757 * pa.md (call, call_value, sibcall, sibcall_value): Use
10758 the above instead of duplicated code.
10759
10760 * pa.c (hppa_encode_label): Correct size of alloca buffer
10761 so we don't overrun it. Correct leading `*' case.
10762 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
10763 need to handle `*@'.
10764 (FUNCTION_NAME_P): Likewise.
10765
10766 2001-01-31 Richard Henderson <rth@redhat.com>
10767
10768 * config.gcc (alpha-osf5): Use float-i128.h.
10769
10770 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
10771 * config/float-i32.h: Likewise.
10772 * config/float-i64.h: Likewise.
10773 * config/float-sh.h: Likewise.
10774 * config/float-sparc.h: Likewise.
10775
10776 2001-01-31 DJ Delorie <dj@redhat.com>
10777
10778 * expmed.c (extract_bit_field): allow non-integral modes if we
10779 want to extract a whole register from itself.
10780
10781 2001-01-31 Jakub Jelinek <jakub@redhat.com>
10782
10783 * c-typeck.c (set_init_index): If first is equal to last, assume as
10784 if it was not a range at all.
10785
10786 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
10787
10788 * config/fp-bit.c: Include tm.h.
10789 (float_to_si): Don't assume SImode is 32-bits wide.
10790 (float_to_usi): Likewise.
10791
10792 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10793
10794 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
10795 incomplete type.
10796 (typename): Call pending_xref_error after parsing typed_typespecs.
10797 * c-decl.c (lookup_tag): Give error immediately rather than
10798 leaving it pending if the tag of the wrong type is in the same
10799 binding level.
10800 (xref_tag): Don't pedwarn for forward declarations of enum types
10801 here.
10802 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
10803 and enum tags.
10804
10805 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
10806
10807 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
10808
10809 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
10810
10811 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
10812 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
10813
10814 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
10815
10816 * cpphash.h (struct cpp_reader): New saved_flags.
10817 * cppmacro.c (cpp_get_token): Use saved_flags to remember
10818 to avoid a paste after a pasted token.
10819
10820 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
10821
10822 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
10823 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
10824 Wtype_MIN instead of LONG_MIN.
10825
10826 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
10827
10828 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
10829 README file.
10830 * fixinc/fixincl.x: Regenerated.
10831 * fixinc/inclhack.def (irix_limits_const): New definition to
10832 convert "const" to "__const" in limits.h.
10833
10834 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
10835
10836 * fixinc/genfixes (AG): Fix "autogen4" thinko.
10837
10838 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10839
10840 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
10841 when register dies in the insn.
10842
10843 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
10844
10845 * diagnostic.c (fatal): Fix word wrap.
10846
10847 2001-01-30 Alexandre Oliva <aoliva@redhat.com>
10848
10849 * combine.c (try_combine): Fix SUBREG setting for
10850 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
10851
10852 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10853
10854 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
10855 comparison codes.
10856
10857 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
10858
10859 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
10860 is not NULL.
10861 * toplev.c (decode_W_option): Update warn_larger_than
10862 unconditionally for each processed switch.
10863
10864 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
10865
10866 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
10867 to NULL_RTX.
10868 (hppa_expand_prologue): Delete code to save pic offset table register
10869 in the function prologue.
10870 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
10871 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
10872 table register at the beginning of the function after the prologue.
10873
10874 2001-01-29 lars brinkhoff <lars@nocrew.org>
10875
10876 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
10877
10878 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10879 Jeff Law <law@redhat.com>
10880
10881 * pa.md (return): Revise comment for trivial return.
10882 (return_internal): Non-trivial return pattern for non-PIC code.
10883 (return_internal_pic): Non-trivial return pattern for PIC code.
10884 It uses the PIC register to ensure it is restored after
10885 function calls.
10886 (epilogue): Generate appropriate return for PIC and non-PIC code.
10887
10888 Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
10889
10890 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
10891
10892 2001-01-29 DJ Delorie <dj@redhat.com>
10893
10894 * combine.c (if_then_else_cond): Pass the correct mode to
10895 operand_subword() for constants.
10896
10897 Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
10898
10899 * config/i386/cygwin.h: Add w32api to include search. Search different
10900 directories in a cross-build environment.
10901
10902 2001-11-29 Tim Josling <tej@melbpc.org.au>
10903
10904 * tree.h (TYPE_STUB_DECL): Add documentation.
10905
10906 2001-11-29 Laurynas Biveinis <lauras@softhome.net>
10907
10908 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
10909 (sdbout_field_types): Likwise. Fix use of host_integerp.
10910
10911 2001-01-29 Thomas Pfaff <tpfaff@gmx.net>
10912
10913 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
10914 cygwin.h.
10915
10916 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
10917
10918 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
10919 to use flag_gnu_linker.
10920
10921 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
10922
10923 * cpplib.c (T_BAD_DIRECTIVE): Remove.
10924 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
10925
10926 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
10927
10928 * tree.c, tree.h (build_parse_node): Remove; was identical to
10929 build_nt.
10930 * c-lang.c (start_cdtor), objc/objc-act.c
10931 (build_module_descriptor): Use build_nt instead of
10932 build_parse_node.
10933
10934 2001-01-29 Jakub Jelinek <jakub@redhat.com>
10935
10936 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
10937 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
10938 not have any upper bits set.
10939
10940 2001-01-29 Phil Edwards <pme@sources.redhat.com>
10941
10942 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
10943
10944 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10945
10946 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
10947
10948 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
10949
10950 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
10951 (integer_minus_one_node): Define.
10952
10953 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
10954
10955 * Makefile.in (bootstrap2-lean): Fix typo.
10956
10957 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
10958
10959 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
10960 : Don't set fe_value.
10961 * cpplib.h (AVOID_LPASTE): New flag.
10962 (struct cpp_hashnode): Remove fe_value.
10963 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
10964 * cppmacro.c (builtin_macro): Don't set flags here.
10965 (replace_args): Set AVOID_LPASTE flag on first token of an
10966 argument, and the token following it.
10967 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
10968 macro expansion, and on the token following it. Do it for
10969 builtins too.
10970 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
10971
10972 2001-01-27 Richard Henderson <rth@redhat.com>
10973
10974 * config/alpha/t-ieee: Remove multilibbing.
10975 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
10976
10977 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10978
10979 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
10980
10981 * Makefile.in: Remove all dependencies on defaults.h.
10982 * builtins.c: Don't include defaults.h.
10983 * c-common.c: Likewise.
10984 * c-decl.c: Likewise.
10985 * c-pragma.c: Likewise.
10986 * c-typeck.c: Likewise.
10987 * combine.c: Likewise.
10988 * i386.c: Likewise.
10989 * frame-ia64.c: Likewise.
10990 * cppexp.c: Likewise.
10991 * crtstuff.c: Likewise.
10992 * dbxout.c: Likewise.
10993 * dwarf2out.c: Likewise.
10994 * dwarfout.c: Likewise.
10995 * emit-rtl.c: Likewise.
10996 * except.c: Likewise.
10997 * expr.c: Likewise.
10998 * final.c: Likewise.
10999 * frame-dwarf2.c: Likewise.
11000 * libgcc2.c: Likewise.
11001 * optabs.c: Likewise.
11002 * profile.c: Likewise.
11003 * sdbout.c: Likewise.
11004 * toplev.c: Likewise.
11005 * tradcif.y: Likewise.
11006 * tree.c: Likewise.
11007 * varasm.c: Likewise.
11008
11009 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11010
11011 * builtins.c (expand_builtin_fputs): Use size_one_node when
11012 transforming into fwrite.
11013
11014 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
11015
11016 * extend.texi (Attribute Syntax): New section.
11017
11018 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
11019
11020 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
11021 they didn't need fixing.
11022
11023 2001-01-27 Janis Johnson <janis@us.ibm.com>
11024
11025 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
11026 if appropriate.
11027 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
11028 to remove macro definitions that are duplicated from elfos.h.
11029
11030 2001-01-27 Richard Henderson <rth@redhat.com>
11031
11032 * config/i386/sco5gas.h: Move ...
11033 * config/usegas.h: ... here.
11034 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
11035
11036 2001-01-27 Jakub Jelinek <jakub@redhat.com>
11037
11038 * c-typeck.c (struct constructor_stack): Add range_stack member.
11039 (really_start_incremental_init): Clear it.
11040 (push_init_level): Save constructor_range_stack and clear it if
11041 pushing explicit braces.
11042 (pop_init_level): abort if constructor_range_stack is non-zero at
11043 explicit closing brace. Restore saved constructor_range_stack if
11044 not implicit.
11045
11046 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
11047
11048 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
11049 into register was forced into memory.
11050
11051 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
11052
11053 * Makefile.in: Remove uses of + before $(MAKE).
11054
11055 2001-01-26 Richard Henderson <rth@redhat.com>
11056
11057 * stmt.c (cost_table): Remove.
11058 (COST_TABLE, cost_table_initialized): New.
11059 (estimate_case_costs): Use the later instead of the former.
11060 (balance_case_nodes): Likewise.
11061
11062 2001-01-26 Richard Henderson <rth@redhat.com>
11063
11064 * alias.c (objects_must_conflict_p): Read-only slots may not
11065 conflict despite having the same type.
11066
11067 2001-01-27 Michael Hayes <mhayes@redhat.com>
11068
11069 * loop.c (loop_giv_reduce_benefit): Copy mode size into
11070 int variable.
11071 (check_ext_dependant_givs): Initialise u_start_val and
11072 u_end_val.
11073 (load_mems): Make last_max_reg unsigned.
11074 (try_swap_copy_prop): Use INSN_P and initialise set.
11075
11076 Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
11077
11078 * README.AVR : Removed.
11079
11080 Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
11081
11082 * pa-64.h (text_section): Remove declaration.
11083
11084 * pa.md (return_internal): Remove mode on PIC register use.
11085
11086 2001-01-25 lars brinkhoff <lars@nocrew.org>
11087
11088 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
11089 ASM_CLOSE_PAREN): fix typos.
11090
11091 2001-01-25 Mark Mitchell <mark@codesourcery.com>
11092
11093 * acconfig.h: Define `const' to the empty string if neither
11094 __STDC__ nor __cplusplus is defined.
11095 * config.in: Regenerated.
11096
11097 2001-01-25 David Edelsohn <edelsohn@gnu.org>
11098
11099 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
11100 * collect2.c (main): Delete importf. Add ".obj" file extension.
11101 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
11102 (aix_std_libs): Add additional AIX libraries to skip.
11103 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
11104 * config/rs6000/aix51.h: New file.
11105
11106 2001-01-25 Michael Hayes <mhayes@redhat.com>
11107
11108 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
11109 (loop_insn_emit_before): No longer static.
11110 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
11111 (loop_givs_rescan, load_mems): Likewise.
11112 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
11113 (maybe_eliminate_biv_1):
11114 (move_movables): Replace emit_call_insn_before with
11115 loop_call_insn_hoist.
11116 * loop.h (loop_insn_emit_before): Add.
11117 * unroll.c (copy_loop_body): Replace emit_insn_before with
11118 loop_insn_emit_before.
11119
11120 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
11121
11122 * diagnostic.c (fatal): Request preprocessed source.
11123
11124 Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
11125
11126 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
11127 olddecl has argument types and newdecl has none, use the argument
11128 types from olddecl.
11129
11130 2001-01-24 Ulrich Drepper <drepper@redhat.com>
11131
11132 * dwarf2out.c (prefix_of): New function. Determine longest common
11133 prefix of the two arguments. The units are whole path components.
11134 (output_file_names): When adding a new directory find the one entry
11135 with the longest common prefix already in the list. Artificially
11136 generate entry if there is none for this prefix.
11137 Fix test to check whether the zeroth directory entry is used.
11138
11139 Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
11140
11141 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
11142 Changed all callers. Take it into account when deciding if a
11143 previously loaded value matches.
11144
11145 2001-01-24 Richard Henderson <rth@redhat.com>
11146
11147 * reload.c (find_reloads_subreg_address): Fail the substitution
11148 if the resulting address is insufficiently aligned.
11149
11150 2001-01-24 DJ Delorie <dj@redhat.com>
11151
11152 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
11153 check the original operand's mode also.
11154 * simplify-rtx.c (simplify_ternary_operation): Ditto.
11155
11156 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
11157
11158 * c-parse.in (cast_expr): Move compound literals from here ...
11159 (primary): ... to here. Use standard terminology "compound
11160 literal" instead of "constructor expression".
11161
11162 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
11163
11164 * gcc.1, cpp.1: Regenerate.
11165
11166 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
11167
11168 * calls.c (emit_library_call_value_1): Memory slot for
11169 pass-by-reference argument should have the mode of the argument,
11170 not of the pointer to it.
11171
11172 2001-01-24 Tom Tromey <tromey@redhat.com>
11173
11174 * gcc.texi (G++ and GCC): Mention gcj manual.
11175 (Standards): Link to section of manual mentioning gcj/Java
11176 compatibility.
11177
11178 2001-01-24 Jakub Jelinek <jakub@redhat.com>
11179
11180 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
11181 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
11182 * tradcpp.c (main): Add -imacros or -include'd dependencies
11183 for -M*.
11184 * cpp.texi (-M, -MM): Document -M -include behaviour.
11185
11186 2001-01-24 Roger Collins <roger@ProProject.com>
11187
11188 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
11189
11190 2001-01-24 Will Cohen <wcohen@redhat.com>
11191
11192 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
11193 whether registers are 32 bits or 64 bits in size.
11194
11195 2001-01-24 Ben Elliston <bje@redhat.com>
11196
11197 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
11198
11199 2001-01-24 Richard Henderson <rth@redhat.com>
11200
11201 * config/alpha/alpha.md (builtin_longjmp_internal): New.
11202 (builtin_longjmp): Use it instead of emit_indirect_jump.
11203
11204 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
11205
11206 * bb-reorder.c (make_reorder_chain_1): Handle case where
11207 jump edge goes to the same block as the fallthru edge.
11208
11209 2001-01-23 Jim Wilson <wilson@redhat.com>
11210
11211 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
11212 * frame.h (__ia64_personality_v1): Add prototype.
11213 * libgcc2.c (ia64_throw_helper): Change personality declaration to
11214 prototype form. Add void * cast to first argument to personality
11215 call.
11216 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
11217 (asctoe113): Likewise.
11218 * config/ia64/frame-ia64.c: Include eh-common.h.
11219 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
11220 prototypes.
11221 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
11222 to dump parameter.
11223 (itanium_split_issue): Add prototype.
11224 (gen_nop_type): Ifdef out.
11225 (find_best_packet): Initialize best_packet.
11226 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
11227 result.
11228 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
11229 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
11230 (flushrs): Add explicit stop bit at end.
11231 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
11232 trailing \ to >.
11233
11234 2001-01-23 Chris Demetriou <cgd@broadcom.com>
11235
11236 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
11237 of EH symbols.
11238 * libgcc2.c (__terminate_func): Make variable static.
11239 (__terminate_set_func): New function to set __terminate_func.
11240 * libgcc2.h (__terminate_func_ptr): New typedef.
11241 (__terminate_set_func): New function.
11242
11243 2001-01-23 Richard Henderson <rth@redhat.com>
11244
11245 * flow.c (init_propagate_block_info): Don't consider unchanging
11246 memories for dead frame store elimination.
11247
11248 2001-01-23 Richard Henderson <rth@redhat.com>
11249
11250 * varasm.c (UNIQUE_SECTION): Move default implementation ...
11251 * defaults.h: ... here.
11252
11253 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11254
11255 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
11256
11257 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
11258
11259 * c-lex.c (lex_charconst): Fix typo: s/p/str.
11260
11261 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11262
11263 * rs6000.h (rs6000_return_addr): Move prototype from here...
11264 * rs6000-protos.h (rs6000_return_addr): ...to here.
11265 (rs6000_init_expanders): Delete prototype.
11266
11267 2001-01-23 Nick Clifton <nickc@redhat.com>
11268
11269 * invoke.texi: Replace , with \, inside @gccoptlist macros.
11270 (Spec Files): Document %B and %j and %. and %v3 and %M and
11271 %{S*&T} spec switches.
11272
11273 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11274
11275 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
11276
11277 2001-01-23 Chris Demetriou <cgd@sibyte.com>
11278 Neil Booth <neil@daikokuya.demon.co.uk>
11279
11280 * cpperror.c: Merge handlers of PEDWARN and WARNING.
11281 Have -Werror make pedantic warnings errors, like the
11282 rest of GCC.
11283
11284 2001-01-23 Phil Edwards <pme@sources.redhat.com>
11285
11286 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
11287
11288 2001-01-23 Jakub Jelinek <jakub@redhat.com>
11289
11290 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
11291 * integrate.c (expand_inline_function): Initialize them.
11292 (subst_constants): If changing COMPARE so that both its arguments
11293 will be VOIDmode and the comparison mode will be lost, note
11294 compare_mode. Use the recorded compare_mode to optimize
11295 IF_THEN_ELSE.
11296
11297 2001-01-23 Jason Merrill <jason@redhat.com>
11298
11299 * dwarf2out.c (new_die): Use xcalloc.
11300 (output_die): Abort rather than emit a local reference to offset 0.
11301
11302 2001-01-17 Andrew Haley <aph@redhat.com>
11303
11304 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
11305 of a saved register; return NULL instead.
11306 (copy_reg): Take a pointer to a source register rather than a
11307 frame_state.
11308 (next_stack_level): Remember the address in the stack frame of all
11309 saved registers.
11310 Use the saved register pointer array as the source of the CFA.
11311 (throw_helper): Rewrite. Unwind once rather than twice and keep
11312 track of saved registers as we go.
11313
11314 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11315
11316 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
11317 * c4x.c (c4x_legitimize_reload_address): Remove.
11318 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
11319 reload address for ldp(k) insn.
11320
11321 Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
11322
11323 * pa.md (return_internal): Add a USE of the PIC register to ensure
11324 it is restored after each call.
11325 (return expander): Corresponding changes.
11326
11327 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11328
11329 * rs6000.h (INIT_EXPANDERS): Delete.
11330 (RETURN_ADDR_RTX): Call rs6000_return_addr().
11331 * rs6000.c (rs6000_override_options): Call *_machine_status from
11332 here...
11333 (rs6000_init_expanders): ...instead of here. Delete.
11334 (rs6000_mark_machine_status): New function.
11335 (rs6000_init_machine_status): Use xcalloc.
11336 (rs6000_return_addr): Generate RTX for the return address.
11337 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
11338 (rs6000_stack_info): Use it.
11339
11340 2001-01-22 Thomas Pfaff <tpfaff@gmx.net>
11341
11342 * gthr-win32.h: Include errno.h to get a declaration for
11343 EINVAL and _mingw.h if the target is mingw32.
11344
11345 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
11346
11347 * cpp.texi: Correct typos.
11348
11349 Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11350
11351 * explow.c (probe_stack_range): Ensure value passed to
11352 stack_check_libfunc is ptr_mode, not Pmode.
11353
11354 Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
11355
11356 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
11357 case, don't use operand_subword to calculate a SUBREG that is
11358 wider than a word.
11359
11360 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
11361
11362 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11363
11364 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
11365 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
11366 valid. If not replace it by equivalent insns.
11367
11368 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11369
11370 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
11371 contains SYMBOL_REF, LABEL_REF and CONST_INT.
11372 (c4x_U_constraint, symbolic_address_operand): Likewise.
11373 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
11374 memory.
11375 (c4x_r11_set_p, c4x_check_laj_p): New functions.
11376 * c4x-protos.h (c4x_check_laj_p): Add prototype.
11377 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
11378 anulling slot because of silicon bug.
11379 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
11380
11381 2001-01-22 Alan Modra <alan@linuxcare.com.au>
11382
11383 * cppexp.c (parse_charconst): Change `mask' type to agree
11384 with parse_escape.
11385
11386 2001-01-21 Richard Henderson <rth@redhat.com>
11387
11388 * config/i386/i386.c (ix86_asm_file_end): Disable putting
11389 pic_label_name in a linkonce section.
11390
11391 2001-01-17 Philipp Thomas <pthomas@suse.de>
11392
11393 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
11394 found in libintl.
11395 * configure: Regenerate.
11396
11397 Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
11398
11399 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
11400 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
11401
11402 Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
11403
11404 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
11405 If REVERSE nonzero then condition code in X must be reversed.
11406 (encode_section_info): Optimise if/else.
11407 (avr_function_value): Fix formatting.
11408
11409 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
11410 (difficult_branch): Likewise.
11411 (rvbranch): Likewise.
11412 (difficult_rvbranch): Likewise.
11413
11414 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
11415
11416 * config/avr/libgcc.S: Fix comment.
11417
11418 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
11419
11420 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
11421
11422 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
11423
11424 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
11425
11426 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
11427
11428 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
11429 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
11430 * configure, config.in: Regenerate.
11431 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
11432 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
11433 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
11434 (doprint.o): New rule.
11435
11436 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
11437
11438 * c-typeck.c (digest_init): Handle boolean types as scalars.
11439
11440 Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11441
11442 * stmt.c (expand_return): Don't return anything if size is zero.
11443 Delete redundant assignment to BYTES.
11444 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
11445
11446 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
11447
11448 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
11449 the same as the default library function names.
11450 * config/avr/avr.md: Document special characters after '%'.
11451 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
11452 knowing which of the call-used registers are really clobbered.
11453 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
11454 New. Both quotient and remainder from one libgcc.S call.
11455 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
11456 clobber as few registers as possible.
11457 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
11458
11459 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
11460
11461 * cppmacro.c (funlike_invocation_p): Don't move back up to the
11462 context of the top of the stack.
11463
11464 2001-01-20 Jakub Jelinek <jakub@redhat.com>
11465
11466 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
11467 (fixup_var_refs_insns): ...here.
11468
11469 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
11470
11471 * function.c (fixup_var_refs_insns): Break up into
11472 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
11473 [loop over entire insn list], and fixup_var_refs_insns_with_hash
11474 [loop over hash table entries].
11475 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
11476 fixup_var_refs_insns_with_hash, to match above changes.
11477
11478 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
11479
11480 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
11481 (libgcc.a): Likewise.
11482 (stmp-multilib): Likewise.
11483 (STAGE2_FLAGS_TO_PASS): Likewise.
11484
11485 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
11486
11487 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
11488 temporary if no_new_pseudos.
11489
11490 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
11491
11492 * cppinternals.texi: Update.
11493
11494 2001-01-19 Richard Earnshaw <rearnsha@arm.com>
11495
11496 * arm.c (arm_init_builtins): Re-enable builtins.
11497
11498 Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11499
11500 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
11501 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
11502 element to be null, and always expect an EXPR_LIST.
11503 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
11504 * sched-deps.c (sched_analyze_1): Likewise.
11505 * sched-rgn.c (check_live_1, update_live_1): Likewise.
11506
11507 * regclass.c (max_set_parallel): New variable.
11508 (reg_scan): Take it into account in computation of max_parallel.
11509 (reg_scan_mark_refs, case SET): Compute it.
11510
11511 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
11512 args are REG.
11513 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
11514 * function.c (assign_parms): Use INTVAL for a CONST_INT.
11515
11516 2001-01-19 Jason Merrill <jason@redhat.com>
11517
11518 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
11519 for the abstract instance of an inline function.
11520
11521 Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
11522 J"orn Rennecke <amylaar@redhat.com>
11523
11524 * reload1.c (move2add_note_store): Treat all registers directly or
11525 indirectly derived from a base register as members of the same set
11526 of values.
11527 (reload_cse_move2add): Adjust accordingly. Take mode and offset
11528 of base register into account.
11529
11530 Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
11531
11532 * alias.c (find_base_value): Recognize TRUNCATE.
11533 (record_set): In PLUS case, invalidate if other summand is also a
11534 base value.
11535
11536 Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11537
11538 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
11539 entry to be EXPR_LIST.
11540 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
11541 be an EXPR_LIST (but not null, which other code doesn't allow).
11542 (note_stores): Properly handle PARALLEL in SET.
11543 Recursively call for top-level PARALLEL.
11544 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
11545 * sched-rgn.c (check_live_1, update_live_1): Likewise.
11546
11547 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
11548
11549 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
11550
11551 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
11552 not pfile->skipping (== 0).
11553
11554 2001-01-17 Nick Clifton <nickc@redhat.com>
11555
11556 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
11557 machine_status.
11558
11559 2001-01-17 Jim Wilson <wilson@redhat.com>
11560
11561 * invoke.texi (IA-64 options): Improve.
11562
11563 2001-01-17 Tom Tromey <tromey@redhat.com>
11564
11565 * invoke.texi (Optimize Options): Use `{}' to around @samp
11566 argument.
11567
11568 2001-01-17 Aldy Hernandez <aldyh@redhat.com>
11569
11570 * invoke.texi (-fno-guess-branch-probability): New option.
11571
11572 Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11573
11574 * combine.c (try_combine): Don't set i3_subst_into_i2 for
11575 case of making new double-word constant.
11576 Revert last change: instead just test i3_subst_into_i2.
11577
11578 2001-01-17 Jakub Jelinek <jakub@redhat.com>
11579
11580 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
11581 Use q constraints instead of r.
11582
11583 Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
11584
11585 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
11586 (machine_function): Define.
11587 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
11588 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
11589 pa_free_machine_status): New functions.
11590 (override_options): Set {init,mark,free}_machine_status to above.
11591 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
11592 PIC_OFFSET_TABLE_REGNUM_SAVED.
11593 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
11594 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
11595 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
11596 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
11597 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
11598
11599 2001-01-15 DJ Delorie <dj@redhat.com>
11600
11601 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
11602 (cpp.1): Ditto.
11603 (gcc.1): Ditto.
11604
11605 Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11606
11607 * flow.c (propagate_one_insn): Make trying to delete a prologue
11608 or epilogue insn an ICE, not a warning. Allow doing this if
11609 the current function returns with stack pointer depressed.
11610
11611 * combine.c (try_combine): If i3_subst_into_i2, properly check for
11612 I3 having more than one SET.
11613
11614 2001-01-16 Jim Wilson <wilson@redhat.com>
11615
11616 * invoke.texi: Document IA-64 options.
11617
11618 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
11619 (fixup_errata): Delete TARGET_A_STEP use.
11620 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
11621 (TARGET_SWITCHES): Delete -ma-step option.
11622 * config/ia64/ia64.md (all FP patterns): Delete %B0.
11623 (movqicc_astep, movqi_internal_astep, movhicc_astep,
11624 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
11625 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
11626 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
11627 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
11628 Delete.
11629 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
11630 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
11631 cmovsi_internal): Delete ! TARGET_A_STEP check.
11632
11633 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11634
11635 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
11636 possibility to report bugs via postal mail. Change a URL and
11637 merge in a nearly duplicate statement...
11638 (Bug Reporting): ...from here.
11639 (Service): Refer to the Bug Reporting section instead of
11640 duplicating an URL.
11641 (Contributing): Remove trivial explanations concerning snapshots.
11642
11643 2001-01-16 Alan Modra <alan@linuxcare.com.au>
11644
11645 * cppmain.c (general_init): Don't use ANSI prototype.
11646
11647 2001-01-16 Tom Tromey <tromey@redhat.com>
11648
11649 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
11650
11651 2001-01-16 Richard Henderson <rth@redhat.com>
11652
11653 * config/i386/i386.h: Fix comment typo.
11654 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
11655 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
11656
11657 2001-01-16 Phil Edwards <pme@sources.redhat.com>
11658
11659 * gcc.c: Revert previous -fsyntax-only-related change; move
11660 to cp/g++spec.c.
11661
11662 2001-01-16 Jakub Jelinek <jakub@redhat.com>
11663
11664 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
11665 inmode after checking GET_CODE (op).
11666
11667 2001-01-16 Richard Henderson <rth@redhat.com>
11668
11669 * flow.c (struct propagate_block_info): Add mem_set_list_len.
11670 (MAX_MEM_SET_LIST_LEN): New.
11671 (propagate_one_insn): Update mem_set_list_len.
11672 (invalidate_mems_from_autoinc): Likewise.
11673 (invalidate_mems_from_set): Likewise.
11674 (mark_used_regs): Likewise.
11675 (init_propagate_block_info): Likewise. Stop collecting memories
11676 when we reach MAX_MEM_SET_LIST_LEN.
11677 (mark_set_1): Likewise.
11678
11679 2001-01-16 Richard Henderson <rth@redhat.com>
11680
11681 * unroll.c (precondition_loop_p): Fail if no iteration
11682 variable found.
11683
11684 2001-01-16 Phil Edwards <pme@sources.redhat.com>
11685
11686 * gcc.c: When -fsyntax-only is given, do not complain about
11687 unused libraries.
11688
11689 2001-01-15 Richard Henderson <rth@redhat.com>
11690
11691 * config/i386/i386.c (asm_output_function_prefix): Remove.
11692 (ix86_asm_file_end): New.
11693 (load_pic_register): Generate pic_label_name into a
11694 staticly allocated buffer.
11695 * config/i386/i386-protos.h: Update.
11696 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
11697 (ASM_FILE_END): New.
11698 * config/i386/i386afe.h: New file.
11699 * config.gcc (i?86-*-elf) [tm_file]: Use it.
11700 (i?86-*-{freebsd,linux*,moss*}): Likewise.
11701 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
11702 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
11703 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
11704 * config/i386/sco5.h (ASM_FILE_END): Likewise.
11705 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
11706
11707 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
11708
11709 * Makefile.in (install-man): Remove explicit dependency on
11710 $(srcdir)/gcc.1.
11711
11712 * configure.in, configure: Revert previous patch requiring perl
11713 5.6.0.
11714
11715 2001-01-12 Aldy Hernandez <aldyh@redhat.com>
11716
11717 * toplev.c (flag_guess_branch_prob): New.
11718 (f_options): Add guess-branch-probability option.
11719 (rest_of_decl_compilation): Only estimate branch probability if
11720 flag set.
11721 (main): set flag_guess_branch_prob.
11722
11723 * flags.h (flag_guess_branch_prob): New.
11724
11725 2001-01-15 DJ Delorie <dj@redhat.com>
11726
11727 * gcc.texi (Makefile): Add documentation for Makefile targets.
11728
11729 2001-01-15 Philip Blundell <philb@gnu.org>
11730
11731 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
11732 (is_pic): Delete.
11733 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
11734 (is_pic): Delete declaration.
11735 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
11736 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
11737 * config/arm/arm.md (builtin_setjmp_receiver): New.
11738
11739 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
11740
11741 * arm.c (use_return_insn): Don't try to determine the function type
11742 until after reload has completed.
11743 (arm_output_epilogue): Don't adjust the sp value recovered from the
11744 stack.
11745 (emit_multi_reg_push): Don't record dwarf information for the pc.
11746 * arm.md (eh_epilogue): The function type may have changed, so it
11747 needs to be recalculated.
11748 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
11749 unwind tables on arm/netbsd.
11750
11751 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
11752
11753 * arm.md (cbranchsi4): Correct calculation of branch ranges.
11754 (negated_cbranchsi4): Likewise.
11755
11756 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
11757
11758 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
11759 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
11760 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
11761 pass -mapcs-* options to assembler.
11762 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
11763 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
11764 (ASM_SPEC): Call subtarget_extra_asm_spec.
11765
11766 2001-01-15 Andreas Jaeger <aj@suse.de>
11767
11768 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
11769 warnings.
11770 (ix86_expand_builtin): Likewise.
11771
11772 * gencodes.c (output_predicate_decls): Make i size_t to avoid
11773 warning about comparison between signed and unsigned.
11774
11775 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
11776
11777 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
11778
11779 2001-01-14 Ralf Baechle <ralf@gnu.org>
11780
11781 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
11782 SUBTARGET_CPP_SPEC apropriatly.
11783
11784 2001-01-12 Mark Mitchell <mark@codesourcery.com>
11785
11786 * varasm.c (make_decl_rtl): Fix typo in last change.
11787
11788 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
11789
11790 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
11791 linker supports the init_priority C++ attribute.
11792 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
11793 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
11794 linker does not support init_priority C++ attribute.
11795
11796 Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
11797
11798 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
11799
11800 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
11801
11802 * c-parse.in (finish_parse): Add comment about cpp_destroy.
11803 * cp/lex.c (finish_parse): Similarly.
11804 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
11805 Return the number of errors encountered.
11806 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
11807 * cppmain.c (main): Don't call cpp_destroy.
11808
11809 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
11810
11811 * configure.in: Require at least perl 5.6.0 to regenerate
11812 manpages.
11813 * configure: Regenerate.
11814
11815 2001-01-14 Richard Henderson <rth@redhat.com>
11816
11817 * genrecog.c (DT_veclen_ge): New.
11818 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
11819 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
11820 (nodes_identical_1): Handle DT_veclen_ge.
11821 (write_cond, debug_decision_2): Likewise.
11822
11823 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
11824
11825 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
11826 with ...
11827 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
11828
11829 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
11830
11831 * cppmain.c (do_preprocessing): New function; most of the old
11832 main.
11833 (main): Call it to do most of the work.
11834 (cb): Move from global scope to set_callbacks ().
11835 (setup_callbacks): Get the callback pointer.
11836 (general_init, printer_init): Clean up code and comments.
11837
11838 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
11839
11840 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
11841 compiling PIC.
11842
11843 2001-01-14 Kazu Hirata <kazu@hxi.com>
11844
11845 * config/h8300/h8300.c (get_shift_alg): Update comments.
11846
11847 Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11848
11849 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
11850 (alloc_page, ggc_alloc): Add casts to remove warnings.
11851
11852 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
11853
11854 * combine.c (simplify_comparison): Don't change `code' when
11855 can't reverse comparison.
11856
11857 2001-01-14 Richard Henderson <rth@redhat.com>
11858
11859 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
11860 update all call sites. Return true for all non-label constants.
11861
11862 Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
11863
11864 * i386.c (ix86_expand_compare): Add bypass_test and second_test
11865 parameters.
11866 (ix86_expand_branch): Update.
11867 (ix86_expand_setcc): Update to handle multiple test conditions.
11868 (expand_int_movcc): Likewise.
11869 (expand_fp_movcc): Likewise.
11870 * i386-protos.h (ix86_expand_compare): New.
11871 * i386.md (andqi_?_slp, orqi_?_slp): New.
11872 (conditional trap expander): Update call to ix86_expand_compare.
11873
11874 2001-01-14 Richard Henderson <rth@redhat.com>
11875
11876 * config/vax/vax.md: Use nonimmediate_operand instead of
11877 general_operand in destinations.
11878
11879 * config/vax/vax.md (indirect_jump): Use register_operand.
11880
11881 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
11882 * config/vax/vax.md (call_pop): Turn into an expander.
11883 (call_value_pop): Likewise.
11884 (call, call_value): New.
11885
11886 2001-01-14 Andreas Jaeger <aj@suse.de>
11887
11888 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
11889 variables.
11890 (ix86_fp_compare_mode): Add unused attribute.
11891 (ix86_expand_fp_movcc): Remove unused variable.
11892 (ix86_expand_builtin): Make fcode unsigned.
11893
11894 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
11895 (expand_expr): Add cast to avoid signed warning.
11896 (store_field): Likewise.
11897 (store_constructor_field): Likewise.
11898 (store_constructor): Likewise.
11899 (store_expr): Likewise.
11900 (clear_storage): Likewise.
11901 (emit_group_store): Likewise.
11902 (emit_group_load): Likewise.
11903
11904 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
11905
11906 * c-common.c: Move format checking code to ...
11907 * c-format.c: ... here. New file. Reorder some functions and
11908 declarations.
11909 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
11910 New functions.
11911 * c-common.h (decl_handle_format_attribute,
11912 decl_handle_format_arg_attribute): Declare.
11913 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
11914 (c-common.o): Adjust dependencies.
11915 (c-format.o): New list of dependencies.
11916
11917 2001-01-13 Jakub Jelinek <jakub@redhat.com>
11918
11919 * unroll.c (loop_iterations): If we cannot prove iteration variable
11920 is set once in each iteration, punt.
11921
11922 Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
11923
11924 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
11925 (*strlenhi): Remove clobber (which was buggy) of output address.
11926
11927 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
11928
11929 * Makefile.in (generated-manpages): Add gcc.1
11930 ($(srcdir)/gcc.1): New target.
11931 (maintainer-clean): Delete $(srcdir)/gcc.1.
11932 * gcc.texi: Add macros @gccoptlist and @gol.
11933 * invoke.texi: Include option summary in manpage. Mark up option
11934 summary with @gccoptlist and @gol. Use @r in one place where
11935 appropriate.
11936 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
11937 * gcc.1: Generate from invoke.texi.
11938
11939 2001-01-13 Richard Henderson <rth@redhat.com>
11940
11941 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
11942 (struct page_entry): Add group member.
11943 (struct page_group): New.
11944 (struct globals): Add page_groups member.
11945 (alloc_anon): Only define for using mmap; remove valloc call.
11946 (page_group_index): New.
11947 (set_page_group_in_use): New.
11948 (clear_page_group_in_use): New.
11949 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
11950 (free_page, release_pages): Likewise.
11951 * configure.in (with-gc): Default to ggc-page always.
11952
11953 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
11954
11955 * reload1.c (replace_pseudos_in_call_usage): Use
11956 reg_equiv_constant and reg_equiv_address, and don't try
11957 regno_reg_rtx first.
11958
11959 2001-01-13 Richard Henderson <rth@redhat.com>
11960
11961 * ggc-page.c (alloc_page): Round up allocation size to one page.
11962 Set e->order on extra pages.
11963
11964 2001-01-13 Richard Henderson <rth@redhat.com>
11965
11966 * genrecog.c (nodes_identical): Expand commentary.
11967 (write_switch): Watch out for identical nodes.
11968
11969 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
11970
11971 * cppfiles.c (_cpp_fake_include): New function.
11972 * cpphash.h (_cpp_fake_include): New.
11973 * cpplib.c (do_line): Call _cpp_fake_include when entering
11974 header files in preprocessed input.
11975 * cppmain.c (cb_pragma_implementation): Remove handling.
11976 (setup_callbacks): Don't register pragmas.
11977
11978 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
11979
11980 * extend.texi: Udate for CPP.
11981
11982 2001-01-13 Andreas Jaeger <aj@suse.de>
11983
11984 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
11985
11986 * regmove.c: Add prototype for replace_in_call_usage.
11987
11988 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
11989
11990 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
11991 struct cpp_chunk, struct htab, struct toklist,
11992 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
11993 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
11994 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
11995 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
11996 (struct macro_args): Delete.
11997 * cpphash.h: See above.
11998
11999 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
12000
12001 * cppmain.c (struct printer): Remove no_line_dirs.
12002 (options, cb): New.
12003 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
12004 : Use options rather than CPP_OPTION.
12005 (setup_callbacks): Use cb rather than pfile->cb.
12006 (main): No need to check for a buffer. Use cpp_errors.
12007 (printer_init): Don't set no_line_dirs.
12008 (maybe_print_line): Use options not no_line_dirs.
12009 (cb_file_change): Don't call print_line if -P.
12010
12011 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
12012
12013 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
12014 callbacks.
12015 * c-parse.in (finish_parse): Use cpp_errors.
12016 (__yylex): Use return value of cpp_pop_buffer.
12017 * cp/lex.c (finish_parse): Use cpp_errors.
12018 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
12019
12020 Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
12021
12022 * README.AVR: URLs corrected.
12023
12024 Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12025
12026 * c-decl.c (start_function): Don't warn if old prototype is builtin
12027 that's not in C's namespace.
12028 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
12029 (_bb): Add prototype for ctime.
12030 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
12031
12032 Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
12033
12034 * i386.c (ix86_fp_comparison_arithmetics_cost,
12035 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
12036 ix86_fp_comparison_cost): New functions.
12037 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
12038 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
12039 two-branch sequences; make static.
12040 (ix86_use_fcomi_compare): Do decision according to the costs.
12041 (split_fp_branch): New.
12042 * i386.md (compare-and-branch patterns): Use split_fp_branch.
12043 * i386-protos.h (ix86_expand_fp_compare): Remove
12044 (ix86_split_fp_branch): Declare.
12045
12046 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
12047 and ix86_comparison_operator.
12048
12049 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
12050 to make it cheaper.
12051
12052 * i386.c (put_condition_code): Output properly the unordered/ordered
12053 compares in fp case.
12054 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
12055
12056 * tm.texi (REVERSE_CONDITION): Document.
12057 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
12058 in -ffast-math mode.
12059 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
12060
12061 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
12062
12063 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
12064
12065 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
12066 optimized away.
12067
12068 * config/sh/sh.c (mova_p): Fix test for mova_const.
12069
12070 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
12071
12072 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
12073 cpp_get_options rather than dereferencing pfile and using
12074 CPP_OPTION.
12075 * scan-decls.c (scan_decls): Use return value of
12076 cpp_pop_buffer rather than CPP_BUFFER.
12077
12078 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
12079
12080 * cppinit.c (cpp_handle_option): help_only is now part of the
12081 cpp_options structure.
12082 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
12083 cpp_set_callbacks): New functions.
12084 * cpplib.h (cpp_callbacks): Break out as a named structure.
12085 (cpp_options): Move help_only here from cpp_reader.
12086 (CPP_FATAL_ERRORS): Update to use cpp_errors.
12087 (cpp_errors, cpp_get_options, cpp_get_callbacks,
12088 cpp_set_callbacks): New prototypes.
12089 * cppmain.c (main): Update for help_only.
12090
12091 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
12092
12093 * Makefile.in (info, maintainer-clean, install-info, uninstall):
12094 Also build and remove and install and uninstall c-tree.info and
12095 cppinternals.info.
12096 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
12097 ($(srcdir)/cppinternals.info): New target.
12098 * c-tree.texi: Change file name used when makeinfo used without -o
12099 from ir.info to c-tree.info. Add info directory entry.
12100 * cppinternals.texi: Add info directory entry.
12101 * .cvsignore: Update.
12102
12103 2001-01-12 Jakub Jelinek <jakub@redhat.com>
12104
12105 * c-typeck.c (store_init_value): Don't require constant initializer
12106 elements with -pedantic -std=c99.
12107 (digest_init): Change error about non-constant initializer elements
12108 into pedwarn.
12109 (constructor_range_end): Remove.
12110 (constructor_incremental, designator_depth,
12111 designator_errorneous): New variables.
12112 (struct constructor_stack): Remove range_end, add incremental.
12113 (struct constructor_range_stack, constructor_range_stack): New.
12114 (struct initializer_stack): Add constructor_range_stack.
12115 (finish_init): Set it.
12116 (start_init): Likewise. require_constant_elements for non-static
12117 trees only if not flag_isoc99.
12118 (really_start_incremental_init): Remove constructor_range_end, add
12119 constructor_incremental.
12120 (pop_init_level): Likewise.
12121 (push_init_level): Likewise. If implicit and the subobject had some
12122 value set already, preinitialize the level with it.
12123 Warn about missing braces only if not pushing due to designators.
12124 (set_designator, push_range_stack): New functions.
12125 (set_init_label): Use them.
12126 (set_init_index): Likewise. Remove constructor_range_end.
12127 Error if designator index is outside of array bounds.
12128 (add_pending_init): Compare values of purpose index trees, not the
12129 trees themselves. Allow overwriting of already initialized element.
12130 Issue a warning if it had side-effects.
12131 (set_nonincremental_init, set_nonincremental_init_from_string): New
12132 functions.
12133 (pending_init_member): Rename to...
12134 (find_init_member): ...this function. Call set_nonincremental_init
12135 if necessary. Compare values of purpose index trees, not the trees
12136 themselves. Return the actual value, not just non-zero if something
12137 is found.
12138 (output_init_element): Remove checks for duplicates.
12139 If field has zero size, only check the initializer for correctness.
12140 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
12141 if constructor_incremental is zero. Change error about initializers
12142 not computable at load time into pedwarn.
12143 (output_pending_init_elements): Compare bit positions, not
12144 FIELD_DECLs to take into account zero-sized fields.
12145 (process_init_element): Use constructor_range_stack to fill all
12146 ranges in the designator lists from current level up.
12147 * extend.texi: Update documentation for labeled elements.
12148
12149 2001-01-12 Alexandre Oliva <aoliva@redhat.com>
12150
12151 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
12152 to function usage for arguments passed by reference. Optimize
12153 callee-copied arguments.
12154 * regmove.c (replace_in_call_usage): New function.
12155 (fixup_match_1): Call it.
12156 * cse.c (cse_insn): Canonicalize registers in function usage.
12157 * reload1.c (replace_pseudos_in_call_usage): New function.
12158 (reload): Call it.
12159
12160 * Makefile.in: Reverted yesterday's wrong patch. Installed the
12161 right version.
12162
12163 2001-01-12 Jakub Jelinek <jakub@redhat.com>
12164
12165 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
12166 not XEXP (tmp, 0).
12167
12168 2001-01-12 DJ Delorie <dj@redhat.com>
12169
12170 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
12171 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
12172 targets.
12173
12174 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
12175
12176 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
12177 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
12178 -std options alongside references to -ansi. Update some
12179 documentation for C99.
12180 * cpp.1: Regenerate.
12181
12182 2001-01-12 Andreas Jaeger <aj@suse.de>
12183
12184 * haifa-sched.c (restore_line_notes): Remove argument block B
12185 since it's unused.
12186 * sched-ebb.c (schedule_ebb): Change caller.
12187 * sched-rgn.c (schedule_region): Likewise.
12188 * sched-int.h (restore_line_notes): Adjust prototype.
12189
12190 * loop.h: Remove wrong declaration of doloop_condition_get.
12191
12192 2001-01-12 Phil Edwards <pme@sources.redhat.com>
12193
12194 * extend.texi: Move C++-extension-related node from the C section
12195 into the C++ section.
12196
12197 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
12198
12199 * extend.texi: Refer to an array of pointers to functions instead
12200 of one of functions.
12201
12202 Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
12203 Jan Hubicka <jh@suse.cz>
12204
12205 * combine.c (reversed_comparison): Fix typo in last patch.
12206 Check X for NULL.
12207 (combine_reversed_comparison_code): Make static to follow
12208 prototype declaration.
12209
12210 2001-01-12 Phil Edwards <pme@sources.redhat.com>
12211
12212 * install.texi: Remove misplaced duplicate entry.
12213
12214 2001-01-11 Ulrich Drepper <drepper@redhat.com>
12215
12216 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
12217
12218 Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
12219
12220 * final.c: (leaf_function_p): Fix typo.
12221
12222 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
12223
12224 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
12225 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
12226 which you have.
12227 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
12228 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
12229 mmap_anon, and valloc is available.
12230 * ggc-page.c: Restructure ifdef logic to match new autoconf
12231 spec. Don't throw away the test page in init_ggc.
12232
12233 * configure, config.in: Regenerate.
12234
12235 2001-01-12 Michael Hayes <mhayes@redhat.com>
12236
12237 * loop.h (total_biv_increment): Constify iv_class pointer.
12238 (struct induction): Replace `mem_mode' with `mem' rtx.
12239 * unroll.c (total_biv_increment): Constify iv_class pointer.
12240 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
12241 (find_mem_givs, combine_givs_p): Likewise.
12242 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
12243
12244 2001-01-10 Thomas Pfaff <tpfaff@gmx.net>
12245
12246 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
12247 LastError.
12248 (__gthread_getspecific): Ditto.
12249
12250 Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
12251
12252 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
12253 put_condition_code): Convert fp comparison codes to integer
12254 before handling.
12255 (ix86_expand_fp_compare): Postnote the fp comparison code converison
12256 to final.
12257
12258 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
12259 * i386-protos.h (no_comparison_operator): Kill.
12260
12261 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
12262
12263 * combine.c (REVERSIBLE_CC_MODE): Remove.
12264 (reversible_comparison_p): Remove.
12265 (combine_reversed_comparison_code): New.
12266 (reversed_comparison): New.
12267 (combine_simplify_rtx): Use
12268 combine_reversed_comparison_code/reversed_comparison instead
12269 of reversible_comparison_p.
12270 (simplify_if_then_else): Likewise.
12271 (simplify_set): Likewise.
12272 (simplify_logical): Likewise.
12273 (if_then_else_cond): Likewise.
12274 (known_cond): Likewise.
12275 (simplify_comparison): Likewise.
12276
12277 2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
12278
12279 * builtins.c (std_expand_builtin_va_start): Handle varargs when
12280 sizeof (int) is larger than sizeof(__word__).
12281
12282 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
12283
12284 * cppinit.c (do_includes): Fix typo.
12285
12286 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12287
12288 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
12289 in S_REGS does not occur because not all sources are possible
12290 when a S_REGS is a destination (sometimes needs a clobber).
12291 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
12292 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
12293 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
12294 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
12295 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
12296 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
12297 (lshrdi_const1, lshrsi3_const16): Likewise.
12298 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
12299 (*movhi_68hc12, *movqi_68hc12): Likewise.
12300 (movstrictqi): Make sure reloading in D_REGS as a destination
12301 does not happen.
12302
12303 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
12304
12305 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
12306
12307 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
12308
12309 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
12310 -D, -U and -A, and don't initialize the builtins.
12311 (do_includes): Error if -include or -imacros with -fpreprocessed.
12312 * cppmain.c (cb_define, cb_undef): Unconditionally process
12313 the callback.
12314 * tradcpp.c (main): Fix typo.
12315
12316 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
12317
12318 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
12319 (read_name_map): Use IS_ABSOLUTE_PATH.
12320 * tradcpp.c (get_filename): Likewise.
12321
12322 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12323
12324 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
12325 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
12326 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
12327 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
12328 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
12329 (cmphi_z_used): Don't use '@' for the output.
12330 (tstqi_z_used): Likewise.
12331 (cmpqi_z_used): Likewise.
12332 (one_cmplsi2): Likewise.
12333
12334 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
12335
12336 * config/sh/sh.c (barrier_align): Recognize branch around far
12337 branch and redundant insn.
12338
12339 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
12340
12341 * invoke.texi: Restore documentation of the drivers' switches -MD
12342 and -MMD.
12343
12344 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
12345
12346 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
12347
12348 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
12349 check-objc//%): Support parallel testing of multilibs.
12350 (TESTSUITEDIR): Set to testsuite by default, but override for
12351 parallel testing.
12352 (check-gcc, check-g++, check-g77, check-objc): Enter
12353 $(TESTSUITEDIR).
12354
12355 2001-01-11 Bernd Schmidt <bernds@redhat.com>
12356
12357 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
12358 * sched-deps.c (deps_may_trap_p): Likewise.
12359 * basic-block.h: Remove a comment.
12360 * flow.c (PROP_POSTRELOAD): Remove.
12361 (update_life_info): Don't add it to prop_flags.
12362 (mark_set_1): Lose the code that was enabled by it.
12363
12364 2001-01-11 Michael Hayes <mhayes@redhat.com>
12365
12366 * flow.c (flow_call_edges_add): New.
12367 * basic_block.h (flow_call_edges_add): New.
12368
12369 2001-01-11 J"orn Rennecke <amylaar@redhat.com>
12370
12371 * reload1.c (move2add_note_store): Update reg_set_luid even if
12372 base reg remains the same.
12373
12374 2001-01-10 Nick Clifton <nickc@redhat.com>
12375
12376 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
12377 machine_function structure to zero.
12378 Add prototypes for machine_status functions.
12379
12380 2001-01-10 Mark Mitchell <mark@codesourcery.com>
12381
12382 * c-common.h (CTI_VOID_LIST): Remove.
12383 (void_list_node): Likewise.
12384 * tree.h (TI_VOID_LIST_NODE): New enumeral.
12385 (void_list_node): New macro.
12386 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
12387 * config/i386/i386.c (ix86_init_builtins): Likewise.
12388 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
12389
12390 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
12391
12392 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
12393 * cppinit.c (cpp_start_read): Update comment, remove unneeded
12394 if statement.
12395 * tradcpp.c: Include mkdeps.h.
12396 (deps, print_deps_phony_targets, deps_append, output_deps,
12397 init_dependency_output, output_deps): New.
12398 (deps_buffer, deps_allocated_size, deps_size, deps_column,
12399 deps_output): Delete.
12400 (print_deps_missing_files): Rename deps_missing_files.
12401 (inhibit_output): Make global.
12402 (main): Delete inhibit_output, deps_stream, deps_target.
12403 Use mkdeps functionality in the same way as cpplib. Remove
12404 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
12405 -M and -MM. Remove old handling of deps via deps_out, and
12406 old reading of environment variables.
12407 (get_filename): Update to use deps_add_dep.
12408
12409 2001-01-10 Mark Mitchell <mark@codesourcery.com>
12410
12411 * output.h (make_function_rtl): Remove prototype.
12412 (make_decl_rtl): Likewise.
12413 * varasm.c (make_function_rtl): Remove.
12414 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
12415 than from a third parameter.
12416 * tree.h (make_decl_rtl): Remove last parameter.
12417 * c-decl.c (builtin_function): Remove last argument in call to
12418 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
12419 (start_function): Likewise.
12420 * except.c (call_get_eh_context): Likewise.
12421 * expr.c (emit_block_move): Likewise.
12422 (clear_storage): Likewise.
12423 * profile.c (output_func_start_profiler): Likewise.
12424 * toplev.c (rest_of_decl_compilation): Likewise.
12425 * objc/objc-act.c (create_builtin_decl): Likewise.
12426 (synth_module_prologue): Likewise.
12427 (generate_static_reference): Likewise.
12428 (build_selector_reference_decl): Likewise.
12429 (build_class_reference_decl): Likewise.
12430 (build_objc_string_decl): Likewise.
12431 (build_protocol_reference): Likewise.
12432
12433 2001-01-10 Richard Henderson <rth@redhat.com>
12434
12435 * hwint.h: Revert yesterday's change.
12436
12437 2001-01-10 Nick Clifton <nickc@redhat.com>
12438
12439 * function.h (save_machine_status): Delete.
12440 (restore_machine_status): Delete.
12441 Amend comment describing {init|mark|free}_machine_status.
12442
12443 * function.c (save_machine_status): Delete.
12444 (restore_machine_status): Delete.
12445 Amend comment describing {init|mark|free}_machine_status.
12446 (push_function_context_to): Remove invocation of
12447 save_machine_status.
12448 (pop_function_context_from): Remove invocation of
12449 restore_machine_status.
12450
12451 * emit-rtl.c (init_emit_once): Amend comment describing
12452 {init|mark|free}_machine_status.
12453
12454 * tm.texi (Per-Function Data): New node. Describe the
12455 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
12456 function pointers.
12457
12458 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
12459
12460 * cppinit.c (OPT_g): Remove.
12461 (cpp_handle_option): Update for removed -g3.
12462 (print_help): Update.
12463 * cpplib.h (struct cpp_options): Remove debug_output.
12464 * cppmain.c (setup_callbacks, cb_define): Update.
12465 * gcc.c (cpp_options): Translate -g3 to -dD.
12466
12467 2001-01-10 Aldy Hernandez <aldyh@redhat.com>
12468
12469 * config/i960/i960.md: Change modifier to + on the zero_extract
12470 pattern after the (rotate -2 reg) canonicalization pattern.
12471
12472 2001-01-10 Richard Henderson <rth@redhat.com>
12473
12474 * config/alpha/alpha.c (alpha_free_machine_status): New.
12475 (override_options): Install it.
12476 (alpha_mark_machine_status): Verify machine non-null.
12477 * config/i386/i386.c (ix86_free_machine_status): New.
12478 (override_options): Install it.
12479 (ix86_init_machine_status): Use xcalloc.
12480 (ix86_mark_machine_status): Verify machine non-null.
12481 * config/ia64/ia64.c (ia64_free_machine_status): New.
12482 (ia64_override_options): Install it.
12483 (ia64_mark_machine_status): Verify machine non-null.
12484
12485 Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
12486
12487 * function.c (instantiate_virtual_regs): Instantiate virtual
12488 registers found in CALL_INSN_FUNCTION_USAGE.
12489
12490 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
12491
12492 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
12493 equivalent to -ansi in disabling -Di386.
12494
12495 Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
12496
12497 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
12498 new functions.
12499 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
12500
12501 2001-01-10 Richard Earnshaw <rearnsha@arm.com>
12502
12503 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
12504
12505 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
12506
12507 * invoke.texi: Document that -fcond-mismatch isn't supported for
12508 C++.
12509
12510 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
12511
12512 * gcc.texi: Define macro gcctabopt.
12513 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
12514 @command, @env and @option in some places where appropriate. Use
12515 @gcctabopt where appropriate. Put URLs and email addresses inside
12516 @w.
12517
12518 2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
12519
12520 * gcc.c (cpp_options): Set MD file name from output
12521 filename, if specified.
12522 (suffix_subst): New static variable.
12523 (do_spec): Clear it.
12524 (do_spec_1, case '.'): Handle new `%.suffix' spec.
12525 Clear it.
12526 (give_switch): Handle suffix_subst.
12527
12528 2001-01-10 Phil Edwards <pme@sources.redhat.com>
12529
12530 * invoke.texi: Fix another typo.
12531
12532 2001-01-10 Phil Edwards <pme@sources.redhat.com>
12533
12534 * invoke.texi: Fix typo.
12535
12536 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
12537
12538 * c-lang.c (lang_hooks): Update.
12539 (lang_decode_option): Remove.
12540 (lang_init_options): Rename c_init_options.
12541 * toplev.c (main): Use lang_hooks for lang_init_options
12542 and lang_decode_option.
12543 * toplev.h (lang_hooks): Add 2 new hooks.
12544 * tree.h: Remove lang_init_options and lang_decode_option.
12545 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
12546 * cp/decl2.c: Similarly.
12547 * cp/lex.c (lang_init_options): Rename cxx_init_options.
12548 (lang_hooks): Update.
12549 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
12550 for consistency.
12551 (lang_init_options): Rename ffe_init_options.
12552 (lang_hooks): Update.
12553 (lang_decode_option): Remove.
12554 * java/lang.c (lang_init_options): Rename java_init_options.
12555 (lang_decode_option): Rename java_decode_option.
12556 (lang_hooks): Update.
12557 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
12558 (lang_decode_option): Rename objc_decode_option.
12559 (lang_hooks): Update.
12560
12561 2001-01-09 Nick Clifton <nickc@redhat.com>
12562
12563 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
12564 (d30v_return_addr_rtx): Delete.
12565 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
12566 cfun->machine structure.
12567 (struct machine_function): Move to d30v.h
12568 (d30v_save_machine_status): Delete.
12569 (d30v_restore_machine_status): Delete.
12570 (d30v_init_machine_status): New Function.
12571 (d30v_mark_machine_status): New Function.
12572 (d30v_free_machine_status): New Function.
12573 (d30v_init_expanders): Use new functions.
12574 (d30v_return_addr): Use ra_rtx field in cfun->machine.
12575 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
12576 d30v_return_addr_rtx.
12577
12578 * config/d30v/d30v.h (struct_machine): Move here.
12579 Add eh_epilogue_sp_ofs field.
12580
12581 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
12582 field in cfun->machine structure.
12583
12584 Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
12585
12586 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
12587 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
12588 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
12589
12590 Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
12591
12592 * objc/lang-options.h: Remove bogus reference to
12593 Java trademark.
12594
12595 2001-01-09 Kazu Hirata <kazu@hxi.com>
12596
12597 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
12598 return the result.
12599
12600 2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
12601
12602 * reload.c (find_reloads_address): Check for eliminable registers
12603 when substituting a constant expression for a pseudo.
12604
12605 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
12606
12607 * c-common.c (enum format_type): Add format_type_error.
12608 (decode_format_type): New function.
12609 (decl_attributes): Use it.
12610 (format_kind_info): Adjust comment.
12611
12612 2001-01-09 David O'Brien <obrien@BSDi.com>
12613
12614 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
12615 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
12616 files in tm_file.
12617 * config/i386/gnu.h: Don't include required platform specific .h files,
12618 tm.h will do it instead.
12619 * config/i386/i386elf.h: Likewise.
12620 * config/i386/linux.h: Likewise.
12621 * config/i386/moss.h: Likewise.
12622 * config/mips/gnu.h: Likewise.
12623
12624 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12625
12626 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
12627 (rs6000-ibm-aix3.[01]*): Likewise.
12628 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
12629 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
12630 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
12631 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12632 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
12633 (powerpc-*-eabiaix*): Likewise.
12634 (powerpc-*-eabisim*): Likewise.
12635 (powerpc-*-elf*): Likewise.
12636 (powerpc-*-eabi*): Likewise.
12637 (powerpc-*-rtems*): Likewise.
12638 (powerpc-*-linux*libc1): Likewise.
12639 (powerpc-*-linux*): Likewise.
12640 (powerpc-wrs-vxworks*): Likewise.
12641 (powerpcle-wrs-vxworks*): Likewise.
12642 (powerpcle-*-sysv*): Likewise.
12643 (powerpcle-*-elf*): Likewise.
12644 (powerpcle-*-eabisim*): Likewise.
12645 (powerpcle-*-eabi*): Likewise.
12646 (powerpcle-*-solaris2*): Likewise.
12647 * config/rs6000/aix31.h: Delete includes.
12648 * config/rs6000/aix3newas.h: Likewise.
12649 * config/rs6000/aix41.h: Likewise.
12650 * config/rs6000/aix43.h: Likewise.
12651 * config/rs6000/beos.h: Likewise.
12652 * config/rs6000/rtems.h: Likewise.
12653 * config/rs6000/sysv4.h: Likewise.
12654
12655 2001-01-09 Kazu Hirata <kazu@hxi.com>
12656
12657 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
12658 Change an argument mode of machine_mode to shift_mode of
12659 shift_mode. Remove an extra error check.
12660 (emit_a_shift): Adopt to the new calling prototype of
12661 get_shift_alg.
12662 (function_prologue): Fix code for a monitor
12663 function. Support H8/S.
12664 (function_epilogue): Do not output pop for a monitor function.
12665
12666 2001-01-09 Nick Clifton <nickc@redhat.com>
12667
12668 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
12669 (setup_incoming_varargs): Use sysv_varargs_p field of the
12670 cfun->machine structure.
12671 (struct machine_function): Move to rs6000.h
12672 (rs6000_save_machine_status): Delete.
12673 (rs6000_restore_machine_status): Delete.
12674 (rs6000_init_machine_status): New Function.
12675 (rs6000_free_machine_status): New Function.
12676 (rs6000_init_expanders): Use new functions.
12677
12678 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
12679 export.
12680 (struct machine_function): Move here.
12681
12682 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
12683 sysv_varargs_p field of the cfun->machine structure.
12684
12685 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
12686 Remove prototype.
12687 (rs6000_restore_machine_status): Remove prototype.
12688
12689 2001-01-09 Richard Henderson <rth@redhat.com>
12690
12691 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
12692 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
12693 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
12694 (sched_analyze_2, sched_analyze_insn): Likewise.
12695 (sched_analyze, init_deps): Likewise.
12696 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
12697 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
12698 (compute_block_backward_dependences): Update propagate_deps call.
12699
12700 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
12701
12702 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
12703
12704 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
12705
12706 * cppinit.c (OPT_MD, OPT_MMD): Restore.
12707 (cpp_handle_option): Handle them.
12708 (cpp_post_options): Ensure one of -M or -MM is specified with
12709 any other -M? option.
12710 (init_dependency_output): Suppress output with -MG.
12711
12712 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
12713
12714 * cpp.texi: Update.
12715 * invoke.texi: Update.
12716
12717 2001-01-09 Bernd Schmidt <bernds@redhat.com>
12718
12719 * sh.md (reload_outsf): Generate recognizable patterns for
12720 TARGET_SH3E.
12721
12722 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
12723
12724 * c-lang.c (lang_hooks): Update.
12725 (lang_init): Rename c_init.
12726 (lang_finish): Remove.
12727 * toplev.c (compile_file): Use lang_hooks for lang_init ()
12728 and lang_finish ().
12729 * toplev.h (lang_hooks): Add init () and finish ().
12730 * tree.h (lang_init, lang_finish): Remove.
12731 * cp/tree.h (lang_init, lang_finish): Remove.
12732 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
12733 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
12734 lang_hooks): New.
12735 (lang_init, lang_finish): Remove.
12736 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
12737 (lang_hooks): Update.
12738 * java/lang.c (lang_init): Rename java_init.
12739 (lang_finish): Remove.
12740 (lang_hooks): Update.
12741 * objc/objc-act.c (lang_init): Rename objc_init.
12742 (lang_finish): Remove.
12743 (lang_hoooks): Update.
12744
12745 20001-01-09 Graham Stott <grahams@redhat.com>
12746
12747 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
12748 after `ptr` is initialised.
12749
12750 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
12751
12752 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
12753 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
12754 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
12755 stack adjusts, instead of r3.
12756
12757 2001-01-09 Michael Hayes <mhayes@redhat.com>
12758
12759 * flow.c (flow_loop_scan): Break out of ...
12760 (flow_loops_find) ... here.
12761 * basic-block.h (flow_loop_scan): New.
12762 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
12763 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
12764
12765 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
12766
12767 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
12768 macro_buffer_len.
12769 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
12770 realloc()ing macro_buffer.
12771
12772 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
12773 if it's wider than long and the target's long is wider than the
12774 host's.
12775
12776 2001-01-09 Mark Mitchell <mark@codesourcery.com>
12777
12778 Remove support for using UWIN as a host machine.
12779 * configure.in: Issue an error message.
12780 * configure: Regenerated.
12781 * config.gcc: Remove xm_* UWIN configury.
12782 * config/i386/xm-uwin.h: Remove.
12783
12784 2001-01-08 Nick Clifton <nickc@redhat.com>
12785
12786 * config/v850/v850.c (ra_rtx): Delete.
12787 (v850_save_machine_status): Delete.
12788 (v850_restore_machine_status): Delete.
12789 (v850_init_machine_status): New function.
12790 (v850_mark_machine_status): New function.
12791 (v850_free_machine_status): New function.
12792 (v850_return_addr): Use ra_rtx field in machine structure.
12793 (v850_init_expanders): Use new functions.
12794
12795 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
12796 * config/v850/v850.c: Change arguments to v850_output+* functions
12797 to take a const char *, to avoid compile time warning.
12798 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
12799 (USER_LABEL_PREFIX): Redefine.
12800
12801 2000-01-08 Jim Wilson <wilson@redhat.com>
12802
12803 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
12804 1 to unsigned HOST_WIDE_INT before left shift.
12805
12806 2001-01-08 Nick Clifton <nickc@redhat.com>
12807
12808 * config/arm/arm.c (arm_mark_machine_status): Check to see if
12809 the machine structure has been allocated.
12810 (arm_free_machine_status): New function: Free the machine
12811 specific function structure.
12812
12813 2001-01-08 Richard Henderson <rth@redhat.com>
12814
12815 * jump.c (simplejump_p): Revert last change.
12816
12817 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
12818
12819 * cppinit.c (init): Rename init_library.
12820 (cpp_create_reader): Update.
12821 * gcc.c (cpp_options): If -o given, use it as the target of
12822 any -M options.
12823
12824 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
12825
12826 * arm.c (arm_arch5e): New variable.
12827 (all_cores): XScale is a 5TE device.
12828 (arm_override_options): Set arm_arch5e.
12829 (arm_init_builtins): __builtin_prefetch is in arch5e.
12830 * arm.h (arm_arch5e): Declare it.
12831
12832 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
12833
12834 * arm.md (define_constants): Add defines for UNSPEC and
12835 UNSPEC_VOLATILE insns. Update all users.
12836 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
12837 * arm.c (multi_register_push, note_invalid_constants)
12838 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
12839 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
12840 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
12841
12842 Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
12843
12844 * jump.c (jump_optimize_1): Use reversed_comparison_code
12845 instead of can_reverse_comparison_p.
12846 (jump_back_p): Likewise.
12847 (invert_exp_1): Likewise.
12848 (thread_jumps): Likewise.
12849 * simplify-rtx.c (simplify_unary_operation): Likewise.
12850 (simplify_ternary_operation): Likewise.
12851 * cse.c (find_comparison_args): Convert to use
12852 can_reverse_comparison_p.
12853 (record_jump_equiv): Likewise.
12854
12855 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
12856
12857 * arm.h (HARD_REGNO_RENAME_OK): Delete.
12858 (EPILOGUE_USES): Define.
12859 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
12860 automatically stack the LR if it isn't live.
12861
12862 Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
12863
12864 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
12865 properly.
12866
12867 Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
12868
12869 * ggc-page.c (max_alignment): New structure.
12870 (MAX_ALIGNMENT): New macro.
12871 (init_ggc): Use it to round up the sizes in the
12872 extra_order_size_table.
12873
12874 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12875
12876 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
12877 after reload.
12878
12879 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12880
12881 * builtins.def (BUILT_IN_FPRINTF): New entry.
12882
12883 * c-common.c (c_expand_builtin_fprintf): New function.
12884 (init_function_format_info): Handle __builtin_fprintf.
12885 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
12886 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
12887
12888 * c-decl.c (duplicate_decls): Adjust comment.
12889
12890 * extend.texi (fprintf): Document new builtin.
12891
12892 2001-01-07 Richard Henderson <rth@redhat.com>
12893
12894 * jump.c (simplejump_p): Recognize any single_set jump
12895 of the proper form.
12896
12897 2001-01-07 Richard Henderson <rth@redhat.com>
12898
12899 * configure.in (slibdir): Accept an --with-slibdir option.
12900 Use "test" not "[" in configure. Default to $(libdir).
12901
12902 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
12903 fix typo in rm -f.
12904 * config/t-aix43 (SHLIB_INSTALL): Likewise.
12905 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
12906 (SHLIB_LINK): Create links for the soname.
12907 * config/mips/t-iris6: Likewise.
12908 * config/sparc/t-slibgcc: Likewise.
12909 * config/sparc/t-slibgcc-sld: Likewise.
12910
12911 2001-01-07 Jakub Jelinek <jakub@redhat.com>
12912
12913 * config/i386/i386.c (constant_call_address_operand): Accept
12914 (const (plus (symbol_ref) (const_int))).
12915 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
12916 constant_call_address_operand.
12917
12918 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12919
12920 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
12921 and LONG_LONG_TYPE_SIZE > 32.
12922
12923 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12924
12925 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
12926 the previous change.
12927
12928 Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
12929
12930 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
12931 New.
12932 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
12933 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
12934 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
12935 Declare.
12936
12937 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
12938
12939 * fix-header.c (read_scan_file): s/pfile/scan_in/.
12940
12941 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
12942
12943 * c-lang.c (c_post_options): Call cpp_post_options.
12944 * objc/objc-act.c (objc_post_options): Similarly.
12945 * cppmain.c (main): Similarly.
12946 * fix-header.c (read_scan_file): Similarly.
12947 * cppinit.c (cpp_start_read): Move option consistency checks
12948 to cpp_post_options. Don't call init_dependency_output.
12949 If needed, add default target and main file dependency.
12950 (OPT_MD, OPT_MMD): Remove.
12951 (OPT_MF): New.
12952 (cpp_handle_option): Update for OPT_* changes.
12953 (cpp_post_options): New.
12954 (init_dependency_output): Command line -MF overrides environment
12955 variables. Don't set default target etc. Suppress output
12956 if dependencies are going to stdout.
12957 (print_help): Update.
12958 * cpplib.h (cpp_post_options): New.
12959 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
12960
12961 Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
12962
12963 * jump.c (comparison_dominates_p): Support unordered compares.
12964
12965 Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
12966
12967 * simplify-rtx.c (simplify_relational_operation): Always simplify
12968 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
12969 and UNGE.
12970
12971 Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
12972
12973 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
12974 (nonzero_bits): Likewise.
12975 (simplify_comparison): Likewise.
12976 (num_sign_bit_copies): Likewise; return more sane value depending
12977 on STORE_FLAG_VALUE.
12978 (known_cond): Do not assume EQ to be always true for equivalent
12979 operands.
12980
12981 Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
12982
12983 * cse.c (fold_rtx): Handle unordered comparisons.
12984
12985 Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
12986
12987 * rtlanal.c (set_of_1): New static function.
12988 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
12989 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
12990 reg_set_last_last_regno): Remove.
12991 (set_of): New global function.
12992 (set_of_data): New structure.
12993 (reg_set_p, reg_set_last): Revamp for set_of.
12994 * rtl.h (set_of): New.
12995
12996 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
12997
12998 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
12999 * extend.texi: Document _Exit builtin.
13000
13001 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
13002
13003 * (initialize, initialize_builtins,
13004 initialize_dependency_output, initialize_standard_includes):
13005 Rename s/initialize/init. Update.
13006 (init_dependency_output): Move to after
13007 cpp_handle_options, the correct location temporally at least.
13008 (opt_comp): Move next to init (), its caller. Fix prototype.
13009 (init): Make "initialized" local scope.
13010 (cpp_create_reader): Always call init ().
13011 (cpp_start_read): Update.
13012 (output_deps): New function, broken out of cpp_finish.
13013 (cpp_finish): Break out output_deps.
13014
13015 2001-01-07 Richard Henderson <rth@redhat.com>
13016
13017 * collect2.c (COFF specific stuff): Revert 12-06 patch
13018 to prototype system functions.
13019
13020 2001-01-07 Michael Hayes <mhayes@redhat.com>
13021
13022 * hard-reg-set.h: Add multiple include guard.
13023 * basic-block.h (struct loop): Add `sink' field.
13024 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
13025 (emit_iv_add_mult): Delete.
13026 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
13027 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
13028 (unroll_loop): Remove end_insert_before argument.
13029 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
13030 (maybe_eliminate_biv_1): Likewise.
13031 (emit_iv_add_mult): Delete.
13032 (gen_add_mult, loop_regs_update): New.
13033 (loop_insn_emit_after, loop_insn_emit_before): New.
13034 (loop_insn_sink, loop_insn_sink_or_swim): New.
13035 (emit_iv_add_mult): Delete.
13036 (scan_loop): Set loop->sink.
13037 (loop_givs_reduce): Use loop_insn_sink and its ilk.
13038 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
13039 (maybe_eliminate_biv_1): Likewise.
13040 (maybe_eliminate_biv_1): Add basic block argument.
13041 * unroll.c (unroll_loop): Remove end_insert_before argument.
13042 (find_splittable_regs): Likewise.
13043 (find_splittable_regs): Use loop_insn_sink and its ilk.
13044 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
13045
13046 2001-01-07 Michael Hayes <mhayes@redhat.com>
13047
13048 * loop.h (loop_insn_hoist): New prototype.
13049 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
13050 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
13051 (check_dbra_loop, load_mems): Likewise.
13052 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
13053 (find_splittable_givs): Likewise.
13054
13055 2001-01-07 Michael Hayes <mhayes@redhat.com>
13056
13057 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
13058
13059 2001-01-07 Richard Henderson <rth@redhat.com>
13060
13061 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
13062
13063 2001-01-07 Richard Henderson <rth@redhat.com>
13064
13065 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
13066 NO_SHARED_LIBGCC_MULTILIB as required for the target.
13067 * gcc.c (init_spec): Massage the existing libgcc_spec into a
13068 variant that handles a shared libgcc.
13069 (process_command): Always validate -{static,shared}-libgcc.
13070 (do_spec_1): New 'M' case.
13071 * invoke.text (Link Options): Document -{static,shared}-libgcc.
13072
13073 2001-01-07 Richard Henderson <rth@redhat.com>
13074
13075 * Makefile.in (slibdir): New variable.
13076 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
13077 (installdirs): Create slibdir.
13078 (install-libgcc, install-multilib): Defer to libgcc.mk.
13079 * configure.in (slibdir): Substitute.
13080 * mklibgcc.in (install): New target.
13081
13082 * config/t-linux (SHLIB_LINK): Create links for the soname.
13083 (SHLIB_INSTALL): New.
13084 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
13085 * config/mips/t-iris6 (SHLIB_INSTALL): New.
13086 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
13087 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
13088 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
13089
13090 2001-01-07 Richard Henderson <rth@redhat.com>
13091
13092 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
13093 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
13094 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
13095
13096 2001-01-07 Michael Hayes <mhayes@redhat.com>
13097
13098 * loop.c (count_loop_regs_set): Delete.
13099 (load_mems_and_recount_loop_regs_set): Delete.
13100 (loop_regs_scan): Merge common code from count_loop_regs_set,
13101 scan_loop, and load_mems_and_recount_loop_regs_set.
13102 (scan_loop): Call load_mems directly and loop_regs_scan
13103 again if new registers created.
13104
13105 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
13106
13107 * toplev.c (main): Call the front-end specific post_options
13108 hook if one is given.
13109 * toplev.h (struct_lang_hooks, lang_hooks): New.
13110 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
13111 for the C front end.
13112 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
13113 lang_hooks for the C++ front end.
13114 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
13115 lang_hooks for the ObjC front end.
13116 * f/com.c (lang_hooks): Hooks for the Fortran front end.
13117 * java/lang.c (lang_hooks): Hooks for the Java front end.
13118
13119 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
13120
13121 * c-lex.c (init_c_lex): Request #define / #undef callbacks
13122 for verbose DWARF[2] debugging.
13123 (cb_define, cb_undef): The new callbacks.
13124 * toplev.h (debug_define, debug_undef): Make const correct.
13125 * toplev.c (debug_define, debug_undef): Similarly. Do not
13126 perform the verbosity tests here anymore.
13127
13128 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
13129
13130 * reload.c (subst_reloads): Take INSN argument. When
13131 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
13132 * reload.h (subst_reloads): Adjust prototype.
13133 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
13134 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
13135 present in JUMP_INSNs and copy them to JUMP_LABEL.
13136 * flow.c (find_label_refs, find_basic_blocks_1): Skip
13137 JUMP_INSNs and insns with REG_LABELs that are followed by
13138 JUMP_INSNs with the same REG_LABEL.
13139 * sched-rgn.c (is_cfg_nonregular): Likewise.
13140 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
13141 note is available.
13142 * unroll.c (unroll_loop): Look for REG_LABEL notes in
13143 JUMP_INSNs too.
13144 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
13145
13146 2001-01-06 Richard Henderson <rth@redhat.com>
13147
13148 * loop.c (scan_loop): Use xcalloc for the regs array.
13149 (load_mems_and_recount_loop_regs_set): Zero the new memory
13150 received from xrealloc.
13151
13152 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
13153
13154 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
13155
13156 Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
13157
13158 * integrate.c (copy_rtx_and_substitute): When copying
13159 an ignored return value, strip REG_FUNCTION_VALUE_P.
13160
13161 2001-01-06 Michael Hayes <mhayes@redhat.com>
13162
13163 * loop.c (debug_biv, debug_giv): New.
13164 (loop_biv_dump): Break out from ...
13165 (record_biv): ... here.
13166 (loop_giv_dump): Break out from ...
13167 (record_giv): ... here.
13168 (loop_bivs_check): Use print_simple_rtl.
13169 * unroll.c (loop_iterations): Use print_simple_rtl.
13170
13171 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
13172
13173 * pa.md (return, return_internal): Modify patterns to prevent regrename
13174 mucking with the return pointer.
13175
13176 2001-01-05 Richard Henderson <rth@redhat.com>
13177
13178 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
13179
13180 Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
13181
13182 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
13183 version supplied by Matteo Frigo.
13184
13185 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
13186
13187 * cpp.texi: Update for -MQ.
13188 * cppinit.c (cpp_create_reader): Always create pfile->deps.
13189 (cpp_cleanup): Always free pfile->deps.
13190 (initialize_dependency_output): Don't create pfile->deps.
13191 (cpp_handle_option): Similarly.
13192 (OPT_MQ): New.
13193 * gcc.c (cpp_options): Handle -MQ.
13194 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
13195 * mkdeps.c (base_name): Remove.
13196 (deps_init): Don't allocate vector space until it's needed.
13197 (deps_free): Only free vectors if allocated.
13198 (deps_add_target, deps_add_dep): Update for initial allocation.
13199 (deps_add_default_target): Don't strip to the base_name.
13200
13201 2001-01-05 DJ Delorie <dj@redhat.com>
13202
13203 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
13204 (INIT_EXPANDERS): Define.
13205
13206 * config/v850/v850.c (struct machine_function): Define.
13207 (v850_save_machine_status): New function.
13208 (v850_restore_machine_status): New function.
13209 (v850_return_addr): New function.
13210 (v850_init_expanders): New function.
13211
13212 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
13213 and v850_init_expanders.
13214
13215 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
13216
13217 * cpplib.h (struct cpp_reader): Add help_only field.
13218 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
13219 (cpp_handle_option): Set pfile->help_only if we see -h,
13220 --help, -target-help, or --version. Print version string but
13221 do not set help_only if we see -v or -version. Make text
13222 printed by -v match that printed by (-)-version.
13223
13224 * cppmain.c (main): Exit after option parsing if
13225 pfile->help_only is true.
13226
13227 * toplev.c (independent_decode_option): Call print_version,
13228 then exit, if we see --version (but not -version).
13229 (print_version): Split lengthy message into two lines.
13230
13231 2001-01-05 Nick Clifton <nickc@redhat.com>
13232
13233 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
13234 temporary string for initialisation before calling ggc_alloc_string.
13235
13236 2001-01-06 Michael Hayes <mhayes@redhat.com>
13237
13238 * rtl.h (print_simple_rtl): New.
13239 * print-rtl.c (print_simple_rtl): New.
13240 (flag_simple): New.
13241 (print_rtx): Disable printing of flags and modes, etc.,
13242 if `flag_simple` nonzero.
13243
13244 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
13245
13246 * function.c (fixup_var_refs): Use push_to_full_sequence where
13247 possible.
13248
13249 2001-01-05 Michael Meissner <meissner@redhat.com>
13250
13251 * flags.h (flag_reorder_blocks): Add declaration.
13252 (flag_rename_block): Ditto.
13253
13254 2001-01-05 DJ Delorie <dj@redhat.com>
13255
13256 * function.c (reorder_blocks): Make sure the flags are all reset
13257 before using them to mark blocks, else a second invocation will
13258 corrupt the block chain.
13259 (reorder_blocks_0): New, resets the flags.
13260
13261 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
13262
13263 * cse.c (find_comparison_args): Stop if the argument is known to
13264 be constant.
13265
13266 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
13267
13268 * config/sh/sh.md (movdf): When splitting load into pair of
13269 registers, don't clobber the register used in the address too
13270 early.
13271
13272 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
13273
13274 * varasm.c (mark_constant_pool): Improve initial comments.
13275 (mark_constants): Move marking of constants to mark_constant.
13276 (mark_constant): New function to recursively mark all constants
13277 referred to by a constant.
13278
13279 2001-01-05 Catherine Moore <clm@redhat.com>
13280
13281 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
13282
13283 2001-01-05 Phil Edwards <pme@sources.redhat.com>
13284
13285 * cp/lang-options.h: Bring comment in line with reality.
13286 * f/lang-options.h: Likewise.
13287 * java/lang-options.h: Likewise.
13288 * objc/lang-options.h: Likewise.
13289 * ch/lang-options.h: Likewise.
13290 * f/g77.texi: And update the manual.
13291
13292 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
13293 Denis Chertykov <denisc@overta.ru>
13294
13295 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
13296 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
13297 * config/avr/avr.md (all peepholes that request a scratch register):
13298 Call it, FAIL the peephole if not safe (in interrupt functions).
13299
13300 2001-01-05 Mark Mitchell <mark@codesourcery.com>
13301
13302 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
13303
13304 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
13305
13306 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
13307 Define.
13308 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
13309 BUILT_IN_CREAL and BUILT_IN_CIMAG.
13310 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
13311 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
13312 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
13313 BUILT_IN_CIMAG.
13314 * extend.texi: Document these builtins.
13315
13316 2001-01-05 Daniel Berlin <dberlin@redhat.com>
13317
13318 * c-common.c (lang_get_alias_set): Say we know nothing of
13319 VECTOR_TYPE aliasing.
13320
13321 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
13322
13323 2001-01-05 Bruce Korb <bkorb@gnu.org>
13324
13325 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
13326 their x* equivalent versions for atexit-less systems
13327 * fixinc/fixincl.c(main): do not return from main() on atexit-less
13328 systems (or any other system any more).
13329
13330 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
13331
13332 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
13333 output operands. Use arm_hard_register_operand for operand 4.
13334 (stmsi_postinc): Similarly.
13335 (ldmsi): Use arm_hard_register_operand for opernand 2.
13336 (stmsi): Similarly.
13337 * arm.c (arm_hard_register_operand): New function.
13338 * arm-protos.h (arm_hard_register_operand): Prototype it.
13339
13340 * arm.h (HARD_REGNO_RENAME_OK): Define.
13341
13342 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
13343
13344 * simplify-rtx.c (cfc_args): add "unordered" field.
13345 (check_fold_consts): Set unordered field.
13346 (simplify_relational_operation): Simplify the unordered
13347 comparisons.
13348
13349 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
13350 is valid.
13351
13352 * emit-rtl.c (try_split): Fix code to mark labels.
13353 * jump.c (mark_jump_label): Make global.
13354 * rtl.h (mark_jump_label): Declare.
13355
13356 * predict.c (estimate_probability): Handle unordred comparisons.
13357
13358 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
13359
13360 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
13361 * cppinit.c (initialize_dependency_output): Update.
13362 (cpp_finish): Output dummy targets for -MP.
13363 (OPT_MP): New.
13364 (cpp_handle_option): Handle -MP. Don't quote -MT options.
13365 * cpplib.h (struct cpp_options): Add deps_phony_targets.
13366 * gcc.c (cpp_options): Update to handle -MP.
13367 * mkdeps.c (deps_add_target, deps_add_default_target): Update
13368 to quote only the default target.
13369 (deps_phony_targets): Insert a preceding newline. Rename from
13370 deps_dummy_targets for consistency.
13371 * mkdeps.h: Update
13372
13373 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
13374
13375 * calls.c (emit_library_call_value_1): Support
13376 INIT_CUMULATIVE_LIBCALL_ARGS.
13377 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
13378
13379 2001-01-04 Richard Henderson <rth@redhat.com>
13380
13381 * c-decl.c (finish_struct): Detect flexible array members
13382 used in an inappropriate context.
13383 * c-typeck.c (really_start_incremental_init): Special case
13384 constructor_max_index for zero length arrays.
13385 (pop_init_level): Allow initialization of flexible array
13386 members. Deprecate initialization of zero length arrays.
13387 Don't issue missing initializer warning for flexible array
13388 members or zero length arrays.
13389 (process_init_element): Don't dereference null DECL_SIZE.
13390 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
13391 Don't abort for empty constructors. Use size_binop
13392 (output_constructor): Add commentary regarding zero length
13393 array futures. Abort if we try to initialize an array of
13394 unspecified length with a non-empty constructor in the middle
13395 of a structure.
13396
13397 * extend.texi (Zero Length): Update and clarify documentation
13398 on static initialization.
13399
13400 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13401
13402 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
13403 with more than 32767 words of local storage.
13404
13405 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13406
13407 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
13408 for 'abs', 'labs', and 'fabs'.
13409 (c4x_expand_builtin): Likewise.
13410 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
13411
13412 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
13413
13414 * config/sh/sh.md (prget, prset): New insn types.
13415 (return delay slot): Dont' allow prset.
13416 (call, sfunc delay slot): Don't allow prget.
13417 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
13418 for prset and prget.
13419
13420 2001-01-05 Michael Hayes <mhayes@redhat.com>
13421
13422 * loop.h (struct loop_reg): New.
13423 (struct loop_regs): Change to use array of `struct loop_reg'.
13424 * loop.c: Replace assortment of varrays with single regs array.
13425 (count_one_set): Delete may_not_move array argument
13426 and use regs array instead. All caller's changed.
13427 (count_loop_regs_set): Delete may_not_move and single_usage
13428 arguments and use regs array instead. All caller's changed.
13429 (find_single_use_in_loop): Replace usage array argument with pointer
13430 to regs structure. All caller's changed.
13431 (loop_optimize): Delete `moved_once' array.
13432
13433 2001-01-05 Michael Hayes <mhayes@redhat.com>
13434
13435 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
13436 Use it instead of loop_info->has_call for scanning loop mems.
13437 (check_dbra_loop): Replace loop_info->has_call test with
13438 loop_info->has_nonconst_call.
13439
13440 2000-01-04 Matthew Hiller <hiller@redhat.com>
13441
13442 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
13443 for TARGET_SH3E.
13444
13445 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
13446
13447 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
13448 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
13449
13450 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
13451
13452 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
13453 (flag_short_double, flag_short_wchar): Define.
13454 (c_common_nodes_and_builtins): Create many tree nodes shared
13455 between C and C++ here instead of in cp/decl.c and ...
13456 * c-decl.c (init_decl_processing): ... here.
13457 (SIZE_TYPE, WCHAR_TYPE): Don't define.
13458 (flag_short_double, flag_short_wchar): Don't define.
13459 (record_builtin_type): New function.
13460 (build_void_list_node): New function.
13461 * c-common.h (flag_short_double, flag_short_wchar,
13462 record_builtin_type, build_void_list_node): Declare.
13463
13464 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
13465
13466 * integrate.c (expand_inline_function): Don't put a virtual
13467 register into the reg map.
13468
13469 * function.c (fixup_var_refs_1): If force_operand didn't put
13470 the address into the target, move it there.
13471
13472 2001-01-04 Mark Mitchell <mark@codesourcery.com>
13473
13474 Special-case tree_decl/tree_list allocations.
13475 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
13476 (OBJECT_SIZE): New macro.
13477 (NUM_EXTRA_ORDER): Likewise.
13478 (extra_order_size_table): New variable.
13479 (NUM_ORDERS): New macro.
13480 (objects_per_page_table): New variable.
13481 (object_size_table): New variable.
13482 (G.pages): Use NUM_ORDERS to bound the array.
13483 (G.page_tails): Likewise.
13484 (DIV_ROUND_UP): Remove.
13485 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
13486 (alloc_page): Use OBJECT_SIZE.
13487 (size_lookup): Don't make it const.
13488 (ggc_alloc): Use OBJECT_SIZE.
13489 (ggc_set_mark): Likewise.
13490 (ggc_get_size): Likewise.
13491 (init_ggc): Set up the object_size_table, objects_per_page_table,
13492 and adjust size_lookup.
13493 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
13494 (ggc_pop_context): Use NUM_ORDERS.
13495 (clear_marks): Likewise.
13496 (sweep_pages): Likewise.
13497 (poison_pages): Likewise.
13498 (ggc_print_statistics): Use OBJECT_SIZE.
13499
13500 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13501
13502 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
13503 Only call array_size_for_constructor if last field and array type
13504 with no upper bound.
13505
13506 2001-01-04 Philip Blundell <philb@gnu.org>
13507
13508 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
13509 from bit 31 downwards, if this requires no more insns.
13510 (count_insns_for_constant): New helper function for above.
13511
13512 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
13513
13514 * gencodes.c (output_predicate_decls): Remove empty initializer.
13515
13516 2001-01-04 Mark Mitchell <mark@codesourcery.com>
13517
13518 * tree.c (copy_node): Remove documentation about obstacks.
13519 (buidl1): Check that nobody tries to build 2-argument nodes this
13520 way.
13521
13522 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13523
13524 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
13525 fp_high_losum_p.
13526
13527 * gencodes.c (output_predicate_decls): Fill empty initializer
13528 braces.
13529
13530 2001-01-04 Jakub Jelinek <jakub@redhat.com>
13531
13532 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
13533 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
13534 or -MM.
13535 (do_include): Handle missing headers like cpp0.
13536 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
13537 paths with first include pathname. Don't strcat to uninitialized
13538 string.
13539
13540 2001-01-04 Bernd Schmidt <bernds@redhat.com>
13541
13542 * regrename.c (regrename_optimize): Don't rename from frame pointer
13543 if frame_pointer_needed.
13544 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
13545 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
13546 (ia64_reorg): Use it instead of scheduling if ! optimize.
13547 (errata_emit_nops): Properly call asm_noperands.
13548 (ia64_sched_reorder): Finish cycle if we see an asm.
13549 (ia64_variable_issue): Clear scheduling state after asms.
13550
13551 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
13552
13553 * cpp.texi: Update for -MT.
13554 * cppinit.c (initialize_dependency_output): Add a default
13555 target if none has been given already.
13556 (no_tgt, OPT_MT): New.
13557 (cpp_handle_option): Handle -MT. Update -M etc.
13558 * cpplib.h (struct cpp_options): Remove deps_target.
13559 * gcc.c (cpp_options): Handle -MT.
13560 * mkdeps.c (struct deps): Move from mkdeps.h.
13561 (deps_calc_target): Rename deps_add_default_target. Add a
13562 default target if none has been specified already.
13563 * mkdeps.h (struct deps): Move to mkdeps.c.
13564 (deps_calc_target): Rename deps_add_default_target.
13565
13566 2000-01-03 Richard Henderson <rth@redhat.com>
13567
13568 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
13569 Remove dead code.
13570 * c-typeck.c (push_init_level): Move checks for flexible array
13571 members and zero length arrays ...
13572 (pop_init_level): ... here. Silently discard empty initializations.
13573 Remove dead code.
13574 * varasm.c (output_constructor): Update for sizeof change to
13575 zero-length arrays.
13576
13577 * extend.texi (Zero Length): Clarify semantics.
13578
13579 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
13580
13581 * configure.in (tm.h): Include isns-codes.h last.
13582 * configure: Rebuilt.
13583
13584 2001-01-03 Richard Henderson <rth@redhat.com>
13585
13586 * config/alpha/alpha.md (addvsi3, addvdi3): New.
13587 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
13588
13589 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13590
13591 * tradcpp.c (main): Make sure finclude() is called with a valid
13592 indepth value while handling -include.
13593
13594 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
13595
13596 * gencodes.c (output_predicate_decls): New function.
13597 (main): Call it.
13598 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
13599 even if it is not the first time machmode.h is #included.
13600 * config/sh/sh.c (fpul_operand): Declare MODE argument.
13601 * tm.texi (PREDICATE_CODES): Document predicate declarations.
13602 * gcc.texi (Copyright): Added 2001.
13603
13604 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
13605
13606 * c-common.c (c_common_lang_init): New function. Warn if format
13607 warning options which only have effects when used with -Wformat
13608 are used without -Wformat.
13609 * c-common.h (c_common_lang_init): Declare.
13610 * c-lang.c (lang_init): Call c_common_lang_init.
13611 * objc/objc-act.c (lang_init): Call c_common_lang_init.
13612
13613 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
13614
13615 * configure.in: Check for the mktemp command.
13616 * configure: Regenerate.
13617 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
13618 $TEMP. Create temporary files with mktemp, if available at
13619 configure time; otherwise use set -C. Remove temporary files
13620 before exit.
13621
13622 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
13623
13624 * configure.in: Require at least texinfo 4.0. Check for whether
13625 Pod::Man is sufficiently recent to regenerate GCC manpages.
13626 * configure: Regenerate.
13627 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
13628 on #!.
13629 (GENERATED_MANPAGES): Define.
13630 (generated-manpages): New target. Depend on cpp.1 as well as
13631 gcov.1.
13632 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
13633 configure to generated-manpages or empty) rather than on the
13634 manpages directly. Remove execute permission from installed
13635 gcov.1 as well as cpp.1.
13636 * cpp.1, gcov.1: Regenerate.
13637
13638 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13639
13640 * builtins.c (expand_builtin_strncmp): Use host_integerp and
13641 tree_low_cst. Allow using cmpstrsi in more cases.
13642
13643 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13644
13645 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
13646 sized types.
13647
13648 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
13649
13650 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
13651 * Makefile.in (HOST_CFLAGS): Mention build-make.
13652
13653 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13654
13655 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
13656 as JUMP_INSN.
13657
13658 2001-01-01 Bernd Schmidt <bernds@redhat.com>
13659
13660 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
13661 a REG rtx.
13662
13663 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
13664 callers changed.
13665
13666 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
13667 reg_base_value and reg_known_value arrays.
13668 (init_alias_analysis): Add more cases to detect known values.
13669 * sched-deps.c (deps_may_trap_p): New function.
13670 (sched_analyze_2): Use it.
13671
13672 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
13673
13674 * combine.c (simplify_shift_const): Even if we're sign-extracting,
13675 don't discard an ASHIFTRT if we're shifting in a wider mode.
13676
13677 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
13678
13679 * toplev.c (rest_of_compilation): Don't print basic block information
13680 when CFG isn't up to date.
13681
13682 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
13683
13684 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
13685 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
13686 (UNALIGNED_SHORT_ASM_OP): Define.
13687 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
13688
13689 2001-01-02 Mark Mitchell <mark@codesourcery.com>
13690
13691 * fold-const.c (fold_convert): Fix typo.
13692
13693 2001-01-02 Richard Henderson <rth@redhat.com>
13694
13695 * c-common.h (ASM_INPUT_P): New.
13696 * c-parse.in (asm): Set it when needed.
13697 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
13698 existance of an operand.
13699
13700 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
13701
13702 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
13703 (dwarf2out_frame_debug_expr): Likewise.
13704 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
13705
13706 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
13707
13708 * i386.c (ix86_split_to_parts): Return number of part required;
13709 handle TFmodes.
13710 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
13711 TFmodes.
13712 (ix86_split_long_move): Use number of part returned
13713 by ix86_split_to_parts
13714 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
13715 New macros.
13716 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
13717 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
13718 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
13719 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
13720 (ALIGN_MODE_128): Add TFmode.
13721 (IS_STACK_MODE): Likewise.
13722 (HARD_REGNO_NREGS): TFmode needs 3 registers.
13723 (HARD_REGNO_OK): Support TFmodes.
13724 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
13725 * i386.md (scheduler definitions): Use memory operand to determine
13726 fst/fld instructions; use mode attribute to determine real mode of
13727 the instruction.
13728 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
13729 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
13730
13731 2001-01-02 Mark Mitchell <mark@codesourcery.com>
13732
13733 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
13734
13735 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
13736
13737 * expr.c (store_constructor_field): Update ALIGN before calling
13738 store_constructor.
13739
13740 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
13741
13742 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
13743 host_integerp.
13744
13745 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
13746
13747 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
13748 incomplete type.
13749
13750 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
13751
13752 * c-decl.c (start_function): Don't warn on third parameter to main.
13753
13754 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13755
13756 * tsystem.h: Define HAVE_DECL_GETOPT.
13757
13758 2001-01-02 Philip Blundell <pb@futuretv.com>
13759
13760 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
13761 of input operand.
13762
13763 2001-01-02 Richard Henderson <rth@redhat.com>
13764
13765 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
13766
13767 2001-01-02 Andreas Jaeger <aj@suse.de>
13768
13769 * c-decl.c (c_decode_option): Remove support of
13770 -Wmissing-noreturn.
13771
13772 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
13773 (W_options): Add -Wmissing-noreturn here.
13774
13775 * flow.c: Define lang_missing_noreturn_ok_p.
13776 (check_function_return_warnings): Use it.
13777
13778 * c-common.h: Declare lang_missing_noreturn_ok_p.
13779
13780 * c-lang.c (c_missing_noreturn_ok_p): New function.
13781 (lang_init): Set lang_missing_noreturn_ok_p.
13782
13783 * invoke.texi (Warning Options): Document this.
13784
13785 2000-12-27 Phil Edwards <pme@sources.redhat.com>
13786
13787 * extend.texi (C++ Extensions): New node for C++ attributes;
13788 describe init_priority and com_interface.
13789 * invoke.texi: Remove -finit-priority as it now has zero effect.
13790 * install.texi: Fix xref syntax.
13791 * md.texi: Likewise.
13792
13793 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13794
13795 * config.gcc (sparc64-wrs-vxworks*): New case.
13796 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
13797
13798 * config/sparc/sparc.c (sparc_override_options): Do support different
13799 pointer and architecture size.
13800 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
13801 (POINTERS_EXTEND_UNSIGNED): Define.
13802 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
13803 (FUNCTION_MODE): Define to be Pmode.
13804 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
13805
13806 * function.c (expand_function_end): Properly handle DECL_RESULT
13807 and copy when ptr_mode != Pmode.
13808 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
13809
13810 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13811
13812 * c-common.c (c_common_nodes_and_builtins): Set prototype
13813 parameters for __builtin_fputs, __builtin_fputc and
13814 __builtin_fwrite. Don't declare plain fputc as a builtin.
13815
13816 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
13817
13818 * loop.c (add_label_notes): Increment the label usage count when
13819 a note is added to an insn which refers to a CODE_LABEL.
13820 * gcse.c (add_label_notes): Likewise.
13821
13822 2001-01-01 Andreas Jaeger <aj@suse.de>
13823
13824 * loop.c (scan_loop): Use xmalloc to allocate movables.
13825
13826 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
13827
13828 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
13829 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
13830 * reload1.c (REGISTER_MOVE_COST): Likewise.
13831 * regclass.c (REGISTER_MOVE_COST): Likewise.
13832 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
13833 dimension. Adjust all users.
13834 (init_reg_sets_1): Iterate on all modes.
13835 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
13836 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
13837 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
13838 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
13839 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
13840 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
13841 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
13842 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
13843 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
13844 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
13845 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
13846 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
13847 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
13848 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
13849 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
13850 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
13851 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
13852 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
13853 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
13854 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
13855 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
13856 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
13857 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
13858 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
13859 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
13860 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
13861 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
13862
13863 2001-01-01 Bernd Schmidt <bernds@redhat.com>
13864
13865 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
13866 arg VARIES_P. Call it with extra arg.
13867 (true_dependence): Likewise.
13868 * rtl.h (rtx_addr_can_trap_p): Declare.
13869 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
13870 prototypes.
13871 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
13872 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
13873 pic offset table register if it's zero. All callers changed.
13874 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
13875
13876 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13877
13878 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
13879 STRING_POOL_ADDRESS_P.
13880
13881 * config/sparc/sparc.c (input_operand): Properly test for short op.
13882
13883 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
13884 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
13885 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
13886 * config/sparc/elf.h: No longer include sol2.h.
13887 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
13888 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
13889
13890 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
13891
13892 2001-01-01 Michael Hayes <mhayes@redhat.com>
13893
13894 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
13895 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
13896 (record_initial): Likewise.
13897 * unroll.c (copy_loop_body, loop_iterations): Likewise.
13898 (remap_split_bivs): Likewise.
13899
13900 2001-01-01 Michael Hayes <mhayes@redhat.com>
13901
13902 * loop.c (loop_ivs_free): New function.
13903 (strength_reduce): Break out from...
13904
13905 2001-01-01 Michael Hayes <mhayes@redhat.com>
13906
13907 * loop.h (struct iv): New.
13908 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
13909 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
13910 'reg_biv_class' fields with 'regs' and 'n_regs'.
13911 (struct ivs): Rename 'loop_iv_list' field to 'list'.
13912 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
13913 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
13914
13915 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
13916
13917 * resource.c (mark_referenced_resources): Abort() before
13918 attempting to mark a pseudo register.
13919 (mark_set_resources): Likewise.
13920
13921 2001-01-01 Michael Hayes <mhayes@redhat.com>
13922
13923 * loop.h (REG_IV_CLASS): New accessor macro.
13924 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
13925 * unroll.c (REG_IV_CLASS): Likewise.
13926
13927 See ChangeLog.4 for earlier changes.