* predict.def: Set hitrates according our experimental run.
[gcc.git] / gcc / ChangeLog
1 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
2
3 * predict.def: Set hitrates according our experimental run.
4
5 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
6
7 * i386.h (HARD_REGNO_RENAME_OK): New macro.
8
9 2001-08-08 H.J. Lu <hjl@gnu.org>
10
11 * config/mips/mips.c (mips_unique_section): New. Copied from
12 config/mips/elf.h.
13
14 * config/mips/mips-protos.h (mips_unique_section): New
15 prototype.
16
17 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
18
19 * config/mips/little.h: New. Generic little endian mips
20 targets. Only mips*-*-linux* is converted to use it so far.
21
22 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
23 (WCHAR_TYPE): Defined
24 (WCHAR_TYPE_SIZE): Likewise.
25 (INIT_SUBTARGET_OPTABS): Likewise.
26 (BSS_SECTION_ASM_OP): Likewise.
27 (SBSS_SECTION_ASM_OP): Likewise.
28 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
29 (ASM_DECLARE_OBJECT_NAME): Likewise.
30 (UNIQUE_SECTION): Likewise.
31 (EXTRA_SECTIONS): Likewise.
32 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
33 (ASM_OUTPUT_DESTRUCTOR): Likewise.
34 (ASM_OUTPUT_DEF): Likewise.
35 (HANDLE_SYSV_PRAGMA): Removed.
36 (NO_IMPLICIT_EXTERN_C): Likewise.
37 (TARGET_MEM_FUNCTIONS): Likewise.
38 (STARTFILE_SPEC): Likewise.
39 (ENDFILE_SPEC): Likewise.
40 (LIB_SPEC): Likewise.
41 (INVOKE__main): Likewise.
42 (CTOR_LIST_BEGIN): Likewise.
43 (CTOR_LIST_END): Likewise.
44 (DTOR_LIST_BEGIN): Likewise.
45 (DTOR_LIST_END): Likewise.
46 (SET_ASM_OP): Likewise.
47 (ASM_OUTPUT_SOURCE_LINE): Likewise.
48 (ASM_OUTPUT_DEF): Likewise.
49 (ASM_OUTPUT_IDENT): Likewise.
50
51 * config/mips/mips.h (ASM_SPEC): Undefine before define.
52 (CPLUSPLUS_CPP_SPEC): Likewise.
53 (ASM_APP_ON) Redefine only if not defined.
54 (ASM_APP_OFF): Likewise.
55 (ASM_OUTPUT_SOURCE_LINE): Likewise.
56 (ASM_OUTPUT_IDENT): Likewise.
57
58 * config.gcc: Update tm_file for Linux/mips.
59
60 2001-08-08 Bernd Schmidt <bernds@redhat.com>
61
62 * cselib.c (cselib_record_sets): If insn is predicated, turn
63 sources into IF_THEN_ELSEs.
64
65 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
66 Turn into define_insn_and_split.
67
68 * sched-deps.c: Include "cselib.h".
69 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
70 Use cselib to turn memory addresses into VALUEs.
71 (sched_analyze): Call cselib_init/cselib_finish if necessary.
72 * sched-int.h (struct sched_info): New member USE_CSELIB.
73 * sched-ebb.c (ebb_sched_info): Initialize it.
74 * sched-rgn.c (rgn_sched_info): Likewise.
75 * Makefile.in (sched-deps.o): Update dependencies.
76
77 * cselib.h (cselib_subst_to_values): Declare.
78 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
79 that have no value and autoincs to be handled by generating a new
80 dummy value.
81
82 2001-08-08 Graham Stott <grahams@redhat.com>
83
84 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
85 within fixed length SEQUENCE.
86
87 2001-08-08 Graham Stott <grahams@redhat.com>
88
89 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
90 (diagnostic_prefixing_rule): Likewise.
91 (diagnostic_line_cutoff): Likewise.
92 (diagnostic_kind_count): Likewise.
93
94 2001-08-08 Graham Stott <grahams@redhat.com>
95
96 * alias.c (find_base_decl): Delete redundent assignment.
97
98 2001-08-08 Graham Stott <grahams@redhat.com>
99
100 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
101 (abs): Uppercase and paranthesize macro parameter.
102 (MEM_DEPENDENCY): Add whitespace.
103
104 2001-08-08 Graham Stott <grahams@redhat.com>
105
106 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
107 failure check for CONST_INT
108
109 2001-08-08 Graham Stott <grahams@redhat.com>
110
111 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
112 (libcall_dead_p): Likewise.
113
114 (mark_used_regs): Constify fmt.
115 (find_use_as_address): Likewise.
116
117 2001-08-08 Graham Stott <grahams@redhat.com>
118
119 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
120 parameter.
121
122 2001-08-08 Graham Stott <grahams@redhat.com>
123
124 * combine.c (combine_simplify_rtx): Update comment and
125 remove erroneous test.
126
127 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
128
129 * cppinit.c (cpp_finish): Pop the final buffer without comment.
130 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
131 take care to avoid multiple no-newline at EOF warnings in that
132 case.
133
134 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
135
136 * calls.c (expand_call): Do not emit INSN_SETJMP note.
137 (emit_library_call_value_1): Likewise.
138 (emit_call_1): Emit REG_SETJMP note.
139 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
140 of INSN_SETJMP
141 * cselib.c (cselib_process_insn): Likewise.
142 * flow.c (propagate_block): Likewise.
143 * loop.c (find_and_verify_loops): Likewise.
144 * reload.c (find_equiv_regs): Likewise.
145 * reload1.c (reload): Likewise.
146 * resource.c (mark_referenced_resources,
147 mark_set_resources): Likewise.
148 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
149 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
150 * haifa-sched.c (unlink_other_notes): Likewise.
151 (reemit_notes): Likewise.
152 * sched-ebb.c (sched_ebb): Likewise.
153 * sched-rgc.c (sched_region): Likewise.
154 * rtl.c (note_insn_name): Likewise.
155 (reg_note_name): Add REG_SETJMP
156 * rtl.h (reg_note): Add REG_SETJMP.
157 (insn_note): Remove NOTE_INSN_SETJMP.
158
159 * profile.c (branch_prob): Add fake edges for setjmp.
160
161 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
162
163 * config.gcc: Quote target_cpu_default2 correctly for
164 powerpc*-*-* targets.
165
166 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
167
168 * cpplib.h, line-map.h: Update comments.
169 * cppmain.c (printer_init): Move inline.
170 (maybe_print_line, print_line): Take a map pointer.
171 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
172 (cb_file_change): Don't use prior value of print.map.
173
174 2001-08-07 David Edelsohn <edelsohn@gnu.org>
175
176 * doc/install.texi: Document fine-grained multilib configuration.
177
178 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
179
180 * rtlanal.c (find_first_parameter_load): Call note_stores
181 only on the instructions.
182
183 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
184
185 * alias.c (nonlocal_mentioned_p):
186 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
187 * calls.c (emit_call_1): Likewise.
188 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
189 * cselib.c (cselib_process_insn): Likewise.
190 * df.c (df_insns_modify): Likewise.
191 * flow.c (need_fake_edge_p): Likewise.
192 (propagate_one_insn): Likewise.
193 * haifa-sched.c (reemit_notes): Likewise.
194 * integrate.c (copy_insn_list): Likewise.
195 * jump.c (delete_prior_computation): Likewise.
196 * local-alloc.c (validate_equiv_mem): Likewise.
197 * loop.c (scan_loop): Likewise.
198 * predict.c (estimate_probability): Likewise.
199 * reload.c (reload): Likewise.
200 * sched-deps (sched_analyze): Likewise.
201 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
202 * gcse.c (compute_hash_table): Likewise.
203 (mark_call): Likewise.
204 (store_killed_in_insn): Likewise.
205
206 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
207
208 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
209
210 2001-08-06 Richard Henderson <rth@redhat.com>
211
212 * varasm.c (assemble_gc_entry): Remove.
213 * output.h: Likewise.
214
215 2001-08-06 Richard Henderson <rth@redhat.com>
216
217 * varasm.c (assemble_constructor): Take a symbol_ref and a
218 priority instead of a bare string. Move priority handling
219 here from cp/decl2.c.
220 * output.h: Update decls.
221
222 * c-decl.c (c_expand_body): Update calls to assemble_constructor
223 and assemble_destructor.
224 * profile.c (output_func_start_profiler): Likewise.
225 * objc/objc-act.c (finish_objc): Likewise.
226 (build_module_descriptor): Return the symbol not the symbol name.
227
228 2001-08-06 David Edelsohn <edelsohn@gnu.org>
229
230 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
231 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
232 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
233 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
234 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
235 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
236
237 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
238
239 * cpperror.c (print_containing_files): Moved to line-map.c.
240 (print_location): line-map.c handles re-listing or otherwise.
241 * cpphash.h (struct lexer_state): Remove next_bol.
242 (struct cpp_buffer): Remove include_stack_listed.
243 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
244 Remove faked buffer handling.
245 (_cpp_do_file_change): Tweak.
246 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
247 * cppmain.c (struct printer): Remove filename.
248 (print_line, cb_file_change): Update accordingly.
249 * line-map.c: Include intl.h.
250 (init_line_maps): Initialize last_listed.
251 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
252 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
253 (print_containing_files): New.
254 * line-map.h (struct line_maps): New member last_listed.
255 (print_containing_files, INCLUDED_FROM): New.
256 * Makefile.in: Update.
257 * po/POTFILES.in: Add line-map.c.
258
259 2001-08-06 Richard Henderson <rth@redhat.com>
260
261 * except.c (convert_from_eh_region_ranges_1): Never mark
262 USE or CLOBBER insns as throwing.
263
264 * expr.c (store_constructor): Don't clobber memory targets.
265
266 2001-08-06 Andreas Jaeger <aj@suse.de>
267
268 * profile.c (branch_prob): Remove unused variable insn.
269
270 * Makefile.in (local-alloc.o): Add dependency on except.h.
271
272 * local-alloc.c: Include except.h for can_throw_internal prototype.
273
274 2001-08-06 Richard Henderson <rth@redhat.com>
275
276 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
277 * function.c (expand_main_function): Implement it.
278 * doc/tm.texi: Document it.
279
280 2001-08-06 Stan Shebs <shebs@apple.com>
281
282 * doc/install.texi: Document powerpc-*-darwin* details.
283
284 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
285
286 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
287 (ASM_CPU_SPEC): Move back to rs6000.h
288 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
289
290 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
291
292 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
293 readded.
294
295 * config/rs6000/linux64.h: Ditto.
296
297 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
298 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
299 nothing.
300
301 Remove accidently readded definitions of FUNCTION_PROLOGUE,
302 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
303
304 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
305 to rs6000.h
306
307 2001-08-05 Richard Henderson <rth@redhat.com>
308
309 * local-alloc.c (update_equiv_regs): Do not move insns that
310 can throw.
311
312 2001-08-05 Jan Hubicka <jh@suse.cz>
313
314 * Makefile.in (reload1.o): Add dedendancy on except.h
315 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
316 prototypes.
317 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
318 indicating wehther edges has been cleaned up.
319 * reload1.c: Inlucde except.h
320 (fixup_abnormal_edges): Accept deleted insns.
321 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
322 after combine.
323
324 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
325
326 * cpplib.c (do_line): Correct line number after pop_buffer.
327
328 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
329
330 PR preprocessor/3824
331 * line-map.c: Update comments.
332 * line-map.h: Update comments.
333 * tradcif.y: Don't consider large numbers unsigned.
334
335 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
336
337 PR preprocessor/3081
338 * c-lex.c (map): New.
339 (cb_file_change): Update map and use it.
340 (cb_def_pragma, cb_define, cb_undef): Use map and line.
341 (c_lex): Update to use map.
342 * cpperror.c (print_location): Move to using logical line numbers.
343 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
344 (cpp_make_system_header): Similarly.
345 (_cpp_execute_include): Stop line numbering hacks. Store the
346 line we will return to.
347 * cpphash.h (CPP_BUF_LINE): Remove.
348 (struct cpp_buffer): Remove lineno and pseudo_newlines.
349 Add map and return_to_line.
350 (_cpp_do_file_change): Update.
351 * cppinit.c (cpp_start_read): Update line kludge.
352 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
353 (trigraph_ok): Use logical line numbers for diagnostics.
354 (skip_block_comment): Likewise.
355 (skip_whitespace): Likewise.
356 (skip_line_comment): Use pfile->line instead.
357 (_cpp_lex_token): Update to use logical line numbering exclusively.
358 Handle BOL locally. Accept new lines in directives, but keep
359 pfile->line decremented. Diagnostics use logical lines. Update
360 directive handling.
361 * cpplib.c (SEEN_EOL): New.
362 (skip_rest_of_line, check_eol): Use it.
363 (end_directive): Increase line number when accepting the newline
364 at the end of a directive.
365 (run_directive): Simplify.
366 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
367 (_cpp_do_file_change): Update to take buffer line number as an
368 argument, and store the current map in the cpp_reader. Remove
369 line number kludges.
370 (_cpp_do__Pragma): Restore output position after a _Pragma.
371 (cpp_push_buffer): Don't set output line or lineno.
372 (_cpp_pop_buffer): Transfer more info from a faked buffer.
373 Remove line kludge. Set output_line.
374 * cppmacro.c (builtin_macro): Update handling of __LINE__.
375 (parse_arg): Use logical lines.
376 (save_lookahead_token): Save EOFs too now.
377 * cppmain.c (struct printer): Fix comments.
378 (printer_init): Simplify, let caller do errors.
379 (scan_translation_unit, check_multiline_token, dump_macro): Update.
380 (maybe_print_line): Simplify.
381 (print_line): Don't print a linemarker if -P.
382 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
383 (cb_file_change): Simplify.
384 * line-map.h (LAST_SOURCE_LINE): Fix.
385 (CURRENT_LINE_MAP): New.
386
387 2001-08-05 Bernd Schmidt <bernds@redhat.com>
388
389 * doloop.c (doloop_modify_runtime): Properly compute number of
390 iterations if loop was unrolled.
391
392 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
393 if their CSELIB_VAL_PTRs are.
394
395 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
396 (setup_spill_pointers): Initialize it.
397 (spill_restore_mem): Set it.
398 (do_spill, do_restore): Use it to add REG_INC note.
399 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
400
401 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
402 asms if other insns are available.
403
404 * config/ia64/ia64.c (condop_operator): New predicate.
405 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
406 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
407 patterns.
408
409 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
410 temporary register than directly using a MEM.
411
412 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
413
414 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
415 parameter in last change.
416
417 2001-08-04 Zack Weinberg <zackw@panix.com>
418
419 * sparc.md: Don't use #if inside C test expression.
420
421 2001-08-04 Richard Henderson <rth@redhat.com>
422
423 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
424
425 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
426
427 * cpphash.h (struct cpp_reader): New member directive_line.
428 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
429 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
430 do_pragma): Pass line to callbacks.
431 (start_directive): Record line of directive.
432 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
433 cb_include): Similarly.
434 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
435 Similarly.
436
437 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
438
439 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
440 comment.
441
442 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
443
444 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
445
446 * reload1.c (fixup_abnormal_edges): New static function.
447 (reload): Use it.
448
449 * flow.c (need_fake_edge_p): New function.
450 (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
451 avoid call insn to be very last insn in the insn stream.
452
453 * profile.c (branch_prob): Call flow_call_edges_add instead of
454 doing that by hand; cleanup cfg to re-merge basic blocks once
455 we are done.
456
457 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
458
459 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
460 are also on line-map.h.
461 * cppfiles.c (stack_include_file): Update.
462 * cpphash.h (struct cpp_buffer): New member return_at_eof.
463 (_cpp_pop_buffer): New.
464 * cppinit.c (cpp_destroy, cpp_finish): Update.
465 (do_includes): Mark each buffer to return at EOF.
466 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
467 return as requested.
468 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
469 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
470 * cpplib.h (cpp_pop_buffer): Remove.
471 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
472 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
473 buffers.
474 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
475 to pop buffers.
476 (do_preprocessing): Update.
477 * fix-header.c (read_scan_file): Update. No need to pop buffers.
478 * c-parse.in (_yylex): Similarly.
479 * scan-decls.c (scan_decls): Similarly.
480 * line-map.h: Update comments.
481
482 * objc/Make-lang.in (objc-act.o): Update dependencies.
483
484 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
485
486 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
487 and soft register for operand 0.
488 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
489
490 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
491
492 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
493 register for operand 0.
494 ("bitcmpqi_z_used"): Allow memory for operand 0.
495 (split "bitcmpqi"): New split to handle address reg as operand 1.
496
497 2001-08-04 Andreas Jaeger <aj@suse.de>
498
499 * gcse.c: Revert Daniel's last patch.
500
501 2001-08-03 Zack Weinberg <zackw@stanford.edu>
502
503 * sparc-protos.h: Add prototypes for fp_zero_operand and
504 reg_or_0_operand.
505 * sh-protos.h: Add prototype for fpul_operand.
506
507 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
508
509 * doc/extend.texi (Other Builtins): Fix typo in last change.
510
511 2001-08-03 Richard Henderson <rth@redhat.com>
512
513 * target.h (gcc_target): Add asm_out.named_section,
514 section_type_flags, have_named_sections.
515 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
516 (TARGET_HAVE_NAMED_SECTIONS): New.
517 (TARGET_SECTION_TYPE_FLAGS): New.
518
519 * Makefile.in (toplev.o): Depend on TARGET_H.
520 (varasm.o, dbxout.o): Likewise.
521 * c-common.c (decl_attributes): Check targetm.have_named_sections
522 instead of ifdef ASM_OUTPUT_SECTION_NAME.
523 * dbxout.c (dbxout_function_decl): Likewise.
524 (dbxout_function_end): Likewise.
525 * toplev.c (compile_file): Likewise.
526 * varasm.c (exception_section): Likewise.
527 * cp/decl2.c (finish_objects): Likewise.
528
529 * defaults.h (EH_FRAME_SECTION): Remove.
530 (EH_FRAME_SECTION_ASM_OP): Remove.
531 (EH_FRAME_SECTION_NAME): New.
532 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
533 (UNIQUE_SECTION_P): Remove.
534 * dwarf2out.c (SECTION_FORMAT): Remove.
535 (ASM_OUTPUT_SECTION): Remove.
536 (output_call_frame_info): Use named_section_flags.
537 (output_comp_unit, dwarf2out_start_source_file): Likewise.
538 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
539 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
540 * varasm.c (in_eh_frame, eh_frame_section): Remove.
541 (named_section_flags): New.
542 (named_section): Use it and targetm.section_type_flags.
543 (resolve_unique_section): New.
544 (assemble_start_function): Use it.
545 (asm_emit_uninitialised, assemble_variable): Likewise.
546 (default_section_type_flags): New.
547 (default_no_named_section, default_elf_asm_named_section): New.
548 (default_coff_asm_named_section, default_pe_asm_named_section): New.
549 * output.h: Update varasm.c decls.
550 (SECTION_*): New flags.
551
552 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
553 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
554
555 * config/elfos.h (UNIQUE_SECTION_P): Remove.
556 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
557 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
558 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
559 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
560 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
561 * config/mips/elf.h, config/mips/elf64.h: Likewise.
562 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
563 * config/pa/pa64-hpux.h,
564
565 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
566 (TARGET_ASM_NAMED_SECTION): New.
567 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
568 * config/alpha/vms.h, config/arm/coff.h: Likewise.
569 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
570 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
571 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
572 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
573 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
574 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
575 * config/i386/sco5.h, config/i386/win32.h: Likewise.
576 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
577 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
578 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
579 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
580 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
581 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
582 * config/sparc/sysv4.h: Likewise.
583
584 * config/nextstep.h: Error until named sections implemented.
585
586 * config/a29k/a29k.c (a29k_asm_named_section): New.
587 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
588 (vms_section_type_flags, vms_asm_named_section): New.
589 * config/arm/arm.c (arm_elf_asm_named_section): New.
590 * config/avr/avr.c (asm_output_section_name): Remove.
591 * config/avr/avr-protos.h: Update.
592 * config/c4x/c4x.c (c4x_asm_named_section): New.
593 * config/h8300/h8300.c (h8300_asm_named_section): New.
594 * config/i386/i386.c (sco_asm_named_section): New.
595 * config/i386/winnt.c (SECTION_PE_SHARED): New.
596 (i386_pe_section_type_flags): New.
597 (i386_pe_asm_named_section): New.
598 * config/i386/i386-protos.h: Update.
599 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
600 * config/mcore/mcore.c (mcore_asm_named_section): New.
601 * config/mips/mips.c (iris6_asm_named_section): New.
602 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
603 instead of UNIQUE_SECTION_P.
604 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
605 (xcoff_asm_named_section): New.
606 * config/sh/sh.c (sh_asm_named_section): New.
607 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
608
609 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
610 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
611 (EH_FRAME_SECTION_NAME): New.
612 (EXCEPTION_SECTION): New.
613 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
614 (DEBUG_*_SECTION): Remove.
615 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
616 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
617 (EH_FRAME_SECTION_ASM_OP): Remove.
618
619 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
620 (ASM_OUTPUT_SECTION_NAME): Remove.
621 (TARGET_ASM_NAMED_SECTION): New.
622 (TARGET_HAVE_NAMED_SECTIONS): New.
623 (TARGET_SECTION_TYPE_FLAGS): New.
624 (EH_FRAME_SECTION_ASM_OP): Remove.
625 (EH_FRAME_SECTION_NAME): New.
626
627 2001-08-03 Zack Weinberg <zackw@stanford.edu>
628
629 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
630 for complex expressions when cfun == 0.
631 * doc/extend.texi: Document that __builtin_constant_p can be
632 used in data initializers as well as functions.
633
634 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
635
636 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
637 variable I locally, instead of expecting a declaration in the
638 calling context.
639
640 2001-08-03 Richard Henderson <rth@redhat.com>
641
642 * except.c (collect_one_action_chain): Add an explicit cleanup
643 action if regions surrounding a catch were encoded entirely
644 within the call-site entry.
645
646 2001-08-03 Richard Henderson <rth@redhat.com>
647
648 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
649 don't take REGNO of a non-register.
650
651 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
652
653 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
654 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
655 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
656 (__gthread_mutex_init_function): New function for mutex initialization.
657
658 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
659
660 * Makefile.in: Revert screwed up commit.
661
662 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
663
664 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
665 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
666 merged by linker script to get a final _exit().
667 (__do_global_dtors): New for destructor handling in specific exit
668 section.
669 (__do_global_ctors): New for constructors in specific install section.
670 (__map_data_section): Map data sections before running constructors.
671 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
672 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
673 (DTORS_SECTION_ASM_OP): Likewise.
674 (CTORS_SECTION_FUNCTION): Define to force a reference to
675 __do_global_ctors.
676 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
677
678 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
679
680 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
681
682 * Makefile.in: Add df.h to gcse.c dependencies.
683
684 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
685
686 * varasm.c (output_constant_def_contents): Use for the length of a
687 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
688 depending on which is larger.
689
690 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
691
692 * gcse.c: Include df.h for use as a dataflow analyzer.
693 Remove regvec.
694 Declaration of reg_set_info: gone.
695 New df_analyzer variable used by store motion.
696 (reg_set_info): Deleted.
697 (mark_mem_regs): New function, analyze regs used by a mem.
698 (store_ops_ok): Use dataflow analyzer results to determine if
699 necessary regs are changed in the block.
700 (find_moveable_store): Remove check for symbol ref, we can handle
701 much more complex expressions now.
702 (compute_store_table): Remove most of the code, it's unnecessary
703 now that the dataflow analyzer records the info for us.
704 (store_killed_after): Add parameter to say whether to do the
705 store_ops_okay test, used to speed up testing when we already know
706 the answer, and just want to know if the store itself was killed.
707 (build_store_vector): Largely rewritten to calculate the various
708 vectors properly, and somewhat optimized.
709 (store_motion): Init the df_analyzer, get REG_DEF chains.
710 Also handle trapping expressions (since mems almost always trap)
711 (simple_mem): Redefine what a simple mem is.
712
713 2001-08-03 DJ Delorie <dj@redhat.com>
714
715 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
716 set from a constant part of the condition.
717
718 2001-08-01 Andrew Cagney <ac131313@redhat.com>
719
720 * mkdeps.c (deps_add_default_target): Make local variable
721 ``start'' a const char pointer.
722 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
723
724 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
725
726 * doc/install.texi (Configuration): Fix markup.
727 (Specific, i?86-*-udk): Likewise.
728 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
729 --with-gnu-ld.
730 Document --enable-threads and --enable-libgcj status.
731 (Specific, mips-sgi-irix*): Canonicalize triples.
732 (Specific, mips-sgi-irix5): Warn about problems with this config.
733 Mention required GNU as patch.
734 Native assembler problems are fixed.
735 (Specific, mips-sgi-irix6): Update O32 ABI support status.
736 Document --enable-threads and --enable-libgcj status.
737
738 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
739
740 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
741 of mkinstalldirs.
742
743 2001-08-03 Richard Henderson <rth@redhat.com>
744
745 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
746 constant data.
747
748 2001-08-03 Richard Henderson <rth@redhat.com>
749
750 * rtlanal.c (find_first_parameter_load): Stop if we
751 reach a CODE_LABEL at BOUNDARY.
752
753 2001-08-03 Richard Henderson <rth@redhat.com>
754
755 * config/alpha/alpha.md (force_movdi): New insn.
756 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
757 Tweek FRP marking of VMS prologue insns.
758 * config/alpha/vms.h (EPILOGUE_USES): New.
759
760 2001-08-02 Richard Henderson <rth@redhat.com>
761
762 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
763
764 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
765
766 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
767 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
768 config/convex/convex.h, config/d30v/d30v.c,
769 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
770 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
771 config/mips/mips.h, config/mn10200/mn10200.h,
772 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
773 config/v850/v850.h, config/vax/openbsd.h,
774 config/vax/openbsd1.h, config/vax/ultrix.h,
775 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
776 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
777 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
778 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
779 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
780 in comments and documentation.
781
782 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
783
784 * line-map.c: New.
785 * line-map.h: New.
786 * Makefile.in (line-map.o): New.
787 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
788 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
789 * cpperror.c (print_containing_files): Similarly.
790 (print_location): Update. Don't output a space before _Pragma.
791 * cppfiles.c (stack_include_file): Set to line 1 immediately.
792 (stack_include_filee, cpp_make_system_header): Update.
793 (_cpp_execute_include): Get logical line number right for calling
794 as-yet-unterminated #include.
795 * cpphash.h (struct cpp_reader): Add line_maps.
796 (_cpp_do_file_change): Update.
797 * cppinit.c (cpp_create_reader): Initialize line maps.
798 (cpp_destroy): Destroy line maps.
799 (cpp_start_read): Get logical line number right.
800 * cpplex.c (parse_string): Only warn once for multi-line strings.
801 Use boolean variable for null warning.
802 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
803 already.
804 (do_include_common): End the directive early.
805 (do_line): Don't warn about out-of-range lines in preprocessed
806 source. Update. Remove unused variables.
807 (_cpp_do_file_change): Update for new line mapping.
808 (pragma_cb): New typedef.
809 (cpp_register_pragma): Stop looking ahead before calling the
810 handler. Clean up.
811 (do_pragma_system_header): End directive early.
812 (cpp_get_line_maps): New.
813 (cpp_pop_buffer): Fudge logical line. Update.
814 * cpplib.h: Include line-map.h
815 (enum cpp_fc_reason): Remove.
816 (struct cpp_file_change): Update.
817 (cpp_get_line_maps): New.
818 * cppmain.c (struct_printer): New member map.
819 (cb_file_change): Update for new mappings.
820 * fix-header.c (cb_file_change): Similarly.
821
822 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
823
824 * Makefile.in (libgcc.mk): Define mkinstalldirs.
825 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
826
827 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
828
829 * config/vax/vax.c: include expr.h.
830
831 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
832
833 * Makefile.in ($(srcdir)/configure): Only rebuild in
834 maintainer mode.
835 ($(srcdir)/config.in): Only define in maintainer mode.
836 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
837
838 2001-08-02 David Edelsohn <edelsohn@gnu.org>
839
840 * doc/install.texi (Install GCC: Binaries): Update Bull info.
841
842 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
843
844 * gcc.c (set_collect_gcc_options): New function, split out from
845 main.
846 Ignore elided switches.
847 (do_spec_1): Invoke before executing command.
848 (set_input): Export.
849 Move declaration ...
850 * gcc.h (set_input): ... here.
851 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
852 file.
853
854 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
855
856 Kill -fhonor-std.
857 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
858 interaction.
859 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
860
861 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
862
863 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
864 for the unnamed instructions it expands to.
865
866 2001-08-02 Richard Henderson <rth@redhat.com>
867
868 * regclass.c (call_really_used_regs): Conditionally define.
869 (init_reg_sets_1): Don't use it if not defined.
870 (fix_register): Similarly, don't set it.
871
872 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
873
874 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
875 Correct comment that had been missed in the previous change.
876
877 2001-08-01 Stan Shebs <shebs@apple.com>
878
879 * config/darwin.c (machopic_stub_name): Try matching by name.
880 (update_stubs): New function.
881 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
882 unconditionally.
883
884 2001-08-01 Richard Henderson <rth@redhat.com>
885
886 * except.c (output_function_exception_table): Use assemble_align.
887 * varasm.c (assemble_eh_label): Remove.
888 (assemble_eh_align, assemble_eh_integer): Remove.
889
890 2001-08-01 Robert Lipe <robertl@caldera.com>
891
892 * dwarfout.c: Remove reference to README.DWARF.
893
894 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
895
896 * regclass.c (call_really_used_regs): New array for registers which
897 are actually used by a call.
898 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
899 new array.
900 (fix_register): Set call_really_used too.
901 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
902 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
903
904 2001-08-01 Richard Henderson <rth@redhat.com>
905
906 * read-rtl.c (read_name): Consider \r whitespace.
907
908 2001-07-11 Andrew Cagney <ac131313@redhat.com>
909
910 * config.gcc: Recognize powerpc-*-netbsd*.
911
912 * doc/install.texi (Host/target specific installation notes for
913 GCC): Mention powerpc-*-netbsd*.
914
915 * config/rs6000/netbsd.h: New file.
916 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
917 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
918 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
919 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
920 (TARGET_VERSION): Redefine.
921
922 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
923 mcall-netbsd as a match for mcall-sysv.
924 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
925 (ncrti.S, ncrtn.S): New targets.
926 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
927
928 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
929 "netbsd' as a V4 ABI.
930 (ASM_SPEC): Check for -mcall-netbsd.
931 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
932 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
933 (LIB_SPEC, ENDFILE_SPEC): Ditto.
934 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
935 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
936 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
937 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
938
939 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
940 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
941
942 2001-08-01 Mark Kettenis <kettenis@gnu.org>
943
944 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
945 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
946 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
947 including "unwind-pe.h".
948
949 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
950
951 * rs6000.md (define_splits): Kill unused constraints.
952
953 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
954 Jan Hubicka <jh@suse.cz>
955
956 * function.c (thread_prologue_and_epilogue_insns): Kill code
957 dealing with non-existent CFG.
958
959 2001-08-01 Kazu Hirata <kazu@hxi.com>
960
961 * alias.c: Fix comment formatting.
962 * bitmap.c: Likewise.
963 * builtins.c: Likewise.
964 * calls.c: Likewise.
965 * c-common.c: Likewise.
966 * c-decl.c: Likewise.
967 * c-dump.c: Likewise.
968 * c-lex.c: Likewise.
969 * collect2.c: Likewise.
970 * combine.c: Likewise.
971 * conflict.c: Likewise.
972 * cppfiles.c: Likewise.
973 * cppinit.c: Likewise.
974 * cpplex.c: Likewise.
975 * cpplib.c: Likewise.
976 * cppmacro.c: Likewise.
977 * cppspec.c: Likewise.
978 * c-pragma.c: Likewise.
979 * crtstuff.c: Likewise.
980 * cse.c: Likewise.
981 * cselib.c: Likewise.
982 * c-semantics.c: Likewise.
983 * c-typeck.c: Likewise.
984
985 2001-08-01 H.J. Lu <hjl@gnu.org>
986
987 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
988
989 2001-08-01 H.J. Lu <hjl@gnu.org>
990
991 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
992
993 2001-08-01 Ziemowit Laski <zlaski@apple.com>
994
995 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
996 contextualizing Objective-C class name lookup by the lexer.
997 (typespec_reserved_nonattr): Disable ObjC class name lookup after
998 seeing a TYPESPEC.
999 (protocoldef): Add support for forward @protocol declarations.
1000 (yylexname): Suppress ObjC class name lookup in certain contexts;
1001 re-enable after lookup is complete.
1002 (_yylex): Re-enable ObjC class name lookup when certain
1003 punctuation marks are seen.
1004
1005 * objc/objc-act.c (check_protocol_recursively): New function used
1006 for finding circular dependencies in protocols.
1007 (objc_declare_protocols): New function for handling forward
1008 @protocol declarations.
1009 (receiver_is_class_object): Detect the case when 'self' is used
1010 inside of a class method.
1011 (build_message_expr): Issue a warning if class method is desired
1012 but instance method is found instead.
1013 (conforms_to_protocol): Streamline.
1014 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
1015 protocol Foo, even if 'Bar foo' does not.
1016 (check_protocols): Streamline.
1017 (start_protocol): Add checks for circular and duplicate protocol
1018 definitions.
1019 (encode_aggregate_within): For typedefs of structs, encode the
1020 underlying struct.
1021 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
1022 (objc_declare_protocols): New prototype.
1023
1024 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1025
1026 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
1027 * cpplex.c (handle_newline): Update prototype. Maintain logical
1028 line number.
1029 (skip_escaped_newlines, skip_block_comment, parse_string):
1030 Update accordingly.
1031 (_cpp_lex_token): Update, and store token position within the token.
1032 * cpplib.h (struct cpp_token): Add line and column entries.
1033 * cppmacro.c (replace_args): Position stringified tokens correctly.
1034
1035 2001-08-01 Andreas Jaeger <aj@suse.de>
1036
1037 * basic-block.h: Add prototype for last_loop_beg_note.
1038
1039 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
1040
1041 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
1042 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
1043 comment.
1044 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
1045 while handling WITH_CLEANUP_EXPR node. Use second operand calling
1046 expand_decl_cleanup.
1047 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
1048 the first RTX.
1049 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
1050 operand while calling simple_cst_equal.
1051 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
1052 operand is the cleanup expression, the third is the RTL_EXPR.
1053 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
1054
1055 2001-07-31 Jeff Sturm <jsturm@one-point.com>
1056
1057 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
1058
1059 2001-07-31 matthew green <mrg@eterna.com.au>
1060
1061 * config.gcc (i386-*-netbsdelf): New description.
1062 * config/i386/netbsd-elf.h: New file.
1063
1064 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
1065
1066 * loop.c (check_dbra_loop): Use single_set to compute
1067 jump_label.
1068
1069 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
1070
1071 PowerPC reorg and support for powerpc64-*-linux*.
1072
1073 Also fixes emitting of constants on 32 bit and 64 bit
1074 platforms.
1075
1076 * config.gcc: powerpc64-*-linux* is a new target.
1077 Things that needed aix.h now also include xcoff.h
1078
1079 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
1080 xcoff.h.
1081 Move AIX specific stuff into aix.h.
1082 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
1083 with more than just XCOFF now.
1084 (SET_ASM_OP): Remove, now defined where needed.
1085 (FUNCTION_PROLOGUE): New macro definition.
1086 (FUNCTION_EPILOGUE): New macro definition.
1087 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
1088
1089 * config/rs6000/xcoff.h: New file.
1090
1091 * config/rs6000/linux64.h: New file.
1092
1093 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
1094
1095 2001-07-31 Alan Modra <amodra@bigpond.net.au>
1096
1097 * rs6000.c (print_operand_address): Handle ELF syntax.
1098 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
1099 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
1100 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
1101
1102 2001-07-31 David Edelsohn <edelsohn@gnu.org>
1103
1104 * rs6000.c (rs6000_override_options): Only disable
1105 flag_function_sections for XCOFF.
1106 (exact_log2_cint_operand): New predicate.
1107 (reg_or_{add,sub}_cint64_operand): New predicates.
1108 (add_operand): Compare CONST_INT with fewer function calls.
1109 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
1110 (print_operand, case 'p'): Ensure positive operand.
1111 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
1112 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
1113 (PREDICATE_CODES): Add new predicates.
1114 * rs6000.md (addsi3): Split 32-bit constants more correctly.
1115 (divsi3, modsi3): Ensure positive power-of-2.
1116 (adddi3): Use new predicate. Split 32-bit constants more
1117 correctly. Re-arrange splitter to handle any constant.
1118 (subdi3): Use new predicate.
1119 (divdi3, moddi3): Ensure positive power-of-2.
1120 (movdi): Use rs6000_emit_set_const.
1121 (load_toc_v4_pic_di): Delete.
1122
1123 2001-07-31 Graham Stott <grahams@redhat.com>
1124
1125 * function.c (pad_below): Revert 2001-07-26 patch.
1126
1127 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
1128
1129 * reg-stack (convert_regs_1): Fix best edge condition.
1130
1131 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
1132
1133 * jump.c (duplicate_loop_exit_test): Better test for jumps
1134 entering the loop; create loop pre_header.
1135
1136 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
1137
1138 * doc/install.texi: Add s390 and s390x as new targets.
1139 * doc/invoke.texi: Add documantation of S/390 and zSeries
1140 target options.
1141 * doc/md.texi: Add documantation of S/390 and zSeries constraints.
1142
1143 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
1144
1145 * config/m68k/m68k.md: Replace all general_operand with
1146 nonimmediate_operand for all destinations.
1147 * config/m68k/m68k.c (not_sp_operand): Likewise.
1148
1149 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
1150
1151 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
1152
1153 2001-07-30 Richard Henderson <rth@redhat.com>
1154
1155 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
1156 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
1157
1158 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
1159
1160 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
1161 Add missing doc strings
1162 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
1163 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
1164
1165 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
1166
1167 * i386.c (ix86_output_main_function_alignment_hack): New function.
1168 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
1169
1170 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
1171 edges by EDGE_DFS_BACK flag.
1172 (dump_edge_info): Add dfs_back flag.
1173 * basic-block.h (EDGE_DFS_BACK): New constant.
1174 (mark_dfs_back_edges): Declare.
1175 * alias.c (loop_p): Remove.
1176 (mark_constant_function): Use mark_dfs_back_edges.
1177
1178 * reg-stack.c (block_info_def): Add predecesors counter and stack_out.
1179 (reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
1180 (compensate_edge): Break out from ...
1181 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
1182 (convert_regs_2): Set block_done once block is really done;
1183 Do updating of the predecesors counts.
1184
1185 * toplev.c (rest_of_compilation): Recompute block_for_insn
1186 before post-reload cfg_cleanup.
1187 * function.c (thread_prologue_epilogue_insns):
1188 Call set_block_for_new_insns when emitting prologue directly.
1189
1190 2001-07-30 Andreas Jaeger <aj@suse.de>
1191
1192 * jump.c: Add prototype for mark_modified_reg.
1193
1194 * cse.c (set_live_p): Add unused attribute.
1195
1196 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
1197 overflow.
1198 (scan_for_source_files): Use long for count to avoid overflow.
1199 (output_data): Likewise.
1200 (output_data): Don't use string concatatenation to silence gcc
1201 -traditional.
1202
1203 * predict.c: Fix typos and grammar.
1204
1205 * gcse.c (insert_insn_end_bb): Remove unused variables.
1206
1207 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
1208
1209 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
1210 (attempt_auto_inc): LIkewise.
1211 (mark_used_reg): Likewise.
1212 (try_pre_increment_1): Likewise.
1213 * regclass.c (regclass): Likewise.
1214 * global.c (allocno_compare): Update comment; change scaling factor.
1215 * local-alloc.c (QTY_CMP_PRI): Likewise.
1216 * regs.h (REG_FREQ_FROM_BB): New.
1217 (REG_FREQ_MAX): Likewise.
1218
1219 2001-07-30 H.J. Lu <hjl@gnu.org>
1220
1221 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
1222 -D_GNU_SOURCE.
1223
1224 2001-07-30 H.J. Lu (hjl@gnu.org)
1225
1226 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
1227 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
1228 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
1229
1230 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1231
1232 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
1233 as -mthumb-interwork when -mcpu=arm7 is specified.
1234
1235 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
1236
1237 * predict.def (noreturn, loop branch, loop exit): Mark as first
1238 match heuristics.
1239
1240 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
1241
1242 * combine.c (try_combine): Avoid barrier after noop jumps.
1243
1244 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1245
1246 * cpphash.h (struct cpp_reader): Remove import_warning.
1247 * cpplib.c (skip_rest_of_line): Don't bother turning off
1248 macro expansion.
1249 (parse_include): Move include handling to...
1250 (do_include_common): ... here. Move import warning from...
1251 (do_import): ... here.
1252 (do_pragma_poison): Don't do a callback for poison identifiers.
1253 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
1254 * cppmain.c (setup_callbacks): Similarly.
1255
1256 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
1257
1258 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
1259 handle multiple sets.
1260 * except.c (sjlj_mark_call_sites): .... here.
1261 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
1262
1263 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
1264
1265 Suggested by Richard Henderson and Richard Kenner:
1266 * combine.c (recog_for_combine): Use the fake recog
1267 only if instruction does not match.
1268 * rtl.h (NOOP_MOVE_INSN_CODE): New.
1269 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
1270
1271 * combine.c (try_combine): Discover noop jump as direct jump.
1272
1273 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
1274
1275 * df.c (df_rd_global_compute): Add successors to worklist, not
1276 current item.
1277 (df_ru_global_compute): Ditto.
1278
1279 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
1280
1281 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
1282 increment REG_N_SETS.
1283
1284 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
1285
1286 * sbitmap.h: New prototype for sbitmap_a_xor_b.
1287
1288 * sbitmap.c (sbitmap_a_xor_b): New function.
1289 ifdef the basic block stuff on IN_GCC.
1290
1291 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1292
1293 * cppexp.c (parse_defined): Always record the macro name.
1294 (lex): Don't worry about identifiers, or special-case
1295 CPP_NOT here.
1296 (_cpp_parse_expr): Figure out at the end of the routine
1297 whether we saw a valid !defined() expression.
1298 * cppfiles.c (stack_include_file): Update for mi_valid.
1299 (_cpp_pop_file_buffer): Similarly.
1300 * cpplex.c (_cpp_lex_token): Similarly.
1301 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
1302 mi_if_not_defined, mi_lexed): Remove.
1303 (mi_valid): New.
1304 * cpplib.c (do_if): Simplify.
1305 (do_endif, push_conditional, _cpp_handle_directive): Update
1306 for renaming of mi_state to mi_valid.
1307 doc:
1308 * cpp.texi: Add index entries for digraphs, and add comment
1309 that C++ refers to them as alternative tokens.
1310
1311 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
1312
1313 * basic-block.h (CLEANUP_PRE_LOOP): New.
1314 * except.c (finish_eh_generation): Update call of cleanup_cfg.
1315 * sibcall.c (optimize_sibling_calls): Likewise.
1316 * toplev.c (rest_of_compilation): Likewise.
1317 * flow.c (try_forward_edges): Take argument MODE;
1318 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
1319 (try_optimize_cfg): Update call of try_forward_edges.
1320
1321 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
1322 Jan Hubicka <jh@suse.cz>
1323
1324 * (validate_replace_rtx_1): Fix simplification of MINUS.
1325
1326 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
1327
1328 PR preprocessor/3669
1329 * cppinit.c (init_dependency_output): Turn off dump requests
1330 if sending dependencies to stdout.
1331
1332 2001-07-28 Richard Henderson <rth@redhat.com>
1333
1334 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
1335 not optimizing.
1336
1337 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
1338
1339 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
1340
1341 2001-07-28 Kazu Hirata <kazu@hxi.com>
1342
1343 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
1344 is VAR_DECL first to prevent an ICE.
1345
1346 2001-07-28 Richard Henderson <rth@redhat.com>
1347
1348 * varasm.c (immed_real_const_1): Don't elide special cases for
1349 nested functions.
1350 (clear_const_double_mem): Clear const_tiny_rtx too.
1351
1352 2001-07-28 Richard Henderson <rth@redhat.com>
1353
1354 * dwarf2out.c (dw_val_class_offset): New.
1355 (struct dw_ranges_struct, dw_ranges_ref): New.
1356 (ranges_table, ranges_table_allocated): New.
1357 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
1358 (add_AT_offset, add_ranges, output_ranges): New.
1359 (print_die, output_die): Handle dw_val_class_offset.
1360 (attr_checksum, size_of_die, value_format): Likewise.
1361 (gen_lexical_block_die): Handle non-contiguous blocks.
1362 (gen_block_die): Likewise.
1363 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
1364 if needed. Dump the ranges table.
1365 * final.c (final_start_function): Remove unnecessary notes and
1366 rebuild the block tree before numbering the blocks.
1367 * function.c (reorder_blocks_0): Walk the existing block tree
1368 to unmark all blocks.
1369 (reorder_blocks_1): Create block fragments when duplicate block
1370 notes are seen.
1371 (reorder_fix_fragments): New.
1372 (reorder_blocks): Call it.
1373 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
1374
1375 2001-07-28 Richard Henderson <rth@redhat.com>
1376
1377 * emit-rtl.c (adjust_address): Make a copy of the memory address.
1378
1379 2001-07-28 Richard Henderson <rth@redhat.com>
1380
1381 * flow.c (add_to_mem_set_list): New function.
1382 (init_propagate_block_info): Use it.
1383 (mark_set_1): Likewise.
1384 (insn_dead_p): Canonicalize memory address for dead store
1385 comparison. Allow wider mode stores to kill narrower mode stores.
1386 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
1387 (invalidate_mems_from_set): Don't handle MEMs.
1388
1389 2001-07-28 Kazu Hirata <kazu@hxi.com>
1390
1391 * config/h8300/h8300.h: Fix formatting.
1392
1393 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
1394
1395 * basic-block.h (EDGE_FREQUENCY): New macro.
1396 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
1397 for new BB/edges.
1398 * flow.c (find_sub_basic_blocks): Likewise.
1399 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
1400 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
1401
1402 * predict.c (DEF_PREDICTOR): New argument FLAGS.
1403 (HITRATE): New macro.
1404 (PRED_FLAG_FIRST_MATCH): New constant.
1405 (predictor_info): New field flgags.
1406 (combine_predictions_for_insn): Use DS theory to combine
1407 probabilities; set the edge probabilities when finished.
1408 (estimate_probability): Avoid duplicated matches
1409 of LOOP_BRANCH heuristics for nested loops; update comment.
1410 * predict.def: Add flags for each prediction, set probabilities
1411 according to B&L paper.
1412 * predict.h (DEF_PREDICTOR): New argument FLAGS.
1413
1414 * profile.c (compute_branch_probabilities): Cleanup way the edge
1415 probabilities are computed and REG_BR_PROB notes are dropped; if
1416 values does not match, emit error.
1417 (init_branch_prob): Do error instead of warning when profile driven
1418 feedback is missing or corrupt.
1419
1420 2001-07-27 DJ Delorie <dj@redhat.com>
1421
1422 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
1423 against a constant, try to adjust the compare to have the desired
1424 constant in it so that min/max optimizations happen more often.
1425
1426 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
1427
1428 * flow.c (last_loop_beg_note): New function.
1429 (redirect_edge_and_branch): Use it.
1430 (split_edge): Likewise.
1431
1432 * alias.c (loop_p): Avoid uninitialized memory access.
1433
1434 * flow.c (try_forward_edges): Avoid accessing freed memory.
1435
1436 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
1437 variable access.
1438
1439 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1440
1441 * doc/install.texi (Configuration): Properly link the host
1442 specific instructions also when generating HTML.
1443
1444 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
1445
1446 * flow.c (redirect_edge_and_branch_force): Test
1447 target->global_live_at_start.
1448
1449 2001-07-26 Richard Henderson <rth@redhat.com>
1450
1451 * simplify-rtx.c (avoid_constant_pool_reference): Export.
1452 * rtl.h (avoid_constant_pool_reference): Declare it.
1453 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
1454 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
1455
1456 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
1457
1458 * rtl.h (cleanup_barriers): Declare.
1459 * jump.c (cleanup_barriers): New function.
1460 * toplev.c (rest_of_compilation): Call cleanup_barriers
1461 before loop optimizer and after bb_reorder.
1462
1463 * flow.c (back_edge_of_syntactic_loop_p): New.
1464 (split_edge): Use it.
1465
1466 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1467
1468 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
1469
1470 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
1471
1472 * cse.c (cse_process_notes): Replace any registers if the address
1473 remains valid.
1474
1475 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
1476
1477 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
1478 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
1479 (propagate_block): Update prototype.
1480 * flow.c (update_life_info): Simplify the CFG and
1481 recalculate the global regs which are alive when
1482 removing dead code during a global update.
1483 (propagate_block): Return non-zero if an INSN is
1484 deleted.
1485
1486 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1487
1488 * Makefile.in (LIBICONV): Define.
1489
1490 2001-07-26 Catherine Moore <clm@redhat.com>
1491
1492 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
1493 of conditional to avoid tree checking errors.
1494
1495 2001-07-26 Kazu Hirata <kazu@hxi.com>
1496
1497 * regmove.c (regmove_optimize): Don't replace a reg with
1498 another reg of a different mode.
1499
1500 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
1501
1502 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
1503 limit length of dependancy flush list.
1504 * params.h (MAX_PENDING_LIST_LENGTH): Define.
1505 * sched-int.h (struct deps): Add pending_flush_length field.
1506 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
1507 has 1 element in it.
1508 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
1509 (sched_analyze): After a jump, if the pending memory flush list is too
1510 large, flush the pending lists.
1511 (init_deps): Initialize pending_flush_length to 0.
1512 * doc/invoke.texi (max_pending_list_length): Document parameter.
1513
1514 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
1515
1516 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
1517 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
1518 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
1519
1520 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1521
1522 * cpphash.h (struct_lexer_state): Delete was_skipping.
1523 Move skipping here from struct cpp_reader.
1524 * cpplex.c (parse_identifier): Update.
1525 (_cpp_lex_token): Don't skip tokens in a directive.
1526 * cpplib.c (struct if_stack): Update.
1527 (start_directive, end_directive): Don't change skipping state.
1528 (_cpp_handle_directive): Update.
1529 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
1530 (do_else, do_endif): Update; only check for excess tokens if not
1531 in a skipped conditional block.
1532 (push_conditional): Update for new struct if_stack.
1533
1534 2001-07-26 Graham Stott <grahams@redhat.com>
1535
1536 * function.c (locate_and_pad_parm): Also pad initial offset
1537 so that the total argument size also includes the padding.
1538
1539 2001-07-26 Graham Stott <grahams@redhat.com>
1540
1541 * gensupport.c (alter_output_for_insn): Correct enable checking failure
1542 change XSTR to XTMPL.
1543
1544 (process_one_cond_exec): Likewise
1545
1546 2001-07-25 Richard Henderson <rth@redhat.com>
1547
1548 * varasm.c (assemble_variable): Create DECL_RTL before setting
1549 TREE_ASM_WRITTEN.
1550
1551 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
1552
1553 * predict.c (estimate_probability): Avoid duplicated predictions.
1554
1555 * loop.c (find_and_verify_loops): Grok multiple barriers.
1556
1557 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1558
1559 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
1560
1561 * dbxout.c: Consistently use putc instead of fputc.
1562 (print_wide_int): New function; call instead of direct fprintf.
1563 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
1564 (dbxout_type_fields, dbxout_type_method_1): Likewise.
1565 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
1566 (print_int_cst_octal): Likewise.
1567 (print_octal): Show we wrote characters.
1568 (dbxout_type): Set have_used_extensions in more places.
1569
1570 2001-07-25 Catherine Moore <clm@redhat.com>
1571
1572 * config/v850/v850.c (v850_va_arg): Use addr
1573 instead of valist to build incr.
1574
1575 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
1576
1577 * flow.c (delete_dead_jumptables): New function.
1578 (life_analyzis): Call it.
1579 * bb-reorder.c (skip_insns_after_block): Handle contradictory
1580 sequences.
1581
1582 2001-07-25 Richard Henderson <rth@redhat.com>
1583
1584 * except.c (reachable_handlers): Handle a region being removed
1585 out from under a RESX.
1586
1587 2001-07-25 Richard Henderson <rth@redhat.com>
1588
1589 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
1590 swap GE/GT if it is an fp comparison.
1591
1592 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
1593
1594 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
1595 operands.
1596
1597 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
1598
1599 * ssa.c (rename_insn_1): Do not wrap an assignment to a
1600 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
1601 glitch.
1602
1603 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
1604 throw an exception.
1605 (visit_expression): When attempting to simplify an expression,
1606 retrieve any modes for arguments before they are simplified
1607 to constants.
1608
1609 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
1610 Janis Johnson <janis@us.ibm.com>
1611
1612 * stmt.c (expand_goto): A nonlocal goto can be a call too.
1613 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
1614 pointer parameters to match documented usage of nonlocal_goto.
1615 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
1616 parameters to their correct order.
1617 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
1618 parameters to their correct order.
1619
1620 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
1621
1622 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
1623
1624 2001-07-25 Jan Hubicka <jh@suse.cz>
1625 Richard Henderson <rth@redhat.com>
1626
1627 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
1628 the sequence.
1629 (make_edges): New argument update_p; populate the edge cache if set.
1630 (find_basic_blocks): Update make_edges invocation.
1631
1632 2001-07-24 Joel Sherrill <joel@OARcorp.com>
1633
1634 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
1635
1636 2001-07-24 Joel Sherrill <joel@OARcorp.com>
1637
1638 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
1639 -Acpu and -Amachine.h.
1640 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
1641 Corrected header to say ELF not a.out.
1642 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
1643 when given -msoft-float.
1644
1645 2001-07-24 Joel Sherrill <joel@OARcorp.com>
1646
1647 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
1648 extra multilib parts like arm-elf.
1649 (i960-*-coff*, i960-*-rtems): Should not use collect2.
1650 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
1651 crtfini.o as extra multilib parts.
1652
1653 2001-07-24 Joel Sherrill <joel@OARcorp.com>
1654
1655 * configure.in: Add rtems as a supported thread model.
1656 * gthr-rtems.h: Add missing entry point __gthread_active_p.
1657 * configure: Rebuilt.
1658
1659 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
1660
1661 * stor-layout.c (get_mode_alignment): make it work when
1662 BITS_PER_UNIT is not a power of two.
1663 * builtins.c (get_pointer_alignment): Likewise.
1664
1665 2001-07-24 Richard Henderson <rth@redhat.com>
1666
1667 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
1668 the retrieved constant into the expected mode.
1669
1670 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
1671
1672 * flow.c (try_simplify_condjump): Avoid duplicated edges.
1673 (verify_flow_info): Check for duplicated edges; clarify
1674 error reporting.
1675
1676 * flow.c (block_label): Update basic_block_for_insn.
1677 (commit_edge_insertions): Call compute_bb_for_insn.
1678
1679 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
1680 returns too.
1681
1682 * flow.c (redirect_edge_and_branch,
1683 try_optimize_cfg): Use redirect_edge_succ_nodup
1684 (redirect_edge_succ_nodup): New.
1685 * basic_block.h (redirect_edge_succ_nodup): Declare.
1686
1687 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
1688 after gcse.
1689
1690 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
1691
1692 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
1693 (try_crossjump_to_edge): Update commetns.
1694 (try_crossjump_bb): Likewise.
1695
1696 2001-07-24 Richard Henderson <rth@redhat.com>
1697
1698 * combine.c (distribute_notes): Move set of need_refresh
1699 for noop_move_p down to catch all cases.
1700
1701 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
1702
1703 * recog.c (split_all_insns_noflow): New.
1704 * rtl.h (split_all_insns_noflow): Declare.
1705 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
1706 * m68hc11.c (m68hc11_reorg): Likewise.
1707 * sh.c (machine_dependent_reorg): Likewise.
1708 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
1709 call.
1710
1711 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
1712
1713 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
1714 (ashlsi3_n splitter): Likewise.
1715 (lshrsi3_n splitter): Likewise.
1716
1717 (GOTaddr2picreg): Make const SImode.
1718 (sym_label2reg): Likewise.
1719 (symGOT2reg): Likewise.
1720 (symGOTOFF2reg) Likewise.
1721
1722 (casesi_worker_0): Make unspec SImode.
1723
1724 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
1725
1726 * config/sh/sh.c (barrier_align): Check that an operand really is
1727 an insn before extracting its INSN_CODE.
1728
1729 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
1730
1731 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
1732 dangling else.
1733
1734 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
1735 for SImode to prevent overflow.
1736
1737 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1738
1739 * config/mips/irix6-libc-compat.c: New file.
1740 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
1741 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
1742 passing workaround.
1743
1744 2001-07-24 lars brinkhoff <lars@nocrew.org>
1745
1746 * rtl.texi (REG_POINTER): Document.
1747 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
1748 QFmode, HFmode, TQFmode, QCmode, and HCmode.
1749
1750 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
1751
1752 * flow.c (delete_noop_moves): Do not confuse libcall regions.
1753
1754 2001-07-23 Richard Henderson <rth@redhat.com>
1755
1756 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
1757
1758 2001-07-23 Kazu Hirata <kazu@hxi.com>
1759
1760 * config/h8300/h8300-protos.h: Add a prototype for
1761 general_operand_dst_push.
1762 * config/h8300/h8300.c (general_operand_dst_push): New.
1763 * config/h8300/h8300.h (OK_FOR_T): New.
1764 (EXTRA_CONSTRAINT): Use it.
1765 * config/h8300/h8300.md (movqi_push): Remove and integrate into
1766 the existing movqi pattern.
1767 (movhi_push): Likewise.
1768
1769 * reload.c: Fix comment typos.
1770
1771 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
1772
1773 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
1774
1775 2001-07-23 H.J. Lu (hjl@gnu.org)
1776
1777 * doc/extend.texi: Update __builtin_return_address and
1778 __builtin_frame_address.
1779
1780 2001-07-23 Richard Henderson <rth@redhat.com>
1781
1782 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
1783 before CSE.
1784 * config/i386/i386.md: New setcc+movzbl peephole2.
1785
1786 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1787
1788 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
1789 * objc/objc-act.c: Include debug.h.
1790 (synth_module_prologue): Save and restore debug hooks too.
1791
1792 2001-07-23 lars brinkhoff <lars@nocrew.org>
1793
1794 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
1795 and C4X_FLOAT_FORMAT.
1796 (BOOL_TYPE_SIZE): Document.
1797
1798 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
1799
1800 * unroll.c (loop_iterations): Fix miscalculation of initial
1801 giv offset.
1802
1803 2001-07-13 Andrew Haley <aph@redhat.com>
1804
1805 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
1806 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
1807 * config/sh/sh.c (sh_can_redirect_branch): New function.
1808 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
1809 * reorg.c (steal_delay_list_from_target): Use
1810 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
1811
1812 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
1813
1814 * flow.c (try_simplify_condjump): Unlink insn chain on
1815 fallthru edge; use can_fallthru.
1816
1817 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
1818
1819 * basic-block.h (find_sub_basic_block): Declare.
1820 * flow.c (make_edges): New arguments MIN and MAX;
1821 (find_sub_basic_blocks): Revamp to use make_edges
1822 and purge_dead_edges.
1823 (find_basic_blocks): Update call of find_sub_basic_block.
1824
1825 * recog.c (split_all_insns): Always expect CFG to be consistent;
1826 call find_sub_basic_blocks in case something has changed.
1827 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
1828 has been built.
1829
1830 * basic-block.h (delete_noop_moves): Declare.
1831 * combine.c (combine_instructions): Call it.
1832 (recog_for_combine): Tolerate noop moves
1833 (distribute_notes): Force refresh when register dies at noop move.
1834 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
1835 too.
1836 (life_analysis): Update delete_noop_moves call.
1837 (set_noop_p): Move too ...
1838 * rtlanal.c (noop_move_p): ... here.
1839 * rtl.h (noop_move_p): Declare.
1840
1841 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
1842 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
1843 after combine.
1844 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
1845 (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
1846
1847 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
1848
1849 * reload.c (push_reload): Fix typo in comment.
1850 (find_reloads_address): Ditto.
1851 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
1852
1853 2001-07-22 Richard Henderson <rth@redhat.com>
1854
1855 * flow.c: Grammar check and clarify a lot of comments.
1856 (try_simplify_condjump): Rename variables to be clearer.
1857 (try_forward_edges): Skip complex and fallthru edges.
1858 Rearrange tests to avoid duplicate checks.
1859 (flow_find_cross_jump): Likewise.
1860 (outgoing_edges_match): Allow match if neither branch has
1861 probability data. Loosen probability match to 5%.
1862 (try_crossjump_to_edge): Hoist repeated indirection into
1863 local variables.
1864 (try_crossjump_bb): Don't check complex edges. Eliminate
1865 redundant crossjump tests.
1866 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
1867 checks before more expensive checks.
1868
1869 2001-07-22 Richard Henderson <rth@redhat.com>
1870
1871 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
1872 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
1873 arguments.
1874
1875 2001-07-22 Richard Henderson <rth@redhat.com>
1876
1877 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
1878 (const_sint32_operand): Likewise.
1879 * m68k.md (anon mulsi pattern): Use const_int_operand not
1880 const_sint32_operand.
1881 (umulsi3_highpart): Zero extend a constant input.
1882 (smulsi3_highpart): Don't bother checking SImode constant.
1883 (const_umulsi3_highpart): Give op3 DImode.
1884 (const_smulsi3_highpart): Likewise.
1885
1886 2001-07-22 Richard Henderson <rth@redhat.com>
1887
1888 * flow.c (split_block): Make sure bb_note is included in the
1889 new block when splitting before a label.
1890
1891 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
1892
1893 * basic-block.h (redirect_edge_and_branch_force,
1894 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
1895 * flow.c (redirect_edge_and_branch_force,
1896 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
1897 (redirect_edge_and_branch_force): Fix copying of lifeness information.
1898 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
1899 * ifcvt.c (dead_or_predictable): Take BB as an new destionation
1900 instead of label; update CFG after transformation.
1901 (find_if_case_1): Update call, use redirect_edge_and_branch_force
1902 for finishing the transformation; handle even case where ELSE
1903 does not follow THEN.
1904 (find_if_case_2): Update call of dead_or_predictable; simplify
1905 CFG update.
1906
1907 * emit-rtl.c (split_branch_probability): New global variable.
1908 (try_split): Take care to set split_branch_probability and
1909 create REG_BR_PROB note for new jump insns.
1910 * md.texi (define_split): Document new feature.
1911
1912 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
1913
1914 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
1915
1916 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
1917 (asm_out_file): Remove redundant declaration.
1918 (assemble_asm): Remove old #if 0 block.
1919 (assemble_variable): Remove end of function; debug output is
1920 now handled with global_decl. Remove old #if 0 block. Update.
1921 Remove saved_in_section and associated no-op code.
1922 * Makefile.in (varasm.o): Correct dependencies.
1923
1924 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
1925
1926 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
1927 the definition in defaults.h.
1928
1929 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
1930
1931 * jump.c: Update comments.
1932 (delete_barrier_successors, delete_unreferenced_labels,
1933 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
1934 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
1935 jump_optimize, jump_optimize_minimal): Kill.
1936 (rebuild_jump_labels): Move code from jump_optimize_1.
1937 (purge_line_number_notes): Likewise.
1938 (copy_loop_headers): Likewise.
1939 * reg-stack.c: Update comment.
1940 * stmt.c: Likewise.
1941 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
1942 JUMP_AFTER_REGSCAN): Kill.
1943 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
1944 purge_line_number_notes and copy_loop_headers.
1945
1946 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
1947 Richard Henderson <rth@redhat.com>
1948
1949 * dbxout.c (dbxout_global_decl): New.
1950 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
1951 * sdbout.c (sdbout_finish): New.
1952 (sdbout_debug_hooks): Use it, add comments.
1953 (sdbout_global_decl): Defer initialised public vars to
1954 sdbout_finish.
1955 * varasm.c (assemble_variable): Don't output debug information
1956 for file-scope variables.
1957
1958 2001-07-22 Richard Henderson <rth@redhat.com>
1959
1960 * config/alpha/alpha.c (get_trap_mode_suffix): New.
1961 (get_round_mode_suffix): New.
1962 (print_operand): Use them for [/]. Remove support for [&'`()+].
1963 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
1964 * config/alpha/alpha.md (attr round_suffix): New.
1965 (attr trap_suffix): New.
1966 (all insns): Set them appropriately. Use %/ instead of the
1967 myriad punctuators.
1968
1969 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1970
1971 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
1972
1973 2001-07-22 Richard Henderson <rth@redhat.com>
1974
1975 * regrename.c (regrename_optimize): Compute nregs for each
1976 potential target register.
1977
1978 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
1979 Richard Henderson <rth@redhat.com>
1980
1981 * dbxout.c (dbxout_global_decl): New.
1982 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
1983 * sdbout.c (sdbout_finish): New.
1984 (sdbout_debug_hooks): Use it, add comments.
1985 (sdbout_global_decl): Defer initialised public vars to
1986 sdbout_finish.
1987 * varasm.c (assemble_variable): Don't output debug information
1988 for file-scope variables.
1989
1990 2001-07-21 H.J. Lu (hjl@gnu.org)
1991
1992 * config/mips/mips.c (mips_cpu): Moved into ...
1993 (override_options): Here.
1994
1995 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
1996 mips_tune.
1997 (mips_cpu): Removed.
1998
1999 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2000
2001 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
2002 ("iorqi3"): Likewise.
2003 ("xorqi3"): Likewise.
2004 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
2005 ("*subhi3_sp): Likewise.
2006 ("*subhi3"): Likewise.
2007 ("extendhisi2"): Accept D, X and Y as source operand to avoid
2008 reload problems.
2009
2010 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
2011
2012 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
2013 * config/freebsd.h: Likewise.
2014 * config/linux.h: Likewise.
2015 * config/openbsd.h: Likewise.
2016 * config/alpha/linux-elf.h: Likewise.
2017 * config/arm/linux-elf.h: Likewise.
2018 * config/d30v/d30v.h: Likewise.
2019 * config/fr30/fr30.h: Likewise.
2020 * config/ia64/aix.h: Likewise.
2021 * config/ia64/ia64.h: Likewise.
2022 * config/mips/linux.h: Likewise.
2023 * config/pj/pj.h: Likewise.
2024 * config/rs6000/linux.h: Likewise.
2025 * config/sparc/linux.h: Likewise.
2026 * config/sparc/linux64.h: Likewise.
2027
2028 2001-07-20 Bruce Korb <bkorb@gnu.org>
2029
2030 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
2031 because getc() and char* may disagree on signedness.
2032
2033 2001-07-20 Richard Henderson <rth@redhat.com>
2034
2035 * doc/rtl.texi (REG_DEAD): Update for current semantics.
2036
2037 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
2038 insns to delete in the presence of cc0 in a jump insn.
2039
2040 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
2041 Jan Hubicka <jh@suse.cz>
2042
2043 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
2044 of doing the change by hand.
2045
2046 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
2047
2048 * rtlanal.c (set_noop_p): Return true for noop jumps.
2049
2050 * expr.c (emit_single_push_insn): Add call to push expander.
2051 * expr.h (optab_index): Add OTI_push
2052 (push_optab): New constant.
2053 * genopinit.c (optabs): Add push_optab.
2054 * optabs.c (init_optab): Init push optab.
2055 * md.texi (push??1): Document
2056
2057 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2058
2059 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
2060 expand to emit the pattern; put a REG_INC note for push/pop
2061 instructions.
2062 ("movdf", "movdf_internal"): Likewise.
2063 ("movsi", "movsi_internal"): Likewise.
2064 ("movsf", "movsf_internal"): Likewise.
2065 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
2066
2067 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2068
2069 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
2070 gen_highpart.
2071
2072 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
2073
2074 * params.def: Change default max inline insns to 100.
2075
2076 2001-07-20 Diego Novillo <dnovillo@redhat.com>
2077
2078 * combine.c (combine_simplify_rtx): Generate a new shift operation
2079 when simplifying the first operand of a (neg (ashift)) expression.
2080
2081 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2082
2083 * regclass.c (N_REG_INTS): Use only 32 bits per element.
2084
2085 2001-07-20 Kelley Cook <kelley.cook@home.com>
2086
2087 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
2088 information. Move rest into ...
2089 (*-*-solaris): ... here. Eliminate redundant information and
2090 reword necessary packages section. Delete 4.x assembler bug info.
2091 (sparc-sun-*): Merge into ...
2092 (sparc-sun-sunos*): here.
2093
2094 2001-07-20 Catherine Moore <clm@redhat.com>
2095
2096 * config/v850/v850.md (casesi): Generate LABEL_REF
2097 with Pmode.
2098
2099 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
2100
2101 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
2102 * i386.c (ix86_zero_extend_to_Pmode): Make global.
2103 * i386.md (strclrsi expander): Use it.
2104
2105 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2106
2107 * integrate.c (copy_insn_list): handle
2108 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
2109 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
2110 identically as to CODE_LABEL.
2111
2112 * fold-const (fold): Convert A/B/C to A/(B*C) and
2113 A/(B/C) to (A/B)*C
2114
2115 * except.c (connect_post_landing_pads): Delete the RESX insns.
2116
2117 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
2118
2119 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
2120
2121 * config/mips/mips.md (nmadd/nmsub): Use macro.
2122
2123 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
2124
2125 * cppinit.c (remove_dup_dir): Make static.
2126 (remove_dup_dirs): Make static. Only warn about preempting a
2127 system directory with a non-system directory.
2128
2129 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
2130
2131 * ifcvt.c (noce_try_store_flag_constants): Correct order
2132 of parameters to trunc_int_for_mode.
2133
2134 2001-07-19 Mark Mitchell <mark@codesourcery.com>
2135
2136 * reorg.c (fill_simple_delay_slots): If an instruction might throw
2137 an exception that will be caught within this function, do not fill
2138 its delay slot with any subsequent instruction.
2139
2140 2001-07-19 Steve Ellcey <sje@cup.hp.com>
2141
2142 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
2143 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
2144 pointer extension instruction.
2145 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
2146 * simplify-rtx.c (simplify_unary_operation) Likewise.
2147 * explow.c (convert_memory_address) Check value of
2148 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
2149 less than zero.
2150 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
2151 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
2152 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
2153 Add Multilib Support.
2154 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
2155 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
2156 Add Multilib Support.
2157 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
2158 support.
2159 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
2160 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
2161 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
2162
2163 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
2164
2165 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
2166 old and new operands in `<', `3' and `b'.
2167
2168 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
2169
2170 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
2171 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
2172 (toplev.o): Don't depend on xcoffout.h.
2173 * c-decl.c: Include debug.h
2174 (duplicate_decls): Use debug hook.
2175 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
2176 (dbx_debug_hooks, xcoff_debug_hooks): Update.
2177 (dbxout_types): Remove.
2178 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
2179 * debug.c (do_nothing_debug_hooks): Update.
2180 (debug_true_tree, debug_nothing_rtx): New.
2181 * debug.h (struct rtx_def): New.
2182 (struct gcc_debug_hooks): New hooks ignore_block,
2183 outlining_inline_function and label.
2184 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
2185 dwarf2out_frame_finish): New.
2186 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
2187 Make static, update prototype.
2188 (dwarf2_debug_hooks): Update.
2189 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
2190 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
2191 * dwarfout.c (dwarf_debug_hooks): Update.
2192 * emit-rtl.c: Include debug.h.
2193 (remove_unnecessary_notes): Use debug hook.
2194 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
2195 (final_scan_insn): Use debug hook.
2196 * integrate.c (output_inline_function): Use debug hook.
2197 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
2198 (sdb_debug_hooks): Update.
2199 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
2200 * toplev.c: Don't include xcoffout.h.
2201 (note_outlining_of_inline_function, debug_ignore_block): Remove.
2202 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
2203 Remove.
2204 * tree.h (dwarf2out_do_frame): Remove.
2205
2206 2001-07-19 Catherine Moore <clm@cygnus.com>
2207
2208 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
2209
2210 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
2211
2212 * reload1.c (eliminate_regs_in_insn): When updating a set
2213 to the frame pointer to the hardware frame pointer, perform
2214 the update always not just when REPLACE is set.
2215
2216 * reload1.c (choose_reload_regs): Don't inherit a reload
2217 that crosses multiple registers if registers past the first
2218 don't fit in the desired class.
2219
2220 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
2221 when negating constants.
2222
2223 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
2224
2225 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
2226 * doc/tree.texi: Ditto.
2227
2228 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
2229 Jakub Jelinek <jakub@redhat.com>
2230
2231 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
2232 (extract_cie_info): Handle "eh" augmentation properly,
2233 remember eh_ptr.
2234 (struct frame_state, __frame_state_for): New.
2235
2236 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2237
2238 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
2239 HANDLE_SYSV_PRAGMA): Define.
2240 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
2241 previous args.
2242 (copy_object): Caller changed.
2243
2244 2001-07-19 Andreas Schwab <schwab@suse.de>
2245
2246 * configure.in (assembler dwarf2 debug_line support): Define nop
2247 insn for m68k.
2248 * configure: Regenerated.
2249
2250 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
2251
2252 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
2253 dwarfout.h.
2254 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
2255 to conditionally compiled block.
2256 (dbx_debug_hooks, xcoff_debug_hooks): Update.
2257 * dbxout.h (dbxout_function): Remove.
2258 * debug.c (do_nothing_debug_hooks): Update.
2259 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
2260 global_decl, deferred_inline_function.
2261 * dwarf2out.c (dwarf2_debug_hooks): Update.
2262 (dwarf2out_global_decl): New.
2263 * dwarfout.c: Don't include dwarfout.h.
2264 (dwarfout_global_decl, dwarfout_function_decl,
2265 dwarfout_deferred_inline_function): New.
2266 (dwarf_debug_hooks): Update.
2267 * dwarfout.h: Remove.
2268 * final.c: Don't include dwarfout.h.
2269 * sdbout.c (sdbout_global_decl): New.
2270 (sdbout_debug_hooks): Update.
2271 * toplev.c: Don't include dwarfout.h.
2272 (check_global_declarations, rest_of_compilation): Use new debug hooks.
2273 (note_deferral_of_defined_inline_function): Remove.
2274 * toplev.h (note_deferral_of_defined_inline_function): Remove.
2275 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
2276 * ch/lex.c: Don't include dwarfout.h.
2277 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
2278 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
2279 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
2280 * cp/optimize.c: Include debug.h.
2281 (maybe_clone_body): Use debug hook.
2282 * cp/semantics.c: Include debug.h.
2283 (expand_body): Use debug hook.
2284 * po/POTFILES.in: Remove dwarfout.h.
2285
2286 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
2287
2288 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
2289 * c-parse.in (yyerror, _yylex): Similarly.
2290 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
2291 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
2292 Update comments.
2293 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
2294 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
2295
2296 2001-07-18 Jeff Sturm <jsturm@one-point.com>
2297
2298 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
2299 in-class declaration at -g1. Fixes c++/2814.
2300
2301 2001-07-18 Richard Henderson <rth@redhat.com>
2302
2303 * doc/md.texi (reload_in/out): Document restrictions in predicates
2304 and constraints for these patterns. Document empty string matching
2305 ALL_REGS.
2306
2307 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2308
2309 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
2310
2311 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
2312
2313 * cse.c: Undo my previous patch.
2314
2315 2001-07-18 Tom Tromey <tromey@redhat.com>
2316
2317 For PR java/2812:
2318 * configure: Rebuilt.
2319 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
2320 instead.
2321 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
2322
2323 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
2324 Jan Hubicka <jh@suse.cz>
2325
2326 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
2327 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
2328 * jump.c (mark_jump_label): Do not forward branches.
2329
2330 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
2331
2332 * cse.c (delete_trivially_dead_insns): Delete the libcall block
2333 when return value is unused.
2334
2335 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2336
2337 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
2338
2339 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
2340
2341 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
2342 on error. We can't blindly return the result of
2343 pthread_mutex_trylock because it returns a positive number on
2344 error, while we must return -1 on error.
2345 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
2346 fixes.
2347 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
2348
2349 2001-07-18 Andreas Jaeger <aj@suse.de>
2350
2351 * integrate.c (output_inline_function): Correct type of debug_hooks.
2352
2353 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
2354
2355 * combine.c (combine_simplify_rtx): DIV can be treated
2356 associatively for floats if unsafe math optimisations are enabled.
2357
2358 2001-07-17 Richard Henderson <rth@redhat.com>
2359
2360 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
2361
2362 2001-07-17 Richard Henderson <rth@redhat.com>
2363
2364 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
2365 don't force the function address into a register.
2366 (expand_call, emit_library_call_value_1): Update callers.
2367 * builtins.c (expand_builtin_apply): Likewise.
2368 * expr.h (prepare_call_address): Update decl.
2369
2370 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
2371
2372 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
2373 config directory.
2374 * config/i386/chorus.h: Move up.
2375 * config/sparc/chorus.h: Likewise.
2376 * config/rs6000/chorus.h: Likewise.
2377 * config/chorus.h: Moved here.
2378
2379 2001-07-17 Andreas Schwab <schwab@suse.de>
2380
2381 * configure.in (assembler eh_frame optimization): Handle big
2382 endian.
2383 * configure: Regenerated.
2384
2385 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
2386
2387 * expr.c (epxand_expr): Convert divisions into multiplications by
2388 reciprocals if -ffast-math.
2389
2390 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
2391
2392 * dbxout.c (dbxout_really_begin_function): Rename to
2393 dbxout_begin_function.
2394 (dbx_debug_hooks, xcoff_debug_hooks): Update.
2395 (dbxout_begin_function): Remove.
2396 (dbxout_function): Update.
2397 (dbxout_source_line): Update prototype.
2398 * dbxout.h (dbxout_begin_function): Remove.
2399 * debug.c (do_nothing_debug_hooks): Update.
2400 (debug_nothing_tree): Update.
2401 (debug_nothing_charstar_rtx): Remove.
2402 * debug.h (union tree_node): Declare.
2403 (struct rtx_def): Remove.
2404 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
2405 begin_function. Change source_line prototype.
2406 (debug_nothing_tree): New.
2407 (debug_nothing_charstar_rtx): Delete.
2408 (dwarf2out_begin_prologue): Moved from ...
2409 * tree.h: ... here.
2410 * dwarf2out.c (dwarf2_debug_hooks): Update.
2411 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
2412 debug info, call dwarf2out_source_line.
2413 (dwarf2out_souce_line): Update prototype.
2414 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
2415 Change prototype, make static.
2416 (dwarfout_source_line): Update prototype.
2417 (dwarf_debug_hooks): Update.
2418 * dwarfout.h (dwarfout_begin_function): Remove.
2419 * final.c (final_start_function, final_scan_insn): Use appropriate
2420 debug hooks, update to use notice_source_line.
2421 (output_source_line): Rename notice_source_line. Don't call the
2422 source_line debug hook.
2423 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
2424 make static, update prototype.
2425 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
2426 prototype.
2427 (sdbout_end_prologue): New.
2428 (sdbout_source_line): Update prototype.
2429 (sdbout_debug_hooks): Update.
2430 (sdbout_symbol): Remove unused var.
2431 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
2432 Delete.
2433 * varasm.c: Include debug.h.
2434 (assemble_start_function): Use begin_function debug_hook.
2435 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
2436 update with prototype.
2437 (xcoffout_source_line): Update prototype.
2438 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
2439 update prototype.
2440 (xcoffout_source_line): Update prototype.
2441
2442 2001-07-17 Richard Henderson <rth@redhat.com>
2443
2444 * c-typeck.c (build_binary_op): Do not shorten unsigned
2445 right shift after sign extension.
2446
2447 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
2448
2449 * combine.c (combine_simplify_rtx): Attempt to simplify
2450 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
2451
2452 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
2453 (simplify_binary_operation, simplify_unary_operation,
2454 simplify_relational_operation): Use it.
2455
2456 * combine.c (combine_simplify_rtx): Don't do associative law
2457 on divisions; allow associative law on floats.
2458
2459 2001-07-17 H.J. Lu <hjl@gnu.org>
2460 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2461
2462 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
2463 ASM_OUTPUT_WEAK_ALIAS are defined.
2464 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
2465 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
2466 Moved ...
2467 * config/mips/iris5.h: ... here.
2468 (HANDLE_SYSV_PRAGMA): Defined as 1.
2469 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
2470 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
2471 symbol.
2472
2473 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
2474
2475 * c-parse.in (all_prefix_attributes): New variable.
2476 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
2477 (maybe_resetattrs): New production.
2478 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
2479 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
2480 notype_initdcl, nested_function, notype_nested_function,
2481 component_decl, components, components_notype,
2482 component_declarator, component_notype_declarator,
2483 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
2484 ivars, mydecl, myparm): Update. Avoid prefix attributes just
2485 after a comma being applied to more than one declarator.
2486 * doc/extend.texi (Attribute Syntax): Update. Remove
2487 documentation of bugs that are no longer present.
2488
2489 2001-07-13 Eric Christopher <echristo@redhat.com>
2490
2491 * config/mips/mips.h: Change TUNE_MIPS* options to use
2492 mips_tune.
2493 (EXTRA_SPECS): Add cc1_cpu_spec.
2494 * config/mips/mips.md (muldf3): Fix typo.
2495
2496 2001-07-16 Richard Henderson <rth@redhat.com>
2497
2498 * config/m68k/m68k.c: Include expr.h and reload.h.
2499 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
2500 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
2501
2502 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
2503 Richard Henderson <rth@redhat.com>
2504
2505 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
2506 (insn_live_p): Fix fall off end of function.
2507 (dead_libcall_p): Remove COUNTS argument; update callers.
2508 (delete_trivially_dead_insns): Remove unused variables.
2509
2510 2001-07-17 Andreas Jaeger <aj@suse.de>
2511
2512 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
2513 x86-64 pic support.
2514
2515 * lcm.c (optimize_mode_switching): Avoid warning for unused
2516 variable if !NORMAL_MODE.
2517
2518 * flow.c (try_crossjump_to_edge): Remove unused variable.
2519
2520 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2521
2522 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
2523 atexit declaration in stdlib.h.
2524
2525 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
2526
2527 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
2528
2529 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2530
2531 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
2532 * except.c (finish_eh_generation): Update call of cleanup_cfg;
2533 do rebuild_jump_labels instead of jump_optimize
2534 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
2535 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
2536 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
2537
2538 * flow.c: Include timevar.h
2539 (find_basic_block): Push/pop timevar;
2540 (cleanup_cfg): Likewise.
2541 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
2542 * Makefile: Add dependencies on timevar.h
2543
2544 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
2545 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
2546
2547 * rtl.h (delete_trivially_dead_insns): Add new parameter.
2548 * toplev.c (rest_of_compilation): Update calls.
2549 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
2550 (delete_trivially_dead_insns): ... here; accept new argument
2551 preserve_basic_blocks; preserve basic blocks if set.
2552
2553 * reg-stack.c (stack_regs_mentioned): Return 0 if
2554 stack_regs_mentioned_data is not initialized.
2555 (reg_to_stack): Make stack_regs_mentioned survive after the
2556 reg-stack is completted; do not call cleanup_cfg.
2557 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
2558 make cleanup_cfg after bb-reorder to output to debug file.
2559
2560 2001-07-16 Richard Henderson <rth@redhat.com>
2561
2562 * regclass.c (init_reg_sets): Use only 32 bits per initializer
2563 from int_reg_class_contents.
2564
2565 2001-07-16 Richard Henderson <rth@redhat.com>
2566
2567 * hard-reg-set.h (regs_invalidated_by_call): Declare.
2568 * regclass.c (regs_invalidated_by_call): Move from cse.c.
2569 (init_reg_sets_1): Move initialization from cse_main.
2570 * cse.c (regs_invalidated_by_call): Move to regclass.c.
2571 (cse_main): Move its initialization also.
2572 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
2573 * flow.c (propagate_one_insn): Likewise.
2574 * gcse.c (compute_hash_table): Likewise.
2575 (compute_kill_rd, compute_store_table): Likewise.
2576 * sched-deps.c (sched_analyze_1): Likewise.
2577
2578 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
2579
2580 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
2581 gen_rtx_SET.
2582
2583 2001-07-16 Steve Ellcey <sje@cup.hp.com>
2584
2585 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
2586 in if statement so we don't access undefined memory.
2587
2588 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
2589
2590 * gcse.c: Update comment at top.
2591 Update comment on mem handling.
2592 mem_last_set, mem_first_set, mem_set_in_block: gone.
2593 Declaration of reg_set_info: gone.
2594 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
2595 pointless with load_killed_in_block_p (they are *more*
2596 conservative then it, not less, and less accurate).
2597 (oprs_not_set_p): Ditto.
2598 (alloc_gcse_mem): Don't allocate mem_set_in_block
2599 (free_gcse_mem): Don't free it, either.
2600 (record_last_mem_set_info): Update comment in front, remove
2601 mem_*set_* stuff. Note the reason we don't handle stores directly
2602 here.
2603 (compute_hash_table): Update comments to reflect reality. Remove
2604 mem_*set_* references.
2605 (reset_opr_set_tables): Remove mem_*set_* references.
2606 (mark_call): Ditto.
2607 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
2608 (mark_clobber): Ditto (on both parts, we double set here too).
2609 (expr_killed_p): Remove mem_set_in_block test.
2610 (compute_transp): Remove mem_set_in_block test.
2611
2612 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
2613 of edge, and removal of phi alternative to dump file.
2614 (ssa_ccp_substitute_constants): Add note about register now being
2615 constant, and which uses were replaced in what insns to dump file.
2616
2617 2001-07-16 Andreas Jaeger <aj@suse.de>
2618
2619 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
2620 variables of type HOST_WIDEST_INT.
2621
2622 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
2623 (__bb_exit_func): Correct type of count_max to avoid overflow.
2624 (num_digits): Handle long long argument.
2625
2626 * combine.c (gen_lowpart_for_combine): Remove unused variable.
2627
2628 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2629
2630 * output.h (sdb_begin_function_line): Restore as an extern
2631 variable.
2632 * sdbout.c (sdb_begin_function_line): Make extern.
2633
2634 2001-07-15 Richard Henderson <rth@redhat.com>
2635
2636 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
2637 * genrecog.c (maybe_both_true_mode): New.
2638 (maybe_both_true_2): Use it.
2639 (write_switch): Don't put Pmode in a switch.
2640 * rtl.c (mode arrays): Don't explicitly size them.
2641
2642 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
2643
2644 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
2645 handling; move unconditional splitting before mode switching.
2646
2647 * i386.md (type): Add fistp type.
2648 (i387, length_attr, scheduling definitions): Handle this type.
2649 (fix_trunc?f?i2): Revamp to use mode switching.
2650 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
2651 * i386.h (fp_cw_mode): New enum
2652 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
2653 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
2654
2655 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2656
2657 * Makefile.in (integrate.o): Add debug.h.
2658 * integrate.c (debug.h): Add.
2659 (output_inline_function): Save, reset, and restore debug_hooks.
2660
2661 2001-07-15 Richard Henderson <rth@redhat.com>
2662
2663 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
2664 instead of COMPARE for the EQUIV expression.
2665
2666 2001-07-15 Richard Henderson <rth@redhat.com>
2667
2668 * flow.c (redirect_edge_and_branch_force): Initialize
2669 global_live_at_start and global_live_at_end.
2670 (allocate_bb_life_data): Export.
2671 * basic-block.h (allocate_bb_life_data): Declare.
2672 * toplev.c (rest_of_compilation): Call it.
2673
2674 2001-07-15 Richard Henderson <rth@redhat.com>
2675
2676 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
2677 (alpha_tablejump_best_label): New.
2678 * config/alpha/alpha-protos.h: Declare them.
2679 * config/alpha/alpha.md: Use braced strings for code blocks.
2680 (tablejump_osf): Break out add with r29.
2681 (tablejump_osf_internal): Remove.
2682 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
2683 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
2684
2685 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
2686
2687 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
2688 of the movable.
2689
2690 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
2691
2692 * i386-protos.h (ix86_split_fp_branch): Update prototype.
2693 (ix86_fp_jump_nontrivial_p): New.
2694 * i386.md (fp_jcc_?): Update call of split_fp_branch;
2695 use ix86_fp_jump_nontrivial_p.
2696 * i386.c (ix86_fp_jump_nontrivial_p): New.
2697 (ix86_split_fp_branch): Accept code instead of rtx.
2698 (ix86_expand_compare): Expand comparison early in case
2699 doing so is resonably cheap.
2700
2701 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
2702
2703 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
2704 not 'machine'.
2705 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
2706 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
2707
2708 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
2709
2710 * dbxout.c (dbxout_source_line): Make static, update prototype.
2711 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
2712 (dbxout_init, dbxout_finish, dbxout_source_line,
2713 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
2714 * dbxout.h (dbxout_source_line): Delete.
2715 * debug.c (debug_nothing_file, debug_nothing_file_int,
2716 debug_nothing_file_charstar_rtx): New.
2717 (do_nothing_debug_hooks): Update.
2718 (debug_nothing_void, debug_nothing_charstar_rtx,
2719 dwarf2out_end_epilogue): New.
2720 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
2721 * debug.h (struct rtx_def): Declare.
2722 (gcc_debug_hooks): New hooks source_line, end_epilogue
2723 and end_function.
2724 (debug_nothing_void, debug_nothing_charstar_rtx,
2725 dwarf2out_end_epilogue): New.
2726 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
2727 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
2728 (dwarf2_debug_hooks): Update.
2729 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
2730 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
2731 * dwarf2out.h (dwarf2out_source_line): Remove.
2732 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
2733 Make static, update prototype.
2734 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
2735 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
2736 (dwarf_debug_hooks): Update.
2737 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
2738 dwarfout_end_function): Remove.
2739 * final.c (profile_function): Use debug hooks for ending functions
2740 and epilogues.
2741 (output_source_line, final_end_function): Update prototype,
2742 use debug hooks.
2743 (final_start_function, final_scan_insn): Update.
2744 * output.h (sdb_begin_function_line): Remove.
2745 (final_end_function): Update prototype.
2746 * sdbout.c (sdb_begin_function_line): Make static.
2747 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
2748 (sdbout_source_line): New.
2749 (sdbout_end_epilogue, sdbout_end_function): Make static, update
2750 prototypes.
2751 (sdb_debug_hooks): Update.
2752 (sdbout_init, sdbout_source_line,
2753 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
2754 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
2755 * toplev.c (compile_file, rest_of_compilation): Update.
2756 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
2757 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
2758 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
2759 Update for prototype changes.
2760 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
2761 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
2762
2763 2001-07-15 Richard Henderson <rth@redhat.com>
2764
2765 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
2766 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
2767 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
2768 * config/alpha/alpha.c: Likewise.
2769 * config/alpha/alpha.md: Likewise.
2770 * config/alpha/alpha32.h: Likewise.
2771 * config/alpha/vms.h: Likewise.
2772 (OPEN_VMS): Remove.
2773
2774 2001-07-14 Richard Henderson <rth@redhat.com>
2775
2776 * config/alpha/alpha.md: Use define_constants for unspec values.
2777 Substitute throughout.
2778
2779 2001-07-14 Tim Josling <tej@melbpc.org.au>
2780
2781 * tree.def (EXPON_EXPR) remove. Never supported anyway.
2782
2783 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
2784
2785 * pa.md: Remove unused constraints from define_split's.
2786
2787 2001-04-14 Richard Henderson <rth@redhat.com>
2788
2789 * ifcvt.c (find_cond_trap): Test for exit block.
2790
2791 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
2792
2793 Re-install recently reverted patch.
2794 * emit-rtl.c (try_split): Update mark_jump_label call.
2795 * flow.c (find_sub_basic_blocks): Likewise.
2796 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
2797 jump_back_p): Kill.
2798 (mark_all_labels): Kill second parameter.
2799 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
2800 (rebuild_jump_labels, jump_optimize_minimal): Update call
2801 of jump_optimize_1.
2802 (jump_optimize_1): Kill crossjumping code.
2803 (mark_jump_label): Kill cross_jump parameter.
2804 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
2805 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
2806 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
2807 splitting.
2808 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
2809 DFI_bpro.
2810 (dump_file_info): Likewise.
2811 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
2812 reorganize passes to do reg-stack first, bb-reorder second.
2813 * invoke.texi (-d letters doc): Remove the jump2 pass.
2814
2815 2001-07-14 Richard Henderson <rth@redhat.com>
2816
2817 * ifcvt.c (find_cond_trap): New.
2818 (find_if_header): Call it.
2819 (merge_if_block): Relax existing jump sanity check.
2820 * jump.c (jump_optimize_1): Remove conditional trap handling.
2821
2822 2001-07-14 Alan Modra <amodra@bigpond.net.au>
2823
2824 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
2825 millicode.
2826 (insn_refs_are_delayed): Correct comment.
2827 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
2828 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
2829 instead of r31. Make associated insn !TARGET_64BIT, and
2830 provide an additional 64-bit insn that clobbers r2.
2831 (divsi3): Likewise.
2832 (udivsi3): Likewise.
2833 (modsi3): Likewise.
2834 (umodsi3): Likewise.
2835
2836 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
2837
2838 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
2839
2840 * flow.c (redirect_edge_and_branch_force, split_edge,
2841 try_crossjump_to_edge): Use set_block_for_new_insns.
2842 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
2843
2844 2001-07-13 H.J. Lu (hjl@gnu.org)
2845
2846 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
2847 the correct patch.
2848
2849 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
2850
2851 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
2852
2853 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
2854
2855 * c-common.c (decl_attributes): Take a pointer to the node to
2856 which attributes are to be attached, and a flags argument.
2857 * c-common.h (enum attribute_flags): New.
2858 (decl_attributes): Update prototype.
2859 * c-decl.c (start_decl, push_parm_decl, finish_struct,
2860 finish_enum, start_function): Update calls to decl_attributes.
2861 * c-parse.in (component_declarator, component_notype_declarator,
2862 label): Update calls to decl_attributes.
2863
2864 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
2865
2866 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
2867 * config/avr/avr.c (legitimate_address_p): Return value changed
2868 from letter to register classes. For better debugging.
2869
2870 2001-07-13 Kazu Hirata <kazu@hxi.com>
2871
2872 * jump.c (reversed_comparison_code_parts): Fix comment typos.
2873
2874 2001-07-13 H.J. Lu (hjl@gnu.org)
2875
2876 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
2877
2878 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
2879
2880 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
2881 correctly for shared configurations.
2882 * config/t-libgcc-pic: New.
2883 * config/{i386,m68k,sparc}/t-openbsd: New.
2884 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
2885 Support -shared. Support debugging libraries with -g.
2886 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
2887 frame information does not emit pointer diffs.
2888 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
2889 emit pointer diffs.
2890
2891 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
2892
2893 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
2894
2895 2001-07-13 David Edelsohn <edelsohn@gnu.org>
2896
2897 * combine.c (try_combine): Ensure const_int pow2 is positive.
2898
2899 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
2900
2901 * config.gcc: Add configuration for s/390.
2902 * config/s390/s390.c: New. Subroutines for code generation.
2903 * config/s390/s390.h: New. Definitions for s/390.
2904 * config/s390/s390-protos.h: New. Prototypes.
2905 * config/s390/linux.h: New. Definitions for linux for s/390.
2906 * config/s390/linux64.h: New. Definitions for linux for zSeries.
2907 * config/s390/t-linux: New. Makefile fragment.
2908 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
2909 * config/s390/fixdfdi.h: New. Fix L_fix*di.
2910
2911 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
2912
2913 * emit-rtl.c (try_split): Update mark_jump_label call.
2914 * flow.c (find_sub_basic_blocks): Likewise.
2915 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
2916 jump_back_p): Kill.
2917 (mark_all_labels): Kill second parameter.
2918 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
2919 (rebuild_jump_labels, jump_optimize_minimal): Update call
2920 of jump_optimize_1.
2921 (jump_optimize_1): Kill crossjumping code.
2922 (mark_jump_label): Kill cross_jump parameter.
2923 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
2924 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
2925 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
2926 splitting.
2927 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
2928 DFI_bpro.
2929 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
2930 reorganize passes to do reg-stack first, bb-reorder second.
2931 * invoke.texi (-d letters doc): Remove the jump2 pass.
2932
2933 2001-07-12 Steve Ellcey <sje@cup.hp.com>
2934
2935 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
2936
2937 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2938
2939 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
2940 basic blocks.
2941 (verify_flow_info): Make diagnostics prettier.
2942
2943 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
2944
2945 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
2946
2947 * flow.c (outgoing_edges_match): Return early if condition reversal
2948 failed.
2949
2950 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
2951
2952 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
2953 (mips_move_2words): When splitting a move into two instructions,
2954 prefix the second address operand with '%D'.
2955
2956 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
2957
2958 * Makefile.in (final.o): Depend on debug.h.
2959 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
2960 (dbx_debug_hooks): Add new hooks.
2961 (xcoff_debug_hooks): New.
2962 * debug.c (debug_nothing_file_int_int): New.
2963 (do_nothing_debug_hooks): Update.
2964 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
2965 (debug_nothing_file_int_int): New.
2966 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
2967 static, update prototype.
2968 (dwarf2_debug_hooks): Update.
2969 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
2970 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
2971 static, update prototype.
2972 (dwarf_debug_hooks): Update.
2973 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
2974 * final.c: Include debug.h.
2975 (final_scan_insn): Use debug hooks when beginning and ending blocks.
2976 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
2977 static, update prototype.
2978 (sdb_debug_hooks): Update.
2979 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
2980 * toplev.c: Distinguish between xcoff and dbx.
2981
2982 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
2983 Call all debug hooks, not just dwarf ones.
2984
2985 2001-07-11 Timothy Wall <twall@redhat.com>
2986
2987 * config.gcc: Add configuration for AIX5/IA64.
2988 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
2989 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
2990 support prefix/suffix code.
2991 * config/ia64/t-aix: New. Makefile fragment.
2992 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
2993
2994 2001-07-11 Kazu Hirata <kazu@hxi.com>
2995
2996 * recog.c (validate_change): Fix a comment typo.
2997
2998 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
2999
3000 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
3001 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
3002 hooks directly.
3003 * dbxout.c (dbx_debug_hooks): Add new hooks.
3004 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
3005 make static.
3006 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
3007 make static.
3008 * dbxout.h (dbxout_start_new_source_file,
3009 dbxout_resume_previous_source_file): Delete.
3010 * debug.c (do_nothing_debug_hooks): Add new hooks.
3011 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
3012 (debug_nothing_int_charstar, debug_nothing_int): New.
3013 * debug.h (gcc_debug_hooks): New hooks define, undef,
3014 start_source_file and end_source_file.
3015 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
3016 (debug_nothing_int_charstar, debug_nothing_int): New.
3017 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
3018 the conditionally compiled section.
3019 (dwarf2out_start_source_file, dwarf2out_end_source_file,
3020 dwarf2out_define, dwarf2out_undef): Make static.
3021 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
3022 dwarf2out_define, dwarf2out_undef): Remove.
3023 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
3024 (dwarfout_start_source_file, dwarfout_end_source_file,
3025 dwarfout_define, dwarfout_undef): Make static.
3026 (dwarfout_start_source_file_check,
3027 dwarfout_end_source_file_check): New.
3028 (dwarfout_define, dwarfout_finish): Update.
3029 * dwarfout.h (dwarfout_start_new_source_file,
3030 dwarfout_resume_previous_source_file, dwarfout_define,
3031 dwarfout_undef): Remove.
3032 * sdbout.c (sdb_debug_hooks): Add new hooks.
3033 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
3034 make static.
3035 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
3036 make static, take an arg.
3037 * sdbout.h (sdbout_start_new_source_file,
3038 sdbout_resume_previous_source_file): Delete.
3039 * toplev.c (debug_start_source_file, debug_end_source_file,
3040 debug_define, debug_undef): Delete.
3041 * toplev.h (debug_start_source_file, debug_end_source_file,
3042 debug_define, debug_undef): Delete.
3043
3044 * java/jcf-parse.c: Include debug.h.
3045 (parse_class_file): Update to use debug hooks directly.
3046 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
3047
3048 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3049
3050 * alias.c (set_mem_alias_set): New function.
3051 * rtl.h (set_mem_alias_set): Declare it.
3052 * builtins.c (expand_builtin_return_addr): Call it instead of
3053 using MEM_ALIAS_SET accessor.
3054 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
3055 (get_memory_rtx, expand_builtin_va_arg): Likewise.
3056 (expand_builtin_va_copy):Likewise.
3057 * caller-save.c (setup_save_areas): Likewise.
3058 * calls.c (compute_argument_addresses): Likewise.
3059 * explow.c (set_mem_attributes): Likewise.
3060 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
3061 (expand_assignment, store_constructor_field, store_field): Likewise.
3062 (expand_expr_unaligned): Likewise.
3063 * function.c (assign_stack_temp_for_type): Likewise.
3064 (put_reg_into_stack, gen_mem_addressof): Likewise.
3065 * ifcvt.c (noce_try_cmove_arith): Likewise.
3066 * reload1.c (reload, alter_reg): Likewise.
3067 * config/alpha/alpha.c (get_aligned_mem): Likewise.
3068 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
3069 (alpha_expand_unaligned_store): Likewise
3070 (alpha_expand_unaligned_load_words): Likewise.
3071 (alpha_expand_unaligned_store_words): Likewise.
3072 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
3073 (alpha_expand_epilogue): Likewise.
3074 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
3075 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
3076 * config/i386/i386.c (legitimize_pic_address): Likewise.
3077 * config/i960/i960.c (setup_incoming_varargs): Likewise.
3078 * config/ia64/ia64.c (spill_restore_mem): Likewise.
3079 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
3080 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
3081 * config/mips/mips.c (mips_va_arg): Likewise.
3082 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
3083 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
3084 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
3085 (setup_incoming_varargs, rs6000_va_arg): Likewise.
3086 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
3087 (rs6000_emit_epilogue): Likewise.
3088 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
3089 * config/sparc/sparc.c (sparc_va_arg): Likewise.
3090 * config/v850/v850.c (v850_va_arg): Likewise.
3091
3092 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
3093
3094 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
3095 when fallthru edge is present.
3096 (mege_blocks): Handle case where creation of jump insn
3097 is required.
3098
3099 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
3100 CLEANUP_POST_REGSTACK): New constants.
3101 * except.c (finish_eh_generation): Update call of cleanup_cfg,
3102 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
3103 * output.h (cleanup_cfg): Update prototype.
3104 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
3105 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
3106 cleanup_cfg call; kill missleading comment.
3107 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
3108 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
3109 parameter; control optimizations performed using it.
3110 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
3111 try_crossjump_bb): New functions.
3112
3113 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3114
3115 * pa.c (pa_output_function_prologue): Delete prototype. Make function
3116 extern.
3117 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
3118 pa_output_function_prologue.
3119 * pa-protos.h (pa_output_function_prologue): New prototype.
3120
3121 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3122
3123 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
3124 and low to get correct sign extension in low+high test.
3125
3126 2001-07-11 Janis Johnson <janis@us.ibm.com>
3127
3128 * gcov.c (arcdata): Use gcov_type to fix branch percentage
3129 for large hit count.
3130
3131 * profile.c (branch_prob): Fix .bbg info for computed gotos
3132 and C++ EH code.
3133
3134 2001-07-11 Mark Mitchell <mark@codesourcery.com>
3135
3136 * stmt.c (parse_output_constraint): New function, split out
3137 from ...
3138 (expand_asm_operands): ... here. Use parse_output_constraint.
3139 * tree.h (parse_output_constraint): Declare it.
3140
3141 2001-07-11 Richard Henderson <rth@redhat.com>
3142
3143 * bitmap.c: Comment some functions; fiddle whitespace.
3144 (bitmap_free): Don't export.
3145 (bitmap_element_allocate): Use memset.
3146 * bitmap.h (bitmap_free): Don't declare.
3147
3148 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
3149
3150 * gcse.c, lcm.c, sched-deps.c:
3151 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
3152
3153 * flow.c (flow_loops_find): Free dom if we found no loops, since
3154 we aren't going to save it.
3155
3156 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
3157 done.
3158
3159 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
3160
3161 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
3162
3163 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3164
3165 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
3166 #ifndef DWARF2_DEBUGGING_INFO.
3167
3168 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
3169
3170 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
3171
3172 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
3173
3174 * config/mips/mips.c (gen_int_relational): Tell the caller not to
3175 reverse a branch if a NE comparison is implemented with GTU.
3176
3177 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
3178 H.J. Lu <hjl@gnu.org>
3179
3180 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
3181 constant addresses.
3182 (call_internal2): Likewise.
3183 (call_value_internal1): Likewise.
3184 (call_value_internal2): Likewise.
3185 (call_value_multiple_internal1): Likewise.
3186 (call_value_multiple_internal2): Likewise.
3187
3188 2001-07-10 Kazu Hirata <kazu@hxi.com>
3189
3190 * calls.c (emit_library_call_value_1): Fix a comment typo.
3191 * dwarf2out.c (mem_loc_descriptor): Likewise.
3192 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
3193
3194 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
3195
3196 * simplify-rtx.c (simplify_subreg): Fix typo in comment
3197
3198 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3199
3200 * recog.c (offsettable_address_p): Handle LO_SUM case.
3201 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
3202 instead of plus_constant.
3203
3204 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3205
3206 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
3207 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
3208
3209 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3210
3211 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
3212 adjust_address_nv instead of plus_constant.
3213
3214 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
3215
3216 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
3217 dwarf2out.o): Depend on debug.h, wrap long lines.
3218 * dbxout.c: Include debug.h.
3219 (dbx_debug_hooks): New.
3220 (dbxout_init): Make static, take just 2 args.
3221 (dbxout_finish): Make static.
3222 * dbxout.h (dbxout_init, dbxout_finish): Delete.
3223 * debug.c: New file.
3224 * debug.h: New file.
3225 * dwarf2out.c: Include debug.h.
3226 (dwarf2_debug_hooks): New.
3227 (dwarf2out_init): Make static.
3228 (dwarf2out_finish): Make static, take 2 args.
3229 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
3230 * dwarfout.c: Include debug.h.
3231 (dwarf_debug_hooks): New.
3232 (dwarfout_init): Make static.
3233 (dwarfout_finish): Make static, take 2 args.
3234 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
3235 * sdbout.c: Include debug.h.
3236 (sdb_debug_hooks): New.
3237 (sdbout_init): Make static, take 2 args.
3238 * sdbout.h (sdbout_init): Delete.
3239 * toplev.c: Include debug.h.
3240 (debug_hooks): New.
3241 (compile_file): Set deubg_hooks based on command line options.
3242 Use the hooks unconditionally rather than conditional compilation.
3243
3244 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
3245
3246 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
3247 first_insn_after_basic_block_note instead.
3248
3249 * df.c (df_bb_refs_unlink): #if 0 out for now.
3250
3251 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
3252
3253 * ssa.h: Add prototype for ssa_const_prop
3254 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
3255 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
3256 (ssa_fast_dce): Remove unused variable
3257
3258 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3259
3260 * diagnostic.c (finish_diagnostic): Rename to
3261 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
3262 calls thourghout.
3263
3264 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
3265
3266 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
3267 .loc support.
3268
3269 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
3270 (dump_file): Only pad the demangled name with spaces if the
3271 mangled name was padded with spaces.
3272
3273 2001-07-10 Bernd Schmidt <bernds@redhat.com>
3274
3275 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
3276 edge detection.
3277
3278 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3279
3280 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
3281 extraction if no direct load if either EXPAND_CONST_ADDRESS or
3282 EXPAND_INITIALIZER.
3283
3284 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
3285 whether can put offset inside LO_SUM to check mode alignment, not size.
3286
3287 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3288
3289 * doc/tm.texi (Misc): Fix thinko.
3290
3291 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
3292
3293 * regmove.c (replace_in_call_usage): Fix warnings.
3294 * sched-deps.c (add_dependence): Fix warnings.
3295 * simplify-rtx.c (simplify_subreg): Likewise.
3296 Return NULL_RTX instead of NULL.
3297
3298 * reg-stack.c (emit_swap_insn): Eliminate warnings.
3299 (subst_asm_stack_regs): Likewise.
3300
3301 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
3302 warnings.
3303
3304 * dwarf2out.c (output_call_frame_info): Declare i as int.
3305 (build_abbrev_table): Declare n_alloc as int.
3306 (dwarf2out_finish): Initialize die.
3307 * except.c: Declare sjlj_funcdef_number as unsigned.
3308 (connect_post_landing_pads): Declare j as unsigned.
3309 (convert_to_eh_region_ranges): Initialize call_site.
3310 (output_function_exception_table): Initialize tt_format_size.
3311 * expr.c (move_by_pieces_1): Initialize to1.
3312 (store_constructor): Initialize minelt and maxelt.
3313 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
3314 * function.c (instantiate_decls): Avoid signed/unsigned warning.
3315
3316 * c-decl.c (combine_parm_decls): Unused, remove.
3317 * c-tree.h: Remove prototype for combine_parm_decls.
3318
3319 * reload.c (push_reload): Fix warning.
3320 (regno_clobbered_p): Likewise.
3321 * reload1.c (replace_pseudos_in_call_usage): Likewise.
3322 (reload_combine): Likewise.
3323
3324 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
3325 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
3326 warnings.
3327 * bitmap.c (bitmap_operation): Change user.
3328 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
3329
3330 2001-07-10 Eric Christopher <echristo@redhat.com>
3331
3332 * config/mips/mips.c (override_options): Fix typo.
3333
3334 2001-07-09 Stan Shebs <shebs@apple.com>
3335
3336 * target.h (struct gcc_target): New fields init_builtins and
3337 expand_builtin.
3338 * target-def.h (TARGET_INIT_BUILTINS): New macro.
3339 (TARGET_EXPAND_BUILTIN): New macro.
3340 (TARGET_INITIALIZER): Add them.
3341 * builtins.c: Include target.h.
3342 (expand_builtin): Use targetm.expand_builtin.
3343 (default_init_builtins): New function.
3344 (default_expand_builtin): New function.
3345 * expr.h (default_init_builtins): Declare.
3346 (default_expand_builtin): Declare.
3347 * c-common.c (c_common_nodes_and_builtins): Use
3348 targetm.init_builtins.
3349 * defaults.h (MD_INIT_BUILTINS): Remove.
3350 * Makefile.in (builtins.o): Depend on target.h.
3351
3352 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
3353 (TARGET_EXPAND_BUILTIN): Define.
3354 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
3355 (MD_EXPAND_BUILTIN): Remove.
3356
3357 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
3358 (TARGET_EXPAND_BUILTIN): Define.
3359 (c4x_init_builtins): Make endlink arg a local.
3360 (c4x_print_operand): Fix typos in adjust_address usages.
3361 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
3362 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
3363 (MD_EXPAND_BUILTIN): Remove.
3364
3365 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
3366 (TARGET_EXPAND_BUILTIN): Define.
3367 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
3368 (ix86_init_builtins): Call new function only if TARGET_MMX.
3369 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
3370 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
3371 (MD_EXPAND_BUILTIN): Remove.
3372
3373 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
3374 (TARGET_EXPAND_BUILTIN): Define.
3375 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
3376 (MD_EXPAND_BUILTIN): Remove.
3377
3378 * doc/tm.texi: Document these changes.
3379
3380 2001-07-09 Diego Novillo <dnovillo@redhat.com>
3381
3382 * basic-block.h (tree_node): Forward declare if needed.
3383 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
3384 (BLOCK_HEAD_TREE): Define.
3385 (BLOCK_END_TREE): Define.
3386 (struct loops): Rename field 'tree' to 'tree_root'.
3387 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
3388 'end_tree'.
3389 (flow_loops_tree_build): Rename reference to field 'tree' to
3390 'tree_root'.
3391 (flow_loops_level_compute): Ditto.
3392 * predict.c (estimate_bb_frequencies): Ditto.
3393 * tree.h (struct tree_common): Add field 'aux'.
3394
3395 2001-07-09 Stan Shebs <shebs@apple.com>
3396
3397 * config/darwin.c (darwin_encode_section_info): Don't mark any
3398 DECL_EXTERNAL node as defined.
3399
3400 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3401
3402 * pa.c (pa_init_machine_status, pa_mark_machine_status,
3403 pa_free_machine_status, hppa_init_pic_save): Delete.
3404 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
3405 (hppa_profile_hook): Use hppa_pic_save_rtx.
3406 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
3407 hppa_init_pic_save): Delete.
3408 (hppa_pic_save_rtx): Declare.
3409 * pa.md (call, call_value, sibcall, sibcall_value,
3410 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
3411
3412 2001-07-09 Kazu Hirata <kazu@hxi.com>
3413
3414 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
3415 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
3416
3417 2001-07-09 Andreas Jaeger <aj@suse.de>
3418
3419 * output.h: Add declaration of final_forward_branch_p.
3420
3421 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
3422
3423 * varray.c: Include errors.h for internal_error and trim_filename
3424 declarations.
3425
3426 * Makefile.in (varray.o): Add errors.h.
3427
3428 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
3429
3430 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
3431 * optabs.c (have_add2_insn): Check whether the add insn chosen
3432 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
3433 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
3434
3435 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
3436
3437 * Makefile.in (OBJS): Add ssa-ccp.o
3438 (ssa-ccp.o): Add dependencies.
3439 * toplev.c (DFI_ssa_ccp): New dump file enum.
3440 (dump_file): Add entry for dumping after SSA CCP.
3441 (flag_ssa_ccp): New flag variable.
3442 (f_options): Add -fssa-ccp.
3443 (rest_of_compilation): Run SSA CCP if requested.
3444 * timevar.def (TV_SSA_CCP): New timevar.
3445 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
3446 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
3447 Fix minor typo in SSA DCE documentation.
3448 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
3449 Add documentation for new dump option. Renumber dump files
3450 appropriately.
3451
3452 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
3453
3454 * emit-rtl.c (gen_highpart_mode): New.
3455 * rtl.h (gen_highpart_mode): Declare.
3456 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
3457 operand can be VOIDmode constant.
3458
3459 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
3460
3461 * flow.c (redirect_edge_and_branch_force): New.
3462 (can_fallthru): Ensure that basic blocks are succeeding.
3463 (try_optimize_cfg): Do not delete basic block if it is the last one.
3464
3465 * flow.c (try_redirect_by_replacing_jump): Do not remove
3466 jumps with side effects, unlink chain on fallthru edge;
3467 set block for new jump instruction; avoid basic block to
3468 over by line number note.
3469
3470 * flow.c (try_simplify_condjump): Verify that the condjump
3471 is not always falling trought.
3472
3473 Re-install patch:
3474 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
3475
3476 * flow.c (forwarder_block_p): Fix for fallthru blocks.
3477 (try_redirect_by_replacing_jump): Update properly the count
3478 and frequency information.
3479
3480 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3481
3482 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
3483 address that is a LO_SUM specially.
3484 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
3485
3486 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
3487
3488 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
3489 (operand_subword): Use them.
3490 (change_address_1): Renamed from change_address; new arg VALIDATE.
3491 * expr.h: Reflect above changes; change_address now macro.
3492 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
3493 making MEM.
3494 * cselib.c (add_mem_for_addr): Likewise.
3495 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
3496 * regmove.c (try_apply_stack_adjustment): Likewise.
3497 * reload.c (push_reload, make_memloc): Likewise.
3498 * reload1.c (eliminate_regs): Likewise.
3499 * simplify-rtx.c (simplify_replace_rtx): Likewise.
3500 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
3501 adjust_addess.
3502 * combine.c (make_extraction, simplify_shift_const): Likewise.
3503 (gen_lowpart_for_combine): Likewise.
3504 * cse.c (gen_lowpart_if_possible): Likewise.
3505 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
3506 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
3507 * optabs.c (gen_move_insn): Likewise.
3508 * reload1.c (alter_reg): Likewise.
3509 * simplify-rtx.c (simplify_subreg): Likewise.
3510 * stmt.c (expand_anon_union_decl): Likewise.
3511 * recog.c (validate_replace_rtx_1): Likewise.
3512 (expr.h): Include.
3513 * Makefile.in (recog.o): Add $(EXPR_H).
3514 * explow.c (stabilize): Call replace_equiv_address.
3515 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
3516 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
3517
3518 2001-07-03 Andrew Haley <aph@redhat.com>
3519
3520 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
3521 the mode of the memory location.
3522
3523 2001-07-09 Bo Thorsen <bo@suse.co.uk>
3524
3525 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
3526
3527 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
3528
3529 * final.c (output_addr_const): Use target opening and
3530 closing parentheses.
3531 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
3532 defaults, add to TARGET_ASM_OUT.
3533 * target.h (struct gcc_target): Add open_paren and close_paren.
3534 * doc/md.texi: Update.
3535 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
3536 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
3537 TARGET_ASM_CLOSE_PAREN.
3538 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
3539 Override.
3540 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
3541 Override.
3542 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
3543 * config/a29k/a29k.h: Similarly.
3544 * config/alpha/alpha.h: Similarly.
3545 * config/arc/arc.h: Similarly.
3546 * config/arm/aof.h: Similarly.
3547 * config/arm/aout.h: Similarly.
3548 * config/avr/avr.h: Similarly.
3549 * config/c4x/c4x.h: Similarly.
3550 * config/clipper/clipper.h: Similarly.
3551 * config/convex/convex.h: Similarly.
3552 * config/d30v/d30v.h: Similarly.
3553 * config/dsp16xx/dsp16xx.h: Similarly.
3554 * config/elxsi/elxsi.h: Similarly.
3555 * config/fr30/fr30.h: Similarly.
3556 * config/h8300/h8300.h: Similarly.
3557 * config/i370/i370.h: Similarly.
3558 * config/i386/i386.h: Similarly.
3559 * config/i860/i860.h: Similarly.
3560 * config/i960/i960.h: Similarly.
3561 * config/ia64/ia64.h: Similarly.
3562 * config/m32r/m32r.h: Similarly.
3563 * config/m68hc11/m68hc11.h: Similarly.
3564 * config/m68k/m68k.h: Similarly.
3565 * config/m88k/m88k.h: Similarly.
3566 * config/mcore/mcore.h: Similarly.
3567 * config/mips/mips.h: Similarly.
3568 * config/mn10200/mn10200.h: Similarly.
3569 * config/mn10300/mn10300.h: Similarly.
3570 * config/ns32k/ns32k.h: Similarly.
3571 * config/pa/pa.h: Similarly.
3572 * config/pdp11/pdp11.h: Similarly.
3573 * config/pj/pj.h: Similarly.
3574 * config/romp/romp.h: Similarly.
3575 * config/rs6000/rs6000.h: Similarly.
3576 * config/sh/sh.h: Similarly.
3577 * config/sparc/sparc.h: Similarly.
3578 * config/v850/v850.h: Similarly.
3579 * config/vax/vax.h: Similarly.
3580 * config/we32k/we32k.h: Similarly.
3581
3582 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
3583
3584 * doc/c-tree.texi: Document representation of attributes.
3585
3586 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
3587
3588 * doc/tm.texi: Update some places for the rename of target to
3589 targetm. Fix typo.
3590
3591 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
3592
3593 * target.h (struct gcc_target): Add insert_attributes.
3594 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
3595 (TARGET_INITIALIZER): Update.
3596 * tree.c, tree.h (default_insert_attributes): New function.
3597 Update comments on other default functions to refer to targetm,
3598 not target.
3599 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
3600 TARGET_INSERT_ATTRIBUTES.
3601 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
3602 * c-common.c (decl_attributes): Use targetm.insert_attributes.
3603 Don't use PRAGMA_INSERT_ATTRIBUTES.
3604 * Makefile.in (c-common.o): Depend on $(TARGET_H).
3605 * c-decl.c (start_decl, start_function): Don't call
3606 SET_DEFAULT_DECL_ATTRIBUTES.
3607 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
3608 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
3609 declare.
3610 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
3611 (c4x_check_attribute): Avoid modifying attribute list itself.
3612 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
3613 Make static.
3614 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
3615 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
3616 declare.
3617 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
3618 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
3619 Make static.
3620 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
3621 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
3622 declare.
3623 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
3624 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
3625 Adjust parameters. Make static.
3626
3627 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
3628
3629 * c-common.c (decl_attributes): Only take a single attributes
3630 parameter.
3631 * c-common.h (decl_attributes): Update prototype.
3632 * c-decl.c (start_decl, start_function): Only take a single
3633 attributes parameter. Update calls to decl_attributes.
3634 (finish_struct, finish_enum): Update calls to decl_attributes.
3635 (push_parm_decl): Expect unified list of attributes. Update call
3636 to decl_attributes.
3637 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
3638 notype_nested_function, component_declarator,
3639 component_notype_declarator, label): Update calls to
3640 decl_attributes.
3641 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
3642 lists that are passed to push_parm_decl.
3643 * c-tree.h (start_function, start_decl): Update prototypes.
3644 * config/sh/sh-protos.h, config/sh/sh.c
3645 (sh_pragma_insert_attributes): Only take a single attributes
3646 parameter.
3647 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
3648 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
3649 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
3650 build_module_descriptor, generate_static_references,
3651 generate_strings, build_selector_translation_table,
3652 generate_descriptor_table, generate_protocols,
3653 generate_ivars_list, generate_dispatch_table,
3654 generate_protocol_list, generate_category,
3655 generate_shared_structures, really_start_method, add_objc_decls,
3656 generate_classref_translation_entry): Update calls to start_decl
3657 and start_function.
3658 (build_tmp_function_decl, start_method_def): Unify attribute lists
3659 that are passed to push_parm_decl.
3660
3661 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
3662
3663 * final.c (no_asm_to_stream): New.
3664 (final_scan_insn): Use target structures for prologue ends
3665 and epilogue starts.
3666 * output.h (no_asm_to_stream): New.
3667 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
3668 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
3669 (TARGET_ASM_OUT): Update.
3670 * target.h (struct gcc_target): New members function_end_prologue
3671 and function_begin_epilogue.
3672 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
3673 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
3674 * config/alpha/alpha.c (output_end_prologue): Rename to
3675 alpha_output_function_end_prologue. Use in target struct
3676 and make static.
3677 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
3678 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
3679 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
3680 ia64_output_function_end_prologue. Use in target struct
3681 and make static.
3682 (ia64_function_prologue, ia64_funciton_epilogue): Rename
3683 mistyped prototypes.
3684 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
3685 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
3686 Delete.
3687 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
3688 an use in target struct, make static.
3689 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
3690 Delete.
3691
3692 2001-07-08 Richard Henderson <rth@redhat.com>
3693
3694 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
3695
3696 2001-07-08 Richard Henderson <rth@redhat.com>
3697
3698 * config/i386/i386.md: Remove constraints strings from define_split
3699 and define_peephole2 patterns.
3700 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
3701 (eh_return): Use them.
3702
3703 2001-07-08 Richard Henderson <rth@redhat.com>
3704
3705 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
3706 Document MD_FALLBACK_FRAME_STATE_FOR.
3707
3708 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3709
3710 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
3711 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
3712 elimination.
3713 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
3714
3715 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
3716
3717 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
3718 of the label inside NAME as opposed to just the end of NAME.
3719
3720 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
3721
3722 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
3723 * config/alpha/alpha.c (alpha_init_machine_status,
3724 alpha_mark_machine_status, alpha_free_machine_status): Delete.
3725 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
3726 (vms_valid_decl_attribute_p): Make static, conditionally compile.
3727 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
3728
3729 2001-07-06 Stan Shebs <shebs@apple.com>
3730
3731 * target.h (targetm): Rename global from "target", so as not to
3732 conflict with local variables.
3733 * c-decl.c: Ditto.
3734 * c-typeck.c: Ditto.
3735 * final.c: Ditto.
3736 * tree.c: Ditto.
3737 * cp/decl.c: Ditto.
3738 * cp/decl2.c: Ditto.
3739 * cp/typeck.c: Ditto.
3740 * 1750a/1750a.c: Ditto.
3741 * a29k/a29k.c: Ditto.
3742 * arc/arc.c: Ditto.
3743 * arm/arm.c: Ditto.
3744 * avr/avr.c: Ditto.
3745 * clipper/clipper.c: Ditto.
3746 * convex/convex.c: Ditto.
3747 * d30v/d30v.c: Ditto.
3748 * dsp16xx/dsp16xx.c: Ditto.
3749 * elxsi/elxsi.c: Ditto.
3750 * fr30/fr30.c: Ditto.
3751 * h8300/h8300.c: Ditto.
3752 * i370/i370.c: Ditto.
3753 * i386/i386.c: Ditto.
3754 * i860/i860.c: Ditto.
3755 * i960/i960.c: Ditto.
3756 * ia64/ia64.c: Ditto.
3757 * m32r/m32r.c: Ditto.
3758 * m68hc11/m68hc11.c: Ditto.
3759 * m68k/m68k.c: Ditto.
3760 * m88k/m88k.c: Ditto.
3761 * mips/mips.c: Ditto.
3762 * ns32k/ns32k.c: Ditto.
3763 * pa/pa.c: Ditto.
3764 * pdp11/pdp11.c: Ditto.
3765 * romp/romp.c: Ditto.
3766 * rs6000/rs6000.c: Ditto.
3767 * sh/sh.c: Ditto.
3768 * sparc/sparc.c: Ditto.
3769 * vax/vax.c: Ditto.
3770 * we32k/we32k.c: Ditto.
3771 * doc/tm.texi: Update the manual to match.
3772
3773 2001-07-06 Richard Henderson <rth@redhat.com>
3774
3775 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
3776 DWARF2_UNWIND_INFO not just whether it is defined.
3777
3778 2001-07-06 Diego Novillo <dnovillo@redhat.com>
3779
3780 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
3781 call to simplify_binary_operation returns a new pattern.
3782
3783 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
3784
3785 * glimits.h (__SHRT_MAX__): New.
3786 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
3787 (SHRT_MAX): Define in terms of __SHRT_MAX__.
3788
3789 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
3790
3791 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
3792 avoid warnings.
3793
3794 2001-07-06 Richard Henderson <rth@redhat.com>
3795
3796 * bitmap.c (bitmap_release_memory): Move adjacent to the
3797 allocation functions.
3798 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
3799 the implementation. Binary search for the set bit.
3800 (bitmap_union_of_diff): Allocate the temporary on the stack
3801 instead of using xmalloc.
3802
3803 2001-07-06 Richard Henderson <rth@redhat.com>
3804
3805 * genrecog.c (validate_pattern): Warn for constraints in
3806 define_{expand,split,peephole2}. Remove strict_low_part
3807 before looking up match_dup.
3808
3809 2001-07-06 DJ Delorie <dj@redhat.com>
3810
3811 * doc/gcc.texi (Makefile): Rename to be a more general purpose
3812 chapter about various build hints and history. Add section
3813 talking about the various types of native and cross builds.
3814
3815 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
3816
3817 * Makefile.in (final.o): Depend on target.h.
3818 * final.c: Include target.h.
3819 (default_function_pro_epilogue): New.
3820 (final_start_function): Use target structure for function prologues.
3821 (final_end_function): Use target structure for function epilogues.
3822 * fold-const.c (real_hex_to_f): Constify s and p.
3823 * output.h (default_function_pro_epilogue): New.
3824 * real.h (real_hex_to_f): Update prototype.
3825 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
3826 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
3827 (TARGET_INITIALIZER): Update.
3828 * target.h (gcc_target): Add struct asm_out.
3829 * doc/tm.texi: Update.
3830
3831 config:
3832 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
3833 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
3834 in cpu/cpu.c, or rename old functions consistently. Take
3835 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
3836 redundant macros and prototypes. Make new functions static.
3837
3838 * 1750a/1750a.c: Similarly.
3839 * 1750a/1750a.h: Similarly.
3840 * a29k/a29k-protos.h: Similarly.
3841 * a29k/a29k.c: Similarly.
3842 * a29k/a29k.h: Similarly.
3843 * arc/arc-protos.h: Similarly.
3844 * arc/arc.c: Similarly.
3845 * arc/arc.h: Similarly.
3846 * arm/arm-protos.h: Similarly.
3847 * arm/arm.c: Similarly.
3848 * arm/arm.h: Similarly.
3849 * avr/avr-protos.h: Similarly.
3850 * avr/avr.c: Similarly.
3851 * avr/avr.h: Similarly.
3852 * clipper/clipper-protos.h: Similarly.
3853 * clipper/clipper.c: Similarly.
3854 * clipper/clipper.h: Similarly.
3855 * convex/convex.c: Similarly.
3856 * convex/convex.h: Similarly.
3857 * d30v/d30v-protos.h: Similarly.
3858 * d30v/d30v.c: Similarly.
3859 * d30v/d30v.h: Similarly.
3860 * d30v/d30v.md: Similarly.
3861 * dsp16xx/dsp16xx-protos.h: Similarly.
3862 * dsp16xx/dsp16xx.c: Similarly.
3863 * dsp16xx/dsp16xx.h: Similarly.
3864 * elxsi/elxsi.c: Similarly.
3865 * elxsi/elxsi.h: Similarly.
3866 * fr30/fr30.c: Similarly.
3867 * fr30/fr30.md: Similarly.
3868 * h8300/h8300-protos.h: Similarly.
3869 * h8300/h8300.c: Similarly.
3870 * h8300/h8300.h: Similarly.
3871 * i370/i370-protos.h: Similarly.
3872 * i370/i370.c: Similarly.
3873 * i370/i370.h: Similarly.
3874 * i386/i386.c: Similarly.
3875 * i386/osf1elf.h: Similarly.
3876 * i386/osfrose.h: Similarly.
3877 * i860/i860-protos.h: Similarly.
3878 * i860/i860.c: Similarly.
3879 * i860/i860.h: Similarly.
3880 * i960/i960-protos.h: Similarly.
3881 * i960/i960.c: Similarly.
3882 * i960/i960.h: Similarly.
3883 * ia64/ia64-protos.h: Similarly.
3884 * ia64/ia64.c: Similarly.
3885 * ia64/ia64.h: Similarly.
3886 * m32r/m32r-protos.h: Similarly.
3887 * m32r/m32r.c: Similarly.
3888 * m32r/m32r.h: Similarly.
3889 * m68hc11/m68hc11-protos.h: Similarly.
3890 * m68hc11/m68hc11.c: Similarly.
3891 * m68hc11/m68hc11.h: Similarly.
3892 * m68k/crds.h: Similarly.
3893 * m68k/dpx2.h: Similarly.
3894 * m68k/m68k-protos.h: Similarly.
3895 * m68k/m68k.c: Similarly.
3896 * m68k/m68k.h: Similarly.
3897 * m68k/news.h: Similarly.
3898 * m88k/m88k-protos.h: Similarly.
3899 * m88k/m88k.c: Similarly.
3900 * m88k/m88k.h: Similarly.
3901 * mips/mips-protos.h: Similarly.
3902 * mips/mips.c: Similarly.
3903 * mips/mips.h: Similarly.
3904 * ns32k/merlin.h: Similarly.
3905 * ns32k/ns32k.c: Similarly.
3906 * ns32k/ns32k.h: Similarly.
3907 * ns32k/tek6000.h: Similarly.
3908 * pa/pa-protos.h: Similarly.
3909 * pa/pa.c: Similarly.
3910 * pa/pa.h: Similarly.
3911 * pdp11/2bsd.h: Similarly.
3912 * pdp11/pdp11-protos.h: Similarly.
3913 * pdp11/pdp11.c: Similarly.
3914 * pdp11/pdp11.h: Similarly.
3915 * romp/romp-protos.h: Similarly.
3916 * romp/romp.c: Similarly.
3917 * romp/romp.h: Similarly.
3918 * rs6000/rs6000-protos.h: Similarly.
3919 * rs6000/rs6000.c: Similarly.
3920 * rs6000/rs6000.h: Similarly.
3921 * rs6000/sysv4.h: Similarly.
3922 * sh/sh-protos.h: Similarly.
3923 * sh/sh.c: Similarly.
3924 * sh/sh.h: Similarly.
3925 * sparc/sparc-protos.h: Similarly.
3926 * sparc/sparc.c: Similarly.
3927 * sparc/sparc.h: Similarly.
3928 * vax/vax.c: Similarly.
3929 * vax/vax.h: Similarly.
3930 * vax/vms.h: Similarly.
3931 * we32k/we32k.c: Similarly.
3932 * we32k/we32k.h: Similarly.
3933
3934 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
3935
3936 * basic-block.h (first_insn_after_basic_block_note): Declare.
3937 * flow.c (first_insn_after_basic_block_note): Define. Moved
3938 from...
3939 * ssa.c (first_insn_after_basic_block_note): Remove.
3940 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
3941 necessary.
3942 (ssa_eliminate_dead_code): Properly update the CFG and PHI
3943 nodes when we find a dead conditional branch. Insert BARRIERs
3944 after any blocks with no successors, but which do not have
3945 any BARRIERs.
3946
3947 2001-07-06 Zack Weinberg <zackw@stanford.edu>
3948
3949 * varray.c (varray_check_failed): Use internal_error.
3950
3951 2001-07-05 Andrew Haley <aph@redhat.com>
3952
3953 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
3954 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
3955 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
3956
3957 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
3958
3959 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
3960 reference if the target constant is also a SYMBOL_REF.
3961
3962 2001-07-05 Eric Christopher <echristo@redhat.com>
3963
3964 * config/mips/mips.h (MASK_MIPS3900): Remove.
3965 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
3966 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
3967 (TARGET_MIPS3900): Change to use mips_arch.
3968 (TARGET_MIPS4000): New.
3969 (TARGET_MIPS4100): New.
3970 (TARGET_MIPS4300): New.
3971 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
3972 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
3973 for -mipsX.
3974 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
3975 (ISA_HAS_BRANCHLIKELY): To here.
3976 (CC1_CPU_SPEC): New.
3977 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
3978 (mips_arch_string): Declare.
3979 (mips_arch): Declare.
3980 (TARGET_OPTIONS): Add -march and -mtune.
3981
3982 * config/mips/mips.c (mips_arch_string): New.
3983 (mips_arch): New.
3984 (override_options): Handle -march for codegen and -mtune
3985 for scheduling. Use mips_arch. Move tx39 target default here.
3986 (mips_parse_cpu): Move error message to override_options.
3987
3988 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
3989
3990 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
3991
3992 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
3993 (MIPS Options): Ditto. Change mcpu entry to historical text.
3994
3995 2001-07-05 H.J. Lu (hjl@gnu.org)
3996
3997 * config/mips/mips.c (mips_parse_cpu): New function to parse
3998 -march=*/-mcpu=*.
3999
4000 2001-07-05 Jim Wilson <wilson@redhat.com>
4001
4002 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
4003 * config/ia64/t-ia64: Likewise.
4004 (LIB1ASMFUNCS): Update comment.
4005
4006 2001-07-05 David Edelsohn <edelsohn@gnu.org>
4007
4008 * doc/install.texi (Install GCC: Binaries): Fix typo.
4009
4010 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4011
4012 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
4013 reference using the stack pointer, adjust it since we push Y
4014 temporarily.
4015 ("*ashrsi3"): Likewise.
4016 ("*lshrsi3"): Likewise.
4017
4018 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4019
4020 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
4021 when -fomit-frame-pointer is used.
4022
4023 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
4024
4025 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
4026 (try_redirect_by_replacing_jump): Reverse updating properly the
4027 count and frequency information. Reverse removing cc0 setter.
4028 (forwarder_block_p): Reverse fixing for fallthru blocks.
4029
4030 2001-07-05 DJ Delorie <dj@redhat.com>
4031
4032 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
4033 (translate_options): If the above is defined, use it to map
4034 given options to new options.
4035 * doc/tm.texi: Document it.
4036
4037 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
4038 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4039
4040 * doc/invoke.texi (Optimize Options): Document that -fgcse may
4041 cause programs using computed gotos to run more slowly.
4042
4043 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4044
4045 * doc/install.texi (Specific): Markup, spelling and typo fixes.
4046 Fixed sorting.
4047 Consistently require binutils 2.11.2, not prereleases.
4048 (Specific, decstation-*): Canonicalize as mips-dec-*.
4049 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
4050 always necessary.
4051 (Specific, m68k-altos): Removed reference to README.altos, deleted.
4052 (Specific, mips-*): Reword MIPS C compiler requirements.
4053 (Specific, powerpc*-*-*): New, mention --with-cpu once.
4054 (Specific, sunv5): Removed, obsolete.
4055
4056 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
4057
4058 * dwarf2out.c (output_loc_list): Use an all ones mask for
4059 .text asm output and don't rely on long long
4060 literals. Reformat some long lines.
4061
4062 2001-07-05 Andreas Jaeger <aj@suse.de>
4063
4064 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
4065 section.
4066
4067 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
4068
4069 * dwarf2out.c (dwarf2out_define): Update comment.
4070 (dwarf2out_undef): Ditto.
4071 (dwarf2out_start_source_file): Ditto.
4072 (dwarf2out_end_source_file): Ditto.
4073 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
4074 since we never call the start/end debug hook for the primary file.
4075
4076 2001-07-04 Kazu Hirata <kazu@hxi.com>
4077
4078 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
4079 from shll.
4080
4081 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
4082
4083 * cppinit.c (remove_dup_dirs): Inform if a system include
4084 directory is being reordered.
4085 * doc/invoke.texi (Directory Options): GCC warns if you hide a
4086 system include.
4087 * doc/cpp.texi (Search Paths): Likewise.
4088 * doc/gcc.texi (Interoperation): Remove information about
4089 -I/usr/include.
4090
4091 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
4092
4093 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
4094 (VARRAY_TOP_CHAR_PTR): Likewise.
4095
4096 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4097
4098 * gcc.c (process_command): Don't assign elements of a const char*.
4099
4100 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4101
4102 * emit-rtl.c (change_address): Don't abort if invalid address while
4103 reload is in progress.
4104
4105 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
4106
4107 * c-lex.c (cb_file_change): Pass line number to
4108 debug_start_source_file.
4109 (cb_undefine): Pass correct line number to debug_undef.
4110
4111 * toplev.c (debug_start_source_file): Add line number to
4112 parameters. Pass it along to dwarf2out_start_source_file.
4113 (decode_g_option): Stop resetting debug level back to normal when
4114 we change debug formats, unless the current level is
4115 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
4116 3).
4117
4118 * toplev.h (debug_start_source_file): Add line number to
4119 parameters.
4120
4121 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
4122 parameters.
4123
4124 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
4125 parameters.
4126 Output debug_macinfo data for starting file if requested.
4127 (dwarf2out_end_source_file): Output debug_macinfo data for ending
4128 file if requested.
4129 (dwarf2out_define): Output debug_macinfo data for defining a macro
4130 if requested.
4131 (dwarf2out_undef): Output debug_macinfo data for undefining a
4132 macro if requested.
4133 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
4134 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
4135 (macinfo_section_label): New. DWARF2 macro info section label.
4136 (dwarf2out_init): If we want macro info, output the start label
4137 for the section.
4138 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
4139 attribute to the compilation unit die pointing to the macro info.
4140
4141 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
4142
4143 * dwarf2out.c (new_loc_list): Move to inside #ifdef
4144 DWARF2_DEBUGGING_INFO.
4145 (add_loc_descr_to_loc_list): Ditto.
4146 (output_loc_list): Ditto.
4147 Also, fix thinko in curr not being initialized.
4148 (gen_internal_sym): Ditto.
4149
4150 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4151
4152 * emit-rtl.c (replace_equiv_address): New function.
4153 * expr.h (replace_equiv_address): New declaration.
4154 * explow.c (validize_mem): Call it instead of change_address and
4155 also call if -fforce-addr and address is constant.
4156 * expr.c: Replace more calls to change_address with adjust_address
4157 and/or replace_equiv_address or to validize_mem.
4158 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
4159 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
4160 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
4161 * config/i370/i370.md, config/i860/i860.md: Likewise.
4162 * config/i960/i960.md, config/mips/mips.c: Likewise.
4163 * config/mips/mips.md, config/pa/pa.md: Likewise.
4164 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
4165 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
4166
4167 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4168
4169 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
4170
4171 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
4172 function.
4173
4174 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
4175
4176 * doc/include: New directory.
4177 * doc/fdl.texi: Move to doc/include/fdl.texi.
4178 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
4179 * doc/include/funding.texi, doc/include/gpl.texi: New files.
4180 * doc/gcc.texi: Use funding.texi and gpl.texi.
4181 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
4182 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
4183 Update dependencies and use -I $(docdir)/include.
4184
4185 2001-07-04 Anthony Green <green@redhat.com>
4186
4187 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
4188
4189 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4190
4191 * doc/install.texi (sparc64-*-*): Remove garbage.
4192
4193 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
4194
4195 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
4196 Fix typo in last change to use adjust_address.
4197
4198 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4199
4200 * doc/install.texi (Specific): Update information for *-*-solaris*.
4201
4202 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4203
4204 * explow.c (plus_constant_wide): Reinitialize Y for restart.
4205
4206 2001-07-03 Stan Shebs <shebs@apple.com>
4207
4208 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
4209 case for flag_no_mach_text_sections.
4210 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
4211 * config/darwin.c (flag_no_mach_text_sections): Remove.
4212 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
4213
4214 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4215
4216 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
4217 and avoid checking for constant as first operand.
4218 * recog.c (find_constant_term_loc): No longer static.
4219 (adj_offettable_operand): Delete.
4220 * rtl.h (adj_offsettable_operand): Delete declaration.
4221 (find_constant_term): Add declaration.
4222 * caller-save.c: Replace calls to adj_offsettable_operand with calls
4223 to adjust_address.
4224 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
4225 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
4226 * config/i386/i386.c, config/i386/i386.md: Likewise.
4227 * config/i860/i860.c, config/i960/i960.c: Likewise.
4228 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
4229 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
4230 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
4231 * config/mips/mips.c, config/mips/mips.md: Likewise.
4232 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
4233 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
4234 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
4235 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
4236 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
4237 * config/ns32k/ns32k.md: Likewise.
4238
4239 2001-07-03 Zack Weinberg <zackw@stanford.edu>
4240
4241 * rtl.c (copy_rtx): Handle 'T' format letter.
4242 * gensupport.c (collect_insn_data): Likewise.
4243 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
4244
4245 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
4246
4247 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
4248 -B option. Use 'dir' not 'foo' as example directory name.
4249
4250 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4251
4252 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4253 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
4254
4255 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
4256
4257 * doc/cppinternals.texi: Improve formatting and logical markup.
4258
4259 2001-07-03 Andreas Jaeger <aj@suse.de>
4260
4261 * Makefile.in (insn-recog.o): Add dependency on reload.h.
4262
4263 * genrecog.c (write_header): Include reload.h for prototypes in
4264 insn-recog.c.
4265
4266 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
4267
4268 config:
4269 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
4270 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
4271 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
4272 i386_pe_valid_type_attribute_p): Add.
4273 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
4274 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
4275
4276 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4277
4278 * explow.c (plus_constant_wide, case LO_SUM): New case.
4279 (plus_constant_for_output_wide): Delete.
4280 * rtl.h (plus_constant_for_output): Delete.
4281 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
4282 instead of plus_constant_for_output.
4283 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
4284 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
4285 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
4286 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
4287 * config/sparc/sparc.md: Likewise.
4288 Convert some change_address calls to adjust_address.
4289
4290 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
4291
4292 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
4293 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
4294 documentation of -std and -Wwrite-strings.
4295
4296 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
4297
4298 * cse.c (canon_hash): Don't register registers in very small
4299 register classes, as extending their lifetime might cause
4300 reload to fail.
4301
4302 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
4303
4304 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
4305
4306 * flow.c (forwarder_block_p): Fix for fallthru blocks.
4307 (try_redirect_by_replacing_jump): Update properly the count
4308 and frequency information.
4309
4310 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
4311
4312 * toplev.c (dump_file_index): Move SSA dumps just after first
4313 jump dump.
4314 (dump_file): Corresponding changes.
4315 (rest_of_compilation): Move SSA path to just after the first
4316 jump pass.
4317 * doc/gcc.texi (Passes): Update due to movement of SSA path.
4318 * doc/invoke.texi: Update dump file #s as they were completely
4319 out of date with reality.
4320
4321 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
4322
4323 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
4324
4325 * expr.c (emit_move_insn_1): Deal with non-default
4326 STACK_PUSH_CODE.
4327
4328 * expr.c (emit_single_push_insn): Fix warning.
4329
4330 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4331
4332 * expr.c (emit_move_insn_1): Avoid modifying
4333 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
4334
4335 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4336
4337 * emit-rtl.c (adjust_address): New function.
4338 * expr.h (adjust_address): Add declaration.
4339 * builtins.c: Replace some calls to change_address with calls to it
4340 or to validize_mem.
4341 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
4342 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
4343 * config/arm/arm.c, config/convex/convex.c: Likewise.
4344 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
4345 * config/i386/i386.c, config/i386/i386.md: Likewise.
4346 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
4347 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
4348 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
4349 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
4350 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
4351
4352 2001-07-02 Jim Wilson <wilson@redhat.com>
4353
4354 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
4355
4356 2001-07-02 Steve Ellcey <sje@cup.hp.com>
4357
4358 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
4359 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
4360
4361 2001-07-02 Zack Weinberg <zackw@stanford.edu>
4362
4363 * cppinit.c (lang_defaults): New table.
4364 (set_lang): Just read from lang_defaults into the live options
4365 structure.
4366
4367 2001-07-02 Zack Weinberg <zackw@stanford.edu>
4368
4369 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
4370 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
4371 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
4372
4373 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4374
4375 * doc/install.texi: Various spelling and markup fixes.
4376 (Installing GCC): Component specific installation instructions are
4377 gone.
4378 Fix reference.
4379 Warn about removing old install dir in the presence of shared libs.
4380 (Configuration): Invoke with options target to match configure
4381 --help.
4382 Consistently refer to gas, gld pathnames.
4383 Invert --enable-multilib documentation.
4384 Remove references to old compiler versions.
4385
4386 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4387
4388 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
4389
4390 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4391
4392 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
4393 section.
4394 (Specific, mips*-sgi-irix5): Note IDO download.
4395 Reworded MIPS C hints.
4396 Use GNU as instead of GAS.
4397 Markup fixes.
4398 Removed SGI Freeware reference, IRIX 6 only.
4399 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
4400 Note N64 library requirement/workaround.
4401 Update O32 hints.
4402 Complete list of structure passing bug victims.
4403
4404 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4405
4406 * doc/install.texi: Remove CVS Id.
4407
4408 2001-07-02 Andreas Jaeger <aj@suse.de>
4409
4410 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
4411 (find_inherently_necessary): Remove unused variable.
4412
4413 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
4414
4415 * c-common.h (TDI_inlined): New ast dump phase.
4416 (dump_flag_name): New function.
4417 * c-dump.c (dump_files): Add inlined phase.
4418 (dump_flag_name): Define.
4419 * doc/invoke.texi (-fdump-ast-inlined): Document.
4420
4421 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4422
4423 * stor-layout.c (layout_decl): Revert change to handling of alignment
4424 in packed types.
4425
4426 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4427
4428 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
4429 for FIELD_DECL.
4430
4431 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
4432
4433 * doc/tm.texi (FUNCTION_ARG): Document that the last call
4434 is special.
4435
4436 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
4437
4438 * tlink.c (recompile_files): Remove COMPILER_PATH and
4439 LIBRARY_PATH from the environment.
4440
4441 2001-07-01 Zack Weinberg <zackw@stanford.edu>
4442
4443 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
4444 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
4445 enumerators.
4446 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
4447
4448 * c-parse.in (OBJC_STRING): Kill.
4449 (objc_string): Decompose to [objc_string] '@' STRING.
4450 (reswords): Take the leading '@' off all the Objective C keywords.
4451 (objc_rid_sans_at): Kill.
4452 (init_reswords): Don't initialize it.
4453 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
4454 (_yylex): Kill reconsider label. Look ahead one token after
4455 an '@'; if we get an identifier, check whether it's an
4456 Objective C @-keyword. If so, return the keyword. Otherwise,
4457 put back the token and return the '@' as a terminal.
4458
4459 * cpplib.c (lex_macro_node): Remove unnecessary check for
4460 leading '@' on identifier. Clarify control flow and commentary.
4461
4462 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4463
4464 * cse.c (new_label_ref): Variable deleted.
4465 (insert): Remove set of new_label_ref.
4466 (check_for_label_ref): New function.
4467 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
4468
4469 See ChangeLog.5 for earlier changes.