1 2001-09-05 Zack Weinberg <zack@codesourcery.com>
3 * function.c (ggc_mark_struct_function): Mark f->outer.
4 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
5 * integrate.c (output_inline_function): ... not here.
7 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
11 * i386.c (size_cost): New static variable.
12 (override_function): Use size_cost when -Os is specified.
14 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
15 properly; Use current_function_calls_eh_return.
16 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
17 use leave to avoid depdendancy chain.
19 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
20 get BB loop_depth instead of computing it from LOOP notes.
22 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
24 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
26 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
27 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
28 UNALIGNED_DOUBLE_INT_ASM_OP): Define
30 2001-09-05 Jeffrey A Law (law@cygnus.com)
31 Jason Merrill (jason@redhat.com)
33 * stor-layout.c (layout_type): Complain if an array's size can
34 not be represented in a size_t.
36 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
38 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
40 * gcc.c: (process_command) Add parentheses around assignment
43 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
45 * config/mips/mips.c (save_restore_insns): Don't mark any register
46 save slots as unchanging if current_function_calls_eh_return.
48 2001-09-05 Richard Henderson <rth@redhat.com>
50 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
51 * config/alpha/alpha-protos.h: Declare it.
52 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
53 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
54 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
55 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
56 (REG_OK_FOR_BASE_P): Select one of the above.
58 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
60 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
61 (crti.o): Prefix name of object file with $(T).
64 2001-09-05 David S. Miller <davem@redhat.com>
66 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
67 * config/sparc/linux64.h: Likewise.
69 2001-09-05 Andreas Jaeger <aj@suse.de>
71 * doc/invoke.texi (i386 Options): -mwide-multiply is not
72 available anymore, remove the documentation.
73 (i386 Options): Fix typo, cleanup index entries.
75 * prefix.c (concat): Remove, we can use the version from liberty.
77 2001-09-05 Richard Henderson <rth@redhat.com>
79 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
80 New functions split out of md file expanders.
81 * config/alpha/alpha-protos.h: Declare them.
82 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
84 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
86 * cppmacro.c (funlike_invocation_p): No need to restore context.
88 2001-09-04 Richard Henderson <rth@redhat.com>
90 * reload.c (push_reload): Export.
91 * reload.h (push_reload): Declare it.
93 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
94 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
95 * config/alpha/alpha.c (alpha_legitimize_address): New.
96 (alpha_legitimize_reload_address): Likewise.
97 * config/alpha/alpha-protos.h: Declare them.
99 2001-09-04 Stan Shebs <shebs@apple.com>
101 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
102 * config/darwin.c (machopic_stub_name): Account for internally
103 generated lib calls such as memcpy.
105 2001-09-04 Richard Henderson <rth@redhat.com>
107 * unwind.h (_UA_END_OF_STACK): New flag.
108 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
110 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
112 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
114 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
116 * config/mips/mips.c (save_restore_insns): Change base_offset to
117 fp_offset in second call to mips_emit_frame_related_store.
119 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
121 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
122 sometimes be represented as a NOTE of type
123 NOTE_INSN_DELETED_LABEL.
124 (Insns): Document NOTE_INSN_DELETED_LABEL.
126 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
128 * c-common.h (tree_dump_index): Add more comments.
129 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
130 (dump_option_value_info): New struct.
131 (dump_options): New array.
132 (dump_switch_p): Parse switch options symbolically.
133 * doc/invoke.texi (-fdump-ast): Rename to ...
134 (-fdump-tree): ... here. Document that options are symbolic, and
135 not all are applicable.
137 2001-09-04 David S. Miller <davem@redhat.com>
139 * config/sparc/sparc.md (define_splits): Kill constraints.
141 Cleanup redundant and unused insn attributes.
142 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
143 binary, and move. Mark ialu as default.
144 (commented out define_function_unit "alu"): Kill.
145 (define_attr "use_clobbered"): Kill.
146 (whole file): Kill address insn type references. Replace
147 all unary/binary/move references with ialu.
148 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
149 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
152 Simplify length insn attribute and make more judicious use
153 of insn attribute defaulting.
154 * config/sparc/sparc.md (all insns with length > one): Mark as
155 insn type multi if real instructions, else use default if
156 it is a forced splitter.
157 (all insns with length == one): Use default insn length.
158 (all insns of type ialu): Use default insn type.
160 Fix erroneous insn attribute settings.
161 (addx): Set insn type to misc.
162 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
163 const_umulsidi3_sp64): Set insn type to imul.
165 Track SFmode vs DFmode insns according to UltraSPARC
167 * config/sparc/sparc.md ("fptype"): New attribute, default
169 (all DFmode single insns): Mark as fptype "double".
171 2001-09-03 Jakub Jelinek <jakub@redhat.com>
173 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
175 2001-09-03 Richard Henderson <rth@redhat.com>
177 * function.h (struct function): Add arg_pointer_save_area_init.
178 * function.c (expand_function_end): Init arg_pointer_save_area.
179 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
180 when called from a nested function.
182 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
184 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
187 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
189 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
191 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
193 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
194 (emit_push_insn): Use specified padding direction when
195 STACK_PUSH_CODE is POST_INC.
197 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
199 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
203 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
205 * cppinit.c (cpp_start_read): Free the imacros list as we
206 traverse it. Don't free the chains before returning.
207 (_cpp_push_next_buffer): Only try pushing buffers if we've
208 completed -imacros handling.
210 2001-08-31 Eric Christopher <echristo@redhat.com>
212 * gcc.c (handle_braces): Add explaination for abort.
214 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
216 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
217 move adjustment of bitpos instead.
219 2001-08-31 Zack Weinberg <zack@codesourcery.com>
221 * function.c: Remove all_functions. Make outer_function_chain
223 (init_function_start): Don't add new function structure to
225 (find_function_data, push_function_context_to,
226 pop_function_context_from, put_var_into_stack,
227 trampoline_address): Update for changed structure element names.
228 (push_function_context_to): Disentangle.
229 (free_after_compilation): Also free F.
230 (expand_dummy_function_end): Don't free cfun here.
231 (put_var_into_stack): Comment why we can't use find_function_data here.
232 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
233 (mark_function_chain): Split into maybe_mark_struct_function and
234 ggc_mark_struct_function. Export the latter.
235 (init_function_once): Mark from cfun and outer_function_chain;
238 * function.h (struct function): Kill next_global. Rename next
239 to outer. All users updated to match.
240 (all_functions, outer_function_chain): Don't declare.
242 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
243 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
244 don't touch f->inlinable, after calling rest_of_compilation.
246 * tree.h: Forward-declare struct function. Prototype
247 ggc_mark_struct_function.
249 2001-08-31 Kazu Hirata <kazu@hxi.com>
251 * config/h8300/h8300.md (*andorhi3): Fix typos.
253 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
255 * calls.c (emit_library_call_value): Don't use a fixed
256 argument after VA_CLOSE, i.e. out of scope in traditional C.
258 * emit-rtl.c (gen_rtvec): Likewise.
260 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
262 * Makefile.in (c-pragma.o): Depend on output.h.
263 (reorg.o): Depend on except.h.
265 * c-pragma.c: Include output.h.
267 * reorg.c: Include except.h.
269 * unwind-dw2.c: Call __builtin_alloca, not alloca.
271 2001-08-31 Richard Henderson <rth@redhat.com>
273 * sched-deps.c (add_dependence): Don't elide dependancy if the
274 conditional used by insn is modified in elem.
276 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
278 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
280 2001-08-31 Diego Novillo <dnovillo@redhat.com>
282 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
285 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
287 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
289 (stormy16_asm_out_constructor): New function.
290 (TARGET_ASM_CONSTRUCTOR): Define.
291 (TARGET_ASM_DESTRUCTOR): Define.
293 2001-08-31 Andreas Jaeger <aj@suse.de>
295 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
296 * loop.c (add_label_notes): Likewise.
297 * reload.c (find_reloads): Likewise.
298 * config/sh/sh.c (machine_dependent_reorg): Likewise.
300 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
302 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
303 code here. Take _Unwind_{W,Sw}ord*.
304 (read_encoded_value_with_base): Use them.
305 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
307 (extract_cie_info): Simplify read_?leb128 handling.
308 (execute_stack_op, execute_cfa_program): Likewise.
309 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
311 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
313 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
314 the frame pointer to pop the stack if convenient.
316 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
317 Don't use post-increment before combine.
318 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
319 a call-saved register.
321 2001-08-31 Andreas Jaeger <aj@suse.de>
323 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
326 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
328 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
329 not DIV/MOD, of course.
331 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
333 * rtl.def: Undo my patch commited 2001-08-27.
335 * genattrtab.c: Ditto.
339 * sched-int.h: Ditto.
341 * target-def.h: Ditto.
345 * haifa-sched.c: Ditto.
347 * sched-rgn.c: Ditto.
349 * sched-vis.c: Ditto.
351 * Makefile.in: Ditto.
353 * doc/md.texi: Ditto.
355 * doc/tm.texi: Ditto.
357 * doc/contrib.texi: Ditto.
359 * doc/gcc.texi: Ditto.
361 * genattrtab.h: Remove it.
363 * genautomata.c: Remove it.
365 * genattr.c: Undo my patch and Richard Henderson's patch commited
368 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
370 * config.gcc (h8300-*-elf*): New case.
371 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
372 (SUBTARGET_CPP_SPEC): Define.
373 (EXTRA_SPECS): Define.
374 (SUBTARGET_EXTRA_SPECS): Define.
375 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
376 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
378 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
380 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
381 (LIB2FUNCS_EXTRA): Define.
382 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
383 config/h8300/fixunssfsi.c: New file.
385 2001-08-30 Kazu Hirata <kazu@hxi.com>
387 * config/h8300/h8300.md (zero_extendqihi2): Changes to
388 define_expand to accomodate target-specific attributes.
389 (anonymous zero_extendqihi2 patterns): New.
391 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
393 * h8300.md (*andorhi3): New pattern.
395 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
397 * h8300.c (dosize): Fix test for "sub".
399 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
401 * c-typeck.c (pointer_diff): Try to eliminate common term before
404 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
406 * config/arm/arm.c (arm_compute_initial_elimination_offset):
407 Account for the saves of the FP registers.
409 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
410 (TEXT_SECTION_ASM_OP): Define.
411 (INIT_SECTION_ASM_OP): Define.
412 (FINI_SECTION_ASM_OP): Define.
413 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
414 (RDATA_SECTION_FUNCITON): Provide prototype.
416 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
418 * reload1.c (move2add_note_store): Correct typo checking for
421 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
423 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
424 note should not be considered outside the libcall block.
426 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
428 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
430 2001-08-29 Kazu Hirata <kazu@hxi.com>
432 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
434 2001-08-29 Kazu Hirata <kazu@hxi.com>
436 * config/h8300/h8300-protos.h: Add a prototype for
438 * config/h8300/h8300.c (emit_logical_op): New.
439 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
446 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
448 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
449 comparison with rtx INTVAL.
450 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
452 * pa.h (FUNCTION_ARG_SIZE): Likewise.
454 2001-08-29 Kazu Hirata <kazu@hxi.com>
456 * config/h8300/lib1funcs.asm: Update the copyright. Fix
459 2001-08-29 Kazu Hirata <kazu@hxi.com>
461 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
462 (reg n) to (mem (pre_dec (reg n))
463 (anonymous movsi pattern): Likewise.
465 2001-08-29 Kazu Hirata <kazu@hxi.com>
467 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
469 2001-08-29 Kazu Hirata <kazu@hxi.com>
471 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
472 several special constants.
474 2001-08-29 Kazu Hirata <kazu@hxi.com>
476 * config/h8300/lib1funcs.asm: Fix comment typos.
478 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
480 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
481 Fix format specifier warnings.
483 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
484 inet_makeaddr, semctl): Prototype.
486 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
487 (save_restore_insns): Use base_offset, not gp_offset.
489 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
490 (ASM_OUTPUT_BYTE): Fix format specifier warning.
492 2001-08-29 Richard Henderson <rth@redhat.com>
494 * bb-reorder.c (function_tail_eff_head): New.
495 (record_effective_endpoints): Set it.
496 (fixup_reorder_chain): Use it.
498 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
500 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
502 2001-08-28 Dale Johannesen <dalej@apple.com>
504 * config/darwin.c (machopic_function_base_name): Add const
505 qualifier to a string.
506 (darwin_encode_section_info): Ditto.
508 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
510 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
513 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
515 * df.h (struct df): Add rts_order variable.
517 * df.c (df_visit_next_rts): New function.
518 (df_visit_next): Renamed to df_visit_next_rc
519 (df_analyse_1): Allocate/compute/free rts_order as well.
520 (df_rd_global_compute): Use df_visit_next_rc instead of
522 (df_ru_global_compute): Use df_visit_next_rts instead of
525 * flow.c (flow_reverse_top_sort_order_compute): New function.
527 * basic-block.h: Add prototype.
529 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
531 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
532 blocks, the BB_REACHABLE is now set, rather than aux being
533 non-NULL. Update the test to reflect this.
535 2001-08-28 Eric Christopher <echristo@redhat.com>
537 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
538 config/mips/crti.asm: Ditto.
540 2001-08-28 Eric Christopher <echristo@redhat.com>
541 Richard Henderson <rth@redhat.com>
543 * c-pragma.h (add_weak): Move prototype from here...
544 * output.h (add_weak): ... to here.
545 * varasm.c (add_weak): Fix typo.
546 * config/mips/crti.asm: New file.
547 * config/mips/crtn.asm: Ditto.
548 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
549 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
550 (INVOKE__main): Ditto.
551 (INIT_SECTION_ASM_OP): New.
552 (FINI_SECTION_ASM_OP): Ditto.
553 (STARTFILE_SPEC): Add crti.
554 (ENDFILE_SPEC): Add crtn.
555 * config/mips/elf64.h: Same.
556 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
558 * config/mips/vxworks.h: Ditto.
559 * config/mips/t-elf: Support crti and crtn.
561 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
563 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
566 2001-08-28 Richard Henderson <rth@redhat.com>
568 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
569 (one_cmplbi2 splitter): Remove redundant test.
571 2001-08-28 Dale Johannesen <dalej@apple.com>
573 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
575 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
577 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
579 2001-08-28 Stan Shebs <shebs@apple.com>
581 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
582 (UNALIGNED_SHORT_ASM_OP): Define.
583 (UNALIGNED_INT_ASM_OP): Define.
585 2001-08-28 Will Cohen <wcohen@redhat.com>
587 * config/rs6000/rs6000.md (store_multiple): Correct RTL
588 generation for first set.
590 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
592 * flow.c (redirect_edge_succ_nodup): Return new edge.
593 (try_simplify_condjump): Use new edge.
594 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
596 * cse.c (cse_basic_block): Skip note instructions.
598 2001-08-27 Richard Henderson <rth@redhat.com>
600 * combine.c (combine_simplify_rtx): Don't reverse condition
601 if there is no reverse for the condition.
602 (simplify_comparison): Don't simplify subregs from INT to FP.
604 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
605 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
606 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
607 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
608 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
609 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
611 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
613 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
614 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
616 (adddi_dilshr32, adddi_dishl32): Only data register can be
617 source for mem destination.
619 * expmed.c (store_bit_field): Ignore adjustment to bitpos
620 and use bitnum to decide about register move.
622 2001-08-27 Richard Henderson <rth@redhat.com>
624 * genattr.c (main): Emit state_t even when not doing scheduling.
626 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
627 Richard Henderson <rth@redhat.com>
629 * gcse.c (reg_first_set, reg_last_set): Replace with ...
630 (reg_avail_info, current_bb): ... these.
631 (oprs_unchanged_p, record_last_reg_set_info): Use them.
632 (compute_hash_table): Likewise.
634 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
636 * flow.c (verify_flow_info): Use checksums to verify edges.
638 2001-08-27 Richard Henderson <rth@redhat.com>
640 * genautomata.c (expand_automata): Always create a description.
642 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
644 * optabs.c (expand_binop): Correctly handle the carry in multiword
645 add/subtract operations.
647 2001-08-27 Fred Fish <fnf@be.com>
649 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
652 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
654 * reload.c (find_reloads_toplev): Back out this change:
656 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
658 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
659 mem if the address is a mode_dependent_address_p.
661 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
663 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
664 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
665 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
668 * genattr.c (main): New variable num_insn_reservations. Increase
669 it if there is DEFINE_INSN_RESERVATION. Output automaton based
670 pipeline hazard recognizer interface.
672 * genattrtab.h: New file.
674 * genattrtab.c: Include genattrtab.h.
675 (attr_printf, check_attr_test, make_internal_attr,
676 make_numeric_value): Move protypes into genattrtab.h. Define them
678 (num_dfa_decls): New global variable.
679 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
680 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
681 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
682 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
684 * genautomata.c: New file.
686 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
688 * sched-int.h: (curr_state): Add the external definition for
689 automaton pipeline interface.
690 (haifa_insn_data): Add comments for members blockage and units.
692 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
693 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
694 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
695 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
696 TARGET_SCHED_DFA_POST_CYCLE_INSN,
697 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
698 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
700 (TARGET_SCHED): Use the new macros.
702 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
703 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
704 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
705 dfa_bubble): New members in gcc_target.sched.
707 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
708 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
709 (insn_queue): Redefine it as pointer to array.
710 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
712 (max_insn_queue_index_macro_value): New variable.
713 (curr_state, dfa_state_size, ready_try): New varaibles for
715 (ready_element, ready_remove, max_issue): New function prototypes
716 for automaton interface.
717 (choose_ready): New function prototype.
718 (insn_unit, blockage_range): Add comments.
719 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
720 FUNCTION_UNITS_SIZE == 0.
721 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
722 actual_hazard, potential_hazard): Add comments.
723 (insn_cost): Use cost -1 as undefined value. Remove
724 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
726 (ready_element, ready_remove): New functions for automaton
728 (schedule_insn): Add new code for automaton pipeline interface.
729 (queue_to_ready): Add new code for automaton pipeline interface.
730 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
731 (debug_ready_list): Print newline when the queue is empty.
732 (max_issue): New function for automaton pipeline interface.
733 (choose_ready): New function.
734 (schedule_block): Add new code for automaton pipeline interface.
735 Print ready list before scheduling each insn.
736 (sched_init): Add new code for automaton pipeline interface.
737 Initiate insn cost by -1.
738 (sched_finish): Free the current automaton state and finalize
739 automaton pipeline interface.
741 * sched-rgn.c: Include target.h.
742 (init_ready_list, new_ready, debug_dependencies): Add new code for
743 automaton pipeline interface.
745 * sched-vis.c: Include target.h.
746 (get_visual_tbl_length): Add code for automaton interface.
747 (target_units, print_block_visualization): Add comments.
749 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
750 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
751 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
752 (getruntime.o, genautomata.o): New entries.
753 (genattrtab.o): Add new dependency file genattrtab.h.
754 (genattrtab): Add new dependencies. Link it with `libm.a'.
755 (getruntime.o, hashtab.o): New entries for canadian cross.
757 * doc/md.texi: Description of automaton based model.
759 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
761 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
762 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
763 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
764 TARGET_SCHED_DFA_POST_CYCLE_INSN,
765 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
766 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
767 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
769 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
770 MAX_DFA_ISSUE_RATE): New macro descriptions.
772 * doc/contrib.texi: Add dfa based scheduler contribution.
774 * doc/gcc.texi: Add more information about genattrtab.
776 2001-08-27 Diego Novillo <dnovillo@redhat.com>
778 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
781 2001-08-27 Richard Henderson <rth@redhat.com>
783 * function.c (expand_function_end): Don't init arg_pointer_save_area.
784 (get_arg_pointer_save_area): New. Create an init it here.
785 (fix_lexical_addr): Use it.
786 * function.h: Declare it.
787 * builtins.c (expand_builtin_setjmp_receiver): Use it.
788 * stmt.c (expand_nl_goto_receiver): Use it.
790 2001-08-27 Richard Henderson <rth@redhat.com>
792 * final.c (final_scan_insn): Don't enter APP_ON mode for
795 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
796 alignment for assemble_integer for DW_EH_PE_aligned.
797 * except.c (output_function_exception_table): Likewise.
799 2001-08-26 Andreas Jaeger <aj@suse.de>
801 * c-tree.h: Add prototyp for c_sizeof_nowarn.
803 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
805 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
807 2001-08-27 Alan Modra <amodra@bigpond.net.au>
809 * config/rs6000/rs6000.c (mask_operand): Rewrite without
811 (mask64_operand): Likewise.
812 (rldic_operand): Delete.
813 (includes_lshift64_p): Delete.
814 (includes_rldic_lshift_p): New function.
815 (includes_rldicr_lshift_p): New function.
816 (print_operand): Don't call rldic_operand in case 'W'.
817 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
818 (includes_lshift64_p): Remove.
819 (includes_rldic_lshift_p): Declare.
820 (includes_rldicr_lshift_p): Declare.
821 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
822 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
823 Replace match_operand rldic_operand predicate with
824 const_int_operand. Replace includes_lshift64_p condition with
825 includes_rldic_lshift_p.
826 <ashldi3_internal 64 bit rldicr patterns>: New.
828 2001-08-27 Andreas Jaeger <aj@suse.de>
830 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
831 * errors.c: Likewise.
833 * dwarf2asm.c: Likewise.
834 * doprint.c (checkit): Likewise.
835 * diagnostic.c: Likewise.
836 * collect2.c: Likewise.
838 * c-semantics.c (build_stmt): Likewise.
839 * c-format.c (status_warning): Likewise.
840 * c-errors.c (pedwarn_c99): Likewise.
841 * builtins.c (validate_arglist): Likewise.
842 * config/pj/pj.c (pj_printf): Likewise.
843 * fix-header.c: Likewise.
845 * gcov.c (fnotice): Likewise.
846 * gensupport.c (message_with_line): Likewise.
847 * mips-tfile.c: Likewise.
848 * protoize.c (notice): Likewise.
849 * read-rtl.c (fatal_with_file_and_line): Likewise.
850 * rtl-error.c: Likewise.
851 * tradcpp.c: Likewise.
853 * cp/tree.c (build_min_nt): Likewise.
854 (build_min): Likewise.
855 * cp/lex.c: Likewise.
856 * cp/errfn.c: Likewise.
857 * cp/rtti.c (create_pseudo_type_info): Likewise.
859 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
861 * df.c (df_uses_record): Return after recording all uses
864 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
866 * df.c (df_insn_modify): Realloc the INSN table here, if
867 necessary, here, too.
869 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
871 * config/mips/mips.c (mips_function_value): Handle complex return
874 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
876 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
878 * reload.c (make_memloc): Copy result if it is still
879 reg_equiv_memory_loc[regno] on return.
880 (subst_reloads) [ENABLE_CHECKING]: Check that none of
881 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
882 reg_equiv_mem are modified by the substitutions.
884 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
886 * predict.c (expensive_function_p): New.
887 * rtl.h (expensive_function_p): Declare.
888 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
889 (use_fast_prologue_epilogue): New static variable.
890 (expand_prologue): Set it; emit short prologues if unset.
891 (expand_epilogue): Likewise.
893 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
895 * config.gcc: Add stormy16-*-elf case.
896 * config/stormy16/stormy-abi: New file.
897 * config/stormy16/stormy16-lib2.c: New file.
898 * config/stormy16/stormy16-protos.h: New file.
899 * config/stormy16/stormy16.c: New file.
900 * config/stormy16/stormy16.h: New file.
901 * config/stormy16/stormy16.md: New file.
902 * config/stormy16/t-stormy16: New file.
904 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
906 * i386.h (no-accumulate-outgoing-args): Use proper mask.
908 2001-08-24 David Edelsohn <edelsohn@gnu.org>
910 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
911 descriptor members are pointer size, not constant 4.
912 * config/rs6000/rs6000.md (define_splits): Remove more unused
915 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
917 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
919 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
921 * cp/rtti.c (VPARAMS): Fix parameter.
923 2001-08-24 Zack Weinberg <zackw@panix.com>
925 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
927 (mode_for_extraction): No need for #ifdefs. Add default-case abort
929 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
930 in if controlling use of insv.
931 (extract_bit_field): Likewise, for extv and extzv.
933 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
935 * i386.md (movcc peep2): Fix load of 0.
937 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
939 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
940 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
942 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
944 * c-pragma.h: Move weak_syms and weak_decls...
945 * varasm.c: ...here. Now static.
946 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
947 depend on HANDLE_PRAGMA_WEAK.
949 * c-common.c (c_alignof, c_alignof_expr): Move here...
950 * c-typeck.c: ...from here.
951 * c-tree.h, c-common.h: Adjust.
953 2001-08-23 Bernd Schmidt <bernds@redhat.com>
955 * config/ia64/ia64.c (rws_update): If !pred, set write_count
956 instead of incrementing it.
958 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
959 asm ready, don't try to move them all into the same array element.
961 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
963 * function.c (thread_prologue_and_epilogue_insns): Avoid
964 fallthru flag on edge to exit.
966 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
968 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
971 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
973 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
974 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
975 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
978 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
980 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
981 replace "GNU CC" with "GCC".
983 2001-08-23 Richard Henderson <rth@redhat.com>
985 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
986 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
987 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
988 Need GR between FR and not GR_AND_FR.
989 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
990 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
991 AR regs before GR regs.
992 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
993 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
994 (REGISTER_MOVE_COST): Update.
995 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
997 2001-08-23 Richard Henderson <rth@redhat.com>
999 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
1002 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
1004 * reload1.c (emit_reload_insns): Don't look for notes
1005 on a NULL store_insn.
1007 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1009 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
1010 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
1011 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
1012 format specifier warnings.
1013 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
1015 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
1017 * config/i386/i386-protos.h: Correct declaration of
1018 i386_pe_asm_named_section.
1020 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
1022 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
1024 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
1026 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
1028 * cpperror.c (print_location): Don't show _Pragma.
1029 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
1030 and file change callback generation here.
1031 (stack_include_file): Update use of cpp_push_buffer.
1032 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
1033 (struct cpp_buffer): Remove type, pfile members.
1034 * cppinit.c (cpp_handle_option): Use free_chain.
1035 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
1036 (skip_escaped_newlines, get_effective_char, lex_percent): Take
1037 a cpp_reader rather than a cpp_buffer.
1038 (skip_escaped_newlines, get_effective_char, skip_block_comment,
1039 skip_line_comment, parse_string, lex_percent, lex_dot,
1040 _cpp_lex_token): Update accordingly.
1041 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
1043 (cpp_push_buffer): Update prototype.
1044 (run_directive): Update use of cpp_push_buffer.
1045 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
1046 handle_assertion): Update use of run_directive.
1047 * cpplib.h (enum cpp_buffer_type): Remove.
1048 (cpp_push_buffer): Update prototype.
1049 * fix-header.c (read_scan_file): Update.
1051 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1053 * gcc.c (struct prefix_list): Change prefix to const char *.
1055 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1057 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
1059 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
1061 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
1064 * jump.c (squeeze_notes): Take parms by reference. Handle END being
1067 * ifcvt.c (dead_or_predicable): Adjust.
1068 * loop.c (find_and_verify_loops): Adjust.
1069 * stmt.c (expand_end_case): Adjust.
1070 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
1071 head and end insn pointers in the basic block, not just local copies.
1072 (merge_blocks_move_predecessor_nojumps): Likewise.
1074 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
1076 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
1077 bitmap.h, builtin-types.def, builtins.c, builtins.def,
1078 c-aux-info.c, c-common.c, c-common.def, c-common.h,
1079 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
1080 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
1081 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
1082 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
1083 conditions.h, config.gcc, configure.frag, configure.in,
1084 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
1085 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
1086 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
1087 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
1088 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
1089 emit-rtl.c, errors.c, errors.h, except.c, except.h,
1090 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
1091 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
1092 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
1093 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
1094 gencheck.c, gencodes.c, genconfig.c, genemit.c,
1095 genextract.c, genflags.c, gengenrtl.c, genmultilib,
1096 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
1097 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
1098 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
1099 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
1100 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
1101 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
1102 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
1103 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
1104 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
1105 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
1106 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
1107 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
1108 params.h, predict.c, predict.def, predict.h, prefix.c,
1109 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
1110 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
1111 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
1112 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
1113 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
1114 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
1115 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
1116 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
1117 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
1118 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
1119 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
1120 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
1121 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
1122 xcoffout.h: replace "GNU CC" with "GCC".
1124 2001-08-21 Richard Henderson <rth@redhat.com>
1126 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
1127 (final_scan_insn): Consider jump tables data even if we have no
1128 independant text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
1130 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
1131 (ASM_OUTPUT_CASE_END): Remove.
1132 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
1133 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
1134 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
1136 2001-08-21 Richard Henderson <rth@redhat.com>
1138 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
1139 at barrier insns. Emit stop bits before barriers.
1141 * flow.c (flow_find_cross_jump): Don't consider unconditional
1142 return insns for commoning.
1144 * final.c (compute_alignments): Fix typo.
1146 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
1147 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
1148 (store_bit_field): Use mode_for_extraction more places.
1149 (extract_bit_field): Likewise.
1151 2001-08-21 Zack Weinberg <zackw@panix.com>
1153 * caller-save.c: Don't include insn-codes.h.
1154 (reg_save_code, reg_restore_code): Make arrays of int.
1155 All uses updated to match.
1156 (insert_save, insert_restore): No need to initialize "code"
1157 variable upon declaration.
1158 * Makefile.in: update dependencies; fix typo in clean rule.
1160 2001-08-21 Richard Henderson <rth@redhat.com>
1162 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
1163 (merge_if_block): Handle fallout from same.
1165 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1167 * builtins.c (type_to_class): Fix typo in last change.
1169 2001-08-21 Richard Henderson <rth@redhat.com>
1171 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
1172 ia64_asm_output_label.
1174 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
1175 copy of gp while the real gp register contains garbage.
1177 2001-08-21 Zack Weinberg <zackw@panix.com>
1179 * expmed.c (mode_for_extraction): New function.
1180 (store_bit_field, extract_bit_field): Use it.
1181 * expr.h: Prototype it and provide an enum for its first argument.
1183 * combine.c, function.c, recog.c: Don't include insn-codes.h.
1184 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
1185 and digging through the insn_data tables.
1186 * Makefile.in: Update dependencies.
1188 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
1190 * cppfiles.c (stack_include_file): line-map.c now handles include
1192 (handle_missing_handler): Similarly.
1193 (_cpp_execute_include): Similarly.
1194 (_cpp_pop_file_buffer): Similarly.
1195 * cpphash.h (struct cpp_reader): Remove system_include_depth,
1196 buffer_stack_depth and include_depth.
1197 * cpplib.c (do_include_common): line-map.c now handles include depth.
1198 (cpp_push_buffer): Similarly.
1199 (_cpp_pop_buffer): Similarly.
1200 * cppmacro.c (builtin_macro): Update.
1201 * line-map.c (init_line_maps): Set depth.
1202 (add_line_map): Increment "used" earlier. Update and use the
1204 (trace_include): Use the include depth.
1205 * line-map.h (struct line_maps): New member depth.
1207 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
1209 * cppfiles.c (stack_include_file): Don't handle -H here.
1210 * cppinit.c (cpp_start_read): Set include tracing after
1211 cpp_post_options and after stacking the main file.
1212 * line-map.c (trace_include): New.
1213 (init_line_maps, add_line_map): Update.
1214 * line-map.h (struct line_maps): New member trace_includes.
1216 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
1218 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
1219 * cppfiles.c (stack_include_file): Only stack a file if there
1220 is something to do. Return a boolean indicating whether a
1221 buffer was stacked or not.
1222 (_cpp_execute_include): Similarly.
1223 (_cpp_read_file): Similarly.
1224 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
1226 2001-08-21 Sam Steingold <sds@gnu.org>
1228 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
1229 (RECACHE): keep obufp_before_macroname up to date
1231 2001-08-21 Zack Weinberg <zackw@panix.com>
1233 * stmt.c: Don't include insn-codes.h.
1234 (expand_end_case): Machine specific logic moved to expr.c.
1235 No need to worry about __builtin_classify_type.
1236 (check_for_full_enumeration_handling, emit_case_nodes):
1239 * builtins.o (expand_builtin_classify_type): Split up so code
1240 can be shared with fold_builtin_classify_type.
1241 (type_to_class, fold_builtin_classify_type): New functions.
1242 (fold_builtins): Handle __builtin_classify_type.
1244 * expr.c (do_tablejump): Now static.
1245 (case_values_threshold, try_casesi, try_tablejump): New;
1246 code mostly from stmt.c (expand_end_case).
1247 (expr.h): Update prototypes.
1249 * Makefile.in (stmt.o): Update dependencies.
1251 2001-08-21 Will Cohen <wcohen@redhat.com>
1253 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
1254 declaration of variable i.
1255 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
1256 declaration of variable i.
1258 2001-08-21 Richard Henderson <rth@redhat.com>
1260 * crtstuff.c: Fix thinko last change. Move list tails to start
1261 of CRT_END section. Tidy ifdefs.
1262 (__EH_FRAME_BEGIN__): Always static for ELF.
1263 (__do_global_ctors_1): Rename from __frame_dummy.
1264 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
1265 name change; don't hide __EH_FRAME_BEGIN__.
1267 2001-08-21 Richard Henderson <rth@redhat.com>
1269 * gdbinit.in: Move break on exit after break on fancy_abort.
1271 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
1274 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
1276 * cpphash.h (_cpp_push_next_buffer): New.
1277 * cppinit.c (do_includes): Remove.
1278 (push_include, free_chain, _cpp_push_next_buffer): New.
1279 (cpp_start_read): Use them to rework command line option handling.
1280 (cpp_handle_option): Combine handling of -include and -imacros.
1281 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
1282 appropriate. Always insert missing \n at EOF.
1283 * cpplib.c (start_directive): Get the directive position right.
1284 * cppmain.c (cb_file_change): Always print the first line, unless
1287 2001-08-20 Andreas Jaeger <aj@suse.de>
1289 * profile.c (compute_branch_probabilities): Remove extra new-line
1291 * flow.c (verify_flow_info): Likewise.
1293 2001-08-20 Diego Novillo <dnovillo@redhat.com>
1295 * basic-block.h (basic_block): Add new field 'flags'.
1296 (BB_REACHABLE): Define.
1297 (expunge_block): Declare.
1298 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
1299 (EXIT_BLOCK_PTR): Ditto.
1300 (expunge_block): Remove static declaration.
1301 (cleanup_cfg): Clear bb->aux on every basic block.
1302 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
1303 computing reachability.
1304 (delete_unreachable_blocks): Delete block b if b->flags has
1307 2001-08-20 Diego Novillo <dnovillo@redhat.com>
1309 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
1311 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1313 * sparc.c (sparc_variable_issue): Fix typo in last change.
1315 2001-08-20 Richard Henderson <rth@redhat.com>
1317 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
1319 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
1321 * pa.h (RETURN_IN_MEMORY): Improve comment.
1323 2001-08-20 Janis Johnson <janis187@us.ibm.com>
1325 * doc/invoke.texi (Profiling options): Clarify the interactions
1326 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
1328 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
1330 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
1333 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1335 * gcc.c (make_relative_prefix): Allocate a sufficiently large
1338 2001-08-20 Richard Henderson <rth@redhat.com>
1340 * final.c (end_final): Fix typo last change.
1342 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
1344 * cppinit.c (init_standard_includes): The returned buffer
1345 is already malloc-ed.
1346 * gcc.c (add_prefix): Similarly.
1347 * prefix.c (translate_name): Update to support clear buffer
1349 (update_path): Similarly. Be sure to free any newly allocated
1350 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
1352 * prefix.h (update_path): Update prototype and document.
1353 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
1354 up and update to new buffer ownership rules.
1355 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
1357 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
1359 * final.c (compute_alignments): New function.
1360 (init_insn_lengths): Do not care label_align.
1361 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
1362 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
1363 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
1364 (shorted_branches): Realloc label_align array; do
1365 not call init_insn_lengths; Do not care about loop alignments.
1366 * output.h (compute_alignments): Declare.
1367 * toplev.c (rest_of_compilation): Call compute_alignments.
1368 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
1370 * predict.c (block_info_def): Add npredecesors, remove nvisited;
1371 change visited to tovisit.
1372 (propagate_freq): Use faster traversing algorithm.
1373 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
1374 to tovisit; reverse meaning.
1376 * predict.c (struct block_info_def): Remove nvisited.
1377 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
1378 (estimate_bb_frequencies): Call mark_dfs_back_edges.
1380 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
1382 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
1383 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
1384 (TARGET_FUSED_MADD): New.
1385 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
1386 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
1387 the multiply-add instructions.
1389 2001-08-19 Richard Henderson <rth@redhat.com>
1391 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
1392 is aligned to pointer size.
1394 2001-08-19 Richard Henderson <rth@redhat.com>
1396 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
1397 display markers during final schedule.
1399 2001-08-19 Richard Henderson <rth@redhat.com>
1401 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
1403 2001-08-19 Richard Henderson <rth@redhat.com>
1405 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
1407 (ASM_NAME_TO_STRING): Remove.
1408 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
1409 in the same string. Remove support for expressions.
1411 2001-08-19 Richard Henderson <rth@redhat.com>
1413 * config/i386/i386.md (tablejump): Make an expander; handle
1414 pic relative addressing here.
1415 (tablejump_1): Rename from tablejump_pic.
1418 2001-08-19 Richard Henderson <rth@redhat.com>
1420 * regclass.c (fix_register): Fix typo.
1422 2001-08-18 Richard Henderson <rth@redhat.com>
1424 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
1425 (struct _Unwind_Context): Expand br_loc to hold it.
1426 (uw_frame_state_for): Handle leaf functions better.
1427 (uw_update_reg_address): Update for br_loc change.
1429 2001-08-18 Richard Henderson <rth@redhat.com>
1431 * crtstuff.c: Move list heads before code that uses them.
1432 (__JCR_LIST__): Remove initial null.
1433 (frame_dummy, __frame_dummy): Do java registration here ...
1434 (__do_global_ctors_aux): ... not here.
1436 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
1437 (__do_global_dtors_aux): Update to match.
1438 (__JCR_LIST__, __do_jv_register_classes): New.
1440 * config/ia64/crtend.asm (__JCR_END__): New.
1441 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
1442 instead of an indirect LTOFF22 reloc.
1444 2001-08-18 Richard Henderson <rth@redhat.com>
1446 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
1447 * regclass.c (init_reg_sets_1): Fix typo.
1448 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
1449 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
1450 (ia64_compute_frame_size): Make ar.unat live when in use.
1451 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
1452 for ar.pfs; remove ar.unat handling.
1453 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
1455 (PREDICATE_CODES): Add ar_pfs_reg_operand.
1456 * config/ia64/ia64-protos.h: Update decls.
1457 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
1458 (sibcall_pic): Likewise.
1460 2001-08-18 Richard Henderson <rth@redhat.com>
1462 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
1463 pred_rel_mutex when searching for insn_group_barrier.
1464 * config/ia64/ia64.md (cycle_display): Combine the expander
1467 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
1468 bit before asm as needed.
1470 2001-08-18 Richard Henderson <rth@redhat.com>
1472 * timevar.def (TV_MACH_DEP): New.
1473 * toplev.c (rest_of_compilation): Use it.
1474 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
1476 2001-08-18 Zack Weinberg <zackw@panix.com>
1478 * unwind-dw2.c (execute_stack_op): Add default aborts to
1479 the inner switches to prevent warnings.
1481 2001-08-18 Richard Henderson <rth@redhat.com>
1483 * timevar.h (struct timevar_time_def): Change element type to float.
1484 (ticks_to_msec, clocks_to_msec): Likewise.
1485 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
1486 (get_time): Likewise.
1487 (timevar_print): Adjust zero check and printing to match.
1489 2001-08-18 Zack Weinberg <zackw@panix.com>
1491 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
1492 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
1493 Eliminate overfull or underfull hboxes.
1495 2001-08-18 Zack Weinberg <zackw@panix.com>
1497 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
1499 2001-08-18 Zack Weinberg <zackw@panix.com>
1501 * haifa-sched.c: Convert to target hooks. Macros replaced
1502 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
1503 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
1504 MD_SCHED_FINISH, and HAVE_cycle_display.
1505 * target-def.h (TARGET_SCHED_ADJUST_COST,
1506 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
1507 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
1508 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
1509 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
1510 New hook #defines to be overridden.
1511 (TARGET_SCHED): Bring them all together.
1512 (TARGET_INITIALIZER): Update.
1513 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
1514 instead of 'struct rtx_def *' throughout.
1515 (struct sched): New set of hooks for the scheduler.
1516 * Makefile.in (haifa-sched.o): Depend on target.h.
1517 * doc/tm.texi: Document the new scheduler hooks, together in
1518 their own section, instead of scattered around.
1519 Fix a bunch of underfull/overfull hboxes.
1521 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
1522 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
1523 sparc.h: Don't define any of the old scheduler macros.
1525 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
1526 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
1527 sparc.c: Create hook functions from code extracted from
1528 corresponding target header, or make existing hooks static, as
1529 appropriate. Set the appropriate entries in targetm.
1531 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
1532 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
1533 rs6000-protos.h, s390-protos.h, sparc-protos.h:
1534 Remove prototypes for functions which are now static.
1536 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
1537 related gunk; the Haifa scheduler is now the only choice.
1539 2001-08-18 Zack Weinberg <zackw@panix.com>
1541 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
1542 * genopinit.c: Put floating point divide insns in sdiv_optab.
1543 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
1544 * config/gofast.h, config/c4x/c4x.h,
1545 config/ia64/hpux_longdouble.h, config/mips/mips.h,
1546 config/pa/long_double.h, config/rs6000/sysv4.h,
1547 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
1548 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
1549 (init_optabs): Use init_optabv for overflow-trapping optabs.
1550 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
1551 cmp_optab RTX codes so have_insn_for can find them.
1553 * optabs.c (expand_simple_binop, expand_simple_unop,
1554 have_insn_for, gen_sub3_insn): New interfaces.
1555 * expr.h: Prototype new functions.
1556 (enum optab_methods): Move here from optabs.h.
1558 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
1559 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
1560 Use new functions instead of working directly with optabs.
1561 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
1562 unroll.c: Don't include optabs.h.
1563 * caller-save.c, combine.c, function.c, stmt.c: Just include
1564 insn-codes.h, not optabs.h.
1565 * Makefile.in: Update dependencies.
1567 * combine.c (make_compound_operation, simplify_comparison):
1568 Fix typos testing for this or that instruction.
1570 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1572 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
1573 generating libgcc.a.
1575 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1577 * except.c (TYPE_HASH): Delete.
1579 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
1582 * tree.c (TYPE_HASH): Delete.
1584 * tree.h (TYPE_HASH): Define.
1586 2001-08-18 Graham Stott <grahams@redhat.com>
1588 * config/mips/mips.md (adddi3_internal_2+1): Remove contraints from
1590 (adddi3_internal_2+2): Likewise.
1591 (eh_set_lr_di+1): Likewise.
1593 2001-08-17 Richard Henderson <rth@redhat.com>
1595 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1596 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
1597 * dwarf2asm.c: ... here.
1598 * dwarfout.c: Remove them.
1600 * varasm.c (assemble_integer): Add align parameter.
1601 (assemble_real, output_constant, output_constructor): Likewise.
1602 * output.h: Update decls.
1603 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
1604 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
1605 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
1606 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
1607 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
1610 * final.c (end_final): Abort profile block generation if we
1611 havn't layed it out properly.
1612 * output.h (assemble_eh_integer): Remove stale decl.
1613 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
1615 (assemble_integer): Handle unaligned data.
1616 (assemble_real): Abort on unaligned data.
1617 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
1619 (default_dtor_section_asm_out_destructor): Use assemble_align.
1620 (default_named_section_asm_out_constructor): Likewise.
1621 (default_ctor_section_asm_out_constructor): Likewise.
1622 * config/darwin.c (machopic_asm_out_constructor): Likewise.
1623 (machopic_asm_out_destructor): Likewise.
1624 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
1625 (nextstep_asm_out_destructor): Likewise.
1626 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
1627 (vms_asm_out_destructor): Likewise.
1629 2001-08-17 Richard Henderson <rth@redhat.com>
1631 * config/mips/iris6.h (TARGET_IRIX6): New.
1632 (current_section_name, current_section_flags): New.
1633 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
1634 (MAX_OFILE_ALIGNMENT): New.
1635 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
1636 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
1637 (copy_file_data): Split out from
1638 (mips_asm_file_end): ... here.
1639 (mips_asm_file_start): Remove extra .section directive. Use
1640 tmpfile instead of mips_make_temp_file.
1641 (mips_unique_section): Use const char * as needed for warnings.
1642 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
1643 re-add align parameter.
1644 (iris6_asm_named_section): New.
1645 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
1646 (iris6_asm_output_align, iris6_section_align_1): New.
1647 (iris6_asm_file_start, iris6_asm_file_end): New.
1648 * config/mips/mips-protos.h: Update decls.
1650 2001-08-17 Janis Johnson <janis187@us.ibm.com>
1652 * doc/install.texi (Install GCC): Add links to build status pages.
1654 (Final install): Ditto; request updates for specific info
1656 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
1658 * cpperror.c (print_location): Don't take a file name; use the
1660 (_cpp_begin_message): Similarly.
1661 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
1662 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
1663 (cpp_pedwarn_with_file_and_line): Remove.
1664 * cppfiles.c (stack_include_file): Update; set filename to stdin
1665 here when appropriate.
1666 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
1667 (_cpp_begin_message): Don't take a file name.
1668 * cppinit.c: Add comment.
1669 * cpplex.c: Fix end-of-directive indicator.
1670 * cpplib.c: Don't include intl.h.
1671 (run_directive, do_diagnostic): Update.
1672 (do_line): Update to not use nominal_fname.
1673 (cpp_push_buffer): Don't take a filename.
1674 * cpplib.h (struct ht): Remove.
1675 (cpp_push_buffer): Don't take a filename.
1676 (cpp_pedwarn_with_file_and_line): Remove.
1677 * cppmacro.c (struct cpp_macro): Remove file.
1678 (builtin_macro): Update.
1679 (_cpp_create_definition): Update.
1680 * cppmain.c: Correct comment.
1681 * fix-header.c (read_scan_file): Update.
1683 2001-08-17 Kazu Hirata <kazu@hxi.com>
1685 * sbitmap.c: Fix comment formatting.
1686 * sched-deps.c: Likewise.
1687 * sibcall.c: Likewise.
1688 * simplify-rtx.c: Likewise.
1690 * ssa-ccp.c: Likewise.
1691 * stor-layout.c: Likewise.
1692 * timevar.c: Likewise.
1693 * toplev.c: Likewise.
1694 * unwind-dw2.c: Likewise.
1695 * unwind-dw2-fde.c: Likewise.
1696 * varasm.c: Likewise.
1698 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
1700 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
1701 or larger than an integer in memory.
1703 2001-08-17 Zack Weinberg <zackw@panix.com>
1705 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
1706 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
1707 * rtl.h: Don't forward-declare union tree_node here. Don't
1708 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
1709 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
1710 and tree respectively.
1711 * tree.h: Don't forward-declare struct rtx_def here. Don't
1712 typedef tree here. Change all uses of struct rtx_def *,
1713 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
1714 and tree respectively.
1716 2001-08-17 Richard Henderson <rth@redhat.com>
1718 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
1719 config/mips/openbsd.h: Fix typos last change.
1721 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1723 * doc/invoke.texi (Optimize Options): The default for
1724 -finline-limit is 600.
1726 2001-08-17 Richard Henderson <rth@redhat.com>
1728 * varasm.c (text_section): Allow TEXT_SECTION to override the
1729 printing of TEXT_SECTION_ASM_OP.
1730 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
1731 (DATA_SECTION, BSS_SECTION): Remove.
1732 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
1733 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
1734 Rename from s/_NAME//.
1735 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
1736 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
1737 (TEXT_SECTION): ... here. New.
1738 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
1739 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
1740 * config/mips/openbsd.h: Likewise.
1741 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
1742 (mips_asm_file_end): Likewise test.
1743 (mips_output_function_epilogue): Likewise. Switch back to data
1744 section after emitting the function.
1746 * doc/tm.texi (Sections): Document TEXT_SECTION.
1748 2001-08-17 Richard Henderson <rth@redhat.com>
1750 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
1751 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
1753 2001-08-17 Richard Henderson <rth@redhat.com>
1755 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
1756 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
1757 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
1758 Add aligned attribute.
1760 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
1762 * config/sh/sh.md: Add modes to unspecs in first insn to match
1763 those in the second.
1765 * Makefile.in: Fix collect2 copy for Cygwin.
1767 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
1769 Install the proper patch.
1770 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
1771 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
1772 (expand_function_start): Likewise.
1773 * stmt.c (expand_decl): Likewise.
1774 * varasm.c (make_decl_rtx): Likewise.
1776 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
1778 * final.c: Undo my previous accidental checkin.
1779 * output.h: Likewise.
1780 * tm.texi: Likewise.
1782 2001-08-16 Richard Henderson <rth@redhat.com>
1784 * varasm.c (named_section_flags): Remove align parameter.
1785 * varasm.c, dwarf2out.c: Update all callers.
1786 * output.h: Update prototypes.
1788 * target.h (target.asm_out.named_section): Remove align parameter.
1789 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
1790 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
1791 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
1792 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
1793 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
1795 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
1796 (get_named_section_flags, set_named_section_flags): New.
1797 (named_section_flags): Use them.
1798 (named_section): Do decl vs section flags check here...
1799 (default_section_type_flags): ... not here.
1800 (init_varasm_once): Create in_named_htab.
1801 (resolve_unique_section): Mark reloc unused.
1803 2001-08-16 Richard Henderson <rth@redhat.com>
1805 * varasm.c (force_const_mem): Keep pool alignment in bits.
1806 (output_constant_pool): Use assemble_align.
1808 2001-08-16 Zack Weinberg <zackw@panix.com>
1810 * doc/tm.texi: Remove extra @table command.
1812 2001-08-16 Zack Weinberg <zackw@panix.com>
1814 * final.c (shorten_branches): Clear the end of the label_align
1815 array only if we made it larger. Break up messy expressions
1818 * diagnostic.c (internal_error): Check for error recursion
1819 before doing ICE suppression.
1821 * timevar.c: Timing variables now count in milliseconds.
1822 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
1823 (get_time): Not here.
1824 (timevar_print): Don't print any timer whose user, cpu, and
1825 wall times are all zero as displayed.
1826 * timevar.h: Update comment aboout units. Make timevar
1829 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
1831 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
1832 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
1833 (expand_function_start): Likewise.
1834 * stmt.c (expand_decl): Likewise.
1835 * varasm.c (make_decl_rtx): Likewise.
1837 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
1839 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
1840 (finalize_record_size): Don't set TYPE_USER_ALIGN.
1842 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1844 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
1847 2001-08-16 Andreas Jaeger <aj@suse.de>
1849 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
1852 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
1854 * rtl.h (only_sets_cc0_p): New prototype.
1855 * jump.c (sets_cc0_p): Handle INSN.
1856 (only_sets_cc0_p): New function.
1857 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
1858 (tidy_fallthru_edge): Likewise.
1859 * integrate.c (copy_insn_list): Likewise.
1860 * unroll.c (unroll_loop): Likewise.
1861 (copy_loop_body): Likewise.
1863 2001-08-15 Jason Eckhardt <jle@redhat.com>
1865 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
1867 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
1869 * predict.c (struct block_info_def): Remove nvisited.
1870 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
1871 (estimate_bb_frequencies): Call mark_dfs_back_edges.
1873 * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
1874 (ix86_adjust_cost): Teach scheduler that latency to load operand can
1877 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
1879 * predict.def: Update hitrates.
1881 2001-08-15 Richard Henderson <rth@redhat.com>
1883 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
1885 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
1887 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
1888 note from its associated jump.
1890 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1892 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
1893 also on 64-bit s390x targets.
1895 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
1897 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
1899 (arm_expand_prologue): Handled nested functions which take a
1900 variable argument list.
1901 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
1902 macro with an invocation of
1903 arm_compute_initial_elimination_offset.
1904 * config/arm/arm-protos.h: Prototype
1905 arm_compute_initial_elimination_offset.
1907 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1909 * doc/install.texi (Specific, avr): Fix markup.
1910 (Specific, c4x): Ditto.
1912 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1914 * predict.c (dump_prediction): Change `bool' parameter to `int'.
1916 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
1918 * Makefile.in (OBJS): Add rtl-error.o
1919 (rtl-error.o): New rule.
1920 (diagnostic.o): Adjust dependency.
1921 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
1922 error_for_asm, _fatal_insn, _fatal_insn_not_found,
1923 warning_for_asm): Move to...
1924 rtl-error.c: ...here. New file.
1926 2001-08-14 Richard Henderson <rth@redhat.com>
1928 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
1929 if USING_SJLJ_EXCEPTIONS.
1931 2001-08-14 Steve Ellcey <sje@cup.hp.com>
1933 * tlink.c (scan_linker_output): Check string for unsatisfied in
1934 addition to undefined and unresolved.
1936 2001-08-14 Graham Stott <grahams@redhat.com>
1938 * libgcc2.c (*): Replace EH_FRAME_SECTION with
1939 EH_FRAME_SECTION_NAME.
1941 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
1943 * genattrtab.c (simplify_test_exp_in_temp): New function.
1944 (simplify_test_exp): Avoid explicit use of temporary obstack.
1945 (simplify_cond, insert_right_side, evaluate_eq_attr,
1946 simplify_and_tree, simplify_or_tree, eliminate_known_true):
1947 Use simplify_test_exp_in_temp.
1948 (optimize_attrs): Iterate until expression stabilizes.
1950 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
1952 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
1953 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
1955 2001-08-13 Richard Henderson <rth@redhat.com>
1957 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
1958 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
1959 * config/arm/conix-elf.h: Likewise.
1961 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
1963 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
1965 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
1967 * gcse.c (hash_scan_set): Expressions that are set as part of
1968 jump instructions are not available.
1970 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
1972 * config/s390/s390.c (print_operand, s390_function_prologue,
1973 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
1975 2001-08-13 Richard Henderson <rth@redhat.com>
1977 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
1978 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
1979 * doc/tm.texi (Exception Region Output): Document it.
1981 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
1983 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
1984 DWARF2 instead of stabs by default.
1986 2001-08-13 David Edelsohn <edelsohn@gnu.org>
1988 * config/rs6000/rs6000.c: Include optabs.h.
1990 2001-08-13 David Edelsohn <edelsohn@gnu.org>
1992 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
1993 save/restore routines.
1994 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
1996 2001-08-13 Andreas Jaeger <aj@suse.de>
1998 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
1999 the english is correct.
2001 2001-08-13 Zack Weinberg <zackw@panix.com>
2003 * expr.h: Split out optab- and libfunc-related code to...
2004 * optabs.h, libfuncs.h: ... these new headers.
2006 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
2008 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
2010 * mkconfig.sh: Don't include insn-codes.h from config.h.
2012 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
2013 enum insn_code is available. Move reload_in_optab and
2014 reload_out_optab array declarations to optabs.h.
2015 * regmove.c (gen_add3_insn): Move to optabs.c, export from
2016 there, prototype in expr.h.
2017 * gencodes.c: Cleanup: zap global variables, don't use
2018 printf where puts will do, don't bother defining MAX_INSN_CODE
2019 which nothing uses, let CODE_FOR_nothing get its value implicitly.
2021 * genemit.c, genopinit.c: Include optabs.h in generated file.
2022 * genoutput.c: Include insn-codes.h in generated file.
2023 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
2024 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
2025 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
2026 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
2027 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
2028 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
2030 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
2031 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
2032 config/m88k/m88k.c, config/sparc/sparc.c:
2034 * reload.c: Include expr.h and optabs.h before reload.h.
2035 * config/alpha/alpha.c: Include tree.h before reload.h.
2036 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
2037 and reload.h in that order.
2038 * config/sparc/sparc.c: Include debug.h.
2039 * recog.c: Include insn-codes.h.
2041 2001-08-13 Andreas Jaeger <aj@suse.de>
2043 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
2046 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2048 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
2049 * gcc.c (init_spec): Fix typo in comment.
2050 * varasm.c (data_section): Fix typo in comment.
2052 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
2054 * predict.c (dump_prediction): New argument "USED".
2055 (combine_predictions_for_insn): Determine the used heuristics,
2056 output the case no heuristic applied.
2057 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
2059 2001-08-13 Andreas Jaeger <aj@suse.de>
2061 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
2064 2001-08-13 Kazu Hirata <kazu@hxi.com>
2066 * jump.c: Fix formatting.
2068 2001-08-13 Kazu Hirata <kazu@hxi.com>
2070 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
2073 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
2075 * loop.c (check_dbra_loop): Use condjump_label to compute
2078 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
2079 to better document the files they're in.
2081 2001-08-12 Zack Weinberg <zackw@panix.com>
2083 * recog.h (struct insn_operand_data): Shrink 'mode' field
2086 2001-08-12 Kazu Hirata <kazu@hxi.com>
2088 * gcc.c: Fix comment formatting.
2089 * gccspec.c: Likewise.
2092 * genemit.c: Likewise.
2093 * gengenrtl.c: Likewise.
2094 * genrecog.c: Likewise.
2095 * gensupport.c: Likewise.
2096 * ggc-page.c: Likewise.
2097 * global.c: Likewise.
2098 * graph.c: Likewise.
2099 * ifcvt.c: Likewise.
2100 * integrate.c: Likewise.
2102 * libgcc2.c: Likewise.
2104 * mbchar.c: Likewise.
2105 * optabs.c: Likewise.
2106 * predict.c: Likewise.
2107 * prefix.c: Likewise.
2108 * profile.c: Likewise.
2109 * protoize.c: Likewise.
2111 * recog.c: Likewise.
2112 * regclass.c: Likewise.
2113 * regmove.c: Likewise.
2114 * reg-stack.c: Likewise.
2115 * reload1.c: Likewise.
2116 * resource.c: Likewise.
2117 * rtlanal.c: Likewise.
2120 2001-08-12 Kazu Hirata <kazu@hxi.com>
2122 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
2123 a tree representing a constant is passed to the macro.
2125 2001-08-12 Richard Henderson <rth@redhat.com>
2127 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
2128 (rs6000_elf_asm_out_destructor): New.
2129 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
2130 (DTORS_SECTION_ASM_OP): Remove.
2131 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2132 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
2134 2001-08-12 David Edelsohn <edelsohn@gnu.org>
2137 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2138 * gcc.c (set_collect_gcc_options): New function, split out from
2140 Ignore elided switches.
2141 (do_spec_1): Invoke before executing command.
2142 (set_input): Export.
2143 Move declaration ...
2144 * gcc.h (set_input): ... here.
2145 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
2148 2001-08-12 Richard Henderson <rth@redhat.com>
2150 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
2151 thinko wrt TARGET_RELOCATABLE.
2153 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
2155 * fix-header.c (cb_file_change): Update prototype.
2157 2001-08-11 Zack Weinberg <zackw@panix.com>
2159 * toplev.c (set_float_handler): Make static.
2160 * toplev.h: Don't prototype set_float_handler.
2162 * simplify-rtx.c: Don't include setjmp.h.
2163 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
2165 (simplify_unary_operation, simplify_binary_operation): Use them,
2166 via do_float_handler.
2168 * fold-const.c: Don't include setjmp.h.
2169 (exact_real_inverse_1): New function.
2170 (exact_real_inverse): Use it, via do_float_handler.
2172 * varasm.c: Don't include setjmp.h.
2173 (assemble_real_1): New function.
2174 (assemble_real): Use it, via do_float_handler.
2175 Call internal_error if we get a trap here.
2177 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
2178 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
2180 2001-08-11 Zack Weinberg <zackw@panix.com>
2182 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
2183 STACK_BOUNDARY if not already defined.
2185 * calls.c, function.c, reload1.c, explow.c: Don't default
2186 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
2187 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
2189 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
2192 * doc/tm.texi: Document that STACK_BOUNDARY is required;
2193 clarify difference between it and PREFERRED_STACK_BOUNDARY.
2195 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
2197 * cppmacro.c (enter_macro_context): Push macro expansions even
2200 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2202 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
2203 (rs6000_elf_section_type_flags): Actually return a value.
2205 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
2207 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
2208 Clean up code: add missing comments and prototypes, fix warnings,
2209 remove obsolete code, fix spacing to conform to coding style.
2211 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
2213 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
2214 and TARGET_ASM_CLOSE_PAREN.
2215 (regclass_map): CC register belongs to class NO_REGS.
2216 (legitimize_pic_address): Don't generate unnecessary moves
2217 (to avoid confusing loop optimization).
2218 (check_and_change_labels): Replace jump_long by indirect_jump.
2219 (s390_final_chunkify): Don't start a new literal pool on section
2220 switch in 64-bit code.
2221 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
2223 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
2224 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
2225 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
2227 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
2228 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
2229 (CONST_COSTS): Fixed incorrect costs.
2231 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
2232 Use emit_jump instead of emit_jump_insn (gen_jump).
2233 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
2234 (to avoid confusing flow analysis).
2235 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
2236 (casesi, casesi_jump): New.
2237 (jump_long): Removed. Functionality merged into indirect_jump.
2238 (indirect_jump): Accept address_operand, not just register_operand.
2239 (cjump_long, icjump_long): Use same logic as indirect_jump.
2240 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
2241 Fixed broken setjmp/longjmp handling.
2242 (do_builtin_setjmp_setup): Removed.
2244 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
2245 broken GNU as versions that don't accept .quad with large
2246 negative values. Use hexadecimal output instead.
2247 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
2248 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
2249 FUNCTION_EPILOGUE): Removed. Now in targetm.
2251 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
2253 * config/s390/fixdfdi.h: Add missing copyright statement.
2254 Fix type conflicts on 64-bit. Add missing SFmode routines.
2256 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
2259 2001-08-11 Richard Henderson <rth@redhat.com>
2261 * rtl.h (REG_EH_RETHROW): Remove.
2262 * rtl.c (reg_note_name): Update.
2263 * combine.c (distribute_notes): Don't check for it.
2265 2001-08-11 Richard Henderson <rth@redhat.com>
2267 * combine.c (distribute_notes): Place REG_SETJMP.
2269 2001-08-11 Richard Henderson <rth@redhat.com>
2271 * doc/extend.texi (Arrays and pointers implementation): Discourage
2272 relying on sign-extension of pointers.
2274 2001-08-11 H.J. Lu <hjl@gnu.org>
2276 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
2278 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
2279 RDATA_SECTION_ASM_OP.
2281 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2283 * doc/install.texi (Specific, c4x): Fix cross-reference to the
2284 main manual to work both for info and HTML versions.
2286 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
2287 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2289 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
2290 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
2291 (struct cpp_pool): New member first.
2292 * cppinit.c (append_include_chain): Plug memory leaks.
2293 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
2294 Allocate pragma structures from the (aligned) macro pool to
2295 avoid leaking memory.
2296 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
2297 so we don't leak memory.
2298 * hashtable.c (ht_destroy): New.
2299 * hashtable.h (ht_destroy): New.
2301 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
2302 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2304 * c-lex.c (map): Make const.
2305 (cb_file_change): Update for callback passing a line map.
2306 Don't assume we have a previous map. Remove sanity check
2307 about popping too many files.
2308 * cpperror.c (print_location): Make map const.
2309 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
2310 (cpp_make_system_header): Similarly.
2311 (search_from): Similarly.
2312 (_cpp_execute_include): Don't remember where we came from.
2313 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
2314 (struct cpp_reader): Make map const.
2315 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
2316 * cpplib.c (do_line): Update; line maps now hold sysp.
2317 (cpp_push_buffer): Similarly.
2318 (_cpp_do_file_change): Similarly; callback with map instead.
2319 (cpp_get_line_maps): Constify return value.
2320 (_cpp_pop_buffer): Update.
2321 * cpplib.h (struct cpp_file_change): Remove.
2322 (struct cpp_callbacks): Update.
2323 (cpp_get_line_maps): Constify return value.
2324 * cppmacro.c (_cpp_create_definition): Update.
2325 * cppmain.c (struct printer): Constify map.
2326 (maybe_print_line): Similarly.
2327 (print_line): Similarly. Deduce flags 1 and 2 here.
2328 (cb_file_change): Update.
2329 * line-map.c (free_line_maps): Warn regardless.
2330 (add_line_map): Return pointer to const. When passed NULL to_file
2331 with LC_LEAVE, use the obvious values for the return point so the
2332 caller doesn't have to figure them out.
2333 (lookup_line): Return pointer to const.
2334 (print_containing_files): Take pointer to const.
2335 * line-map.h (struct line_map): New members reason, sysp.
2336 (add_line_map): Return pointer to const.
2337 (lookup_line): Similarly.
2338 (print_containing_files): Take pointer to const.
2340 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
2341 Richard Henderson <rth@redhat.com>
2343 * regmove.c (regmove_optimize): Avoid setting a register twice in
2346 2001-08-10 Richard Henderson <rth@redhat.com>
2348 * doc/extend.texi (Arrays and pointers implementation): Document
2349 behavior of pointer/integer conversion.
2351 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
2353 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
2355 2001-08-10 Richard Henderson <rth@redhat.com>
2357 * doc/extend.texi (C Implementation): New chapter.
2358 * doc/gcc.texi (Top): Link it in.
2360 2001-08-10 Andrew Cagney <ac131313@redhat.com>
2362 * doc/install.texi (Specific): Fix CVS merge botch.
2364 2001-08-10 Richard Henderson <rth@redhat.com>
2366 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
2367 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
2369 2001-08-10 Zack Weinberg <zackw@stanford.edu>
2371 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
2372 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
2373 this macro is now required.
2375 * cselib.c (cselib_process_insn), flow.c (propagate_block),
2376 loop.c (find_and_verify_loops), reload.c (reload): Check
2377 for rtx code of CALL_INSN, not CALL, when deciding if we
2378 need to check for REG_SETJMP note.
2380 * gcse.c (compute_hash_table, compute_store_table): Update
2381 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
2384 * config/avr/avr.c: Fix typo.
2385 * config/convex/convex.c (expand_movstr): Use adjust_address.
2386 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
2388 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
2389 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
2391 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
2392 Do define STACK_BOUNDARY.
2393 * config/i370/i370.c: Include expr.h.
2394 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
2395 config/pa/som.h, config/v850/v850.h: Take in_ctors and
2396 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
2397 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
2398 * config/m88k/m88k.c: Include c-tree.h after expr.h.
2399 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
2400 * config/romp/romp.c: Include expr.h after tree.h.
2402 (output_fpop): Use xmalloc, not oballoc.
2403 * config/we32k/we32k.c: Include expr.h.
2405 2001-08-10 Kazu Hirata <kazu@hxi.com>
2407 * config/h8300/h8300.h: Fix formatting.
2409 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
2411 * c-common.h (RETURN_NULLIFIED_P): Lose.
2412 * c-semantics.c (genrtl_return_stmt): Don't check it.
2414 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
2416 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
2417 (mips_annotate_frame_insn): New function.
2418 (mips_emit_frame_related_store): New function.
2419 (save_restore_insns): Don't mark instructions that set up the base
2420 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
2421 the store instructions instead.
2422 (mips_expand_prologue): If the stack size is moved into a temporary
2423 register, do not mark that move as frame-related. Add a
2424 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
2426 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
2428 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
2429 stack slot as unchanging if current_function_calls_eh_return.
2431 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
2433 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
2434 access the second half of the TFmode scratch operand.
2436 2001-08-10 Anthony Green <green@redhat.com>
2438 * java/class.c (emit_register_classes): Conditionalize code on
2441 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2443 * doc/install.texi (Specific, avr): Fix cross-reference to the
2444 main manual to work both for info and HTML versions.
2446 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2448 * stmt.c (expand_null_return_1): Remove code to generate simple returns
2449 and "use_goto" argument.
2450 (expand_null_return, expand_value_return): Update all callers.
2451 * function.c (expand_function_end): Remove code to generate simple
2453 * config/vax/vax.md (epilogue): New expander for function return.
2454 * doc/md.texi (epilogue): Remove "if defined".
2456 2001-08-09 Zack Weinberg <zackw@stanford.edu>
2458 * Makefile.in: Partially revert my previous change:
2459 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
2460 of the hashtab.o and safe-ctype.o rules.
2462 2001-08-09 Richard Henderson <rth@redhat.com>
2464 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
2465 (USE_COLLECT2): Remove duplicate definition.
2466 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
2467 (use_collect2): Remove dead code.
2468 * configure.in (use_collect2): Remove will_use_collect2 and
2469 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
2470 * configure: Rebuild.
2472 * target.h (targetm.asm_out.constructor): New.
2473 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
2474 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
2475 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
2476 * varasm.c (in_ctors, in_dtors): New.
2477 (assemble_constructor, assemble_destructor): Remove.
2478 (default_stabs_asm_out_destructor): New.
2479 (default_named_section_asm_out_destructor): New.
2480 (dtors_section, default_dtor_section_asm_out_destructor): New.
2481 (default_stabs_asm_out_constructor): New.
2482 (default_named_section_asm_out_constructor): New.
2483 (ctors_section, default_ctor_section_asm_out_constructor): New.
2484 * output.h: Update declarations.
2485 * c-decl.c (c_expand_body): Use target hooks instead of
2486 assemble_constructor and assemble_destructor.
2487 * profile.c (output_func_start_profiler): Likewise.
2488 * objc/objc-act.c (finish_objc): Likewise.
2489 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
2490 for the constructor.
2491 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
2493 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
2494 (DTORS_SECTION_ASM_OP): Likewise.
2495 (__CTOR_LIST__): Use attribute section when possible.
2496 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
2498 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
2499 ASM_OUTPUT_CONSTRUCTOR.
2501 * config/darwin.c (machopic_asm_out_constructor): New.
2502 (machopic_asm_out_destructor): New.
2503 * config/darwin-protos.h: Update declarations.
2504 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2505 (ASM_OUTPUT_DESTRUCTOR): Remove.
2506 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2507 * config/nextstep.c (nextstep_asm_out_constructor): New.
2508 (nextstep_asm_out_destructor): New.
2509 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2510 (ASM_OUTPUT_DESTRUCTOR): Remove.
2511 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2512 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
2513 ASM_OUTPUT_*STRUCTOR.
2514 * config/i386/aix386ng.h: Likewise.
2516 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
2517 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
2518 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
2519 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2520 * config/lynx.h: Likewise.
2521 * config/netware.h: Likewise.
2522 * config/psos.h: Likewise.
2523 * config/alpha/alpha-interix.h: Likewise.
2524 * config/alpha/elf.h: Likewise.
2525 * config/arc/arc.h: Likewise.
2526 * config/arm/aof.h: Likewise.
2527 * config/arm/coff.h: Likewise.
2528 * config/arm/elf.h: Likewise.
2529 * config/c4x/c4x.h: Likewise.
2530 * config/h8300/h8300.h: Likewise.
2531 * config/i386/cygwin.h: Likewise.
2532 * config/i386/djgpp.h: Likewise.
2533 * config/i386/i386-coff.h: Likewise.
2534 * config/i386/i386-interix.h: Likewise.
2535 * config/i386/sco5.h: Likewise.
2536 * config/i386/vsta.h: Likewise.
2537 * config/i386/win32.h: Likewise.
2538 * config/i960/i960-coff.h: Likewise.
2539 * config/ia64/sysv4.h: Likewise.
2540 * config/m68hc11/m68hc11.h: Likewise.
2541 * config/m68k/coff.h: Likewise.
2542 * config/m68k/mot3300.h: Likewise.
2543 * config/m88k/m88k.h: Likewise.
2544 * config/mcore/mcore-pe.h: Likewise.
2545 * config/mcore/mcore.h: Likewise.
2546 * config/mips/elf.h: Likewise.
2547 * config/mips/elf64.h: Likewise.
2548 * config/mips/iris6.h: Likewise.
2549 * config/pa/pa64-hpux.h: Likewise.
2550 * config/rs6000/sysv4.h: Likewise.
2551 * config/sh/sh.h: Likewise.
2552 * config/sparc/litecoff.h: Likewise.
2554 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
2555 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
2556 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2557 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2558 (ASM_OUTPUT_DESTRUCTOR): Remove.
2559 * config/a29k/a29k.c: Move include of tree.h.
2560 * config/a29k/udi.h: Delete file.
2561 * config/alpha/alpha.c (vms_asm_out_constructor): New.
2562 (vms_asm_out_destructor): New.
2563 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
2564 (EXTRA_SECTION_FUNCTIONS): Likewise.
2565 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2566 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2567 * config/c4x/c4x.c: Move include of tree.h.
2568 * config/clipper/clipper.c (clix_asm_out_constructor): New.
2569 (clix_asm_out_destructor): New.
2570 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2571 (ASM_OUTPUT_DESTRUCTOR): Remove.
2572 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2573 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2574 (TARGET_ASM_CONSTRUCTOR): New.
2575 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
2576 (sco_asm_out_constructor): New.
2577 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
2578 * config/i386/svr3gas.h: Remove stack grows up code.
2579 Remove code duplicated from i386/sysv3.h.
2580 (TARGET_ASM_CONSTRUCTOR): New.
2581 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
2582 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
2583 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2584 (TARGET_ASM_CONSTRUCTOR): New.
2585 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
2586 (m68hc11_asm_out_destructor): New.
2587 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
2588 (TARGET_ASM_DESTRUCTOR): New.
2589 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
2590 * config/m68k/dpx2.h: Properly undef all the bits inherited from
2591 config/svr3.h pertaining to section manipulation.
2592 * config/m68k/dpx2g.h: Remove #if 0 code.
2593 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
2594 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
2595 (ASM_OUTPUT_CONSTRUCTOR): Remove.
2596 (TARGET_ASM_CONSTRUCTOR): New.
2597 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
2598 (m88k_svr3_asm_out_constructor): New.
2599 (m88k_svr3_asm_out_destructor): New.
2600 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2601 (ASM_OUTPUT_DESTRUCTOR): Remove.
2602 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2603 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
2604 * config/rs6000/aix.h: Likewise.
2605 * config/mips/rtems64.h: Don't undef removed constructor related bits.
2606 * config/mips/vxworks.h: Likewise.
2607 * config/rs6000/lynx.h: Likewise.
2608 * config/sh/elf.h: Likewise.
2609 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
2610 (DTORS_SECTION_ASM_OP): New.
2611 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2612 (ASM_OUTPUT_DESTRUCTOR): Remove.
2613 * config/sparc/sol2-sld-64.h: Likewise.
2614 * config/vax/vax.c (vms_asm_out_constructor): New.
2615 (vms_asm_out_destructor): New.
2616 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
2617 (ASM_OUTPUT_DESTRUCTOR): Remove.
2618 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
2620 * doc/tm.texi (@node Initialization): Update.
2622 2001-08-09 Richard Henderson <rth@redhat.com>
2624 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
2625 (__do_global_dtors_aux): Use gp-relative static data to avoid
2626 one dynamic relocation.
2627 (__do_frame_setup): Register Java classes.
2628 * config/alpha/crtend.asm (__JCR_END__): New.
2630 2001-08-09 Zack Weinberg <zackw@stanford.edu>
2632 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
2633 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
2634 (GEN, STAGESTUFF): Add new files.
2635 (insn-constants.h, s-constants, tm-preds.h, s-preds,
2636 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
2637 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
2638 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
2639 as well as insn-codes.h and insn-flags.h in config.h; and no
2640 extra headers in tconfig.h and hconfig.h.
2642 * gencodes.c: Eliminate code to generate predicate declarations
2643 or #defines for md-file constants.
2644 * genconstants.c, genpreds.c: New files.
2646 * i386.md: Re-order guard expressions such that TARGET_64BIT
2647 comes first, when this permits better optimization. Add
2648 TARGET_64BIT to more x86-64 patterns. Add comment explaining
2649 why this is desirable.
2651 2001-08-09 Jakub Jelinek <jakub@redhat.com>
2653 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
2654 (find_fde_for_dso): Remove.
2655 (_Unwind_IteratePhdrCallback): New.
2656 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
2657 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
2659 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2661 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
2662 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
2664 2001-08-09 Graham Stott <grahams@redhat.com>
2666 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
2667 (vis_no_unit): Use it.
2668 (visualize_no_unit): Add the insn only if room exists.
2670 2001-08-09 Graham Stott <grahams@redhat.com>
2672 * predict.c (estimate_probability): Replace magic numbers with
2673 appropriate enumeration.
2675 2001-08-09 Graham Stott <grahams@redhat.com>
2677 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
2679 (EXTRACT_FLAGS): Likewise.
2681 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
2683 * config/mips/mips.c (mips_legitimate_address_p): Check for
2684 CONST_INT in last patch.
2686 2001-08-08 Anthony Green <green@redhat.com>
2688 * java/class.c (emit_register_classes): Use assemble_jcr if
2689 possible. Keep the original mechanism as a fallback.
2690 * defaults.h (JCR_SECTION_NAME): Define if we have named section
2691 and weak symbol support.
2692 * crtstuff.c (__JCR_LIST__): Define.
2693 (__JCR_END__): Define.
2694 (_Jv_RegiserClasses): Define weak symbol if possible.
2695 (__do_global_ctors_aux): Register classes for ELF targets with
2696 weak symbol support.
2698 2001-08-08 Kazu Hirata <kazu@hxi.com>
2700 * dbxout.c: Fix comment formatting.
2701 * dependence.c: Likewise.
2703 * diagnostic.c: Likewise.
2704 * dominance.c: Likewise.
2705 * doprint.c: Likewise.
2706 * dwarf2out.c: Likewise.
2707 * dwarfout.c: Likewise.
2708 * emit-rtl.c: Likewise.
2709 * except.c: Likewise.
2710 * explow.c: Likewise.
2711 * expmed.c: Likewise.
2714 * fold-const.c: Likewise.
2715 * function.c: Likewise.
2717 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2719 * global.c (retry_global_alloc): Avoid shadowing allocno.
2721 2001-08-08 Mark Mitchell <mark@codesourcery.com>
2723 * except.c (remove_fixup_regions): Fix typo.
2725 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
2727 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
2728 unsigned HOST_WIDE_INT to avoid warning.
2729 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
2730 * flow.c (set_block_for_new_insns): Likewise.
2732 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
2734 * sibcall.c (return_value_pseudo): New static variable.
2735 (skip_copy_to_return_value): Handle return_value_pseudo.
2736 (call_ends_block_p): Ensure that return_value_pseudo is set.
2737 (optimize_sibling_and_tail_recursive_call): Discover the
2738 load of pseudo return value in alternate exit block.
2740 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
2742 * calls.c (ECF_ALWAYS_RETURN): New constant.
2743 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
2744 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
2745 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
2746 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
2747 * rtl.c (reg_note_name): New name.
2748 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
2750 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
2752 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
2754 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
2756 * alias.c (get_alias_set): Return a previously calculated
2757 alias set for a VAR_DECL.
2758 * function.c (gen_mem_addressof): Calculate the alias set before
2761 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
2763 * predict.def: Set hitrates according our experimental run.
2765 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
2767 * i386.h (HARD_REGNO_RENAME_OK): New macro.
2769 2001-08-08 H.J. Lu <hjl@gnu.org>
2771 * config/mips/mips.c (mips_unique_section): New. Copied from
2774 * config/mips/mips-protos.h (mips_unique_section): New
2777 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
2779 * config/mips/little.h: New. Generic little endian mips
2780 targets. Only mips*-*-linux* is converted to use it so far.
2782 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
2783 (WCHAR_TYPE): Defined
2784 (WCHAR_TYPE_SIZE): Likewise.
2785 (INIT_SUBTARGET_OPTABS): Likewise.
2786 (BSS_SECTION_ASM_OP): Likewise.
2787 (SBSS_SECTION_ASM_OP): Likewise.
2788 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
2789 (ASM_DECLARE_OBJECT_NAME): Likewise.
2790 (UNIQUE_SECTION): Likewise.
2791 (EXTRA_SECTIONS): Likewise.
2792 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
2793 (ASM_OUTPUT_DESTRUCTOR): Likewise.
2794 (ASM_OUTPUT_DEF): Likewise.
2795 (HANDLE_SYSV_PRAGMA): Removed.
2796 (NO_IMPLICIT_EXTERN_C): Likewise.
2797 (TARGET_MEM_FUNCTIONS): Likewise.
2798 (STARTFILE_SPEC): Likewise.
2799 (ENDFILE_SPEC): Likewise.
2800 (LIB_SPEC): Likewise.
2801 (INVOKE__main): Likewise.
2802 (CTOR_LIST_BEGIN): Likewise.
2803 (CTOR_LIST_END): Likewise.
2804 (DTOR_LIST_BEGIN): Likewise.
2805 (DTOR_LIST_END): Likewise.
2806 (SET_ASM_OP): Likewise.
2807 (ASM_OUTPUT_SOURCE_LINE): Likewise.
2808 (ASM_OUTPUT_DEF): Likewise.
2809 (ASM_OUTPUT_IDENT): Likewise.
2811 * config/mips/mips.h (ASM_SPEC): Undefine before define.
2812 (CPLUSPLUS_CPP_SPEC): Likewise.
2813 (ASM_APP_ON) Redefine only if not defined.
2814 (ASM_APP_OFF): Likewise.
2815 (ASM_OUTPUT_SOURCE_LINE): Likewise.
2816 (ASM_OUTPUT_IDENT): Likewise.
2818 * config.gcc: Update tm_file for Linux/mips.
2820 2001-08-08 Bernd Schmidt <bernds@redhat.com>
2822 * cselib.c (cselib_record_sets): If insn is predicated, turn
2823 sources into IF_THEN_ELSEs.
2825 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
2826 Turn into define_insn_and_split.
2828 * sched-deps.c: Include "cselib.h".
2829 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
2830 Use cselib to turn memory addresses into VALUEs.
2831 (sched_analyze): Call cselib_init/cselib_finish if necessary.
2832 * sched-int.h (struct sched_info): New member USE_CSELIB.
2833 * sched-ebb.c (ebb_sched_info): Initialize it.
2834 * sched-rgn.c (rgn_sched_info): Likewise.
2835 * Makefile.in (sched-deps.o): Update dependencies.
2837 * cselib.h (cselib_subst_to_values): Declare.
2838 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
2839 that have no value and autoincs to be handled by generating a new
2842 2001-08-08 Graham Stott <grahams@redhat.com>
2844 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
2845 within fixed length SEQUENCE.
2847 2001-08-08 Graham Stott <grahams@redhat.com>
2849 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
2850 (diagnostic_prefixing_rule): Likewise.
2851 (diagnostic_line_cutoff): Likewise.
2852 (diagnostic_kind_count): Likewise.
2854 2001-08-08 Graham Stott <grahams@redhat.com>
2856 * alias.c (find_base_decl): Delete redundent assignment.
2858 2001-08-08 Graham Stott <grahams@redhat.com>
2860 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
2861 (abs): Uppercase and paranthesize macro parameter.
2862 (MEM_DEPENDENCY): Add whitespace.
2864 2001-08-08 Graham Stott <grahams@redhat.com>
2866 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
2867 failure check for CONST_INT
2869 2001-08-08 Graham Stott <grahams@redhat.com>
2871 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
2872 (libcall_dead_p): Likewise.
2874 (mark_used_regs): Constify fmt.
2875 (find_use_as_address): Likewise.
2877 2001-08-08 Graham Stott <grahams@redhat.com>
2879 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
2882 2001-08-08 Graham Stott <grahams@redhat.com>
2884 * combine.c (combine_simplify_rtx): Update comment and
2885 remove erroneous test.
2887 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
2889 * cppinit.c (cpp_finish): Pop the final buffer without comment.
2890 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
2891 take care to avoid multiple no-newline at EOF warnings in that
2894 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
2896 * calls.c (expand_call): Do not emit INSN_SETJMP note.
2897 (emit_library_call_value_1): Likewise.
2898 (emit_call_1): Emit REG_SETJMP note.
2899 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
2901 * cselib.c (cselib_process_insn): Likewise.
2902 * flow.c (propagate_block): Likewise.
2903 * loop.c (find_and_verify_loops): Likewise.
2904 * reload.c (find_equiv_regs): Likewise.
2905 * reload1.c (reload): Likewise.
2906 * resource.c (mark_referenced_resources,
2907 mark_set_resources): Likewise.
2908 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
2909 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
2910 * haifa-sched.c (unlink_other_notes): Likewise.
2911 (reemit_notes): Likewise.
2912 * sched-ebb.c (sched_ebb): Likewise.
2913 * sched-rgc.c (sched_region): Likewise.
2914 * rtl.c (note_insn_name): Likewise.
2915 (reg_note_name): Add REG_SETJMP
2916 * rtl.h (reg_note): Add REG_SETJMP.
2917 (insn_note): Remove NOTE_INSN_SETJMP.
2919 * profile.c (branch_prob): Add fake edges for setjmp.
2921 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
2923 * config.gcc: Quote target_cpu_default2 correctly for
2924 powerpc*-*-* targets.
2926 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
2928 * cpplib.h, line-map.h: Update comments.
2929 * cppmain.c (printer_init): Move inline.
2930 (maybe_print_line, print_line): Take a map pointer.
2931 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
2932 (cb_file_change): Don't use prior value of print.map.
2934 2001-08-07 David Edelsohn <edelsohn@gnu.org>
2936 * doc/install.texi: Document fine-grained multilib configuration.
2938 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
2940 * rtlanal.c (find_first_parameter_load): Call note_stores
2941 only on the instructions.
2943 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2945 * alias.c (nonlocal_mentioned_p):
2946 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
2947 * calls.c (emit_call_1): Likewise.
2948 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
2949 * cselib.c (cselib_process_insn): Likewise.
2950 * df.c (df_insns_modify): Likewise.
2951 * flow.c (need_fake_edge_p): Likewise.
2952 (propagate_one_insn): Likewise.
2953 * haifa-sched.c (reemit_notes): Likewise.
2954 * integrate.c (copy_insn_list): Likewise.
2955 * jump.c (delete_prior_computation): Likewise.
2956 * local-alloc.c (validate_equiv_mem): Likewise.
2957 * loop.c (scan_loop): Likewise.
2958 * predict.c (estimate_probability): Likewise.
2959 * reload.c (reload): Likewise.
2960 * sched-deps (sched_analyze): Likewise.
2961 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
2962 * gcse.c (compute_hash_table): Likewise.
2963 (mark_call): Likewise.
2964 (store_killed_in_insn): Likewise.
2966 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
2968 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
2970 2001-08-06 Richard Henderson <rth@redhat.com>
2972 * varasm.c (assemble_gc_entry): Remove.
2973 * output.h: Likewise.
2975 2001-08-06 Richard Henderson <rth@redhat.com>
2977 * varasm.c (assemble_constructor): Take a symbol_ref and a
2978 priority instead of a bare string. Move priority handling
2979 here from cp/decl2.c.
2980 * output.h: Update decls.
2982 * c-decl.c (c_expand_body): Update calls to assemble_constructor
2983 and assemble_destructor.
2984 * profile.c (output_func_start_profiler): Likewise.
2985 * objc/objc-act.c (finish_objc): Likewise.
2986 (build_module_descriptor): Return the symbol not the symbol name.
2988 2001-08-06 David Edelsohn <edelsohn@gnu.org>
2990 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
2991 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
2992 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
2993 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
2994 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
2995 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
2997 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
2999 * cpperror.c (print_containing_files): Moved to line-map.c.
3000 (print_location): line-map.c handles re-listing or otherwise.
3001 * cpphash.h (struct lexer_state): Remove next_bol.
3002 (struct cpp_buffer): Remove include_stack_listed.
3003 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
3004 Remove faked buffer handling.
3005 (_cpp_do_file_change): Tweak.
3006 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
3007 * cppmain.c (struct printer): Remove filename.
3008 (print_line, cb_file_change): Update accordingly.
3009 * line-map.c: Include intl.h.
3010 (init_line_maps): Initialize last_listed.
3011 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
3012 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
3013 (print_containing_files): New.
3014 * line-map.h (struct line_maps): New member last_listed.
3015 (print_containing_files, INCLUDED_FROM): New.
3016 * Makefile.in: Update.
3017 * po/POTFILES.in: Add line-map.c.
3019 2001-08-06 Richard Henderson <rth@redhat.com>
3021 * except.c (convert_from_eh_region_ranges_1): Never mark
3022 USE or CLOBBER insns as throwing.
3024 * expr.c (store_constructor): Don't clobber memory targets.
3026 2001-08-06 Andreas Jaeger <aj@suse.de>
3028 * profile.c (branch_prob): Remove unused variable insn.
3030 * Makefile.in (local-alloc.o): Add dependency on except.h.
3032 * local-alloc.c: Include except.h for can_throw_internal prototype.
3034 2001-08-06 Richard Henderson <rth@redhat.com>
3036 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
3037 * function.c (expand_main_function): Implement it.
3038 * doc/tm.texi: Document it.
3040 2001-08-06 Stan Shebs <shebs@apple.com>
3042 * doc/install.texi: Document powerpc-*-darwin* details.
3044 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
3046 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
3047 (ASM_CPU_SPEC): Move back to rs6000.h
3048 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
3050 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
3052 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
3055 * config/rs6000/linux64.h: Ditto.
3057 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
3058 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
3061 Remove accidently readded definitions of FUNCTION_PROLOGUE,
3062 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
3064 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
3067 2001-08-05 Richard Henderson <rth@redhat.com>
3069 * local-alloc.c (update_equiv_regs): Do not move insns that
3072 2001-08-05 Jan Hubicka <jh@suse.cz>
3074 * Makefile.in (reload1.o): Add dedendancy on except.h
3075 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
3077 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
3078 indicating wehther edges has been cleaned up.
3079 * reload1.c: Inlucde except.h
3080 (fixup_abnormal_edges): Accept deleted insns.
3081 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
3084 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
3086 * cpplib.c (do_line): Correct line number after pop_buffer.
3088 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
3090 PR preprocessor/3824
3091 * line-map.c: Update comments.
3092 * line-map.h: Update comments.
3093 * tradcif.y: Don't consider large numbers unsigned.
3095 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
3097 PR preprocessor/3081
3098 * c-lex.c (map): New.
3099 (cb_file_change): Update map and use it.
3100 (cb_def_pragma, cb_define, cb_undef): Use map and line.
3101 (c_lex): Update to use map.
3102 * cpperror.c (print_location): Move to using logical line numbers.
3103 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
3104 (cpp_make_system_header): Similarly.
3105 (_cpp_execute_include): Stop line numbering hacks. Store the
3106 line we will return to.
3107 * cpphash.h (CPP_BUF_LINE): Remove.
3108 (struct cpp_buffer): Remove lineno and pseudo_newlines.
3109 Add map and return_to_line.
3110 (_cpp_do_file_change): Update.
3111 * cppinit.c (cpp_start_read): Update line kludge.
3112 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
3113 (trigraph_ok): Use logical line numbers for diagnostics.
3114 (skip_block_comment): Likewise.
3115 (skip_whitespace): Likewise.
3116 (skip_line_comment): Use pfile->line instead.
3117 (_cpp_lex_token): Update to use logical line numbering exclusively.
3118 Handle BOL locally. Accept new lines in directives, but keep
3119 pfile->line decremented. Diagnostics use logical lines. Update
3121 * cpplib.c (SEEN_EOL): New.
3122 (skip_rest_of_line, check_eol): Use it.
3123 (end_directive): Increase line number when accepting the newline
3124 at the end of a directive.
3125 (run_directive): Simplify.
3126 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
3127 (_cpp_do_file_change): Update to take buffer line number as an
3128 argument, and store the current map in the cpp_reader. Remove
3129 line number kludges.
3130 (_cpp_do__Pragma): Restore output position after a _Pragma.
3131 (cpp_push_buffer): Don't set output line or lineno.
3132 (_cpp_pop_buffer): Transfer more info from a faked buffer.
3133 Remove line kludge. Set output_line.
3134 * cppmacro.c (builtin_macro): Update handling of __LINE__.
3135 (parse_arg): Use logical lines.
3136 (save_lookahead_token): Save EOFs too now.
3137 * cppmain.c (struct printer): Fix comments.
3138 (printer_init): Simplify, let caller do errors.
3139 (scan_translation_unit, check_multiline_token, dump_macro): Update.
3140 (maybe_print_line): Simplify.
3141 (print_line): Don't print a linemarker if -P.
3142 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
3143 (cb_file_change): Simplify.
3144 * line-map.h (LAST_SOURCE_LINE): Fix.
3145 (CURRENT_LINE_MAP): New.
3147 2001-08-05 Bernd Schmidt <bernds@redhat.com>
3149 * doloop.c (doloop_modify_runtime): Properly compute number of
3150 iterations if loop was unrolled.
3152 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
3153 if their CSELIB_VAL_PTRs are.
3155 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
3156 (setup_spill_pointers): Initialize it.
3157 (spill_restore_mem): Set it.
3158 (do_spill, do_restore): Use it to add REG_INC note.
3159 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
3161 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
3162 asms if other insns are available.
3164 * config/ia64/ia64.c (condop_operator): New predicate.
3165 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
3166 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
3169 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
3170 temporary register than directly using a MEM.
3172 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
3174 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
3175 parameter in last change.
3177 2001-08-04 Zack Weinberg <zackw@panix.com>
3179 * sparc.md: Don't use #if inside C test expression.
3181 2001-08-04 Richard Henderson <rth@redhat.com>
3183 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
3185 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
3187 * cpphash.h (struct cpp_reader): New member directive_line.
3188 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
3189 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
3190 do_pragma): Pass line to callbacks.
3191 (start_directive): Record line of directive.
3192 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
3193 cb_include): Similarly.
3194 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
3197 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
3199 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
3202 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
3204 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
3206 * reload1.c (fixup_abnormal_edges): New static function.
3209 * flow.c (need_fake_edge_p): New function.
3210 (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
3211 avoid call insn to be very last insn in the insn stream.
3213 * profile.c (branch_prob): Call flow_call_edges_add instead of
3214 doing that by hand; cleanup cfg to re-merge basic blocks once
3217 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3219 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
3220 are also on line-map.h.
3221 * cppfiles.c (stack_include_file): Update.
3222 * cpphash.h (struct cpp_buffer): New member return_at_eof.
3223 (_cpp_pop_buffer): New.
3224 * cppinit.c (cpp_destroy, cpp_finish): Update.
3225 (do_includes): Mark each buffer to return at EOF.
3226 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
3227 return as requested.
3228 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
3229 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
3230 * cpplib.h (cpp_pop_buffer): Remove.
3231 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
3232 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
3234 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
3236 (do_preprocessing): Update.
3237 * fix-header.c (read_scan_file): Update. No need to pop buffers.
3238 * c-parse.in (_yylex): Similarly.
3239 * scan-decls.c (scan_decls): Similarly.
3240 * line-map.h: Update comments.
3242 * objc/Make-lang.in (objc-act.o): Update dependencies.
3244 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3246 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
3247 and soft register for operand 0.
3248 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
3250 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3252 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
3253 register for operand 0.
3254 ("bitcmpqi_z_used"): Allow memory for operand 0.
3255 (split "bitcmpqi"): New split to handle address reg as operand 1.
3257 2001-08-04 Andreas Jaeger <aj@suse.de>
3259 * gcse.c: Revert Daniel's last patch.
3261 2001-08-03 Zack Weinberg <zackw@stanford.edu>
3263 * sparc-protos.h: Add prototypes for fp_zero_operand and
3265 * sh-protos.h: Add prototype for fpul_operand.
3267 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
3269 * doc/extend.texi (Other Builtins): Fix typo in last change.
3271 2001-08-03 Richard Henderson <rth@redhat.com>
3273 * target.h (gcc_target): Add asm_out.named_section,
3274 section_type_flags, have_named_sections.
3275 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
3276 (TARGET_HAVE_NAMED_SECTIONS): New.
3277 (TARGET_SECTION_TYPE_FLAGS): New.
3279 * Makefile.in (toplev.o): Depend on TARGET_H.
3280 (varasm.o, dbxout.o): Likewise.
3281 * c-common.c (decl_attributes): Check targetm.have_named_sections
3282 instead of ifdef ASM_OUTPUT_SECTION_NAME.
3283 * dbxout.c (dbxout_function_decl): Likewise.
3284 (dbxout_function_end): Likewise.
3285 * toplev.c (compile_file): Likewise.
3286 * varasm.c (exception_section): Likewise.
3287 * cp/decl2.c (finish_objects): Likewise.
3289 * defaults.h (EH_FRAME_SECTION): Remove.
3290 (EH_FRAME_SECTION_ASM_OP): Remove.
3291 (EH_FRAME_SECTION_NAME): New.
3292 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
3293 (UNIQUE_SECTION_P): Remove.
3294 * dwarf2out.c (SECTION_FORMAT): Remove.
3295 (ASM_OUTPUT_SECTION): Remove.
3296 (output_call_frame_info): Use named_section_flags.
3297 (output_comp_unit, dwarf2out_start_source_file): Likewise.
3298 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
3299 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
3300 * varasm.c (in_eh_frame, eh_frame_section): Remove.
3301 (named_section_flags): New.
3302 (named_section): Use it and targetm.section_type_flags.
3303 (resolve_unique_section): New.
3304 (assemble_start_function): Use it.
3305 (asm_emit_uninitialised, assemble_variable): Likewise.
3306 (default_section_type_flags): New.
3307 (default_no_named_section, default_elf_asm_named_section): New.
3308 (default_coff_asm_named_section, default_pe_asm_named_section): New.
3309 * output.h: Update varasm.c decls.
3310 (SECTION_*): New flags.
3312 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
3313 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
3315 * config/elfos.h (UNIQUE_SECTION_P): Remove.
3316 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
3317 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
3318 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
3319 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
3320 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
3321 * config/mips/elf.h, config/mips/elf64.h: Likewise.
3322 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
3323 * config/pa/pa64-hpux.h,
3325 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
3326 (TARGET_ASM_NAMED_SECTION): New.
3327 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
3328 * config/alpha/vms.h, config/arm/coff.h: Likewise.
3329 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
3330 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
3331 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
3332 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
3333 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
3334 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
3335 * config/i386/sco5.h, config/i386/win32.h: Likewise.
3336 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
3337 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
3338 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
3339 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
3340 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
3341 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
3342 * config/sparc/sysv4.h: Likewise.
3344 * config/nextstep.h: Error until named sections implemented.
3346 * config/a29k/a29k.c (a29k_asm_named_section): New.
3347 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
3348 (vms_section_type_flags, vms_asm_named_section): New.
3349 * config/arm/arm.c (arm_elf_asm_named_section): New.
3350 * config/avr/avr.c (asm_output_section_name): Remove.
3351 * config/avr/avr-protos.h: Update.
3352 * config/c4x/c4x.c (c4x_asm_named_section): New.
3353 * config/h8300/h8300.c (h8300_asm_named_section): New.
3354 * config/i386/i386.c (sco_asm_named_section): New.
3355 * config/i386/winnt.c (SECTION_PE_SHARED): New.
3356 (i386_pe_section_type_flags): New.
3357 (i386_pe_asm_named_section): New.
3358 * config/i386/i386-protos.h: Update.
3359 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
3360 * config/mcore/mcore.c (mcore_asm_named_section): New.
3361 * config/mips/mips.c (iris6_asm_named_section): New.
3362 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
3363 instead of UNIQUE_SECTION_P.
3364 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
3365 (xcoff_asm_named_section): New.
3366 * config/sh/sh.c (sh_asm_named_section): New.
3367 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
3369 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
3370 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
3371 (EH_FRAME_SECTION_NAME): New.
3372 (EXCEPTION_SECTION): New.
3373 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
3374 (DEBUG_*_SECTION): Remove.
3375 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
3376 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
3377 (EH_FRAME_SECTION_ASM_OP): Remove.
3379 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
3380 (ASM_OUTPUT_SECTION_NAME): Remove.
3381 (TARGET_ASM_NAMED_SECTION): New.
3382 (TARGET_HAVE_NAMED_SECTIONS): New.
3383 (TARGET_SECTION_TYPE_FLAGS): New.
3384 (EH_FRAME_SECTION_ASM_OP): Remove.
3385 (EH_FRAME_SECTION_NAME): New.
3387 2001-08-03 Zack Weinberg <zackw@stanford.edu>
3389 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
3390 for complex expressions when cfun == 0.
3391 * doc/extend.texi: Document that __builtin_constant_p can be
3392 used in data initializers as well as functions.
3394 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
3396 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
3397 variable I locally, instead of expecting a declaration in the
3400 2001-08-03 Richard Henderson <rth@redhat.com>
3402 * except.c (collect_one_action_chain): Add an explicit cleanup
3403 action if regions surrounding a catch were encoded entirely
3404 within the call-site entry.
3406 2001-08-03 Richard Henderson <rth@redhat.com>
3408 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
3409 don't take REGNO of a non-register.
3411 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3413 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
3414 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
3415 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
3416 (__gthread_mutex_init_function): New function for mutex initialization.
3418 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
3420 * Makefile.in: Revert screwed up commit.
3422 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3424 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
3425 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
3426 merged by linker script to get a final _exit().
3427 (__do_global_dtors): New for destructor handling in specific exit
3429 (__do_global_ctors): New for constructors in specific install section.
3430 (__map_data_section): Map data sections before running constructors.
3431 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
3432 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
3433 (DTORS_SECTION_ASM_OP): Likewise.
3434 (CTORS_SECTION_FUNCTION): Define to force a reference to
3436 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
3438 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
3440 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
3442 * Makefile.in: Add df.h to gcse.c dependencies.
3444 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3446 * varasm.c (output_constant_def_contents): Use for the length of a
3447 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
3448 depending on which is larger.
3450 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
3452 * gcse.c: Include df.h for use as a dataflow analyzer.
3454 Declaration of reg_set_info: gone.
3455 New df_analyzer variable used by store motion.
3456 (reg_set_info): Deleted.
3457 (mark_mem_regs): New function, analyze regs used by a mem.
3458 (store_ops_ok): Use dataflow analyzer results to determine if
3459 necessary regs are changed in the block.
3460 (find_moveable_store): Remove check for symbol ref, we can handle
3461 much more complex expressions now.
3462 (compute_store_table): Remove most of the code, it's unnecessary
3463 now that the dataflow analyzer records the info for us.
3464 (store_killed_after): Add parameter to say whether to do the
3465 store_ops_okay test, used to speed up testing when we already know
3466 the answer, and just want to know if the store itself was killed.
3467 (build_store_vector): Largely rewritten to calculate the various
3468 vectors properly, and somewhat optimized.
3469 (store_motion): Init the df_analyzer, get REG_DEF chains.
3470 Also handle trapping expressions (since mems almost always trap)
3471 (simple_mem): Redefine what a simple mem is.
3473 2001-08-03 DJ Delorie <dj@redhat.com>
3475 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
3476 set from a constant part of the condition.
3478 2001-08-01 Andrew Cagney <ac131313@redhat.com>
3480 * mkdeps.c (deps_add_default_target): Make local variable
3481 ``start'' a const char pointer.
3482 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
3484 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3486 * doc/install.texi (Configuration): Fix markup.
3487 (Specific, i?86-*-udk): Likewise.
3488 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
3490 Document --enable-threads and --enable-libgcj status.
3491 (Specific, mips-sgi-irix*): Canonicalize triples.
3492 (Specific, mips-sgi-irix5): Warn about problems with this config.
3493 Mention required GNU as patch.
3494 Native assembler problems are fixed.
3495 (Specific, mips-sgi-irix6): Update O32 ABI support status.
3496 Document --enable-threads and --enable-libgcj status.
3498 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
3500 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
3503 2001-08-03 Richard Henderson <rth@redhat.com>
3505 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
3508 2001-08-03 Richard Henderson <rth@redhat.com>
3510 * rtlanal.c (find_first_parameter_load): Stop if we
3511 reach a CODE_LABEL at BOUNDARY.
3513 2001-08-03 Richard Henderson <rth@redhat.com>
3515 * config/alpha/alpha.md (force_movdi): New insn.
3516 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
3517 Tweek FRP marking of VMS prologue insns.
3518 * config/alpha/vms.h (EPILOGUE_USES): New.
3520 2001-08-02 Richard Henderson <rth@redhat.com>
3522 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
3524 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
3526 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
3527 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
3528 config/convex/convex.h, config/d30v/d30v.c,
3529 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3530 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
3531 config/mips/mips.h, config/mn10200/mn10200.h,
3532 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
3533 config/v850/v850.h, config/vax/openbsd.h,
3534 config/vax/openbsd1.h, config/vax/ultrix.h,
3535 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
3536 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
3537 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
3538 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
3539 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
3540 in comments and documentation.
3542 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3546 * Makefile.in (line-map.o): New.
3547 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
3548 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
3549 * cpperror.c (print_containing_files): Similarly.
3550 (print_location): Update. Don't output a space before _Pragma.
3551 * cppfiles.c (stack_include_file): Set to line 1 immediately.
3552 (stack_include_filee, cpp_make_system_header): Update.
3553 (_cpp_execute_include): Get logical line number right for calling
3554 as-yet-unterminated #include.
3555 * cpphash.h (struct cpp_reader): Add line_maps.
3556 (_cpp_do_file_change): Update.
3557 * cppinit.c (cpp_create_reader): Initialize line maps.
3558 (cpp_destroy): Destroy line maps.
3559 (cpp_start_read): Get logical line number right.
3560 * cpplex.c (parse_string): Only warn once for multi-line strings.
3561 Use boolean variable for null warning.
3562 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
3564 (do_include_common): End the directive early.
3565 (do_line): Don't warn about out-of-range lines in preprocessed
3566 source. Update. Remove unused variables.
3567 (_cpp_do_file_change): Update for new line mapping.
3568 (pragma_cb): New typedef.
3569 (cpp_register_pragma): Stop looking ahead before calling the
3571 (do_pragma_system_header): End directive early.
3572 (cpp_get_line_maps): New.
3573 (cpp_pop_buffer): Fudge logical line. Update.
3574 * cpplib.h: Include line-map.h
3575 (enum cpp_fc_reason): Remove.
3576 (struct cpp_file_change): Update.
3577 (cpp_get_line_maps): New.
3578 * cppmain.c (struct_printer): New member map.
3579 (cb_file_change): Update for new mappings.
3580 * fix-header.c (cb_file_change): Similarly.
3582 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
3584 * Makefile.in (libgcc.mk): Define mkinstalldirs.
3585 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
3587 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
3589 * config/vax/vax.c: include expr.h.
3591 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
3593 * Makefile.in ($(srcdir)/configure): Only rebuild in
3595 ($(srcdir)/config.in): Only define in maintainer mode.
3596 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
3598 2001-08-02 David Edelsohn <edelsohn@gnu.org>
3600 * doc/install.texi (Install GCC: Binaries): Update Bull info.
3602 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3604 * gcc.c (set_collect_gcc_options): New function, split out from
3606 Ignore elided switches.
3607 (do_spec_1): Invoke before executing command.
3608 (set_input): Export.
3609 Move declaration ...
3610 * gcc.h (set_input): ... here.
3611 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
3614 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
3617 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
3619 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
3621 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
3623 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
3624 for the unnamed instructions it expands to.
3626 2001-08-02 Richard Henderson <rth@redhat.com>
3628 * regclass.c (call_really_used_regs): Conditionally define.
3629 (init_reg_sets_1): Don't use it if not defined.
3630 (fix_register): Similarly, don't set it.
3632 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3634 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
3635 Correct comment that had been missed in the previous change.
3637 2001-08-01 Stan Shebs <shebs@apple.com>
3639 * config/darwin.c (machopic_stub_name): Try matching by name.
3640 (update_stubs): New function.
3641 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
3644 2001-08-01 Richard Henderson <rth@redhat.com>
3646 * except.c (output_function_exception_table): Use assemble_align.
3647 * varasm.c (assemble_eh_label): Remove.
3648 (assemble_eh_align, assemble_eh_integer): Remove.
3650 2001-08-01 Robert Lipe <robertl@caldera.com>
3652 * dwarfout.c: Remove reference to README.DWARF.
3654 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
3656 * regclass.c (call_really_used_regs): New array for registers which
3657 are actually used by a call.
3658 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
3660 (fix_register): Set call_really_used too.
3661 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
3662 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
3664 2001-08-01 Richard Henderson <rth@redhat.com>
3666 * read-rtl.c (read_name): Consider \r whitespace.
3668 2001-07-11 Andrew Cagney <ac131313@redhat.com>
3670 * config.gcc: Recognize powerpc-*-netbsd*.
3672 * doc/install.texi (Host/target specific installation notes for
3673 GCC): Mention powerpc-*-netbsd*.
3675 * config/rs6000/netbsd.h: New file.
3676 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
3677 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
3678 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
3679 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
3680 (TARGET_VERSION): Redefine.
3682 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
3683 mcall-netbsd as a match for mcall-sysv.
3684 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
3685 (ncrti.S, ncrtn.S): New targets.
3686 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
3688 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
3689 "netbsd' as a V4 ABI.
3690 (ASM_SPEC): Check for -mcall-netbsd.
3691 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
3692 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
3693 (LIB_SPEC, ENDFILE_SPEC): Ditto.
3694 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
3695 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
3696 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
3697 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
3699 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
3700 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
3702 2001-08-01 Mark Kettenis <kettenis@gnu.org>
3704 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
3705 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
3706 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
3707 including "unwind-pe.h".
3709 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
3711 * rs6000.md (define_splits): Kill unused constraints.
3713 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
3714 Jan Hubicka <jh@suse.cz>
3716 * function.c (thread_prologue_and_epilogue_insns): Kill code
3717 dealing with non-existent CFG.
3719 2001-08-01 Kazu Hirata <kazu@hxi.com>
3721 * alias.c: Fix comment formatting.
3722 * bitmap.c: Likewise.
3723 * builtins.c: Likewise.
3724 * calls.c: Likewise.
3725 * c-common.c: Likewise.
3726 * c-decl.c: Likewise.
3727 * c-dump.c: Likewise.
3728 * c-lex.c: Likewise.
3729 * collect2.c: Likewise.
3730 * combine.c: Likewise.
3731 * conflict.c: Likewise.
3732 * cppfiles.c: Likewise.
3733 * cppinit.c: Likewise.
3734 * cpplex.c: Likewise.
3735 * cpplib.c: Likewise.
3736 * cppmacro.c: Likewise.
3737 * cppspec.c: Likewise.
3738 * c-pragma.c: Likewise.
3739 * crtstuff.c: Likewise.
3741 * cselib.c: Likewise.
3742 * c-semantics.c: Likewise.
3743 * c-typeck.c: Likewise.
3745 2001-08-01 H.J. Lu <hjl@gnu.org>
3747 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
3749 2001-08-01 H.J. Lu <hjl@gnu.org>
3751 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
3753 2001-08-01 Ziemowit Laski <zlaski@apple.com>
3755 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
3756 contextualizing Objective-C class name lookup by the lexer.
3757 (typespec_reserved_nonattr): Disable ObjC class name lookup after
3759 (protocoldef): Add support for forward @protocol declarations.
3760 (yylexname): Suppress ObjC class name lookup in certain contexts;
3761 re-enable after lookup is complete.
3762 (_yylex): Re-enable ObjC class name lookup when certain
3763 punctuation marks are seen.
3765 * objc/objc-act.c (check_protocol_recursively): New function used
3766 for finding circular dependencies in protocols.
3767 (objc_declare_protocols): New function for handling forward
3768 @protocol declarations.
3769 (receiver_is_class_object): Detect the case when 'self' is used
3770 inside of a class method.
3771 (build_message_expr): Issue a warning if class method is desired
3772 but instance method is found instead.
3773 (conforms_to_protocol): Streamline.
3774 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
3775 protocol Foo, even if 'Bar foo' does not.
3776 (check_protocols): Streamline.
3777 (start_protocol): Add checks for circular and duplicate protocol
3779 (encode_aggregate_within): For typedefs of structs, encode the
3781 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
3782 (objc_declare_protocols): New prototype.
3784 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
3786 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
3787 * cpplex.c (handle_newline): Update prototype. Maintain logical
3789 (skip_escaped_newlines, skip_block_comment, parse_string):
3791 (_cpp_lex_token): Update, and store token position within the token.
3792 * cpplib.h (struct cpp_token): Add line and column entries.
3793 * cppmacro.c (replace_args): Position stringified tokens correctly.
3795 2001-08-01 Andreas Jaeger <aj@suse.de>
3797 * basic-block.h: Add prototype for last_loop_beg_note.
3799 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
3801 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
3802 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
3804 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
3805 while handling WITH_CLEANUP_EXPR node. Use second operand calling
3806 expand_decl_cleanup.
3807 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
3809 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
3810 operand while calling simple_cst_equal.
3811 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
3812 operand is the cleanup expression, the third is the RTL_EXPR.
3813 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
3815 2001-07-31 Jeff Sturm <jsturm@one-point.com>
3817 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
3819 2001-07-31 matthew green <mrg@eterna.com.au>
3821 * config.gcc (i386-*-netbsdelf): New description.
3822 * config/i386/netbsd-elf.h: New file.
3824 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
3826 * loop.c (check_dbra_loop): Use single_set to compute
3829 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
3831 PowerPC reorg and support for powerpc64-*-linux*.
3833 Also fixes emitting of constants on 32 bit and 64 bit
3836 * config.gcc: powerpc64-*-linux* is a new target.
3837 Things that needed aix.h now also include xcoff.h
3839 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
3841 Move AIX specific stuff into aix.h.
3842 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
3843 with more than just XCOFF now.
3844 (SET_ASM_OP): Remove, now defined where needed.
3845 (FUNCTION_PROLOGUE): New macro definition.
3846 (FUNCTION_EPILOGUE): New macro definition.
3847 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
3849 * config/rs6000/xcoff.h: New file.
3851 * config/rs6000/linux64.h: New file.
3853 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
3855 2001-07-31 Alan Modra <amodra@bigpond.net.au>
3857 * rs6000.c (print_operand_address): Handle ELF syntax.
3858 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
3859 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
3860 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
3862 2001-07-31 David Edelsohn <edelsohn@gnu.org>
3864 * rs6000.c (rs6000_override_options): Only disable
3865 flag_function_sections for XCOFF.
3866 (exact_log2_cint_operand): New predicate.
3867 (reg_or_{add,sub}_cint64_operand): New predicates.
3868 (add_operand): Compare CONST_INT with fewer function calls.
3869 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
3870 (print_operand, case 'p'): Ensure positive operand.
3871 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
3872 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
3873 (PREDICATE_CODES): Add new predicates.
3874 * rs6000.md (addsi3): Split 32-bit constants more correctly.
3875 (divsi3, modsi3): Ensure positive power-of-2.
3876 (adddi3): Use new predicate. Split 32-bit constants more
3877 correctly. Re-arrange splitter to handle any constant.
3878 (subdi3): Use new predicate.
3879 (divdi3, moddi3): Ensure positive power-of-2.
3880 (movdi): Use rs6000_emit_set_const.
3881 (load_toc_v4_pic_di): Delete.
3883 2001-07-31 Graham Stott <grahams@redhat.com>
3885 * function.c (pad_below): Revert 2001-07-26 patch.
3887 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
3889 * reg-stack (convert_regs_1): Fix best edge condition.
3891 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
3893 * jump.c (duplicate_loop_exit_test): Better test for jumps
3894 entering the loop; create loop pre_header.
3896 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
3898 * doc/install.texi: Add s390 and s390x as new targets.
3899 * doc/invoke.texi: Add documantation of S/390 and zSeries
3901 * doc/md.texi: Add documantation of S/390 and zSeries constraints.
3903 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
3905 * config/m68k/m68k.md: Replace all general_operand with
3906 nonimmediate_operand for all destinations.
3907 * config/m68k/m68k.c (not_sp_operand): Likewise.
3909 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
3911 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
3913 2001-07-30 Richard Henderson <rth@redhat.com>
3915 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
3916 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
3918 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
3920 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
3921 Add missing doc strings
3922 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
3923 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
3925 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
3927 * i386.c (ix86_output_main_function_alignment_hack): New function.
3928 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
3930 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
3931 edges by EDGE_DFS_BACK flag.
3932 (dump_edge_info): Add dfs_back flag.
3933 * basic-block.h (EDGE_DFS_BACK): New constant.
3934 (mark_dfs_back_edges): Declare.
3935 * alias.c (loop_p): Remove.
3936 (mark_constant_function): Use mark_dfs_back_edges.
3938 * reg-stack.c (block_info_def): Add predecesors counter and stack_out.
3939 (reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
3940 (compensate_edge): Break out from ...
3941 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
3942 (convert_regs_2): Set block_done once block is really done;
3943 Do updating of the predecesors counts.
3945 * toplev.c (rest_of_compilation): Recompute block_for_insn
3946 before post-reload cfg_cleanup.
3947 * function.c (thread_prologue_epilogue_insns):
3948 Call set_block_for_new_insns when emitting prologue directly.
3950 2001-07-30 Andreas Jaeger <aj@suse.de>
3952 * jump.c: Add prototype for mark_modified_reg.
3954 * cse.c (set_live_p): Add unused attribute.
3956 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
3958 (scan_for_source_files): Use long for count to avoid overflow.
3959 (output_data): Likewise.
3960 (output_data): Don't use string concatatenation to silence gcc
3963 * predict.c: Fix typos and grammar.
3965 * gcse.c (insert_insn_end_bb): Remove unused variables.
3967 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
3969 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
3970 (attempt_auto_inc): LIkewise.
3971 (mark_used_reg): Likewise.
3972 (try_pre_increment_1): Likewise.
3973 * regclass.c (regclass): Likewise.
3974 * global.c (allocno_compare): Update comment; change scaling factor.
3975 * local-alloc.c (QTY_CMP_PRI): Likewise.
3976 * regs.h (REG_FREQ_FROM_BB): New.
3977 (REG_FREQ_MAX): Likewise.
3979 2001-07-30 H.J. Lu <hjl@gnu.org>
3981 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
3984 2001-07-30 H.J. Lu (hjl@gnu.org)
3986 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
3987 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
3988 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
3990 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
3992 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
3993 as -mthumb-interwork when -mcpu=arm7 is specified.
3995 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
3997 * predict.def (noreturn, loop branch, loop exit): Mark as first
4000 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
4002 * combine.c (try_combine): Avoid barrier after noop jumps.
4004 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4006 * cpphash.h (struct cpp_reader): Remove import_warning.
4007 * cpplib.c (skip_rest_of_line): Don't bother turning off
4009 (parse_include): Move include handling to...
4010 (do_include_common): ... here. Move import warning from...
4011 (do_import): ... here.
4012 (do_pragma_poison): Don't do a callback for poison identifiers.
4013 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
4014 * cppmain.c (setup_callbacks): Similarly.
4016 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
4018 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
4019 handle multiple sets.
4020 * except.c (sjlj_mark_call_sites): .... here.
4021 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
4023 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
4025 Suggested by Richard Henderson and Richard Kenner:
4026 * combine.c (recog_for_combine): Use the fake recog
4027 only if instruction does not match.
4028 * rtl.h (NOOP_MOVE_INSN_CODE): New.
4029 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
4031 * combine.c (try_combine): Discover noop jump as direct jump.
4033 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
4035 * df.c (df_rd_global_compute): Add successors to worklist, not
4037 (df_ru_global_compute): Ditto.
4039 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
4041 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
4042 increment REG_N_SETS.
4044 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
4046 * sbitmap.h: New prototype for sbitmap_a_xor_b.
4048 * sbitmap.c (sbitmap_a_xor_b): New function.
4049 ifdef the basic block stuff on IN_GCC.
4051 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4053 * cppexp.c (parse_defined): Always record the macro name.
4054 (lex): Don't worry about identifiers, or special-case
4056 (_cpp_parse_expr): Figure out at the end of the routine
4057 whether we saw a valid !defined() expression.
4058 * cppfiles.c (stack_include_file): Update for mi_valid.
4059 (_cpp_pop_file_buffer): Similarly.
4060 * cpplex.c (_cpp_lex_token): Similarly.
4061 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
4062 mi_if_not_defined, mi_lexed): Remove.
4064 * cpplib.c (do_if): Simplify.
4065 (do_endif, push_conditional, _cpp_handle_directive): Update
4066 for renaming of mi_state to mi_valid.
4068 * cpp.texi: Add index entries for digraphs, and add comment
4069 that C++ refers to them as alternative tokens.
4071 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
4073 * basic-block.h (CLEANUP_PRE_LOOP): New.
4074 * except.c (finish_eh_generation): Update call of cleanup_cfg.
4075 * sibcall.c (optimize_sibling_calls): Likewise.
4076 * toplev.c (rest_of_compilation): Likewise.
4077 * flow.c (try_forward_edges): Take argument MODE;
4078 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
4079 (try_optimize_cfg): Update call of try_forward_edges.
4081 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
4082 Jan Hubicka <jh@suse.cz>
4084 * (validate_replace_rtx_1): Fix simplification of MINUS.
4086 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
4088 PR preprocessor/3669
4089 * cppinit.c (init_dependency_output): Turn off dump requests
4090 if sending dependencies to stdout.
4092 2001-07-28 Richard Henderson <rth@redhat.com>
4094 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
4097 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
4099 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
4101 2001-07-28 Kazu Hirata <kazu@hxi.com>
4103 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
4104 is VAR_DECL first to prevent an ICE.
4106 2001-07-28 Richard Henderson <rth@redhat.com>
4108 * varasm.c (immed_real_const_1): Don't elide special cases for
4110 (clear_const_double_mem): Clear const_tiny_rtx too.
4112 2001-07-28 Richard Henderson <rth@redhat.com>
4114 * dwarf2out.c (dw_val_class_offset): New.
4115 (struct dw_ranges_struct, dw_ranges_ref): New.
4116 (ranges_table, ranges_table_allocated): New.
4117 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
4118 (add_AT_offset, add_ranges, output_ranges): New.
4119 (print_die, output_die): Handle dw_val_class_offset.
4120 (attr_checksum, size_of_die, value_format): Likewise.
4121 (gen_lexical_block_die): Handle non-contiguous blocks.
4122 (gen_block_die): Likewise.
4123 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
4124 if needed. Dump the ranges table.
4125 * final.c (final_start_function): Remove unnecessary notes and
4126 rebuild the block tree before numbering the blocks.
4127 * function.c (reorder_blocks_0): Walk the existing block tree
4128 to unmark all blocks.
4129 (reorder_blocks_1): Create block fragments when duplicate block
4131 (reorder_fix_fragments): New.
4132 (reorder_blocks): Call it.
4133 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
4135 2001-07-28 Richard Henderson <rth@redhat.com>
4137 * emit-rtl.c (adjust_address): Make a copy of the memory address.
4139 2001-07-28 Richard Henderson <rth@redhat.com>
4141 * flow.c (add_to_mem_set_list): New function.
4142 (init_propagate_block_info): Use it.
4143 (mark_set_1): Likewise.
4144 (insn_dead_p): Canonicalize memory address for dead store
4145 comparison. Allow wider mode stores to kill narrower mode stores.
4146 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
4147 (invalidate_mems_from_set): Don't handle MEMs.
4149 2001-07-28 Kazu Hirata <kazu@hxi.com>
4151 * config/h8300/h8300.h: Fix formatting.
4153 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
4155 * basic-block.h (EDGE_FREQUENCY): New macro.
4156 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
4158 * flow.c (find_sub_basic_blocks): Likewise.
4159 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
4160 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
4162 * predict.c (DEF_PREDICTOR): New argument FLAGS.
4163 (HITRATE): New macro.
4164 (PRED_FLAG_FIRST_MATCH): New constant.
4165 (predictor_info): New field flgags.
4166 (combine_predictions_for_insn): Use DS theory to combine
4167 probabilities; set the edge probabilities when finished.
4168 (estimate_probability): Avoid duplicated matches
4169 of LOOP_BRANCH heuristics for nested loops; update comment.
4170 * predict.def: Add flags for each prediction, set probabilities
4171 according to B&L paper.
4172 * predict.h (DEF_PREDICTOR): New argument FLAGS.
4174 * profile.c (compute_branch_probabilities): Cleanup way the edge
4175 probabilities are computed and REG_BR_PROB notes are dropped; if
4176 values does not match, emit error.
4177 (init_branch_prob): Do error instead of warning when profile driven
4178 feedback is missing or corrupt.
4180 2001-07-27 DJ Delorie <dj@redhat.com>
4182 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
4183 against a constant, try to adjust the compare to have the desired
4184 constant in it so that min/max optimizations happen more often.
4186 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
4188 * flow.c (last_loop_beg_note): New function.
4189 (redirect_edge_and_branch): Use it.
4190 (split_edge): Likewise.
4192 * alias.c (loop_p): Avoid uninitialized memory access.
4194 * flow.c (try_forward_edges): Avoid accessing freed memory.
4196 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
4199 2001-07-26 Andrew Haley <aph@redhat.com>
4200 Joern Rennecke <amylaar@redhat.com>
4202 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
4203 (SUBTARGET_CPP_ENDIAN_SPEC): New.
4204 (SUBTARGET_CPP_SPEC): New.
4206 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
4207 (SUBTARGET_CPP_PTR_SPEC): New.
4208 (CPP_DEFAULT_CPU_SPEC): New.
4209 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
4210 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
4211 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
4212 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
4213 (SUBTARGET_CPP_SPEC): Define as an empty string.
4215 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4217 * doc/install.texi (Configuration): Properly link the host
4218 specific instructions also when generating HTML.
4220 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
4222 * flow.c (redirect_edge_and_branch_force): Test
4223 target->global_live_at_start.
4225 2001-07-26 Richard Henderson <rth@redhat.com>
4227 * simplify-rtx.c (avoid_constant_pool_reference): Export.
4228 * rtl.h (avoid_constant_pool_reference): Declare it.
4229 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
4230 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
4232 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
4234 * rtl.h (cleanup_barriers): Declare.
4235 * jump.c (cleanup_barriers): New function.
4236 * toplev.c (rest_of_compilation): Call cleanup_barriers
4237 before loop optimizer and after bb_reorder.
4239 * flow.c (back_edge_of_syntactic_loop_p): New.
4240 (split_edge): Use it.
4242 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4244 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
4246 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
4248 * cse.c (cse_process_notes): Replace any registers if the address
4251 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
4253 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
4254 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
4255 (propagate_block): Update prototype.
4256 * flow.c (update_life_info): Simplify the CFG and
4257 recalculate the global regs which are alive when
4258 removing dead code during a global update.
4259 (propagate_block): Return non-zero if an INSN is
4262 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4264 * Makefile.in (LIBICONV): Define.
4266 2001-07-26 Catherine Moore <clm@redhat.com>
4268 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
4269 of conditional to avoid tree checking errors.
4271 2001-07-26 Kazu Hirata <kazu@hxi.com>
4273 * regmove.c (regmove_optimize): Don't replace a reg with
4274 another reg of a different mode.
4276 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
4278 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
4279 limit length of dependancy flush list.
4280 * params.h (MAX_PENDING_LIST_LENGTH): Define.
4281 * sched-int.h (struct deps): Add pending_flush_length field.
4282 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
4283 has 1 element in it.
4284 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
4285 (sched_analyze): After a jump, if the pending memory flush list is too
4286 large, flush the pending lists.
4287 (init_deps): Initialize pending_flush_length to 0.
4288 * doc/invoke.texi (max_pending_list_length): Document parameter.
4290 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
4292 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
4293 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
4294 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
4296 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4298 * cpphash.h (struct_lexer_state): Delete was_skipping.
4299 Move skipping here from struct cpp_reader.
4300 * cpplex.c (parse_identifier): Update.
4301 (_cpp_lex_token): Don't skip tokens in a directive.
4302 * cpplib.c (struct if_stack): Update.
4303 (start_directive, end_directive): Don't change skipping state.
4304 (_cpp_handle_directive): Update.
4305 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
4306 (do_else, do_endif): Update; only check for excess tokens if not
4307 in a skipped conditional block.
4308 (push_conditional): Update for new struct if_stack.
4310 2001-07-26 Graham Stott <grahams@redhat.com>
4312 * function.c (locate_and_pad_parm): Also pad initial offset
4313 so that the total argument size also includes the padding.
4315 2001-07-26 Graham Stott <grahams@redhat.com>
4317 * gensupport.c (alter_output_for_insn): Correct enable checking failure
4318 change XSTR to XTMPL.
4320 (process_one_cond_exec): Likewise
4322 2001-07-25 Richard Henderson <rth@redhat.com>
4324 * varasm.c (assemble_variable): Create DECL_RTL before setting
4327 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
4329 * predict.c (estimate_probability): Avoid duplicated predictions.
4331 * loop.c (find_and_verify_loops): Grok multiple barriers.
4333 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4335 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
4337 * dbxout.c: Consistently use putc instead of fputc.
4338 (print_wide_int): New function; call instead of direct fprintf.
4339 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
4340 (dbxout_type_fields, dbxout_type_method_1): Likewise.
4341 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
4342 (print_int_cst_octal): Likewise.
4343 (print_octal): Show we wrote characters.
4344 (dbxout_type): Set have_used_extensions in more places.
4346 2001-07-25 Catherine Moore <clm@redhat.com>
4348 * config/v850/v850.c (v850_va_arg): Use addr
4349 instead of valist to build incr.
4351 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
4353 * flow.c (delete_dead_jumptables): New function.
4354 (life_analyzis): Call it.
4355 * bb-reorder.c (skip_insns_after_block): Handle contradictory
4358 2001-07-25 Richard Henderson <rth@redhat.com>
4360 * except.c (reachable_handlers): Handle a region being removed
4361 out from under a RESX.
4363 2001-07-25 Richard Henderson <rth@redhat.com>
4365 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
4366 swap GE/GT if it is an fp comparison.
4368 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
4370 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
4373 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
4375 * ssa.c (rename_insn_1): Do not wrap an assignment to a
4376 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
4379 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
4381 (visit_expression): When attempting to simplify an expression,
4382 retrieve any modes for arguments before they are simplified
4385 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
4386 Janis Johnson <janis@us.ibm.com>
4388 * stmt.c (expand_goto): A nonlocal goto can be a call too.
4389 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
4390 pointer parameters to match documented usage of nonlocal_goto.
4391 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
4392 parameters to their correct order.
4393 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
4394 parameters to their correct order.
4396 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
4398 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
4400 2001-07-25 Jan Hubicka <jh@suse.cz>
4401 Richard Henderson <rth@redhat.com>
4403 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
4405 (make_edges): New argument update_p; populate the edge cache if set.
4406 (find_basic_blocks): Update make_edges invocation.
4408 2001-07-24 Joel Sherrill <joel@OARcorp.com>
4410 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
4412 2001-07-24 Joel Sherrill <joel@OARcorp.com>
4414 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
4415 -Acpu and -Amachine.h.
4416 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
4417 Corrected header to say ELF not a.out.
4418 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
4419 when given -msoft-float.
4421 2001-07-24 Joel Sherrill <joel@OARcorp.com>
4423 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
4424 extra multilib parts like arm-elf.
4425 (i960-*-coff*, i960-*-rtems): Should not use collect2.
4426 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
4427 crtfini.o as extra multilib parts.
4429 2001-07-24 Joel Sherrill <joel@OARcorp.com>
4431 * configure.in: Add rtems as a supported thread model.
4432 * gthr-rtems.h: Add missing entry point __gthread_active_p.
4433 * configure: Rebuilt.
4435 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
4437 * stor-layout.c (get_mode_alignment): make it work when
4438 BITS_PER_UNIT is not a power of two.
4439 * builtins.c (get_pointer_alignment): Likewise.
4441 2001-07-24 Richard Henderson <rth@redhat.com>
4443 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
4444 the retrieved constant into the expected mode.
4446 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
4448 * flow.c (try_simplify_condjump): Avoid duplicated edges.
4449 (verify_flow_info): Check for duplicated edges; clarify
4452 * flow.c (block_label): Update basic_block_for_insn.
4453 (commit_edge_insertions): Call compute_bb_for_insn.
4455 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
4458 * flow.c (redirect_edge_and_branch,
4459 try_optimize_cfg): Use redirect_edge_succ_nodup
4460 (redirect_edge_succ_nodup): New.
4461 * basic_block.h (redirect_edge_succ_nodup): Declare.
4463 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
4466 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
4468 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
4469 (try_crossjump_to_edge): Update commetns.
4470 (try_crossjump_bb): Likewise.
4472 2001-07-24 Richard Henderson <rth@redhat.com>
4474 * combine.c (distribute_notes): Move set of need_refresh
4475 for noop_move_p down to catch all cases.
4477 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
4479 * recog.c (split_all_insns_noflow): New.
4480 * rtl.h (split_all_insns_noflow): Declare.
4481 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
4482 * m68hc11.c (m68hc11_reorg): Likewise.
4483 * sh.c (machine_dependent_reorg): Likewise.
4484 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
4487 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
4489 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
4490 (ashlsi3_n splitter): Likewise.
4491 (lshrsi3_n splitter): Likewise.
4493 (GOTaddr2picreg): Make const SImode.
4494 (sym_label2reg): Likewise.
4495 (symGOT2reg): Likewise.
4496 (symGOTOFF2reg) Likewise.
4498 (casesi_worker_0): Make unspec SImode.
4500 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
4502 * config/sh/sh.c (barrier_align): Check that an operand really is
4503 an insn before extracting its INSN_CODE.
4505 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
4507 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
4510 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
4511 for SImode to prevent overflow.
4513 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4515 * config/mips/irix6-libc-compat.c: New file.
4516 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
4517 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
4520 2001-07-24 lars brinkhoff <lars@nocrew.org>
4522 * rtl.texi (REG_POINTER): Document.
4523 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
4524 QFmode, HFmode, TQFmode, QCmode, and HCmode.
4526 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
4528 * flow.c (delete_noop_moves): Do not confuse libcall regions.
4530 2001-07-23 Richard Henderson <rth@redhat.com>
4532 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
4534 2001-07-23 Kazu Hirata <kazu@hxi.com>
4536 * config/h8300/h8300-protos.h: Add a prototype for
4537 general_operand_dst_push.
4538 * config/h8300/h8300.c (general_operand_dst_push): New.
4539 * config/h8300/h8300.h (OK_FOR_T): New.
4540 (EXTRA_CONSTRAINT): Use it.
4541 * config/h8300/h8300.md (movqi_push): Remove and integrate into
4542 the existing movqi pattern.
4543 (movhi_push): Likewise.
4545 * reload.c: Fix comment typos.
4547 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
4549 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
4551 2001-07-23 H.J. Lu (hjl@gnu.org)
4553 * doc/extend.texi: Update __builtin_return_address and
4554 __builtin_frame_address.
4556 2001-07-23 Richard Henderson <rth@redhat.com>
4558 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
4560 * config/i386/i386.md: New setcc+movzbl peephole2.
4562 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4564 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
4565 * objc/objc-act.c: Include debug.h.
4566 (synth_module_prologue): Save and restore debug hooks too.
4568 2001-07-23 lars brinkhoff <lars@nocrew.org>
4570 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
4571 and C4X_FLOAT_FORMAT.
4572 (BOOL_TYPE_SIZE): Document.
4574 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
4576 * unroll.c (loop_iterations): Fix miscalculation of initial
4579 2001-07-13 Andrew Haley <aph@redhat.com>
4581 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
4582 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
4583 * config/sh/sh.c (sh_can_redirect_branch): New function.
4584 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
4585 * reorg.c (steal_delay_list_from_target): Use
4586 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
4588 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
4590 * flow.c (try_simplify_condjump): Unlink insn chain on
4591 fallthru edge; use can_fallthru.
4593 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
4595 * basic-block.h (find_sub_basic_block): Declare.
4596 * flow.c (make_edges): New arguments MIN and MAX;
4597 (find_sub_basic_blocks): Revamp to use make_edges
4598 and purge_dead_edges.
4599 (find_basic_blocks): Update call of find_sub_basic_block.
4601 * recog.c (split_all_insns): Always expect CFG to be consistent;
4602 call find_sub_basic_blocks in case something has changed.
4603 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
4606 * basic-block.h (delete_noop_moves): Declare.
4607 * combine.c (combine_instructions): Call it.
4608 (recog_for_combine): Tolerate noop moves
4609 (distribute_notes): Force refresh when register dies at noop move.
4610 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
4612 (life_analysis): Update delete_noop_moves call.
4613 (set_noop_p): Move too ...
4614 * rtlanal.c (noop_move_p): ... here.
4615 * rtl.h (noop_move_p): Declare.
4617 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
4618 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
4620 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
4621 (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
4623 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
4625 * reload.c (push_reload): Fix typo in comment.
4626 (find_reloads_address): Ditto.
4627 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
4629 2001-07-22 Richard Henderson <rth@redhat.com>
4631 * flow.c: Grammar check and clarify a lot of comments.
4632 (try_simplify_condjump): Rename variables to be clearer.
4633 (try_forward_edges): Skip complex and fallthru edges.
4634 Rearrange tests to avoid duplicate checks.
4635 (flow_find_cross_jump): Likewise.
4636 (outgoing_edges_match): Allow match if neither branch has
4637 probability data. Loosen probability match to 5%.
4638 (try_crossjump_to_edge): Hoist repeated indirection into
4640 (try_crossjump_bb): Don't check complex edges. Eliminate
4641 redundant crossjump tests.
4642 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
4643 checks before more expensive checks.
4645 2001-07-22 Richard Henderson <rth@redhat.com>
4647 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
4648 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
4651 2001-07-22 Richard Henderson <rth@redhat.com>
4653 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
4654 (const_sint32_operand): Likewise.
4655 * m68k.md (anon mulsi pattern): Use const_int_operand not
4656 const_sint32_operand.
4657 (umulsi3_highpart): Zero extend a constant input.
4658 (smulsi3_highpart): Don't bother checking SImode constant.
4659 (const_umulsi3_highpart): Give op3 DImode.
4660 (const_smulsi3_highpart): Likewise.
4662 2001-07-22 Richard Henderson <rth@redhat.com>
4664 * flow.c (split_block): Make sure bb_note is included in the
4665 new block when splitting before a label.
4667 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
4669 * basic-block.h (redirect_edge_and_branch_force,
4670 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
4671 * flow.c (redirect_edge_and_branch_force,
4672 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
4673 (redirect_edge_and_branch_force): Fix copying of lifeness information.
4674 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
4675 * ifcvt.c (dead_or_predictable): Take BB as an new destionation
4676 instead of label; update CFG after transformation.
4677 (find_if_case_1): Update call, use redirect_edge_and_branch_force
4678 for finishing the transformation; handle even case where ELSE
4679 does not follow THEN.
4680 (find_if_case_2): Update call of dead_or_predictable; simplify
4683 * emit-rtl.c (split_branch_probability): New global variable.
4684 (try_split): Take care to set split_branch_probability and
4685 create REG_BR_PROB note for new jump insns.
4686 * md.texi (define_split): Document new feature.
4688 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
4690 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
4692 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
4693 (asm_out_file): Remove redundant declaration.
4694 (assemble_asm): Remove old #if 0 block.
4695 (assemble_variable): Remove end of function; debug output is
4696 now handled with global_decl. Remove old #if 0 block. Update.
4697 Remove saved_in_section and associated no-op code.
4698 * Makefile.in (varasm.o): Correct dependencies.
4700 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
4702 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
4703 the definition in defaults.h.
4705 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
4707 * jump.c: Update comments.
4708 (delete_barrier_successors, delete_unreferenced_labels,
4709 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
4710 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
4711 jump_optimize, jump_optimize_minimal): Kill.
4712 (rebuild_jump_labels): Move code from jump_optimize_1.
4713 (purge_line_number_notes): Likewise.
4714 (copy_loop_headers): Likewise.
4715 * reg-stack.c: Update comment.
4717 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
4718 JUMP_AFTER_REGSCAN): Kill.
4719 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
4720 purge_line_number_notes and copy_loop_headers.
4722 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
4723 Richard Henderson <rth@redhat.com>
4725 * dbxout.c (dbxout_global_decl): New.
4726 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
4727 * sdbout.c (sdbout_finish): New.
4728 (sdbout_debug_hooks): Use it, add comments.
4729 (sdbout_global_decl): Defer initialised public vars to
4731 * varasm.c (assemble_variable): Don't output debug information
4732 for file-scope variables.
4734 2001-07-22 Richard Henderson <rth@redhat.com>
4736 * config/alpha/alpha.c (get_trap_mode_suffix): New.
4737 (get_round_mode_suffix): New.
4738 (print_operand): Use them for [/]. Remove support for [&'`()+].
4739 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
4740 * config/alpha/alpha.md (attr round_suffix): New.
4741 (attr trap_suffix): New.
4742 (all insns): Set them appropriately. Use %/ instead of the
4745 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4747 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
4749 2001-07-22 Richard Henderson <rth@redhat.com>
4751 * regrename.c (regrename_optimize): Compute nregs for each
4752 potential target register.
4754 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
4755 Richard Henderson <rth@redhat.com>
4757 * dbxout.c (dbxout_global_decl): New.
4758 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
4759 * sdbout.c (sdbout_finish): New.
4760 (sdbout_debug_hooks): Use it, add comments.
4761 (sdbout_global_decl): Defer initialised public vars to
4763 * varasm.c (assemble_variable): Don't output debug information
4764 for file-scope variables.
4766 2001-07-21 H.J. Lu (hjl@gnu.org)
4768 * config/mips/mips.c (mips_cpu): Moved into ...
4769 (override_options): Here.
4771 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
4773 (mips_cpu): Removed.
4775 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4777 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
4778 ("iorqi3"): Likewise.
4779 ("xorqi3"): Likewise.
4780 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
4781 ("*subhi3_sp): Likewise.
4782 ("*subhi3"): Likewise.
4783 ("extendhisi2"): Accept D, X and Y as source operand to avoid
4786 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
4788 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
4789 * config/freebsd.h: Likewise.
4790 * config/linux.h: Likewise.
4791 * config/openbsd.h: Likewise.
4792 * config/alpha/linux-elf.h: Likewise.
4793 * config/arm/linux-elf.h: Likewise.
4794 * config/d30v/d30v.h: Likewise.
4795 * config/fr30/fr30.h: Likewise.
4796 * config/ia64/aix.h: Likewise.
4797 * config/ia64/ia64.h: Likewise.
4798 * config/mips/linux.h: Likewise.
4799 * config/pj/pj.h: Likewise.
4800 * config/rs6000/linux.h: Likewise.
4801 * config/sparc/linux.h: Likewise.
4802 * config/sparc/linux64.h: Likewise.
4804 2001-07-20 Bruce Korb <bkorb@gnu.org>
4806 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
4807 because getc() and char* may disagree on signedness.
4809 2001-07-20 Richard Henderson <rth@redhat.com>
4811 * doc/rtl.texi (REG_DEAD): Update for current semantics.
4813 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
4814 insns to delete in the presence of cc0 in a jump insn.
4816 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
4817 Jan Hubicka <jh@suse.cz>
4819 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
4820 of doing the change by hand.
4822 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
4824 * rtlanal.c (set_noop_p): Return true for noop jumps.
4826 * expr.c (emit_single_push_insn): Add call to push expander.
4827 * expr.h (optab_index): Add OTI_push
4828 (push_optab): New constant.
4829 * genopinit.c (optabs): Add push_optab.
4830 * optabs.c (init_optab): Init push optab.
4831 * md.texi (push??1): Document
4833 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4835 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
4836 expand to emit the pattern; put a REG_INC note for push/pop
4838 ("movdf", "movdf_internal"): Likewise.
4839 ("movsi", "movsi_internal"): Likewise.
4840 ("movsf", "movsf_internal"): Likewise.
4841 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
4843 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4845 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
4848 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
4850 * params.def: Change default max inline insns to 100.
4852 2001-07-20 Diego Novillo <dnovillo@redhat.com>
4854 * combine.c (combine_simplify_rtx): Generate a new shift operation
4855 when simplifying the first operand of a (neg (ashift)) expression.
4857 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4859 * regclass.c (N_REG_INTS): Use only 32 bits per element.
4861 2001-07-20 Kelley Cook <kelley.cook@home.com>
4863 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
4864 information. Move rest into ...
4865 (*-*-solaris): ... here. Eliminate redundant information and
4866 reword necessary packages section. Delete 4.x assembler bug info.
4867 (sparc-sun-*): Merge into ...
4868 (sparc-sun-sunos*): here.
4870 2001-07-20 Catherine Moore <clm@redhat.com>
4872 * config/v850/v850.md (casesi): Generate LABEL_REF
4875 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
4877 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
4878 * i386.c (ix86_zero_extend_to_Pmode): Make global.
4879 * i386.md (strclrsi expander): Use it.
4881 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
4883 * integrate.c (copy_insn_list): handle
4884 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
4885 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
4886 identically as to CODE_LABEL.
4888 * fold-const (fold): Convert A/B/C to A/(B*C) and
4891 * except.c (connect_post_landing_pads): Delete the RESX insns.
4893 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
4895 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
4897 * config/mips/mips.md (nmadd/nmsub): Use macro.
4899 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
4901 * cppinit.c (remove_dup_dir): Make static.
4902 (remove_dup_dirs): Make static. Only warn about preempting a
4903 system directory with a non-system directory.
4905 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
4907 * ifcvt.c (noce_try_store_flag_constants): Correct order
4908 of parameters to trunc_int_for_mode.
4910 2001-07-19 Mark Mitchell <mark@codesourcery.com>
4912 * reorg.c (fill_simple_delay_slots): If an instruction might throw
4913 an exception that will be caught within this function, do not fill
4914 its delay slot with any subsequent instruction.
4916 2001-07-19 Steve Ellcey <sje@cup.hp.com>
4918 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
4919 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
4920 pointer extension instruction.
4921 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
4922 * simplify-rtx.c (simplify_unary_operation) Likewise.
4923 * explow.c (convert_memory_address) Check value of
4924 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
4926 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
4927 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
4928 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
4929 Add Multilib Support.
4930 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
4931 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
4932 Add Multilib Support.
4933 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
4935 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
4936 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
4937 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
4939 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
4941 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
4942 old and new operands in `<', `3' and `b'.
4944 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
4946 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
4947 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
4948 (toplev.o): Don't depend on xcoffout.h.
4949 * c-decl.c: Include debug.h
4950 (duplicate_decls): Use debug hook.
4951 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
4952 (dbx_debug_hooks, xcoff_debug_hooks): Update.
4953 (dbxout_types): Remove.
4954 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
4955 * debug.c (do_nothing_debug_hooks): Update.
4956 (debug_true_tree, debug_nothing_rtx): New.
4957 * debug.h (struct rtx_def): New.
4958 (struct gcc_debug_hooks): New hooks ignore_block,
4959 outlining_inline_function and label.
4960 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
4961 dwarf2out_frame_finish): New.
4962 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
4963 Make static, update prototype.
4964 (dwarf2_debug_hooks): Update.
4965 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
4966 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
4967 * dwarfout.c (dwarf_debug_hooks): Update.
4968 * emit-rtl.c: Include debug.h.
4969 (remove_unnecessary_notes): Use debug hook.
4970 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
4971 (final_scan_insn): Use debug hook.
4972 * integrate.c (output_inline_function): Use debug hook.
4973 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
4974 (sdb_debug_hooks): Update.
4975 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
4976 * toplev.c: Don't include xcoffout.h.
4977 (note_outlining_of_inline_function, debug_ignore_block): Remove.
4978 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
4980 * tree.h (dwarf2out_do_frame): Remove.
4982 2001-07-19 Catherine Moore <clm@cygnus.com>
4984 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
4986 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
4988 * reload1.c (eliminate_regs_in_insn): When updating a set
4989 to the frame pointer to the hardware frame pointer, perform
4990 the update always not just when REPLACE is set.
4992 * reload1.c (choose_reload_regs): Don't inherit a reload
4993 that crosses multiple registers if registers past the first
4994 don't fit in the desired class.
4996 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
4997 when negating constants.
4999 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
5001 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
5002 * doc/tree.texi: Ditto.
5004 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
5005 Jakub Jelinek <jakub@redhat.com>
5007 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
5008 (extract_cie_info): Handle "eh" augmentation properly,
5010 (struct frame_state, __frame_state_for): New.
5012 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5014 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
5015 HANDLE_SYSV_PRAGMA): Define.
5016 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
5018 (copy_object): Caller changed.
5020 2001-07-19 Andreas Schwab <schwab@suse.de>
5022 * configure.in (assembler dwarf2 debug_line support): Define nop
5024 * configure: Regenerated.
5026 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
5028 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
5030 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
5031 to conditionally compiled block.
5032 (dbx_debug_hooks, xcoff_debug_hooks): Update.
5033 * dbxout.h (dbxout_function): Remove.
5034 * debug.c (do_nothing_debug_hooks): Update.
5035 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
5036 global_decl, deferred_inline_function.
5037 * dwarf2out.c (dwarf2_debug_hooks): Update.
5038 (dwarf2out_global_decl): New.
5039 * dwarfout.c: Don't include dwarfout.h.
5040 (dwarfout_global_decl, dwarfout_function_decl,
5041 dwarfout_deferred_inline_function): New.
5042 (dwarf_debug_hooks): Update.
5043 * dwarfout.h: Remove.
5044 * final.c: Don't include dwarfout.h.
5045 * sdbout.c (sdbout_global_decl): New.
5046 (sdbout_debug_hooks): Update.
5047 * toplev.c: Don't include dwarfout.h.
5048 (check_global_declarations, rest_of_compilation): Use new debug hooks.
5049 (note_deferral_of_defined_inline_function): Remove.
5050 * toplev.h (note_deferral_of_defined_inline_function): Remove.
5051 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
5052 * ch/lex.c: Don't include dwarfout.h.
5053 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
5054 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
5055 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
5056 * cp/optimize.c: Include debug.h.
5057 (maybe_clone_body): Use debug hook.
5058 * cp/semantics.c: Include debug.h.
5059 (expand_body): Use debug hook.
5060 * po/POTFILES.in: Remove dwarfout.h.
5062 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
5064 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
5065 * c-parse.in (yyerror, _yylex): Similarly.
5066 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
5067 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
5069 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
5070 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
5072 2001-07-18 Jeff Sturm <jsturm@one-point.com>
5074 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
5075 in-class declaration at -g1. Fixes c++/2814.
5077 2001-07-18 Richard Henderson <rth@redhat.com>
5079 * doc/md.texi (reload_in/out): Document restrictions in predicates
5080 and constraints for these patterns. Document empty string matching
5083 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5085 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
5087 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
5089 * cse.c: Undo my previous patch.
5091 2001-07-18 Tom Tromey <tromey@redhat.com>
5094 * configure: Rebuilt.
5095 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
5097 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
5099 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
5100 Jan Hubicka <jh@suse.cz>
5102 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
5103 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
5104 * jump.c (mark_jump_label): Do not forward branches.
5106 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
5108 * cse.c (delete_trivially_dead_insns): Delete the libcall block
5109 when return value is unused.
5111 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
5113 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
5115 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
5117 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
5118 on error. We can't blindly return the result of
5119 pthread_mutex_trylock because it returns a positive number on
5120 error, while we must return -1 on error.
5121 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
5123 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
5125 2001-07-18 Andreas Jaeger <aj@suse.de>
5127 * integrate.c (output_inline_function): Correct type of debug_hooks.
5129 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
5131 * combine.c (combine_simplify_rtx): DIV can be treated
5132 associatively for floats if unsafe math optimisations are enabled.
5134 2001-07-17 Richard Henderson <rth@redhat.com>
5136 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
5138 2001-07-17 Richard Henderson <rth@redhat.com>
5140 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
5141 don't force the function address into a register.
5142 (expand_call, emit_library_call_value_1): Update callers.
5143 * builtins.c (expand_builtin_apply): Likewise.
5144 * expr.h (prepare_call_address): Update decl.
5146 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
5148 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
5150 * config/i386/chorus.h: Move up.
5151 * config/sparc/chorus.h: Likewise.
5152 * config/rs6000/chorus.h: Likewise.
5153 * config/chorus.h: Moved here.
5155 2001-07-17 Andreas Schwab <schwab@suse.de>
5157 * configure.in (assembler eh_frame optimization): Handle big
5159 * configure: Regenerated.
5161 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5163 * expr.c (epxand_expr): Convert divisions into multiplications by
5164 reciprocals if -ffast-math.
5166 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
5168 * dbxout.c (dbxout_really_begin_function): Rename to
5169 dbxout_begin_function.
5170 (dbx_debug_hooks, xcoff_debug_hooks): Update.
5171 (dbxout_begin_function): Remove.
5172 (dbxout_function): Update.
5173 (dbxout_source_line): Update prototype.
5174 * dbxout.h (dbxout_begin_function): Remove.
5175 * debug.c (do_nothing_debug_hooks): Update.
5176 (debug_nothing_tree): Update.
5177 (debug_nothing_charstar_rtx): Remove.
5178 * debug.h (union tree_node): Declare.
5179 (struct rtx_def): Remove.
5180 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
5181 begin_function. Change source_line prototype.
5182 (debug_nothing_tree): New.
5183 (debug_nothing_charstar_rtx): Delete.
5184 (dwarf2out_begin_prologue): Moved from ...
5186 * dwarf2out.c (dwarf2_debug_hooks): Update.
5187 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
5188 debug info, call dwarf2out_source_line.
5189 (dwarf2out_souce_line): Update prototype.
5190 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
5191 Change prototype, make static.
5192 (dwarfout_source_line): Update prototype.
5193 (dwarf_debug_hooks): Update.
5194 * dwarfout.h (dwarfout_begin_function): Remove.
5195 * final.c (final_start_function, final_scan_insn): Use appropriate
5196 debug hooks, update to use notice_source_line.
5197 (output_source_line): Rename notice_source_line. Don't call the
5198 source_line debug hook.
5199 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
5200 make static, update prototype.
5201 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
5203 (sdbout_end_prologue): New.
5204 (sdbout_source_line): Update prototype.
5205 (sdbout_debug_hooks): Update.
5206 (sdbout_symbol): Remove unused var.
5207 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
5209 * varasm.c: Include debug.h.
5210 (assemble_start_function): Use begin_function debug_hook.
5211 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
5212 update with prototype.
5213 (xcoffout_source_line): Update prototype.
5214 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
5216 (xcoffout_source_line): Update prototype.
5218 2001-07-17 Richard Henderson <rth@redhat.com>
5220 * c-typeck.c (build_binary_op): Do not shorten unsigned
5221 right shift after sign extension.
5223 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
5225 * combine.c (combine_simplify_rtx): Attempt to simplify
5226 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
5228 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
5229 (simplify_binary_operation, simplify_unary_operation,
5230 simplify_relational_operation): Use it.
5232 * combine.c (combine_simplify_rtx): Don't do associative law
5233 on divisions; allow associative law on floats.
5235 2001-07-17 H.J. Lu <hjl@gnu.org>
5236 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5238 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
5239 ASM_OUTPUT_WEAK_ALIAS are defined.
5240 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
5241 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
5243 * config/mips/iris5.h: ... here.
5244 (HANDLE_SYSV_PRAGMA): Defined as 1.
5245 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
5246 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
5249 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
5251 * c-parse.in (all_prefix_attributes): New variable.
5252 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
5253 (maybe_resetattrs): New production.
5254 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
5255 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
5256 notype_initdcl, nested_function, notype_nested_function,
5257 component_decl, components, components_notype,
5258 component_declarator, component_notype_declarator,
5259 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
5260 ivars, mydecl, myparm): Update. Avoid prefix attributes just
5261 after a comma being applied to more than one declarator.
5262 * doc/extend.texi (Attribute Syntax): Update. Remove
5263 documentation of bugs that are no longer present.
5265 2001-07-13 Eric Christopher <echristo@redhat.com>
5267 * config/mips/mips.h: Change TUNE_MIPS* options to use
5269 (EXTRA_SPECS): Add cc1_cpu_spec.
5270 * config/mips/mips.md (muldf3): Fix typo.
5272 2001-07-16 Richard Henderson <rth@redhat.com>
5274 * config/m68k/m68k.c: Include expr.h and reload.h.
5275 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
5276 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
5278 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
5279 Richard Henderson <rth@redhat.com>
5281 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
5282 (insn_live_p): Fix fall off end of function.
5283 (dead_libcall_p): Remove COUNTS argument; update callers.
5284 (delete_trivially_dead_insns): Remove unused variables.
5286 2001-07-17 Andreas Jaeger <aj@suse.de>
5288 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
5291 * lcm.c (optimize_mode_switching): Avoid warning for unused
5292 variable if !NORMAL_MODE.
5294 * flow.c (try_crossjump_to_edge): Remove unused variable.
5296 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5298 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
5299 atexit declaration in stdlib.h.
5301 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
5303 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
5305 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
5307 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
5308 * except.c (finish_eh_generation): Update call of cleanup_cfg;
5309 do rebuild_jump_labels instead of jump_optimize
5310 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
5311 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
5312 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
5314 * flow.c: Include timevar.h
5315 (find_basic_block): Push/pop timevar;
5316 (cleanup_cfg): Likewise.
5317 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
5318 * Makefile: Add dependencies on timevar.h
5320 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
5321 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
5323 * rtl.h (delete_trivially_dead_insns): Add new parameter.
5324 * toplev.c (rest_of_compilation): Update calls.
5325 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
5326 (delete_trivially_dead_insns): ... here; accept new argument
5327 preserve_basic_blocks; preserve basic blocks if set.
5329 * reg-stack.c (stack_regs_mentioned): Return 0 if
5330 stack_regs_mentioned_data is not initialized.
5331 (reg_to_stack): Make stack_regs_mentioned survive after the
5332 reg-stack is completted; do not call cleanup_cfg.
5333 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
5334 make cleanup_cfg after bb-reorder to output to debug file.
5336 2001-07-16 Richard Henderson <rth@redhat.com>
5338 * regclass.c (init_reg_sets): Use only 32 bits per initializer
5339 from int_reg_class_contents.
5341 2001-07-16 Richard Henderson <rth@redhat.com>
5343 * hard-reg-set.h (regs_invalidated_by_call): Declare.
5344 * regclass.c (regs_invalidated_by_call): Move from cse.c.
5345 (init_reg_sets_1): Move initialization from cse_main.
5346 * cse.c (regs_invalidated_by_call): Move to regclass.c.
5347 (cse_main): Move its initialization also.
5348 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
5349 * flow.c (propagate_one_insn): Likewise.
5350 * gcse.c (compute_hash_table): Likewise.
5351 (compute_kill_rd, compute_store_table): Likewise.
5352 * sched-deps.c (sched_analyze_1): Likewise.
5354 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
5356 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
5359 2001-07-16 Steve Ellcey <sje@cup.hp.com>
5361 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
5362 in if statement so we don't access undefined memory.
5364 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
5366 * gcse.c: Update comment at top.
5367 Update comment on mem handling.
5368 mem_last_set, mem_first_set, mem_set_in_block: gone.
5369 Declaration of reg_set_info: gone.
5370 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
5371 pointless with load_killed_in_block_p (they are *more*
5372 conservative then it, not less, and less accurate).
5373 (oprs_not_set_p): Ditto.
5374 (alloc_gcse_mem): Don't allocate mem_set_in_block
5375 (free_gcse_mem): Don't free it, either.
5376 (record_last_mem_set_info): Update comment in front, remove
5377 mem_*set_* stuff. Note the reason we don't handle stores directly
5379 (compute_hash_table): Update comments to reflect reality. Remove
5380 mem_*set_* references.
5381 (reset_opr_set_tables): Remove mem_*set_* references.
5383 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
5384 (mark_clobber): Ditto (on both parts, we double set here too).
5385 (expr_killed_p): Remove mem_set_in_block test.
5386 (compute_transp): Remove mem_set_in_block test.
5388 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
5389 of edge, and removal of phi alternative to dump file.
5390 (ssa_ccp_substitute_constants): Add note about register now being
5391 constant, and which uses were replaced in what insns to dump file.
5393 2001-07-16 Andreas Jaeger <aj@suse.de>
5395 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
5396 variables of type HOST_WIDEST_INT.
5398 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
5399 (__bb_exit_func): Correct type of count_max to avoid overflow.
5400 (num_digits): Handle long long argument.
5402 * combine.c (gen_lowpart_for_combine): Remove unused variable.
5404 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
5406 * output.h (sdb_begin_function_line): Restore as an extern
5408 * sdbout.c (sdb_begin_function_line): Make extern.
5410 2001-07-15 Richard Henderson <rth@redhat.com>
5412 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
5413 * genrecog.c (maybe_both_true_mode): New.
5414 (maybe_both_true_2): Use it.
5415 (write_switch): Don't put Pmode in a switch.
5416 * rtl.c (mode arrays): Don't explicitly size them.
5418 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
5420 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
5421 handling; move unconditional splitting before mode switching.
5423 * i386.md (type): Add fistp type.
5424 (i387, length_attr, scheduling definitions): Handle this type.
5425 (fix_trunc?f?i2): Revamp to use mode switching.
5426 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
5427 * i386.h (fp_cw_mode): New enum
5428 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
5429 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
5431 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5433 * Makefile.in (integrate.o): Add debug.h.
5434 * integrate.c (debug.h): Add.
5435 (output_inline_function): Save, reset, and restore debug_hooks.
5437 2001-07-15 Richard Henderson <rth@redhat.com>
5439 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
5440 instead of COMPARE for the EQUIV expression.
5442 2001-07-15 Richard Henderson <rth@redhat.com>
5444 * flow.c (redirect_edge_and_branch_force): Initialize
5445 global_live_at_start and global_live_at_end.
5446 (allocate_bb_life_data): Export.
5447 * basic-block.h (allocate_bb_life_data): Declare.
5448 * toplev.c (rest_of_compilation): Call it.
5450 2001-07-15 Richard Henderson <rth@redhat.com>
5452 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
5453 (alpha_tablejump_best_label): New.
5454 * config/alpha/alpha-protos.h: Declare them.
5455 * config/alpha/alpha.md: Use braced strings for code blocks.
5456 (tablejump_osf): Break out add with r29.
5457 (tablejump_osf_internal): Remove.
5458 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
5459 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
5461 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
5463 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
5466 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
5468 * i386-protos.h (ix86_split_fp_branch): Update prototype.
5469 (ix86_fp_jump_nontrivial_p): New.
5470 * i386.md (fp_jcc_?): Update call of split_fp_branch;
5471 use ix86_fp_jump_nontrivial_p.
5472 * i386.c (ix86_fp_jump_nontrivial_p): New.
5473 (ix86_split_fp_branch): Accept code instead of rtx.
5474 (ix86_expand_compare): Expand comparison early in case
5475 doing so is resonably cheap.
5477 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
5479 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
5481 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
5482 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
5484 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
5486 * dbxout.c (dbxout_source_line): Make static, update prototype.
5487 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
5488 (dbxout_init, dbxout_finish, dbxout_source_line,
5489 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
5490 * dbxout.h (dbxout_source_line): Delete.
5491 * debug.c (debug_nothing_file, debug_nothing_file_int,
5492 debug_nothing_file_charstar_rtx): New.
5493 (do_nothing_debug_hooks): Update.
5494 (debug_nothing_void, debug_nothing_charstar_rtx,
5495 dwarf2out_end_epilogue): New.
5496 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
5497 * debug.h (struct rtx_def): Declare.
5498 (gcc_debug_hooks): New hooks source_line, end_epilogue
5500 (debug_nothing_void, debug_nothing_charstar_rtx,
5501 dwarf2out_end_epilogue): New.
5502 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
5503 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
5504 (dwarf2_debug_hooks): Update.
5505 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
5506 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
5507 * dwarf2out.h (dwarf2out_source_line): Remove.
5508 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
5509 Make static, update prototype.
5510 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
5511 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
5512 (dwarf_debug_hooks): Update.
5513 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
5514 dwarfout_end_function): Remove.
5515 * final.c (profile_function): Use debug hooks for ending functions
5517 (output_source_line, final_end_function): Update prototype,
5519 (final_start_function, final_scan_insn): Update.
5520 * output.h (sdb_begin_function_line): Remove.
5521 (final_end_function): Update prototype.
5522 * sdbout.c (sdb_begin_function_line): Make static.
5523 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
5524 (sdbout_source_line): New.
5525 (sdbout_end_epilogue, sdbout_end_function): Make static, update
5527 (sdb_debug_hooks): Update.
5528 (sdbout_init, sdbout_source_line,
5529 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
5530 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
5531 * toplev.c (compile_file, rest_of_compilation): Update.
5532 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
5533 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
5534 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
5535 Update for prototype changes.
5536 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
5537 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
5539 2001-07-15 Richard Henderson <rth@redhat.com>
5541 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
5542 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
5543 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
5544 * config/alpha/alpha.c: Likewise.
5545 * config/alpha/alpha.md: Likewise.
5546 * config/alpha/alpha32.h: Likewise.
5547 * config/alpha/vms.h: Likewise.
5550 2001-07-14 Richard Henderson <rth@redhat.com>
5552 * config/alpha/alpha.md: Use define_constants for unspec values.
5553 Substitute throughout.
5555 2001-07-14 Tim Josling <tej@melbpc.org.au>
5557 * tree.def (EXPON_EXPR) remove. Never supported anyway.
5559 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
5561 * pa.md: Remove unused constraints from define_split's.
5563 2001-04-14 Richard Henderson <rth@redhat.com>
5565 * ifcvt.c (find_cond_trap): Test for exit block.
5567 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
5569 Re-install recently reverted patch.
5570 * emit-rtl.c (try_split): Update mark_jump_label call.
5571 * flow.c (find_sub_basic_blocks): Likewise.
5572 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
5574 (mark_all_labels): Kill second parameter.
5575 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
5576 (rebuild_jump_labels, jump_optimize_minimal): Update call
5578 (jump_optimize_1): Kill crossjumping code.
5579 (mark_jump_label): Kill cross_jump parameter.
5580 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
5581 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
5582 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
5584 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
5586 (dump_file_info): Likewise.
5587 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
5588 reorganize passes to do reg-stack first, bb-reorder second.
5589 * invoke.texi (-d letters doc): Remove the jump2 pass.
5591 2001-07-14 Richard Henderson <rth@redhat.com>
5593 * ifcvt.c (find_cond_trap): New.
5594 (find_if_header): Call it.
5595 (merge_if_block): Relax existing jump sanity check.
5596 * jump.c (jump_optimize_1): Remove conditional trap handling.
5598 2001-07-14 Alan Modra <amodra@bigpond.net.au>
5600 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
5602 (insn_refs_are_delayed): Correct comment.
5603 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
5604 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
5605 instead of r31. Make associated insn !TARGET_64BIT, and
5606 provide an additional 64-bit insn that clobbers r2.
5608 (udivsi3): Likewise.
5610 (umodsi3): Likewise.
5612 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
5614 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
5616 * flow.c (redirect_edge_and_branch_force, split_edge,
5617 try_crossjump_to_edge): Use set_block_for_new_insns.
5618 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
5620 2001-07-13 H.J. Lu (hjl@gnu.org)
5622 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
5625 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
5627 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
5629 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
5631 * c-common.c (decl_attributes): Take a pointer to the node to
5632 which attributes are to be attached, and a flags argument.
5633 * c-common.h (enum attribute_flags): New.
5634 (decl_attributes): Update prototype.
5635 * c-decl.c (start_decl, push_parm_decl, finish_struct,
5636 finish_enum, start_function): Update calls to decl_attributes.
5637 * c-parse.in (component_declarator, component_notype_declarator,
5638 label): Update calls to decl_attributes.
5640 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
5642 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
5643 * config/avr/avr.c (legitimate_address_p): Return value changed
5644 from letter to register classes. For better debugging.
5646 2001-07-13 Kazu Hirata <kazu@hxi.com>
5648 * jump.c (reversed_comparison_code_parts): Fix comment typos.
5650 2001-07-13 H.J. Lu (hjl@gnu.org)
5652 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
5654 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
5656 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
5657 correctly for shared configurations.
5658 * config/t-libgcc-pic: New.
5659 * config/{i386,m68k,sparc}/t-openbsd: New.
5660 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
5661 Support -shared. Support debugging libraries with -g.
5662 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
5663 frame information does not emit pointer diffs.
5664 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
5667 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
5669 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
5671 2001-07-13 David Edelsohn <edelsohn@gnu.org>
5673 * combine.c (try_combine): Ensure const_int pow2 is positive.
5675 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
5677 * config.gcc: Add configuration for s/390.
5678 * config/s390/s390.c: New. Subroutines for code generation.
5679 * config/s390/s390.h: New. Definitions for s/390.
5680 * config/s390/s390-protos.h: New. Prototypes.
5681 * config/s390/linux.h: New. Definitions for linux for s/390.
5682 * config/s390/linux64.h: New. Definitions for linux for zSeries.
5683 * config/s390/t-linux: New. Makefile fragment.
5684 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
5685 * config/s390/fixdfdi.h: New. Fix L_fix*di.
5687 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
5689 * emit-rtl.c (try_split): Update mark_jump_label call.
5690 * flow.c (find_sub_basic_blocks): Likewise.
5691 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
5693 (mark_all_labels): Kill second parameter.
5694 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
5695 (rebuild_jump_labels, jump_optimize_minimal): Update call
5697 (jump_optimize_1): Kill crossjumping code.
5698 (mark_jump_label): Kill cross_jump parameter.
5699 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
5700 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
5701 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
5703 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
5705 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
5706 reorganize passes to do reg-stack first, bb-reorder second.
5707 * invoke.texi (-d letters doc): Remove the jump2 pass.
5709 2001-07-12 Steve Ellcey <sje@cup.hp.com>
5711 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
5713 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
5715 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
5717 (verify_flow_info): Make diagnostics prettier.
5719 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
5721 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
5723 * flow.c (outgoing_edges_match): Return early if condition reversal
5726 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
5728 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
5729 (mips_move_2words): When splitting a move into two instructions,
5730 prefix the second address operand with '%D'.
5732 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
5734 * Makefile.in (final.o): Depend on debug.h.
5735 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
5736 (dbx_debug_hooks): Add new hooks.
5737 (xcoff_debug_hooks): New.
5738 * debug.c (debug_nothing_file_int_int): New.
5739 (do_nothing_debug_hooks): Update.
5740 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
5741 (debug_nothing_file_int_int): New.
5742 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
5743 static, update prototype.
5744 (dwarf2_debug_hooks): Update.
5745 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
5746 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
5747 static, update prototype.
5748 (dwarf_debug_hooks): Update.
5749 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
5750 * final.c: Include debug.h.
5751 (final_scan_insn): Use debug hooks when beginning and ending blocks.
5752 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
5753 static, update prototype.
5754 (sdb_debug_hooks): Update.
5755 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
5756 * toplev.c: Distinguish between xcoff and dbx.
5758 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
5759 Call all debug hooks, not just dwarf ones.
5761 2001-07-11 Timothy Wall <twall@redhat.com>
5763 * config.gcc: Add configuration for AIX5/IA64.
5764 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
5765 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
5766 support prefix/suffix code.
5767 * config/ia64/t-aix: New. Makefile fragment.
5768 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
5770 2001-07-11 Kazu Hirata <kazu@hxi.com>
5772 * recog.c (validate_change): Fix a comment typo.
5774 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
5776 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
5777 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
5779 * dbxout.c (dbx_debug_hooks): Add new hooks.
5780 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
5782 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
5784 * dbxout.h (dbxout_start_new_source_file,
5785 dbxout_resume_previous_source_file): Delete.
5786 * debug.c (do_nothing_debug_hooks): Add new hooks.
5787 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
5788 (debug_nothing_int_charstar, debug_nothing_int): New.
5789 * debug.h (gcc_debug_hooks): New hooks define, undef,
5790 start_source_file and end_source_file.
5791 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
5792 (debug_nothing_int_charstar, debug_nothing_int): New.
5793 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
5794 the conditionally compiled section.
5795 (dwarf2out_start_source_file, dwarf2out_end_source_file,
5796 dwarf2out_define, dwarf2out_undef): Make static.
5797 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
5798 dwarf2out_define, dwarf2out_undef): Remove.
5799 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
5800 (dwarfout_start_source_file, dwarfout_end_source_file,
5801 dwarfout_define, dwarfout_undef): Make static.
5802 (dwarfout_start_source_file_check,
5803 dwarfout_end_source_file_check): New.
5804 (dwarfout_define, dwarfout_finish): Update.
5805 * dwarfout.h (dwarfout_start_new_source_file,
5806 dwarfout_resume_previous_source_file, dwarfout_define,
5807 dwarfout_undef): Remove.
5808 * sdbout.c (sdb_debug_hooks): Add new hooks.
5809 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
5811 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
5812 make static, take an arg.
5813 * sdbout.h (sdbout_start_new_source_file,
5814 sdbout_resume_previous_source_file): Delete.
5815 * toplev.c (debug_start_source_file, debug_end_source_file,
5816 debug_define, debug_undef): Delete.
5817 * toplev.h (debug_start_source_file, debug_end_source_file,
5818 debug_define, debug_undef): Delete.
5820 * java/jcf-parse.c: Include debug.h.
5821 (parse_class_file): Update to use debug hooks directly.
5822 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
5824 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5826 * alias.c (set_mem_alias_set): New function.
5827 * rtl.h (set_mem_alias_set): Declare it.
5828 * builtins.c (expand_builtin_return_addr): Call it instead of
5829 using MEM_ALIAS_SET accessor.
5830 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
5831 (get_memory_rtx, expand_builtin_va_arg): Likewise.
5832 (expand_builtin_va_copy):Likewise.
5833 * caller-save.c (setup_save_areas): Likewise.
5834 * calls.c (compute_argument_addresses): Likewise.
5835 * explow.c (set_mem_attributes): Likewise.
5836 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
5837 (expand_assignment, store_constructor_field, store_field): Likewise.
5838 (expand_expr_unaligned): Likewise.
5839 * function.c (assign_stack_temp_for_type): Likewise.
5840 (put_reg_into_stack, gen_mem_addressof): Likewise.
5841 * ifcvt.c (noce_try_cmove_arith): Likewise.
5842 * reload1.c (reload, alter_reg): Likewise.
5843 * config/alpha/alpha.c (get_aligned_mem): Likewise.
5844 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
5845 (alpha_expand_unaligned_store): Likewise
5846 (alpha_expand_unaligned_load_words): Likewise.
5847 (alpha_expand_unaligned_store_words): Likewise.
5848 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
5849 (alpha_expand_epilogue): Likewise.
5850 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
5851 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
5852 * config/i386/i386.c (legitimize_pic_address): Likewise.
5853 * config/i960/i960.c (setup_incoming_varargs): Likewise.
5854 * config/ia64/ia64.c (spill_restore_mem): Likewise.
5855 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
5856 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
5857 * config/mips/mips.c (mips_va_arg): Likewise.
5858 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
5859 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5860 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
5861 (setup_incoming_varargs, rs6000_va_arg): Likewise.
5862 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
5863 (rs6000_emit_epilogue): Likewise.
5864 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
5865 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5866 * config/v850/v850.c (v850_va_arg): Likewise.
5868 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5870 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
5871 when fallthru edge is present.
5872 (mege_blocks): Handle case where creation of jump insn
5875 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
5876 CLEANUP_POST_REGSTACK): New constants.
5877 * except.c (finish_eh_generation): Update call of cleanup_cfg,
5878 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
5879 * output.h (cleanup_cfg): Update prototype.
5880 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
5881 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
5882 cleanup_cfg call; kill missleading comment.
5883 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
5884 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
5885 parameter; control optimizations performed using it.
5886 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
5887 try_crossjump_bb): New functions.
5889 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5891 * pa.c (pa_output_function_prologue): Delete prototype. Make function
5893 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
5894 pa_output_function_prologue.
5895 * pa-protos.h (pa_output_function_prologue): New prototype.
5897 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5899 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
5900 and low to get correct sign extension in low+high test.
5902 2001-07-11 Janis Johnson <janis@us.ibm.com>
5904 * gcov.c (arcdata): Use gcov_type to fix branch percentage
5905 for large hit count.
5907 * profile.c (branch_prob): Fix .bbg info for computed gotos
5910 2001-07-11 Mark Mitchell <mark@codesourcery.com>
5912 * stmt.c (parse_output_constraint): New function, split out
5914 (expand_asm_operands): ... here. Use parse_output_constraint.
5915 * tree.h (parse_output_constraint): Declare it.
5917 2001-07-11 Richard Henderson <rth@redhat.com>
5919 * bitmap.c: Comment some functions; fiddle whitespace.
5920 (bitmap_free): Don't export.
5921 (bitmap_element_allocate): Use memset.
5922 * bitmap.h (bitmap_free): Don't declare.
5924 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
5926 * gcse.c, lcm.c, sched-deps.c:
5927 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
5929 * flow.c (flow_loops_find): Free dom if we found no loops, since
5930 we aren't going to save it.
5932 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
5935 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
5937 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
5939 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5941 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
5942 #ifndef DWARF2_DEBUGGING_INFO.
5944 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5946 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
5948 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5950 * config/mips/mips.c (gen_int_relational): Tell the caller not to
5951 reverse a branch if a NE comparison is implemented with GTU.
5953 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
5954 H.J. Lu <hjl@gnu.org>
5956 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
5958 (call_internal2): Likewise.
5959 (call_value_internal1): Likewise.
5960 (call_value_internal2): Likewise.
5961 (call_value_multiple_internal1): Likewise.
5962 (call_value_multiple_internal2): Likewise.
5964 2001-07-10 Kazu Hirata <kazu@hxi.com>
5966 * calls.c (emit_library_call_value_1): Fix a comment typo.
5967 * dwarf2out.c (mem_loc_descriptor): Likewise.
5968 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
5970 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
5972 * simplify-rtx.c (simplify_subreg): Fix typo in comment
5974 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5976 * recog.c (offsettable_address_p): Handle LO_SUM case.
5977 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
5978 instead of plus_constant.
5980 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5982 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
5983 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
5985 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5987 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
5988 adjust_address_nv instead of plus_constant.
5990 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
5992 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
5993 dwarf2out.o): Depend on debug.h, wrap long lines.
5994 * dbxout.c: Include debug.h.
5995 (dbx_debug_hooks): New.
5996 (dbxout_init): Make static, take just 2 args.
5997 (dbxout_finish): Make static.
5998 * dbxout.h (dbxout_init, dbxout_finish): Delete.
5999 * debug.c: New file.
6000 * debug.h: New file.
6001 * dwarf2out.c: Include debug.h.
6002 (dwarf2_debug_hooks): New.
6003 (dwarf2out_init): Make static.
6004 (dwarf2out_finish): Make static, take 2 args.
6005 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
6006 * dwarfout.c: Include debug.h.
6007 (dwarf_debug_hooks): New.
6008 (dwarfout_init): Make static.
6009 (dwarfout_finish): Make static, take 2 args.
6010 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
6011 * sdbout.c: Include debug.h.
6012 (sdb_debug_hooks): New.
6013 (sdbout_init): Make static, take 2 args.
6014 * sdbout.h (sdbout_init): Delete.
6015 * toplev.c: Include debug.h.
6017 (compile_file): Set deubg_hooks based on command line options.
6018 Use the hooks unconditionally rather than conditional compilation.
6020 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
6022 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
6023 first_insn_after_basic_block_note instead.
6025 * df.c (df_bb_refs_unlink): #if 0 out for now.
6027 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
6029 * ssa.h: Add prototype for ssa_const_prop
6030 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
6031 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
6032 (ssa_fast_dce): Remove unused variable
6034 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6036 * diagnostic.c (finish_diagnostic): Rename to
6037 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
6040 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
6042 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
6045 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
6046 (dump_file): Only pad the demangled name with spaces if the
6047 mangled name was padded with spaces.
6049 2001-07-10 Bernd Schmidt <bernds@redhat.com>
6051 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
6054 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6056 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
6057 extraction if no direct load if either EXPAND_CONST_ADDRESS or
6060 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
6061 whether can put offset inside LO_SUM to check mode alignment, not size.
6063 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6065 * doc/tm.texi (Misc): Fix thinko.
6067 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
6069 * regmove.c (replace_in_call_usage): Fix warnings.
6070 * sched-deps.c (add_dependence): Fix warnings.
6071 * simplify-rtx.c (simplify_subreg): Likewise.
6072 Return NULL_RTX instead of NULL.
6074 * reg-stack.c (emit_swap_insn): Eliminate warnings.
6075 (subst_asm_stack_regs): Likewise.
6077 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
6080 * dwarf2out.c (output_call_frame_info): Declare i as int.
6081 (build_abbrev_table): Declare n_alloc as int.
6082 (dwarf2out_finish): Initialize die.
6083 * except.c: Declare sjlj_funcdef_number as unsigned.
6084 (connect_post_landing_pads): Declare j as unsigned.
6085 (convert_to_eh_region_ranges): Initialize call_site.
6086 (output_function_exception_table): Initialize tt_format_size.
6087 * expr.c (move_by_pieces_1): Initialize to1.
6088 (store_constructor): Initialize minelt and maxelt.
6089 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
6090 * function.c (instantiate_decls): Avoid signed/unsigned warning.
6092 * c-decl.c (combine_parm_decls): Unused, remove.
6093 * c-tree.h: Remove prototype for combine_parm_decls.
6095 * reload.c (push_reload): Fix warning.
6096 (regno_clobbered_p): Likewise.
6097 * reload1.c (replace_pseudos_in_call_usage): Likewise.
6098 (reload_combine): Likewise.
6100 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
6101 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
6103 * bitmap.c (bitmap_operation): Change user.
6104 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
6106 2001-07-10 Eric Christopher <echristo@redhat.com>
6108 * config/mips/mips.c (override_options): Fix typo.
6110 2001-07-09 Stan Shebs <shebs@apple.com>
6112 * target.h (struct gcc_target): New fields init_builtins and
6114 * target-def.h (TARGET_INIT_BUILTINS): New macro.
6115 (TARGET_EXPAND_BUILTIN): New macro.
6116 (TARGET_INITIALIZER): Add them.
6117 * builtins.c: Include target.h.
6118 (expand_builtin): Use targetm.expand_builtin.
6119 (default_init_builtins): New function.
6120 (default_expand_builtin): New function.
6121 * expr.h (default_init_builtins): Declare.
6122 (default_expand_builtin): Declare.
6123 * c-common.c (c_common_nodes_and_builtins): Use
6124 targetm.init_builtins.
6125 * defaults.h (MD_INIT_BUILTINS): Remove.
6126 * Makefile.in (builtins.o): Depend on target.h.
6128 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
6129 (TARGET_EXPAND_BUILTIN): Define.
6130 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
6131 (MD_EXPAND_BUILTIN): Remove.
6133 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
6134 (TARGET_EXPAND_BUILTIN): Define.
6135 (c4x_init_builtins): Make endlink arg a local.
6136 (c4x_print_operand): Fix typos in adjust_address usages.
6137 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
6138 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
6139 (MD_EXPAND_BUILTIN): Remove.
6141 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
6142 (TARGET_EXPAND_BUILTIN): Define.
6143 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
6144 (ix86_init_builtins): Call new function only if TARGET_MMX.
6145 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
6146 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
6147 (MD_EXPAND_BUILTIN): Remove.
6149 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
6150 (TARGET_EXPAND_BUILTIN): Define.
6151 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
6152 (MD_EXPAND_BUILTIN): Remove.
6154 * doc/tm.texi: Document these changes.
6156 2001-07-09 Diego Novillo <dnovillo@redhat.com>
6158 * basic-block.h (tree_node): Forward declare if needed.
6159 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
6160 (BLOCK_HEAD_TREE): Define.
6161 (BLOCK_END_TREE): Define.
6162 (struct loops): Rename field 'tree' to 'tree_root'.
6163 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
6165 (flow_loops_tree_build): Rename reference to field 'tree' to
6167 (flow_loops_level_compute): Ditto.
6168 * predict.c (estimate_bb_frequencies): Ditto.
6169 * tree.h (struct tree_common): Add field 'aux'.
6171 2001-07-09 Stan Shebs <shebs@apple.com>
6173 * config/darwin.c (darwin_encode_section_info): Don't mark any
6174 DECL_EXTERNAL node as defined.
6176 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
6178 * pa.c (pa_init_machine_status, pa_mark_machine_status,
6179 pa_free_machine_status, hppa_init_pic_save): Delete.
6180 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
6181 (hppa_profile_hook): Use hppa_pic_save_rtx.
6182 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
6183 hppa_init_pic_save): Delete.
6184 (hppa_pic_save_rtx): Declare.
6185 * pa.md (call, call_value, sibcall, sibcall_value,
6186 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
6188 2001-07-09 Kazu Hirata <kazu@hxi.com>
6190 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
6191 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
6193 2001-07-09 Andreas Jaeger <aj@suse.de>
6195 * output.h: Add declaration of final_forward_branch_p.
6197 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
6199 * varray.c: Include errors.h for internal_error and trim_filename
6202 * Makefile.in (varray.o): Add errors.h.
6204 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
6206 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
6207 * optabs.c (have_add2_insn): Check whether the add insn chosen
6208 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
6209 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
6211 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
6213 * Makefile.in (OBJS): Add ssa-ccp.o
6214 (ssa-ccp.o): Add dependencies.
6215 * toplev.c (DFI_ssa_ccp): New dump file enum.
6216 (dump_file): Add entry for dumping after SSA CCP.
6217 (flag_ssa_ccp): New flag variable.
6218 (f_options): Add -fssa-ccp.
6219 (rest_of_compilation): Run SSA CCP if requested.
6220 * timevar.def (TV_SSA_CCP): New timevar.
6221 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
6222 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
6223 Fix minor typo in SSA DCE documentation.
6224 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
6225 Add documentation for new dump option. Renumber dump files
6228 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
6230 * emit-rtl.c (gen_highpart_mode): New.
6231 * rtl.h (gen_highpart_mode): Declare.
6232 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
6233 operand can be VOIDmode constant.
6235 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
6237 * flow.c (redirect_edge_and_branch_force): New.
6238 (can_fallthru): Ensure that basic blocks are succeeding.
6239 (try_optimize_cfg): Do not delete basic block if it is the last one.
6241 * flow.c (try_redirect_by_replacing_jump): Do not remove
6242 jumps with side effects, unlink chain on fallthru edge;
6243 set block for new jump instruction; avoid basic block to
6244 over by line number note.
6246 * flow.c (try_simplify_condjump): Verify that the condjump
6247 is not always falling trought.
6250 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
6252 * flow.c (forwarder_block_p): Fix for fallthru blocks.
6253 (try_redirect_by_replacing_jump): Update properly the count
6254 and frequency information.
6256 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6258 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
6259 address that is a LO_SUM specially.
6260 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
6262 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
6264 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
6265 (operand_subword): Use them.
6266 (change_address_1): Renamed from change_address; new arg VALIDATE.
6267 * expr.h: Reflect above changes; change_address now macro.
6268 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
6270 * cselib.c (add_mem_for_addr): Likewise.
6271 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
6272 * regmove.c (try_apply_stack_adjustment): Likewise.
6273 * reload.c (push_reload, make_memloc): Likewise.
6274 * reload1.c (eliminate_regs): Likewise.
6275 * simplify-rtx.c (simplify_replace_rtx): Likewise.
6276 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
6278 * combine.c (make_extraction, simplify_shift_const): Likewise.
6279 (gen_lowpart_for_combine): Likewise.
6280 * cse.c (gen_lowpart_if_possible): Likewise.
6281 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
6282 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
6283 * optabs.c (gen_move_insn): Likewise.
6284 * reload1.c (alter_reg): Likewise.
6285 * simplify-rtx.c (simplify_subreg): Likewise.
6286 * stmt.c (expand_anon_union_decl): Likewise.
6287 * recog.c (validate_replace_rtx_1): Likewise.
6289 * Makefile.in (recog.o): Add $(EXPR_H).
6290 * explow.c (stabilize): Call replace_equiv_address.
6291 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
6292 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
6294 2001-07-03 Andrew Haley <aph@redhat.com>
6296 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
6297 the mode of the memory location.
6299 2001-07-09 Bo Thorsen <bo@suse.co.uk>
6301 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
6303 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
6305 * final.c (output_addr_const): Use target opening and
6306 closing parentheses.
6307 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
6308 defaults, add to TARGET_ASM_OUT.
6309 * target.h (struct gcc_target): Add open_paren and close_paren.
6310 * doc/md.texi: Update.
6311 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
6312 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
6313 TARGET_ASM_CLOSE_PAREN.
6314 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
6316 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
6318 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6319 * config/a29k/a29k.h: Similarly.
6320 * config/alpha/alpha.h: Similarly.
6321 * config/arc/arc.h: Similarly.
6322 * config/arm/aof.h: Similarly.
6323 * config/arm/aout.h: Similarly.
6324 * config/avr/avr.h: Similarly.
6325 * config/c4x/c4x.h: Similarly.
6326 * config/clipper/clipper.h: Similarly.
6327 * config/convex/convex.h: Similarly.
6328 * config/d30v/d30v.h: Similarly.
6329 * config/dsp16xx/dsp16xx.h: Similarly.
6330 * config/elxsi/elxsi.h: Similarly.
6331 * config/fr30/fr30.h: Similarly.
6332 * config/h8300/h8300.h: Similarly.
6333 * config/i370/i370.h: Similarly.
6334 * config/i386/i386.h: Similarly.
6335 * config/i860/i860.h: Similarly.
6336 * config/i960/i960.h: Similarly.
6337 * config/ia64/ia64.h: Similarly.
6338 * config/m32r/m32r.h: Similarly.
6339 * config/m68hc11/m68hc11.h: Similarly.
6340 * config/m68k/m68k.h: Similarly.
6341 * config/m88k/m88k.h: Similarly.
6342 * config/mcore/mcore.h: Similarly.
6343 * config/mips/mips.h: Similarly.
6344 * config/mn10200/mn10200.h: Similarly.
6345 * config/mn10300/mn10300.h: Similarly.
6346 * config/ns32k/ns32k.h: Similarly.
6347 * config/pa/pa.h: Similarly.
6348 * config/pdp11/pdp11.h: Similarly.
6349 * config/pj/pj.h: Similarly.
6350 * config/romp/romp.h: Similarly.
6351 * config/rs6000/rs6000.h: Similarly.
6352 * config/sh/sh.h: Similarly.
6353 * config/sparc/sparc.h: Similarly.
6354 * config/v850/v850.h: Similarly.
6355 * config/vax/vax.h: Similarly.
6356 * config/we32k/we32k.h: Similarly.
6358 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
6360 * doc/c-tree.texi: Document representation of attributes.
6362 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
6364 * doc/tm.texi: Update some places for the rename of target to
6367 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
6369 * target.h (struct gcc_target): Add insert_attributes.
6370 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
6371 (TARGET_INITIALIZER): Update.
6372 * tree.c, tree.h (default_insert_attributes): New function.
6373 Update comments on other default functions to refer to targetm,
6375 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
6376 TARGET_INSERT_ATTRIBUTES.
6377 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
6378 * c-common.c (decl_attributes): Use targetm.insert_attributes.
6379 Don't use PRAGMA_INSERT_ATTRIBUTES.
6380 * Makefile.in (c-common.o): Depend on $(TARGET_H).
6381 * c-decl.c (start_decl, start_function): Don't call
6382 SET_DEFAULT_DECL_ATTRIBUTES.
6383 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
6384 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
6386 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
6387 (c4x_check_attribute): Avoid modifying attribute list itself.
6388 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
6390 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
6391 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
6393 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
6394 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
6396 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
6397 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
6399 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
6400 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
6401 Adjust parameters. Make static.
6403 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
6405 * c-common.c (decl_attributes): Only take a single attributes
6407 * c-common.h (decl_attributes): Update prototype.
6408 * c-decl.c (start_decl, start_function): Only take a single
6409 attributes parameter. Update calls to decl_attributes.
6410 (finish_struct, finish_enum): Update calls to decl_attributes.
6411 (push_parm_decl): Expect unified list of attributes. Update call
6413 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
6414 notype_nested_function, component_declarator,
6415 component_notype_declarator, label): Update calls to
6417 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
6418 lists that are passed to push_parm_decl.
6419 * c-tree.h (start_function, start_decl): Update prototypes.
6420 * config/sh/sh-protos.h, config/sh/sh.c
6421 (sh_pragma_insert_attributes): Only take a single attributes
6423 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
6424 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
6425 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
6426 build_module_descriptor, generate_static_references,
6427 generate_strings, build_selector_translation_table,
6428 generate_descriptor_table, generate_protocols,
6429 generate_ivars_list, generate_dispatch_table,
6430 generate_protocol_list, generate_category,
6431 generate_shared_structures, really_start_method, add_objc_decls,
6432 generate_classref_translation_entry): Update calls to start_decl
6434 (build_tmp_function_decl, start_method_def): Unify attribute lists
6435 that are passed to push_parm_decl.
6437 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
6439 * final.c (no_asm_to_stream): New.
6440 (final_scan_insn): Use target structures for prologue ends
6441 and epilogue starts.
6442 * output.h (no_asm_to_stream): New.
6443 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
6444 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
6445 (TARGET_ASM_OUT): Update.
6446 * target.h (struct gcc_target): New members function_end_prologue
6447 and function_begin_epilogue.
6448 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
6449 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
6450 * config/alpha/alpha.c (output_end_prologue): Rename to
6451 alpha_output_function_end_prologue. Use in target struct
6453 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
6454 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
6455 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
6456 ia64_output_function_end_prologue. Use in target struct
6458 (ia64_function_prologue, ia64_funciton_epilogue): Rename
6459 mistyped prototypes.
6460 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
6461 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
6463 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
6464 an use in target struct, make static.
6465 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
6468 2001-07-08 Richard Henderson <rth@redhat.com>
6470 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
6472 2001-07-08 Richard Henderson <rth@redhat.com>
6474 * config/i386/i386.md: Remove constraints strings from define_split
6475 and define_peephole2 patterns.
6476 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
6477 (eh_return): Use them.
6479 2001-07-08 Richard Henderson <rth@redhat.com>
6481 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
6482 Document MD_FALLBACK_FRAME_STATE_FOR.
6484 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6486 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
6487 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
6489 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
6491 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
6493 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
6494 of the label inside NAME as opposed to just the end of NAME.
6496 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
6498 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
6499 * config/alpha/alpha.c (alpha_init_machine_status,
6500 alpha_mark_machine_status, alpha_free_machine_status): Delete.
6501 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
6502 (vms_valid_decl_attribute_p): Make static, conditionally compile.
6503 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
6505 2001-07-06 Stan Shebs <shebs@apple.com>
6507 * target.h (targetm): Rename global from "target", so as not to
6508 conflict with local variables.
6510 * c-typeck.c: Ditto.
6514 * cp/decl2.c: Ditto.
6515 * cp/typeck.c: Ditto.
6516 * 1750a/1750a.c: Ditto.
6517 * a29k/a29k.c: Ditto.
6521 * clipper/clipper.c: Ditto.
6522 * convex/convex.c: Ditto.
6523 * d30v/d30v.c: Ditto.
6524 * dsp16xx/dsp16xx.c: Ditto.
6525 * elxsi/elxsi.c: Ditto.
6526 * fr30/fr30.c: Ditto.
6527 * h8300/h8300.c: Ditto.
6528 * i370/i370.c: Ditto.
6529 * i386/i386.c: Ditto.
6530 * i860/i860.c: Ditto.
6531 * i960/i960.c: Ditto.
6532 * ia64/ia64.c: Ditto.
6533 * m32r/m32r.c: Ditto.
6534 * m68hc11/m68hc11.c: Ditto.
6535 * m68k/m68k.c: Ditto.
6536 * m88k/m88k.c: Ditto.
6537 * mips/mips.c: Ditto.
6538 * ns32k/ns32k.c: Ditto.
6540 * pdp11/pdp11.c: Ditto.
6541 * romp/romp.c: Ditto.
6542 * rs6000/rs6000.c: Ditto.
6544 * sparc/sparc.c: Ditto.
6546 * we32k/we32k.c: Ditto.
6547 * doc/tm.texi: Update the manual to match.
6549 2001-07-06 Richard Henderson <rth@redhat.com>
6551 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
6552 DWARF2_UNWIND_INFO not just whether it is defined.
6554 2001-07-06 Diego Novillo <dnovillo@redhat.com>
6556 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
6557 call to simplify_binary_operation returns a new pattern.
6559 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6561 * glimits.h (__SHRT_MAX__): New.
6562 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
6563 (SHRT_MAX): Define in terms of __SHRT_MAX__.
6565 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
6567 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
6570 2001-07-06 Richard Henderson <rth@redhat.com>
6572 * bitmap.c (bitmap_release_memory): Move adjacent to the
6573 allocation functions.
6574 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
6575 the implementation. Binary search for the set bit.
6576 (bitmap_union_of_diff): Allocate the temporary on the stack
6577 instead of using xmalloc.
6579 2001-07-06 Richard Henderson <rth@redhat.com>
6581 * genrecog.c (validate_pattern): Warn for constraints in
6582 define_{expand,split,peephole2}. Remove strict_low_part
6583 before looking up match_dup.
6585 2001-07-06 DJ Delorie <dj@redhat.com>
6587 * doc/gcc.texi (Makefile): Rename to be a more general purpose
6588 chapter about various build hints and history. Add section
6589 talking about the various types of native and cross builds.
6591 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
6593 * Makefile.in (final.o): Depend on target.h.
6594 * final.c: Include target.h.
6595 (default_function_pro_epilogue): New.
6596 (final_start_function): Use target structure for function prologues.
6597 (final_end_function): Use target structure for function epilogues.
6598 * fold-const.c (real_hex_to_f): Constify s and p.
6599 * output.h (default_function_pro_epilogue): New.
6600 * real.h (real_hex_to_f): Update prototype.
6601 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
6602 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
6603 (TARGET_INITIALIZER): Update.
6604 * target.h (gcc_target): Add struct asm_out.
6605 * doc/tm.texi: Update.
6608 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
6609 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
6610 in cpu/cpu.c, or rename old functions consistently. Take
6611 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
6612 redundant macros and prototypes. Make new functions static.
6614 * 1750a/1750a.c: Similarly.
6615 * 1750a/1750a.h: Similarly.
6616 * a29k/a29k-protos.h: Similarly.
6617 * a29k/a29k.c: Similarly.
6618 * a29k/a29k.h: Similarly.
6619 * arc/arc-protos.h: Similarly.
6620 * arc/arc.c: Similarly.
6621 * arc/arc.h: Similarly.
6622 * arm/arm-protos.h: Similarly.
6623 * arm/arm.c: Similarly.
6624 * arm/arm.h: Similarly.
6625 * avr/avr-protos.h: Similarly.
6626 * avr/avr.c: Similarly.
6627 * avr/avr.h: Similarly.
6628 * clipper/clipper-protos.h: Similarly.
6629 * clipper/clipper.c: Similarly.
6630 * clipper/clipper.h: Similarly.
6631 * convex/convex.c: Similarly.
6632 * convex/convex.h: Similarly.
6633 * d30v/d30v-protos.h: Similarly.
6634 * d30v/d30v.c: Similarly.
6635 * d30v/d30v.h: Similarly.
6636 * d30v/d30v.md: Similarly.
6637 * dsp16xx/dsp16xx-protos.h: Similarly.
6638 * dsp16xx/dsp16xx.c: Similarly.
6639 * dsp16xx/dsp16xx.h: Similarly.
6640 * elxsi/elxsi.c: Similarly.
6641 * elxsi/elxsi.h: Similarly.
6642 * fr30/fr30.c: Similarly.
6643 * fr30/fr30.md: Similarly.
6644 * h8300/h8300-protos.h: Similarly.
6645 * h8300/h8300.c: Similarly.
6646 * h8300/h8300.h: Similarly.
6647 * i370/i370-protos.h: Similarly.
6648 * i370/i370.c: Similarly.
6649 * i370/i370.h: Similarly.
6650 * i386/i386.c: Similarly.
6651 * i386/osf1elf.h: Similarly.
6652 * i386/osfrose.h: Similarly.
6653 * i860/i860-protos.h: Similarly.
6654 * i860/i860.c: Similarly.
6655 * i860/i860.h: Similarly.
6656 * i960/i960-protos.h: Similarly.
6657 * i960/i960.c: Similarly.
6658 * i960/i960.h: Similarly.
6659 * ia64/ia64-protos.h: Similarly.
6660 * ia64/ia64.c: Similarly.
6661 * ia64/ia64.h: Similarly.
6662 * m32r/m32r-protos.h: Similarly.
6663 * m32r/m32r.c: Similarly.
6664 * m32r/m32r.h: Similarly.
6665 * m68hc11/m68hc11-protos.h: Similarly.
6666 * m68hc11/m68hc11.c: Similarly.
6667 * m68hc11/m68hc11.h: Similarly.
6668 * m68k/crds.h: Similarly.
6669 * m68k/dpx2.h: Similarly.
6670 * m68k/m68k-protos.h: Similarly.
6671 * m68k/m68k.c: Similarly.
6672 * m68k/m68k.h: Similarly.
6673 * m68k/news.h: Similarly.
6674 * m88k/m88k-protos.h: Similarly.
6675 * m88k/m88k.c: Similarly.
6676 * m88k/m88k.h: Similarly.
6677 * mips/mips-protos.h: Similarly.
6678 * mips/mips.c: Similarly.
6679 * mips/mips.h: Similarly.
6680 * ns32k/merlin.h: Similarly.
6681 * ns32k/ns32k.c: Similarly.
6682 * ns32k/ns32k.h: Similarly.
6683 * ns32k/tek6000.h: Similarly.
6684 * pa/pa-protos.h: Similarly.
6685 * pa/pa.c: Similarly.
6686 * pa/pa.h: Similarly.
6687 * pdp11/2bsd.h: Similarly.
6688 * pdp11/pdp11-protos.h: Similarly.
6689 * pdp11/pdp11.c: Similarly.
6690 * pdp11/pdp11.h: Similarly.
6691 * romp/romp-protos.h: Similarly.
6692 * romp/romp.c: Similarly.
6693 * romp/romp.h: Similarly.
6694 * rs6000/rs6000-protos.h: Similarly.
6695 * rs6000/rs6000.c: Similarly.
6696 * rs6000/rs6000.h: Similarly.
6697 * rs6000/sysv4.h: Similarly.
6698 * sh/sh-protos.h: Similarly.
6699 * sh/sh.c: Similarly.
6700 * sh/sh.h: Similarly.
6701 * sparc/sparc-protos.h: Similarly.
6702 * sparc/sparc.c: Similarly.
6703 * sparc/sparc.h: Similarly.
6704 * vax/vax.c: Similarly.
6705 * vax/vax.h: Similarly.
6706 * vax/vms.h: Similarly.
6707 * we32k/we32k.c: Similarly.
6708 * we32k/we32k.h: Similarly.
6710 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
6712 * basic-block.h (first_insn_after_basic_block_note): Declare.
6713 * flow.c (first_insn_after_basic_block_note): Define. Moved
6715 * ssa.c (first_insn_after_basic_block_note): Remove.
6716 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
6718 (ssa_eliminate_dead_code): Properly update the CFG and PHI
6719 nodes when we find a dead conditional branch. Insert BARRIERs
6720 after any blocks with no successors, but which do not have
6723 2001-07-06 Zack Weinberg <zackw@stanford.edu>
6725 * varray.c (varray_check_failed): Use internal_error.
6727 2001-07-05 Andrew Haley <aph@redhat.com>
6729 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
6730 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
6731 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
6733 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
6735 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
6736 reference if the target constant is also a SYMBOL_REF.
6738 2001-07-05 Eric Christopher <echristo@redhat.com>
6740 * config/mips/mips.h (MASK_MIPS3900): Remove.
6741 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
6742 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
6743 (TARGET_MIPS3900): Change to use mips_arch.
6744 (TARGET_MIPS4000): New.
6745 (TARGET_MIPS4100): New.
6746 (TARGET_MIPS4300): New.
6747 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
6748 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
6750 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
6751 (ISA_HAS_BRANCHLIKELY): To here.
6752 (CC1_CPU_SPEC): New.
6753 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
6754 (mips_arch_string): Declare.
6755 (mips_arch): Declare.
6756 (TARGET_OPTIONS): Add -march and -mtune.
6758 * config/mips/mips.c (mips_arch_string): New.
6760 (override_options): Handle -march for codegen and -mtune
6761 for scheduling. Use mips_arch. Move tx39 target default here.
6762 (mips_parse_cpu): Move error message to override_options.
6764 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
6766 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
6768 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
6769 (MIPS Options): Ditto. Change mcpu entry to historical text.
6771 2001-07-05 H.J. Lu (hjl@gnu.org)
6773 * config/mips/mips.c (mips_parse_cpu): New function to parse
6776 2001-07-05 Jim Wilson <wilson@redhat.com>
6778 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
6779 * config/ia64/t-ia64: Likewise.
6780 (LIB1ASMFUNCS): Update comment.
6782 2001-07-05 David Edelsohn <edelsohn@gnu.org>
6784 * doc/install.texi (Install GCC: Binaries): Fix typo.
6786 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6788 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
6789 reference using the stack pointer, adjust it since we push Y
6791 ("*ashrsi3"): Likewise.
6792 ("*lshrsi3"): Likewise.
6794 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6796 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
6797 when -fomit-frame-pointer is used.
6799 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
6801 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
6802 (try_redirect_by_replacing_jump): Reverse updating properly the
6803 count and frequency information. Reverse removing cc0 setter.
6804 (forwarder_block_p): Reverse fixing for fallthru blocks.
6806 2001-07-05 DJ Delorie <dj@redhat.com>
6808 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
6809 (translate_options): If the above is defined, use it to map
6810 given options to new options.
6811 * doc/tm.texi: Document it.
6813 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
6814 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6816 * doc/invoke.texi (Optimize Options): Document that -fgcse may
6817 cause programs using computed gotos to run more slowly.
6819 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6821 * doc/install.texi (Specific): Markup, spelling and typo fixes.
6823 Consistently require binutils 2.11.2, not prereleases.
6824 (Specific, decstation-*): Canonicalize as mips-dec-*.
6825 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
6827 (Specific, m68k-altos): Removed reference to README.altos, deleted.
6828 (Specific, mips-*): Reword MIPS C compiler requirements.
6829 (Specific, powerpc*-*-*): New, mention --with-cpu once.
6830 (Specific, sunv5): Removed, obsolete.
6832 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
6834 * dwarf2out.c (output_loc_list): Use an all ones mask for
6835 .text asm output and don't rely on long long
6836 literals. Reformat some long lines.
6838 2001-07-05 Andreas Jaeger <aj@suse.de>
6840 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
6843 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6845 * dwarf2out.c (dwarf2out_define): Update comment.
6846 (dwarf2out_undef): Ditto.
6847 (dwarf2out_start_source_file): Ditto.
6848 (dwarf2out_end_source_file): Ditto.
6849 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
6850 since we never call the start/end debug hook for the primary file.
6852 2001-07-04 Kazu Hirata <kazu@hxi.com>
6854 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
6857 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
6859 * cppinit.c (remove_dup_dirs): Inform if a system include
6860 directory is being reordered.
6861 * doc/invoke.texi (Directory Options): GCC warns if you hide a
6863 * doc/cpp.texi (Search Paths): Likewise.
6864 * doc/gcc.texi (Interoperation): Remove information about
6867 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
6869 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
6870 (VARRAY_TOP_CHAR_PTR): Likewise.
6872 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6874 * gcc.c (process_command): Don't assign elements of a const char*.
6876 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6878 * emit-rtl.c (change_address): Don't abort if invalid address while
6879 reload is in progress.
6881 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6883 * c-lex.c (cb_file_change): Pass line number to
6884 debug_start_source_file.
6885 (cb_undefine): Pass correct line number to debug_undef.
6887 * toplev.c (debug_start_source_file): Add line number to
6888 parameters. Pass it along to dwarf2out_start_source_file.
6889 (decode_g_option): Stop resetting debug level back to normal when
6890 we change debug formats, unless the current level is
6891 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
6894 * toplev.h (debug_start_source_file): Add line number to
6897 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
6900 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
6902 Output debug_macinfo data for starting file if requested.
6903 (dwarf2out_end_source_file): Output debug_macinfo data for ending
6905 (dwarf2out_define): Output debug_macinfo data for defining a macro
6907 (dwarf2out_undef): Output debug_macinfo data for undefining a
6909 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
6910 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
6911 (macinfo_section_label): New. DWARF2 macro info section label.
6912 (dwarf2out_init): If we want macro info, output the start label
6914 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
6915 attribute to the compilation unit die pointing to the macro info.
6917 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
6919 * dwarf2out.c (new_loc_list): Move to inside #ifdef
6920 DWARF2_DEBUGGING_INFO.
6921 (add_loc_descr_to_loc_list): Ditto.
6922 (output_loc_list): Ditto.
6923 Also, fix thinko in curr not being initialized.
6924 (gen_internal_sym): Ditto.
6926 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6928 * emit-rtl.c (replace_equiv_address): New function.
6929 * expr.h (replace_equiv_address): New declaration.
6930 * explow.c (validize_mem): Call it instead of change_address and
6931 also call if -fforce-addr and address is constant.
6932 * expr.c: Replace more calls to change_address with adjust_address
6933 and/or replace_equiv_address or to validize_mem.
6934 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
6935 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
6936 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
6937 * config/i370/i370.md, config/i860/i860.md: Likewise.
6938 * config/i960/i960.md, config/mips/mips.c: Likewise.
6939 * config/mips/mips.md, config/pa/pa.md: Likewise.
6940 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
6941 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
6943 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6945 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
6947 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
6950 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
6952 * doc/include: New directory.
6953 * doc/fdl.texi: Move to doc/include/fdl.texi.
6954 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
6955 * doc/include/funding.texi, doc/include/gpl.texi: New files.
6956 * doc/gcc.texi: Use funding.texi and gpl.texi.
6957 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
6958 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
6959 Update dependencies and use -I $(docdir)/include.
6961 2001-07-04 Anthony Green <green@redhat.com>
6963 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
6965 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6967 * doc/install.texi (sparc64-*-*): Remove garbage.
6969 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
6971 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
6972 Fix typo in last change to use adjust_address.
6974 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6976 * doc/install.texi (Specific): Update information for *-*-solaris*.
6978 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6980 * explow.c (plus_constant_wide): Reinitialize Y for restart.
6982 2001-07-03 Stan Shebs <shebs@apple.com>
6984 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
6985 case for flag_no_mach_text_sections.
6986 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
6987 * config/darwin.c (flag_no_mach_text_sections): Remove.
6988 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
6990 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6992 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
6993 and avoid checking for constant as first operand.
6994 * recog.c (find_constant_term_loc): No longer static.
6995 (adj_offettable_operand): Delete.
6996 * rtl.h (adj_offsettable_operand): Delete declaration.
6997 (find_constant_term): Add declaration.
6998 * caller-save.c: Replace calls to adj_offsettable_operand with calls
7000 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
7001 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
7002 * config/i386/i386.c, config/i386/i386.md: Likewise.
7003 * config/i860/i860.c, config/i960/i960.c: Likewise.
7004 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
7005 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
7006 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
7007 * config/mips/mips.c, config/mips/mips.md: Likewise.
7008 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
7009 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
7010 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
7011 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
7012 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
7013 * config/ns32k/ns32k.md: Likewise.
7015 2001-07-03 Zack Weinberg <zackw@stanford.edu>
7017 * rtl.c (copy_rtx): Handle 'T' format letter.
7018 * gensupport.c (collect_insn_data): Likewise.
7019 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
7021 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
7023 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
7024 -B option. Use 'dir' not 'foo' as example directory name.
7026 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7028 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7029 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
7031 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
7033 * doc/cppinternals.texi: Improve formatting and logical markup.
7035 2001-07-03 Andreas Jaeger <aj@suse.de>
7037 * Makefile.in (insn-recog.o): Add dependency on reload.h.
7039 * genrecog.c (write_header): Include reload.h for prototypes in
7042 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
7045 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
7046 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
7047 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
7048 i386_pe_valid_type_attribute_p): Add.
7049 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
7050 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
7052 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7054 * explow.c (plus_constant_wide, case LO_SUM): New case.
7055 (plus_constant_for_output_wide): Delete.
7056 * rtl.h (plus_constant_for_output): Delete.
7057 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
7058 instead of plus_constant_for_output.
7059 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
7060 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
7061 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
7062 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
7063 * config/sparc/sparc.md: Likewise.
7064 Convert some change_address calls to adjust_address.
7066 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
7068 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
7069 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
7070 documentation of -std and -Wwrite-strings.
7072 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
7074 * cse.c (canon_hash): Don't register registers in very small
7075 register classes, as extending their lifetime might cause
7078 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
7080 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
7082 * flow.c (forwarder_block_p): Fix for fallthru blocks.
7083 (try_redirect_by_replacing_jump): Update properly the count
7084 and frequency information.
7086 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
7088 * toplev.c (dump_file_index): Move SSA dumps just after first
7090 (dump_file): Corresponding changes.
7091 (rest_of_compilation): Move SSA path to just after the first
7093 * doc/gcc.texi (Passes): Update due to movement of SSA path.
7094 * doc/invoke.texi: Update dump file #s as they were completely
7095 out of date with reality.
7097 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
7099 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
7101 * expr.c (emit_move_insn_1): Deal with non-default
7104 * expr.c (emit_single_push_insn): Fix warning.
7106 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
7108 * expr.c (emit_move_insn_1): Avoid modifying
7109 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
7111 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7113 * emit-rtl.c (adjust_address): New function.
7114 * expr.h (adjust_address): Add declaration.
7115 * builtins.c: Replace some calls to change_address with calls to it
7117 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
7118 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
7119 * config/arm/arm.c, config/convex/convex.c: Likewise.
7120 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
7121 * config/i386/i386.c, config/i386/i386.md: Likewise.
7122 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
7123 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
7124 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
7125 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
7126 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
7128 2001-07-02 Jim Wilson <wilson@redhat.com>
7130 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
7132 2001-07-02 Steve Ellcey <sje@cup.hp.com>
7134 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
7135 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
7137 2001-07-02 Zack Weinberg <zackw@stanford.edu>
7139 * cppinit.c (lang_defaults): New table.
7140 (set_lang): Just read from lang_defaults into the live options
7143 2001-07-02 Zack Weinberg <zackw@stanford.edu>
7145 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
7146 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
7147 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
7149 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7151 * doc/install.texi: Various spelling and markup fixes.
7152 (Installing GCC): Component specific installation instructions are
7155 Warn about removing old install dir in the presence of shared libs.
7156 (Configuration): Invoke with options target to match configure
7158 Consistently refer to gas, gld pathnames.
7159 Invert --enable-multilib documentation.
7160 Remove references to old compiler versions.
7162 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7164 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
7166 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7168 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
7170 (Specific, mips*-sgi-irix5): Note IDO download.
7171 Reworded MIPS C hints.
7172 Use GNU as instead of GAS.
7174 Removed SGI Freeware reference, IRIX 6 only.
7175 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
7176 Note N64 library requirement/workaround.
7178 Complete list of structure passing bug victims.
7180 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7182 * doc/install.texi: Remove CVS Id.
7184 2001-07-02 Andreas Jaeger <aj@suse.de>
7186 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
7187 (find_inherently_necessary): Remove unused variable.
7189 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
7191 * c-common.h (TDI_inlined): New ast dump phase.
7192 (dump_flag_name): New function.
7193 * c-dump.c (dump_files): Add inlined phase.
7194 (dump_flag_name): Define.
7195 * doc/invoke.texi (-fdump-ast-inlined): Document.
7197 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7199 * stor-layout.c (layout_decl): Revert change to handling of alignment
7202 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7204 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
7207 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
7209 * doc/tm.texi (FUNCTION_ARG): Document that the last call
7212 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
7214 * tlink.c (recompile_files): Remove COMPILER_PATH and
7215 LIBRARY_PATH from the environment.
7217 2001-07-01 Zack Weinberg <zackw@stanford.edu>
7219 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
7220 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
7222 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
7224 * c-parse.in (OBJC_STRING): Kill.
7225 (objc_string): Decompose to [objc_string] '@' STRING.
7226 (reswords): Take the leading '@' off all the Objective C keywords.
7227 (objc_rid_sans_at): Kill.
7228 (init_reswords): Don't initialize it.
7229 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
7230 (_yylex): Kill reconsider label. Look ahead one token after
7231 an '@'; if we get an identifier, check whether it's an
7232 Objective C @-keyword. If so, return the keyword. Otherwise,
7233 put back the token and return the '@' as a terminal.
7235 * cpplib.c (lex_macro_node): Remove unnecessary check for
7236 leading '@' on identifier. Clarify control flow and commentary.
7238 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7240 * cse.c (new_label_ref): Variable deleted.
7241 (insert): Remove set of new_label_ref.
7242 (check_for_label_ref): New function.
7243 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
7245 See ChangeLog.5 for earlier changes.