1 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
3 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
4 when no changes has been made.
6 * gcse.c (reg_set_bitmap): Turn into reg_set.
7 (modify_mem_list_set, canon_modify_mem_list_set)
8 (clear_modify_mem_tables, free_modify_mem_tables): New.
9 (gcse_main); Use free_modify_mem_tables.
10 (free_gcse_mem): Likewise; free the bitmaps.
11 (alloc_gcse_main): Initialize the bitmaps.
12 (canon_list_insert): Set canon_modify_mem_list_set.
13 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
14 (compute_hash_table): Use clear_modify_mem_tables.
15 (reset_opr_set_tables): Likewise.
16 (oprs_not_set_p): reg_set_bitmap is regset.
17 (mark_set, mark_clobber): Likewise.
19 * df.h (DF_EQUIV_NOTES): New constant.
20 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
23 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
24 (init_regions, schedule_insns): Conditionalize the checking
25 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
27 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
29 * i386.md (movti_rex64 splitter): Fix condition.
31 2001-10-29 Zack Weinberg <zack@codesourcery.com>
33 * configure.in: Do not assume that gas's version number is the
34 last thing on the first line of as --version output.
35 * configure: Regenerate.
37 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
38 MT_WARNING, MT_ERROR, MT_FATAL.
39 (main): Call gcc_init_libintl.
40 (v_message): Call gettext on msgid and "warning: "
41 * tradcif.y: Include intl.h.
42 (yyerror): Make parameter definition consistent with
43 prototype. Call gettext on msgid argument.
45 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
47 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
50 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
52 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
54 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
55 before referencing it.
57 2001-10-26 DJ Delorie <dj@redhat.com>
59 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
60 override -G, and force -G0.
62 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
64 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
65 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
66 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
67 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
69 * loop.h (struct induction): Rename ext_dependant to
71 * loop.c: Change all uses.
72 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
74 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
76 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
78 * c-parse.in (expr_no_commas, primary), c-typeck.c
79 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
81 2001-10-29 David Edelsohn <edelsohn@gnu.org>
83 Undo assemble_name change in earlier patch.
85 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
87 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
88 determining the type of the receiver, do not check that TREE_CODE
89 of receiver is CALL_EXPR before calling receiver_is_class_object().
90 (receiver_is_class_object): For the GNU runtime: recognize
91 the case that the receiver is self in a class method context.
92 Check that TREE_CODE of receiver is CALL_EXPR when checking that
93 the receiver is a call to objc_get_class.
95 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
97 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
99 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
101 * Makefile.in (OBJS): Put all files in alphabetical order.
103 * dwarf2out.c (add_const_value_attribute): Fix error in last
106 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
108 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
109 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
111 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
112 (life_analysis): call purge_all_dead_edges after deleting noops.
113 (delete_noop_move): Do not purge CFG.
114 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
116 2001-10-28 David Edelsohn <edelsohn@gnu.org>
118 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
119 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
120 (ASM_GLOBALIZE_LABEL): Use assemble_name.
121 (ASM_OUTPUT_COMMON): Likewise.
122 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
123 (rs6000_output_function_epilogue): Likewise.
124 (output_mi_thunk): Fix typo.
125 (rs6000_output_symbol_ref): Use assemble_name.
126 (output_toc): Likewise.
127 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
128 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
129 assemble_name calls STRIP_NAME_ENCODING.
130 (ASM_OUTPUT_LABEL): Use assemble_name.
131 (ASM_GLOBALIZE_LABEL): Likewise.
132 (ASM_DECLARE_FUNCTION_NAME): Likewise.
133 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
134 (ASM_OUTPUT_LOCAL): Likewise.
136 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
138 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
139 (expand_builtin_apply, expand_builtin_return): Likewise.
140 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
142 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
144 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
145 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
146 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
147 configure, configure.in, except.c, except.h, flow.c, function.c,
148 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
149 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
150 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
151 unroll.c: Fix spelling errors.
153 * doc/extend.texi, doc/invoke.texi: Fix spelling.
155 * doc/gcc.texi: Document use of "dependent" and American spelling.
157 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
159 * expr.c (emit_group_load): Support CONCATs by storing them to memory
162 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
164 * expr.c (store_constructor_field): Only call adjust_address on MEM.
166 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
168 * genrecog.c (write_switch): Output if before switch for
169 DT_elt_zero_wide_safe.
171 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
173 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
174 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
175 (FUNCTION_PROFILER): Const-ify.
176 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
177 (eliminate_constant_term, assemble_name, output_addr_const):
179 (ptr_half_pic_address_p, half_pic_hash): Prototype.
180 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
181 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
182 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
183 (half_pic_declare, half_pic_external): Const-ify.
184 * toplev.c: Include "halfpic.h".
186 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
188 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
189 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
190 config/i386/i386.c, config/i386/i386-interix.h,
191 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
192 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
193 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
194 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
195 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
196 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
197 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
200 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
201 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
202 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
203 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
204 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
205 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
206 system.h, toplev.c: Fix spelling errors.
208 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
210 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
212 * dwarf2out.c (reg_number): Abort if pseudo.
213 (reg_loc_descriptor): Return 0 if pseudo.
214 (is_based_loc): Return 0 if pseudo.
215 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
217 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
218 (loc_descriptor): Return 0 if can't find location and handle 0
219 return from recursive calls.
220 (loc_descriptor_from_tree): Likewise.
221 Fix handling of indirect.
222 Also return 0 for PLACEHOLDER_EXPR.
223 Clean up COMPONENT_REF cases.
224 (add_AT_location_descriptor): Simplify, but handle 0 return from
226 (add_const_value_attribute): Avoid shift count warning.
227 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
228 Set comp_unit_die as context if not in function.
230 * config/mips/mips-protos.h: Break up long lines.
231 Remove needless #ifdef/#endif blocks.
232 Don't declare functions declared in file made by genpreds or recog.h.
233 * config/mips/mips.c (mips_output_function_prologue): TSIZE
234 is now HOST_WIDE_INT; delete unneeded casts.
235 * config/mips/mips.h: Don't use #elif.
237 * expr.c (stor_constructor_field): Always call adjust_address.
238 Copy TARGET before changing its alias set.
239 (store_field): Likewise, for TO_RTX.
240 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
242 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
243 (find_placeholder): Return 0 if can't find object.
244 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
247 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
249 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
251 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
253 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
254 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
255 (merge_blocks): Properly udpate life after making edge nonfallthru.
256 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
258 2001-10-26 Kazu Hirata <kazu@hxi.com>
260 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
262 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
264 * c-typeck.c (convert_arguments): When comparing for enumeral
265 type equality, use TYPE_MAIN_VARIANT.
266 * gcc.dg/Wconversion.c: New tests.
268 2001-10-26 Kazu Hirata <kazu@hxi.com>
270 * s390/s390.c: Fix comment typos.
271 * s390/s390.h: Likewise.
272 * s390/s390.md: Likewise.
274 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
276 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
277 (walk_tree): Use it for tail calls where appropriate.
279 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
281 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
282 non-local label_refs.
284 2001-10-26 Kazu Hirata <kazu@hxi.com>
286 * config/h8300/h8300.md (4 anonymous patterns): New.
288 2001-10-26 Kazu Hirata <kazu@hxi.com>
290 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
291 algorithm through the shift_info structure.
292 (emit_a_shift): Update the use of get_shift_alg.
294 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
296 * sched-rgn.c: Remove bitset typedef.
297 Change bitset to sbitmap in prototypes / variable types.
301 s/BITSET_ADD/SET_BIT/g
302 s/BITSET_INVERT/sbitmap_ones/g
303 s/BITSET_INTER/sbitmap_a_and_b/g
304 s/BITSET_UNION/sbitmap_a_or_b/g
305 s/BITSET_DIFFER/sbitmap_difference/g
306 s/bitset_member/TEST_BIT/g
308 (bitset_member): Removed.
309 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
310 EXECUTE_IF_SET_IN_SBITMAP.
311 (split_edges): Rewrite, use sbitmap functions instead of bitset
313 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
315 2001-10-26 Andreas Schwab <schwab@suse.de>
317 * reload1.c (emit_input_reload_insns): Fix parens in last
318 (undocumented) change that was supposed to change only whitespace.
320 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
322 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
324 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
327 2001-10-26 Andreas Jaeger <aj@suse.de>
329 * flow.c (clear_log_links): Remove unused variable.
330 * cfgcleanup.c (cleanup_cfg): Likewise.
332 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
334 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
335 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
337 2001-10-26 Richard Henderson <rth@redhat.com>
339 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
340 rename PV_REG to R27_REG.
341 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
342 (REG_CLASS_FROM_LETTER): Update.
343 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
344 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
345 (udivsi3, modsi3, umodsi3): Likewise.
346 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
348 2001-10-26 Richard Henderson <rth@redhat.com>
350 * cfg.c (clear_aux_for_blocks): Split out of ...
351 (free_aux_for_blocks): here.
352 (clear_aux_for_edges): Split from ...
353 (free_aux_for_edges): here.
354 * basic-block.h: Declare them.
355 * lcm.c (compute_antinout_edge): Use them.
356 (compute_laterin, compute_available, compute_nearerout): Likewise.
357 (optimize_mode_switching): Likewise.
359 2001-10-26 Richard Henderson <rth@redhat.com>
361 * Makefile.in (unstage*): Remove as, ld, collect-ld before
362 moving everything back to the main build directory.
364 2001-10-26 Christopher Faylor <cgf@redhat.com>
366 * config/i386/cygwin.h: Search target specfic include directory, if
369 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
371 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
372 of macro guards. Fix #endif comment.
374 * output.h (default_exception_section, default_eh_frame_section):
375 Move prototypes outside of macro guard.
377 * crtstuff.c: Fix #endif comment.
379 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
381 * doc/md.texi (movMM): Clarify semantics of storing into a
382 non-paradoxical SUBREG.
384 2001-10-25 Zack Weinberg <zack@codesourcery.com>
386 * langhooks.c (lang_hook_default_clear_binding_stack): New.
387 (lang_hook_default_get_alias_set): Move next to other alias
389 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
390 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
391 (LANG_HOOKS_INITIALIZER): Add it.
392 * toplev.h (struct lang_hooks): Add clear_binding_stack.
393 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
394 instead of a loop calling poplevel.
396 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
398 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
399 occurrences of #elif with #if...#endif.
401 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
403 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
405 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
407 * alias.c (can_address_p): No longer static.
408 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
409 Return 0 if all parameters are default values.
410 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
411 (adjust_address_1): Try harder to compute a size.
412 * expr.c (expand_assignment, store_constructor): If can't address,
413 set MEM_KEEP_ALIAS_SET_P.
414 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
415 (store_field): Likewise.
416 (store_constructor): Simplify call to store_constructor_field.
417 * expr.h (can_address_p): New declaration.
418 * gensupport.c (gen_rtx_CONST_INT): New function.
419 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
420 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
421 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
423 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
425 2001-10-24 Christopher Faylor <cgf@redhat.com>
427 * config/i386/cygwin.h: Use proper path for mingw crt files when
430 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
432 * dwarf2out.c (file_info_cmp): Always return consistent results.
434 2001-10-24 Roger Sayle <roger@eyesopen.com>
436 * stmt.c (expand_end_case): Index jumptables from zero for
437 suitably small values of minval.
439 2001-10-24 Jakub Jelinek <jakub@redhat.com>
441 * stor-layout.c (place_union_field): If any field was aligned with
442 attribute aligned, set record type's TYPE_USER_ALIGN.
443 (place_field): Likewise.
444 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
445 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
447 2001-10-24 Zack Weinberg <zack@codesourcery.com>
449 * c-common.h (struct c_common_identifier): Remove rid_code field.
450 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
452 * c-typeck.c (constructor_designated): New local flag.
453 (struct constructor_stack): Add "designated" field to match.
454 (start_init): Clear it.
455 (really_start_incremental_init, push_init_level): Push and
457 (pop_init_level): Pop it.
458 (set_designator): Set it.
460 (pop_init_level): Suppress "missing initializer" warnings if
461 constructor_designated is true.
462 (process_init_element): Suppress warning about union
463 initialization under traditional C, if constructor_designated
466 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
468 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
471 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
473 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
475 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
477 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
478 the node was already a set to a constant.
480 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
482 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
483 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
485 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
487 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
488 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
489 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
490 * s390.c (s390_final_chunkify): Don't use string concatenation.
491 (s390_function_prologue, s390_function_epilogue): Const-ify.
492 * s390.h (FUNCTION_PROFILER): Remove unused variable.
494 2001-10-24 Jakub Jelinek <jakub@redhat.com>
496 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
499 2001-10-23 Stan Shebs <shebs@apple.com>
501 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
502 -traditional-cpp in first-stage compilation.
504 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
506 * gensupport.c (target_flags): Add.
508 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
510 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
512 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
513 * except.c (expand_builtin_frob_return_addr): Likewise.
514 (expand_builtin_eh_return): Likewise.
515 * stmt.c (expand_computed_goto): Likewise.
516 * explow.c (memory_address): Likewise.
517 (allocate_dynamic_stack_space): Clean up predicate testing.
518 (probe_stack_range): Convert SIZE to Pmode.
519 * calls.c (rtx_for_function_call): Only call convert_memory_address
521 Pass function call operand as ptr_mode, not Pmode.
522 * expr.c (expand_assignment): Clean up calls to convert_memory
523 address by only doing so when needed and making offsets Pmode.
524 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
525 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
526 is in Pmode, not ptr_mode.
528 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
530 * darwin-protos.h (constructor_section, destructor_section,
531 mod_init_section, mod_term_section): Prototype.
532 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
534 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
536 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
537 objc_section_init declaration.
538 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
539 (objc_section_init, try_section_alias): Make static.
540 (alias_section): Make static and hide unused function.
541 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
543 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
545 * alias.c (can_address_p): Compnonents are not addressable if
546 the containing type has alias set 0.
547 (get_alias_set): Rework to use STRIP_NOPS.
548 Only call front-end routine on object, type, or object with
549 NOPs stripped, not inner values.
550 Use language hook to call front-end routine.
551 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
552 (expand_builtin_apply): Call set_mem_align on MEMs we make.
553 Don't pass alignment to emit_block_move.
554 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
555 (expand_builtin_memset): Likewise, but for clear_storage.
556 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
557 and remove C++ specific parts.
558 * c-common.h (c_common_get_alias_set): Add declaration.
559 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
560 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
561 (save_fixed_argument_area): Call set_mem_align.
562 Remove alignment in call to emit_block_move.
563 (emit_library_call_value_1, store_one_arg): Likewise.
564 (target_for_arg): Remove; disabled long ago.
565 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
566 once and similar cleanups.
567 (offset_address): Use proper introductory comment.
568 * expr.c (emit_block_move): Use alignment from that of MEM args, not
569 from explicit operand; all callers changed.
570 (clear_storage): Likewise.
571 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
572 (store_field): Remove kludge on alias set used for to_rtx.
573 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
574 (expand_expr_unaligned): Call set_mem_attributes instead of
576 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
577 * function.c (assign_stack_temp_for_type): Set MEM alignment.
578 (expand_function_end): Track MEM attributes of trampolines.
579 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
580 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
581 attributes from original.
582 * langhooks.c (lang_hook_default_get_alias_set): New function.
583 (hook_get_alias_set_0): New function.
584 * langhooks.h (hook_get_alias_set_0): New declaration.
585 (lang_hook_default_get_alias_set): Likewise.
586 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
587 * reload1.c (alter_reg): Use adjust_address_nv.
588 * rtl.c (get_mode_alignment): Moved to here.
589 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
590 change default if unknown from 1 to BITS_PER_UNIT.
591 * stor-layout.c (get_mode_alignment): Remove from here.
592 * toplev.h (struct lang_hoks): Add get_alias_set field.
593 * tree.h (lang_get_alias_set): Delete declaration.
594 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
595 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
596 (ix86_va_arg): Likewise.
597 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
598 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
599 * config/sparc/sparc.c (sparc_va_arg): Likewise.
600 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
601 (expand_block_move_mem): Remove dead code.
603 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
605 * c-common.c (warn_div_by_zero): New.
606 * c-common.h (warn_div_by_zero): New.
607 * c-decl.c (c_decode_option): Take it on the command line.
608 * c-typeck.c (build_binary_op): Warn about division by zero.
609 * doc/invoke.texi: Document the new command line option, fix
610 documentation of -Wmultichar.
611 * testsuite/gcc.dg/divbyzero.c: New tests.
612 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
614 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
616 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
618 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
619 to avoid update_life_info call.
620 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
621 * cfgcleanup.c (bb_flags): New enum.
622 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
623 (notice_new_block, update_forwarder_flag): New functions.
624 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
625 (try_forward_edges): Likewise; update flags.
626 (merge_blocks): Likewise.
627 (outgoing_edges_match): Likewise.
628 (try_crossjump_to_edge): Likewise.
629 (try_optimize_cfg): Likewise; initialize and clear the flags;
630 recompute life info if needed.
631 (cleanup_cfg): No need to clear aux pointers.
633 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
635 * config/i386/i386.c (override_options): Default to minimum
636 stack alignment when optimizing for code size.
637 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
640 * config/i386/i386.c (override_options): Set upper limit of
641 -mpreferred-stack-boundary to 12.
643 2001-10-22 Zack Weinberg <zack@codesourcery.com>
645 * recog.c (peephole2_optimize): Add default case to switch.
647 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
649 * doc/gcc.texi (Sending Patches): Remove.
651 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
653 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
654 fields when comparing.
656 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
658 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
659 * arm.c (HOST_INT, HOST_UINT): Likewise.
661 2001-10-22 Stan Shebs <shebs@apple.com>
663 * config/darwin-protos.h (darwin_exception_section): Declare.
664 (darwin_eh_frame_section): Declare.
666 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
668 * i386.md (movti_rex64): Fix mode.
670 2001-10-22 Stan Shebs <shebs@apple.com>
672 * target.h (struct gcc_target): Add asm_out.exception_section,
673 asm_out.eh_frame_section.
674 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
675 (TARGET_ASM_EH_FRAME_SECTION): New.
676 (TARGET_INITIALIZER): Update.
677 * output.h (default_exception_section): Declare.
678 (default_eh_frame_section): Declare.
679 * dwarf2out.c: Include target.h.
680 (output_call_frame_info): Call target hook for eh frames.
681 (default_eh_frame_section): New function.
682 * except.c: Include target.h.
683 (output_function_exception_table): Call target hook for exception
685 * varasm.c (default_exception_section): Rename from
686 exception_section, remove EXCEPTION_SECTION macro.
688 * config/darwin.h (darwin_eh_frame_section): New function.
689 (EXCEPTION_SECTION): Remove.
690 (TARGET_ASM_EXCEPTION_SECTION): Define.
691 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
692 (nextstep_exception_section): New function.
693 (nextstep_eh_frame_section): New function.
694 (TARGET_ASM_EXCEPTION_SECTION): Define.
695 (TARGET_ASM_EH_FRAME_SECTION): Define.
697 * config/pa/som.h (EXCEPTION_SECTION): Remove.
698 (TARGET_ASM_EXCEPTION_SECTION): Define.
699 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
700 (EXCEPTION_SECTION): Remove.
701 (TARGET_ASM_EXCEPTION_SECTION): Define.
702 * config/stormy16/stormy16.h: Remove comments referencing
703 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
705 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
706 TARGET_ASM_EH_FRAME_SECTION.
708 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
710 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
713 * c-format.c: Fix spelling typo in comment.
715 * sched-int.h: Fix typo in GCC preamble.
717 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
720 * doc/invoke.texi: Remove references to -fdump-translation-unit.
722 2001-10-22 Richard Henderson <rth@redhat.com>
724 * config/i386/i386.c (ix86_expand_clear): New.
725 * config/i386/i386-protos.h: Declare it.
726 * config/i386/i386.md (setcc peep2s): Use it.
727 (movsi_xor): Unexport.
729 2001-10-22 Richard Henderson <rth@redhat.com>
731 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
732 free_EXPR_LIST_list for LOG_LINKS.
734 2001-10-21 Robert Lipe <robertlipe@usa.net>
736 * config/i386/i386.c (sco_asm_named_section): Delete.
737 (sco_asm_out_constructor): Delete.
738 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
739 (ASM_OUTPUT_DOUBLE_INT): Likewise.
740 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
741 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
742 (EXCEPTION_SECTION): Delete EH scn renaming hack.
744 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
746 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
747 and/or fold extra calls into fewer ones.
748 * collect2.c (dump_file): Likewise.
749 * cppexp.c (parse_number): Likewise.
750 * cpplex.c (_cpp_lex_direct): Likewise.
751 * final.c (output_asm_insn, asm_fprintf): Likewise.
752 * fix-header.c (inf_scan_ident, main): Likewise.
753 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
755 * fold-const.c (real_hex_to_f): Likewise.
756 * gen-protos.c (parse_fn_proto): Likewise.
757 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
758 * genrecog.c (change_state, write_action): Likewise.
759 * gensupport.c (shift_output_template): Likewise.
760 * local-alloc.c (requires_inout): Likewise.
761 * mips-tfile.c (IS_ASM_IDENT): Likewise.
762 * protoize.c (is_id_char, main): Likewise.
763 * real.c (asctoeg): Likewise.
764 * recog.c (asm_operand_ok): Likewise.
765 * reload.c (find_reloads): Likewise.
766 * scan.c (scan_identget_token): Likewise.
767 * sched-vis.c (print_value): Likewise.
768 * stringpool.c (ggc_alloc_string): Likewise.
769 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
770 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
771 * tradcpp.c (rescan): Likewise.
772 * tree.c (clean_symbol_name): Likewise.
773 * varasm.c (decode_reg_name): Likewise.
775 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
776 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
777 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
778 * m88k.c (output_ascii): Likewise.
779 * m88k.h (OVERRIDE_OPTIONS): Likewise.
780 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
781 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
782 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
784 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
786 * langhooks.c (lang_hook_default_do_nothing,
787 lang_hook_default_decode_option): New defaults.
788 * langhooks.h: Make hooks unconditional and non-NULL.
789 * toplev.c (compile_file, toplev_main): Update.
790 * toplev.h: Update comments.
791 * objc/objc-act.c (lang_hooks): Update to new paradigm.
793 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
795 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
797 * system.h (IN_RANGE): New macro.
799 2001-10-21 Zack Weinberg <zack@codesourcery.com>
801 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
802 INTLDEPS variable, which does not include $LIBICONV.
803 * Makefile.in: Use INTLDEPS in LIBDEPS.
804 * configure: Regenerate.
806 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
808 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
809 * cpplex.c (lex_percent, lex_dot): Remove.
810 (get_effective_char, skip_block_comment, skip_line_comment,
811 parse_identifier_slow, parse_number, parse_string, save_comment,
812 _cpp_lex_direct): Update to do lookback freely.
813 (IF_NEXT_IS, BACKUP): New macros.
814 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
815 * cppmacro.c (paste_tokens): Update.
817 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
819 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
821 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
823 * reload1.c (reload): Check CONSTANT_P before calling
824 LEGITIMATE_PIC_OPERAND_P.
825 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
826 workaround of 2001-10-13.
828 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
830 * i386.c (split_di): Handle splitting of DFmode.
832 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
834 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
835 (adjust_address_1, offset_address): Likewise.
837 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
838 (output_asm_insn): Call it for each line output.
839 Don't record an operand more than once.
841 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
842 * main.c: Include config.h and system.h, but not ansidecl.h.
843 * Makefile.in (main.o): Update accordingly.
845 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
847 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
849 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
851 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
852 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
854 (find_sub_basic_blocks): ... here;
855 (find_many_sub_basic_blocks): New.
856 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
858 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
860 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
862 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
864 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
865 * flow.c (update_life_info): Measure time.
866 * c-decl.c: Include timevar.h
867 (c_expand_body): Measure time.
868 * toplev.c (rest_of_compilation): Measure time of mode switching
870 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
872 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
873 (lang_independent_options): Add asynchronous-unwind-tables
874 (toplev_main): flag_asynchronous_unwind_tables implies
876 * flags.h (flag_asynchronous_unwind_tables): Declare.
877 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
878 flag_asynchronous_unwind_tables.
879 (output_call_frame_info): Likewise.
880 * invoke.texi (-fasynchronous-unwind-tables): Document.
881 * i386.c (optimization_options): Enable
882 flag_asynchronous_unwind_tables.
884 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
885 * i386.md (s* expanders): Destination is QImode.
887 * toplev.c (rest_of_compilation): Do not call clear_log_links.
888 * rtl.h (clear_log_links): Kill.
889 * flow.c (clear_log_links): Make static; accept blocks parameter;
890 do no clear life info.
891 (update_life_info): Call clear_log_links.
893 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
895 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
897 * cpplex.c (handle_newline, skip_escaped_newlines,
898 get_effective_char, skip_block_comment, skip_line_comment,
899 parse_identifier_slow, parse_number, parse_string,
900 _cpp_lex_direct): Update to do more stepping back.
901 (trigraph_ok): Similarly. Rename trigraph_p.
902 (SAVE_STATE, RESTORE_STATE): Remove.
903 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
905 * cpplib.c (destringize): Rename destringize_and_run, and
906 call run_directive directly.
907 (_cpp_do__Pragma): Simplify.
909 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
911 * pe.c (arm_pe_unique_section): Const-ify.
912 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
913 (switch_to_section): Add static prototype.
915 * output.h (drectve_section): Prototype.
917 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
919 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
920 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
921 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
922 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
923 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
924 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
925 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
926 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
927 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
928 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
929 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
930 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
931 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
932 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
933 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
934 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
935 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
936 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
937 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
938 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
939 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
940 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
941 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
942 cris-*-none, cris-*-linux*: Update ${tmfile} list.
943 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
944 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
945 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
946 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
947 v850-*-*): Delete superflous ${cpu_type} setting.
948 * config/linux.h: Delete svr4.h include.
949 (SET_ASM_OP): Delete.
950 * config/netware.h (INT_ASM_OP): Undef before define.
951 * config/ptx4.h: Delete elfos.h include.
952 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
953 * config/svr4.h: Delete elfos.h include. Update commentary.
954 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
955 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
956 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
957 config/v850/v850.h: Delete svr4.h include.
958 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
959 config/m68k/m68kv4.h, config/m88k/sysv4.h,
960 config/sparc/sysv4.h: Update includes.
961 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
962 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
963 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
964 config/m88k/dguxbcs.h: Delete includes.
965 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
966 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
967 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
969 * config/m88k/dgux.h: Delete include.
970 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
972 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
973 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
974 * config/sh/elf.h: Update include.
975 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
976 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
978 2001-10-19 Catherine Moore <clm@redhat.com>
980 * config/stormy16/stormy-abi: Updates to varargs descriptions.
981 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
982 base and count fields.
983 (stormy16_expand_builtin_va_start): last_reg_count changed to
984 size_of_reg_args. Use count + size in first comparison.
986 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
988 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
989 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
990 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
991 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
992 Set alignment from type if INDIRECT_REF.
993 (adjust_address_1, offset_address): Simplify alignment compuitation.
994 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
995 here; done by set_mem_attributes.
997 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
999 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
1000 * arm-protos.h (rdata_section, zero_init_section, common_section):
1002 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
1003 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
1004 traditional mode stringification.
1005 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
1006 in macros controling its use.
1007 * rtlanal.c: Include tm_p.h.
1008 * varasm.c (asm_output_aligned_bss): Mark parameter with
1010 (assemble_constant_align, assemble_start_function, assemble_align,
1011 assemble_variable, assemble_trampoline_template,
1012 output_constant_def_contents): Wrap potentially empty if-stmt body
1015 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1017 * a29k-protos.h (literal_section): Prototype.
1018 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
1019 * a29k.md: Ensure function pointers are prototyped.
1020 * genattrtab.c (write_eligible_delay): Mark parameter with
1023 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1025 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1026 * 1750a.c (print_operand): Fix format specifier warning.
1027 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
1028 * 1750a.md: Likewise.
1029 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
1030 * genemit.c (output_add_clobbers): Mark parameter with
1032 * genrecog.c (write_subroutine): Likewise.
1033 * integrate.c (expand_inline_function): Delete unused variable.
1034 * varasm.c (remove_from_pending_weak_list): Wrap with
1037 2001-10-19 Jakub Jelinek <jakub@redhat.com>
1039 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
1040 field is different to previous argument's neg field.
1042 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
1044 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1046 * final.c (get_decl_from_op): New function.
1047 (output_asm_insn): Call it; write "*" when item with decl is address.
1049 2001-10-19 Janis Johnson <janis187@us.ibm.com>
1051 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
1052 about 64-bit support from the 3.0_branch version.
1054 2001-10-19 Zack Weinberg <zack@codesourcery.com>
1056 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
1057 USE_INCLUDED_LIBINTL when appropriate.
1058 * configure, config.in: Regenerate.
1059 * Makefile.in (datadir): Set to @datadir@.
1060 (intl.o): Also depend on $(CONFIG_H) and system.h.
1062 * intl.c: Factor out common gettext initialization sequence.
1063 (gcc_init_libintl): New function.
1064 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
1065 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
1066 off NLS. Add multiple include guard. No need to #ifdef-guard
1067 an #undef. Prototype gcc_init_libintl here.
1069 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
1070 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
1071 Use gcc_init_libintl.
1073 2001-10-19 Catherine Moore <clm@redhat.com>
1075 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
1077 * config/stormy16/stormy16.c (stormy16_split_move): Make
1078 sure that REG_INC notes are present for auto_inc operands.
1080 2001-10-19 Andreas Jaeger <aj@suse.de>
1082 * configure: Regenerated.
1083 * configure.in: Add x86_64 to switch statements.
1085 2001-10-18 Richard Henderson <rth@redhat.com>
1087 * config/alpha/alpha.md (sibcall_osf_1): Load destination
1088 address into $27 explicitly.
1089 (sibcall_value_osf_1): Likewise.
1091 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1093 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
1094 (offset_address): New function.
1095 (free_emit_status): Free regno_decl.
1096 (init_emit): Pass proper number of elements to xcalloc.
1097 Allocate regno_decl.
1098 (mark_emit_status): Mark regno_decl values.
1099 * expr.c (highest_pow2_factor): New function.
1100 (expand_assigment): Use it and offset_address.
1101 Properly handle ptr_mode vs. Pmode in offset calculation.
1102 (store_constructor, expand_expr_unaligned): Likewise.
1103 (expand_expr, case COMPONENT_EXPR): Likewise.
1104 * expr.h (offset_address): New decl.
1105 * function.h (struct emit_status): Add regno_decl.
1106 (REGNO_DECL): New macro.
1107 * final.c (output_asm_name): Move in file and don't conditionalize
1108 on flag_print_asm_name.
1109 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
1110 Output names of operands, if known.
1111 * function.c (assign_parms): Set REGNO_DECL.
1112 * integrate.c (integrate_decl_tree): Likewise.
1113 * stmt.c (expand_decl): Likewise.
1114 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
1116 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
1118 * attribs.c (handle_noinline_attribute): New function.
1119 (handle_used_attribute): Likewise.
1120 (c_common_attribute_table): Added noinline and used.
1121 * doc/extend.texi (Function Attributes): Document them.
1122 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
1123 Warn when merging inline with attribute noinline.
1124 (start_decl, start_function): Warn if inline and attribute
1125 noinline appear in the same declaration.
1127 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
1129 * config.gcc: Update c4x and i370 for C front end-specific
1131 * config/c4x/c4x-c.c: New.
1132 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
1133 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
1135 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
1136 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
1138 (c4x_init_pragma): Remove.
1139 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
1140 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
1141 c4x_pr_ignored): Move to c4x-c.c.
1142 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
1143 * config/c4x/t-c4x: Update.
1144 * config/i370/i370-c.c: New.
1145 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
1146 (i370_pr_map): Move to i370-c.c.
1147 * config/i370/t-i370: New.
1149 * doc/tm.texi: Update.
1151 2001-10-17 Stan Shebs <shebs@apple.com>
1153 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
1154 typo fixes throughout.
1155 (machopic_output_stub): Remove some dead code.
1157 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
1159 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
1162 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1164 * Makefile.in (print-rtl.o): Depend on TREE_H.
1165 * alias.c (get_alias_set): Make two passes over objects to first
1166 see if inner object is access via restricted pointer.
1167 Defer allocating alias set for restricted pointer until here.
1168 Call find_placeholder with second arg nonzero.
1170 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
1171 set for restricted pointer types.
1172 * emit-rtl.c (set_mem_attributes): Set more attributes.
1173 (set_mem_align, change_address, adjust_address_1): New functions.
1174 (change_address_1): Now static.
1175 (adjust_address, adjust_address_nv): Deleted.
1176 (replace_equiv_address): Call change_address_1.
1177 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
1178 (find_placeholder): Get starting point from PLIST arg.
1179 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
1180 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
1181 (adjust_address, adjust_address_nv): New macros.
1182 * print-rtl.c (tree.h): New include.
1183 (print_rtx, case MEM): Print all memory attributes.
1185 2001-10-17 Richard Henderson <rth@redhat.com>
1187 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
1189 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1191 * c-tree.texi: Eliminate duplicated word.
1192 * cpp.texi: Likewise.
1193 * install.texi: Likewise.
1194 * invoke.texi: Likewise.
1195 * tm.texi: Likewise.
1197 2001-10-17 Michael Collison <collison@isisinc.net>
1199 * dsp16xx.c: Fix comment formatting to match GNU standards.
1200 (dsp16xx_output_function_prologue): Change type of 'size'
1201 parameter from 'int' to HOST_WIDE_INT.
1202 (dsp16xx_output_function_epilogue): Change type of 'size'
1203 parameter from 'int' to HOST_WIDE_INT.
1205 2001-10-16 Richard Henderson <rth@redhat.com>
1207 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
1208 * configure, config.in: Rebuild.
1210 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
1211 (ix86_output_addr_diff_elt): New.
1212 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
1213 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1214 (JUMP_TABLES_IN_TEXT_SECTION): New.
1215 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
1216 * config/i386/i386-protos.h: Update.
1218 * config/i386/386bsd.h, config/i386/beos-elf.h,
1219 config/i386/freebsd-aout.h, config/i386/freebsd.h,
1220 config/i386/i386-interix.h, config/i386/i386elf.h,
1221 config/i386/linux.h, config/i386/netbsd-elf.h,
1222 config/i386/netbsd.h, config/i386/openbsd.h,
1223 config/i386/ptx4-i.h, config/i386/rtemself.h,
1224 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
1225 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
1227 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
1229 * stmt.c (expand_asm_operands): Update commentary.
1231 2001-10-16 Stan Shebs <shebs@apple.com>
1233 * config/darwin.h (GCC_NAME): Remove, no longer used.
1234 (NO_MATH_LIBRARY): Ditto.
1235 (MATH_LIBRARY): Define to emptiness.
1236 (DWARF2_DEBUGGING_INFO): Define.
1237 (PREFERRED_DEBUGGING_TYPE): Define.
1238 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
1239 (EXCEPTION_SECTION): Define.
1240 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1241 * config/darwin.c (darwin_encode_section_info): Handle case of
1242 DECL_INITIAL being error_mark_node.
1244 2001-10-16 Richard Henderson <rth@redhat.com>
1246 * alpha.c (current_file_function_operand): Don't fail for profiling.
1247 (direct_call_operand): New.
1248 * alpha-protos.h: Declare it.
1249 * alpha.h (EXTRA_CONSTRAINT): Use it.
1250 (PREDICATE_CODES): Add it.
1251 (ASM_OUTPUT_MI_THUNK): Remove.
1252 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
1253 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
1255 2001-10-16 Krister Walfridsson <cato@df.lth.se>
1257 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
1258 (JUMP_TABLES_IN_TEXT_SECTION): Define.
1260 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
1262 * cfg.c (free_edge): Break out from ....
1263 (remove_edge): ... here.
1264 (clear_edges): Use free_edge.
1266 * att.h (ASM_QUAD): Add comment.
1267 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
1269 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
1271 * i386.c (split_ti): New function.
1272 (ix86_split_to_parts): Support TImodes.
1273 * i386.h (VALID_INT_MODE_P): Add TImode.
1274 * i386.md (movdi splitter): Fix.
1275 (movti): Support 64bit integer registers.
1276 (movti_rex64): New function and splitter.
1278 * i386.c (*_cost): Add movsx/movzx cost.
1279 * i386.h (struct processor_costs): Add movsx/movzx fields.
1280 (RTX_COSTS): Handle zero/sign extend + avoid believing that
1281 64bit operations require split on 64bit machine.
1282 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
1284 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
1285 (ix86_expand_move): Avoid pushes of memory if size does not match;
1286 move long constants to register.
1287 (x86_initialize_trampoline): Fix mode.
1288 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
1289 Use ASM_QUAD on 64bit.
1290 * i386.md (test pattern): Disallow impossible constants.
1291 (tablejump PIC expander): Fix emitting of sum.
1292 (movdicc_rex64): Rename to movdicc.
1293 * linux64.h (LINK_SPEC): Add missing '%'.
1295 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
1297 * tree-inline.c (inlinable_function_p): Leave it up to the
1298 front-end to turn -finline-functions into DECL_INLINE set for all
1301 2001-10-16 Stan Shebs <shebs@apple.com>
1303 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
1305 2001-10-16 Alan Modra <amodra@bigpond.net.au>
1307 * recog.c: Formatting and comment typo fixes.
1309 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
1310 version in single tree build.
1311 * configure: Regenerate.
1313 2001-10-15 David Edelsohn <edelsohn@gnu.org>
1315 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
1316 MODE arguments to gen_rtx and compare operand with const0_rtx.
1318 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
1320 * system.h: Poison old unused target macros.
1321 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
1322 * config/stormy16/stormy16.c: Update references to obsolete macros.
1323 * config/stormy16/stormy16.h: Similarly.
1324 * config/stormy16/stormy16.md: Similarly.
1325 * config/cris/cris.h: Similarly.
1327 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
1329 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
1330 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
1331 cpp_register_pragma): Update accordingly.
1333 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
1335 * c-pragma.h (cpp_register_pragma_space): Remove.
1336 * cpplib.h (cpp_register_pragma_space): Remove.
1337 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
1338 (cpp_register_pragma_space): Remove.
1339 (cpp_register_pragma): Simplify using lookup_pragma_entry,
1341 (do_pragma): Similarly.
1342 (_cpp_init_internal_pragmas): Don't register namespaces.
1344 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
1345 Don't register namespaces.
1346 * cp/lex.c (init_cp_pragma): Similarly.
1347 * doc/tm.texi: Update.
1349 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
1352 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
1354 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
1356 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
1357 add scheduling support.
1358 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
1359 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
1360 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
1363 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
1365 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
1366 missing CONSTANT_P test in core GCC.
1368 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
1370 * cppmain.c (struct printer): New member source.
1371 (scan_translation_unit): Fix spacing at start of lines.
1372 (cb_line_change): Update.
1374 * gcc.dg/cpp/spacing2.c: New test.
1376 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
1378 * config/cris/arit.c: Use __builtin_labs, not abs.
1380 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
1382 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
1383 misplaced sprintf and fprintf argument.
1385 2001-10-12 Zack Weinberg <zack@codesourcery.com>
1387 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
1388 * configure.in, Makefile.in: Take out obsolete check-po logic.
1389 * configure, config.in: Regenerate.
1391 2001-10-12 Ziemowit Laski <zlaski@apple.com>
1393 * objc/objc-act.c (finish_objc): Correct precondition for emitting
1394 symtab declarations.
1396 2001-10-12 Stan Shebs <shebs@apple.com>
1398 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
1399 declarations of arguments and local variables.
1401 2001-10-12 Christopher Faylor <cgf@redhat.com>
1403 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
1404 ENDFILE_SPEC definition.
1406 2001-10-12 Kazu Hirata <kazu@hxi.com>
1408 * gthr-dce.h: Fix comment formatting.
1409 * gthr-posix.h: Likewise.
1410 * gthr-single.h: Likewise.
1411 * gthr-solaris.h: Likewise.
1412 * gthr-vxworks.h: Likewise.
1413 * gthr-win32.h: Likewise.
1415 2001-10-12 Jakub Jelinek <jakub@redhat.com>
1417 * final.c (output_asm_insn): Make sure assembly dialects are
1418 terminated, not nested. Output `|' and `}' characters if they
1419 don't appear inside assembly dialect selection.
1420 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
1421 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
1422 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
1423 strsetsi_rex_1): Add {} braces.
1425 2001-10-11 Zack Weinberg <zack@codesourcery.com>
1427 * toplev.c (compile_file): Ignore return value from yyparse.
1428 Always pop any nested binding levels after yyparse returns.
1430 2001-10-11 Richard Henderson <rth@redhat.com>
1432 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
1434 2001-10-11 Richard Henderson <rth@redhat.com>
1436 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
1437 fall back to add_AT_long_long for large CONST_INT.
1439 2001-10-11 Richard Henderson <rth@redhat.com>
1441 * config/i386/i386.md (setcc splitters): Add four splitters to
1442 simplify compound compares that simplify_comparison can't handle.
1444 2001-10-11 Zack Weinberg <zack@codesourcery.com>
1446 * cpplex.c (digraph_spellings, token_spellings): Make static.
1448 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1450 * unroll.c (loop_iterations): Fixup last patch.
1452 2001-10-11 Richard Henderson <rth@redhat.com>
1454 * rtl.h (REG_VTABLE_REF): New.
1455 * rtl.c (reg_note_name): Add it.
1456 * combine.c (distribute_notes): Handle it.
1457 * final.c (final_scan_insn): Handle it.
1458 * tree.def (VTABLE_REF): New.
1459 * expr.c (expand_expr): Handle it.
1460 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
1461 * output.h: Declare them.
1463 2001-10-11 Richard Henderson <rth@redhat.com>
1465 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
1468 2001-10-11 David Edelsohn <edelsohn@gnu.org>
1470 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
1471 available in 64-bit mode.
1473 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
1475 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
1476 cris-*-linux* cases.
1477 * config/cris/cris-protos.h: New file.
1478 * config/cris/cris.c: New file.
1479 * config/cris/cris.h: New file.
1480 * config/cris/cris.md: New file.
1481 * config/cris/linux.h: New file.
1482 * config/cris/aout.h: New file.
1483 * config/cris/arit.c: New file.
1484 * config/cris/cris_abi_symbol.c: New file.
1485 * config/cris/mulsi3.asm: New file.
1486 * config/cris/t-aout: New file.
1487 * config/cris/t-cris: New file.
1488 * config/cris/t-elfmulti: New file.
1489 * config/cris/t-linux: New file.
1490 * doc/invoke.texi: Add CRIS options.
1491 * doc/install.texi (Specific): Add blurb for CRIS.
1493 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
1495 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
1497 * config/float/i32.h: Likewise.
1498 * config/float-i386.h: Likewise.
1499 * config/float-i64.h: Likewise.
1500 * config/float-m68k.h: Likewise.
1501 * config/float-sh.h: Likewise.
1502 * config/float-sparc.h: Likewise.
1504 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
1506 * doc/contrib.texi: Add note about CRIS port to my entry.
1508 2001-10-11 Kazu Hirata <kazu@hxi.com>
1510 * basic-block.h: Fix formatting.
1511 * bitmap.h: Likewise.
1512 * cpplib.h: Likewise.
1513 * c-tree.h: Likewise.
1514 * diagnostic.h: Likewise.
1515 * flags.h: Likewise.
1517 * longlong.h: Likewise.
1519 * reload.h: Likewise.
1523 2001-10-10 Richard Henderson <rth@redhat.com>
1525 * c-parse.in (asm_operand): Allow named operands.
1526 * genconfig.c (max_recog_operands): Set to 29.
1527 * local-alloc.c (requires_inout): Skip multiple digits.
1528 * recog.c (asm_operand_ok): Likewise.
1529 (preprocess_constraints): Use strtoul for matching constraints.
1530 (constrain_operands): Likewise.
1531 * regmove.c (find_matches): Likewise.
1532 * reload.c (find_reloads): Likewise.
1533 * stmt.c (parse_output_constraint): Don't reject in-out
1534 constraint on operands > 9. Reject '[' in constraint.
1535 (expand_asm_operands): Handle named operands. Use strtoul
1536 for matching constraints.
1537 (check_operand_nalternatives): Split out from expand_asm_operands.
1538 (check_unique_operand_names): New.
1539 (resolve_operand_names, resolve_operand_name_1): New.
1541 * doc/extend.texi (Extended Asm): Document named operands.
1542 * doc/md.texi (Simple Constraints): Document matching constraints
1545 2001-10-10 Richard Henderson <rth@redhat.com>
1547 * combine.c (try_combine): Handle a SEQUENCE of one insn.
1549 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
1550 (jcc splitters): Add two splitters to simplify compound compares
1551 that simplify_comparison can't handle.
1553 2001-10-10 Richard Henderson <rth@redhat.com>
1555 * langhooks.c: Include langhooks.h.
1556 * Makefile.in (langhooks.o): Depend on it.
1558 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
1560 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
1561 should not be considered as a no-op.
1562 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
1564 2001-10-10 Stan Shebs <shebs@apple.com>
1566 * alias.c: Remove uses of "register" specifier in declarations
1567 of arguments and local variables.
1568 * c-common.c: Ditto.
1569 * c-convert.c: Ditto.
1571 * c-format.c: Ditto.
1572 * c-semantics.c: Ditto.
1573 * c-typeck.c: Ditto.
1574 * caller-save.c: Ditto.
1577 * cfgbuild.c: Ditto.
1579 * collect2.c: Ditto.
1583 * cppfiles.c: Ditto.
1586 * defaults.h: Ditto.
1588 * dwarf2out.c: Ditto.
1589 * dwarfout.c: Ditto.
1590 * emit-rtl.c: Ditto.
1595 * fix-header.c: Ditto.
1596 * floatlib.c: Ditto.
1598 * fold-const.c: Ditto.
1599 * function.c: Ditto.
1602 * gen-protos.c: Ditto.
1603 * genattrtab.c: Ditto.
1604 * gencheck.c: Ditto.
1605 * genconfig.c: Ditto.
1607 * genextract.c: Ditto.
1608 * genflags.c: Ditto.
1609 * gengenrtl.c: Ditto.
1610 * genoutput.c: Ditto.
1612 * genrecog.c: Ditto.
1613 * gensupport.c: Ditto.
1617 * haifa-sched.c: Ditto.
1618 * hard-reg-set.h: Ditto.
1620 * integrate.c: Ditto.
1623 * local-alloc.c: Ditto.
1625 * mips-tdump.c: Ditto.
1626 * mips-tfile.c: Ditto.
1629 * print-rtl.c: Ditto.
1630 * read-rtl.c: Ditto.
1633 * reg-stack.c: Ditto.
1634 * regclass.c: Ditto.
1639 * resource.c: Ditto.
1643 * sched-deps.c: Ditto.
1644 * sched-rgn.c: Ditto.
1646 * simplify-rtx.c: Ditto.
1648 * stor-layout.c: Ditto.
1655 * xcoffout.c: Ditto.
1657 2001-10-10 Richard Henderson <rth@redhat.com>
1659 * rtl.h (can_reverse_comparison_p): Remove.
1661 2001-10-10 Christopher Faylor <cgf@redhat.com>
1663 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
1666 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1668 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
1669 (Thanks to Chris Faylor for suggesting macro name).
1670 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
1672 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
1673 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
1674 (MATH_LIBRARY): Undef before definition.
1675 (OUTPUT_QUOTED_STRING): Likewise.
1676 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
1678 2001-10-10 Richard Henderson <rth@redhat.com>
1680 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
1681 (fde_unencoded_compare): Likewise. Don't use subtraction to get
1682 a tristate comparison value.
1683 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
1685 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1688 * unroll.c (loop_iterations): Ignore insns generated by loop
1691 * config.gcc (mips*-*-gnu*): Delete support.
1692 * config/mips/gnu.h: Remove.
1694 2001-10-10 Kazu Hirata <kazu@hxi.com>
1696 * calls.c: Fix formatting.
1697 * c-decl.c: Likewise.
1698 * cfgcleanup.c: Likewise.
1699 * combine.c: Likewise.
1700 * cppfiles.c: Likewise.
1701 * cpplib.c: Likewise.
1702 * cppmacro.c: Likewise.
1703 * crtstuff.c: Likewise.
1705 * dwarf2out.c: Likewise.
1706 * expmed.c: Likewise.
1708 * fold-const.c: Likewise.
1709 * function.c: Likewise.
1711 * genattrtab.c: Likewise.
1712 * ggc-page.c: Likewise.
1713 * integrate.c: Likewise.
1714 * libgcc2.c: Likewise.
1716 * optabs.c: Likewise.
1717 * profile.c: Likewise.
1718 * protoize.c: Likewise.
1720 * recog.c: Likewise.
1721 * reload1.c: Likewise.
1722 * reload.c: Likewise.
1723 * reorg.c: Likewise.
1724 * resource.c: Likewise.
1725 * sched-rgn.c: Likewise.
1726 * sdbout.c: Likewise.
1728 * toplev.c: Likewise.
1729 * varasm.c: Likewise.
1731 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
1733 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
1734 * Makefile.in (langhooks.o): Add dependencies.
1736 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
1738 * rs6000.c (rs6000_emit_load_toc_table): Don't
1739 strdup the toc label.
1740 (create_TOC_reference): Likewise.
1742 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1744 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
1747 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1749 * config/i386/i386.c (ix86_attribute_table): Correct
1750 min_len, max_len fields for dllimport, dllexport and shared.
1752 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
1754 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
1755 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
1756 Consistently use "nonzero" instead of "non-zero".
1758 2001-10-09 Kazu Hirata <kazu@hxi.com>
1760 * acconfig.h: Fix comment formatting.
1761 * c-dump.h: Likewise.
1762 * c-tree.h: Likewise.
1763 * conditions.h: Likewise.
1765 * function.h: Likewise.
1767 * hwint.h: Likewise.
1768 * integrate.h: Likewise.
1771 * optabs.h: Likewise.
1773 2001-10-09 Kazu Hirata <kazu@hxi.com>
1775 * c-common.h: Fix comment formatting.
1776 * c-dump.c: Likewise.
1778 * diagnostic.h: Likewise.
1779 * except.c: Likewise.
1781 * gcov-io.h: Likewise.
1782 * genattrtab.c: Likewise.
1783 * output.h: Likewise.
1784 * predict.h: Likewise.
1785 * reload1.c: Likewise.
1786 * reload.h: Likewise.
1787 * resource.h: Likewise.
1789 * system.h: Likewise.
1791 * tree-inline.c: Likewise.
1792 * tsystem.h: Likewise.
1793 * varasm.c: Likewise.
1794 * xcoffout.h: Likewise.
1796 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
1798 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
1800 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
1802 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
1803 config/i386/i386elf.h, config/i386/netbsd-elf.h,
1804 config/i386/netware.h, config/mcore/gfloat.h,
1805 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
1806 config/netware.h, gccbug.in: Update FSF address.
1808 2001-10-09 Kazu Hirata <kazu@hxi.com>
1810 * c-common.c: Fix comment typos.
1811 * cfgrtl.c: Likewise.
1812 * collect2.c: Likewise.
1813 * cpplex.c: Likewise.
1814 * doloop.c: Likewise.
1815 * dwarf2out.c: Likewise.
1816 * dwarfout.c: Likewise.
1818 * fold-const.c: Likewise.
1822 * global.c: Likewise.
1823 * ifcvt.c: Likewise.
1825 * optabs.c: Likewise.
1826 * protoize.c: Likewise.
1827 * regclass.c: Likewise.
1828 * reorg.c: Likewise.
1832 * doc/cpp.texi: Likewise.
1833 * doc/c-tree.texi: Likewise.
1834 * doc/extend.texi: Likewise.
1835 * doc/invoke.texi: Likewise.
1836 * doc/objc.texi: Likewise.
1837 * doc/tm.texi: Likewise.
1839 2001-10-08 Richard Henderson <rth@redhat.com>
1841 * varasm.c (set_named_section_flags): Initialize "declared".
1843 2001-10-08 Robert Lipe <robertlipe@usa.net>
1845 * varasm.c (struct in_named_entry): Add declared.
1846 (named_section_first_declaration): New function.
1847 (default_elf_asm_named_section): Use it.
1848 * output.h (named_section_first_declaration): New.
1850 2001-10-08 Richard Henderson <rth@redhat.com>
1852 * i386.md (movsi_xor): Export.
1853 (setcc peep2): Use it when available; add an alternative to
1854 match zero_extendhisi2_and.
1856 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1858 * romp-protos.h (romp_initialize_trampoline): New function.
1859 * romp.c (romp_initialize_trampoline): Likewise.
1860 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
1861 romp_initialize_trampoline.
1863 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1865 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
1866 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1867 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1868 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1870 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1872 * unroll.c (loop_iterations): Extend check for multiple back edges.
1874 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
1876 * langhooks.h: New file.
1877 * Makefile.in (OBJS): Added langhooks.o.
1878 (c-lang.o): Depend on langhooks.h.
1879 (c-common.o): Don't depend on tree-inline.h.
1880 (tree-inline.o): Depend on toplev.h.
1881 (langhooks.o): New rule.
1882 * c-common.c: Don't include tree-inline.h.
1883 (c_mark_lang_decl): Mark argument c as unused.
1884 (c_common_lang_init): Don't initialize hooks here.
1885 * c-lang.c: Include langhooks.h, then override some macros.
1886 (lang_hooks): Initialize with macros in langhooks.h.
1887 (c_init): Don't initialize hooks here.
1888 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
1889 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
1890 * tree-inline.c: Include toplev.h. Don't define hook variables.
1891 * tree-inline.h: Don't define hook types nor declare hook
1892 variables. Move macros to...
1893 * langhooks.c: ... new file, as functions. Adjust all callers.
1895 2001-10-08 Jeffrey A Law <law@cygnus.com>
1897 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
1898 purge_mem_unchanging_flag on all instructions, not just on those
1899 before NOTE_INSN_FUNCTION_BEG.
1901 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
1903 * cppmacro.c (_cpp_create_definition): Leave comments off.
1905 * doc/cpp.texi: Update.
1907 2001-10-08 DJ Delorie <dj@redhat.com>
1909 * c-decl.c (grokfield): Make sure the only unnamed fields
1910 we're allowing are either structs or unions.
1911 * doc/extend.texi: Add documentation for the unnamed field
1914 2001-10-08 Zack Weinberg <zack@codesourcery.com>
1916 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
1917 * configure.in: Use it.
1918 * configure: Regenerated.
1919 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
1920 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
1922 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
1924 * cppfiles.c (open_file): Don't mark zero-length files
1925 never-reread here. Don't output diagnostics here either.
1926 (stack_include_file): Mark them never-reread here.
1927 (_cpp_read_file): Update.
1929 2001-10-08 Richard Henderson <rth@redhat.com>
1931 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1933 2001-10-08 Richard Henderson <rth@redhat.com>
1935 * expr.c (store_expr): When converting a CONST_INT for storage
1936 in a SUBREG, convert it to both SUBREG modes before stripping
1939 2001-10-08 Richard Henderson <rth@redhat.com>
1941 * varasm.c (restore_varasm_status): New.
1942 * function.h: Declare it.
1943 * function.c (pop_function_context_from): Call it.
1945 2001-10-08 Richard Henderson <rth@redhat.com>
1947 * c-common.h (struct c_lang_decl): Add declared_inline.
1948 * c-tree.h (DECL_DECLARED_INLINE_P): New.
1949 * c-lang.c (c_disregard_inline_limits): Use it.
1950 * c-decl.c (duplicate_decls): Likewise.
1951 (pushdecl, redeclaration_error_message): Likewise.
1952 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
1953 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
1954 Set DECL_INLINE if -finline-functions.
1955 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
1957 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
1959 * cppmacro.c (funlike_invocation_p): Move some logic to caller
1960 in enter_macro_context. Create a padding token in its own context
1961 if necessary when the search for '(' fails.
1962 (enter_macro_context): Update.
1964 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1966 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
1967 genmultilib, toplev.c: Fix spelling errors of "separate" as
1968 "seperate", and corresponding spelling errors of related words.
1970 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1972 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
1973 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
1975 * c-dump.c (dump_option_value_info): Likewise.
1976 * c-format.c (format_length_info, format_char_info,
1977 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
1978 * collect2.c (names): Likewise.
1979 * cppdefault.h (default_include): Likewise.
1980 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
1981 * flow.c (life_analysis): Likewise.
1982 * gcc.c (dir_separator_str, modify_target, option_map,
1983 target_option_translations, spec_list_1, extra_specs_1,
1984 init_spec): Likewise.
1985 * gcov.c (gcov_version_string): Likewise.
1986 * genattr.c (write_units): Likewise.
1987 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
1988 * gengenrtl.c (rtx_definition, defs): Likewise.
1989 * genrecog.c (pred_table): Likewise.
1990 * global.c (global_alloc): Likewise.
1991 * lcm.c (optimize_mode_switching): Likewise.
1992 * local-alloc.c (find_free_reg): Likewise.
1993 * params.h (param_info): Likewise.
1994 * predict.c (predictor_info): Likewise.
1995 * protoize.c (unexpansion_struct): Likewise.
1996 * real.c (bmask): Likewise.
1997 * recog.h (insn_operand_data, insn_data): Likewise.
1998 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
1999 * stmt.c (expand_nl_goto_receiver): Likewise.
2000 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
2001 target_switches, target_options): Likewise.
2002 * tradcif.y (token, tokentab2, yylex): Likewise.
2003 * tree.h (attribute_spec): Likewise.
2005 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
2007 * arc.c (arc_output_function_epilogue): Likewise.
2008 * arm.c (processors, all_cores, all_architectures,
2009 arm_override_options, isr_attribute_arg, isr_attribute_args,
2010 arm_isr_value): Likewise.
2011 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
2013 * c4x.c (c4x_int_reglist): Likewise.
2014 * d30v.c (override_options): Likewise.
2015 * h8300.c (shift_insn): Likewise.
2016 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
2017 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
2018 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
2019 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
2020 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
2021 * i386.h (processor_costs, ix86_cost): Likewise.
2022 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
2023 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
2024 * m68k.c (codes_68881, codes_FPA): Likewise.
2025 * m88k.c (mode_from_align, max_from_align, all_from_align,
2026 best_from_align, m_options): Likewise.
2027 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
2028 * mcore.c (mode_from_align): Likewise.
2029 * mips/elf64.h (UNIQUE_SECTION): Likewise.
2030 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
2031 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
2032 * mips.h (mips_regno_to_class): Likewise.
2033 * ns32k.c (scales): Likewise.
2034 * pa.c (import_string, magic_milli): Likewise.
2035 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
2036 * sparc.c (leaf_reg_remap, sparc_override_options,
2037 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
2039 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
2041 2001-10-07 Dale Johannesen <dalej@apple.com>
2043 * reload1.c (reload_reg_free_p): Teach register interference
2044 checking that multiple output reloads are emitted in
2046 reload1.c (reload_reg_reaches_end_p): Ditto.
2047 reload1.c (reloads_conflict): Ditto.
2049 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2051 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
2052 NULL_TREE inside @code.
2054 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2056 * doc/gcc.texi: Document consistent style of "32-bit",
2057 "Objective-C", and "@code{NULL}".
2059 2001-10-06 Zack Weinberg <zack@codesourcery.com>
2061 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
2062 (cpp_token_len, cpp_spell_token, cpp_output_token,
2063 _cpp_equiv_tokens): Handle it.
2064 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
2065 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
2066 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
2069 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2071 * gcc.c (default_compilers): Remove .ada.
2073 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
2075 * doc/cppinternals.texi: Update.
2077 2001-10-06 Zack Weinberg <zack@codesourcery.com>
2079 * gcc.c (main): Set this_file_error if the appropriate
2080 compiler for a language has not been installed.
2082 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
2084 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
2086 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
2088 * gccbug.in (CATEGORIES): Add ada.
2090 2001-10-05 Catherine Moore <clm@redhat.com>
2092 * config/stormy16/stormy-abi: Document abi changes.
2093 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
2094 (ICALL_REGS): New register class.
2095 (NUM_ARGUMENT_REGISTERS): Now 6.
2096 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
2098 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
2099 * config/stormy16.md (call_internal, call_value_internal,
2100 indirect_jump): Use new 'z' constraint.
2102 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
2104 * doc/cppinternals.texi: Update.
2106 2001-10-05 Richard Henderson <rth@redhat.com>
2108 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
2109 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
2110 the gas section-name-as-label feature.
2112 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
2114 * doc/cppinternals.texi: Update.
2116 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2118 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
2119 to ensure valid SImode constants.
2121 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
2123 * Makefile.in (c-decl.o): Depend on tree-inline.h.
2124 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
2125 * c-decl.c: Include tree-inline.h.
2126 (c_expand_body): Call optimize_inline_calls. Determine whether
2127 a function is inlinable upfront, and only clear
2128 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
2129 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
2130 (c_disregard_inline_limits): New function.
2131 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
2132 (c_post_options): Enable tree inlining if inlining is enabled.
2133 Don't inline trees when instrumenting functions.
2134 (c_init): Initialize lang_disregard_inline_limits and
2135 lang_cannot_inline_tree_fn.
2136 * tree-inline.c (initialize_inlined_parameters): Handle calls
2137 with fewer arguments than declared parameters, and fewer
2138 parameters than passed arguments. Don't assume value is a
2140 (declare_return_variable): Convert return value back to the
2141 original type, if it was promoted.
2142 (tree_inlinable_function_p): New function.
2143 (inlinable_function_p): Don't look at DECL_INLINE if we're
2144 inlining all functions. Make it work with a NULL id.
2145 Re-check DECL_UNINLINABLE after language-specific checks.
2146 * tree-inline.h (tree_inlinable_function_p): Declare it.
2147 * integrate.c (save_for_inline): Don't bother to prepare argvec
2149 * cse.c (check_for_label_ref): Don't check deleted labels.
2151 * Makefile.in (tree-inline.o): Depend on newly-included headers.
2152 * tree-inline.c: Include headers needed for the functions moved in.
2153 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
2154 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
2155 (copy_body, initialize_inlined_parameters): Likewise.
2156 (declare_return_variable, inlinable_function_p): Likewise.
2157 (expand_call_inline, expand_calls_inline): Likewise.
2158 (optimize_inline_calls, clone_body): Likewise.
2159 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
2160 (copy_tree_r, remap_save_expr): Likewise.
2162 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
2164 * Makefile.in (OBJS): Added tree-inline.o.
2165 (c-common.o): Depend on tree-inline.h.
2166 (tree-inline.o): New target.
2167 * c-common.c: Include tree-inline.h.
2168 (c_mark_lang_decl): Don't mark saved_tree.
2169 (c_common_lang_init): Set lang_anon_aggr_type_p.
2170 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
2171 (struct c_lang_decl): Moved saved_tree to tree_decl.
2172 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
2173 * integrate.h (function_attribute_inlinable_p): Declare it.
2174 * integrate.c (function_attribute_inlinable_p): Export it.
2175 * tree-inline.c: New file. Define variables declared in...
2176 * tree-inline.h: New file. Declare functions to be moved to
2177 tree-inline.c. Define macros and declare types and hooks for
2178 language-specific tree inlining.
2179 (flag_inline_trees): Moved definition from cp/decl2.c.
2180 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
2181 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
2182 (struct tree_decl): Moved saved_tree from c_lang_decl and
2183 inlined_fns from C++'s lang_decl.
2185 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
2187 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
2188 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
2190 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
2192 * doc/cppinternals.texi: Update.
2194 2001-10-04 Eric Christopher <echristo@redhat.com>
2196 * config/mips/mips.c (init_cumulative_args): Remember to set
2198 * config.gcc: Redo linux configuration. Add target_cpu_default
2199 of soft-float to all mipsisa32 combinations and tx39.
2200 * config/mips/linux.h: Remove include of mips.h.
2202 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
2204 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
2205 HOST_LDFLAGS and HOST_CPPFLAGS.
2207 2001-10-03 Ziemowit Laski <zlaski@apple.com>
2209 * c-parse.in (objc_inherit_code, objc_pq_context,
2210 objc_public_flag): Make static.
2211 (objc_interface_context, objc_implementation_context,
2212 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
2213 global tree array in objc/objc-act.[ch].
2214 (methoddef): Remove unnecessary code.
2216 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
2217 Hoist struct definitions to objc-act.h.
2218 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
2219 cat_count): Place declaration in objc-act.h.
2220 (objc_tree_index): Move enumeration to objc-act.h.
2221 (objc_global_trees): Place declaration and macro accessors in
2223 (implementation_context): Remove duplicate; use
2224 objc_implementation_context instead:
2225 (method_context): Remove duplicate; use objc_method_context
2227 (objc_ellipsis_node, objc_method_prototype_template,
2228 implemented_classes, function_type): Move global vars to
2230 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
2231 (build_message_expr): Move actual construction of ObjC message
2232 send nodes to finish_message_expr.
2233 (finish_message_expr): New routine, contains code formerly in
2235 * objc/objc-act.h (finish_message_expr): New prototype.
2236 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
2237 declarations; these vars are now part of objc_global_trees.
2238 (objc_tree_index, objc_global_trees): Move definitions from
2240 * objc/objc-tree.def: Update copyright info.
2242 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
2244 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
2246 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
2247 only if TARGET_ARCH64.
2249 2001-10-02 Bernd Schmidt <bernds@redhat.com>
2251 * doc/extend.texi: Fix some problems with previous checkin.
2252 * doc/invoke.texi: Likewise.
2254 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
2256 * cpphash.h: Update comments.
2257 (cpp_context): Update.
2258 (spec_nodes): Remove n__Pragma.
2259 * cppinit.c (cpp_create_reader): Update.
2260 (builtin_array): Add _Pragma.
2261 * cpplib.h: Update comments.
2262 (NODE_DISABLED, BT_PRAGMA): New.
2263 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
2264 * cppmacro.c (struct cpp_macro): Remove disabled.
2265 (builtin_macro): Return int, handle _Pragma, push the new token
2266 on the context stack.
2267 (funlike_invocation_p): Unconstify, update.
2268 (enter_macro_context): Handle builtins here.
2269 (replace_args, push_token_context, push_ptoken_context):
2270 Update for prototype changes.
2271 (_cpp_pop_context): Update.
2272 (cpp_get_token): Don't handle buitins, nor _Pragma here.
2273 (cpp_sys_macro_p): Update.
2274 (_cpp_free_definition): Clear disabled flag.
2275 (_cpp_create_definition): Upate.
2276 * cppmain.c: Update comments.
2278 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
2279 Andreas Jaeger <aj@suse.de>,
2280 Jan Hubicka <jh@suse.cz>
2282 * doc/invoke.texi (i386 Options): Document x86-64 options.
2283 (i386 and x86-64 Options): Rename i386 options section.
2285 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
2286 (TARGET_SWITCHES): Add -munwind-info.
2287 (MASK_NO_UNWIND_INFO): New.
2288 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
2290 (ASM_OUTPUT_DOUBLE_INT): New.
2292 * config/i386/linux64.h: New spec file for Linux x86-64 support.
2293 * config.gcc: Fix tm_file settings for x86-64.
2294 * config/i386/x86-64.h: New file with OS independent x86-64
2296 * config/i386/biarch64.h: New file used to configure compiler
2297 to biarch/64bit compilation.
2299 * config/i386/i386.c: (override_options): Set flags default
2300 for 64bit compilation.
2302 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
2304 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
2305 (ix86_expand_int_movcc): Optimize DImode conditional moves with
2306 constants on x86_64.
2307 (ix86_attr_length_immediate_default): Support MODE_DI.
2308 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
2310 (indirect_jump, tablejump): Turn into expander.
2312 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
2314 * c-common.c (c_format_attribute_table): Make format and
2315 format_arg attributes apply to function types rather than to
2317 (is_valid_printf_arglist): Construct an attribute list and pass
2318 that to check_function_format rather than a name.
2319 * c-common.h (check_function_format): Adjust prototype.
2320 * c-decl.c (duplicate_decls): Preserve attributes from type of
2321 built-in decl when allowing for harmless conflict in types.
2322 * c-format.c (record_function_format,
2323 record_international_format, function_format_list,
2324 international_format_info, international_format_list): Remove.
2325 (function_format_info): Remove next, name and assembler_name.
2326 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
2327 (decode_format_attr): New.
2328 (handle_format_attribute): Handle receiving a type rather than a
2329 decl. Call decode_format_attr. Store format information in a
2330 function_format_info.
2331 (handle_format_arg_attribute): Correct comment. Handle receiving
2332 a type rather than a decl. Use unsigned HOST_WIDE_INT for
2334 (check_format_info_recurse, check_format_info_main): Take argument
2335 numbers as unsigned HOST_WIDE_INT.
2336 (check_function_format): Take a list of attributes from the
2337 function type rather than a name or assembler name. Check for
2338 format attributes in that list and the attributes on the type of
2339 the current function rather than looking through
2340 function_format_list.
2341 (check_format_info): Use unsigned HOST_WIDE_INT for argument
2343 (check_format_info_recurse): Take format_arg attributes from the
2344 type of the function calls rather than using
2345 international_format_list. Allow for multiple format_arg
2347 * c-typeck.c (build_function_call): Pass type attributes to
2348 check_function_format rather than name or assembler name. Don't
2349 require there to be a name or assembler name to check formats.
2351 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
2353 * attribs.c (decl_attributes): Possibly call
2354 insert_default_attributes to insert default attributes on
2355 functions in a lazy manner.
2356 * builtin-attrs.def: New file; define the default format and
2357 format_arg attributes.
2358 * c-common.c (c_format_attribute_table): Move to earlier in the
2360 (c_common_nodes_and_builtins): Initialize format_attribute_table.
2361 (enum built_in_attribute, built_in_attributes,
2362 c_attrs_initialized, c_init_attributes,
2363 c_common_insert_default_attributes): New.
2364 (c_common_lang_init): Don't initialize format_attribute_table. Do
2365 call c_init_attributes.
2366 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
2367 * c-common.h (init_function_format_info): Don't declare.
2368 (c_common_insert_default_attributes): Declare.
2369 * c-decl.c (implicitly_declare, builtin_function): Call
2371 (init_decl_processing): Don't call init_function_format_info.
2372 (insert_default_attributes): New.
2373 * c-format.c (handle_format_attribute,
2374 handle_format_arg_attribute): Be quiet about inappropriate
2375 declaration when applying default attributes.
2376 (init_function_format_info): Remove.
2377 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
2378 (insert_default_attributes): Declare.
2380 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
2382 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
2384 2001-10-01 Jim Wilson <wilson@redhat.com>
2386 * sched-deps.c (add_dependence): When elide conditional dependence,
2387 check that insn doesn't modify cond2.
2389 2001-10-01 Dale Johannesen <dalej@apple.com>
2391 * config/rs6000/rs6000.h (enum processor_type): Add support
2392 for 7400 (G4) and 7450.
2394 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
2395 (rs6000_issue_rate): Ditto.
2396 (rs6000_adjust_cost): Fix cycle counts for compares.
2397 (debug_stack_info): Fix an obvious typo.
2398 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
2399 * doc/invoke.texi: Document.
2400 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
2402 (PROCESSOR_DEFAULT): Ditto.
2404 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
2406 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
2407 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
2408 later recursive make invocation.
2410 2001-10-01 Hans Boehm <boehm@acm.org>
2412 * optabs.c (emit_libcall_block): When using non-call exceptions,
2413 don't add REG_LIBCALL reg notes to trapping calls.
2415 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
2417 * flow.c (propagate_block_delete_libcall): Remove unused first arg
2418 (propagate_one_insn): Update for above change
2420 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
2422 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
2423 _Unwind_GetTextRelBase): Argument is unused.
2425 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2427 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
2428 Loop through NOPs, placeholders, and components.
2429 Don't go through NOPs if change mode.
2430 (record_alias_subset): Do nothing if SUBSET and SET are the same.
2431 * emit-rtl.c (set_mem_alias_set): Enable check.
2432 * expr.c (find_placeholder): New function.
2433 (expand_expr, case PLACEHOLDER_EXPR): Use it.
2434 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
2435 to modify it and avoid unneeded copies.
2436 * expr.h (expand_expr): Always define.
2437 (find_placeholder): New declaration.
2439 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2441 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
2442 operand 2 is the stack pointer.
2443 ("addr-peephole"): Fix address computation peephole when operand 2
2444 is the stack pointer.
2446 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2448 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
2449 (ix86_setup_incoming_varargs): Likewise.
2451 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
2453 * stor-layout.c (layout_type): Don't complain about too-large
2456 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2458 * function.c (keep_stack_depressed): Don't use delete_insn.
2460 * expr.h (set_mem_alias_set): Move decl to here.
2461 * rtl.h (mem_attrs): New typedef and struct.
2462 (union rtunion_def): Add field for mem_attrs.
2463 (X0MEMATTR, MEM_ATTRS): New macros.
2464 (MEM_ALIAS_SET): Use MEM_ATTRS.
2465 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
2466 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
2467 (set_mem_alias_set): Delete decl from here.
2469 * alias.c (set_mem_alias_set): Delete from here.
2470 * emit-rtl.c (mem_attrs_htab): New variable.
2471 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
2472 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
2473 (mem_attrs_mark, get_mem_attrs): Likewise.
2474 (gen_rtx_MEM): Clear MEM_ATTRS.
2475 (set_mem_attributes): Move to here.
2476 (set_mem_alias_set): Likewise, and call get_mem_attrs.
2477 (init_emit_once): const_int_htab now deletable htab.
2478 Initialize mem_attrs_htab.
2479 * explow.c (set_mem_attributes): Delete from here.
2480 * function.c (put_var_into_stack): Clear MEM_ATTRS.
2481 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
2482 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
2483 * reload1.c (reload): Rework changing REG to MEM.
2485 2001-09-30 H.J. Lu <hjl@gnu.org>
2487 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
2488 * config.in: Rebuild.
2490 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2492 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
2493 ("tsthi_1"): Avoid allocation in register y.
2494 ("*movqi_68hc12"): Reorganize and fix constraints.
2495 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
2496 ("addqi3"): Likewise.
2497 ("addhi3"): Fix constraints.
2498 ("*logicalhi3_zexthi"): Disparage soft registers.
2500 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2502 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
2505 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2507 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
2508 that we use setjmp/longjmp exceptions.
2510 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
2512 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
2513 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
2514 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
2515 _cpp_pool_alloc, _cpp_next_chunk): Remove.
2516 (_cpp_extend_buff, BUFF_ROOM): Update.
2517 (_cpp_append_extend_buff): New.
2518 (struct cpp_reader): Remove macro_pool, add a_buff.
2519 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
2521 (cpp_destroy): Free a_buff instead of macro_pool.
2522 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
2523 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
2524 _cpp_pool_alloc, ): Remove.
2525 (parse_number, parse_string): Update use of _cpp_extend_buff.
2526 (_cpp_extend_buff): Update.
2527 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
2528 * cpplib.c (glue_header_name, parse_answer):
2529 Update use of _cpp_extend_buff.
2530 (cpp_register_pragma, cpp_register_pragma_space): Use
2532 (do_assert, do_unassert): Check for EOL, update.
2533 * cppmacro.c (stringify_arg, collect_args): Update to use
2534 _cpp_extend_buff and _cpp_append_extend_buff.
2535 (save_parameter, parse_params, alloc_expansion_token,
2536 _cpp_create_definition): Rework memory management.
2538 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
2540 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
2541 update md_exec_prefix.
2542 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
2545 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
2547 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
2548 (SELECT_CC_MODE): Use s390_select_ccmode.
2549 * config/s390/s390-protos.h (s390_select_ccmode): Add.
2550 * config/s390/s390.c (s390_select_ccmode): New.
2551 (s390_match_ccmode): Add CCLmode.
2552 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
2553 (output_branch_condition, output_inverse_branch_condition): Removed.
2554 (print_operand): Use s390_branch_condition_mnemonic.
2555 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
2556 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
2557 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
2559 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
2560 when converting conditional branches to far branches.
2561 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
2562 cmpint_di): Use CCSmode instead of CCUmode.
2564 * config/s390/s390.c (legitimate_la_operand_p): New.
2565 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
2566 * config/s390/s390.md (movsi): Convert load address patterns to
2567 arithmetic operations when necessary.
2568 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
2569 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
2570 (*do_la_reg_0): Don't use before reload.
2572 * config/s390/s390.c (legitimize_address): Make more efficient
2573 use of two-register addressing mode.
2575 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
2576 with -mno-backchain in some corner cases.
2578 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
2580 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
2582 * reload.c (find_reloads): Mark new USE insns with QImode.
2583 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
2584 find_reloads_subreg_address): Likewise.
2585 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
2587 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
2589 (reload): Make sure there are no USEs with mode other than
2590 VOIDmode. At the end, remove those marked with QImode.
2592 2001-09-29 Per Bothner <per@bothner.com>
2594 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
2595 * Makefile.in (includedir): Rename to local_includedir.
2596 (includedir): Define as $(prefix)/include.
2597 * config.in (PREFIX_INCLUDE_DIR): New variable.
2598 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
2600 2001-09-29 Bernd Schmidt <bernds@redhat.com>
2602 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
2604 * doc/extend.texi (Vector Extensions): New node.
2605 * doc/invoke.texi (Machine Dependent Options): Add documentation for
2606 i386 -mmmx, -msse, -m3dnow.
2608 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
2610 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
2612 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2614 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
2616 * doc/invoke.texi (Optimize Options): Delete spurious @table.
2618 2001-09-28 Richard Henderson <rth@redhat.com>
2620 * varasm.c (assemble_integer): Bound alignment check by
2623 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
2625 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2627 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
2629 2001-09-25 Bernd Schmidt <bernds@redhat.com>
2631 Mostly from Graham Stott <grahams@redhat.com>
2632 * c-common.c (type_for_mode): Add support for V2SFmode.
2633 * tree.c (build_common_tree_nodes_2): Likewise.
2634 * tree.h (enum tree_index, global_trees): Likewise.
2635 * config/i386/i386.c (x86_3dnow_a): New variable.
2636 (override_options): Support 3Dnow extensions.
2637 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
2638 Athlon's version of 3Dnow.
2639 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
2640 (ix86_expand_builtin): Handle them.
2641 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
2642 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
2643 TARGET_3DNOW_A): New macros.
2644 (TARGET_SWITCHES): Add 3Dnow switches.
2645 (VALID_MMX_REG_MODE_3DNOW): New macro.
2646 (VECTOR_MODE_SUPPORTED_P): Use it.
2647 (enum ix86_builtins): Add entries for 3Dnow builtins.
2648 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
2649 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
2650 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
2651 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
2652 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
2653 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
2654 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
2655 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
2656 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
2657 sfence_insn, prefetch): Make these available if TARGET_SSE or
2660 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
2662 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
2663 ix86_va_start, ix86_build_va_list): Declare.
2664 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
2665 ix86_va_start, ix86_build_va_list): New global functions.
2666 * i386.md (sse_prologue_save_insn): New insn.
2667 (sse_prologue_save): New expander.
2668 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
2669 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
2671 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
2673 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
2674 Use size_t everywhere, make definitions consistent with
2677 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
2679 * gcse.c (replace_store_insn): Use delete_insn.
2680 * loop.c (move_movables): Likewise; avoid delete_insn
2681 from clobbering notes moved elsewhere.
2682 (check_dbra_loop): Use delete_insn.
2683 * ssa.c (convert_from_ssa): Likewise.
2684 * cse.c (cse_insn): Use delete_insn.
2686 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
2688 * cpphash.h (struct cpp_buff): Make unsigned.
2689 (_cpp_get_buff): Take length of size_t.
2690 (_cpp_unaligned_alloc): New.
2691 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
2692 (struct cpp_reader): Remove ident_pool. Add u_buff.
2693 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
2694 (cpp_destroy): Destroy u_buff, not ident_pool.
2695 * cpplex.c (parse_number, parse_string, save_comment,
2696 cpp_token_as_text): Update to use the unaligned buffer.
2697 (new_buff): Make unsigned.
2698 (_cpp_unaligned_alloc): New.
2699 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
2700 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
2702 (collect_args): Make unsigned.
2704 2001-09-27 Zack Weinberg <zack@codesourcery.com>
2706 * cpplex.c (cpp_output_token): Use a putc loop for
2707 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
2709 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
2710 * configure, config.in: Regenerate.
2711 * system.h: Replace fwrite and fprintf with their unlocked
2712 variants if available.
2714 2001-09-27 Richard Henderson <rth@redhat.com>
2716 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
2717 in favour of .eh_frame.
2719 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
2721 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
2723 (LIBCALL_VALUE): Likewise.
2725 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
2727 * cpphash.h: Update comment.
2728 * cpplex.c: Update comments.
2729 (_cpp_can_paste): Remove.
2730 * cpplib.h (_cpp_can_paste): Remove.
2731 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
2732 lexer rather than _cpp_can_paste.
2734 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
2736 * doc/cppinternals.texi: Update.
2738 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
2740 * cpphash.h (struct cpp_pool): Remove locks and locked.
2741 (struct cpp_context): Add member buff.
2742 (struct cpp_reader): Remove member argument_pool.
2743 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
2744 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
2745 * cpplex.c (chunk_suitable): Remove pool argument.
2746 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
2747 (new_buff, _cpp_extend_buff): Update.
2748 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
2749 which buffer is returned.
2750 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
2751 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
2752 * cppmacro.c (lock_pools, unlock_pools): Remove.
2753 (push_ptoken_context): Take a _cpp_buff.
2754 (enter_macro_context): Pool locking removed.
2755 (replace_args): Use a _cpp_buff for the replacement list with
2757 (push_token_context): Clear buff.
2758 (expand_arg): Use _cpp_pop_context.
2759 (_cpp_pop_context): Free a context's buffer, if any.
2761 2001-09-26 DJ Delorie <dj@redhat.com>
2763 * c-typeck.c (digest_init): Check for sizeless arrays.
2765 2001-09-26 Richard Henderson <rth@redhat.com>
2767 * optabs.c (init_one_libfunc): Create a dummy function type
2768 instead of using error_mark_node.
2770 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
2772 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
2773 _cpp_extend_buff, _cpp_free_buff): New.
2774 (struct cpp_reader): New member free_buffs.
2775 * cppinit.c (cpp_destroy): Free buffers.
2776 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
2777 _cpp_extend_buff, _cpp_free_buff): New.
2778 * cpplib.h (struct cpp_options): Remove unused member.
2779 * cppmacro.c (collect_args): New. Combines the old parse_arg
2780 and parse_args. Use _cpp_buff for memory allocation.
2781 (funlike_invocation_p, replace_args): Update.
2783 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
2785 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
2787 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
2789 * except.c (sjlj_mark_call_sites): Change address inside sequence.
2791 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
2793 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
2796 2001-09-25 Janis Johnson <janis187@us.ibm.com>
2797 Jim Wilson <wilson@redhat.com>
2799 * doc/install.texi (Specific, ia64-*-linux): Document.
2801 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
2803 * Makefile.in (cfgrtl.o): Add.
2804 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
2805 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
2806 free_aux_for_edge): Declare.
2808 (HAVE_return): Undefine.
2809 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
2810 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
2811 free_aux_for_edge): New global functions.
2812 (first_delete_block): New static variable.
2813 (init_flow): Clear first_delete_block.
2814 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
2815 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
2816 try_redirect_by_replacing_jump, last_loop_beg_note,
2817 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
2818 delete_insn, delete_insn_chain, create_basic_block_structure,
2819 create_basic_block, flow_delete_block, compute_bb_for_insn,
2820 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
2821 set_block_for_new_insns, split_block, merge_blocks_nomove,
2822 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
2823 redirect_edge_and_branch, force_nonfallthru_and_redirect,
2824 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
2825 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
2826 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
2827 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
2828 purge_all_dead_edges): Move to ....
2829 * cfgrtl.c: New file; .... Here.
2831 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
2832 (reroder_basic_block): Use alloc_aux_for_blocks.
2833 * predict.c (estimate_bb_frequencies): Likewise; use
2834 alloc_aux_for_edges.
2835 * profile.c (compute_branch_probabilities): Likewise.
2836 (branch_prob): Likewise.
2837 * reg-stack.c (reg_to_stack): Likewise.
2839 * emit-rtl.c (emit_insns_after): Never return NULL.
2841 * basic-block.h (set_block_for_new_insns): Delete.
2842 * cfgrtl.c (set_block_for_new_insns): Delete.
2844 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
2845 calls when crossjumping.
2847 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
2848 * unroll.c (copy_loop_body): Use delete_insn.
2850 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
2851 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
2852 keep_stack_depressed): Likewise.
2853 * gcse.c (cprop_cc0_jump): Likewise.
2854 * local-alloc.c (update_equiv_regs): Likewise.
2855 * loop.c (scan_loop, loop_delete_insns): Likewise.
2856 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
2857 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
2858 delete_output_reload, delete_address_reloads_1,
2859 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
2861 * sibcall.c (replace_call_placeholder): Likewise.
2862 * cse.c (cse_insn): Likewise.
2864 2001-09-25 Bernd Schmidt <bernds@redhat.com>
2866 From Graham Stott <grahams@redhat.com>
2867 (def_builtin): Only define builtins appropriate for target_flags. All
2869 (builtin_decsription): Add new field mask which is used to determine
2870 when to define the builtin via the macro def_builtin.
2872 (bdesc_comi): Initialise new mask fields.
2873 (bdesc_2srg): Likewise.
2874 (bdesc_1arg): Likewise.
2876 * config/i386/i386.c (ix86_init_builtins): Correct return type
2877 building v4hi_ftype_v4hi_int_int tree node.
2878 (ix86_expand_sse_comi): Fix typo swapping operands.
2879 Don't swap comparision condition, it is already swapped.
2880 (ix86_expand_sse_compare): Before swapping operands
2881 move operand 1 into new rtx and not the target rtx.
2882 Don't swap comparison condition, it is already swapped.
2883 Always check whether we need to create a new TARGET.
2885 * config/i386/i386.md: (sse_comi) Fix typos.
2886 (sse_ucomi): Likewise.
2887 (cvtss2si): Fix operand 0 contraint.
2888 (cvttss2si): Likewise.
2889 (sse_unpckhps): Fix mode for operand 2.
2890 (sse_unpcklps): Likewise.
2892 2001-09-25 Graham Stott <grahams@redhat.com>
2894 * sibcall.c (skip_copy_to_return_value): Tighten return value
2897 2001-09-24 David Edelsohn <edelsohn@gnu.org>
2899 * rs6000.c (lwa_operand): Address must be word aligned.
2901 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2903 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
2904 number has been set.
2905 (type_hash_mark): Mark type itself.
2907 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
2909 * c-lex.c (cb_def_pragma): Update.
2910 (c_lex): Update, and skip padding.
2911 * cppexp.c (lex, parse_defined): Update, remove unused variable.
2912 * cpphash.h (struct toklist): Delete.
2913 (union utoken): New.
2914 (struct cpp_context): Update.
2915 (struct cpp_reader): New members eof, avoid_paste.
2916 (_cpp_temp_token): New.
2917 * cppinit.c (cpp_create_reader): Update.
2918 * cpplex.c (_cpp_temp_token): New.
2919 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
2920 (cpp_output_token): Don't print leading whitespace.
2921 (cpp_output_line): Update.
2922 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
2923 do_include_common, do_line, do_ident, do_pragma,
2924 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
2925 parse_assertion): Update.
2926 (get_token_no_padding): New.
2927 * cpplib.h (CPP_PADDING): New.
2928 (AVOID_LPASTE): Delete.
2929 (struct cpp_token): New union member source.
2930 (cpp_get_token): Update.
2931 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
2932 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
2933 replace_args, quote_string, stringify_arg, parse_arg, next_context,
2934 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
2935 _cpp_backup_tokens, _cpp_create_definition): Update.
2936 (push_arg_context): Delete.
2937 (padding_token, push_token_context, push_ptoken_context): New.
2938 (make_string_token, make_number_token): Update, rename.
2939 (cpp_get_token): Update to handle tokens as pointers to const,
2940 and insert padding appropriately.
2941 * cppmain.c (struct printer): New member prev.
2942 (check_multiline_token): Constify.
2943 (do_preprocessing, cb_line_change): Update.
2944 (scan_translation_unit): Update to handle spacing.
2945 * scan-decls.c (get_a_token): New.
2946 (skip_to_closing_brace, scan_decls): Update.
2947 * fix-header.c (read_scan_file): Update.
2949 * doc/cpp.texi: Update.
2951 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2953 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
2954 leak by passing malloc'ed pointer to reconcat, not concat.
2956 2001-09-24 DJ Delorie <dj@redhat.com>
2958 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
2960 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
2962 * flow.c (delete_dead_jumptables): Delete jumptable if the only
2963 reference is from the literal pool.
2965 2001-09-24 Janis Johnson <janis187@us.ibm.com>
2967 * doc/install.texi (Final install): Request additional information
2968 in mail about successful builds.
2970 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
2972 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
2973 initial value of return pointer register instead of value in frame-20.
2976 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
2978 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
2979 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
2980 the libcall if there isn't a referenced identifier for the symbol.
2982 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
2984 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
2985 non 64-bit machines. Use these as a plabel for the trampoline.
2986 (TRAMPOLINE_SIZE): Adjust size for new words.
2987 (INITIALIZE_TRAMPOLINE): Initialize new words.
2988 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
2989 pointer to the plabel in the trampoline.
2991 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
2993 * pa.c (function_arg): Pass floating arguments in both general and
2994 floating registers in indirect (dynamic) calls when generating code
2995 for the 32 bit ABI and the HP assembler.
2997 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2999 * doc/install.texi: Markup fixes.
3000 Use Solaris 2, SunOS 4 as appropriate.
3001 (Specific, *-*-solaris2*): Explain this.
3002 Unconditionally warn against /usr/ucb tools.
3003 Remove Sun as warning, obsolete.
3004 Move X11 header bug workaround here, update patches.
3005 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
3006 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
3008 2001-09-23 Zack Weinberg <zack@codesourcery.com>
3010 * errors.h (warning, error, fatal, internal_error): Don't mark
3011 with ATTRIBUTE_PRINTF_n.
3012 * toplev.h (internal_error, fatal_io_error, warning, error,
3013 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
3014 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
3017 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3019 * function.c (pop_function_context_from): var_refs_queue
3020 and temp slots now in GC memory.
3021 (mark_function_status, free_after_compilation): Likewise;
3022 also struct function now in GC memory.
3023 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
3024 (combine_temp_slots): Likewise.
3025 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
3026 (prepare_function_start): Use GC memory for struct function.
3027 (mark_temp_slot): Deleted.
3028 (gcc_mark_struct_function): struct function now in GC memory.
3030 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
3031 code for division, not modulus.
3033 * rtl.def (MEM): Remove obsolete part of comment.
3035 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
3037 * c-format.c (init_function_format_info): Check __builtin_printf
3038 and __builtin_fprintf even if -ffreestanding. Check C99 functions
3041 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3043 * c-common.c (format_attribute_table): Remove decl.
3044 * tree.h (format_attribute_table, lang_attribute_table): New decls.
3045 (lang_attribute_common): Likewise.
3047 * function.c (fix_lexical_address): Use set_mem_alias_set.
3048 (expand_function_start): Likewise.
3049 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
3051 * varasm.c (output_constant): Fix unused variable warning.
3053 * attribs.c: New file, from c-common.c.
3054 (attribute_tables): Now four elements.
3055 (format_attribute_table, lang_attribute_common): New variables.
3056 (init_attributes): Reflect above changes.
3057 (handle_mode_attribute): Delete check for wider than uintmax.
3058 * c-common.c: Delete parts moved to attribs.c.
3059 (enum attrs): Deleted; unused.
3060 (c_format_attribute_table): New variable.
3061 (c_common_lang_init): Initialize format_attribute_table with it.
3062 * c-common.h (decl_attributes): Remove decl.
3063 * tree.h (decl_attribute): Move it to here.
3064 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
3065 (attribs.o): New rule.
3067 2001-09-22 Andreas Jaeger <aj@suse.de>
3069 * builtins.c (c_getstr): Remove unused variable.
3071 2001-09-21 Richard Henderson <rth@redhat.com>
3073 * reload1.c (reload): Use delete_insn instead of splatting
3076 2001-09-21 Richard Henderson <rth@redhat.com>
3078 * reload.c (push_secondary_reload): Don't check for "=" in output
3079 constraint after ""->ALL_REGS check.
3081 2001-09-21 Richard Henderson <rth@redhat.com>
3083 * predict.c (expected_value_to_br_prob): Use pc_set.
3085 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
3086 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
3088 2001-09-21 Richard Henderson <rth@redhat.com>
3090 * rtl.h (LCT_RETURNS_TWICE): New.
3091 * calls.c (emit_call_1): Set current_function_calls_setjmp for
3093 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
3094 to ECF_RETURNS_TWICE.
3095 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
3098 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
3100 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
3101 (JMP_BUF_SIZE): New.
3103 2001-09-21 Richard Henderson <rth@redhat.com>
3105 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
3108 2001-09-21 Richard Henderson <rth@redhat.com>
3110 * tree.def (FDESC_EXPR): New.
3111 * expr.c (expand_expr): Handle it.
3112 * varasm.c (initializer_constant_valid_p): Likewise.
3113 (output_constant): Likewise.
3114 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
3115 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
3116 (ASM_OUTPUT_FDESC): New.
3117 * doc/tm.texi: Document the new macros.
3119 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
3121 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
3122 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
3123 once merging is complete.
3125 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3127 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
3129 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
3131 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
3132 that would be invalid after a merge.
3134 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
3136 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
3137 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
3139 (flow_delete_insn): This one.
3140 (delete_insn_chain): Rename from ...; do not care labels.
3141 (flow_delete_insn_chain): ... this one.
3142 (flow_delete_block): Remove the insns one BB has been expunged.
3143 (merge_blocks_nomove): Likewise.
3144 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
3145 updating BB boundaries.
3146 (tidy_fallthru_edge): Likewise.
3147 (commit_one_edge_insertion): Likewise.
3148 * cfgbuild.c (find_basic_block): Likewise.
3149 (find_basic_blocks_1): Likewise.
3150 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
3151 (try_crossjump_to_edge): Likewise.
3152 (try_optimize_cfg): Likewise.
3153 * cse.c (delete_trivially_dead_insns): Likewise.
3154 * df.c (df_insn_delete): Likewise.
3155 * doloop.c (doloop_modify): Use delete_related_insns.
3156 * emit-rtl.c (try_split): Likewise.
3157 (remove_insn): Update BB boundaries.
3158 * expect.c (connect_post_landing_pads): Use delete_related_insns.
3159 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
3160 updating BB boundaries.
3161 (propagate_block_delete_insn): Likewise.
3162 (propagate_block_delete_libcall): Likewise.
3163 * function.c (delete_handlers): Use delete_related_insns.
3164 (thread_prologue_and_epilogue_insns): Likewise.
3165 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
3166 * genpeep.c (gen_peephole): Use delete_related_insns.
3167 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
3169 (find_cond_trap): Likewise.
3170 * integrate.c (save_for_inline): Use delete_related_insns.
3171 (copy_insn_list): Likewise.
3172 * jump.c (pruge_linie_number_notes): Likewise.
3173 (duplicate_loop_exit_test): Likewise.
3174 (delete_computation): Likewise.
3175 (delete_related_insn): Rename from ...; use delete_insn
3176 (delete_insn): ... this one.
3177 (redirect_jump): Use delete_related_insns.
3178 * loop.c (scan_loop): Likewise.
3179 (move_movables): Likewise.
3180 (find_and_verify_loops): Likewise.
3181 (check_dbra_loop): Likewise.
3182 * recog.c (peephole2_optimize): Likewise.
3183 * reg-stack.c (delete_insn_for_stacker): Remove.
3184 (move_for_stack_reg): Use delete_insn.
3185 * regmove.c (combine_stack_adjustments_for_block): Likewise.
3186 * reload1.c (delete_address_reloads): Use delete_related_insns.
3187 (fixup_abnormal_edges): Use delete_insn.
3188 * recog.c (emit_delay_sequence): Use delete_related_insns.
3189 (delete_from-delay_slot): Likewise.
3190 (delete_scheduled_jump): likewise.
3191 (optimize_skip): Likewise.
3192 (try_merge_delay_insns): Likewise.
3193 (full_simple_delay_slots): Likewise.
3194 (fill_slots_from_thread): Likewise.
3195 (relax_delay_slots): Likewise.
3196 (make_return_insns): Likewise.
3197 (dbr_schedule): Likewise.
3198 * rtl.h (delete_insn): Rename to delete_related_insns.
3199 (delete_insn, delete_insn_chain): New prototypes.
3200 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
3201 by df_insn_delete already.
3202 * ssa-dce.c (delete_insn_bb): Use delete_insn.
3203 * ssa.c (convert_from_ssa): Use delete_related_insns.
3204 * unroll.c (unroll_loop): Likewise.
3205 (calculate_giv_inc): Likewise.
3206 (copy_loop_body): Likewise.
3208 * i386-protos.h (ix86_libcall_value, ix86_function_value,
3209 ix86_function_arg_regno_p, ix86_function_arg_boundary,
3210 ix86_return_in_memory, ix86_function_value): Declare.
3211 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
3212 new static valurables.
3213 (x86_64_reg_class): New enum
3214 (x86_64_reg_class_name): New array.
3215 (classify_argument, examine_argument, construct_container,
3216 merge_classes): New static functions.
3217 (optimization_options): Enable flag_omit_frame_pointer and disable
3218 flag_pcc_struct_return on 64bit.
3219 (ix86_libcall_value, ix86_function_value,
3220 ix86_function_arg_regno_p, ix86_function_arg_boundary,
3221 ix86_return_in_memory, ix86_function_value): New global functions.
3222 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
3223 (function_arg_advance): Handle x86_64 passing conventions.
3224 (function_arg): Likewise.
3225 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
3226 (RETURN_IN_MEMORY): Move offline.
3227 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
3228 (FUNCTION_VALUE_REGNO_P): New macro.
3229 (FUNCTION_ARG_REGNO_P): Move offline.
3230 (struct ix86_args): Add maybe_vaarg.
3231 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
3232 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
3234 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
3236 * s390.md: Changed attributes for scheduling.
3237 * s390.c: (s390_adjust_cost, s390_adjust_priority)
3240 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
3242 Table-driven attributes.
3243 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
3244 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
3245 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
3246 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
3247 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
3248 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
3249 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
3250 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
3251 * tree.h (struct tree_decl): Change machine_attributes to
3253 * doc/c-tree.texi: Document that all attributes are now attached
3255 * c-common.c (add_attribute, attrtab, attrtab_idx,
3256 default_valid_lang_attribute, valid_lang_attribute): Remove.
3257 (attribute_tables, attributes_initialized,
3258 c_common_attribute_table, default_lang_attribute_table): New
3260 (handle_packed_attribute, handle_nocommon_attribute,
3261 handle_common_attribute, handle_noreturn_attribute,
3262 handle_unused_attribute, handle_const_attribute,
3263 handle_transparent_union_attribute, handle_constructor_attribute,
3264 handle_destructor_attribute, handle_mode_attribute,
3265 handle_section_attribute, handle_aligned_attribute,
3266 handle_weak_attribute, handle_alias_attribute,
3267 handle_no_instrument_function_attribute,
3268 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
3269 handle_no_limit_stack_attribute, handle_pure_attribute): New
3271 (init_attributes, decl_attributes): Rewrite to implement
3272 table-driven attributes.
3273 * c-common.h (enum attribute_flags): Move to tree.h.
3274 * c-format.c (decl_handle_format_attribute,
3275 decl_handle_format_arg_attribute): Rename to
3276 handle_format_attribute and handle_format_arg_attribute. Update
3277 for table-driven attributes.
3278 * c-common.h (decl_handle_format_attribute,
3279 decl_handle_format_arg_attribute): Remove prototypes.
3280 (handle_format_attribute, handle_format_arg_attribute): Add
3282 * c-decl.c (grokdeclarator): Handle attributes nested inside
3284 * c-parse.in (setattrs, maybe_setattrs): Remove.
3285 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
3286 Update to handle nested attributes properly.
3287 (maybe_resetattrs, after_type_declarator,
3288 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
3289 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
3291 (make_pointer_declarator): Update to handle nested attributes
3293 * doc/extend.texi: Update documentation of limits of attributes
3294 syntax. Warn about problems with attribute semantics in C++.
3295 * target.h (struct target): Remove valid_decl_attribute and
3296 valid_type_attribute. Add attribute_table and
3297 function_attribute_inlinable_p.
3298 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
3299 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
3300 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
3302 (TARGET_INITIALIZER): Update.
3303 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
3305 (function_attribute_inlinable_p): New function. Check for the
3306 presence of any machine attributes before using
3307 targetm.function_attribute_inlinable_p.
3308 (function_cannot_inline_p): Update.
3309 * Makefile.in (integrate.o): Update dependencies.
3310 * doc/tm.texi: Update documentation of target attributes and
3311 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
3312 * tree.c (default_valid_attribute_p, valid_machine_attribute):
3314 (default_target_attribute_table,
3315 default_function_attribute_inlinable_p): New.
3316 (lookup_attribute): Update comment to clarify handling of multiple
3317 attributes with the same name.
3318 (merge_attributes, attribute_list_contained): Allow multiple
3319 attributes with the same name but different arguments to appear in
3320 the same attribute list.
3321 * tree.h (default_valid_attribute_p): Remove prototype.
3322 (struct attribute_spec): New.
3323 (default_target_attribute_table): Declare.
3324 (enum attribute_flags): Move from c-common.h. Add
3325 ATTR_FLAG_TYPE_IN_PLACE.
3326 (default_function_attribute_inlinable_p): Declare.
3327 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
3328 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3329 (TARGET_ATTRIBUTE_TABLE): Define.
3330 (vms_attribute_table): New.
3331 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
3332 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3333 (TARGET_ATTRIBUTE_TABLE): Define.
3334 (arc_attribute_table, arc_handle_interrupt_attribute): New.
3335 * config/arm/arm.c (arm_valid_type_attribute_p,
3336 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
3338 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
3340 (TARGET_ATTRIBUTE_TABLE): Define.
3341 (arm_attribute_table, arm_handle_fndecl_attribute,
3342 arm_handle_isr_attribute): New.
3343 * config/avr/avr.c (avr_valid_type_attribute,
3344 avr_valid_decl_attribute): Remove.
3345 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
3347 (TARGET_ATTRIBUTE_TABLE): Define.
3348 (avr_attribute_table, avr_handle_progmem_attribute,
3349 avr_handle_fndecl_attribute): New.
3350 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
3351 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
3352 (TARGET_ATTRIBUTE_TABLE): Define.
3353 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
3354 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
3355 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3356 (TARGET_ATTRIBUTE_TABLE): Define.
3357 (h8300_attribute_table, h8300_handle_fndecl_attribute,
3358 h8300_handle_eightbit_data_attribute,
3359 h8300_handle_tiny_data_attribute): New.
3360 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
3361 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
3363 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
3365 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
3366 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
3368 (TARGET_ATTRIBUTE_TABLE): Define.
3369 (ix86_attribute_table, ix86_handle_cdecl_attribute,
3370 ix86_handle_regparm_attribute): New.
3371 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
3372 i386_pe_valid_type_attribute_p): Remove.
3373 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
3374 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
3375 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
3376 (TARGET_ATTRIBUTE_TABLE): Define.
3377 (ia64_attribute_table): New.
3378 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
3379 interrupt_ident2, model_ident1, model_ident2): Remove.
3380 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3381 (TARGET_ATTRIBUTE_TABLE): Define.
3382 (init_idents): Update.
3383 (m32r_attribute_table, m32r_handle_model_attribute): New.
3384 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
3386 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
3387 (TARGET_ATTRIBUTE_TABLE): Define.
3388 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
3389 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
3390 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3391 (TARGET_ATTRIBUTE_TABLE): Define.
3392 (mcore_attribute_table, mcore_handle_naked_attribute): New.
3393 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
3394 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
3395 (TARGET_ATTRIBUTE_TABLE): Define.
3396 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
3397 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
3398 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
3399 (TARGET_ATTRIBUTE_TABLE): Define.
3400 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
3401 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
3402 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3403 (TARGET_ATTRIBUTE_TABLE): Define.
3404 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
3405 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
3407 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
3409 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
3410 (TARGET_ATTRIBUTE_TABLE): Define.
3411 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
3413 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
3414 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
3415 (TARGET_ATTRIBUTE_TABLE): Define.
3416 (v850_attribute_table, v850_handle_interrupt_attribute,
3417 v850_handle_data_area_attribute): New.
3418 * config/v850/v850-c.c (mark_current_function_as_interrupt):
3419 Return void. Call decl_attributes instead of
3420 valid_machine_attribute.
3422 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
3424 * sh-protos.h (sh_pr_n_sets): Declare.
3425 * sh.c (calc_live_regs): If the initial value for PR has been copied,
3426 look at the copy to determine if PR needs to be saved.
3427 sh_pr_n_sets: New function.
3428 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
3429 (ALLOCATE_INITIAL_VALUE): Define.
3431 * sh.c (initial_elimination_offset):
3432 Fix RETURN_ADDRESS_POINTER_REGNUM case.
3434 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
3436 * integrate.c (allocate_initial_values): New function.
3437 * integrate.h (allocate_initial_values): Declare.
3438 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
3440 * reload1.c (reload): And initialization of reg_equiv_memory_loc
3442 * toplev.c (rest_of_compilation): To here.
3443 Call allocate_initial_values.
3444 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
3446 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3448 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
3450 2001-09-20 DJ Delorie <dj@redhat.com>
3452 * c-typeck.c (really_start_incremental_init): Discriminate
3453 between zero-length arrays and flexible arrays.
3454 (push_init_level): Detect zero-length arrays and handle them
3455 like fixed-sized arrays.
3456 * expr.c (store_constructor): Handle zero-length arrays and
3457 flexible arrays correctly.
3458 * doc/extend.texi: Update zero-length array notes.
3460 2001-09-20 Jim Wilson <wilson@redhat.com>
3462 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
3463 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
3464 for issue port conflicts.
3465 (cycle_end_fill_slots): TYPE_L instructions take two slots.
3467 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
3469 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
3472 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3474 * fold-const.c (hashtab.h): Include.
3475 (int_const_binop): Remove FORSIZE arg and compute from type; all
3477 Call size_int_type_wide for all single-word constants.
3478 (size_htab_hash, size_htab_eq): New functions.
3479 (size_int_type_wide): Rework to use hash table.
3480 * ggc-common.c (hashtab.h): Include.
3481 (struct d_htab_root): New struct.
3482 (d_htab_roots): New variable.
3483 (ggc_add_deletable_htab, ggc_htab_delete): New functions
3484 (ggc_mark_roots): Handle deletable htabs.
3485 * ggc-page.c (ggc_marked_p): New function.
3486 * ggc-simple.c (ggc_marked_p): Likewise.
3487 * ggc.h: Reformatting throughout.
3488 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
3489 * tree.c (init_obstacks): Make type_hash_table a deletable root.
3490 (type_hash_add): Allocate struct type_hash from GC memory.
3491 (mark_hash_entry, mark_type_hash): Deleted.
3492 (type_hash_marked_p, type_hash_mark): New functions.
3493 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
3495 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
3497 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
3500 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3502 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
3503 array-too-large test for signed sizetype.
3505 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
3507 * i386.md (indirect_jump): Allow Pmode operand.
3508 (tablejump): LIkewise; perform expansion to 64bit mode.
3509 * i386.c (symbolic_operand): Allow 64bit PIC references.
3510 (pic_symbolic_operand): Likewise.
3511 (ix86_find_base_term): Strip the 64bit PIC references.
3512 (legitimate_pic_address_disp_p): Handle 64bit PIC.
3513 (legitimize_pic_address): Likewise.
3514 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
3515 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
3517 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
3519 * stringpool.c (get_identifier_with_length): New function.
3520 * tree.h (get_identifier_with_length): New prototype.
3522 2001-09-19 Alan Modra <amodra@bigpond.net.au>
3523 David Edelsohn <edelsohn@gnu.org>
3526 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
3527 already sign-extended.
3529 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
3530 * config/rs6000/rs6000.c (logical_operand): Always compare op as
3532 (rs6000_emit_set_long_const): Avoid unnecessary shift.
3533 (output_profile_hook): Declare label_name const.
3534 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
3535 to match constraints.
3537 2001-09-19 Stan Shebs <shebs@apple.com>
3539 * alias.c: Fix typos in comments.
3540 * sched-rgn.c (init_ready_list): Ditto.
3541 * unwind-dw2.c (uw_frame_state_for): Ditto.
3542 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
3543 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
3544 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
3546 2001-09-19 Richard Henderson <rth@redhat.com>
3548 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
3550 * Makefile.in (cfg.o): Depend on TM_P_H.
3552 2001-09-19 Richard Henderson <rth@redhat.com>
3554 * config/alpha/alpha.c (local_symbol_p): Split out from ...
3555 (local_symbolic_operand): ... here.
3556 (small_symbolic_operand): Check mode.
3557 (global_symbolic_operand): New.
3558 (input_operand): Reject symbolics if explicit relocs.
3559 (call_operand): Tidy.
3560 (alpha_legitimize_address): Use movdi_er_high_g.
3561 (alpha_expand_mov): Likewise.
3562 * config/alpha/alpha-protos.h: Update.
3563 * config/alpha/alpha.h (PREDICATE_CODES): Update.
3564 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
3565 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
3566 (UNSPECV_LDGP2): Remove.
3567 (all call patterns): Use 's' not 'i' for symbolic constraint.
3568 (call_osf call_value_osf): Use call_operand.
3569 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
3570 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
3571 (prologue_ldgp_1_er): Remove.
3572 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
3573 (builtin_setjmp_receiver_er patterns): Use them.
3574 (exception_receiver_er): Likewise.
3576 2001-09-19 Richard Henderson <rth@redhat.com>
3578 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
3580 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
3581 and NON_LOCAL_GOTO notes.
3582 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
3583 copy over CALL_INSN_FUNCTION_USAGE.
3585 2001-09-18 Catherine Moore <clm@redhat.com>
3587 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
3590 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
3592 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
3593 new-style tm_file specification. Specify correct tm_p_file,
3594 md_file, and out_file for s390x.
3596 * config/s390/linux.h, linux64.h: Don't include other target
3597 macro header files. Now handled via tm_file.
3599 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
3600 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
3601 are defined before use.
3603 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
3605 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
3606 code generation only for Gnu assembler.
3608 2001-09-18 Catherine Moore <clm@redhat.com>
3610 * config/stormy16 (LIB_SPEC): Remove -lnosys.
3612 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
3614 * config/mips/mips.c (mips_frame_set): New.
3615 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
3616 a parallel frame-related expression with a set for each register.
3618 2001-09-18 Philip Blundell <philb@gnu.org>
3620 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
3623 2001-09-17 Dale Johannesen <dalej@apple.com>
3625 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
3626 * config/rs6000/aix.h (FIXED_R2): Define.
3627 * config/rs6000/darwin.h (FIXED_R2): Define.
3628 * config/rs6000/sysv4.h (FIXED_R2): Define.
3630 2001-09-17 Jeff Sturm <jsturm@one-point.com>
3632 * except.c (dw2_build_landing_pads): New local
3633 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
3634 barrier after clobbers. Fixes c++/4012.
3636 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3638 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
3640 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
3642 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
3643 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
3645 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3647 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
3650 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
3652 * cpphash.h (_cpp_lex_direct): New.
3653 * cpplex.c (_cpp_lex_token): Update.
3654 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
3655 and increment that pointer.
3656 * cppmacro.c (alloc_expansion_token): New.
3657 (lex_expansion_token): Lex macro expansion directly into
3660 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
3662 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
3664 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
3666 * basic-block.h (free_bb_for_insn): Declare.
3667 * bb-reorder.c (label_for_bb): Use block_label.
3668 (emit_jump_to_block_after): Remove.
3669 (insert_intra_1): Do not update block_for_insn.
3670 (insert_inter_bb_scope_notes): Likewise; update bb->end
3671 * cfg.c (free_bb_for_insn): New.
3672 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
3673 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
3674 (commit_one_edge_insertion): Likewise.
3675 (commit_one_edge_insertion): Do not update BB boundary.
3676 (commit_edge_insertions): Do not call compute_bb_for_insn.
3677 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
3678 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
3679 (merge_blocks_move_successor_nojumps): Likewise.
3680 (try_crossjump_to_edge): Do not update block_for_insn.
3681 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
3682 * df.c (df_pattern_emit_later): Do not update BB boundary.
3683 (df_jump_pattern_emit_after): Likewise.
3684 (df_insn_move_before): Use emit_insn_before.
3685 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
3687 (add_insn_after, add_insn_before, emit_insns_after): Update BB
3688 boundaries and basic_block_for_insn.
3689 (reorder_insns_nobb): Rename from reorder_insns.
3690 (reorder_insns): New.
3691 (emit_block_insn_before, emit_block_insn_after): Kill.
3692 * flow.c (check_function_return_warnings): Do not call
3693 compute_bb_for_insn; Do not free basic_block_for_insn.
3694 (attempt_auto_inc): Do not update basic_block_for_insn.
3695 * function.c (emit_return_into_block): Likewise;
3696 do not update BB boundaries.
3697 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
3698 (insert_insn_end_bb): Use emit_insn_before; Likewise.
3699 (pre_insert_copy_insn): Likewise.
3700 (update_ld_motion_notes): Likewise.
3701 (insert_insn_start_bb): Likewise.
3702 (replace_store_insn): Likewise.
3703 * ifcvt.c (noce_process_if_block): Likewise.
3704 (if_convert): Do not call compute_bb_for_insn.
3705 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
3706 Use emit_insn_before and emit_insn_after.
3707 * recog.c (split_all_insns): Do not update BB boundaries;
3708 Do not call compute_bb_for_insn.
3709 (peephole2_optimize): Do not update BB boundaries.
3710 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
3712 (emit_swap_insn): Likewise.
3713 (convert_regs_1): Likewise.
3714 * reload1.c (reload): Call compute_bb_for_insn.
3715 * rtl.h (reorder_insns_nobb): Declare.
3716 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
3717 * toplev.c (rest_of_compilation): Call free_bb_for_insn
3718 at places CFG is invalidated; do not call compute_bb_for_insn.
3720 * cfg.c (expunge_block): Invalidate BB structure.
3722 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
3725 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
3727 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
3729 * cpphash.h (_cpp_lex_token): Update prototype.
3730 * cpplex.c (_cpp_lex_token): New prototype.
3731 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
3732 lex_macro_node, read_flag, do_pragma_poison): Update.
3733 * cppmacro.c (cpp_get_token, parse_params,
3734 lex_expansion_token): Update.
3736 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
3738 * cppmain.c (scan_translation_unit): Don't worry about
3739 putting a space after hashes.
3740 * cpplib.c (directive_diagnostics): New.
3741 (_cpp_handle_directive): Update to use directive_diagnostics.
3742 (run_directive): Don't toggle prevent_expansion.
3743 (do_line): Backup in case of the line extension.
3744 * cpplib.h (cpp_lexer_pos): Remove.
3745 * cppmacro.c (_cpp_create_definition): Precede a leading #
3748 2001-09-15 Richard Henderson <rth@redhat.com>
3750 * c-typeck.c (comptypes): Handle zero-length arrays properly.
3752 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
3754 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
3756 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
3758 PR preprocessor/3571
3759 * tradcpp.c (handle_directive): Skip non-vertical space.
3761 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
3763 * cppmain.c (setup_callbacks): Set line callback only
3764 if outputting preprocessed source.
3766 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3768 * collect2.c (main): Const-ification.
3769 * gcc.c (translate_options, process_command): Use xstrdup in
3770 lieu of xmalloc/strcpy.
3771 (main): Use concat in lieu of xmalloc/strcpy/strcat.
3773 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
3775 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
3778 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
3780 * scan-decls.c (scan_decls): Fix typo.
3782 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
3784 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
3785 Split mlstring_pos into mls_line and mls_col.
3786 * cppinit.c (cpp_create_reader): Initialize line to 1.
3787 (cpp_destroy): Free tokenruns.
3788 (push_include): Don't update lexer_pos.
3789 * cpplex.c (unterminated, parse_string): Update.
3790 (lex_token): Don't update lexer_pos, update.
3791 * cpplib.c (if_stack): Save line instead of line + col.
3792 (start_directive, _cpp_do__Pragma, do_else, do_elif,
3793 push_conditional, _cpp_pop_buffer): Update.
3794 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
3795 (_cpp_create_definition): Update.
3797 2001-09-15 Eric Christopher <echristo@redhat.com>
3799 * config/mips/abi64.h: Add support for MEABI.
3801 2001-09-15 Eric Christopher <echristo@redhat.com>
3803 * config/mips/mips.md: Add unspec #2.
3805 (reload_outdi): Ditto.
3806 (reload_outsi): Ditto.
3809 2001-09-15 Eric Christopher <echristo@redhat.com>
3810 Jason Eckhardt <jle@redhat.com>
3812 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
3813 * config/mips/isa32-linux.h: New file.
3814 * config/mips/isa3264.h: Ditto.
3815 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
3816 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
3817 (output_block_mode): Support MEABI.
3818 (function_arg): Ditto. Fix floating point arg passing.
3819 (mips_va_start): Ditto.
3820 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
3822 (mips_asm_file_start): Add new section to pass abi to gdb.
3823 (function_arg_pass_by_reference): Support MEABI.
3824 (mips_parse_cpu): Support mips32 and mips64 processors.
3825 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
3826 TARGET_MIPS5KC. Support isa32 and isa64.
3827 (processor_type): Add r4kc, r5kc, r20kc.
3828 (GENERATE_MULT3_SI): New.
3829 (GENERATE_MULT3_DI): Ditto.
3830 (GENERATE_MULT3): Remove.
3831 (ISA_HAS_64BIT_REGS): Add isa == 64.
3832 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
3833 (ISA_HAS_MADD_MSUB): New.
3834 (ISA_HAS_CLZ_CLO): Ditto.
3835 (ISA_HAS_DCLZ_DCLO): Ditto.
3836 (ABI_GAS_ASM_SPEC): New.
3837 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
3840 (SUBTARGET_CC1_SPEC): Ditto.
3841 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3842 (PAD_VARARGS_DOWN): Support MEABI.
3843 (HARD_REGNO_NREGS): Move to mips.c.
3844 (ASM_OUTPUT_IDENT): Add #undef.
3845 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
3846 (mulsi3): Use GENERATE_MULT3_SI.
3847 (mulsi3_mult3): Ditto. Support mips32, mips64.
3848 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
3849 (mul_sub_si): New pattern.
3850 (unnamed splitters): New.
3851 (muldi3): Use GENERATE_MULT3_DI.
3852 (muldi3_internal2): Ditto.
3853 (movdicc): Support mips32.
3854 * config/mips/t-isa3264: New file.
3856 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
3858 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
3859 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
3860 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
3862 * reorg.c (fill_slots_from_thread): After call to
3863 steal_delay_list_from_target, update own_thread as new_thread may
3866 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
3868 * cpperror.c (print_location): Take line and column, for
3869 default positioning use the previously lexed token.
3870 (_cpp_begin_message): Take line and column.
3871 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
3872 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
3873 * cpphash.h (_cpp_begin_message): Update prototype.
3874 * cppinit.c (push_include): Don't set output line.
3875 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
3876 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
3877 (do_pragma): Kludge for front ends. Don't expand macros at all.
3878 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
3879 (struct cpp_token): Remove output_line.
3880 (struct cpp_callbacks): New member line_change.
3881 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
3882 cpp_get_token): Preserve BOL flag.
3883 (cpp_get_line): Remove.
3884 (_cpp_backup_tokens): Remove useless abort().
3885 * cppmain.c (cb_line_change): New.
3886 (scan_translation_unit): Don't worry about starting new lines here.
3887 * scan-decls.c (scan_decls): Update.
3888 * c-lex.c (c_lex, init_c_lex): Update.
3889 (cb_line_change, src_lineno): New.
3891 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
3893 * tree.c (append_random_chars): Generate the random
3894 characters in a reproducable fashion.
3896 2001-09-14 Richard Henderson <rth@redhat.com>
3898 * config/i386/i386.c (internal_label_prefix): New.
3899 (internal_label_prefix_len): New.
3900 (override_options): Set them.
3901 (local_symbolic_operand): New.
3902 (legitimate_pic_address_disp_p): Use it.
3903 (legitimize_pic_address): Likewise.
3905 2001-09-14 Marc Espie <espie@openbsd.org>
3907 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
3910 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
3912 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
3913 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
3915 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
3917 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
3918 invocation of SUBREG_REGNO_OFFSET.
3920 * haifa-sched.c: Fix typo in FSF copyright statement.
3921 * sched-deps.c: Fix typo in FSF copyright statement.
3922 * sched-ebb.c: Fix typo in FSF copyright statement.
3923 * sched-rgn.c: Fix typo in FSF copyright statement.
3924 * sched-vis.c: Fix typo in FSF copyright statement.
3926 * config.gcc: Move inclusion of arm elf specific header files
3927 from the files themselves into the tm_file variable. Make
3928 sure that elfos.h is included before target specific elf
3930 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
3932 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
3933 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
3934 ASM_OUTPUT_CASE_LABEL): Protect definition.
3935 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
3936 not already defined.
3937 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
3938 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
3939 Remove duplicate definition.
3940 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
3941 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
3942 (RDATA_SECTION_FUNCTION): Remove redundant definition.
3943 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
3944 Remove inclusion of arm/elf.h.
3945 * config/arm/unknown-elf.h: as for conix-elf.h.
3946 (STARTFILE_SPEC): Include crti.o and crtn.o.
3947 * config/arm/linux-elf.h: as for conix-elf.h.
3948 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
3949 * config/arm/strongarm-elf.h: Remove inclusion of
3951 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
3952 * config/arm/unknown-elf-oabi.h: Remove inclusion of
3953 unknown-elf.h and elf.h.
3954 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
3955 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
3956 ASM_WEAKEN_LABEL): Remove redundant definition.
3957 * config/arm/elf.h: Test for inclusion of elfos.h
3958 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
3959 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
3960 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
3961 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
3962 redundant definition.
3963 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
3964 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
3965 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
3966 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
3967 Add rules to build crti.o and crtn.o
3968 * crti.asm: New file.
3969 * crtn.asm: New file.
3971 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
3973 * c-parse.in (_yylex): Use _cpp_backup_tokens.
3974 * cpphash.h (struct tokenrun): Add prev.
3975 (struct lexer_state): Remove bol.
3976 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
3977 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
3979 * cppinit.c (cpp_create_reader): Don't set bol.
3980 (cpp_destroy): Don't free lookaheads.
3981 * cpplex.c (lex_directive): Remove.
3982 (next_tokenrun): Update.
3983 (_cpp_lex_token): Clean up logic.
3984 (lex_token): Update to return a pointer to lexed token, since it
3985 can move to the start of the buffer. Simpify newline handling.
3986 * cpplib.c (SEEN_EOL): Update.
3987 (skip_rest_of_line): Remove lookahead stuff.
3988 (end_directive): Line numbers are already incremented. Revert
3989 to start of lexed token buffer if we can.
3990 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
3991 parse_answer): Use _cpp_backup_tokens.
3992 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
3993 instead. Don't check for EOL.
3994 (do_include_common, do_line, do_pragma_system_header): Use
3996 * cpplib.h (BOL, _cpp_backup_tokens): New.
3997 * cppmacro.c (save_lookahead_token, take_lookahead_token,
3998 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
3999 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
4000 (builtin_macro): Don't use cpp_get_line.
4001 (cpp_get_line): Short term kludge.
4002 (parse_arg): Handle directives in arguments here. Back up when
4003 appropriate. Store EOF at end of argument list.
4004 (funlike_invocation_p): Use _cpp_backup_tokens.
4005 (push_arg_context): Account for EOF at end of list.
4006 (cpp_get_token): Remove lookahead stuff. Update.
4008 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4010 * c-parse.in (yyerror): Const-ification and/or static-ization.
4011 * c-typeck.c (push_member_name): Likewise.
4012 * collect2.c (main): Likewise.
4013 * dbxout.c (dbxout_parms): Likewise.
4014 * diagnostic.c (format_with_decl): Likewise.
4015 * dwarf2out.c (output_ranges): Likewise.
4016 * dwarfout.c (fundamental_type_code): Likewise.
4017 * except.c (dw2_output_call_site_table): Likewise.
4018 * gcc.c (do_spec_1): Likewise.
4019 * genopinit.c (optabs): Likewise.
4020 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
4021 gen_declaration_1, handle_impent): Likewise.
4022 * protoize.c (default_include, in_system_include_dir, abspath):
4024 * sched-vis.c (visualize_stall_cycles): Likewise.
4025 * sdbout.c (plain_type_1, sdbout_end_function,
4026 sdbout_end_epilogue): Likewise.
4027 * varasm.c (decode_reg_name): Likewise.
4029 * 1750a.c (mod_regno_adjust): Likewise.
4030 * alpha.c (alpha_write_one_linkage,
4031 unicosmk_output_default_externs): Likewise.
4032 * arm.c (arm_condition_codes): Likewise.
4033 * arm.h (arm_condition_codes): Likewise.
4034 * avr.c (output_movsisf, encode_section_info): Likewise.
4035 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
4037 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
4038 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
4039 * m88k.c (output_function_profiler): Likewise.
4040 * mips.c (mips_output_conditional_branch): Likewise.
4041 * ns32k.c (ns32k_out_reg_names): Likewise.
4042 * ns32k.h (ns32k_out_reg_names): Likewise.
4043 * pj.c (pj_output_rval): Likewise.
4044 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
4045 * sparc.c (sparc_flat_function_prologue,
4046 sparc_flat_function_epilogue): Likewise.
4048 2001-09-13 Markus Werle <numerical.simulation@web.de>
4049 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4051 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
4052 Aachen University of Technology".
4054 2001-09-13 Andreas Schwab <schwab@suse.de>
4056 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
4059 2001-09-13 Richard Henderson <rth@redhat.com>
4061 * config/alpha/alpha.c (small_symbolic_operand): New.
4062 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
4063 (some_operand, input_operand): Don't handle HIGH.
4064 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
4065 (alpha_expand_mov): Likewise.
4066 (print_operand) [H]: Just print HIGH symbol.
4067 (print_operand_address): Handle small data.
4068 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
4069 (TARGET_SWITCHES): Add -msmall-data/large-data.
4070 (PIC_OFFSET_TABLE_REGNUM): New.
4071 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
4072 (PREDICATE_COES): Update.
4073 * config/alpha/alpha.md (adddi_er_high): New.
4074 (adddi_er_low): Handle small data.
4075 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
4076 prefer .sdata to .rodata.
4077 (SELECT_RTX_SECTION): Likewise.
4079 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
4081 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
4082 defining __size_t and leaving size_t undefined.
4084 2001-09-12 Diego Novillo <dnovillo@redhat.com>
4086 * basic-block.h (expunge_block): Declare.
4087 * cfg.c (expunge_block): Remove static declaration.
4089 2001-09-12 Richard Henderson <rth@redhat.com>
4091 * integrate.c (copy_insn_list): Copy label name from
4092 NOTE_INSN_DELETED_LABEL.
4094 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4096 * c-common.c (c_tree_code_name): Const-ification.
4097 * c-decl.c (c_decode_option): Likewise.
4098 * c-typeck.c (warn_for_assignment): Likewise.
4099 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
4101 * cppinit.c (output_deps): Likewise.
4102 * dependence.c (dependence_string, direction_string): Likewise.
4103 * dwarf2out.c (output_ranges): Likewise.
4104 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
4105 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
4106 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
4107 standard_startfile_prefix, standard_startfile_prefix_1,
4108 standard_startfile_prefix_2, tooldir_base_prefix,
4109 standard_bindir_prefix, find_a_file): Likewise.
4110 * genattrtab.c (make_length_attrs): Likewise.
4111 * gencheck.c (tree_codes): Likewise.
4112 * genemit.c (gen_split): Likewise.
4113 * genrecog.c (special_mode_pred_table): Likewise.
4114 * graph.c (graph_ext): Likewise.
4115 * protoize (default_include): Likewise.
4116 * reload.c (reload_when_needed_name): Likewise.
4117 * sched-vis.c (visualize_stall_cycles): Likewise.
4118 * tlink.c (recompile_files): Likewise.
4119 * toplev.c (decode_g_option): Likewise.
4120 * tradcpp.c (output_deps): Likewise.
4121 * varasm.c (decode_reg_name): Likewise.
4123 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
4126 * avr.c (avr_regnames, encode_section_info): Likewise.
4127 * c4x.c (float_reg_names): Likewise.
4128 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
4129 * elfos.h (const_section): Likewise.
4130 * i386.c (ix86_comp_type_attributes): Likewise.
4131 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
4132 * ia64/aix.h (UNIQUE_SECTION): Likewise.
4133 * ia64.c (type_names): Likewise.
4134 * m68hc11.c (reg_class_names): Likewise.
4135 * m88k.c (m_options): Likewise.
4136 * mips.c (mips_output_conditional_branch, mips_unique_section):
4138 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4139 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
4140 ultra_code_names): Likewise.
4141 * sparc.h (OVERRIDE_OPTIONS): Likewise.
4143 2001-09-12 Jakub Jelinek <jakub@redhat.com>
4145 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
4146 Use --fatal-warnings option for gas.
4147 * configure: Rebuilt.
4149 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4151 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
4153 2001-09-11 Jim Wilson <wilson@redhat.com>
4155 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
4157 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4159 * builtins.c (c_strlen): Treat an offset too large for a
4160 HOST_WIDE_INT as out of range.
4162 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
4164 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
4165 (EDGE_CRITICAL_P): New predicate.
4166 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
4168 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
4169 (dump_edge_info): Remove "crit".
4170 * cfganal.c (mark_critical_edges): Kill.
4171 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
4172 * cfgcleanup.c (cleanup_cfg): Likewise.
4173 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
4174 (find_spanning_tree): Likewise.
4175 * reg-stack.c (convert_regs_1): Likewise.
4176 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
4178 * basic-block.h (create_basic_block_structure): New.
4179 (create_basic_block): Update prototype.
4180 (force_nonfallthru): New.
4181 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
4182 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
4183 handle updating of block_for_insn, creating of empty BBs and BBs at
4184 the end of INSN chain.
4185 (create_basic_block): New function.
4186 (split_block): Use create_basic_block.
4187 (force_nonfallthru_and_redirect): Break out from ...; cleanup
4188 (redirect_edge_and_branch_force): ... here.
4189 (force_nonfallthru): New.
4190 (split_edge): Rewrite to use force_nonfallthru and create_block.
4191 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
4192 (find_basic_blocks): Free basic_block_for_insn.
4193 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
4195 * cfg.c: Fix formating.
4196 * cfgcleanup.c: Fix formating.
4197 (merge_blocks, tail_recursion_label_p): Return bool.
4198 (merge_blocks_move_predecessor_nojumps,
4199 merge_blocks_move_successor_nojumps): Return void.
4201 2001-09-11 Jakub Jelinek <jakub@redhat.com>
4203 * configure.in: Check whether assembler supports section merging.
4204 * config.in: Rebuilt.
4205 * configure: Rebuilt.
4206 * varasm.c (variable_section, output_constant_pool): Pass alignment
4207 to SELECT_SECTION and SELECT_RTX_SECTION.
4208 (mergeable_string_section): New.
4209 (mergeable_constant_section): New.
4210 (default_elf_asm_named_section): Output SECTION_MERGE and
4211 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
4212 * output.h (mergeable_string_section): New.
4213 (mergeable_constant_section): New.
4214 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
4215 * toplev.c (flag_merge_constants): New.
4216 (f_options): Add -fmerge-constants and -fmerge-all-constants
4218 (toplev_main): Default to -fno-merge-constants if not optimizing.
4219 * flags.h (flag_merge_constants): Add extern.
4220 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
4221 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
4223 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
4224 Define if assembler has working .subsection -1 support.
4225 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
4226 Put constant into special SHF_MERGE sections if the linker should
4227 attempt to merge duplicates.
4228 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
4230 Put constant into special SHF_MERGE sections if the linker should
4231 attempt to merge duplicates.
4232 * config/alpha/elf.h: Likewise.
4233 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
4234 has working .subsection -1 support.
4235 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
4237 * config/svr3.h: Likewise.
4238 * config/darwin.h: Likewise.
4239 * config/arm/aof.h: Likewise.
4240 * config/arm/linux-elf.h: Likewise.
4241 * config/avr/avr.h: Likewise.
4242 * config/c4x/c4x.h: Likewise.
4243 * config/d30v/d30v.h: Likewise.
4244 * config/i386/dgux.h: Likewise.
4245 * config/i386/osfrose.h: Likewise.
4246 * config/i386/sco5.h: Likewise.
4247 * config/i386/svr3gas.h: Likewise.
4248 * config/ia64/aix.h: Likewise.
4249 * config/m32r/m32r.h: Likewise.
4250 * config/m68k/m68k.h: Likewise.
4251 * config/m88k/dgux.h: Likewise.
4252 * config/m88k/m88k.h: Likewise.
4253 * config/mcore/mcore-pe.h: Likewise.
4254 * config/mips/mips.h: Likewise.
4255 * config/pa/pa.h: Likewise.
4256 * config/pa/pa-linux.h: Likewise.
4257 * config/romp/romp.h: Likewise.
4258 * config/rs6000/sysv4.h: Likewise.
4259 * config/rs6000/xcoff.h: Likewise.
4260 * config/s390/linux.h: Likewise.
4261 * config/sparc/sparc.h: Likewise.
4262 * config/sparc/sysv4.h: Likewise.
4263 * config/stormy16/stormy16.h: Likewise.
4264 * config/v850/v850.h: Likewise.
4265 * config/vax/vms.h: Likewise.
4266 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
4267 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
4268 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
4269 default_elf_asm_named_section for SHF_MERGE sections.
4271 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
4273 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
4276 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
4278 * c-common.c (split_specs_attrs): Allow for empty attributes with
4279 empty TREE_PURPOSE. Fixes PR c/4294.
4281 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
4283 * basic-block.h (cached_make_edge, make_single_succ): New.
4284 (make_edge): Remove first parameter.
4285 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
4286 * cfg.c (cached_make_edge): Rename from make_edge; return newly
4287 created edge; use obstack allocation.
4288 (make_edge, make_single_succ_edge): New.
4289 (first_removed_edge): New static variable.
4290 (init_flow): Initialize first_removed_edge and n_edges.
4291 (clear_edges): Use remove_edge.
4292 (flow_delete_block): Likewise.
4293 (remove_edge): Add removed edges to the removed edges list.
4294 (split_block, redirect_edge_and_branch_force, split_edge):
4296 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
4297 (add_noreturn_fake_exit_edges): Likewise.
4298 (connect_infinite_loops_to_exit): Liekwise.
4299 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
4300 Use cached_make_edge.
4301 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
4302 * profile.c (branch_prob): Update make_edge call.
4303 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
4305 2001-09-11 Richard Henderson <rth@redhat.com>
4307 * config/alpha/alpha.c: Tidy formatting.
4308 (local_symbolic_operand): Verify mode.
4309 (alpha_sa_mask): Ignore unicos for eh_return.
4310 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
4311 * config/alpha/alpha.md (umk divsi patterns): Remove.
4312 (extendsfdf2): Remove unicos check.
4313 (tablejump): Merge vms and unicos code; always use direct set
4316 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4318 * config.gcc (alpha*-*-unicosmk*): New target.
4320 * config/alpha/alpha-protos.h (symbolic_operand,
4321 unicosmk_add_call_info_word, unicosmk_add_extern,
4322 unicosmk_defer_case_vector, unicosmk_unique_section,
4323 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
4324 unicosmk_asm_file_start, unicosmk_asm_file_end,
4325 unicosmk_output_common): Declare.
4327 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
4328 direct_return, function_arg, alpha_va_start, alpha_va_arg,
4329 alpha_does_function_need_gp, alpha_end_function): Support Cray
4331 (alpha_init_machine_status, alpha_mark_machine_status,
4332 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
4333 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
4334 unicosmk_asm_named_section, unicosmk_insert_attributes,
4335 unicosmk_section_type_flags, symbolic_operand,
4336 unicosmk_output_module_name, unicosmk_output_default_externs,
4337 unicosmk_output_dex, unicosmk_output_externs,
4338 unicosmk_output_addr_vec, unicosmk_ssib_name,
4339 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
4340 unicosmk_asm_file_end, unicosmk_output_common,
4341 unicosmk_section_type_flags, unicosmk_unique_section,
4342 unicosmk_add_call_info_word, unicosmk_text_section,
4343 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
4344 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
4345 unicosmk_dex_count, unicosmk_special_name): New.
4346 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
4347 TARGET_ABI_UNICOSMK.
4348 (get_aligned_mem, alpha_expand_unaligned_load,
4349 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
4350 alpha_expand_unaligned_store_words): Support big-endian mode.
4351 (print_operand): Likewise. New format specifier 't'. Use
4352 TARGET_AS_SLASH_BEFORE_SUFFIX.
4353 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
4354 (alpha_pv_save_size): Update with above change.
4355 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
4356 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
4359 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
4360 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
4361 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
4362 (EXTRA_CONSTRAINT): New constraint 'U'.
4363 (PREDICATE_CODES): Add symbolic_operand.
4365 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
4366 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
4367 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
4368 (integer division and modulus patterns): Split in default and
4370 (*divmodsi_internal, *divmoddi_internal): Disable for
4371 TARGET_ABI_UNICOSMK.
4372 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
4373 little-endian and big-endian versions.
4374 (ext, ins, msk): Likewise.
4375 (extv, extzv, insv): Support big-endian mode.
4376 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
4377 (call_umk, call_value_umk, *call_umk, tablejump_umk,
4378 *tablejump_umk_internal, *call_value_umk): New.
4379 (*movdi_nofix): Add pattern for loading an address into a register on
4380 TARGET_ABI_UNICOSMK.
4381 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
4382 (umk_mismatch_args, arg_home_umk): New.
4383 (various insns): Don't use mov, fmov, nop, fnop and unop.
4384 (realign): Support TARGET_ABI_UNICOSMK.
4386 * config/alpha/unicosmk.h: New file.
4387 * config/alpha/t-unicosmk: New file.
4389 * fixinc/inclhack.def (unicosmk_restrict): New.
4390 * fixinc/fixincl.x: Regenerate.
4392 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
4393 (wchar_t): Check for and define __WCHAR_T__.
4395 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
4397 * combine.c (simplify_shift_const): Treat shifts by the mode
4400 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
4402 * cpphash.h (struct tokenrun): New.
4403 (struct cpp_context): New member bol.
4404 (struct cpp_reader): New members.
4405 (_cpp_init_tokenrun): New.
4406 * cppinit.c (cpp_create_reader): Set up the token runs.
4407 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
4408 (lex_token): New internalised version of _cpp_lex_token. Don't
4409 handle directives or the multiple include opimisation here any
4410 more. Simply lex a token.
4411 * cpplib.c (run_directive): Clear bol.
4412 (_cpp_pop_buffer): Set bol.
4413 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
4416 2001-09-11 Michael Meissner <meissner@redhat.com>
4418 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
4419 give an error if the user uses -mfp32.
4420 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
4422 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
4423 floating point register size.
4424 (EXTRA_SPECS): Add CPP_FPR_SPEC.
4426 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
4427 HOST_WIDE_INT_PRINT_DEC to properly print the result of
4429 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
4430 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
4432 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
4434 * dbxout.c (dbxout_parms): Fix typo in comment.
4435 * unroll.c (loop_find_equiv_value): Ditto.
4436 * toplev.c (rest_of_compilation): Ditto.
4437 * loop.c (scan_loop): Ditto.
4438 * dwarf2out.c (struct dw_fde_struct): Ditto.
4440 2001-09-10 Zack Weinberg <zackw@panix.com>
4442 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
4443 copying identifier when we're just going to throw it away.
4444 (parse_identifier_slow): New routine to handle abnormal cases.
4445 (_cpp_lex_token): Update call site.
4447 * hashtable.c (ht_lookup): Don't assume that the string we've
4448 been given is NUL-terminated.
4449 * system.h: #define __builtin_expect(a, b) to (a) if not
4452 2001-09-10 Michael Meissner <meissner@redhat.com>
4454 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
4457 2001-09-10 David Edelsohn <edelsohn@gnu.org>
4459 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
4461 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4463 * builtins.c (c_getstr): Correct thinko in last change and further
4466 2001-09-10 Tim Freeman <tim@fungibole.com>
4468 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
4469 into varray's and register them as roots with the garbage
4470 collector so they are not collected too soon.
4472 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
4474 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
4476 * basic-block.h (flow_obstack, label_value_list,
4477 tail_recursion_label_list): Declare
4478 (tidy_fallthru_edges): Declare.
4479 (expunge_block, last_loop_beg_note): Delete.
4480 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
4482 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
4483 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
4484 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
4485 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
4486 expunge_block, flow_delete_block, compute_bb_for_insn,
4487 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
4488 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
4489 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
4490 try_redirect_by_replacing_jump, last_loop_beg_note,
4491 redirect_edge_and_branch, redirect_edge_and_branch_force,
4492 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
4493 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
4494 commit_edge_insertions, dump_flow_info, debug_flow_info,
4495 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
4496 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
4497 Move here from flow.c
4498 * cfganal.c: New file.
4499 (forwarder_block_p, can_fallthru, mark_critical_edges,
4500 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
4501 find_unreachable_blocks, create_edge_list, free_edge_list,
4502 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
4503 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
4504 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
4505 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
4506 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
4507 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
4508 Move here from flow.c
4509 * cfgbuild.c: New file
4510 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
4511 make_edges, find_basic_blocks_1, find_basic_blocks,
4512 find_sub_basic_blocks): Move here from flow.c
4513 * cfgcleanup.c: New file.
4514 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
4515 merge_blocks_move_predecessor_nojumps,
4516 merge_blocks_move_successor_nojumps, merge_blocks,
4517 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
4518 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
4519 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
4521 * cfgloop.c: New file
4522 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
4523 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
4524 flow_loop_exit_edges_find, flow_loop_nodes_find,
4525 flow_loop_pre_header_scan, flow_loop_pre_header_find,
4526 flow_loop_tree_node_add, flow_loops_tree_build,
4527 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
4528 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
4529 Move here from flow.c
4530 * flow.c: Remove everything moved elsewhere
4531 * output.h (cleanup_cfg): Return bool.
4533 * bb-reorder.c (reorder_block_def): Remove 'index'.
4534 (insert_intra_1): Add argument BB, set block for new note.
4535 (make_reorder_chain): Do not depdent on BB indexes.
4536 (make_reorder_chain_1): Do not use BB indexes.
4537 (label_for_bb): Likewise; set BB for new insn.
4538 (emit_jump_to_block_after): Likewise.
4539 (fixup_reoder_chain): Sanity check that all basic blocks
4540 are chained; verify newly created insn chain; remove
4541 undocnitional jump simplifying; Do not use BB indexes;
4542 properly initialize count and frequency information;
4543 dump reordered sequence.
4544 (insert_intra_bb_scope_notes): update call of insert_intra_1.
4545 (insert_inter_bb_scope_notes): Set block for new insn.
4546 (reorder_basic_blocks): Dump flow info before reoredering.
4548 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4550 * alias.c (clear_reg_alias_info): Use K&R format definition.
4551 Avoid unsigned warning.
4552 * builtins.c: Use "unsigned int", not "unsigned".
4553 (target_char_cast): Use host_integerp and tree_low_cst.
4554 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
4555 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
4556 (c_getstr): Likewise.
4557 (std_expand_builtin_va_arg): Use int_size_in_bytes.
4558 (builtin_memcpy_read_str): Avoid unsigned warning.
4559 (expand_builtin_memcpy): Alignments are unsigned.
4560 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
4561 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
4562 * predict.c (expensive_function_p): LIMIT now unsigned.
4563 * resource.c (mark_target_live_regs): Make some vars unsigned.
4564 * sdbout.c: Use "unsigned int", not "unsigned".
4565 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
4566 (sdbout_source_line): Likewise.
4567 (sdbout_record_type_name): Remove "const" for NAME declaration.
4568 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
4570 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
4572 * calls.c (store_one_arg): Expand comment.
4574 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4576 * calls.c (store_one_arg): Make sure that the entire argument is
4577 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
4579 2001-09-09 Richard Henderson <rth@redhat.com>
4581 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
4583 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
4585 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
4587 2001-09-09 Richard Henderson <rth@redhat.com>
4589 * config/alpha/alpha.c (alpha_next_sequence_number): New.
4590 (alpha_this_literal_sequence_number): New.
4591 (alpha_this_gpdisp_sequence_number): New.
4592 (some_operand, input_operand): Add HIGH.
4593 (local_symbolic_operand): New.
4594 (alpha_encode_section_info): New.
4595 (alpha_legitimate_address_p): Allow LO_SUM.
4596 (alpha_legitimize_address): Generate HIGH+LO_SUM.
4597 (alpha_expand_mov): Likewise.
4598 (secondary_reload_class): Check memory_operand not general_operand
4600 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
4601 (alpha_expand_unaligned_store): Likewise.
4602 (alpha_expand_unaligned_load_words): Likewise.
4603 (alpha_expand_unaligned_store_words): Likewise.
4604 (alpha_expand_block_clear): Likewise.
4605 (print_operand): Handle %#, %*, %H.
4606 (print_operand_address): Handle LO_SUM.
4608 (alpha_does_function_need_gp): Use it.
4609 (alpha_expand_block_move): Fix signed compare warnings.
4610 (alpha_sa_mask, alpha_align_insns): Likewise.
4611 * config/alpha/alpha-protos.h: Update.
4612 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
4613 (MASK_EXPLICIT_RELOCS): New.
4614 (TARGET_SWITCHES): Add -mexplicit-relocs.
4615 (EXTRA_CONSTRAINT): Add 'T'.
4616 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
4617 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
4618 (ENCODE_SECTION_INFO): Out line.
4619 (REDO_SECTION_INFO_P): New.
4620 (STRIP_NAME_ENCODING): New.
4621 (ASM_OUTPUT_LABELREF): New.
4622 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
4623 (PREDICATE_CODES): Update.
4624 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
4625 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
4626 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
4627 builtin_setjmp_receiver_er, exception_receiver_1_er,
4628 call_value_osf_1_er): New patterns.
4629 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
4630 (movqi, movhi, movsi): Add explicit $31 base register to lda.
4631 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
4632 (FINAL_PRESCAN_INSN): New.
4634 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
4636 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
4638 2001-09-08 Andreas Jaeger <aj@suse.de>
4640 * i386.h (TARGET_SWITCHES): Fix description.
4642 2001-09-07 David Edelsohn <edelsohn@gnu.org>
4644 * rs6000.c (num_insns_constant): Compute number of instructions
4647 * doc/install.texi: Explain AIX exception handling work-around.
4648 Update URL for AIX fixes.
4650 2001-09-07 Jim Wilson <wilson@redhat.com>
4652 * alias.c (clear_reg_alias_info): New.
4653 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
4654 * rtl.h (clear_reg_alias_info): Declare.
4656 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4658 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
4660 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
4661 (m16m,edivm,emulm): Change declaration to match definition.
4663 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4665 * reload.c (push_reload): Check for subreg_lowpart_p instead of
4666 SUBREG_BYTE being 0 when determining if the inner part of a subreg
4669 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
4671 * c-common.c (signed_or_unsigned_type): Handle machine mode types
4672 which have no corresponding C type.
4673 * fold_const.c (target_isinf,target_isnan,target_negative): Update
4674 the representation of 64-bit doubles to work with 64-bit ints.
4676 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
4678 * config/mips/mips.c (override_options): Do not override ISA when ABI
4679 specified if MIPS_CPU_STRING_DEFAULT was specified.
4681 2001-09-07 Richard Henderson <rth@redhat.com>
4683 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
4684 (express_from_1): Wrap lines.
4685 * rtlanal.c (commutative_operand_precedence): Rename from
4686 operand_preference; export.
4687 * rtl.h: Declare it.
4688 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
4689 (simplify_binary_operation): Invoke simplify_plus_minus on
4690 (CONST (PLUS ...)) as well.
4691 (struct simplify_plus_minus_op_data): New.
4692 (simplify_plus_minus_op_data_cmp): New.
4693 (simplify_plus_minus): Use them. Avoid infinite recursion with
4694 simplify_binary_operation wrt CONST.
4696 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
4698 * h8300-protos.h (general_operand_dst_push): Remove.
4699 * h8300.c (general_operand_dst_push): Likewise.
4700 * h8300.h (OK_FOR_T): Likewise.
4701 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
4702 * h8300.md (pushqi_h8300): New.
4703 (pushqi_h8300hs): Likewise.
4705 (pushhi_h8300): Likewise.
4706 (pushhi_h8300hs): Likewise.
4709 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4711 * genattrtab.c (attr_printf): First arg is unsigned.
4712 Clean up formatting of callers.
4714 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
4716 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
4719 2001-09-07 Andreas Jaeger <aj@suse.de>
4721 * i386.h (TARGET_SWITCHES): Fix descriptions.
4723 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4725 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
4727 2001-09-06 Ira Ruben <ira@apple.com>
4729 Remove OP_IDENTIFIER.
4730 * tree.def (OP_IDENTIFIER): Remove.
4731 * tree.c (tree_node_kind enum): Remove op_id_kind.
4732 (tree_node_kind_names): Remove "op_identifiers".
4733 (make_node): Remove OP_IDENTIFIER test.
4734 (build_op_identifier): Removed because it isn't being used.
4735 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
4736 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
4738 2001-09-06 Richard Henderson <rth@redhat.com>
4740 * simplify-rtx.c (simplify_binary_operation): Revert last change.
4742 2001-09-06 Richard Henderson <rth@redhat.com>
4744 * simplify-rtx.c (simplify_binary_operation): Simplify contents
4747 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4749 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
4750 number used for CR register.
4752 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
4753 Joern Rennecke (amylaar@cygnus.com)
4755 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
4756 * h8300.c (initial_offset): Handle offset between RP and FP.
4757 (h8300_return_addr_rtx): New function.
4758 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
4760 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
4761 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
4762 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
4763 (CAN_ELIMINATE, REGISTER_NAMES):
4764 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
4766 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
4768 Remove TYPE_NONCOPIED_PARTS.
4769 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
4770 (struct tree_type): Remove noncopied_parts.
4771 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
4772 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
4773 (fixed_type_p): Remove.
4774 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
4775 (expand_expr, MODIFY_EXPR): Likewise.
4776 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
4777 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
4779 2001-09-06 Alan Modra <amodra@bigpond.net.au>
4781 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
4783 (mask64_operand): Likewise.
4784 (includes_rldic_lshift_p): Likewise.
4785 (includes_rldicr_lshift_p): Likewise.
4787 2001-09-05 Ziemowit Laski <zlaski@apple.com>
4789 * objc/objc-act.c (build_message_expr): If a class method cannot
4790 be found, do not issue a warning if a corresponding instance
4791 method exists in the root class.
4793 2001-09-05 Richard Henderson <rth@redhat.com>
4795 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
4797 2001-09-05 Zack Weinberg <zack@codesourcery.com>
4799 * function.c (ggc_mark_struct_function): Mark f->outer.
4800 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
4801 * integrate.c (output_inline_function): ... not here.
4803 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
4805 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
4807 * i386.c (size_cost): New static variable.
4808 (override_function): Use size_cost when -Os is specified.
4810 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
4811 properly; Use current_function_calls_eh_return.
4812 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
4813 use leave to avoid depdendancy chain.
4815 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
4816 get BB loop_depth instead of computing it from LOOP notes.
4818 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
4820 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4822 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4823 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
4824 UNALIGNED_DOUBLE_INT_ASM_OP): Define
4826 2001-09-05 Jeffrey A Law (law@cygnus.com)
4827 Jason Merrill (jason@redhat.com)
4829 * stor-layout.c (layout_type): Complain if an array's size can
4830 not be represented in a size_t.
4832 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
4834 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
4836 * gcc.c: (process_command) Add parentheses around assignment
4837 used as truth value.
4839 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
4841 * config/mips/mips.c (save_restore_insns): Don't mark any register
4842 save slots as unchanging if current_function_calls_eh_return.
4844 2001-09-05 Richard Henderson <rth@redhat.com>
4846 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
4847 * config/alpha/alpha-protos.h: Declare it.
4848 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
4849 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
4850 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
4851 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
4852 (REG_OK_FOR_BASE_P): Select one of the above.
4854 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
4856 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
4857 (crti.o): Prefix name of object file with $(T).
4860 2001-09-05 David S. Miller <davem@redhat.com>
4862 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
4863 * config/sparc/linux64.h: Likewise.
4865 2001-09-05 Andreas Jaeger <aj@suse.de>
4867 * doc/invoke.texi (i386 Options): -mwide-multiply is not
4868 available anymore, remove the documentation.
4869 (i386 Options): Fix typo, cleanup index entries.
4871 * prefix.c (concat): Remove, we can use the version from liberty.
4873 2001-09-05 Richard Henderson <rth@redhat.com>
4875 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
4876 New functions split out of md file expanders.
4877 * config/alpha/alpha-protos.h: Declare them.
4878 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
4880 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
4882 * cppmacro.c (funlike_invocation_p): No need to restore context.
4884 2001-09-04 Richard Henderson <rth@redhat.com>
4886 * reload.c (push_reload): Export.
4887 * reload.h (push_reload): Declare it.
4889 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
4890 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
4891 * config/alpha/alpha.c (alpha_legitimize_address): New.
4892 (alpha_legitimize_reload_address): Likewise.
4893 * config/alpha/alpha-protos.h: Declare them.
4895 2001-09-04 Stan Shebs <shebs@apple.com>
4897 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
4898 * config/darwin.c (machopic_stub_name): Account for internally
4899 generated lib calls such as memcpy.
4901 2001-09-04 Richard Henderson <rth@redhat.com>
4903 * unwind.h (_UA_END_OF_STACK): New flag.
4904 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
4906 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
4908 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
4910 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
4912 * config/mips/mips.c (save_restore_insns): Change base_offset to
4913 fp_offset in second call to mips_emit_frame_related_store.
4915 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
4917 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
4918 sometimes be represented as a NOTE of type
4919 NOTE_INSN_DELETED_LABEL.
4920 (Insns): Document NOTE_INSN_DELETED_LABEL.
4922 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
4924 * c-common.h (tree_dump_index): Add more comments.
4925 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
4926 (dump_option_value_info): New struct.
4927 (dump_options): New array.
4928 (dump_switch_p): Parse switch options symbolically.
4929 * doc/invoke.texi (-fdump-ast): Rename to ...
4930 (-fdump-tree): ... here. Document that options are symbolic, and
4931 not all are applicable.
4933 2001-09-04 David S. Miller <davem@redhat.com>
4935 * config/sparc/sparc.md (define_splits): Kill constraints.
4937 Cleanup redundant and unused insn attributes.
4938 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
4939 binary, and move. Mark ialu as default.
4940 (commented out define_function_unit "alu"): Kill.
4941 (define_attr "use_clobbered"): Kill.
4942 (whole file): Kill address insn type references. Replace
4943 all unary/binary/move references with ialu.
4944 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
4945 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
4948 Simplify length insn attribute and make more judicious use
4949 of insn attribute defaulting.
4950 * config/sparc/sparc.md (all insns with length > one): Mark as
4951 insn type multi if real instructions, else use default if
4952 it is a forced splitter.
4953 (all insns with length == one): Use default insn length.
4954 (all insns of type ialu): Use default insn type.
4956 Fix erroneous insn attribute settings.
4957 (addx): Set insn type to misc.
4958 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
4959 const_umulsidi3_sp64): Set insn type to imul.
4961 Track SFmode vs DFmode insns according to UltraSPARC
4963 * config/sparc/sparc.md ("fptype"): New attribute, default
4965 (all DFmode single insns): Mark as fptype "double".
4967 2001-09-03 Jakub Jelinek <jakub@redhat.com>
4969 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
4971 2001-09-03 Richard Henderson <rth@redhat.com>
4973 * function.h (struct function): Add arg_pointer_save_area_init.
4974 * function.c (expand_function_end): Init arg_pointer_save_area.
4975 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
4976 when called from a nested function.
4978 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
4980 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
4983 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
4985 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
4987 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
4989 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
4990 (emit_push_insn): Use specified padding direction when
4991 STACK_PUSH_CODE is POST_INC.
4993 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
4995 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4997 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
4999 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
5001 * cppinit.c (cpp_start_read): Free the imacros list as we
5002 traverse it. Don't free the chains before returning.
5003 (_cpp_push_next_buffer): Only try pushing buffers if we've
5004 completed -imacros handling.
5006 2001-08-31 Eric Christopher <echristo@redhat.com>
5008 * gcc.c (handle_braces): Add explaination for abort.
5010 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
5012 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
5013 move adjustment of bitpos instead.
5015 2001-08-31 Zack Weinberg <zack@codesourcery.com>
5017 * function.c: Remove all_functions. Make outer_function_chain
5019 (init_function_start): Don't add new function structure to
5021 (find_function_data, push_function_context_to,
5022 pop_function_context_from, put_var_into_stack,
5023 trampoline_address): Update for changed structure element names.
5024 (push_function_context_to): Disentangle.
5025 (free_after_compilation): Also free F.
5026 (expand_dummy_function_end): Don't free cfun here.
5027 (put_var_into_stack): Comment why we can't use find_function_data here.
5028 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
5029 (mark_function_chain): Split into maybe_mark_struct_function and
5030 ggc_mark_struct_function. Export the latter.
5031 (init_function_once): Mark from cfun and outer_function_chain;
5034 * function.h (struct function): Kill next_global. Rename next
5035 to outer. All users updated to match.
5036 (all_functions, outer_function_chain): Don't declare.
5038 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
5039 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
5040 don't touch f->inlinable, after calling rest_of_compilation.
5042 * tree.h: Forward-declare struct function. Prototype
5043 ggc_mark_struct_function.
5045 2001-08-31 Kazu Hirata <kazu@hxi.com>
5047 * config/h8300/h8300.md (*andorhi3): Fix typos.
5049 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5051 * calls.c (emit_library_call_value): Don't use a fixed
5052 argument after VA_CLOSE, i.e. out of scope in traditional C.
5054 * emit-rtl.c (gen_rtvec): Likewise.
5056 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5058 * Makefile.in (c-pragma.o): Depend on output.h.
5059 (reorg.o): Depend on except.h.
5061 * c-pragma.c: Include output.h.
5063 * reorg.c: Include except.h.
5065 * unwind-dw2.c: Call __builtin_alloca, not alloca.
5067 2001-08-31 Richard Henderson <rth@redhat.com>
5069 * sched-deps.c (add_dependence): Don't elide dependency if the
5070 conditional used by insn is modified in elem.
5072 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
5074 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
5076 2001-08-31 Diego Novillo <dnovillo@redhat.com>
5078 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
5081 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
5083 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
5085 (stormy16_asm_out_constructor): New function.
5086 (TARGET_ASM_CONSTRUCTOR): Define.
5087 (TARGET_ASM_DESTRUCTOR): Define.
5089 2001-08-31 Andreas Jaeger <aj@suse.de>
5091 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
5092 * loop.c (add_label_notes): Likewise.
5093 * reload.c (find_reloads): Likewise.
5094 * config/sh/sh.c (machine_dependent_reorg): Likewise.
5096 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
5098 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
5099 code here. Take _Unwind_{W,Sw}ord*.
5100 (read_encoded_value_with_base): Use them.
5101 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
5103 (extract_cie_info): Simplify read_?leb128 handling.
5104 (execute_stack_op, execute_cfa_program): Likewise.
5105 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
5107 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
5109 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
5110 the frame pointer to pop the stack if convenient.
5112 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
5113 Don't use post-increment before combine.
5114 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
5115 a call-saved register.
5117 2001-08-31 Andreas Jaeger <aj@suse.de>
5119 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
5122 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
5124 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
5125 not DIV/MOD, of course.
5127 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
5129 * rtl.def: Undo my patch commited 2001-08-27.
5131 * genattrtab.c: Ditto.
5135 * sched-int.h: Ditto.
5137 * target-def.h: Ditto.
5141 * haifa-sched.c: Ditto.
5143 * sched-rgn.c: Ditto.
5145 * sched-vis.c: Ditto.
5147 * Makefile.in: Ditto.
5149 * doc/md.texi: Ditto.
5151 * doc/tm.texi: Ditto.
5153 * doc/contrib.texi: Ditto.
5155 * doc/gcc.texi: Ditto.
5157 * genattrtab.h: Remove it.
5159 * genautomata.c: Remove it.
5161 * genattr.c: Undo my patch and Richard Henderson's patch commited
5164 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
5166 * config.gcc (h8300-*-elf*): New case.
5167 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
5168 (SUBTARGET_CPP_SPEC): Define.
5169 (EXTRA_SPECS): Define.
5170 (SUBTARGET_EXTRA_SPECS): Define.
5171 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
5172 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
5174 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
5176 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
5177 (LIB2FUNCS_EXTRA): Define.
5178 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
5179 config/h8300/fixunssfsi.c: New file.
5181 2001-08-30 Kazu Hirata <kazu@hxi.com>
5183 * config/h8300/h8300.md (zero_extendqihi2): Changes to
5184 define_expand to accommodate target-specific attributes.
5185 (anonymous zero_extendqihi2 patterns): New.
5187 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
5189 * h8300.md (*andorhi3): New pattern.
5191 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
5193 * h8300.c (dosize): Fix test for "sub".
5195 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
5197 * c-typeck.c (pointer_diff): Try to eliminate common term before
5200 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
5202 * config/arm/arm.c (arm_compute_initial_elimination_offset):
5203 Account for the saves of the FP registers.
5205 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
5206 (TEXT_SECTION_ASM_OP): Define.
5207 (INIT_SECTION_ASM_OP): Define.
5208 (FINI_SECTION_ASM_OP): Define.
5209 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
5210 (RDATA_SECTION_FUNCITON): Provide prototype.
5212 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
5214 * reload1.c (move2add_note_store): Correct typo checking for
5217 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
5219 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
5220 note should not be considered outside the libcall block.
5222 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5224 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
5226 2001-08-29 Kazu Hirata <kazu@hxi.com>
5228 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
5230 2001-08-29 Kazu Hirata <kazu@hxi.com>
5232 * config/h8300/h8300-protos.h: Add a prototype for
5234 * config/h8300/h8300.c (emit_logical_op): New.
5235 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
5242 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
5244 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
5245 comparison with rtx INTVAL.
5246 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
5248 * pa.h (FUNCTION_ARG_SIZE): Likewise.
5250 2001-08-29 Kazu Hirata <kazu@hxi.com>
5252 * config/h8300/lib1funcs.asm: Update the copyright. Fix
5255 2001-08-29 Kazu Hirata <kazu@hxi.com>
5257 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
5258 (reg n) to (mem (pre_dec (reg n))
5259 (anonymous movsi pattern): Likewise.
5261 2001-08-29 Kazu Hirata <kazu@hxi.com>
5263 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
5265 2001-08-29 Kazu Hirata <kazu@hxi.com>
5267 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
5268 several special constants.
5270 2001-08-29 Kazu Hirata <kazu@hxi.com>
5272 * config/h8300/lib1funcs.asm: Fix comment typos.
5274 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5276 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
5277 Fix format specifier warnings.
5279 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
5280 inet_makeaddr, semctl): Prototype.
5282 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
5283 (save_restore_insns): Use base_offset, not gp_offset.
5285 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
5286 (ASM_OUTPUT_BYTE): Fix format specifier warning.
5288 2001-08-29 Richard Henderson <rth@redhat.com>
5290 * bb-reorder.c (function_tail_eff_head): New.
5291 (record_effective_endpoints): Set it.
5292 (fixup_reorder_chain): Use it.
5294 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5296 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
5298 2001-08-28 Dale Johannesen <dalej@apple.com>
5300 * config/darwin.c (machopic_function_base_name): Add const
5301 qualifier to a string.
5302 (darwin_encode_section_info): Ditto.
5304 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5306 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
5307 function definition.
5309 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
5311 * df.h (struct df): Add rts_order variable.
5313 * df.c (df_visit_next_rts): New function.
5314 (df_visit_next): Renamed to df_visit_next_rc
5315 (df_analyse_1): Allocate/compute/free rts_order as well.
5316 (df_rd_global_compute): Use df_visit_next_rc instead of
5318 (df_ru_global_compute): Use df_visit_next_rts instead of
5321 * flow.c (flow_reverse_top_sort_order_compute): New function.
5323 * basic-block.h: Add prototype.
5325 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
5327 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
5328 blocks, the BB_REACHABLE is now set, rather than aux being
5329 non-NULL. Update the test to reflect this.
5331 2001-08-28 Eric Christopher <echristo@redhat.com>
5333 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
5334 config/mips/crti.asm: Ditto.
5336 2001-08-28 Eric Christopher <echristo@redhat.com>
5337 Richard Henderson <rth@redhat.com>
5339 * c-pragma.h (add_weak): Move prototype from here...
5340 * output.h (add_weak): ... to here.
5341 * varasm.c (add_weak): Fix typo.
5342 * config/mips/crti.asm: New file.
5343 * config/mips/crtn.asm: Ditto.
5344 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
5345 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
5346 (INVOKE__main): Ditto.
5347 (INIT_SECTION_ASM_OP): New.
5348 (FINI_SECTION_ASM_OP): Ditto.
5349 (STARTFILE_SPEC): Add crti.
5350 (ENDFILE_SPEC): Add crtn.
5351 * config/mips/elf64.h: Same.
5352 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
5354 * config/mips/vxworks.h: Ditto.
5355 * config/mips/t-elf: Support crti and crtn.
5357 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
5359 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
5362 2001-08-28 Richard Henderson <rth@redhat.com>
5364 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
5365 (one_cmplbi2 splitter): Remove redundant test.
5367 2001-08-28 Dale Johannesen <dalej@apple.com>
5369 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
5371 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
5373 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
5375 2001-08-28 Stan Shebs <shebs@apple.com>
5377 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
5378 (UNALIGNED_SHORT_ASM_OP): Define.
5379 (UNALIGNED_INT_ASM_OP): Define.
5381 2001-08-28 Will Cohen <wcohen@redhat.com>
5383 * config/rs6000/rs6000.md (store_multiple): Correct RTL
5384 generation for first set.
5386 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
5388 * flow.c (redirect_edge_succ_nodup): Return new edge.
5389 (try_simplify_condjump): Use new edge.
5390 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
5392 * cse.c (cse_basic_block): Skip note instructions.
5394 2001-08-27 Richard Henderson <rth@redhat.com>
5396 * combine.c (combine_simplify_rtx): Don't reverse condition
5397 if there is no reverse for the condition.
5398 (simplify_comparison): Don't simplify subregs from INT to FP.
5400 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
5401 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
5402 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
5403 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
5404 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
5405 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
5407 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
5409 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
5410 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
5412 (adddi_dilshr32, adddi_dishl32): Only data register can be
5413 source for mem destination.
5415 * expmed.c (store_bit_field): Ignore adjustment to bitpos
5416 and use bitnum to decide about register move.
5418 2001-08-27 Richard Henderson <rth@redhat.com>
5420 * genattr.c (main): Emit state_t even when not doing scheduling.
5422 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
5423 Richard Henderson <rth@redhat.com>
5425 * gcse.c (reg_first_set, reg_last_set): Replace with ...
5426 (reg_avail_info, current_bb): ... these.
5427 (oprs_unchanged_p, record_last_reg_set_info): Use them.
5428 (compute_hash_table): Likewise.
5430 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
5432 * flow.c (verify_flow_info): Use checksums to verify edges.
5434 2001-08-27 Richard Henderson <rth@redhat.com>
5436 * genautomata.c (expand_automata): Always create a description.
5438 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
5440 * optabs.c (expand_binop): Correctly handle the carry in multiword
5441 add/subtract operations.
5443 2001-08-27 Fred Fish <fnf@be.com>
5445 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
5448 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
5450 * reload.c (find_reloads_toplev): Back out this change:
5452 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
5454 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
5455 mem if the address is a mode_dependent_address_p.
5457 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
5459 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
5460 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
5461 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
5464 * genattr.c (main): New variable num_insn_reservations. Increase
5465 it if there is DEFINE_INSN_RESERVATION. Output automaton based
5466 pipeline hazard recognizer interface.
5468 * genattrtab.h: New file.
5470 * genattrtab.c: Include genattrtab.h.
5471 (attr_printf, check_attr_test, make_internal_attr,
5472 make_numeric_value): Move protypes into genattrtab.h. Define them
5474 (num_dfa_decls): New global variable.
5475 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
5476 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
5477 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
5478 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
5480 * genautomata.c: New file.
5482 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
5484 * sched-int.h: (curr_state): Add the external definition for
5485 automaton pipeline interface.
5486 (haifa_insn_data): Add comments for members blockage and units.
5488 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5489 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5490 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5491 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5492 TARGET_SCHED_DFA_POST_CYCLE_INSN,
5493 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5494 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
5496 (TARGET_SCHED): Use the new macros.
5498 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
5499 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
5500 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
5501 dfa_bubble): New members in gcc_target.sched.
5503 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
5504 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
5505 (insn_queue): Redefine it as pointer to array.
5506 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
5508 (max_insn_queue_index_macro_value): New variable.
5509 (curr_state, dfa_state_size, ready_try): New varaibles for
5510 automaton interface.
5511 (ready_element, ready_remove, max_issue): New function prototypes
5512 for automaton interface.
5513 (choose_ready): New function prototype.
5514 (insn_unit, blockage_range): Add comments.
5515 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
5516 FUNCTION_UNITS_SIZE == 0.
5517 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
5518 actual_hazard, potential_hazard): Add comments.
5519 (insn_cost): Use cost -1 as undefined value. Remove
5520 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
5522 (ready_element, ready_remove): New functions for automaton
5524 (schedule_insn): Add new code for automaton pipeline interface.
5525 (queue_to_ready): Add new code for automaton pipeline interface.
5526 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
5527 (debug_ready_list): Print newline when the queue is empty.
5528 (max_issue): New function for automaton pipeline interface.
5529 (choose_ready): New function.
5530 (schedule_block): Add new code for automaton pipeline interface.
5531 Print ready list before scheduling each insn.
5532 (sched_init): Add new code for automaton pipeline interface.
5533 Initiate insn cost by -1.
5534 (sched_finish): Free the current automaton state and finalize
5535 automaton pipeline interface.
5537 * sched-rgn.c: Include target.h.
5538 (init_ready_list, new_ready, debug_dependencies): Add new code for
5539 automaton pipeline interface.
5541 * sched-vis.c: Include target.h.
5542 (get_visual_tbl_length): Add code for automaton interface.
5543 (target_units, print_block_visualization): Add comments.
5545 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
5546 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
5547 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
5548 (getruntime.o, genautomata.o): New entries.
5549 (genattrtab.o): Add new dependency file genattrtab.h.
5550 (genattrtab): Add new dependencies. Link it with `libm.a'.
5551 (getruntime.o, hashtab.o): New entries for canadian cross.
5553 * doc/md.texi: Description of automaton based model.
5555 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
5557 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5558 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
5559 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5560 TARGET_SCHED_DFA_POST_CYCLE_INSN,
5561 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
5562 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5563 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
5565 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
5566 MAX_DFA_ISSUE_RATE): New macro descriptions.
5568 * doc/contrib.texi: Add dfa based scheduler contribution.
5570 * doc/gcc.texi: Add more information about genattrtab.
5572 2001-08-27 Diego Novillo <dnovillo@redhat.com>
5574 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
5577 2001-08-27 Richard Henderson <rth@redhat.com>
5579 * function.c (expand_function_end): Don't init arg_pointer_save_area.
5580 (get_arg_pointer_save_area): New. Create an init it here.
5581 (fix_lexical_addr): Use it.
5582 * function.h: Declare it.
5583 * builtins.c (expand_builtin_setjmp_receiver): Use it.
5584 * stmt.c (expand_nl_goto_receiver): Use it.
5586 2001-08-27 Richard Henderson <rth@redhat.com>
5588 * final.c (final_scan_insn): Don't enter APP_ON mode for
5591 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
5592 alignment for assemble_integer for DW_EH_PE_aligned.
5593 * except.c (output_function_exception_table): Likewise.
5595 2001-08-26 Andreas Jaeger <aj@suse.de>
5597 * c-tree.h: Add prototyp for c_sizeof_nowarn.
5599 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
5601 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
5603 2001-08-27 Alan Modra <amodra@bigpond.net.au>
5605 * config/rs6000/rs6000.c (mask_operand): Rewrite without
5607 (mask64_operand): Likewise.
5608 (rldic_operand): Delete.
5609 (includes_lshift64_p): Delete.
5610 (includes_rldic_lshift_p): New function.
5611 (includes_rldicr_lshift_p): New function.
5612 (print_operand): Don't call rldic_operand in case 'W'.
5613 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
5614 (includes_lshift64_p): Remove.
5615 (includes_rldic_lshift_p): Declare.
5616 (includes_rldicr_lshift_p): Declare.
5617 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
5618 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
5619 Replace match_operand rldic_operand predicate with
5620 const_int_operand. Replace includes_lshift64_p condition with
5621 includes_rldic_lshift_p.
5622 <ashldi3_internal 64 bit rldicr patterns>: New.
5624 2001-08-27 Andreas Jaeger <aj@suse.de>
5626 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
5627 * errors.c: Likewise.
5628 * final.c: Likewise.
5629 * dwarf2asm.c: Likewise.
5630 * doprint.c (checkit): Likewise.
5631 * diagnostic.c: Likewise.
5632 * collect2.c: Likewise.
5633 * calls.c: Likewise.
5634 * c-semantics.c (build_stmt): Likewise.
5635 * c-format.c (status_warning): Likewise.
5636 * c-errors.c (pedwarn_c99): Likewise.
5637 * builtins.c (validate_arglist): Likewise.
5638 * config/pj/pj.c (pj_printf): Likewise.
5639 * fix-header.c: Likewise.
5641 * gcov.c (fnotice): Likewise.
5642 * gensupport.c (message_with_line): Likewise.
5643 * mips-tfile.c: Likewise.
5644 * protoize.c (notice): Likewise.
5645 * read-rtl.c (fatal_with_file_and_line): Likewise.
5646 * rtl-error.c: Likewise.
5647 * tradcpp.c: Likewise.
5649 * cp/tree.c (build_min_nt): Likewise.
5650 (build_min): Likewise.
5651 * cp/lex.c: Likewise.
5652 * cp/errfn.c: Likewise.
5653 * cp/rtti.c (create_pseudo_type_info): Likewise.
5655 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
5657 * df.c (df_uses_record): Return after recording all uses
5660 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
5662 * df.c (df_insn_modify): Realloc the INSN table here, if
5663 necessary, here, too.
5665 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
5667 * config/mips/mips.c (mips_function_value): Handle complex return
5670 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
5672 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
5674 * reload.c (make_memloc): Copy result if it is still
5675 reg_equiv_memory_loc[regno] on return.
5676 (subst_reloads) [ENABLE_CHECKING]: Check that none of
5677 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
5678 reg_equiv_mem are modified by the substitutions.
5680 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
5682 * predict.c (expensive_function_p): New.
5683 * rtl.h (expensive_function_p): Declare.
5684 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
5685 (use_fast_prologue_epilogue): New static variable.
5686 (expand_prologue): Set it; emit short prologues if unset.
5687 (expand_epilogue): Likewise.
5689 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
5691 * config.gcc: Add stormy16-*-elf case.
5692 * config/stormy16/stormy-abi: New file.
5693 * config/stormy16/stormy16-lib2.c: New file.
5694 * config/stormy16/stormy16-protos.h: New file.
5695 * config/stormy16/stormy16.c: New file.
5696 * config/stormy16/stormy16.h: New file.
5697 * config/stormy16/stormy16.md: New file.
5698 * config/stormy16/t-stormy16: New file.
5700 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
5702 * i386.h (no-accumulate-outgoing-args): Use proper mask.
5704 2001-08-24 David Edelsohn <edelsohn@gnu.org>
5706 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
5707 descriptor members are pointer size, not constant 4.
5708 * config/rs6000/rs6000.md (define_splits): Remove more unused
5711 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5713 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5715 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
5717 * cp/rtti.c (VPARAMS): Fix parameter.
5719 2001-08-24 Zack Weinberg <zackw@panix.com>
5721 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
5723 (mode_for_extraction): No need for #ifdefs. Add default-case abort
5725 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
5726 in if controlling use of insv.
5727 (extract_bit_field): Likewise, for extv and extzv.
5729 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
5731 * i386.md (movcc peep2): Fix load of 0.
5733 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5735 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
5736 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
5738 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
5740 * c-pragma.h: Move weak_syms and weak_decls...
5741 * varasm.c: ...here. Now static.
5742 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
5743 depend on HANDLE_PRAGMA_WEAK.
5745 * c-common.c (c_alignof, c_alignof_expr): Move here...
5746 * c-typeck.c: ...from here.
5747 * c-tree.h, c-common.h: Adjust.
5749 2001-08-23 Bernd Schmidt <bernds@redhat.com>
5751 * config/ia64/ia64.c (rws_update): If !pred, set write_count
5752 instead of incrementing it.
5754 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
5755 asm ready, don't try to move them all into the same array element.
5757 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
5759 * function.c (thread_prologue_and_epilogue_insns): Avoid
5760 fallthru flag on edge to exit.
5762 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
5764 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
5767 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
5769 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
5770 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
5771 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
5774 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
5776 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
5777 replace "GNU CC" with "GCC".
5779 2001-08-23 Richard Henderson <rth@redhat.com>
5781 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
5782 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
5783 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
5784 Need GR between FR and not GR_AND_FR.
5785 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
5786 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
5787 AR regs before GR regs.
5788 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
5789 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
5790 (REGISTER_MOVE_COST): Update.
5791 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
5793 2001-08-23 Richard Henderson <rth@redhat.com>
5795 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
5798 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
5800 * reload1.c (emit_reload_insns): Don't look for notes
5801 on a NULL store_insn.
5803 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5805 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
5806 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
5807 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
5808 format specifier warnings.
5809 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
5811 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
5813 * config/i386/i386-protos.h: Correct declaration of
5814 i386_pe_asm_named_section.
5816 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
5818 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
5820 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
5822 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
5824 * cpperror.c (print_location): Don't show _Pragma.
5825 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
5826 and file change callback generation here.
5827 (stack_include_file): Update use of cpp_push_buffer.
5828 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
5829 (struct cpp_buffer): Remove type, pfile members.
5830 * cppinit.c (cpp_handle_option): Use free_chain.
5831 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
5832 (skip_escaped_newlines, get_effective_char, lex_percent): Take
5833 a cpp_reader rather than a cpp_buffer.
5834 (skip_escaped_newlines, get_effective_char, skip_block_comment,
5835 skip_line_comment, parse_string, lex_percent, lex_dot,
5836 _cpp_lex_token): Update accordingly.
5837 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
5839 (cpp_push_buffer): Update prototype.
5840 (run_directive): Update use of cpp_push_buffer.
5841 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
5842 handle_assertion): Update use of run_directive.
5843 * cpplib.h (enum cpp_buffer_type): Remove.
5844 (cpp_push_buffer): Update prototype.
5845 * fix-header.c (read_scan_file): Update.
5847 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5849 * gcc.c (struct prefix_list): Change prefix to const char *.
5851 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5853 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
5855 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
5857 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
5860 * jump.c (squeeze_notes): Take parms by reference. Handle END being
5863 * ifcvt.c (dead_or_predicable): Adjust.
5864 * loop.c (find_and_verify_loops): Adjust.
5865 * stmt.c (expand_end_case): Adjust.
5866 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
5867 head and end insn pointers in the basic block, not just local copies.
5868 (merge_blocks_move_predecessor_nojumps): Likewise.
5870 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
5872 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
5873 bitmap.h, builtin-types.def, builtins.c, builtins.def,
5874 c-aux-info.c, c-common.c, c-common.def, c-common.h,
5875 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
5876 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
5877 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
5878 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
5879 conditions.h, config.gcc, configure.frag, configure.in,
5880 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
5881 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
5882 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
5883 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
5884 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
5885 emit-rtl.c, errors.c, errors.h, except.c, except.h,
5886 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
5887 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
5888 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
5889 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
5890 gencheck.c, gencodes.c, genconfig.c, genemit.c,
5891 genextract.c, genflags.c, gengenrtl.c, genmultilib,
5892 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
5893 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
5894 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
5895 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
5896 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
5897 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
5898 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
5899 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
5900 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
5901 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
5902 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
5903 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
5904 params.h, predict.c, predict.def, predict.h, prefix.c,
5905 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
5906 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
5907 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
5908 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
5909 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
5910 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
5911 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
5912 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
5913 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
5914 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
5915 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
5916 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
5917 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
5918 xcoffout.h: replace "GNU CC" with "GCC".
5920 2001-08-21 Richard Henderson <rth@redhat.com>
5922 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
5923 (final_scan_insn): Consider jump tables data even if we have no
5924 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
5926 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
5927 (ASM_OUTPUT_CASE_END): Remove.
5928 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
5929 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
5930 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
5932 2001-08-21 Richard Henderson <rth@redhat.com>
5934 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
5935 at barrier insns. Emit stop bits before barriers.
5937 * flow.c (flow_find_cross_jump): Don't consider unconditional
5938 return insns for commoning.
5940 * final.c (compute_alignments): Fix typo.
5942 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
5943 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
5944 (store_bit_field): Use mode_for_extraction more places.
5945 (extract_bit_field): Likewise.
5947 2001-08-21 Zack Weinberg <zackw@panix.com>
5949 * caller-save.c: Don't include insn-codes.h.
5950 (reg_save_code, reg_restore_code): Make arrays of int.
5951 All uses updated to match.
5952 (insert_save, insert_restore): No need to initialize "code"
5953 variable upon declaration.
5954 * Makefile.in: update dependencies; fix typo in clean rule.
5956 2001-08-21 Richard Henderson <rth@redhat.com>
5958 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
5959 (merge_if_block): Handle fallout from same.
5961 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5963 * builtins.c (type_to_class): Fix typo in last change.
5965 2001-08-21 Richard Henderson <rth@redhat.com>
5967 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
5968 ia64_asm_output_label.
5970 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
5971 copy of gp while the real gp register contains garbage.
5973 2001-08-21 Zack Weinberg <zackw@panix.com>
5975 * expmed.c (mode_for_extraction): New function.
5976 (store_bit_field, extract_bit_field): Use it.
5977 * expr.h: Prototype it and provide an enum for its first argument.
5979 * combine.c, function.c, recog.c: Don't include insn-codes.h.
5980 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
5981 and digging through the insn_data tables.
5982 * Makefile.in: Update dependencies.
5984 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
5986 * cppfiles.c (stack_include_file): line-map.c now handles include
5988 (handle_missing_handler): Similarly.
5989 (_cpp_execute_include): Similarly.
5990 (_cpp_pop_file_buffer): Similarly.
5991 * cpphash.h (struct cpp_reader): Remove system_include_depth,
5992 buffer_stack_depth and include_depth.
5993 * cpplib.c (do_include_common): line-map.c now handles include depth.
5994 (cpp_push_buffer): Similarly.
5995 (_cpp_pop_buffer): Similarly.
5996 * cppmacro.c (builtin_macro): Update.
5997 * line-map.c (init_line_maps): Set depth.
5998 (add_line_map): Increment "used" earlier. Update and use the
6000 (trace_include): Use the include depth.
6001 * line-map.h (struct line_maps): New member depth.
6003 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
6005 * cppfiles.c (stack_include_file): Don't handle -H here.
6006 * cppinit.c (cpp_start_read): Set include tracing after
6007 cpp_post_options and after stacking the main file.
6008 * line-map.c (trace_include): New.
6009 (init_line_maps, add_line_map): Update.
6010 * line-map.h (struct line_maps): New member trace_includes.
6012 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
6014 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
6015 * cppfiles.c (stack_include_file): Only stack a file if there
6016 is something to do. Return a boolean indicating whether a
6017 buffer was stacked or not.
6018 (_cpp_execute_include): Similarly.
6019 (_cpp_read_file): Similarly.
6020 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
6022 2001-08-21 Sam Steingold <sds@gnu.org>
6024 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
6025 (RECACHE): keep obufp_before_macroname up to date
6027 2001-08-21 Zack Weinberg <zackw@panix.com>
6029 * stmt.c: Don't include insn-codes.h.
6030 (expand_end_case): Machine specific logic moved to expr.c.
6031 No need to worry about __builtin_classify_type.
6032 (check_for_full_enumeration_handling, emit_case_nodes):
6035 * builtins.o (expand_builtin_classify_type): Split up so code
6036 can be shared with fold_builtin_classify_type.
6037 (type_to_class, fold_builtin_classify_type): New functions.
6038 (fold_builtins): Handle __builtin_classify_type.
6040 * expr.c (do_tablejump): Now static.
6041 (case_values_threshold, try_casesi, try_tablejump): New;
6042 code mostly from stmt.c (expand_end_case).
6043 (expr.h): Update prototypes.
6045 * Makefile.in (stmt.o): Update dependencies.
6047 2001-08-21 Will Cohen <wcohen@redhat.com>
6049 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
6050 declaration of variable i.
6051 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
6052 declaration of variable i.
6054 2001-08-21 Richard Henderson <rth@redhat.com>
6056 * crtstuff.c: Fix thinko last change. Move list tails to start
6057 of CRT_END section. Tidy ifdefs.
6058 (__EH_FRAME_BEGIN__): Always static for ELF.
6059 (__do_global_ctors_1): Rename from __frame_dummy.
6060 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
6061 name change; don't hide __EH_FRAME_BEGIN__.
6063 2001-08-21 Richard Henderson <rth@redhat.com>
6065 * gdbinit.in: Move break on exit after break on fancy_abort.
6067 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
6070 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
6072 * cpphash.h (_cpp_push_next_buffer): New.
6073 * cppinit.c (do_includes): Remove.
6074 (push_include, free_chain, _cpp_push_next_buffer): New.
6075 (cpp_start_read): Use them to rework command line option handling.
6076 (cpp_handle_option): Combine handling of -include and -imacros.
6077 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
6078 appropriate. Always insert missing \n at EOF.
6079 * cpplib.c (start_directive): Get the directive position right.
6080 * cppmain.c (cb_file_change): Always print the first line, unless
6083 2001-08-20 Andreas Jaeger <aj@suse.de>
6085 * profile.c (compute_branch_probabilities): Remove extra new-line
6087 * flow.c (verify_flow_info): Likewise.
6089 2001-08-20 Diego Novillo <dnovillo@redhat.com>
6091 * basic-block.h (basic_block): Add new field 'flags'.
6092 (BB_REACHABLE): Define.
6093 (expunge_block): Declare.
6094 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
6095 (EXIT_BLOCK_PTR): Ditto.
6096 (expunge_block): Remove static declaration.
6097 (cleanup_cfg): Clear bb->aux on every basic block.
6098 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
6099 computing reachability.
6100 (delete_unreachable_blocks): Delete block b if b->flags has
6103 2001-08-20 Diego Novillo <dnovillo@redhat.com>
6105 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
6107 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6109 * sparc.c (sparc_variable_issue): Fix typo in last change.
6111 2001-08-20 Richard Henderson <rth@redhat.com>
6113 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
6115 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
6117 * pa.h (RETURN_IN_MEMORY): Improve comment.
6119 2001-08-20 Janis Johnson <janis187@us.ibm.com>
6121 * doc/invoke.texi (Profiling options): Clarify the interactions
6122 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
6124 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
6126 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
6129 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6131 * gcc.c (make_relative_prefix): Allocate a sufficiently large
6134 2001-08-20 Richard Henderson <rth@redhat.com>
6136 * final.c (end_final): Fix typo last change.
6138 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
6140 * cppinit.c (init_standard_includes): The returned buffer
6141 is already malloc-ed.
6142 * gcc.c (add_prefix): Similarly.
6143 * prefix.c (translate_name): Update to support clear buffer
6145 (update_path): Similarly. Be sure to free any newly allocated
6146 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
6148 * prefix.h (update_path): Update prototype and document.
6149 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
6150 up and update to new buffer ownership rules.
6151 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
6153 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
6155 * final.c (compute_alignments): New function.
6156 (init_insn_lengths): Do not care label_align.
6157 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
6158 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
6159 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
6160 (shorted_branches): Realloc label_align array; do
6161 not call init_insn_lengths; Do not care about loop alignments.
6162 * output.h (compute_alignments): Declare.
6163 * toplev.c (rest_of_compilation): Call compute_alignments.
6164 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
6166 * predict.c (block_info_def): Add npredecesors, remove nvisited;
6167 change visited to tovisit.
6168 (propagate_freq): Use faster traversing algorithm.
6169 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
6170 to tovisit; reverse meaning.
6172 * predict.c (struct block_info_def): Remove nvisited.
6173 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
6174 (estimate_bb_frequencies): Call mark_dfs_back_edges.
6176 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
6178 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
6179 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
6180 (TARGET_FUSED_MADD): New.
6181 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
6182 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
6183 the multiply-add instructions.
6185 2001-08-19 Richard Henderson <rth@redhat.com>
6187 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
6188 is aligned to pointer size.
6190 2001-08-19 Richard Henderson <rth@redhat.com>
6192 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
6193 display markers during final schedule.
6195 2001-08-19 Richard Henderson <rth@redhat.com>
6197 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
6199 2001-08-19 Richard Henderson <rth@redhat.com>
6201 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
6203 (ASM_NAME_TO_STRING): Remove.
6204 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
6205 in the same string. Remove support for expressions.
6207 2001-08-19 Richard Henderson <rth@redhat.com>
6209 * config/i386/i386.md (tablejump): Make an expander; handle
6210 pic relative addressing here.
6211 (tablejump_1): Rename from tablejump_pic.
6214 2001-08-19 Richard Henderson <rth@redhat.com>
6216 * regclass.c (fix_register): Fix typo.
6218 2001-08-18 Richard Henderson <rth@redhat.com>
6220 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
6221 (struct _Unwind_Context): Expand br_loc to hold it.
6222 (uw_frame_state_for): Handle leaf functions better.
6223 (uw_update_reg_address): Update for br_loc change.
6225 2001-08-18 Richard Henderson <rth@redhat.com>
6227 * crtstuff.c: Move list heads before code that uses them.
6228 (__JCR_LIST__): Remove initial null.
6229 (frame_dummy, __frame_dummy): Do java registration here ...
6230 (__do_global_ctors_aux): ... not here.
6232 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
6233 (__do_global_dtors_aux): Update to match.
6234 (__JCR_LIST__, __do_jv_register_classes): New.
6236 * config/ia64/crtend.asm (__JCR_END__): New.
6237 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
6238 instead of an indirect LTOFF22 reloc.
6240 2001-08-18 Richard Henderson <rth@redhat.com>
6242 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
6243 * regclass.c (init_reg_sets_1): Fix typo.
6244 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
6245 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
6246 (ia64_compute_frame_size): Make ar.unat live when in use.
6247 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
6248 for ar.pfs; remove ar.unat handling.
6249 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
6251 (PREDICATE_CODES): Add ar_pfs_reg_operand.
6252 * config/ia64/ia64-protos.h: Update decls.
6253 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
6254 (sibcall_pic): Likewise.
6256 2001-08-18 Richard Henderson <rth@redhat.com>
6258 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
6259 pred_rel_mutex when searching for insn_group_barrier.
6260 * config/ia64/ia64.md (cycle_display): Combine the expander
6263 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
6264 bit before asm as needed.
6266 2001-08-18 Richard Henderson <rth@redhat.com>
6268 * timevar.def (TV_MACH_DEP): New.
6269 * toplev.c (rest_of_compilation): Use it.
6270 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
6272 2001-08-18 Zack Weinberg <zackw@panix.com>
6274 * unwind-dw2.c (execute_stack_op): Add default aborts to
6275 the inner switches to prevent warnings.
6277 2001-08-18 Richard Henderson <rth@redhat.com>
6279 * timevar.h (struct timevar_time_def): Change element type to float.
6280 (ticks_to_msec, clocks_to_msec): Likewise.
6281 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
6282 (get_time): Likewise.
6283 (timevar_print): Adjust zero check and printing to match.
6285 2001-08-18 Zack Weinberg <zackw@panix.com>
6287 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
6288 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
6289 Eliminate overfull or underfull hboxes.
6291 2001-08-18 Zack Weinberg <zackw@panix.com>
6293 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
6295 2001-08-18 Zack Weinberg <zackw@panix.com>
6297 * haifa-sched.c: Convert to target hooks. Macros replaced
6298 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
6299 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
6300 MD_SCHED_FINISH, and HAVE_cycle_display.
6301 * target-def.h (TARGET_SCHED_ADJUST_COST,
6302 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
6303 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
6304 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
6305 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
6306 New hook #defines to be overridden.
6307 (TARGET_SCHED): Bring them all together.
6308 (TARGET_INITIALIZER): Update.
6309 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
6310 instead of 'struct rtx_def *' throughout.
6311 (struct sched): New set of hooks for the scheduler.
6312 * Makefile.in (haifa-sched.o): Depend on target.h.
6313 * doc/tm.texi: Document the new scheduler hooks, together in
6314 their own section, instead of scattered around.
6315 Fix a bunch of underfull/overfull hboxes.
6317 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
6318 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
6319 sparc.h: Don't define any of the old scheduler macros.
6321 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
6322 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
6323 sparc.c: Create hook functions from code extracted from
6324 corresponding target header, or make existing hooks static, as
6325 appropriate. Set the appropriate entries in targetm.
6327 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
6328 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
6329 rs6000-protos.h, s390-protos.h, sparc-protos.h:
6330 Remove prototypes for functions which are now static.
6332 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
6333 related gunk; the Haifa scheduler is now the only choice.
6335 2001-08-18 Zack Weinberg <zackw@panix.com>
6337 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
6338 * genopinit.c: Put floating point divide insns in sdiv_optab.
6339 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
6340 * config/gofast.h, config/c4x/c4x.h,
6341 config/ia64/hpux_longdouble.h, config/mips/mips.h,
6342 config/pa/long_double.h, config/rs6000/sysv4.h,
6343 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
6344 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
6345 (init_optabs): Use init_optabv for overflow-trapping optabs.
6346 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
6347 cmp_optab RTX codes so have_insn_for can find them.
6349 * optabs.c (expand_simple_binop, expand_simple_unop,
6350 have_insn_for, gen_sub3_insn): New interfaces.
6351 * expr.h: Prototype new functions.
6352 (enum optab_methods): Move here from optabs.h.
6354 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
6355 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
6356 Use new functions instead of working directly with optabs.
6357 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
6358 unroll.c: Don't include optabs.h.
6359 * caller-save.c, combine.c, function.c, stmt.c: Just include
6360 insn-codes.h, not optabs.h.
6361 * Makefile.in: Update dependencies.
6363 * combine.c (make_compound_operation, simplify_comparison):
6364 Fix typos testing for this or that instruction.
6366 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6368 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
6369 generating libgcc.a.
6371 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6373 * except.c (TYPE_HASH): Delete.
6375 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
6378 * tree.c (TYPE_HASH): Delete.
6380 * tree.h (TYPE_HASH): Define.
6382 2001-08-18 Graham Stott <grahams@redhat.com>
6384 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
6386 (adddi3_internal_2+2): Likewise.
6387 (eh_set_lr_di+1): Likewise.
6389 2001-08-17 Richard Henderson <rth@redhat.com>
6391 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
6392 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
6393 * dwarf2asm.c: ... here.
6394 * dwarfout.c: Remove them.
6396 * varasm.c (assemble_integer): Add align parameter.
6397 (assemble_real, output_constant, output_constructor): Likewise.
6398 * output.h: Update decls.
6399 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
6400 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
6401 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
6402 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
6403 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
6406 * final.c (end_final): Abort profile block generation if we
6407 havn't layed it out properly.
6408 * output.h (assemble_eh_integer): Remove stale decl.
6409 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
6411 (assemble_integer): Handle unaligned data.
6412 (assemble_real): Abort on unaligned data.
6413 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
6415 (default_dtor_section_asm_out_destructor): Use assemble_align.
6416 (default_named_section_asm_out_constructor): Likewise.
6417 (default_ctor_section_asm_out_constructor): Likewise.
6418 * config/darwin.c (machopic_asm_out_constructor): Likewise.
6419 (machopic_asm_out_destructor): Likewise.
6420 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
6421 (nextstep_asm_out_destructor): Likewise.
6422 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
6423 (vms_asm_out_destructor): Likewise.
6425 2001-08-17 Richard Henderson <rth@redhat.com>
6427 * config/mips/iris6.h (TARGET_IRIX6): New.
6428 (current_section_name, current_section_flags): New.
6429 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
6430 (MAX_OFILE_ALIGNMENT): New.
6431 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
6432 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
6433 (copy_file_data): Split out from
6434 (mips_asm_file_end): ... here.
6435 (mips_asm_file_start): Remove extra .section directive. Use
6436 tmpfile instead of mips_make_temp_file.
6437 (mips_unique_section): Use const char * as needed for warnings.
6438 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
6439 re-add align parameter.
6440 (iris6_asm_named_section): New.
6441 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
6442 (iris6_asm_output_align, iris6_section_align_1): New.
6443 (iris6_asm_file_start, iris6_asm_file_end): New.
6444 * config/mips/mips-protos.h: Update decls.
6446 2001-08-17 Janis Johnson <janis187@us.ibm.com>
6448 * doc/install.texi (Install GCC): Add links to build status pages.
6450 (Final install): Ditto; request updates for specific info
6452 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
6454 * cpperror.c (print_location): Don't take a file name; use the
6456 (_cpp_begin_message): Similarly.
6457 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
6458 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
6459 (cpp_pedwarn_with_file_and_line): Remove.
6460 * cppfiles.c (stack_include_file): Update; set filename to stdin
6461 here when appropriate.
6462 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
6463 (_cpp_begin_message): Don't take a file name.
6464 * cppinit.c: Add comment.
6465 * cpplex.c: Fix end-of-directive indicator.
6466 * cpplib.c: Don't include intl.h.
6467 (run_directive, do_diagnostic): Update.
6468 (do_line): Update to not use nominal_fname.
6469 (cpp_push_buffer): Don't take a filename.
6470 * cpplib.h (struct ht): Remove.
6471 (cpp_push_buffer): Don't take a filename.
6472 (cpp_pedwarn_with_file_and_line): Remove.
6473 * cppmacro.c (struct cpp_macro): Remove file.
6474 (builtin_macro): Update.
6475 (_cpp_create_definition): Update.
6476 * cppmain.c: Correct comment.
6477 * fix-header.c (read_scan_file): Update.
6479 2001-08-17 Kazu Hirata <kazu@hxi.com>
6481 * sbitmap.c: Fix comment formatting.
6482 * sched-deps.c: Likewise.
6483 * sibcall.c: Likewise.
6484 * simplify-rtx.c: Likewise.
6486 * ssa-ccp.c: Likewise.
6487 * stor-layout.c: Likewise.
6488 * timevar.c: Likewise.
6489 * toplev.c: Likewise.
6490 * unwind-dw2.c: Likewise.
6491 * unwind-dw2-fde.c: Likewise.
6492 * varasm.c: Likewise.
6494 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
6496 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
6497 or larger than an integer in memory.
6499 2001-08-17 Zack Weinberg <zackw@panix.com>
6501 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
6502 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
6503 * rtl.h: Don't forward-declare union tree_node here. Don't
6504 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
6505 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
6506 and tree respectively.
6507 * tree.h: Don't forward-declare struct rtx_def here. Don't
6508 typedef tree here. Change all uses of struct rtx_def *,
6509 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
6510 and tree respectively.
6512 2001-08-17 Richard Henderson <rth@redhat.com>
6514 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
6515 config/mips/openbsd.h: Fix typos last change.
6517 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6519 * doc/invoke.texi (Optimize Options): The default for
6520 -finline-limit is 600.
6522 2001-08-17 Richard Henderson <rth@redhat.com>
6524 * varasm.c (text_section): Allow TEXT_SECTION to override the
6525 printing of TEXT_SECTION_ASM_OP.
6526 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
6527 (DATA_SECTION, BSS_SECTION): Remove.
6528 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
6529 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
6530 Rename from s/_NAME//.
6531 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
6532 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
6533 (TEXT_SECTION): ... here. New.
6534 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
6535 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
6536 * config/mips/openbsd.h: Likewise.
6537 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
6538 (mips_asm_file_end): Likewise test.
6539 (mips_output_function_epilogue): Likewise. Switch back to data
6540 section after emitting the function.
6542 * doc/tm.texi (Sections): Document TEXT_SECTION.
6544 2001-08-17 Richard Henderson <rth@redhat.com>
6546 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
6547 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
6549 2001-08-17 Richard Henderson <rth@redhat.com>
6551 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
6552 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
6553 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
6554 Add aligned attribute.
6556 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
6558 * config/sh/sh.md: Add modes to unspecs in first insn to match
6559 those in the second.
6561 * Makefile.in: Fix collect2 copy for Cygwin.
6563 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
6565 Install the proper patch.
6566 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
6567 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
6568 (expand_function_start): Likewise.
6569 * stmt.c (expand_decl): Likewise.
6570 * varasm.c (make_decl_rtx): Likewise.
6572 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
6574 * final.c: Undo my previous accidental checkin.
6575 * output.h: Likewise.
6576 * tm.texi: Likewise.
6578 2001-08-16 Richard Henderson <rth@redhat.com>
6580 * varasm.c (named_section_flags): Remove align parameter.
6581 * varasm.c, dwarf2out.c: Update all callers.
6582 * output.h: Update prototypes.
6584 * target.h (target.asm_out.named_section): Remove align parameter.
6585 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
6586 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
6587 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
6588 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
6589 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
6591 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
6592 (get_named_section_flags, set_named_section_flags): New.
6593 (named_section_flags): Use them.
6594 (named_section): Do decl vs section flags check here...
6595 (default_section_type_flags): ... not here.
6596 (init_varasm_once): Create in_named_htab.
6597 (resolve_unique_section): Mark reloc unused.
6599 2001-08-16 Richard Henderson <rth@redhat.com>
6601 * varasm.c (force_const_mem): Keep pool alignment in bits.
6602 (output_constant_pool): Use assemble_align.
6604 2001-08-16 Zack Weinberg <zackw@panix.com>
6606 * doc/tm.texi: Remove extra @table command.
6608 2001-08-16 Zack Weinberg <zackw@panix.com>
6610 * final.c (shorten_branches): Clear the end of the label_align
6611 array only if we made it larger. Break up messy expressions
6614 * diagnostic.c (internal_error): Check for error recursion
6615 before doing ICE suppression.
6617 * timevar.c: Timing variables now count in milliseconds.
6618 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
6619 (get_time): Not here.
6620 (timevar_print): Don't print any timer whose user, cpu, and
6621 wall times are all zero as displayed.
6622 * timevar.h: Update comment aboout units. Make timevar
6625 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
6627 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
6628 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
6629 (expand_function_start): Likewise.
6630 * stmt.c (expand_decl): Likewise.
6631 * varasm.c (make_decl_rtx): Likewise.
6633 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
6635 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
6636 (finalize_record_size): Don't set TYPE_USER_ALIGN.
6638 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6640 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
6643 2001-08-16 Andreas Jaeger <aj@suse.de>
6645 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
6648 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
6650 * rtl.h (only_sets_cc0_p): New prototype.
6651 * jump.c (sets_cc0_p): Handle INSN.
6652 (only_sets_cc0_p): New function.
6653 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
6654 (tidy_fallthru_edge): Likewise.
6655 * integrate.c (copy_insn_list): Likewise.
6656 * unroll.c (unroll_loop): Likewise.
6657 (copy_loop_body): Likewise.
6659 2001-08-15 Jason Eckhardt <jle@redhat.com>
6661 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
6663 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
6665 * predict.c (struct block_info_def): Remove nvisited.
6666 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
6667 (estimate_bb_frequencies): Call mark_dfs_back_edges.
6669 * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
6670 (ix86_adjust_cost): Teach scheduler that latency to load operand can
6673 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
6675 * predict.def: Update hitrates.
6677 2001-08-15 Richard Henderson <rth@redhat.com>
6679 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
6681 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
6683 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
6684 note from its associated jump.
6686 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
6688 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
6689 also on 64-bit s390x targets.
6691 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
6693 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
6695 (arm_expand_prologue): Handled nested functions which take a
6696 variable argument list.
6697 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
6698 macro with an invocation of
6699 arm_compute_initial_elimination_offset.
6700 * config/arm/arm-protos.h: Prototype
6701 arm_compute_initial_elimination_offset.
6703 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6705 * doc/install.texi (Specific, avr): Fix markup.
6706 (Specific, c4x): Ditto.
6708 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6710 * predict.c (dump_prediction): Change `bool' parameter to `int'.
6712 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
6714 * Makefile.in (OBJS): Add rtl-error.o
6715 (rtl-error.o): New rule.
6716 (diagnostic.o): Adjust dependency.
6717 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
6718 error_for_asm, _fatal_insn, _fatal_insn_not_found,
6719 warning_for_asm): Move to...
6720 rtl-error.c: ...here. New file.
6722 2001-08-14 Richard Henderson <rth@redhat.com>
6724 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
6725 if USING_SJLJ_EXCEPTIONS.
6727 2001-08-14 Steve Ellcey <sje@cup.hp.com>
6729 * tlink.c (scan_linker_output): Check string for unsatisfied in
6730 addition to undefined and unresolved.
6732 2001-08-14 Graham Stott <grahams@redhat.com>
6734 * libgcc2.c (*): Replace EH_FRAME_SECTION with
6735 EH_FRAME_SECTION_NAME.
6737 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
6739 * genattrtab.c (simplify_test_exp_in_temp): New function.
6740 (simplify_test_exp): Avoid explicit use of temporary obstack.
6741 (simplify_cond, insert_right_side, evaluate_eq_attr,
6742 simplify_and_tree, simplify_or_tree, eliminate_known_true):
6743 Use simplify_test_exp_in_temp.
6744 (optimize_attrs): Iterate until expression stabilizes.
6746 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
6748 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
6749 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
6751 2001-08-13 Richard Henderson <rth@redhat.com>
6753 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
6754 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
6755 * config/arm/conix-elf.h: Likewise.
6757 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
6759 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
6761 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
6763 * gcse.c (hash_scan_set): Expressions that are set as part of
6764 jump instructions are not available.
6766 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
6768 * config/s390/s390.c (print_operand, s390_function_prologue,
6769 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
6771 2001-08-13 Richard Henderson <rth@redhat.com>
6773 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
6774 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
6775 * doc/tm.texi (Exception Region Output): Document it.
6777 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
6779 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
6780 DWARF2 instead of stabs by default.
6782 2001-08-13 David Edelsohn <edelsohn@gnu.org>
6784 * config/rs6000/rs6000.c: Include optabs.h.
6786 2001-08-13 David Edelsohn <edelsohn@gnu.org>
6788 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
6789 save/restore routines.
6790 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
6792 2001-08-13 Andreas Jaeger <aj@suse.de>
6794 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
6795 the english is correct.
6797 2001-08-13 Zack Weinberg <zackw@panix.com>
6799 * expr.h: Split out optab- and libfunc-related code to...
6800 * optabs.h, libfuncs.h: ... these new headers.
6802 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
6804 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
6806 * mkconfig.sh: Don't include insn-codes.h from config.h.
6808 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
6809 enum insn_code is available. Move reload_in_optab and
6810 reload_out_optab array declarations to optabs.h.
6811 * regmove.c (gen_add3_insn): Move to optabs.c, export from
6812 there, prototype in expr.h.
6813 * gencodes.c: Cleanup: zap global variables, don't use
6814 printf where puts will do, don't bother defining MAX_INSN_CODE
6815 which nothing uses, let CODE_FOR_nothing get its value implicitly.
6817 * genemit.c, genopinit.c: Include optabs.h in generated file.
6818 * genoutput.c: Include insn-codes.h in generated file.
6819 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
6820 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
6821 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
6822 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
6823 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
6824 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
6826 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
6827 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
6828 config/m88k/m88k.c, config/sparc/sparc.c:
6830 * reload.c: Include expr.h and optabs.h before reload.h.
6831 * config/alpha/alpha.c: Include tree.h before reload.h.
6832 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
6833 and reload.h in that order.
6834 * config/sparc/sparc.c: Include debug.h.
6835 * recog.c: Include insn-codes.h.
6837 2001-08-13 Andreas Jaeger <aj@suse.de>
6839 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
6842 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6844 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
6845 * gcc.c (init_spec): Fix typo in comment.
6846 * varasm.c (data_section): Fix typo in comment.
6848 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
6850 * predict.c (dump_prediction): New argument "USED".
6851 (combine_predictions_for_insn): Determine the used heuristics,
6852 output the case no heuristic applied.
6853 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
6855 2001-08-13 Andreas Jaeger <aj@suse.de>
6857 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
6860 2001-08-13 Kazu Hirata <kazu@hxi.com>
6862 * jump.c: Fix formatting.
6864 2001-08-13 Kazu Hirata <kazu@hxi.com>
6866 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
6869 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
6871 * loop.c (check_dbra_loop): Use condjump_label to compute
6874 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
6875 to better document the files they're in.
6877 2001-08-12 Zack Weinberg <zackw@panix.com>
6879 * recog.h (struct insn_operand_data): Shrink 'mode' field
6882 2001-08-12 Kazu Hirata <kazu@hxi.com>
6884 * gcc.c: Fix comment formatting.
6885 * gccspec.c: Likewise.
6888 * genemit.c: Likewise.
6889 * gengenrtl.c: Likewise.
6890 * genrecog.c: Likewise.
6891 * gensupport.c: Likewise.
6892 * ggc-page.c: Likewise.
6893 * global.c: Likewise.
6894 * graph.c: Likewise.
6895 * ifcvt.c: Likewise.
6896 * integrate.c: Likewise.
6898 * libgcc2.c: Likewise.
6900 * mbchar.c: Likewise.
6901 * optabs.c: Likewise.
6902 * predict.c: Likewise.
6903 * prefix.c: Likewise.
6904 * profile.c: Likewise.
6905 * protoize.c: Likewise.
6907 * recog.c: Likewise.
6908 * regclass.c: Likewise.
6909 * regmove.c: Likewise.
6910 * reg-stack.c: Likewise.
6911 * reload1.c: Likewise.
6912 * resource.c: Likewise.
6913 * rtlanal.c: Likewise.
6916 2001-08-12 Kazu Hirata <kazu@hxi.com>
6918 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
6919 a tree representing a constant is passed to the macro.
6921 2001-08-12 Richard Henderson <rth@redhat.com>
6923 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
6924 (rs6000_elf_asm_out_destructor): New.
6925 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
6926 (DTORS_SECTION_ASM_OP): Remove.
6927 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
6928 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
6930 2001-08-12 David Edelsohn <edelsohn@gnu.org>
6933 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6934 * gcc.c (set_collect_gcc_options): New function, split out from
6936 Ignore elided switches.
6937 (do_spec_1): Invoke before executing command.
6938 (set_input): Export.
6939 Move declaration ...
6940 * gcc.h (set_input): ... here.
6941 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
6944 2001-08-12 Richard Henderson <rth@redhat.com>
6946 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
6947 thinko wrt TARGET_RELOCATABLE.
6949 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
6951 * fix-header.c (cb_file_change): Update prototype.
6953 2001-08-11 Zack Weinberg <zackw@panix.com>
6955 * toplev.c (set_float_handler): Make static.
6956 * toplev.h: Don't prototype set_float_handler.
6958 * simplify-rtx.c: Don't include setjmp.h.
6959 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
6961 (simplify_unary_operation, simplify_binary_operation): Use them,
6962 via do_float_handler.
6964 * fold-const.c: Don't include setjmp.h.
6965 (exact_real_inverse_1): New function.
6966 (exact_real_inverse): Use it, via do_float_handler.
6968 * varasm.c: Don't include setjmp.h.
6969 (assemble_real_1): New function.
6970 (assemble_real): Use it, via do_float_handler.
6971 Call internal_error if we get a trap here.
6973 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
6974 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
6976 2001-08-11 Zack Weinberg <zackw@panix.com>
6978 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
6979 STACK_BOUNDARY if not already defined.
6981 * calls.c, function.c, reload1.c, explow.c: Don't default
6982 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
6983 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
6985 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
6988 * doc/tm.texi: Document that STACK_BOUNDARY is required;
6989 clarify difference between it and PREFERRED_STACK_BOUNDARY.
6991 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
6993 * cppmacro.c (enter_macro_context): Push macro expansions even
6996 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6998 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
6999 (rs6000_elf_section_type_flags): Actually return a value.
7001 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
7003 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
7004 Clean up code: add missing comments and prototypes, fix warnings,
7005 remove obsolete code, fix spacing to conform to coding style.
7007 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
7009 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
7010 and TARGET_ASM_CLOSE_PAREN.
7011 (regclass_map): CC register belongs to class NO_REGS.
7012 (legitimize_pic_address): Don't generate unnecessary moves
7013 (to avoid confusing loop optimization).
7014 (check_and_change_labels): Replace jump_long by indirect_jump.
7015 (s390_final_chunkify): Don't start a new literal pool on section
7016 switch in 64-bit code.
7017 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
7019 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
7020 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
7021 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
7023 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
7024 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
7025 (CONST_COSTS): Fixed incorrect costs.
7027 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
7028 Use emit_jump instead of emit_jump_insn (gen_jump).
7029 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
7030 (to avoid confusing flow analysis).
7031 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
7032 (casesi, casesi_jump): New.
7033 (jump_long): Removed. Functionality merged into indirect_jump.
7034 (indirect_jump): Accept address_operand, not just register_operand.
7035 (cjump_long, icjump_long): Use same logic as indirect_jump.
7036 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
7037 Fixed broken setjmp/longjmp handling.
7038 (do_builtin_setjmp_setup): Removed.
7040 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
7041 broken GNU as versions that don't accept .quad with large
7042 negative values. Use hexadecimal output instead.
7043 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
7044 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
7045 FUNCTION_EPILOGUE): Removed. Now in targetm.
7047 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
7049 * config/s390/fixdfdi.h: Add missing copyright statement.
7050 Fix type conflicts on 64-bit. Add missing SFmode routines.
7052 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
7055 2001-08-11 Richard Henderson <rth@redhat.com>
7057 * rtl.h (REG_EH_RETHROW): Remove.
7058 * rtl.c (reg_note_name): Update.
7059 * combine.c (distribute_notes): Don't check for it.
7061 2001-08-11 Richard Henderson <rth@redhat.com>
7063 * combine.c (distribute_notes): Place REG_SETJMP.
7065 2001-08-11 Richard Henderson <rth@redhat.com>
7067 * doc/extend.texi (Arrays and pointers implementation): Discourage
7068 relying on sign-extension of pointers.
7070 2001-08-11 H.J. Lu <hjl@gnu.org>
7072 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
7074 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
7075 RDATA_SECTION_ASM_OP.
7077 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7079 * doc/install.texi (Specific, c4x): Fix cross-reference to the
7080 main manual to work both for info and HTML versions.
7082 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
7083 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7085 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
7086 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
7087 (struct cpp_pool): New member first.
7088 * cppinit.c (append_include_chain): Plug memory leaks.
7089 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
7090 Allocate pragma structures from the (aligned) macro pool to
7091 avoid leaking memory.
7092 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
7093 so we don't leak memory.
7094 * hashtable.c (ht_destroy): New.
7095 * hashtable.h (ht_destroy): New.
7097 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
7098 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7100 * c-lex.c (map): Make const.
7101 (cb_file_change): Update for callback passing a line map.
7102 Don't assume we have a previous map. Remove sanity check
7103 about popping too many files.
7104 * cpperror.c (print_location): Make map const.
7105 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
7106 (cpp_make_system_header): Similarly.
7107 (search_from): Similarly.
7108 (_cpp_execute_include): Don't remember where we came from.
7109 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
7110 (struct cpp_reader): Make map const.
7111 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
7112 * cpplib.c (do_line): Update; line maps now hold sysp.
7113 (cpp_push_buffer): Similarly.
7114 (_cpp_do_file_change): Similarly; callback with map instead.
7115 (cpp_get_line_maps): Constify return value.
7116 (_cpp_pop_buffer): Update.
7117 * cpplib.h (struct cpp_file_change): Remove.
7118 (struct cpp_callbacks): Update.
7119 (cpp_get_line_maps): Constify return value.
7120 * cppmacro.c (_cpp_create_definition): Update.
7121 * cppmain.c (struct printer): Constify map.
7122 (maybe_print_line): Similarly.
7123 (print_line): Similarly. Deduce flags 1 and 2 here.
7124 (cb_file_change): Update.
7125 * line-map.c (free_line_maps): Warn regardless.
7126 (add_line_map): Return pointer to const. When passed NULL to_file
7127 with LC_LEAVE, use the obvious values for the return point so the
7128 caller doesn't have to figure them out.
7129 (lookup_line): Return pointer to const.
7130 (print_containing_files): Take pointer to const.
7131 * line-map.h (struct line_map): New members reason, sysp.
7132 (add_line_map): Return pointer to const.
7133 (lookup_line): Similarly.
7134 (print_containing_files): Take pointer to const.
7136 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
7137 Richard Henderson <rth@redhat.com>
7139 * regmove.c (regmove_optimize): Avoid setting a register twice in
7142 2001-08-10 Richard Henderson <rth@redhat.com>
7144 * doc/extend.texi (Arrays and pointers implementation): Document
7145 behavior of pointer/integer conversion.
7147 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
7149 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
7151 2001-08-10 Richard Henderson <rth@redhat.com>
7153 * doc/extend.texi (C Implementation): New chapter.
7154 * doc/gcc.texi (Top): Link it in.
7156 2001-08-10 Andrew Cagney <ac131313@redhat.com>
7158 * doc/install.texi (Specific): Fix CVS merge botch.
7160 2001-08-10 Richard Henderson <rth@redhat.com>
7162 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
7163 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
7165 2001-08-10 Zack Weinberg <zackw@stanford.edu>
7167 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
7168 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
7169 this macro is now required.
7171 * cselib.c (cselib_process_insn), flow.c (propagate_block),
7172 loop.c (find_and_verify_loops), reload.c (reload): Check
7173 for rtx code of CALL_INSN, not CALL, when deciding if we
7174 need to check for REG_SETJMP note.
7176 * gcse.c (compute_hash_table, compute_store_table): Update
7177 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
7180 * config/avr/avr.c: Fix typo.
7181 * config/convex/convex.c (expand_movstr): Use adjust_address.
7182 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
7184 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
7185 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
7187 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
7188 Do define STACK_BOUNDARY.
7189 * config/i370/i370.c: Include expr.h.
7190 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
7191 config/pa/som.h, config/v850/v850.h: Take in_ctors and
7192 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
7193 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
7194 * config/m88k/m88k.c: Include c-tree.h after expr.h.
7195 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
7196 * config/romp/romp.c: Include expr.h after tree.h.
7198 (output_fpop): Use xmalloc, not oballoc.
7199 * config/we32k/we32k.c: Include expr.h.
7201 2001-08-10 Kazu Hirata <kazu@hxi.com>
7203 * config/h8300/h8300.h: Fix formatting.
7205 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
7207 * c-common.h (RETURN_NULLIFIED_P): Lose.
7208 * c-semantics.c (genrtl_return_stmt): Don't check it.
7210 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
7212 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
7213 (mips_annotate_frame_insn): New function.
7214 (mips_emit_frame_related_store): New function.
7215 (save_restore_insns): Don't mark instructions that set up the base
7216 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
7217 the store instructions instead.
7218 (mips_expand_prologue): If the stack size is moved into a temporary
7219 register, do not mark that move as frame-related. Add a
7220 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
7222 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
7224 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
7225 stack slot as unchanging if current_function_calls_eh_return.
7227 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
7229 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
7230 access the second half of the TFmode scratch operand.
7232 2001-08-10 Anthony Green <green@redhat.com>
7234 * java/class.c (emit_register_classes): Conditionalize code on
7237 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7239 * doc/install.texi (Specific, avr): Fix cross-reference to the
7240 main manual to work both for info and HTML versions.
7242 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
7244 * stmt.c (expand_null_return_1): Remove code to generate simple returns
7245 and "use_goto" argument.
7246 (expand_null_return, expand_value_return): Update all callers.
7247 * function.c (expand_function_end): Remove code to generate simple
7249 * config/vax/vax.md (epilogue): New expander for function return.
7250 * doc/md.texi (epilogue): Remove "if defined".
7252 2001-08-09 Zack Weinberg <zackw@stanford.edu>
7254 * Makefile.in: Partially revert my previous change:
7255 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
7256 of the hashtab.o and safe-ctype.o rules.
7258 2001-08-09 Richard Henderson <rth@redhat.com>
7260 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
7261 (USE_COLLECT2): Remove duplicate definition.
7262 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
7263 (use_collect2): Remove dead code.
7264 * configure.in (use_collect2): Remove will_use_collect2 and
7265 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
7266 * configure: Rebuild.
7268 * target.h (targetm.asm_out.constructor): New.
7269 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
7270 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
7271 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
7272 * varasm.c (in_ctors, in_dtors): New.
7273 (assemble_constructor, assemble_destructor): Remove.
7274 (default_stabs_asm_out_destructor): New.
7275 (default_named_section_asm_out_destructor): New.
7276 (dtors_section, default_dtor_section_asm_out_destructor): New.
7277 (default_stabs_asm_out_constructor): New.
7278 (default_named_section_asm_out_constructor): New.
7279 (ctors_section, default_ctor_section_asm_out_constructor): New.
7280 * output.h: Update declarations.
7281 * c-decl.c (c_expand_body): Use target hooks instead of
7282 assemble_constructor and assemble_destructor.
7283 * profile.c (output_func_start_profiler): Likewise.
7284 * objc/objc-act.c (finish_objc): Likewise.
7285 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
7286 for the constructor.
7287 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
7289 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
7290 (DTORS_SECTION_ASM_OP): Likewise.
7291 (__CTOR_LIST__): Use attribute section when possible.
7292 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
7294 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
7295 ASM_OUTPUT_CONSTRUCTOR.
7297 * config/darwin.c (machopic_asm_out_constructor): New.
7298 (machopic_asm_out_destructor): New.
7299 * config/darwin-protos.h: Update declarations.
7300 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7301 (ASM_OUTPUT_DESTRUCTOR): Remove.
7302 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7303 * config/nextstep.c (nextstep_asm_out_constructor): New.
7304 (nextstep_asm_out_destructor): New.
7305 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7306 (ASM_OUTPUT_DESTRUCTOR): Remove.
7307 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7308 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
7309 ASM_OUTPUT_*STRUCTOR.
7310 * config/i386/aix386ng.h: Likewise.
7312 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
7313 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
7314 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
7315 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
7316 * config/lynx.h: Likewise.
7317 * config/netware.h: Likewise.
7318 * config/psos.h: Likewise.
7319 * config/alpha/alpha-interix.h: Likewise.
7320 * config/alpha/elf.h: Likewise.
7321 * config/arc/arc.h: Likewise.
7322 * config/arm/aof.h: Likewise.
7323 * config/arm/coff.h: Likewise.
7324 * config/arm/elf.h: Likewise.
7325 * config/c4x/c4x.h: Likewise.
7326 * config/h8300/h8300.h: Likewise.
7327 * config/i386/cygwin.h: Likewise.
7328 * config/i386/djgpp.h: Likewise.
7329 * config/i386/i386-coff.h: Likewise.
7330 * config/i386/i386-interix.h: Likewise.
7331 * config/i386/sco5.h: Likewise.
7332 * config/i386/vsta.h: Likewise.
7333 * config/i386/win32.h: Likewise.
7334 * config/i960/i960-coff.h: Likewise.
7335 * config/ia64/sysv4.h: Likewise.
7336 * config/m68hc11/m68hc11.h: Likewise.
7337 * config/m68k/coff.h: Likewise.
7338 * config/m68k/mot3300.h: Likewise.
7339 * config/m88k/m88k.h: Likewise.
7340 * config/mcore/mcore-pe.h: Likewise.
7341 * config/mcore/mcore.h: Likewise.
7342 * config/mips/elf.h: Likewise.
7343 * config/mips/elf64.h: Likewise.
7344 * config/mips/iris6.h: Likewise.
7345 * config/pa/pa64-hpux.h: Likewise.
7346 * config/rs6000/sysv4.h: Likewise.
7347 * config/sh/sh.h: Likewise.
7348 * config/sparc/litecoff.h: Likewise.
7350 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
7351 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
7352 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
7353 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7354 (ASM_OUTPUT_DESTRUCTOR): Remove.
7355 * config/a29k/a29k.c: Move include of tree.h.
7356 * config/a29k/udi.h: Delete file.
7357 * config/alpha/alpha.c (vms_asm_out_constructor): New.
7358 (vms_asm_out_destructor): New.
7359 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
7360 (EXTRA_SECTION_FUNCTIONS): Likewise.
7361 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
7362 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7363 * config/c4x/c4x.c: Move include of tree.h.
7364 * config/clipper/clipper.c (clix_asm_out_constructor): New.
7365 (clix_asm_out_destructor): New.
7366 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7367 (ASM_OUTPUT_DESTRUCTOR): Remove.
7368 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7369 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7370 (TARGET_ASM_CONSTRUCTOR): New.
7371 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
7372 (sco_asm_out_constructor): New.
7373 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
7374 * config/i386/svr3gas.h: Remove stack grows up code.
7375 Remove code duplicated from i386/sysv3.h.
7376 (TARGET_ASM_CONSTRUCTOR): New.
7377 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
7378 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
7379 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7380 (TARGET_ASM_CONSTRUCTOR): New.
7381 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
7382 (m68hc11_asm_out_destructor): New.
7383 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
7384 (TARGET_ASM_DESTRUCTOR): New.
7385 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
7386 * config/m68k/dpx2.h: Properly undef all the bits inherited from
7387 config/svr3.h pertaining to section manipulation.
7388 * config/m68k/dpx2g.h: Remove #if 0 code.
7389 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
7390 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
7391 (ASM_OUTPUT_CONSTRUCTOR): Remove.
7392 (TARGET_ASM_CONSTRUCTOR): New.
7393 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
7394 (m88k_svr3_asm_out_constructor): New.
7395 (m88k_svr3_asm_out_destructor): New.
7396 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7397 (ASM_OUTPUT_DESTRUCTOR): Remove.
7398 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7399 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
7400 * config/rs6000/aix.h: Likewise.
7401 * config/mips/rtems64.h: Don't undef removed constructor related bits.
7402 * config/mips/vxworks.h: Likewise.
7403 * config/rs6000/lynx.h: Likewise.
7404 * config/sh/elf.h: Likewise.
7405 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
7406 (DTORS_SECTION_ASM_OP): New.
7407 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7408 (ASM_OUTPUT_DESTRUCTOR): Remove.
7409 * config/sparc/sol2-sld-64.h: Likewise.
7410 * config/vax/vax.c (vms_asm_out_constructor): New.
7411 (vms_asm_out_destructor): New.
7412 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
7413 (ASM_OUTPUT_DESTRUCTOR): Remove.
7414 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
7416 * doc/tm.texi (@node Initialization): Update.
7418 2001-08-09 Richard Henderson <rth@redhat.com>
7420 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
7421 (__do_global_dtors_aux): Use gp-relative static data to avoid
7422 one dynamic relocation.
7423 (__do_frame_setup): Register Java classes.
7424 * config/alpha/crtend.asm (__JCR_END__): New.
7426 2001-08-09 Zack Weinberg <zackw@stanford.edu>
7428 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
7429 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
7430 (GEN, STAGESTUFF): Add new files.
7431 (insn-constants.h, s-constants, tm-preds.h, s-preds,
7432 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
7433 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
7434 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
7435 as well as insn-codes.h and insn-flags.h in config.h; and no
7436 extra headers in tconfig.h and hconfig.h.
7438 * gencodes.c: Eliminate code to generate predicate declarations
7439 or #defines for md-file constants.
7440 * genconstants.c, genpreds.c: New files.
7442 * i386.md: Re-order guard expressions such that TARGET_64BIT
7443 comes first, when this permits better optimization. Add
7444 TARGET_64BIT to more x86-64 patterns. Add comment explaining
7445 why this is desirable.
7447 2001-08-09 Jakub Jelinek <jakub@redhat.com>
7449 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
7450 (find_fde_for_dso): Remove.
7451 (_Unwind_IteratePhdrCallback): New.
7452 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
7453 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
7455 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7457 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
7458 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
7460 2001-08-09 Graham Stott <grahams@redhat.com>
7462 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
7463 (vis_no_unit): Use it.
7464 (visualize_no_unit): Add the insn only if room exists.
7466 2001-08-09 Graham Stott <grahams@redhat.com>
7468 * predict.c (estimate_probability): Replace magic numbers with
7469 appropriate enumeration.
7471 2001-08-09 Graham Stott <grahams@redhat.com>
7473 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
7475 (EXTRACT_FLAGS): Likewise.
7477 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
7479 * config/mips/mips.c (mips_legitimate_address_p): Check for
7480 CONST_INT in last patch.
7482 2001-08-08 Anthony Green <green@redhat.com>
7484 * java/class.c (emit_register_classes): Use assemble_jcr if
7485 possible. Keep the original mechanism as a fallback.
7486 * defaults.h (JCR_SECTION_NAME): Define if we have named section
7487 and weak symbol support.
7488 * crtstuff.c (__JCR_LIST__): Define.
7489 (__JCR_END__): Define.
7490 (_Jv_RegiserClasses): Define weak symbol if possible.
7491 (__do_global_ctors_aux): Register classes for ELF targets with
7492 weak symbol support.
7494 2001-08-08 Kazu Hirata <kazu@hxi.com>
7496 * dbxout.c: Fix comment formatting.
7497 * dependence.c: Likewise.
7499 * diagnostic.c: Likewise.
7500 * dominance.c: Likewise.
7501 * doprint.c: Likewise.
7502 * dwarf2out.c: Likewise.
7503 * dwarfout.c: Likewise.
7504 * emit-rtl.c: Likewise.
7505 * except.c: Likewise.
7506 * explow.c: Likewise.
7507 * expmed.c: Likewise.
7510 * fold-const.c: Likewise.
7511 * function.c: Likewise.
7513 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7515 * global.c (retry_global_alloc): Avoid shadowing allocno.
7517 2001-08-08 Mark Mitchell <mark@codesourcery.com>
7519 * except.c (remove_fixup_regions): Fix typo.
7521 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
7523 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
7524 unsigned HOST_WIDE_INT to avoid warning.
7525 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
7526 * flow.c (set_block_for_new_insns): Likewise.
7528 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
7530 * sibcall.c (return_value_pseudo): New static variable.
7531 (skip_copy_to_return_value): Handle return_value_pseudo.
7532 (call_ends_block_p): Ensure that return_value_pseudo is set.
7533 (optimize_sibling_and_tail_recursive_call): Discover the
7534 load of pseudo return value in alternate exit block.
7536 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
7538 * calls.c (ECF_ALWAYS_RETURN): New constant.
7539 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
7540 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
7541 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
7542 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
7543 * rtl.c (reg_note_name): New name.
7544 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
7546 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
7548 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
7550 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
7552 * alias.c (get_alias_set): Return a previously calculated
7553 alias set for a VAR_DECL.
7554 * function.c (gen_mem_addressof): Calculate the alias set before
7557 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
7559 * predict.def: Set hitrates according our experimental run.
7561 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
7563 * i386.h (HARD_REGNO_RENAME_OK): New macro.
7565 2001-08-08 H.J. Lu <hjl@gnu.org>
7567 * config/mips/mips.c (mips_unique_section): New. Copied from
7570 * config/mips/mips-protos.h (mips_unique_section): New
7573 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
7575 * config/mips/little.h: New. Generic little endian mips
7576 targets. Only mips*-*-linux* is converted to use it so far.
7578 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
7579 (WCHAR_TYPE): Defined
7580 (WCHAR_TYPE_SIZE): Likewise.
7581 (INIT_SUBTARGET_OPTABS): Likewise.
7582 (BSS_SECTION_ASM_OP): Likewise.
7583 (SBSS_SECTION_ASM_OP): Likewise.
7584 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
7585 (ASM_DECLARE_OBJECT_NAME): Likewise.
7586 (UNIQUE_SECTION): Likewise.
7587 (EXTRA_SECTIONS): Likewise.
7588 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
7589 (ASM_OUTPUT_DESTRUCTOR): Likewise.
7590 (ASM_OUTPUT_DEF): Likewise.
7591 (HANDLE_SYSV_PRAGMA): Removed.
7592 (NO_IMPLICIT_EXTERN_C): Likewise.
7593 (TARGET_MEM_FUNCTIONS): Likewise.
7594 (STARTFILE_SPEC): Likewise.
7595 (ENDFILE_SPEC): Likewise.
7596 (LIB_SPEC): Likewise.
7597 (INVOKE__main): Likewise.
7598 (CTOR_LIST_BEGIN): Likewise.
7599 (CTOR_LIST_END): Likewise.
7600 (DTOR_LIST_BEGIN): Likewise.
7601 (DTOR_LIST_END): Likewise.
7602 (SET_ASM_OP): Likewise.
7603 (ASM_OUTPUT_SOURCE_LINE): Likewise.
7604 (ASM_OUTPUT_DEF): Likewise.
7605 (ASM_OUTPUT_IDENT): Likewise.
7607 * config/mips/mips.h (ASM_SPEC): Undefine before define.
7608 (CPLUSPLUS_CPP_SPEC): Likewise.
7609 (ASM_APP_ON) Redefine only if not defined.
7610 (ASM_APP_OFF): Likewise.
7611 (ASM_OUTPUT_SOURCE_LINE): Likewise.
7612 (ASM_OUTPUT_IDENT): Likewise.
7614 * config.gcc: Update tm_file for Linux/mips.
7616 2001-08-08 Bernd Schmidt <bernds@redhat.com>
7618 * cselib.c (cselib_record_sets): If insn is predicated, turn
7619 sources into IF_THEN_ELSEs.
7621 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
7622 Turn into define_insn_and_split.
7624 * sched-deps.c: Include "cselib.h".
7625 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
7626 Use cselib to turn memory addresses into VALUEs.
7627 (sched_analyze): Call cselib_init/cselib_finish if necessary.
7628 * sched-int.h (struct sched_info): New member USE_CSELIB.
7629 * sched-ebb.c (ebb_sched_info): Initialize it.
7630 * sched-rgn.c (rgn_sched_info): Likewise.
7631 * Makefile.in (sched-deps.o): Update dependencies.
7633 * cselib.h (cselib_subst_to_values): Declare.
7634 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
7635 that have no value and autoincs to be handled by generating a new
7638 2001-08-08 Graham Stott <grahams@redhat.com>
7640 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
7641 within fixed length SEQUENCE.
7643 2001-08-08 Graham Stott <grahams@redhat.com>
7645 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
7646 (diagnostic_prefixing_rule): Likewise.
7647 (diagnostic_line_cutoff): Likewise.
7648 (diagnostic_kind_count): Likewise.
7650 2001-08-08 Graham Stott <grahams@redhat.com>
7652 * alias.c (find_base_decl): Delete redundent assignment.
7654 2001-08-08 Graham Stott <grahams@redhat.com>
7656 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
7657 (abs): Uppercase and paranthesize macro parameter.
7658 (MEM_DEPENDENCY): Add whitespace.
7660 2001-08-08 Graham Stott <grahams@redhat.com>
7662 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
7663 failure check for CONST_INT
7665 2001-08-08 Graham Stott <grahams@redhat.com>
7667 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
7668 (libcall_dead_p): Likewise.
7670 (mark_used_regs): Constify fmt.
7671 (find_use_as_address): Likewise.
7673 2001-08-08 Graham Stott <grahams@redhat.com>
7675 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
7678 2001-08-08 Graham Stott <grahams@redhat.com>
7680 * combine.c (combine_simplify_rtx): Update comment and
7681 remove erroneous test.
7683 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
7685 * cppinit.c (cpp_finish): Pop the final buffer without comment.
7686 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
7687 take care to avoid multiple no-newline at EOF warnings in that
7690 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
7692 * calls.c (expand_call): Do not emit INSN_SETJMP note.
7693 (emit_library_call_value_1): Likewise.
7694 (emit_call_1): Emit REG_SETJMP note.
7695 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
7697 * cselib.c (cselib_process_insn): Likewise.
7698 * flow.c (propagate_block): Likewise.
7699 * loop.c (find_and_verify_loops): Likewise.
7700 * reload.c (find_equiv_regs): Likewise.
7701 * reload1.c (reload): Likewise.
7702 * resource.c (mark_referenced_resources,
7703 mark_set_resources): Likewise.
7704 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
7705 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
7706 * haifa-sched.c (unlink_other_notes): Likewise.
7707 (reemit_notes): Likewise.
7708 * sched-ebb.c (sched_ebb): Likewise.
7709 * sched-rgc.c (sched_region): Likewise.
7710 * rtl.c (note_insn_name): Likewise.
7711 (reg_note_name): Add REG_SETJMP
7712 * rtl.h (reg_note): Add REG_SETJMP.
7713 (insn_note): Remove NOTE_INSN_SETJMP.
7715 * profile.c (branch_prob): Add fake edges for setjmp.
7717 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
7719 * config.gcc: Quote target_cpu_default2 correctly for
7720 powerpc*-*-* targets.
7722 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
7724 * cpplib.h, line-map.h: Update comments.
7725 * cppmain.c (printer_init): Move inline.
7726 (maybe_print_line, print_line): Take a map pointer.
7727 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
7728 (cb_file_change): Don't use prior value of print.map.
7730 2001-08-07 David Edelsohn <edelsohn@gnu.org>
7732 * doc/install.texi: Document fine-grained multilib configuration.
7734 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
7736 * rtlanal.c (find_first_parameter_load): Call note_stores
7737 only on the instructions.
7739 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7741 * alias.c (nonlocal_mentioned_p):
7742 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
7743 * calls.c (emit_call_1): Likewise.
7744 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
7745 * cselib.c (cselib_process_insn): Likewise.
7746 * df.c (df_insns_modify): Likewise.
7747 * flow.c (need_fake_edge_p): Likewise.
7748 (propagate_one_insn): Likewise.
7749 * haifa-sched.c (reemit_notes): Likewise.
7750 * integrate.c (copy_insn_list): Likewise.
7751 * jump.c (delete_prior_computation): Likewise.
7752 * local-alloc.c (validate_equiv_mem): Likewise.
7753 * loop.c (scan_loop): Likewise.
7754 * predict.c (estimate_probability): Likewise.
7755 * reload.c (reload): Likewise.
7756 * sched-deps (sched_analyze): Likewise.
7757 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
7758 * gcse.c (compute_hash_table): Likewise.
7759 (mark_call): Likewise.
7760 (store_killed_in_insn): Likewise.
7762 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
7764 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
7766 2001-08-06 Richard Henderson <rth@redhat.com>
7768 * varasm.c (assemble_gc_entry): Remove.
7769 * output.h: Likewise.
7771 2001-08-06 Richard Henderson <rth@redhat.com>
7773 * varasm.c (assemble_constructor): Take a symbol_ref and a
7774 priority instead of a bare string. Move priority handling
7775 here from cp/decl2.c.
7776 * output.h: Update decls.
7778 * c-decl.c (c_expand_body): Update calls to assemble_constructor
7779 and assemble_destructor.
7780 * profile.c (output_func_start_profiler): Likewise.
7781 * objc/objc-act.c (finish_objc): Likewise.
7782 (build_module_descriptor): Return the symbol not the symbol name.
7784 2001-08-06 David Edelsohn <edelsohn@gnu.org>
7786 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
7787 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
7788 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
7789 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
7790 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
7791 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
7793 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
7795 * cpperror.c (print_containing_files): Moved to line-map.c.
7796 (print_location): line-map.c handles re-listing or otherwise.
7797 * cpphash.h (struct lexer_state): Remove next_bol.
7798 (struct cpp_buffer): Remove include_stack_listed.
7799 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
7800 Remove faked buffer handling.
7801 (_cpp_do_file_change): Tweak.
7802 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
7803 * cppmain.c (struct printer): Remove filename.
7804 (print_line, cb_file_change): Update accordingly.
7805 * line-map.c: Include intl.h.
7806 (init_line_maps): Initialize last_listed.
7807 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
7808 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
7809 (print_containing_files): New.
7810 * line-map.h (struct line_maps): New member last_listed.
7811 (print_containing_files, INCLUDED_FROM): New.
7812 * Makefile.in: Update.
7813 * po/POTFILES.in: Add line-map.c.
7815 2001-08-06 Richard Henderson <rth@redhat.com>
7817 * except.c (convert_from_eh_region_ranges_1): Never mark
7818 USE or CLOBBER insns as throwing.
7820 * expr.c (store_constructor): Don't clobber memory targets.
7822 2001-08-06 Andreas Jaeger <aj@suse.de>
7824 * profile.c (branch_prob): Remove unused variable insn.
7826 * Makefile.in (local-alloc.o): Add dependency on except.h.
7828 * local-alloc.c: Include except.h for can_throw_internal prototype.
7830 2001-08-06 Richard Henderson <rth@redhat.com>
7832 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
7833 * function.c (expand_main_function): Implement it.
7834 * doc/tm.texi: Document it.
7836 2001-08-06 Stan Shebs <shebs@apple.com>
7838 * doc/install.texi: Document powerpc-*-darwin* details.
7840 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
7842 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
7843 (ASM_CPU_SPEC): Move back to rs6000.h
7844 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
7846 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
7848 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
7851 * config/rs6000/linux64.h: Ditto.
7853 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
7854 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
7857 Remove accidently readded definitions of FUNCTION_PROLOGUE,
7858 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
7860 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
7863 2001-08-05 Richard Henderson <rth@redhat.com>
7865 * local-alloc.c (update_equiv_regs): Do not move insns that
7868 2001-08-05 Jan Hubicka <jh@suse.cz>
7870 * Makefile.in (reload1.o): Add dedendancy on except.h
7871 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
7873 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
7874 indicating wehther edges has been cleaned up.
7875 * reload1.c: Inlucde except.h
7876 (fixup_abnormal_edges): Accept deleted insns.
7877 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
7880 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
7882 * cpplib.c (do_line): Correct line number after pop_buffer.
7884 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
7886 PR preprocessor/3824
7887 * line-map.c: Update comments.
7888 * line-map.h: Update comments.
7889 * tradcif.y: Don't consider large numbers unsigned.
7891 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
7893 PR preprocessor/3081
7894 * c-lex.c (map): New.
7895 (cb_file_change): Update map and use it.
7896 (cb_def_pragma, cb_define, cb_undef): Use map and line.
7897 (c_lex): Update to use map.
7898 * cpperror.c (print_location): Move to using logical line numbers.
7899 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
7900 (cpp_make_system_header): Similarly.
7901 (_cpp_execute_include): Stop line numbering hacks. Store the
7902 line we will return to.
7903 * cpphash.h (CPP_BUF_LINE): Remove.
7904 (struct cpp_buffer): Remove lineno and pseudo_newlines.
7905 Add map and return_to_line.
7906 (_cpp_do_file_change): Update.
7907 * cppinit.c (cpp_start_read): Update line kludge.
7908 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
7909 (trigraph_ok): Use logical line numbers for diagnostics.
7910 (skip_block_comment): Likewise.
7911 (skip_whitespace): Likewise.
7912 (skip_line_comment): Use pfile->line instead.
7913 (_cpp_lex_token): Update to use logical line numbering exclusively.
7914 Handle BOL locally. Accept new lines in directives, but keep
7915 pfile->line decremented. Diagnostics use logical lines. Update
7917 * cpplib.c (SEEN_EOL): New.
7918 (skip_rest_of_line, check_eol): Use it.
7919 (end_directive): Increase line number when accepting the newline
7920 at the end of a directive.
7921 (run_directive): Simplify.
7922 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
7923 (_cpp_do_file_change): Update to take buffer line number as an
7924 argument, and store the current map in the cpp_reader. Remove
7925 line number kludges.
7926 (_cpp_do__Pragma): Restore output position after a _Pragma.
7927 (cpp_push_buffer): Don't set output line or lineno.
7928 (_cpp_pop_buffer): Transfer more info from a faked buffer.
7929 Remove line kludge. Set output_line.
7930 * cppmacro.c (builtin_macro): Update handling of __LINE__.
7931 (parse_arg): Use logical lines.
7932 (save_lookahead_token): Save EOFs too now.
7933 * cppmain.c (struct printer): Fix comments.
7934 (printer_init): Simplify, let caller do errors.
7935 (scan_translation_unit, check_multiline_token, dump_macro): Update.
7936 (maybe_print_line): Simplify.
7937 (print_line): Don't print a linemarker if -P.
7938 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
7939 (cb_file_change): Simplify.
7940 * line-map.h (LAST_SOURCE_LINE): Fix.
7941 (CURRENT_LINE_MAP): New.
7943 2001-08-05 Bernd Schmidt <bernds@redhat.com>
7945 * doloop.c (doloop_modify_runtime): Properly compute number of
7946 iterations if loop was unrolled.
7948 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
7949 if their CSELIB_VAL_PTRs are.
7951 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
7952 (setup_spill_pointers): Initialize it.
7953 (spill_restore_mem): Set it.
7954 (do_spill, do_restore): Use it to add REG_INC note.
7955 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
7957 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
7958 asms if other insns are available.
7960 * config/ia64/ia64.c (condop_operator): New predicate.
7961 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
7962 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
7965 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
7966 temporary register than directly using a MEM.
7968 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
7970 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
7971 parameter in last change.
7973 2001-08-04 Zack Weinberg <zackw@panix.com>
7975 * sparc.md: Don't use #if inside C test expression.
7977 2001-08-04 Richard Henderson <rth@redhat.com>
7979 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
7981 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
7983 * cpphash.h (struct cpp_reader): New member directive_line.
7984 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
7985 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
7986 do_pragma): Pass line to callbacks.
7987 (start_directive): Record line of directive.
7988 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
7989 cb_include): Similarly.
7990 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
7993 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
7995 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
7998 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8000 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
8002 * reload1.c (fixup_abnormal_edges): New static function.
8005 * flow.c (need_fake_edge_p): New function.
8006 (flow_call_edges_add): Fix handling of noreturn and sibbling calls;
8007 avoid call insn to be very last insn in the insn stream.
8009 * profile.c (branch_prob): Call flow_call_edges_add instead of
8010 doing that by hand; cleanup cfg to re-merge basic blocks once
8013 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
8015 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
8016 are also on line-map.h.
8017 * cppfiles.c (stack_include_file): Update.
8018 * cpphash.h (struct cpp_buffer): New member return_at_eof.
8019 (_cpp_pop_buffer): New.
8020 * cppinit.c (cpp_destroy, cpp_finish): Update.
8021 (do_includes): Mark each buffer to return at EOF.
8022 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
8023 return as requested.
8024 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
8025 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
8026 * cpplib.h (cpp_pop_buffer): Remove.
8027 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
8028 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
8030 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
8032 (do_preprocessing): Update.
8033 * fix-header.c (read_scan_file): Update. No need to pop buffers.
8034 * c-parse.in (_yylex): Similarly.
8035 * scan-decls.c (scan_decls): Similarly.
8036 * line-map.h: Update comments.
8038 * objc/Make-lang.in (objc-act.o): Update dependencies.
8040 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8042 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
8043 and soft register for operand 0.
8044 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
8046 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8048 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
8049 register for operand 0.
8050 ("bitcmpqi_z_used"): Allow memory for operand 0.
8051 (split "bitcmpqi"): New split to handle address reg as operand 1.
8053 2001-08-04 Andreas Jaeger <aj@suse.de>
8055 * gcse.c: Revert Daniel's last patch.
8057 2001-08-03 Zack Weinberg <zackw@stanford.edu>
8059 * sparc-protos.h: Add prototypes for fp_zero_operand and
8061 * sh-protos.h: Add prototype for fpul_operand.
8063 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
8065 * doc/extend.texi (Other Builtins): Fix typo in last change.
8067 2001-08-03 Richard Henderson <rth@redhat.com>
8069 * target.h (gcc_target): Add asm_out.named_section,
8070 section_type_flags, have_named_sections.
8071 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
8072 (TARGET_HAVE_NAMED_SECTIONS): New.
8073 (TARGET_SECTION_TYPE_FLAGS): New.
8075 * Makefile.in (toplev.o): Depend on TARGET_H.
8076 (varasm.o, dbxout.o): Likewise.
8077 * c-common.c (decl_attributes): Check targetm.have_named_sections
8078 instead of ifdef ASM_OUTPUT_SECTION_NAME.
8079 * dbxout.c (dbxout_function_decl): Likewise.
8080 (dbxout_function_end): Likewise.
8081 * toplev.c (compile_file): Likewise.
8082 * varasm.c (exception_section): Likewise.
8083 * cp/decl2.c (finish_objects): Likewise.
8085 * defaults.h (EH_FRAME_SECTION): Remove.
8086 (EH_FRAME_SECTION_ASM_OP): Remove.
8087 (EH_FRAME_SECTION_NAME): New.
8088 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
8089 (UNIQUE_SECTION_P): Remove.
8090 * dwarf2out.c (SECTION_FORMAT): Remove.
8091 (ASM_OUTPUT_SECTION): Remove.
8092 (output_call_frame_info): Use named_section_flags.
8093 (output_comp_unit, dwarf2out_start_source_file): Likewise.
8094 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
8095 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
8096 * varasm.c (in_eh_frame, eh_frame_section): Remove.
8097 (named_section_flags): New.
8098 (named_section): Use it and targetm.section_type_flags.
8099 (resolve_unique_section): New.
8100 (assemble_start_function): Use it.
8101 (asm_emit_uninitialised, assemble_variable): Likewise.
8102 (default_section_type_flags): New.
8103 (default_no_named_section, default_elf_asm_named_section): New.
8104 (default_coff_asm_named_section, default_pe_asm_named_section): New.
8105 * output.h: Update varasm.c decls.
8106 (SECTION_*): New flags.
8108 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
8109 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
8111 * config/elfos.h (UNIQUE_SECTION_P): Remove.
8112 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
8113 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
8114 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
8115 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
8116 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
8117 * config/mips/elf.h, config/mips/elf64.h: Likewise.
8118 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
8119 * config/pa/pa64-hpux.h,
8121 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
8122 (TARGET_ASM_NAMED_SECTION): New.
8123 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
8124 * config/alpha/vms.h, config/arm/coff.h: Likewise.
8125 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
8126 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
8127 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
8128 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
8129 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
8130 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
8131 * config/i386/sco5.h, config/i386/win32.h: Likewise.
8132 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
8133 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
8134 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
8135 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
8136 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
8137 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
8138 * config/sparc/sysv4.h: Likewise.
8140 * config/nextstep.h: Error until named sections implemented.
8142 * config/a29k/a29k.c (a29k_asm_named_section): New.
8143 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
8144 (vms_section_type_flags, vms_asm_named_section): New.
8145 * config/arm/arm.c (arm_elf_asm_named_section): New.
8146 * config/avr/avr.c (asm_output_section_name): Remove.
8147 * config/avr/avr-protos.h: Update.
8148 * config/c4x/c4x.c (c4x_asm_named_section): New.
8149 * config/h8300/h8300.c (h8300_asm_named_section): New.
8150 * config/i386/i386.c (sco_asm_named_section): New.
8151 * config/i386/winnt.c (SECTION_PE_SHARED): New.
8152 (i386_pe_section_type_flags): New.
8153 (i386_pe_asm_named_section): New.
8154 * config/i386/i386-protos.h: Update.
8155 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
8156 * config/mcore/mcore.c (mcore_asm_named_section): New.
8157 * config/mips/mips.c (iris6_asm_named_section): New.
8158 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
8159 instead of UNIQUE_SECTION_P.
8160 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
8161 (xcoff_asm_named_section): New.
8162 * config/sh/sh.c (sh_asm_named_section): New.
8163 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
8165 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
8166 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
8167 (EH_FRAME_SECTION_NAME): New.
8168 (EXCEPTION_SECTION): New.
8169 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
8170 (DEBUG_*_SECTION): Remove.
8171 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
8172 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
8173 (EH_FRAME_SECTION_ASM_OP): Remove.
8175 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
8176 (ASM_OUTPUT_SECTION_NAME): Remove.
8177 (TARGET_ASM_NAMED_SECTION): New.
8178 (TARGET_HAVE_NAMED_SECTIONS): New.
8179 (TARGET_SECTION_TYPE_FLAGS): New.
8180 (EH_FRAME_SECTION_ASM_OP): Remove.
8181 (EH_FRAME_SECTION_NAME): New.
8183 2001-08-03 Zack Weinberg <zackw@stanford.edu>
8185 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
8186 for complex expressions when cfun == 0.
8187 * doc/extend.texi: Document that __builtin_constant_p can be
8188 used in data initializers as well as functions.
8190 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
8192 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
8193 variable I locally, instead of expecting a declaration in the
8196 2001-08-03 Richard Henderson <rth@redhat.com>
8198 * except.c (collect_one_action_chain): Add an explicit cleanup
8199 action if regions surrounding a catch were encoded entirely
8200 within the call-site entry.
8202 2001-08-03 Richard Henderson <rth@redhat.com>
8204 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
8205 don't take REGNO of a non-register.
8207 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
8209 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
8210 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
8211 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
8212 (__gthread_mutex_init_function): New function for mutex initialization.
8214 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
8216 * Makefile.in: Revert screwed up commit.
8218 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8220 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
8221 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
8222 merged by linker script to get a final _exit().
8223 (__do_global_dtors): New for destructor handling in specific exit
8225 (__do_global_ctors): New for constructors in specific install section.
8226 (__map_data_section): Map data sections before running constructors.
8227 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
8228 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
8229 (DTORS_SECTION_ASM_OP): Likewise.
8230 (CTORS_SECTION_FUNCTION): Define to force a reference to
8232 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
8234 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
8236 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
8238 * Makefile.in: Add df.h to gcse.c dependencies.
8240 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
8242 * varasm.c (output_constant_def_contents): Use for the length of a
8243 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
8244 depending on which is larger.
8246 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
8248 * gcse.c: Include df.h for use as a dataflow analyzer.
8250 Declaration of reg_set_info: gone.
8251 New df_analyzer variable used by store motion.
8252 (reg_set_info): Deleted.
8253 (mark_mem_regs): New function, analyze regs used by a mem.
8254 (store_ops_ok): Use dataflow analyzer results to determine if
8255 necessary regs are changed in the block.
8256 (find_moveable_store): Remove check for symbol ref, we can handle
8257 much more complex expressions now.
8258 (compute_store_table): Remove most of the code, it's unnecessary
8259 now that the dataflow analyzer records the info for us.
8260 (store_killed_after): Add parameter to say whether to do the
8261 store_ops_okay test, used to speed up testing when we already know
8262 the answer, and just want to know if the store itself was killed.
8263 (build_store_vector): Largely rewritten to calculate the various
8264 vectors properly, and somewhat optimized.
8265 (store_motion): Init the df_analyzer, get REG_DEF chains.
8266 Also handle trapping expressions (since mems almost always trap)
8267 (simple_mem): Redefine what a simple mem is.
8269 2001-08-03 DJ Delorie <dj@redhat.com>
8271 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
8272 set from a constant part of the condition.
8274 2001-08-01 Andrew Cagney <ac131313@redhat.com>
8276 * mkdeps.c (deps_add_default_target): Make local variable
8277 ``start'' a const char pointer.
8278 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
8280 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8282 * doc/install.texi (Configuration): Fix markup.
8283 (Specific, i?86-*-udk): Likewise.
8284 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
8286 Document --enable-threads and --enable-libgcj status.
8287 (Specific, mips-sgi-irix*): Canonicalize triples.
8288 (Specific, mips-sgi-irix5): Warn about problems with this config.
8289 Mention required GNU as patch.
8290 Native assembler problems are fixed.
8291 (Specific, mips-sgi-irix6): Update O32 ABI support status.
8292 Document --enable-threads and --enable-libgcj status.
8294 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
8296 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
8299 2001-08-03 Richard Henderson <rth@redhat.com>
8301 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
8304 2001-08-03 Richard Henderson <rth@redhat.com>
8306 * rtlanal.c (find_first_parameter_load): Stop if we
8307 reach a CODE_LABEL at BOUNDARY.
8309 2001-08-03 Richard Henderson <rth@redhat.com>
8311 * config/alpha/alpha.md (force_movdi): New insn.
8312 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
8313 Tweek FRP marking of VMS prologue insns.
8314 * config/alpha/vms.h (EPILOGUE_USES): New.
8316 2001-08-02 Richard Henderson <rth@redhat.com>
8318 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
8320 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
8322 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
8323 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
8324 config/convex/convex.h, config/d30v/d30v.c,
8325 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8326 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
8327 config/mips/mips.h, config/mn10200/mn10200.h,
8328 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
8329 config/v850/v850.h, config/vax/openbsd.h,
8330 config/vax/openbsd1.h, config/vax/ultrix.h,
8331 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
8332 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
8333 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
8334 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
8335 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
8336 in comments and documentation.
8338 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
8342 * Makefile.in (line-map.o): New.
8343 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
8344 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
8345 * cpperror.c (print_containing_files): Similarly.
8346 (print_location): Update. Don't output a space before _Pragma.
8347 * cppfiles.c (stack_include_file): Set to line 1 immediately.
8348 (stack_include_filee, cpp_make_system_header): Update.
8349 (_cpp_execute_include): Get logical line number right for calling
8350 as-yet-unterminated #include.
8351 * cpphash.h (struct cpp_reader): Add line_maps.
8352 (_cpp_do_file_change): Update.
8353 * cppinit.c (cpp_create_reader): Initialize line maps.
8354 (cpp_destroy): Destroy line maps.
8355 (cpp_start_read): Get logical line number right.
8356 * cpplex.c (parse_string): Only warn once for multi-line strings.
8357 Use boolean variable for null warning.
8358 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
8360 (do_include_common): End the directive early.
8361 (do_line): Don't warn about out-of-range lines in preprocessed
8362 source. Update. Remove unused variables.
8363 (_cpp_do_file_change): Update for new line mapping.
8364 (pragma_cb): New typedef.
8365 (cpp_register_pragma): Stop looking ahead before calling the
8367 (do_pragma_system_header): End directive early.
8368 (cpp_get_line_maps): New.
8369 (cpp_pop_buffer): Fudge logical line. Update.
8370 * cpplib.h: Include line-map.h
8371 (enum cpp_fc_reason): Remove.
8372 (struct cpp_file_change): Update.
8373 (cpp_get_line_maps): New.
8374 * cppmain.c (struct_printer): New member map.
8375 (cb_file_change): Update for new mappings.
8376 * fix-header.c (cb_file_change): Similarly.
8378 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
8380 * Makefile.in (libgcc.mk): Define mkinstalldirs.
8381 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
8383 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
8385 * config/vax/vax.c: include expr.h.
8387 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
8389 * Makefile.in ($(srcdir)/configure): Only rebuild in
8391 ($(srcdir)/config.in): Only define in maintainer mode.
8392 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
8394 2001-08-02 David Edelsohn <edelsohn@gnu.org>
8396 * doc/install.texi (Install GCC: Binaries): Update Bull info.
8398 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8400 * gcc.c (set_collect_gcc_options): New function, split out from
8402 Ignore elided switches.
8403 (do_spec_1): Invoke before executing command.
8404 (set_input): Export.
8405 Move declaration ...
8406 * gcc.h (set_input): ... here.
8407 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
8410 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
8413 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
8415 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
8417 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
8419 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
8420 for the unnamed instructions it expands to.
8422 2001-08-02 Richard Henderson <rth@redhat.com>
8424 * regclass.c (call_really_used_regs): Conditionally define.
8425 (init_reg_sets_1): Don't use it if not defined.
8426 (fix_register): Similarly, don't set it.
8428 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8430 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
8431 Correct comment that had been missed in the previous change.
8433 2001-08-01 Stan Shebs <shebs@apple.com>
8435 * config/darwin.c (machopic_stub_name): Try matching by name.
8436 (update_stubs): New function.
8437 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
8440 2001-08-01 Richard Henderson <rth@redhat.com>
8442 * except.c (output_function_exception_table): Use assemble_align.
8443 * varasm.c (assemble_eh_label): Remove.
8444 (assemble_eh_align, assemble_eh_integer): Remove.
8446 2001-08-01 Robert Lipe <robertl@caldera.com>
8448 * dwarfout.c: Remove reference to README.DWARF.
8450 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
8452 * regclass.c (call_really_used_regs): New array for registers which
8453 are actually used by a call.
8454 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
8456 (fix_register): Set call_really_used too.
8457 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
8458 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
8460 2001-08-01 Richard Henderson <rth@redhat.com>
8462 * read-rtl.c (read_name): Consider \r whitespace.
8464 2001-07-11 Andrew Cagney <ac131313@redhat.com>
8466 * config.gcc: Recognize powerpc-*-netbsd*.
8468 * doc/install.texi (Host/target specific installation notes for
8469 GCC): Mention powerpc-*-netbsd*.
8471 * config/rs6000/netbsd.h: New file.
8472 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
8473 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
8474 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
8475 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
8476 (TARGET_VERSION): Redefine.
8478 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
8479 mcall-netbsd as a match for mcall-sysv.
8480 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
8481 (ncrti.S, ncrtn.S): New targets.
8482 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
8484 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
8485 "netbsd' as a V4 ABI.
8486 (ASM_SPEC): Check for -mcall-netbsd.
8487 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
8488 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
8489 (LIB_SPEC, ENDFILE_SPEC): Ditto.
8490 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
8491 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
8492 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
8493 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
8495 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
8496 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
8498 2001-08-01 Mark Kettenis <kettenis@gnu.org>
8500 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
8501 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
8502 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
8503 including "unwind-pe.h".
8505 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
8507 * rs6000.md (define_splits): Kill unused constraints.
8509 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
8510 Jan Hubicka <jh@suse.cz>
8512 * function.c (thread_prologue_and_epilogue_insns): Kill code
8513 dealing with non-existent CFG.
8515 2001-08-01 Kazu Hirata <kazu@hxi.com>
8517 * alias.c: Fix comment formatting.
8518 * bitmap.c: Likewise.
8519 * builtins.c: Likewise.
8520 * calls.c: Likewise.
8521 * c-common.c: Likewise.
8522 * c-decl.c: Likewise.
8523 * c-dump.c: Likewise.
8524 * c-lex.c: Likewise.
8525 * collect2.c: Likewise.
8526 * combine.c: Likewise.
8527 * conflict.c: Likewise.
8528 * cppfiles.c: Likewise.
8529 * cppinit.c: Likewise.
8530 * cpplex.c: Likewise.
8531 * cpplib.c: Likewise.
8532 * cppmacro.c: Likewise.
8533 * cppspec.c: Likewise.
8534 * c-pragma.c: Likewise.
8535 * crtstuff.c: Likewise.
8537 * cselib.c: Likewise.
8538 * c-semantics.c: Likewise.
8539 * c-typeck.c: Likewise.
8541 2001-08-01 H.J. Lu <hjl@gnu.org>
8543 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
8545 2001-08-01 H.J. Lu <hjl@gnu.org>
8547 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
8549 2001-08-01 Ziemowit Laski <zlaski@apple.com>
8551 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
8552 contextualizing Objective-C class name lookup by the lexer.
8553 (typespec_reserved_nonattr): Disable ObjC class name lookup after
8555 (protocoldef): Add support for forward @protocol declarations.
8556 (yylexname): Suppress ObjC class name lookup in certain contexts;
8557 re-enable after lookup is complete.
8558 (_yylex): Re-enable ObjC class name lookup when certain
8559 punctuation marks are seen.
8561 * objc/objc-act.c (check_protocol_recursively): New function used
8562 for finding circular dependencies in protocols.
8563 (objc_declare_protocols): New function for handling forward
8564 @protocol declarations.
8565 (receiver_is_class_object): Detect the case when 'self' is used
8566 inside of a class method.
8567 (build_message_expr): Issue a warning if class method is desired
8568 but instance method is found instead.
8569 (conforms_to_protocol): Streamline.
8570 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
8571 protocol Foo, even if 'Bar foo' does not.
8572 (check_protocols): Streamline.
8573 (start_protocol): Add checks for circular and duplicate protocol
8575 (encode_aggregate_within): For typedefs of structs, encode the
8577 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
8578 (objc_declare_protocols): New prototype.
8580 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
8582 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
8583 * cpplex.c (handle_newline): Update prototype. Maintain logical
8585 (skip_escaped_newlines, skip_block_comment, parse_string):
8587 (_cpp_lex_token): Update, and store token position within the token.
8588 * cpplib.h (struct cpp_token): Add line and column entries.
8589 * cppmacro.c (replace_args): Position stringified tokens correctly.
8591 2001-08-01 Andreas Jaeger <aj@suse.de>
8593 * basic-block.h: Add prototype for last_loop_beg_note.
8595 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
8597 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
8598 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
8600 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
8601 while handling WITH_CLEANUP_EXPR node. Use second operand calling
8602 expand_decl_cleanup.
8603 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
8605 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
8606 operand while calling simple_cst_equal.
8607 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
8608 operand is the cleanup expression, the third is the RTL_EXPR.
8609 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
8611 2001-07-31 Jeff Sturm <jsturm@one-point.com>
8613 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
8615 2001-07-31 matthew green <mrg@eterna.com.au>
8617 * config.gcc (i386-*-netbsdelf): New description.
8618 * config/i386/netbsd-elf.h: New file.
8620 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
8622 * loop.c (check_dbra_loop): Use single_set to compute
8625 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
8627 PowerPC reorg and support for powerpc64-*-linux*.
8629 Also fixes emitting of constants on 32 bit and 64 bit
8632 * config.gcc: powerpc64-*-linux* is a new target.
8633 Things that needed aix.h now also include xcoff.h
8635 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
8637 Move AIX specific stuff into aix.h.
8638 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
8639 with more than just XCOFF now.
8640 (SET_ASM_OP): Remove, now defined where needed.
8641 (FUNCTION_PROLOGUE): New macro definition.
8642 (FUNCTION_EPILOGUE): New macro definition.
8643 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
8645 * config/rs6000/xcoff.h: New file.
8647 * config/rs6000/linux64.h: New file.
8649 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
8651 2001-07-31 Alan Modra <amodra@bigpond.net.au>
8653 * rs6000.c (print_operand_address): Handle ELF syntax.
8654 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
8655 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
8656 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
8658 2001-07-31 David Edelsohn <edelsohn@gnu.org>
8660 * rs6000.c (rs6000_override_options): Only disable
8661 flag_function_sections for XCOFF.
8662 (exact_log2_cint_operand): New predicate.
8663 (reg_or_{add,sub}_cint64_operand): New predicates.
8664 (add_operand): Compare CONST_INT with fewer function calls.
8665 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
8666 (print_operand, case 'p'): Ensure positive operand.
8667 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
8668 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
8669 (PREDICATE_CODES): Add new predicates.
8670 * rs6000.md (addsi3): Split 32-bit constants more correctly.
8671 (divsi3, modsi3): Ensure positive power-of-2.
8672 (adddi3): Use new predicate. Split 32-bit constants more
8673 correctly. Re-arrange splitter to handle any constant.
8674 (subdi3): Use new predicate.
8675 (divdi3, moddi3): Ensure positive power-of-2.
8676 (movdi): Use rs6000_emit_set_const.
8677 (load_toc_v4_pic_di): Delete.
8679 2001-07-31 Graham Stott <grahams@redhat.com>
8681 * function.c (pad_below): Revert 2001-07-26 patch.
8683 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
8685 * reg-stack (convert_regs_1): Fix best edge condition.
8687 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
8689 * jump.c (duplicate_loop_exit_test): Better test for jumps
8690 entering the loop; create loop pre_header.
8692 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
8694 * doc/install.texi: Add s390 and s390x as new targets.
8695 * doc/invoke.texi: Add documentation of S/390 and zSeries
8697 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
8699 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
8701 * config/m68k/m68k.md: Replace all general_operand with
8702 nonimmediate_operand for all destinations.
8703 * config/m68k/m68k.c (not_sp_operand): Likewise.
8705 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
8707 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
8709 2001-07-30 Richard Henderson <rth@redhat.com>
8711 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
8712 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
8714 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
8716 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
8717 Add missing doc strings
8718 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
8719 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
8721 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
8723 * i386.c (ix86_output_main_function_alignment_hack): New function.
8724 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
8726 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
8727 edges by EDGE_DFS_BACK flag.
8728 (dump_edge_info): Add dfs_back flag.
8729 * basic-block.h (EDGE_DFS_BACK): New constant.
8730 (mark_dfs_back_edges): Declare.
8731 * alias.c (loop_p): Remove.
8732 (mark_constant_function): Use mark_dfs_back_edges.
8734 * reg-stack.c (block_info_def): Add predecesors counter and stack_out.
8735 (reg_to_stack): Call mark_dfs_back_edges; count the predecesors.
8736 (compensate_edge): Break out from ...
8737 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
8738 (convert_regs_2): Set block_done once block is really done;
8739 Do updating of the predecesors counts.
8741 * toplev.c (rest_of_compilation): Recompute block_for_insn
8742 before post-reload cfg_cleanup.
8743 * function.c (thread_prologue_epilogue_insns):
8744 Call set_block_for_new_insns when emitting prologue directly.
8746 2001-07-30 Andreas Jaeger <aj@suse.de>
8748 * jump.c: Add prototype for mark_modified_reg.
8750 * cse.c (set_live_p): Add unused attribute.
8752 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
8754 (scan_for_source_files): Use long for count to avoid overflow.
8755 (output_data): Likewise.
8756 (output_data): Don't use string concatatenation to silence gcc
8759 * predict.c: Fix typos and grammar.
8761 * gcse.c (insert_insn_end_bb): Remove unused variables.
8763 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
8765 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
8766 (attempt_auto_inc): LIkewise.
8767 (mark_used_reg): Likewise.
8768 (try_pre_increment_1): Likewise.
8769 * regclass.c (regclass): Likewise.
8770 * global.c (allocno_compare): Update comment; change scaling factor.
8771 * local-alloc.c (QTY_CMP_PRI): Likewise.
8772 * regs.h (REG_FREQ_FROM_BB): New.
8773 (REG_FREQ_MAX): Likewise.
8775 2001-07-30 H.J. Lu <hjl@gnu.org>
8777 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
8780 2001-07-30 H.J. Lu (hjl@gnu.org)
8782 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
8783 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
8784 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
8786 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
8788 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
8789 as -mthumb-interwork when -mcpu=arm7 is specified.
8791 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
8793 * predict.def (noreturn, loop branch, loop exit): Mark as first
8796 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
8798 * combine.c (try_combine): Avoid barrier after noop jumps.
8800 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
8802 * cpphash.h (struct cpp_reader): Remove import_warning.
8803 * cpplib.c (skip_rest_of_line): Don't bother turning off
8805 (parse_include): Move include handling to...
8806 (do_include_common): ... here. Move import warning from...
8807 (do_import): ... here.
8808 (do_pragma_poison): Don't do a callback for poison identifiers.
8809 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
8810 * cppmain.c (setup_callbacks): Similarly.
8812 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
8814 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
8815 handle multiple sets.
8816 * except.c (sjlj_mark_call_sites): .... here.
8817 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
8819 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
8821 Suggested by Richard Henderson and Richard Kenner:
8822 * combine.c (recog_for_combine): Use the fake recog
8823 only if instruction does not match.
8824 * rtl.h (NOOP_MOVE_INSN_CODE): New.
8825 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
8827 * combine.c (try_combine): Discover noop jump as direct jump.
8829 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
8831 * df.c (df_rd_global_compute): Add successors to worklist, not
8833 (df_ru_global_compute): Ditto.
8835 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
8837 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
8838 increment REG_N_SETS.
8840 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
8842 * sbitmap.h: New prototype for sbitmap_a_xor_b.
8844 * sbitmap.c (sbitmap_a_xor_b): New function.
8845 ifdef the basic block stuff on IN_GCC.
8847 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
8849 * cppexp.c (parse_defined): Always record the macro name.
8850 (lex): Don't worry about identifiers, or special-case
8852 (_cpp_parse_expr): Figure out at the end of the routine
8853 whether we saw a valid !defined() expression.
8854 * cppfiles.c (stack_include_file): Update for mi_valid.
8855 (_cpp_pop_file_buffer): Similarly.
8856 * cpplex.c (_cpp_lex_token): Similarly.
8857 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
8858 mi_if_not_defined, mi_lexed): Remove.
8860 * cpplib.c (do_if): Simplify.
8861 (do_endif, push_conditional, _cpp_handle_directive): Update
8862 for renaming of mi_state to mi_valid.
8864 * cpp.texi: Add index entries for digraphs, and add comment
8865 that C++ refers to them as alternative tokens.
8867 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
8869 * basic-block.h (CLEANUP_PRE_LOOP): New.
8870 * except.c (finish_eh_generation): Update call of cleanup_cfg.
8871 * sibcall.c (optimize_sibling_calls): Likewise.
8872 * toplev.c (rest_of_compilation): Likewise.
8873 * flow.c (try_forward_edges): Take argument MODE;
8874 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
8875 (try_optimize_cfg): Update call of try_forward_edges.
8877 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
8878 Jan Hubicka <jh@suse.cz>
8880 * (validate_replace_rtx_1): Fix simplification of MINUS.
8882 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
8884 PR preprocessor/3669
8885 * cppinit.c (init_dependency_output): Turn off dump requests
8886 if sending dependencies to stdout.
8888 2001-07-28 Richard Henderson <rth@redhat.com>
8890 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
8893 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
8895 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
8897 2001-07-28 Kazu Hirata <kazu@hxi.com>
8899 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
8900 is VAR_DECL first to prevent an ICE.
8902 2001-07-28 Richard Henderson <rth@redhat.com>
8904 * varasm.c (immed_real_const_1): Don't elide special cases for
8906 (clear_const_double_mem): Clear const_tiny_rtx too.
8908 2001-07-28 Richard Henderson <rth@redhat.com>
8910 * dwarf2out.c (dw_val_class_offset): New.
8911 (struct dw_ranges_struct, dw_ranges_ref): New.
8912 (ranges_table, ranges_table_allocated): New.
8913 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
8914 (add_AT_offset, add_ranges, output_ranges): New.
8915 (print_die, output_die): Handle dw_val_class_offset.
8916 (attr_checksum, size_of_die, value_format): Likewise.
8917 (gen_lexical_block_die): Handle non-contiguous blocks.
8918 (gen_block_die): Likewise.
8919 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
8920 if needed. Dump the ranges table.
8921 * final.c (final_start_function): Remove unnecessary notes and
8922 rebuild the block tree before numbering the blocks.
8923 * function.c (reorder_blocks_0): Walk the existing block tree
8924 to unmark all blocks.
8925 (reorder_blocks_1): Create block fragments when duplicate block
8927 (reorder_fix_fragments): New.
8928 (reorder_blocks): Call it.
8929 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
8931 2001-07-28 Richard Henderson <rth@redhat.com>
8933 * emit-rtl.c (adjust_address): Make a copy of the memory address.
8935 2001-07-28 Richard Henderson <rth@redhat.com>
8937 * flow.c (add_to_mem_set_list): New function.
8938 (init_propagate_block_info): Use it.
8939 (mark_set_1): Likewise.
8940 (insn_dead_p): Canonicalize memory address for dead store
8941 comparison. Allow wider mode stores to kill narrower mode stores.
8942 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
8943 (invalidate_mems_from_set): Don't handle MEMs.
8945 2001-07-28 Kazu Hirata <kazu@hxi.com>
8947 * config/h8300/h8300.h: Fix formatting.
8949 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
8951 * basic-block.h (EDGE_FREQUENCY): New macro.
8952 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
8954 * flow.c (find_sub_basic_blocks): Likewise.
8955 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
8956 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
8958 * predict.c (DEF_PREDICTOR): New argument FLAGS.
8959 (HITRATE): New macro.
8960 (PRED_FLAG_FIRST_MATCH): New constant.
8961 (predictor_info): New field flgags.
8962 (combine_predictions_for_insn): Use DS theory to combine
8963 probabilities; set the edge probabilities when finished.
8964 (estimate_probability): Avoid duplicated matches
8965 of LOOP_BRANCH heuristics for nested loops; update comment.
8966 * predict.def: Add flags for each prediction, set probabilities
8967 according to B&L paper.
8968 * predict.h (DEF_PREDICTOR): New argument FLAGS.
8970 * profile.c (compute_branch_probabilities): Cleanup way the edge
8971 probabilities are computed and REG_BR_PROB notes are dropped; if
8972 values does not match, emit error.
8973 (init_branch_prob): Do error instead of warning when profile driven
8974 feedback is missing or corrupt.
8976 2001-07-27 DJ Delorie <dj@redhat.com>
8978 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
8979 against a constant, try to adjust the compare to have the desired
8980 constant in it so that min/max optimizations happen more often.
8982 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
8984 * flow.c (last_loop_beg_note): New function.
8985 (redirect_edge_and_branch): Use it.
8986 (split_edge): Likewise.
8988 * alias.c (loop_p): Avoid uninitialized memory access.
8990 * flow.c (try_forward_edges): Avoid accessing freed memory.
8992 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
8995 2001-07-26 Andrew Haley <aph@redhat.com>
8996 Joern Rennecke <amylaar@redhat.com>
8998 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
8999 (SUBTARGET_CPP_ENDIAN_SPEC): New.
9000 (SUBTARGET_CPP_SPEC): New.
9002 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
9003 (SUBTARGET_CPP_PTR_SPEC): New.
9004 (CPP_DEFAULT_CPU_SPEC): New.
9005 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
9006 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
9007 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
9008 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
9009 (SUBTARGET_CPP_SPEC): Define as an empty string.
9011 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9013 * doc/install.texi (Configuration): Properly link the host
9014 specific instructions also when generating HTML.
9016 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
9018 * flow.c (redirect_edge_and_branch_force): Test
9019 target->global_live_at_start.
9021 2001-07-26 Richard Henderson <rth@redhat.com>
9023 * simplify-rtx.c (avoid_constant_pool_reference): Export.
9024 * rtl.h (avoid_constant_pool_reference): Declare it.
9025 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
9026 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
9028 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
9030 * rtl.h (cleanup_barriers): Declare.
9031 * jump.c (cleanup_barriers): New function.
9032 * toplev.c (rest_of_compilation): Call cleanup_barriers
9033 before loop optimizer and after bb_reorder.
9035 * flow.c (back_edge_of_syntactic_loop_p): New.
9036 (split_edge): Use it.
9038 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9040 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
9042 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
9044 * cse.c (cse_process_notes): Replace any registers if the address
9047 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
9049 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
9050 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
9051 (propagate_block): Update prototype.
9052 * flow.c (update_life_info): Simplify the CFG and
9053 recalculate the global regs which are alive when
9054 removing dead code during a global update.
9055 (propagate_block): Return non-zero if an INSN is
9058 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9060 * Makefile.in (LIBICONV): Define.
9062 2001-07-26 Catherine Moore <clm@redhat.com>
9064 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
9065 of conditional to avoid tree checking errors.
9067 2001-07-26 Kazu Hirata <kazu@hxi.com>
9069 * regmove.c (regmove_optimize): Don't replace a reg with
9070 another reg of a different mode.
9072 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
9074 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
9075 limit length of dependency flush list.
9076 * params.h (MAX_PENDING_LIST_LENGTH): Define.
9077 * sched-int.h (struct deps): Add pending_flush_length field.
9078 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
9079 has 1 element in it.
9080 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
9081 (sched_analyze): After a jump, if the pending memory flush list is too
9082 large, flush the pending lists.
9083 (init_deps): Initialize pending_flush_length to 0.
9084 * doc/invoke.texi (max_pending_list_length): Document parameter.
9086 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
9088 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
9089 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
9090 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
9092 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
9094 * cpphash.h (struct_lexer_state): Delete was_skipping.
9095 Move skipping here from struct cpp_reader.
9096 * cpplex.c (parse_identifier): Update.
9097 (_cpp_lex_token): Don't skip tokens in a directive.
9098 * cpplib.c (struct if_stack): Update.
9099 (start_directive, end_directive): Don't change skipping state.
9100 (_cpp_handle_directive): Update.
9101 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
9102 (do_else, do_endif): Update; only check for excess tokens if not
9103 in a skipped conditional block.
9104 (push_conditional): Update for new struct if_stack.
9106 2001-07-26 Graham Stott <grahams@redhat.com>
9108 * function.c (locate_and_pad_parm): Also pad initial offset
9109 so that the total argument size also includes the padding.
9111 2001-07-26 Graham Stott <grahams@redhat.com>
9113 * gensupport.c (alter_output_for_insn): Correct enable checking failure
9114 change XSTR to XTMPL.
9116 (process_one_cond_exec): Likewise
9118 2001-07-25 Richard Henderson <rth@redhat.com>
9120 * varasm.c (assemble_variable): Create DECL_RTL before setting
9123 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
9125 * predict.c (estimate_probability): Avoid duplicated predictions.
9127 * loop.c (find_and_verify_loops): Grok multiple barriers.
9129 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9131 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
9133 * dbxout.c: Consistently use putc instead of fputc.
9134 (print_wide_int): New function; call instead of direct fprintf.
9135 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
9136 (dbxout_type_fields, dbxout_type_method_1): Likewise.
9137 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
9138 (print_int_cst_octal): Likewise.
9139 (print_octal): Show we wrote characters.
9140 (dbxout_type): Set have_used_extensions in more places.
9142 2001-07-25 Catherine Moore <clm@redhat.com>
9144 * config/v850/v850.c (v850_va_arg): Use addr
9145 instead of valist to build incr.
9147 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
9149 * flow.c (delete_dead_jumptables): New function.
9150 (life_analyzis): Call it.
9151 * bb-reorder.c (skip_insns_after_block): Handle contradictory
9154 2001-07-25 Richard Henderson <rth@redhat.com>
9156 * except.c (reachable_handlers): Handle a region being removed
9157 out from under a RESX.
9159 2001-07-25 Richard Henderson <rth@redhat.com>
9161 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
9162 swap GE/GT if it is an fp comparison.
9164 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
9166 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
9169 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
9171 * ssa.c (rename_insn_1): Do not wrap an assignment to a
9172 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
9175 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
9177 (visit_expression): When attempting to simplify an expression,
9178 retrieve any modes for arguments before they are simplified
9181 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
9182 Janis Johnson <janis@us.ibm.com>
9184 * stmt.c (expand_goto): A nonlocal goto can be a call too.
9185 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
9186 pointer parameters to match documented usage of nonlocal_goto.
9187 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
9188 parameters to their correct order.
9189 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
9190 parameters to their correct order.
9192 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
9194 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
9196 2001-07-25 Jan Hubicka <jh@suse.cz>
9197 Richard Henderson <rth@redhat.com>
9199 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
9201 (make_edges): New argument update_p; populate the edge cache if set.
9202 (find_basic_blocks): Update make_edges invocation.
9204 2001-07-24 Joel Sherrill <joel@OARcorp.com>
9206 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
9208 2001-07-24 Joel Sherrill <joel@OARcorp.com>
9210 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
9211 -Acpu and -Amachine.h.
9212 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
9213 Corrected header to say ELF not a.out.
9214 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
9215 when given -msoft-float.
9217 2001-07-24 Joel Sherrill <joel@OARcorp.com>
9219 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
9220 extra multilib parts like arm-elf.
9221 (i960-*-coff*, i960-*-rtems): Should not use collect2.
9222 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
9223 crtfini.o as extra multilib parts.
9225 2001-07-24 Joel Sherrill <joel@OARcorp.com>
9227 * configure.in: Add rtems as a supported thread model.
9228 * gthr-rtems.h: Add missing entry point __gthread_active_p.
9229 * configure: Rebuilt.
9231 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
9233 * stor-layout.c (get_mode_alignment): make it work when
9234 BITS_PER_UNIT is not a power of two.
9235 * builtins.c (get_pointer_alignment): Likewise.
9237 2001-07-24 Richard Henderson <rth@redhat.com>
9239 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
9240 the retrieved constant into the expected mode.
9242 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
9244 * flow.c (try_simplify_condjump): Avoid duplicated edges.
9245 (verify_flow_info): Check for duplicated edges; clarify
9248 * flow.c (block_label): Update basic_block_for_insn.
9249 (commit_edge_insertions): Call compute_bb_for_insn.
9251 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
9254 * flow.c (redirect_edge_and_branch,
9255 try_optimize_cfg): Use redirect_edge_succ_nodup
9256 (redirect_edge_succ_nodup): New.
9257 * basic_block.h (redirect_edge_succ_nodup): Declare.
9259 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
9262 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9264 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
9265 (try_crossjump_to_edge): Update commetns.
9266 (try_crossjump_bb): Likewise.
9268 2001-07-24 Richard Henderson <rth@redhat.com>
9270 * combine.c (distribute_notes): Move set of need_refresh
9271 for noop_move_p down to catch all cases.
9273 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
9275 * recog.c (split_all_insns_noflow): New.
9276 * rtl.h (split_all_insns_noflow): Declare.
9277 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
9278 * m68hc11.c (m68hc11_reorg): Likewise.
9279 * sh.c (machine_dependent_reorg): Likewise.
9280 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
9283 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
9285 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
9286 (ashlsi3_n splitter): Likewise.
9287 (lshrsi3_n splitter): Likewise.
9289 (GOTaddr2picreg): Make const SImode.
9290 (sym_label2reg): Likewise.
9291 (symGOT2reg): Likewise.
9292 (symGOTOFF2reg) Likewise.
9294 (casesi_worker_0): Make unspec SImode.
9296 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
9298 * config/sh/sh.c (barrier_align): Check that an operand really is
9299 an insn before extracting its INSN_CODE.
9301 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
9303 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
9306 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
9307 for SImode to prevent overflow.
9309 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9311 * config/mips/irix6-libc-compat.c: New file.
9312 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
9313 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
9316 2001-07-24 lars brinkhoff <lars@nocrew.org>
9318 * rtl.texi (REG_POINTER): Document.
9319 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
9320 QFmode, HFmode, TQFmode, QCmode, and HCmode.
9322 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
9324 * flow.c (delete_noop_moves): Do not confuse libcall regions.
9326 2001-07-23 Richard Henderson <rth@redhat.com>
9328 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
9330 2001-07-23 Kazu Hirata <kazu@hxi.com>
9332 * config/h8300/h8300-protos.h: Add a prototype for
9333 general_operand_dst_push.
9334 * config/h8300/h8300.c (general_operand_dst_push): New.
9335 * config/h8300/h8300.h (OK_FOR_T): New.
9336 (EXTRA_CONSTRAINT): Use it.
9337 * config/h8300/h8300.md (movqi_push): Remove and integrate into
9338 the existing movqi pattern.
9339 (movhi_push): Likewise.
9341 * reload.c: Fix comment typos.
9343 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
9345 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
9347 2001-07-23 H.J. Lu (hjl@gnu.org)
9349 * doc/extend.texi: Update __builtin_return_address and
9350 __builtin_frame_address.
9352 2001-07-23 Richard Henderson <rth@redhat.com>
9354 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
9356 * config/i386/i386.md: New setcc+movzbl peephole2.
9358 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
9360 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
9361 * objc/objc-act.c: Include debug.h.
9362 (synth_module_prologue): Save and restore debug hooks too.
9364 2001-07-23 lars brinkhoff <lars@nocrew.org>
9366 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
9367 and C4X_FLOAT_FORMAT.
9368 (BOOL_TYPE_SIZE): Document.
9370 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
9372 * unroll.c (loop_iterations): Fix miscalculation of initial
9375 2001-07-13 Andrew Haley <aph@redhat.com>
9377 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
9378 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
9379 * config/sh/sh.c (sh_can_redirect_branch): New function.
9380 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
9381 * reorg.c (steal_delay_list_from_target): Use
9382 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
9384 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
9386 * flow.c (try_simplify_condjump): Unlink insn chain on
9387 fallthru edge; use can_fallthru.
9389 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
9391 * basic-block.h (find_sub_basic_block): Declare.
9392 * flow.c (make_edges): New arguments MIN and MAX;
9393 (find_sub_basic_blocks): Revamp to use make_edges
9394 and purge_dead_edges.
9395 (find_basic_blocks): Update call of find_sub_basic_block.
9397 * recog.c (split_all_insns): Always expect CFG to be consistent;
9398 call find_sub_basic_blocks in case something has changed.
9399 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
9402 * basic-block.h (delete_noop_moves): Declare.
9403 * combine.c (combine_instructions): Call it.
9404 (recog_for_combine): Tolerate noop moves
9405 (distribute_notes): Force refresh when register dies at noop move.
9406 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
9408 (life_analysis): Update delete_noop_moves call.
9409 (set_noop_p): Move too ...
9410 * rtlanal.c (noop_move_p): ... here.
9411 * rtl.h (noop_move_p): Declare.
9413 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
9414 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
9416 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
9417 (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
9419 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
9421 * reload.c (push_reload): Fix typo in comment.
9422 (find_reloads_address): Ditto.
9423 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
9425 2001-07-22 Richard Henderson <rth@redhat.com>
9427 * flow.c: Grammar check and clarify a lot of comments.
9428 (try_simplify_condjump): Rename variables to be clearer.
9429 (try_forward_edges): Skip complex and fallthru edges.
9430 Rearrange tests to avoid duplicate checks.
9431 (flow_find_cross_jump): Likewise.
9432 (outgoing_edges_match): Allow match if neither branch has
9433 probability data. Loosen probability match to 5%.
9434 (try_crossjump_to_edge): Hoist repeated indirection into
9436 (try_crossjump_bb): Don't check complex edges. Eliminate
9437 redundant crossjump tests.
9438 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
9439 checks before more expensive checks.
9441 2001-07-22 Richard Henderson <rth@redhat.com>
9443 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
9444 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
9447 2001-07-22 Richard Henderson <rth@redhat.com>
9449 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
9450 (const_sint32_operand): Likewise.
9451 * m68k.md (anon mulsi pattern): Use const_int_operand not
9452 const_sint32_operand.
9453 (umulsi3_highpart): Zero extend a constant input.
9454 (smulsi3_highpart): Don't bother checking SImode constant.
9455 (const_umulsi3_highpart): Give op3 DImode.
9456 (const_smulsi3_highpart): Likewise.
9458 2001-07-22 Richard Henderson <rth@redhat.com>
9460 * flow.c (split_block): Make sure bb_note is included in the
9461 new block when splitting before a label.
9463 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
9465 * basic-block.h (redirect_edge_and_branch_force,
9466 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
9467 * flow.c (redirect_edge_and_branch_force,
9468 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
9469 (redirect_edge_and_branch_force): Fix copying of lifeness information.
9470 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
9471 * ifcvt.c (dead_or_predictable): Take BB as an new destionation
9472 instead of label; update CFG after transformation.
9473 (find_if_case_1): Update call, use redirect_edge_and_branch_force
9474 for finishing the transformation; handle even case where ELSE
9475 does not follow THEN.
9476 (find_if_case_2): Update call of dead_or_predictable; simplify
9479 * emit-rtl.c (split_branch_probability): New global variable.
9480 (try_split): Take care to set split_branch_probability and
9481 create REG_BR_PROB note for new jump insns.
9482 * md.texi (define_split): Document new feature.
9484 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
9486 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
9488 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
9489 (asm_out_file): Remove redundant declaration.
9490 (assemble_asm): Remove old #if 0 block.
9491 (assemble_variable): Remove end of function; debug output is
9492 now handled with global_decl. Remove old #if 0 block. Update.
9493 Remove saved_in_section and associated no-op code.
9494 * Makefile.in (varasm.o): Correct dependencies.
9496 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
9498 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
9499 the definition in defaults.h.
9501 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
9503 * jump.c: Update comments.
9504 (delete_barrier_successors, delete_unreferenced_labels,
9505 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
9506 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
9507 jump_optimize, jump_optimize_minimal): Kill.
9508 (rebuild_jump_labels): Move code from jump_optimize_1.
9509 (purge_line_number_notes): Likewise.
9510 (copy_loop_headers): Likewise.
9511 * reg-stack.c: Update comment.
9513 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
9514 JUMP_AFTER_REGSCAN): Kill.
9515 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
9516 purge_line_number_notes and copy_loop_headers.
9518 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
9519 Richard Henderson <rth@redhat.com>
9521 * dbxout.c (dbxout_global_decl): New.
9522 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
9523 * sdbout.c (sdbout_finish): New.
9524 (sdbout_debug_hooks): Use it, add comments.
9525 (sdbout_global_decl): Defer initialised public vars to
9527 * varasm.c (assemble_variable): Don't output debug information
9528 for file-scope variables.
9530 2001-07-22 Richard Henderson <rth@redhat.com>
9532 * config/alpha/alpha.c (get_trap_mode_suffix): New.
9533 (get_round_mode_suffix): New.
9534 (print_operand): Use them for [/]. Remove support for [&'`()+].
9535 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
9536 * config/alpha/alpha.md (attr round_suffix): New.
9537 (attr trap_suffix): New.
9538 (all insns): Set them appropriately. Use %/ instead of the
9541 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
9543 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
9545 2001-07-22 Richard Henderson <rth@redhat.com>
9547 * regrename.c (regrename_optimize): Compute nregs for each
9548 potential target register.
9550 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
9551 Richard Henderson <rth@redhat.com>
9553 * dbxout.c (dbxout_global_decl): New.
9554 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
9555 * sdbout.c (sdbout_finish): New.
9556 (sdbout_debug_hooks): Use it, add comments.
9557 (sdbout_global_decl): Defer initialised public vars to
9559 * varasm.c (assemble_variable): Don't output debug information
9560 for file-scope variables.
9562 2001-07-21 H.J. Lu (hjl@gnu.org)
9564 * config/mips/mips.c (mips_cpu): Moved into ...
9565 (override_options): Here.
9567 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
9569 (mips_cpu): Removed.
9571 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9573 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
9574 ("iorqi3"): Likewise.
9575 ("xorqi3"): Likewise.
9576 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
9577 ("*subhi3_sp): Likewise.
9578 ("*subhi3"): Likewise.
9579 ("extendhisi2"): Accept D, X and Y as source operand to avoid
9582 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
9584 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
9585 * config/freebsd.h: Likewise.
9586 * config/linux.h: Likewise.
9587 * config/openbsd.h: Likewise.
9588 * config/alpha/linux-elf.h: Likewise.
9589 * config/arm/linux-elf.h: Likewise.
9590 * config/d30v/d30v.h: Likewise.
9591 * config/fr30/fr30.h: Likewise.
9592 * config/ia64/aix.h: Likewise.
9593 * config/ia64/ia64.h: Likewise.
9594 * config/mips/linux.h: Likewise.
9595 * config/pj/pj.h: Likewise.
9596 * config/rs6000/linux.h: Likewise.
9597 * config/sparc/linux.h: Likewise.
9598 * config/sparc/linux64.h: Likewise.
9600 2001-07-20 Bruce Korb <bkorb@gnu.org>
9602 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
9603 because getc() and char* may disagree on signedness.
9605 2001-07-20 Richard Henderson <rth@redhat.com>
9607 * doc/rtl.texi (REG_DEAD): Update for current semantics.
9609 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
9610 insns to delete in the presence of cc0 in a jump insn.
9612 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
9613 Jan Hubicka <jh@suse.cz>
9615 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
9616 of doing the change by hand.
9618 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
9620 * rtlanal.c (set_noop_p): Return true for noop jumps.
9622 * expr.c (emit_single_push_insn): Add call to push expander.
9623 * expr.h (optab_index): Add OTI_push
9624 (push_optab): New constant.
9625 * genopinit.c (optabs): Add push_optab.
9626 * optabs.c (init_optab): Init push optab.
9627 * md.texi (push??1): Document
9629 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9631 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
9632 expand to emit the pattern; put a REG_INC note for push/pop
9634 ("movdf", "movdf_internal"): Likewise.
9635 ("movsi", "movsi_internal"): Likewise.
9636 ("movsf", "movsf_internal"): Likewise.
9637 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
9639 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9641 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
9644 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
9646 * params.def: Change default max inline insns to 100.
9648 2001-07-20 Diego Novillo <dnovillo@redhat.com>
9650 * combine.c (combine_simplify_rtx): Generate a new shift operation
9651 when simplifying the first operand of a (neg (ashift)) expression.
9653 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9655 * regclass.c (N_REG_INTS): Use only 32 bits per element.
9657 2001-07-20 Kelley Cook <kelley.cook@home.com>
9659 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
9660 information. Move rest into ...
9661 (*-*-solaris): ... here. Eliminate redundant information and
9662 reword necessary packages section. Delete 4.x assembler bug info.
9663 (sparc-sun-*): Merge into ...
9664 (sparc-sun-sunos*): here.
9666 2001-07-20 Catherine Moore <clm@redhat.com>
9668 * config/v850/v850.md (casesi): Generate LABEL_REF
9671 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
9673 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
9674 * i386.c (ix86_zero_extend_to_Pmode): Make global.
9675 * i386.md (strclrsi expander): Use it.
9677 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9679 * integrate.c (copy_insn_list): handle
9680 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
9681 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
9682 identically as to CODE_LABEL.
9684 * fold-const (fold): Convert A/B/C to A/(B*C) and
9687 * except.c (connect_post_landing_pads): Delete the RESX insns.
9689 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
9691 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
9693 * config/mips/mips.md (nmadd/nmsub): Use macro.
9695 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
9697 * cppinit.c (remove_dup_dir): Make static.
9698 (remove_dup_dirs): Make static. Only warn about preempting a
9699 system directory with a non-system directory.
9701 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
9703 * ifcvt.c (noce_try_store_flag_constants): Correct order
9704 of parameters to trunc_int_for_mode.
9706 2001-07-19 Mark Mitchell <mark@codesourcery.com>
9708 * reorg.c (fill_simple_delay_slots): If an instruction might throw
9709 an exception that will be caught within this function, do not fill
9710 its delay slot with any subsequent instruction.
9712 2001-07-19 Steve Ellcey <sje@cup.hp.com>
9714 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
9715 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
9716 pointer extension instruction.
9717 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
9718 * simplify-rtx.c (simplify_unary_operation) Likewise.
9719 * explow.c (convert_memory_address) Check value of
9720 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
9722 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
9723 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
9724 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
9725 Add Multilib Support.
9726 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
9727 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
9728 Add Multilib Support.
9729 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
9731 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
9732 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
9733 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
9735 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
9737 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
9738 old and new operands in `<', `3' and `b'.
9740 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
9742 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
9743 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
9744 (toplev.o): Don't depend on xcoffout.h.
9745 * c-decl.c: Include debug.h
9746 (duplicate_decls): Use debug hook.
9747 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
9748 (dbx_debug_hooks, xcoff_debug_hooks): Update.
9749 (dbxout_types): Remove.
9750 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
9751 * debug.c (do_nothing_debug_hooks): Update.
9752 (debug_true_tree, debug_nothing_rtx): New.
9753 * debug.h (struct rtx_def): New.
9754 (struct gcc_debug_hooks): New hooks ignore_block,
9755 outlining_inline_function and label.
9756 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
9757 dwarf2out_frame_finish): New.
9758 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
9759 Make static, update prototype.
9760 (dwarf2_debug_hooks): Update.
9761 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
9762 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
9763 * dwarfout.c (dwarf_debug_hooks): Update.
9764 * emit-rtl.c: Include debug.h.
9765 (remove_unnecessary_notes): Use debug hook.
9766 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
9767 (final_scan_insn): Use debug hook.
9768 * integrate.c (output_inline_function): Use debug hook.
9769 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
9770 (sdb_debug_hooks): Update.
9771 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
9772 * toplev.c: Don't include xcoffout.h.
9773 (note_outlining_of_inline_function, debug_ignore_block): Remove.
9774 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
9776 * tree.h (dwarf2out_do_frame): Remove.
9778 2001-07-19 Catherine Moore <clm@cygnus.com>
9780 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
9782 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
9784 * reload1.c (eliminate_regs_in_insn): When updating a set
9785 to the frame pointer to the hardware frame pointer, perform
9786 the update always not just when REPLACE is set.
9788 * reload1.c (choose_reload_regs): Don't inherit a reload
9789 that crosses multiple registers if registers past the first
9790 don't fit in the desired class.
9792 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
9793 when negating constants.
9795 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
9797 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
9798 * doc/tree.texi: Ditto.
9800 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
9801 Jakub Jelinek <jakub@redhat.com>
9803 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
9804 (extract_cie_info): Handle "eh" augmentation properly,
9806 (struct frame_state, __frame_state_for): New.
9808 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9810 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
9811 HANDLE_SYSV_PRAGMA): Define.
9812 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
9814 (copy_object): Caller changed.
9816 2001-07-19 Andreas Schwab <schwab@suse.de>
9818 * configure.in (assembler dwarf2 debug_line support): Define nop
9820 * configure: Regenerated.
9822 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
9824 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
9826 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
9827 to conditionally compiled block.
9828 (dbx_debug_hooks, xcoff_debug_hooks): Update.
9829 * dbxout.h (dbxout_function): Remove.
9830 * debug.c (do_nothing_debug_hooks): Update.
9831 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
9832 global_decl, deferred_inline_function.
9833 * dwarf2out.c (dwarf2_debug_hooks): Update.
9834 (dwarf2out_global_decl): New.
9835 * dwarfout.c: Don't include dwarfout.h.
9836 (dwarfout_global_decl, dwarfout_function_decl,
9837 dwarfout_deferred_inline_function): New.
9838 (dwarf_debug_hooks): Update.
9839 * dwarfout.h: Remove.
9840 * final.c: Don't include dwarfout.h.
9841 * sdbout.c (sdbout_global_decl): New.
9842 (sdbout_debug_hooks): Update.
9843 * toplev.c: Don't include dwarfout.h.
9844 (check_global_declarations, rest_of_compilation): Use new debug hooks.
9845 (note_deferral_of_defined_inline_function): Remove.
9846 * toplev.h (note_deferral_of_defined_inline_function): Remove.
9847 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
9848 * ch/lex.c: Don't include dwarfout.h.
9849 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
9850 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
9851 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
9852 * cp/optimize.c: Include debug.h.
9853 (maybe_clone_body): Use debug hook.
9854 * cp/semantics.c: Include debug.h.
9855 (expand_body): Use debug hook.
9856 * po/POTFILES.in: Remove dwarfout.h.
9858 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
9860 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
9861 * c-parse.in (yyerror, _yylex): Similarly.
9862 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
9863 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
9865 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
9866 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
9868 2001-07-18 Jeff Sturm <jsturm@one-point.com>
9870 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
9871 in-class declaration at -g1. Fixes c++/2814.
9873 2001-07-18 Richard Henderson <rth@redhat.com>
9875 * doc/md.texi (reload_in/out): Document restrictions in predicates
9876 and constraints for these patterns. Document empty string matching
9879 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9881 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
9883 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
9885 * cse.c: Undo my previous patch.
9887 2001-07-18 Tom Tromey <tromey@redhat.com>
9890 * configure: Rebuilt.
9891 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
9893 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
9895 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
9896 Jan Hubicka <jh@suse.cz>
9898 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
9899 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
9900 * jump.c (mark_jump_label): Do not forward branches.
9902 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
9904 * cse.c (delete_trivially_dead_insns): Delete the libcall block
9905 when return value is unused.
9907 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9909 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
9911 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
9913 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
9914 on error. We can't blindly return the result of
9915 pthread_mutex_trylock because it returns a positive number on
9916 error, while we must return -1 on error.
9917 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
9919 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
9921 2001-07-18 Andreas Jaeger <aj@suse.de>
9923 * integrate.c (output_inline_function): Correct type of debug_hooks.
9925 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
9927 * combine.c (combine_simplify_rtx): DIV can be treated
9928 associatively for floats if unsafe math optimisations are enabled.
9930 2001-07-17 Richard Henderson <rth@redhat.com>
9932 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
9934 2001-07-17 Richard Henderson <rth@redhat.com>
9936 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
9937 don't force the function address into a register.
9938 (expand_call, emit_library_call_value_1): Update callers.
9939 * builtins.c (expand_builtin_apply): Likewise.
9940 * expr.h (prepare_call_address): Update decl.
9942 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
9944 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
9946 * config/i386/chorus.h: Move up.
9947 * config/sparc/chorus.h: Likewise.
9948 * config/rs6000/chorus.h: Likewise.
9949 * config/chorus.h: Moved here.
9951 2001-07-17 Andreas Schwab <schwab@suse.de>
9953 * configure.in (assembler eh_frame optimization): Handle big
9955 * configure: Regenerated.
9957 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
9959 * expr.c (epxand_expr): Convert divisions into multiplications by
9960 reciprocals if -ffast-math.
9962 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
9964 * dbxout.c (dbxout_really_begin_function): Rename to
9965 dbxout_begin_function.
9966 (dbx_debug_hooks, xcoff_debug_hooks): Update.
9967 (dbxout_begin_function): Remove.
9968 (dbxout_function): Update.
9969 (dbxout_source_line): Update prototype.
9970 * dbxout.h (dbxout_begin_function): Remove.
9971 * debug.c (do_nothing_debug_hooks): Update.
9972 (debug_nothing_tree): Update.
9973 (debug_nothing_charstar_rtx): Remove.
9974 * debug.h (union tree_node): Declare.
9975 (struct rtx_def): Remove.
9976 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
9977 begin_function. Change source_line prototype.
9978 (debug_nothing_tree): New.
9979 (debug_nothing_charstar_rtx): Delete.
9980 (dwarf2out_begin_prologue): Moved from ...
9982 * dwarf2out.c (dwarf2_debug_hooks): Update.
9983 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
9984 debug info, call dwarf2out_source_line.
9985 (dwarf2out_souce_line): Update prototype.
9986 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
9987 Change prototype, make static.
9988 (dwarfout_source_line): Update prototype.
9989 (dwarf_debug_hooks): Update.
9990 * dwarfout.h (dwarfout_begin_function): Remove.
9991 * final.c (final_start_function, final_scan_insn): Use appropriate
9992 debug hooks, update to use notice_source_line.
9993 (output_source_line): Rename notice_source_line. Don't call the
9994 source_line debug hook.
9995 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
9996 make static, update prototype.
9997 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
9999 (sdbout_end_prologue): New.
10000 (sdbout_source_line): Update prototype.
10001 (sdbout_debug_hooks): Update.
10002 (sdbout_symbol): Remove unused var.
10003 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
10005 * varasm.c: Include debug.h.
10006 (assemble_start_function): Use begin_function debug_hook.
10007 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
10008 update with prototype.
10009 (xcoffout_source_line): Update prototype.
10010 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
10012 (xcoffout_source_line): Update prototype.
10014 2001-07-17 Richard Henderson <rth@redhat.com>
10016 * c-typeck.c (build_binary_op): Do not shorten unsigned
10017 right shift after sign extension.
10019 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
10021 * combine.c (combine_simplify_rtx): Attempt to simplify
10022 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
10024 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
10025 (simplify_binary_operation, simplify_unary_operation,
10026 simplify_relational_operation): Use it.
10028 * combine.c (combine_simplify_rtx): Don't do associative law
10029 on divisions; allow associative law on floats.
10031 2001-07-17 H.J. Lu <hjl@gnu.org>
10032 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10034 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
10035 ASM_OUTPUT_WEAK_ALIAS are defined.
10036 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
10037 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
10039 * config/mips/iris5.h: ... here.
10040 (HANDLE_SYSV_PRAGMA): Defined as 1.
10041 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
10042 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
10045 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
10047 * c-parse.in (all_prefix_attributes): New variable.
10048 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
10049 (maybe_resetattrs): New production.
10050 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
10051 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
10052 notype_initdcl, nested_function, notype_nested_function,
10053 component_decl, components, components_notype,
10054 component_declarator, component_notype_declarator,
10055 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
10056 ivars, mydecl, myparm): Update. Avoid prefix attributes just
10057 after a comma being applied to more than one declarator.
10058 * doc/extend.texi (Attribute Syntax): Update. Remove
10059 documentation of bugs that are no longer present.
10061 2001-07-13 Eric Christopher <echristo@redhat.com>
10063 * config/mips/mips.h: Change TUNE_MIPS* options to use
10065 (EXTRA_SPECS): Add cc1_cpu_spec.
10066 * config/mips/mips.md (muldf3): Fix typo.
10068 2001-07-16 Richard Henderson <rth@redhat.com>
10070 * config/m68k/m68k.c: Include expr.h and reload.h.
10071 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
10072 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
10074 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
10075 Richard Henderson <rth@redhat.com>
10077 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
10078 (insn_live_p): Fix fall off end of function.
10079 (dead_libcall_p): Remove COUNTS argument; update callers.
10080 (delete_trivially_dead_insns): Remove unused variables.
10082 2001-07-17 Andreas Jaeger <aj@suse.de>
10084 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
10085 x86-64 pic support.
10087 * lcm.c (optimize_mode_switching): Avoid warning for unused
10088 variable if !NORMAL_MODE.
10090 * flow.c (try_crossjump_to_edge): Remove unused variable.
10092 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10094 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
10095 atexit declaration in stdlib.h.
10097 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
10099 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
10101 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
10103 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
10104 * except.c (finish_eh_generation): Update call of cleanup_cfg;
10105 do rebuild_jump_labels instead of jump_optimize
10106 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
10107 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
10108 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
10110 * flow.c: Include timevar.h
10111 (find_basic_block): Push/pop timevar;
10112 (cleanup_cfg): Likewise.
10113 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
10114 * Makefile: Add dependencies on timevar.h
10116 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
10117 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
10119 * rtl.h (delete_trivially_dead_insns): Add new parameter.
10120 * toplev.c (rest_of_compilation): Update calls.
10121 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
10122 (delete_trivially_dead_insns): ... here; accept new argument
10123 preserve_basic_blocks; preserve basic blocks if set.
10125 * reg-stack.c (stack_regs_mentioned): Return 0 if
10126 stack_regs_mentioned_data is not initialized.
10127 (reg_to_stack): Make stack_regs_mentioned survive after the
10128 reg-stack is completted; do not call cleanup_cfg.
10129 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
10130 make cleanup_cfg after bb-reorder to output to debug file.
10132 2001-07-16 Richard Henderson <rth@redhat.com>
10134 * regclass.c (init_reg_sets): Use only 32 bits per initializer
10135 from int_reg_class_contents.
10137 2001-07-16 Richard Henderson <rth@redhat.com>
10139 * hard-reg-set.h (regs_invalidated_by_call): Declare.
10140 * regclass.c (regs_invalidated_by_call): Move from cse.c.
10141 (init_reg_sets_1): Move initialization from cse_main.
10142 * cse.c (regs_invalidated_by_call): Move to regclass.c.
10143 (cse_main): Move its initialization also.
10144 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
10145 * flow.c (propagate_one_insn): Likewise.
10146 * gcse.c (compute_hash_table): Likewise.
10147 (compute_kill_rd, compute_store_table): Likewise.
10148 * sched-deps.c (sched_analyze_1): Likewise.
10150 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
10152 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
10155 2001-07-16 Steve Ellcey <sje@cup.hp.com>
10157 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
10158 in if statement so we don't access undefined memory.
10160 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
10162 * gcse.c: Update comment at top.
10163 Update comment on mem handling.
10164 mem_last_set, mem_first_set, mem_set_in_block: gone.
10165 Declaration of reg_set_info: gone.
10166 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
10167 pointless with load_killed_in_block_p (they are *more*
10168 conservative then it, not less, and less accurate).
10169 (oprs_not_set_p): Ditto.
10170 (alloc_gcse_mem): Don't allocate mem_set_in_block
10171 (free_gcse_mem): Don't free it, either.
10172 (record_last_mem_set_info): Update comment in front, remove
10173 mem_*set_* stuff. Note the reason we don't handle stores directly
10175 (compute_hash_table): Update comments to reflect reality. Remove
10176 mem_*set_* references.
10177 (reset_opr_set_tables): Remove mem_*set_* references.
10178 (mark_call): Ditto.
10179 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
10180 (mark_clobber): Ditto (on both parts, we double set here too).
10181 (expr_killed_p): Remove mem_set_in_block test.
10182 (compute_transp): Remove mem_set_in_block test.
10184 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
10185 of edge, and removal of phi alternative to dump file.
10186 (ssa_ccp_substitute_constants): Add note about register now being
10187 constant, and which uses were replaced in what insns to dump file.
10189 2001-07-16 Andreas Jaeger <aj@suse.de>
10191 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
10192 variables of type HOST_WIDEST_INT.
10194 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
10195 (__bb_exit_func): Correct type of count_max to avoid overflow.
10196 (num_digits): Handle long long argument.
10198 * combine.c (gen_lowpart_for_combine): Remove unused variable.
10200 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10202 * output.h (sdb_begin_function_line): Restore as an extern
10204 * sdbout.c (sdb_begin_function_line): Make extern.
10206 2001-07-15 Richard Henderson <rth@redhat.com>
10208 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
10209 * genrecog.c (maybe_both_true_mode): New.
10210 (maybe_both_true_2): Use it.
10211 (write_switch): Don't put Pmode in a switch.
10212 * rtl.c (mode arrays): Don't explicitly size them.
10214 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
10216 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
10217 handling; move unconditional splitting before mode switching.
10219 * i386.md (type): Add fistp type.
10220 (i387, length_attr, scheduling definitions): Handle this type.
10221 (fix_trunc?f?i2): Revamp to use mode switching.
10222 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
10223 * i386.h (fp_cw_mode): New enum
10224 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
10225 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
10227 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10229 * Makefile.in (integrate.o): Add debug.h.
10230 * integrate.c (debug.h): Add.
10231 (output_inline_function): Save, reset, and restore debug_hooks.
10233 2001-07-15 Richard Henderson <rth@redhat.com>
10235 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
10236 instead of COMPARE for the EQUIV expression.
10238 2001-07-15 Richard Henderson <rth@redhat.com>
10240 * flow.c (redirect_edge_and_branch_force): Initialize
10241 global_live_at_start and global_live_at_end.
10242 (allocate_bb_life_data): Export.
10243 * basic-block.h (allocate_bb_life_data): Declare.
10244 * toplev.c (rest_of_compilation): Call it.
10246 2001-07-15 Richard Henderson <rth@redhat.com>
10248 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
10249 (alpha_tablejump_best_label): New.
10250 * config/alpha/alpha-protos.h: Declare them.
10251 * config/alpha/alpha.md: Use braced strings for code blocks.
10252 (tablejump_osf): Break out add with r29.
10253 (tablejump_osf_internal): Remove.
10254 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
10255 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
10257 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10259 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
10262 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
10264 * i386-protos.h (ix86_split_fp_branch): Update prototype.
10265 (ix86_fp_jump_nontrivial_p): New.
10266 * i386.md (fp_jcc_?): Update call of split_fp_branch;
10267 use ix86_fp_jump_nontrivial_p.
10268 * i386.c (ix86_fp_jump_nontrivial_p): New.
10269 (ix86_split_fp_branch): Accept code instead of rtx.
10270 (ix86_expand_compare): Expand comparison early in case
10271 doing so is resonably cheap.
10273 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
10275 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
10277 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
10278 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
10280 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
10282 * dbxout.c (dbxout_source_line): Make static, update prototype.
10283 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
10284 (dbxout_init, dbxout_finish, dbxout_source_line,
10285 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
10286 * dbxout.h (dbxout_source_line): Delete.
10287 * debug.c (debug_nothing_file, debug_nothing_file_int,
10288 debug_nothing_file_charstar_rtx): New.
10289 (do_nothing_debug_hooks): Update.
10290 (debug_nothing_void, debug_nothing_charstar_rtx,
10291 dwarf2out_end_epilogue): New.
10292 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
10293 * debug.h (struct rtx_def): Declare.
10294 (gcc_debug_hooks): New hooks source_line, end_epilogue
10296 (debug_nothing_void, debug_nothing_charstar_rtx,
10297 dwarf2out_end_epilogue): New.
10298 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
10299 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
10300 (dwarf2_debug_hooks): Update.
10301 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
10302 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
10303 * dwarf2out.h (dwarf2out_source_line): Remove.
10304 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
10305 Make static, update prototype.
10306 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
10307 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
10308 (dwarf_debug_hooks): Update.
10309 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
10310 dwarfout_end_function): Remove.
10311 * final.c (profile_function): Use debug hooks for ending functions
10313 (output_source_line, final_end_function): Update prototype,
10315 (final_start_function, final_scan_insn): Update.
10316 * output.h (sdb_begin_function_line): Remove.
10317 (final_end_function): Update prototype.
10318 * sdbout.c (sdb_begin_function_line): Make static.
10319 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
10320 (sdbout_source_line): New.
10321 (sdbout_end_epilogue, sdbout_end_function): Make static, update
10323 (sdb_debug_hooks): Update.
10324 (sdbout_init, sdbout_source_line,
10325 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
10326 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
10327 * toplev.c (compile_file, rest_of_compilation): Update.
10328 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
10329 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
10330 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
10331 Update for prototype changes.
10332 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
10333 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
10335 2001-07-15 Richard Henderson <rth@redhat.com>
10337 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
10338 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
10339 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
10340 * config/alpha/alpha.c: Likewise.
10341 * config/alpha/alpha.md: Likewise.
10342 * config/alpha/alpha32.h: Likewise.
10343 * config/alpha/vms.h: Likewise.
10344 (OPEN_VMS): Remove.
10346 2001-07-14 Richard Henderson <rth@redhat.com>
10348 * config/alpha/alpha.md: Use define_constants for unspec values.
10349 Substitute throughout.
10351 2001-07-14 Tim Josling <tej@melbpc.org.au>
10353 * tree.def (EXPON_EXPR) remove. Never supported anyway.
10355 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
10357 * pa.md: Remove unused constraints from define_split's.
10359 2001-04-14 Richard Henderson <rth@redhat.com>
10361 * ifcvt.c (find_cond_trap): Test for exit block.
10363 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
10365 Re-install recently reverted patch.
10366 * emit-rtl.c (try_split): Update mark_jump_label call.
10367 * flow.c (find_sub_basic_blocks): Likewise.
10368 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
10369 jump_back_p): Kill.
10370 (mark_all_labels): Kill second parameter.
10371 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
10372 (rebuild_jump_labels, jump_optimize_minimal): Update call
10373 of jump_optimize_1.
10374 (jump_optimize_1): Kill crossjumping code.
10375 (mark_jump_label): Kill cross_jump parameter.
10376 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
10377 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
10378 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
10380 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
10382 (dump_file_info): Likewise.
10383 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
10384 reorganize passes to do reg-stack first, bb-reorder second.
10385 * invoke.texi (-d letters doc): Remove the jump2 pass.
10387 2001-07-14 Richard Henderson <rth@redhat.com>
10389 * ifcvt.c (find_cond_trap): New.
10390 (find_if_header): Call it.
10391 (merge_if_block): Relax existing jump sanity check.
10392 * jump.c (jump_optimize_1): Remove conditional trap handling.
10394 2001-07-14 Alan Modra <amodra@bigpond.net.au>
10396 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
10398 (insn_refs_are_delayed): Correct comment.
10399 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
10400 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
10401 instead of r31. Make associated insn !TARGET_64BIT, and
10402 provide an additional 64-bit insn that clobbers r2.
10403 (divsi3): Likewise.
10404 (udivsi3): Likewise.
10405 (modsi3): Likewise.
10406 (umodsi3): Likewise.
10408 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
10410 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
10412 * flow.c (redirect_edge_and_branch_force, split_edge,
10413 try_crossjump_to_edge): Use set_block_for_new_insns.
10414 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
10416 2001-07-13 H.J. Lu (hjl@gnu.org)
10418 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
10421 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
10423 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
10425 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
10427 * c-common.c (decl_attributes): Take a pointer to the node to
10428 which attributes are to be attached, and a flags argument.
10429 * c-common.h (enum attribute_flags): New.
10430 (decl_attributes): Update prototype.
10431 * c-decl.c (start_decl, push_parm_decl, finish_struct,
10432 finish_enum, start_function): Update calls to decl_attributes.
10433 * c-parse.in (component_declarator, component_notype_declarator,
10434 label): Update calls to decl_attributes.
10436 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
10438 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
10439 * config/avr/avr.c (legitimate_address_p): Return value changed
10440 from letter to register classes. For better debugging.
10442 2001-07-13 Kazu Hirata <kazu@hxi.com>
10444 * jump.c (reversed_comparison_code_parts): Fix comment typos.
10446 2001-07-13 H.J. Lu (hjl@gnu.org)
10448 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
10450 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
10452 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
10453 correctly for shared configurations.
10454 * config/t-libgcc-pic: New.
10455 * config/{i386,m68k,sparc}/t-openbsd: New.
10456 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
10457 Support -shared. Support debugging libraries with -g.
10458 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
10459 frame information does not emit pointer diffs.
10460 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
10461 emit pointer diffs.
10463 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
10465 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
10467 2001-07-13 David Edelsohn <edelsohn@gnu.org>
10469 * combine.c (try_combine): Ensure const_int pow2 is positive.
10471 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
10473 * config.gcc: Add configuration for s/390.
10474 * config/s390/s390.c: New. Subroutines for code generation.
10475 * config/s390/s390.h: New. Definitions for s/390.
10476 * config/s390/s390-protos.h: New. Prototypes.
10477 * config/s390/linux.h: New. Definitions for linux for s/390.
10478 * config/s390/linux64.h: New. Definitions for linux for zSeries.
10479 * config/s390/t-linux: New. Makefile fragment.
10480 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
10481 * config/s390/fixdfdi.h: New. Fix L_fix*di.
10483 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
10485 * emit-rtl.c (try_split): Update mark_jump_label call.
10486 * flow.c (find_sub_basic_blocks): Likewise.
10487 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
10488 jump_back_p): Kill.
10489 (mark_all_labels): Kill second parameter.
10490 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
10491 (rebuild_jump_labels, jump_optimize_minimal): Update call
10492 of jump_optimize_1.
10493 (jump_optimize_1): Kill crossjumping code.
10494 (mark_jump_label): Kill cross_jump parameter.
10495 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
10496 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
10497 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
10499 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
10501 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
10502 reorganize passes to do reg-stack first, bb-reorder second.
10503 * invoke.texi (-d letters doc): Remove the jump2 pass.
10505 2001-07-12 Steve Ellcey <sje@cup.hp.com>
10507 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
10509 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
10511 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
10513 (verify_flow_info): Make diagnostics prettier.
10515 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
10517 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
10519 * flow.c (outgoing_edges_match): Return early if condition reversal
10522 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
10524 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
10525 (mips_move_2words): When splitting a move into two instructions,
10526 prefix the second address operand with '%D'.
10528 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
10530 * Makefile.in (final.o): Depend on debug.h.
10531 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
10532 (dbx_debug_hooks): Add new hooks.
10533 (xcoff_debug_hooks): New.
10534 * debug.c (debug_nothing_file_int_int): New.
10535 (do_nothing_debug_hooks): Update.
10536 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
10537 (debug_nothing_file_int_int): New.
10538 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
10539 static, update prototype.
10540 (dwarf2_debug_hooks): Update.
10541 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
10542 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
10543 static, update prototype.
10544 (dwarf_debug_hooks): Update.
10545 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
10546 * final.c: Include debug.h.
10547 (final_scan_insn): Use debug hooks when beginning and ending blocks.
10548 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
10549 static, update prototype.
10550 (sdb_debug_hooks): Update.
10551 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
10552 * toplev.c: Distinguish between xcoff and dbx.
10554 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
10555 Call all debug hooks, not just dwarf ones.
10557 2001-07-11 Timothy Wall <twall@redhat.com>
10559 * config.gcc: Add configuration for AIX5/IA64.
10560 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
10561 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
10562 support prefix/suffix code.
10563 * config/ia64/t-aix: New. Makefile fragment.
10564 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
10566 2001-07-11 Kazu Hirata <kazu@hxi.com>
10568 * recog.c (validate_change): Fix a comment typo.
10570 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
10572 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
10573 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
10575 * dbxout.c (dbx_debug_hooks): Add new hooks.
10576 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
10578 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
10580 * dbxout.h (dbxout_start_new_source_file,
10581 dbxout_resume_previous_source_file): Delete.
10582 * debug.c (do_nothing_debug_hooks): Add new hooks.
10583 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
10584 (debug_nothing_int_charstar, debug_nothing_int): New.
10585 * debug.h (gcc_debug_hooks): New hooks define, undef,
10586 start_source_file and end_source_file.
10587 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
10588 (debug_nothing_int_charstar, debug_nothing_int): New.
10589 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
10590 the conditionally compiled section.
10591 (dwarf2out_start_source_file, dwarf2out_end_source_file,
10592 dwarf2out_define, dwarf2out_undef): Make static.
10593 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
10594 dwarf2out_define, dwarf2out_undef): Remove.
10595 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
10596 (dwarfout_start_source_file, dwarfout_end_source_file,
10597 dwarfout_define, dwarfout_undef): Make static.
10598 (dwarfout_start_source_file_check,
10599 dwarfout_end_source_file_check): New.
10600 (dwarfout_define, dwarfout_finish): Update.
10601 * dwarfout.h (dwarfout_start_new_source_file,
10602 dwarfout_resume_previous_source_file, dwarfout_define,
10603 dwarfout_undef): Remove.
10604 * sdbout.c (sdb_debug_hooks): Add new hooks.
10605 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
10607 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
10608 make static, take an arg.
10609 * sdbout.h (sdbout_start_new_source_file,
10610 sdbout_resume_previous_source_file): Delete.
10611 * toplev.c (debug_start_source_file, debug_end_source_file,
10612 debug_define, debug_undef): Delete.
10613 * toplev.h (debug_start_source_file, debug_end_source_file,
10614 debug_define, debug_undef): Delete.
10616 * java/jcf-parse.c: Include debug.h.
10617 (parse_class_file): Update to use debug hooks directly.
10618 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
10620 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10622 * alias.c (set_mem_alias_set): New function.
10623 * rtl.h (set_mem_alias_set): Declare it.
10624 * builtins.c (expand_builtin_return_addr): Call it instead of
10625 using MEM_ALIAS_SET accessor.
10626 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
10627 (get_memory_rtx, expand_builtin_va_arg): Likewise.
10628 (expand_builtin_va_copy):Likewise.
10629 * caller-save.c (setup_save_areas): Likewise.
10630 * calls.c (compute_argument_addresses): Likewise.
10631 * explow.c (set_mem_attributes): Likewise.
10632 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
10633 (expand_assignment, store_constructor_field, store_field): Likewise.
10634 (expand_expr_unaligned): Likewise.
10635 * function.c (assign_stack_temp_for_type): Likewise.
10636 (put_reg_into_stack, gen_mem_addressof): Likewise.
10637 * ifcvt.c (noce_try_cmove_arith): Likewise.
10638 * reload1.c (reload, alter_reg): Likewise.
10639 * config/alpha/alpha.c (get_aligned_mem): Likewise.
10640 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
10641 (alpha_expand_unaligned_store): Likewise
10642 (alpha_expand_unaligned_load_words): Likewise.
10643 (alpha_expand_unaligned_store_words): Likewise.
10644 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
10645 (alpha_expand_epilogue): Likewise.
10646 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
10647 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
10648 * config/i386/i386.c (legitimize_pic_address): Likewise.
10649 * config/i960/i960.c (setup_incoming_varargs): Likewise.
10650 * config/ia64/ia64.c (spill_restore_mem): Likewise.
10651 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
10652 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
10653 * config/mips/mips.c (mips_va_arg): Likewise.
10654 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
10655 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
10656 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
10657 (setup_incoming_varargs, rs6000_va_arg): Likewise.
10658 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
10659 (rs6000_emit_epilogue): Likewise.
10660 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
10661 * config/sparc/sparc.c (sparc_va_arg): Likewise.
10662 * config/v850/v850.c (v850_va_arg): Likewise.
10664 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
10666 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
10667 when fallthru edge is present.
10668 (mege_blocks): Handle case where creation of jump insn
10671 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
10672 CLEANUP_POST_REGSTACK): New constants.
10673 * except.c (finish_eh_generation): Update call of cleanup_cfg,
10674 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
10675 * output.h (cleanup_cfg): Update prototype.
10676 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
10677 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
10678 cleanup_cfg call; kill missleading comment.
10679 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
10680 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
10681 parameter; control optimizations performed using it.
10682 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
10683 try_crossjump_bb): New functions.
10685 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10687 * pa.c (pa_output_function_prologue): Delete prototype. Make function
10689 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
10690 pa_output_function_prologue.
10691 * pa-protos.h (pa_output_function_prologue): New prototype.
10693 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10695 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
10696 and low to get correct sign extension in low+high test.
10698 2001-07-11 Janis Johnson <janis@us.ibm.com>
10700 * gcov.c (arcdata): Use gcov_type to fix branch percentage
10701 for large hit count.
10703 * profile.c (branch_prob): Fix .bbg info for computed gotos
10706 2001-07-11 Mark Mitchell <mark@codesourcery.com>
10708 * stmt.c (parse_output_constraint): New function, split out
10710 (expand_asm_operands): ... here. Use parse_output_constraint.
10711 * tree.h (parse_output_constraint): Declare it.
10713 2001-07-11 Richard Henderson <rth@redhat.com>
10715 * bitmap.c: Comment some functions; fiddle whitespace.
10716 (bitmap_free): Don't export.
10717 (bitmap_element_allocate): Use memset.
10718 * bitmap.h (bitmap_free): Don't declare.
10720 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
10722 * gcse.c, lcm.c, sched-deps.c:
10723 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
10725 * flow.c (flow_loops_find): Free dom if we found no loops, since
10726 we aren't going to save it.
10728 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
10731 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
10733 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
10735 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10737 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
10738 #ifndef DWARF2_DEBUGGING_INFO.
10740 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
10742 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
10744 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
10746 * config/mips/mips.c (gen_int_relational): Tell the caller not to
10747 reverse a branch if a NE comparison is implemented with GTU.
10749 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
10750 H.J. Lu <hjl@gnu.org>
10752 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
10753 constant addresses.
10754 (call_internal2): Likewise.
10755 (call_value_internal1): Likewise.
10756 (call_value_internal2): Likewise.
10757 (call_value_multiple_internal1): Likewise.
10758 (call_value_multiple_internal2): Likewise.
10760 2001-07-10 Kazu Hirata <kazu@hxi.com>
10762 * calls.c (emit_library_call_value_1): Fix a comment typo.
10763 * dwarf2out.c (mem_loc_descriptor): Likewise.
10764 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
10766 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
10768 * simplify-rtx.c (simplify_subreg): Fix typo in comment
10770 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10772 * recog.c (offsettable_address_p): Handle LO_SUM case.
10773 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
10774 instead of plus_constant.
10776 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
10778 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
10779 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
10781 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10783 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
10784 adjust_address_nv instead of plus_constant.
10786 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
10788 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
10789 dwarf2out.o): Depend on debug.h, wrap long lines.
10790 * dbxout.c: Include debug.h.
10791 (dbx_debug_hooks): New.
10792 (dbxout_init): Make static, take just 2 args.
10793 (dbxout_finish): Make static.
10794 * dbxout.h (dbxout_init, dbxout_finish): Delete.
10795 * debug.c: New file.
10796 * debug.h: New file.
10797 * dwarf2out.c: Include debug.h.
10798 (dwarf2_debug_hooks): New.
10799 (dwarf2out_init): Make static.
10800 (dwarf2out_finish): Make static, take 2 args.
10801 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
10802 * dwarfout.c: Include debug.h.
10803 (dwarf_debug_hooks): New.
10804 (dwarfout_init): Make static.
10805 (dwarfout_finish): Make static, take 2 args.
10806 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
10807 * sdbout.c: Include debug.h.
10808 (sdb_debug_hooks): New.
10809 (sdbout_init): Make static, take 2 args.
10810 * sdbout.h (sdbout_init): Delete.
10811 * toplev.c: Include debug.h.
10812 (debug_hooks): New.
10813 (compile_file): Set deubg_hooks based on command line options.
10814 Use the hooks unconditionally rather than conditional compilation.
10816 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
10818 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
10819 first_insn_after_basic_block_note instead.
10821 * df.c (df_bb_refs_unlink): #if 0 out for now.
10823 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
10825 * ssa.h: Add prototype for ssa_const_prop
10826 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
10827 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
10828 (ssa_fast_dce): Remove unused variable
10830 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
10832 * diagnostic.c (finish_diagnostic): Rename to
10833 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
10836 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
10838 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
10841 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
10842 (dump_file): Only pad the demangled name with spaces if the
10843 mangled name was padded with spaces.
10845 2001-07-10 Bernd Schmidt <bernds@redhat.com>
10847 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
10850 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10852 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
10853 extraction if no direct load if either EXPAND_CONST_ADDRESS or
10854 EXPAND_INITIALIZER.
10856 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
10857 whether can put offset inside LO_SUM to check mode alignment, not size.
10859 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
10861 * doc/tm.texi (Misc): Fix thinko.
10863 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
10865 * regmove.c (replace_in_call_usage): Fix warnings.
10866 * sched-deps.c (add_dependence): Fix warnings.
10867 * simplify-rtx.c (simplify_subreg): Likewise.
10868 Return NULL_RTX instead of NULL.
10870 * reg-stack.c (emit_swap_insn): Eliminate warnings.
10871 (subst_asm_stack_regs): Likewise.
10873 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
10876 * dwarf2out.c (output_call_frame_info): Declare i as int.
10877 (build_abbrev_table): Declare n_alloc as int.
10878 (dwarf2out_finish): Initialize die.
10879 * except.c: Declare sjlj_funcdef_number as unsigned.
10880 (connect_post_landing_pads): Declare j as unsigned.
10881 (convert_to_eh_region_ranges): Initialize call_site.
10882 (output_function_exception_table): Initialize tt_format_size.
10883 * expr.c (move_by_pieces_1): Initialize to1.
10884 (store_constructor): Initialize minelt and maxelt.
10885 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
10886 * function.c (instantiate_decls): Avoid signed/unsigned warning.
10888 * c-decl.c (combine_parm_decls): Unused, remove.
10889 * c-tree.h: Remove prototype for combine_parm_decls.
10891 * reload.c (push_reload): Fix warning.
10892 (regno_clobbered_p): Likewise.
10893 * reload1.c (replace_pseudos_in_call_usage): Likewise.
10894 (reload_combine): Likewise.
10896 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
10897 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
10899 * bitmap.c (bitmap_operation): Change user.
10900 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
10902 2001-07-10 Eric Christopher <echristo@redhat.com>
10904 * config/mips/mips.c (override_options): Fix typo.
10906 2001-07-09 Stan Shebs <shebs@apple.com>
10908 * target.h (struct gcc_target): New fields init_builtins and
10910 * target-def.h (TARGET_INIT_BUILTINS): New macro.
10911 (TARGET_EXPAND_BUILTIN): New macro.
10912 (TARGET_INITIALIZER): Add them.
10913 * builtins.c: Include target.h.
10914 (expand_builtin): Use targetm.expand_builtin.
10915 (default_init_builtins): New function.
10916 (default_expand_builtin): New function.
10917 * expr.h (default_init_builtins): Declare.
10918 (default_expand_builtin): Declare.
10919 * c-common.c (c_common_nodes_and_builtins): Use
10920 targetm.init_builtins.
10921 * defaults.h (MD_INIT_BUILTINS): Remove.
10922 * Makefile.in (builtins.o): Depend on target.h.
10924 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
10925 (TARGET_EXPAND_BUILTIN): Define.
10926 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
10927 (MD_EXPAND_BUILTIN): Remove.
10929 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
10930 (TARGET_EXPAND_BUILTIN): Define.
10931 (c4x_init_builtins): Make endlink arg a local.
10932 (c4x_print_operand): Fix typos in adjust_address usages.
10933 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
10934 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
10935 (MD_EXPAND_BUILTIN): Remove.
10937 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
10938 (TARGET_EXPAND_BUILTIN): Define.
10939 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
10940 (ix86_init_builtins): Call new function only if TARGET_MMX.
10941 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
10942 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
10943 (MD_EXPAND_BUILTIN): Remove.
10945 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
10946 (TARGET_EXPAND_BUILTIN): Define.
10947 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
10948 (MD_EXPAND_BUILTIN): Remove.
10950 * doc/tm.texi: Document these changes.
10952 2001-07-09 Diego Novillo <dnovillo@redhat.com>
10954 * basic-block.h (tree_node): Forward declare if needed.
10955 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
10956 (BLOCK_HEAD_TREE): Define.
10957 (BLOCK_END_TREE): Define.
10958 (struct loops): Rename field 'tree' to 'tree_root'.
10959 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
10961 (flow_loops_tree_build): Rename reference to field 'tree' to
10963 (flow_loops_level_compute): Ditto.
10964 * predict.c (estimate_bb_frequencies): Ditto.
10965 * tree.h (struct tree_common): Add field 'aux'.
10967 2001-07-09 Stan Shebs <shebs@apple.com>
10969 * config/darwin.c (darwin_encode_section_info): Don't mark any
10970 DECL_EXTERNAL node as defined.
10972 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
10974 * pa.c (pa_init_machine_status, pa_mark_machine_status,
10975 pa_free_machine_status, hppa_init_pic_save): Delete.
10976 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
10977 (hppa_profile_hook): Use hppa_pic_save_rtx.
10978 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
10979 hppa_init_pic_save): Delete.
10980 (hppa_pic_save_rtx): Declare.
10981 * pa.md (call, call_value, sibcall, sibcall_value,
10982 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
10984 2001-07-09 Kazu Hirata <kazu@hxi.com>
10986 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
10987 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
10989 2001-07-09 Andreas Jaeger <aj@suse.de>
10991 * output.h: Add declaration of final_forward_branch_p.
10993 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
10995 * varray.c: Include errors.h for internal_error and trim_filename
10998 * Makefile.in (varray.o): Add errors.h.
11000 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
11002 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
11003 * optabs.c (have_add2_insn): Check whether the add insn chosen
11004 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
11005 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
11007 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
11009 * Makefile.in (OBJS): Add ssa-ccp.o
11010 (ssa-ccp.o): Add dependencies.
11011 * toplev.c (DFI_ssa_ccp): New dump file enum.
11012 (dump_file): Add entry for dumping after SSA CCP.
11013 (flag_ssa_ccp): New flag variable.
11014 (f_options): Add -fssa-ccp.
11015 (rest_of_compilation): Run SSA CCP if requested.
11016 * timevar.def (TV_SSA_CCP): New timevar.
11017 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
11018 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
11019 Fix minor typo in SSA DCE documentation.
11020 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
11021 Add documentation for new dump option. Renumber dump files
11024 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
11026 * emit-rtl.c (gen_highpart_mode): New.
11027 * rtl.h (gen_highpart_mode): Declare.
11028 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
11029 operand can be VOIDmode constant.
11031 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
11033 * flow.c (redirect_edge_and_branch_force): New.
11034 (can_fallthru): Ensure that basic blocks are succeeding.
11035 (try_optimize_cfg): Do not delete basic block if it is the last one.
11037 * flow.c (try_redirect_by_replacing_jump): Do not remove
11038 jumps with side effects, unlink chain on fallthru edge;
11039 set block for new jump instruction; avoid basic block to
11040 over by line number note.
11042 * flow.c (try_simplify_condjump): Verify that the condjump
11043 is not always falling trought.
11046 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
11048 * flow.c (forwarder_block_p): Fix for fallthru blocks.
11049 (try_redirect_by_replacing_jump): Update properly the count
11050 and frequency information.
11052 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11054 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
11055 address that is a LO_SUM specially.
11056 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
11058 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
11060 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
11061 (operand_subword): Use them.
11062 (change_address_1): Renamed from change_address; new arg VALIDATE.
11063 * expr.h: Reflect above changes; change_address now macro.
11064 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
11066 * cselib.c (add_mem_for_addr): Likewise.
11067 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
11068 * regmove.c (try_apply_stack_adjustment): Likewise.
11069 * reload.c (push_reload, make_memloc): Likewise.
11070 * reload1.c (eliminate_regs): Likewise.
11071 * simplify-rtx.c (simplify_replace_rtx): Likewise.
11072 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
11074 * combine.c (make_extraction, simplify_shift_const): Likewise.
11075 (gen_lowpart_for_combine): Likewise.
11076 * cse.c (gen_lowpart_if_possible): Likewise.
11077 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
11078 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
11079 * optabs.c (gen_move_insn): Likewise.
11080 * reload1.c (alter_reg): Likewise.
11081 * simplify-rtx.c (simplify_subreg): Likewise.
11082 * stmt.c (expand_anon_union_decl): Likewise.
11083 * recog.c (validate_replace_rtx_1): Likewise.
11085 * Makefile.in (recog.o): Add $(EXPR_H).
11086 * explow.c (stabilize): Call replace_equiv_address.
11087 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
11088 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
11090 2001-07-03 Andrew Haley <aph@redhat.com>
11092 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
11093 the mode of the memory location.
11095 2001-07-09 Bo Thorsen <bo@suse.co.uk>
11097 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
11099 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
11101 * final.c (output_addr_const): Use target opening and
11102 closing parentheses.
11103 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
11104 defaults, add to TARGET_ASM_OUT.
11105 * target.h (struct gcc_target): Add open_paren and close_paren.
11106 * doc/md.texi: Update.
11107 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
11108 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
11109 TARGET_ASM_CLOSE_PAREN.
11110 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
11112 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
11114 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
11115 * config/a29k/a29k.h: Similarly.
11116 * config/alpha/alpha.h: Similarly.
11117 * config/arc/arc.h: Similarly.
11118 * config/arm/aof.h: Similarly.
11119 * config/arm/aout.h: Similarly.
11120 * config/avr/avr.h: Similarly.
11121 * config/c4x/c4x.h: Similarly.
11122 * config/clipper/clipper.h: Similarly.
11123 * config/convex/convex.h: Similarly.
11124 * config/d30v/d30v.h: Similarly.
11125 * config/dsp16xx/dsp16xx.h: Similarly.
11126 * config/elxsi/elxsi.h: Similarly.
11127 * config/fr30/fr30.h: Similarly.
11128 * config/h8300/h8300.h: Similarly.
11129 * config/i370/i370.h: Similarly.
11130 * config/i386/i386.h: Similarly.
11131 * config/i860/i860.h: Similarly.
11132 * config/i960/i960.h: Similarly.
11133 * config/ia64/ia64.h: Similarly.
11134 * config/m32r/m32r.h: Similarly.
11135 * config/m68hc11/m68hc11.h: Similarly.
11136 * config/m68k/m68k.h: Similarly.
11137 * config/m88k/m88k.h: Similarly.
11138 * config/mcore/mcore.h: Similarly.
11139 * config/mips/mips.h: Similarly.
11140 * config/mn10200/mn10200.h: Similarly.
11141 * config/mn10300/mn10300.h: Similarly.
11142 * config/ns32k/ns32k.h: Similarly.
11143 * config/pa/pa.h: Similarly.
11144 * config/pdp11/pdp11.h: Similarly.
11145 * config/pj/pj.h: Similarly.
11146 * config/romp/romp.h: Similarly.
11147 * config/rs6000/rs6000.h: Similarly.
11148 * config/sh/sh.h: Similarly.
11149 * config/sparc/sparc.h: Similarly.
11150 * config/v850/v850.h: Similarly.
11151 * config/vax/vax.h: Similarly.
11152 * config/we32k/we32k.h: Similarly.
11154 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
11156 * doc/c-tree.texi: Document representation of attributes.
11158 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
11160 * doc/tm.texi: Update some places for the rename of target to
11163 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
11165 * target.h (struct gcc_target): Add insert_attributes.
11166 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
11167 (TARGET_INITIALIZER): Update.
11168 * tree.c, tree.h (default_insert_attributes): New function.
11169 Update comments on other default functions to refer to targetm,
11171 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
11172 TARGET_INSERT_ATTRIBUTES.
11173 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
11174 * c-common.c (decl_attributes): Use targetm.insert_attributes.
11175 Don't use PRAGMA_INSERT_ATTRIBUTES.
11176 * Makefile.in (c-common.o): Depend on $(TARGET_H).
11177 * c-decl.c (start_decl, start_function): Don't call
11178 SET_DEFAULT_DECL_ATTRIBUTES.
11179 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
11180 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
11182 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
11183 (c4x_check_attribute): Avoid modifying attribute list itself.
11184 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
11186 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
11187 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
11189 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
11190 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
11192 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
11193 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
11195 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
11196 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
11197 Adjust parameters. Make static.
11199 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
11201 * c-common.c (decl_attributes): Only take a single attributes
11203 * c-common.h (decl_attributes): Update prototype.
11204 * c-decl.c (start_decl, start_function): Only take a single
11205 attributes parameter. Update calls to decl_attributes.
11206 (finish_struct, finish_enum): Update calls to decl_attributes.
11207 (push_parm_decl): Expect unified list of attributes. Update call
11208 to decl_attributes.
11209 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
11210 notype_nested_function, component_declarator,
11211 component_notype_declarator, label): Update calls to
11213 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
11214 lists that are passed to push_parm_decl.
11215 * c-tree.h (start_function, start_decl): Update prototypes.
11216 * config/sh/sh-protos.h, config/sh/sh.c
11217 (sh_pragma_insert_attributes): Only take a single attributes
11219 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
11220 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
11221 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
11222 build_module_descriptor, generate_static_references,
11223 generate_strings, build_selector_translation_table,
11224 generate_descriptor_table, generate_protocols,
11225 generate_ivars_list, generate_dispatch_table,
11226 generate_protocol_list, generate_category,
11227 generate_shared_structures, really_start_method, add_objc_decls,
11228 generate_classref_translation_entry): Update calls to start_decl
11229 and start_function.
11230 (build_tmp_function_decl, start_method_def): Unify attribute lists
11231 that are passed to push_parm_decl.
11233 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
11235 * final.c (no_asm_to_stream): New.
11236 (final_scan_insn): Use target structures for prologue ends
11237 and epilogue starts.
11238 * output.h (no_asm_to_stream): New.
11239 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
11240 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
11241 (TARGET_ASM_OUT): Update.
11242 * target.h (struct gcc_target): New members function_end_prologue
11243 and function_begin_epilogue.
11244 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
11245 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
11246 * config/alpha/alpha.c (output_end_prologue): Rename to
11247 alpha_output_function_end_prologue. Use in target struct
11249 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
11250 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
11251 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
11252 ia64_output_function_end_prologue. Use in target struct
11254 (ia64_function_prologue, ia64_funciton_epilogue): Rename
11255 mistyped prototypes.
11256 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
11257 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
11259 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
11260 an use in target struct, make static.
11261 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
11264 2001-07-08 Richard Henderson <rth@redhat.com>
11266 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
11268 2001-07-08 Richard Henderson <rth@redhat.com>
11270 * config/i386/i386.md: Remove constraints strings from define_split
11271 and define_peephole2 patterns.
11272 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
11273 (eh_return): Use them.
11275 2001-07-08 Richard Henderson <rth@redhat.com>
11277 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
11278 Document MD_FALLBACK_FRAME_STATE_FOR.
11280 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11282 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
11283 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
11285 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
11287 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
11289 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
11290 of the label inside NAME as opposed to just the end of NAME.
11292 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
11294 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
11295 * config/alpha/alpha.c (alpha_init_machine_status,
11296 alpha_mark_machine_status, alpha_free_machine_status): Delete.
11297 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
11298 (vms_valid_decl_attribute_p): Make static, conditionally compile.
11299 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
11301 2001-07-06 Stan Shebs <shebs@apple.com>
11303 * target.h (targetm): Rename global from "target", so as not to
11304 conflict with local variables.
11306 * c-typeck.c: Ditto.
11309 * cp/decl.c: Ditto.
11310 * cp/decl2.c: Ditto.
11311 * cp/typeck.c: Ditto.
11312 * 1750a/1750a.c: Ditto.
11313 * a29k/a29k.c: Ditto.
11314 * arc/arc.c: Ditto.
11315 * arm/arm.c: Ditto.
11316 * avr/avr.c: Ditto.
11317 * clipper/clipper.c: Ditto.
11318 * convex/convex.c: Ditto.
11319 * d30v/d30v.c: Ditto.
11320 * dsp16xx/dsp16xx.c: Ditto.
11321 * elxsi/elxsi.c: Ditto.
11322 * fr30/fr30.c: Ditto.
11323 * h8300/h8300.c: Ditto.
11324 * i370/i370.c: Ditto.
11325 * i386/i386.c: Ditto.
11326 * i860/i860.c: Ditto.
11327 * i960/i960.c: Ditto.
11328 * ia64/ia64.c: Ditto.
11329 * m32r/m32r.c: Ditto.
11330 * m68hc11/m68hc11.c: Ditto.
11331 * m68k/m68k.c: Ditto.
11332 * m88k/m88k.c: Ditto.
11333 * mips/mips.c: Ditto.
11334 * ns32k/ns32k.c: Ditto.
11336 * pdp11/pdp11.c: Ditto.
11337 * romp/romp.c: Ditto.
11338 * rs6000/rs6000.c: Ditto.
11340 * sparc/sparc.c: Ditto.
11341 * vax/vax.c: Ditto.
11342 * we32k/we32k.c: Ditto.
11343 * doc/tm.texi: Update the manual to match.
11345 2001-07-06 Richard Henderson <rth@redhat.com>
11347 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
11348 DWARF2_UNWIND_INFO not just whether it is defined.
11350 2001-07-06 Diego Novillo <dnovillo@redhat.com>
11352 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
11353 call to simplify_binary_operation returns a new pattern.
11355 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11357 * glimits.h (__SHRT_MAX__): New.
11358 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
11359 (SHRT_MAX): Define in terms of __SHRT_MAX__.
11361 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
11363 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
11366 2001-07-06 Richard Henderson <rth@redhat.com>
11368 * bitmap.c (bitmap_release_memory): Move adjacent to the
11369 allocation functions.
11370 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
11371 the implementation. Binary search for the set bit.
11372 (bitmap_union_of_diff): Allocate the temporary on the stack
11373 instead of using xmalloc.
11375 2001-07-06 Richard Henderson <rth@redhat.com>
11377 * genrecog.c (validate_pattern): Warn for constraints in
11378 define_{expand,split,peephole2}. Remove strict_low_part
11379 before looking up match_dup.
11381 2001-07-06 DJ Delorie <dj@redhat.com>
11383 * doc/gcc.texi (Makefile): Rename to be a more general purpose
11384 chapter about various build hints and history. Add section
11385 talking about the various types of native and cross builds.
11387 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
11389 * Makefile.in (final.o): Depend on target.h.
11390 * final.c: Include target.h.
11391 (default_function_pro_epilogue): New.
11392 (final_start_function): Use target structure for function prologues.
11393 (final_end_function): Use target structure for function epilogues.
11394 * fold-const.c (real_hex_to_f): Constify s and p.
11395 * output.h (default_function_pro_epilogue): New.
11396 * real.h (real_hex_to_f): Update prototype.
11397 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
11398 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
11399 (TARGET_INITIALIZER): Update.
11400 * target.h (gcc_target): Add struct asm_out.
11401 * doc/tm.texi: Update.
11404 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
11405 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
11406 in cpu/cpu.c, or rename old functions consistently. Take
11407 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
11408 redundant macros and prototypes. Make new functions static.
11410 * 1750a/1750a.c: Similarly.
11411 * 1750a/1750a.h: Similarly.
11412 * a29k/a29k-protos.h: Similarly.
11413 * a29k/a29k.c: Similarly.
11414 * a29k/a29k.h: Similarly.
11415 * arc/arc-protos.h: Similarly.
11416 * arc/arc.c: Similarly.
11417 * arc/arc.h: Similarly.
11418 * arm/arm-protos.h: Similarly.
11419 * arm/arm.c: Similarly.
11420 * arm/arm.h: Similarly.
11421 * avr/avr-protos.h: Similarly.
11422 * avr/avr.c: Similarly.
11423 * avr/avr.h: Similarly.
11424 * clipper/clipper-protos.h: Similarly.
11425 * clipper/clipper.c: Similarly.
11426 * clipper/clipper.h: Similarly.
11427 * convex/convex.c: Similarly.
11428 * convex/convex.h: Similarly.
11429 * d30v/d30v-protos.h: Similarly.
11430 * d30v/d30v.c: Similarly.
11431 * d30v/d30v.h: Similarly.
11432 * d30v/d30v.md: Similarly.
11433 * dsp16xx/dsp16xx-protos.h: Similarly.
11434 * dsp16xx/dsp16xx.c: Similarly.
11435 * dsp16xx/dsp16xx.h: Similarly.
11436 * elxsi/elxsi.c: Similarly.
11437 * elxsi/elxsi.h: Similarly.
11438 * fr30/fr30.c: Similarly.
11439 * fr30/fr30.md: Similarly.
11440 * h8300/h8300-protos.h: Similarly.
11441 * h8300/h8300.c: Similarly.
11442 * h8300/h8300.h: Similarly.
11443 * i370/i370-protos.h: Similarly.
11444 * i370/i370.c: Similarly.
11445 * i370/i370.h: Similarly.
11446 * i386/i386.c: Similarly.
11447 * i386/osf1elf.h: Similarly.
11448 * i386/osfrose.h: Similarly.
11449 * i860/i860-protos.h: Similarly.
11450 * i860/i860.c: Similarly.
11451 * i860/i860.h: Similarly.
11452 * i960/i960-protos.h: Similarly.
11453 * i960/i960.c: Similarly.
11454 * i960/i960.h: Similarly.
11455 * ia64/ia64-protos.h: Similarly.
11456 * ia64/ia64.c: Similarly.
11457 * ia64/ia64.h: Similarly.
11458 * m32r/m32r-protos.h: Similarly.
11459 * m32r/m32r.c: Similarly.
11460 * m32r/m32r.h: Similarly.
11461 * m68hc11/m68hc11-protos.h: Similarly.
11462 * m68hc11/m68hc11.c: Similarly.
11463 * m68hc11/m68hc11.h: Similarly.
11464 * m68k/crds.h: Similarly.
11465 * m68k/dpx2.h: Similarly.
11466 * m68k/m68k-protos.h: Similarly.
11467 * m68k/m68k.c: Similarly.
11468 * m68k/m68k.h: Similarly.
11469 * m68k/news.h: Similarly.
11470 * m88k/m88k-protos.h: Similarly.
11471 * m88k/m88k.c: Similarly.
11472 * m88k/m88k.h: Similarly.
11473 * mips/mips-protos.h: Similarly.
11474 * mips/mips.c: Similarly.
11475 * mips/mips.h: Similarly.
11476 * ns32k/merlin.h: Similarly.
11477 * ns32k/ns32k.c: Similarly.
11478 * ns32k/ns32k.h: Similarly.
11479 * ns32k/tek6000.h: Similarly.
11480 * pa/pa-protos.h: Similarly.
11481 * pa/pa.c: Similarly.
11482 * pa/pa.h: Similarly.
11483 * pdp11/2bsd.h: Similarly.
11484 * pdp11/pdp11-protos.h: Similarly.
11485 * pdp11/pdp11.c: Similarly.
11486 * pdp11/pdp11.h: Similarly.
11487 * romp/romp-protos.h: Similarly.
11488 * romp/romp.c: Similarly.
11489 * romp/romp.h: Similarly.
11490 * rs6000/rs6000-protos.h: Similarly.
11491 * rs6000/rs6000.c: Similarly.
11492 * rs6000/rs6000.h: Similarly.
11493 * rs6000/sysv4.h: Similarly.
11494 * sh/sh-protos.h: Similarly.
11495 * sh/sh.c: Similarly.
11496 * sh/sh.h: Similarly.
11497 * sparc/sparc-protos.h: Similarly.
11498 * sparc/sparc.c: Similarly.
11499 * sparc/sparc.h: Similarly.
11500 * vax/vax.c: Similarly.
11501 * vax/vax.h: Similarly.
11502 * vax/vms.h: Similarly.
11503 * we32k/we32k.c: Similarly.
11504 * we32k/we32k.h: Similarly.
11506 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
11508 * basic-block.h (first_insn_after_basic_block_note): Declare.
11509 * flow.c (first_insn_after_basic_block_note): Define. Moved
11511 * ssa.c (first_insn_after_basic_block_note): Remove.
11512 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
11514 (ssa_eliminate_dead_code): Properly update the CFG and PHI
11515 nodes when we find a dead conditional branch. Insert BARRIERs
11516 after any blocks with no successors, but which do not have
11519 2001-07-06 Zack Weinberg <zackw@stanford.edu>
11521 * varray.c (varray_check_failed): Use internal_error.
11523 2001-07-05 Andrew Haley <aph@redhat.com>
11525 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
11526 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
11527 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
11529 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
11531 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
11532 reference if the target constant is also a SYMBOL_REF.
11534 2001-07-05 Eric Christopher <echristo@redhat.com>
11536 * config/mips/mips.h (MASK_MIPS3900): Remove.
11537 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
11538 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
11539 (TARGET_MIPS3900): Change to use mips_arch.
11540 (TARGET_MIPS4000): New.
11541 (TARGET_MIPS4100): New.
11542 (TARGET_MIPS4300): New.
11543 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
11544 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
11546 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
11547 (ISA_HAS_BRANCHLIKELY): To here.
11548 (CC1_CPU_SPEC): New.
11549 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
11550 (mips_arch_string): Declare.
11551 (mips_arch): Declare.
11552 (TARGET_OPTIONS): Add -march and -mtune.
11554 * config/mips/mips.c (mips_arch_string): New.
11556 (override_options): Handle -march for codegen and -mtune
11557 for scheduling. Use mips_arch. Move tx39 target default here.
11558 (mips_parse_cpu): Move error message to override_options.
11560 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
11562 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
11564 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
11565 (MIPS Options): Ditto. Change mcpu entry to historical text.
11567 2001-07-05 H.J. Lu (hjl@gnu.org)
11569 * config/mips/mips.c (mips_parse_cpu): New function to parse
11572 2001-07-05 Jim Wilson <wilson@redhat.com>
11574 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
11575 * config/ia64/t-ia64: Likewise.
11576 (LIB1ASMFUNCS): Update comment.
11578 2001-07-05 David Edelsohn <edelsohn@gnu.org>
11580 * doc/install.texi (Install GCC: Binaries): Fix typo.
11582 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11584 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
11585 reference using the stack pointer, adjust it since we push Y
11587 ("*ashrsi3"): Likewise.
11588 ("*lshrsi3"): Likewise.
11590 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11592 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
11593 when -fomit-frame-pointer is used.
11595 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
11597 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
11598 (try_redirect_by_replacing_jump): Reverse updating properly the
11599 count and frequency information. Reverse removing cc0 setter.
11600 (forwarder_block_p): Reverse fixing for fallthru blocks.
11602 2001-07-05 DJ Delorie <dj@redhat.com>
11604 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
11605 (translate_options): If the above is defined, use it to map
11606 given options to new options.
11607 * doc/tm.texi: Document it.
11609 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
11610 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11612 * doc/invoke.texi (Optimize Options): Document that -fgcse may
11613 cause programs using computed gotos to run more slowly.
11615 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11617 * doc/install.texi (Specific): Markup, spelling and typo fixes.
11619 Consistently require binutils 2.11.2, not prereleases.
11620 (Specific, decstation-*): Canonicalize as mips-dec-*.
11621 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
11623 (Specific, m68k-altos): Removed reference to README.altos, deleted.
11624 (Specific, mips-*): Reword MIPS C compiler requirements.
11625 (Specific, powerpc*-*-*): New, mention --with-cpu once.
11626 (Specific, sunv5): Removed, obsolete.
11628 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
11630 * dwarf2out.c (output_loc_list): Use an all ones mask for
11631 .text asm output and don't rely on long long
11632 literals. Reformat some long lines.
11634 2001-07-05 Andreas Jaeger <aj@suse.de>
11636 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
11639 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
11641 * dwarf2out.c (dwarf2out_define): Update comment.
11642 (dwarf2out_undef): Ditto.
11643 (dwarf2out_start_source_file): Ditto.
11644 (dwarf2out_end_source_file): Ditto.
11645 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
11646 since we never call the start/end debug hook for the primary file.
11648 2001-07-04 Kazu Hirata <kazu@hxi.com>
11650 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
11653 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
11655 * cppinit.c (remove_dup_dirs): Inform if a system include
11656 directory is being reordered.
11657 * doc/invoke.texi (Directory Options): GCC warns if you hide a
11659 * doc/cpp.texi (Search Paths): Likewise.
11660 * doc/gcc.texi (Interoperation): Remove information about
11663 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
11665 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
11666 (VARRAY_TOP_CHAR_PTR): Likewise.
11668 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11670 * gcc.c (process_command): Don't assign elements of a const char*.
11672 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11674 * emit-rtl.c (change_address): Don't abort if invalid address while
11675 reload is in progress.
11677 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
11679 * c-lex.c (cb_file_change): Pass line number to
11680 debug_start_source_file.
11681 (cb_undefine): Pass correct line number to debug_undef.
11683 * toplev.c (debug_start_source_file): Add line number to
11684 parameters. Pass it along to dwarf2out_start_source_file.
11685 (decode_g_option): Stop resetting debug level back to normal when
11686 we change debug formats, unless the current level is
11687 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
11690 * toplev.h (debug_start_source_file): Add line number to
11693 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
11696 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
11698 Output debug_macinfo data for starting file if requested.
11699 (dwarf2out_end_source_file): Output debug_macinfo data for ending
11701 (dwarf2out_define): Output debug_macinfo data for defining a macro
11703 (dwarf2out_undef): Output debug_macinfo data for undefining a
11704 macro if requested.
11705 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
11706 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
11707 (macinfo_section_label): New. DWARF2 macro info section label.
11708 (dwarf2out_init): If we want macro info, output the start label
11710 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
11711 attribute to the compilation unit die pointing to the macro info.
11713 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
11715 * dwarf2out.c (new_loc_list): Move to inside #ifdef
11716 DWARF2_DEBUGGING_INFO.
11717 (add_loc_descr_to_loc_list): Ditto.
11718 (output_loc_list): Ditto.
11719 Also, fix thinko in curr not being initialized.
11720 (gen_internal_sym): Ditto.
11722 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11724 * emit-rtl.c (replace_equiv_address): New function.
11725 * expr.h (replace_equiv_address): New declaration.
11726 * explow.c (validize_mem): Call it instead of change_address and
11727 also call if -fforce-addr and address is constant.
11728 * expr.c: Replace more calls to change_address with adjust_address
11729 and/or replace_equiv_address or to validize_mem.
11730 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
11731 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
11732 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
11733 * config/i370/i370.md, config/i860/i860.md: Likewise.
11734 * config/i960/i960.md, config/mips/mips.c: Likewise.
11735 * config/mips/mips.md, config/pa/pa.md: Likewise.
11736 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
11737 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
11739 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11741 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
11743 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
11746 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
11748 * doc/include: New directory.
11749 * doc/fdl.texi: Move to doc/include/fdl.texi.
11750 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
11751 * doc/include/funding.texi, doc/include/gpl.texi: New files.
11752 * doc/gcc.texi: Use funding.texi and gpl.texi.
11753 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
11754 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
11755 Update dependencies and use -I $(docdir)/include.
11757 2001-07-04 Anthony Green <green@redhat.com>
11759 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
11761 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11763 * doc/install.texi (sparc64-*-*): Remove garbage.
11765 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
11767 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
11768 Fix typo in last change to use adjust_address.
11770 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11772 * doc/install.texi (Specific): Update information for *-*-solaris*.
11774 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11776 * explow.c (plus_constant_wide): Reinitialize Y for restart.
11778 2001-07-03 Stan Shebs <shebs@apple.com>
11780 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
11781 case for flag_no_mach_text_sections.
11782 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
11783 * config/darwin.c (flag_no_mach_text_sections): Remove.
11784 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
11786 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11788 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
11789 and avoid checking for constant as first operand.
11790 * recog.c (find_constant_term_loc): No longer static.
11791 (adj_offettable_operand): Delete.
11792 * rtl.h (adj_offsettable_operand): Delete declaration.
11793 (find_constant_term): Add declaration.
11794 * caller-save.c: Replace calls to adj_offsettable_operand with calls
11796 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
11797 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
11798 * config/i386/i386.c, config/i386/i386.md: Likewise.
11799 * config/i860/i860.c, config/i960/i960.c: Likewise.
11800 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
11801 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
11802 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
11803 * config/mips/mips.c, config/mips/mips.md: Likewise.
11804 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
11805 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
11806 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
11807 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
11808 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
11809 * config/ns32k/ns32k.md: Likewise.
11811 2001-07-03 Zack Weinberg <zackw@stanford.edu>
11813 * rtl.c (copy_rtx): Handle 'T' format letter.
11814 * gensupport.c (collect_insn_data): Likewise.
11815 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
11817 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
11819 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
11820 -B option. Use 'dir' not 'foo' as example directory name.
11822 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11824 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
11825 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
11827 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
11829 * doc/cppinternals.texi: Improve formatting and logical markup.
11831 2001-07-03 Andreas Jaeger <aj@suse.de>
11833 * Makefile.in (insn-recog.o): Add dependency on reload.h.
11835 * genrecog.c (write_header): Include reload.h for prototypes in
11838 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
11841 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
11842 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
11843 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
11844 i386_pe_valid_type_attribute_p): Add.
11845 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
11846 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
11848 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11850 * explow.c (plus_constant_wide, case LO_SUM): New case.
11851 (plus_constant_for_output_wide): Delete.
11852 * rtl.h (plus_constant_for_output): Delete.
11853 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
11854 instead of plus_constant_for_output.
11855 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
11856 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
11857 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
11858 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
11859 * config/sparc/sparc.md: Likewise.
11860 Convert some change_address calls to adjust_address.
11862 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
11864 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
11865 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
11866 documentation of -std and -Wwrite-strings.
11868 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
11870 * cse.c (canon_hash): Don't register registers in very small
11871 register classes, as extending their lifetime might cause
11874 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
11876 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
11878 * flow.c (forwarder_block_p): Fix for fallthru blocks.
11879 (try_redirect_by_replacing_jump): Update properly the count
11880 and frequency information.
11882 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
11884 * toplev.c (dump_file_index): Move SSA dumps just after first
11886 (dump_file): Corresponding changes.
11887 (rest_of_compilation): Move SSA path to just after the first
11889 * doc/gcc.texi (Passes): Update due to movement of SSA path.
11890 * doc/invoke.texi: Update dump file #s as they were completely
11891 out of date with reality.
11893 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
11895 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
11897 * expr.c (emit_move_insn_1): Deal with non-default
11900 * expr.c (emit_single_push_insn): Fix warning.
11902 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
11904 * expr.c (emit_move_insn_1): Avoid modifying
11905 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
11907 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11909 * emit-rtl.c (adjust_address): New function.
11910 * expr.h (adjust_address): Add declaration.
11911 * builtins.c: Replace some calls to change_address with calls to it
11912 or to validize_mem.
11913 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
11914 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
11915 * config/arm/arm.c, config/convex/convex.c: Likewise.
11916 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
11917 * config/i386/i386.c, config/i386/i386.md: Likewise.
11918 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
11919 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
11920 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
11921 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
11922 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
11924 2001-07-02 Jim Wilson <wilson@redhat.com>
11926 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
11928 2001-07-02 Steve Ellcey <sje@cup.hp.com>
11930 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
11931 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
11933 2001-07-02 Zack Weinberg <zackw@stanford.edu>
11935 * cppinit.c (lang_defaults): New table.
11936 (set_lang): Just read from lang_defaults into the live options
11939 2001-07-02 Zack Weinberg <zackw@stanford.edu>
11941 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
11942 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
11943 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
11945 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11947 * doc/install.texi: Various spelling and markup fixes.
11948 (Installing GCC): Component specific installation instructions are
11951 Warn about removing old install dir in the presence of shared libs.
11952 (Configuration): Invoke with options target to match configure
11954 Consistently refer to gas, gld pathnames.
11955 Invert --enable-multilib documentation.
11956 Remove references to old compiler versions.
11958 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11960 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
11962 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11964 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
11966 (Specific, mips*-sgi-irix5): Note IDO download.
11967 Reworded MIPS C hints.
11968 Use GNU as instead of GAS.
11970 Removed SGI Freeware reference, IRIX 6 only.
11971 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
11972 Note N64 library requirement/workaround.
11974 Complete list of structure passing bug victims.
11976 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11978 * doc/install.texi: Remove CVS Id.
11980 2001-07-02 Andreas Jaeger <aj@suse.de>
11982 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
11983 (find_inherently_necessary): Remove unused variable.
11985 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
11987 * c-common.h (TDI_inlined): New ast dump phase.
11988 (dump_flag_name): New function.
11989 * c-dump.c (dump_files): Add inlined phase.
11990 (dump_flag_name): Define.
11991 * doc/invoke.texi (-fdump-ast-inlined): Document.
11993 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11995 * stor-layout.c (layout_decl): Revert change to handling of alignment
11998 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12000 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
12003 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
12005 * doc/tm.texi (FUNCTION_ARG): Document that the last call
12008 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
12010 * tlink.c (recompile_files): Remove COMPILER_PATH and
12011 LIBRARY_PATH from the environment.
12013 2001-07-01 Zack Weinberg <zackw@stanford.edu>
12015 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
12016 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
12018 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
12020 * c-parse.in (OBJC_STRING): Kill.
12021 (objc_string): Decompose to [objc_string] '@' STRING.
12022 (reswords): Take the leading '@' off all the Objective C keywords.
12023 (objc_rid_sans_at): Kill.
12024 (init_reswords): Don't initialize it.
12025 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
12026 (_yylex): Kill reconsider label. Look ahead one token after
12027 an '@'; if we get an identifier, check whether it's an
12028 Objective C @-keyword. If so, return the keyword. Otherwise,
12029 put back the token and return the '@' as a terminal.
12031 * cpplib.c (lex_macro_node): Remove unnecessary check for
12032 leading '@' on identifier. Clarify control flow and commentary.
12034 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12036 * cse.c (new_label_ref): Variable deleted.
12037 (insert): Remove set of new_label_ref.
12038 (check_for_label_ref): New function.
12039 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
12041 See ChangeLog.5 for earlier changes.