1 2001-12-09 Richard Henderson <rth@redhat.com>
3 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
4 immediately after a call; insert nops before a call.
6 2001-12-09 Richard Henderson <rth@redhat.com>
8 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
10 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
11 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
12 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
14 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
16 * config/mmix/mmix.c (mmix_function_block_profiler,
17 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
19 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
20 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
23 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
24 Delete obsoleted macros.
26 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
28 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
29 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
31 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
32 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
33 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
34 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
35 config/i370/i370.c, config/i386/i386.c,
36 config/i386/i386-interix.h, config/i386/i386.md,
37 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
38 config/m32r/m32r-protos.h, config/mcore/mcore.h,
39 config/rs6000/rs6000.h, config/sparc/linux64.h,
40 config/sparc/sparc.c, config/v850/v850-protos.h,
41 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
44 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
46 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
47 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
49 * config/rs6000/rs6000.c: Ditto.
51 * config/rs6000/rs6000.md: Ditto.
53 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
55 * 1750a.md: Add default case in switch.
56 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
58 * dsp16xx.c (print_operand_address): Likewise.
59 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
60 * ia64.md: Add missing braces.
61 * rs6000-protos.h (s8bit_cint_operand): Prototype.
62 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
64 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
65 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
66 * dbxout.c (dbxout_source_file): Move a variable into the scope
68 * final.c (profile_function): Mark parameter with
70 * genemit.c (gen_expand): Likewise for generated file.
71 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
73 * vmsdbg.h: Delete spurious close-comment.
74 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
75 * vmsdbgout.c (write_modbeg): Define return type.
77 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
78 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
79 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
80 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
81 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
82 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
83 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
85 2001-12-08 Tom Rix <trix@redhat.com>
87 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
88 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
89 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
91 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
92 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
93 * config/rs6000/rs6000.c (expand_block_move): Do not use
94 gen_movstrsi_2reg and powerpc64.
96 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
98 * c-common.h (rid): Add RID_CHOOSE_EXPR and
99 RID_TYPES_COMPATIBLE_P.
101 * c-parse.in (reswords): Add __builtin_choose_expr.
102 Add __builtin_types_compatible_p.
103 Add CHOOSE_EXPR token.
104 Add TYPES_COMPATIBLE_P token.
105 Add production for CHOOSE_EXPR.
106 Add production for TYPES_COMPATIBLE_P.
108 * doc/extend.texi (__builtin_choose_expr): Add documentation.
109 (__builtin_types_compatible_p): Likewise.
111 2001-12-08 David Edelsohn <edelsohn@gnu.org>
113 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
116 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
118 * c-parse.in: Take string literals in assembler constructs,
120 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
121 check the strings are STRING_CSTs.
123 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
125 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
126 using combine_strings to do the concatenation.
127 * c-parse.in: Replace uses of the string non-terminal with STRING.
128 Don't attempt string concatenation.
129 (OBJC_STRING): New terminal.
130 (string): Remove non-terminal.
131 (_yylex): Call combine_strings on function names. Generate
132 OBJC_STRING terminals; don't pass '@' on to yacc.
133 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
134 (build_asm_stmt): Similarly.
136 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
138 * rtlanal.c (get_jump_table_offset): Delete unused variable.
140 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
142 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
143 (prefetch): Rewrite using PREFETCH RTL primitive.
144 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
145 * arm.c (arm_init_builtins): Don't initialize a builtin for
146 __builtin_prefetch here.
147 (arm_expand_builtin): Don't expand __builtin_prefetch here.
149 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
151 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
152 in test for a subreg.
154 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
156 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
159 2001-12-07 Richard Henderson <rth@redhat.com>
161 * doc/extend.texi: Fix typo last change.
163 * c-decl.c (c_language): Remove duplicate.
165 2001-12-07 Dale Johannesen <dalej@apple.com>
167 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
168 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
169 specific codegen, eliminate a register copy.
170 (print_operand_address): Add support for Darwin's lo16(constant)
172 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
173 generation of addresses within very large data objects.
174 (s8bit_cint_operand): New.
175 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
176 Move "mtjmpr" to correct functional unit for 750/7400/7450.
177 Add imul2 and imul3 insn types for multiplication by 16- and
179 Change tablejump patterns to strongly discourage using LR
181 Add %lo16 patterns for Darwin loads and stores.
183 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
185 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
187 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
189 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
190 with %sp because it can cause the delayed instruction to load
193 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
195 * alpha.c (alpha_expand_unaligned_store,
196 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
197 call to immed_double_const.
199 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
201 * doc/extend.texi (Variable Attributes): Document vector_size.
203 * attribs.c (c_common_attribute_table): Add vector_size.
204 (handle_vector_size_attribute): New.
205 (vector_size_helper): New.
206 (decl_attributes): Relayout the decl after calculating attribs.
208 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
210 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
211 description for Trouble section.
212 * doc/install-old.texi: Adjust for inclusion as chapter of new
214 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
215 Adjust to include old installation chapter as chapter of new
218 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
220 * rtl.h (get_jump_table_offset): Declare.
221 * rtlanal.c (get_jump_table_offset): Implement.
223 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
225 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
226 Deleted; were used only by BB profiler code.
227 (sbb_head, sbb_tail, sbb_label_num): Likewise.
228 (end_final): Delete now-unused vars I, PTR, and SPTR.
230 * expr.c (store_field): Remove warning.
231 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
232 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
233 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
234 divisor constant power of 2.
235 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
237 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
239 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
242 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
244 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
245 (DWARF_FRAME_REGISTERS): Delete.
247 2001-12-06 Janis Johnson <janis187@us.ibm.com>
249 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
250 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
251 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
252 with defaults for read prefetch with high degree of locality.
253 * doc/extend.texi (__builtin_prefetch): Update documentation.
254 * doc/md.texi (prefetch): Add documentation.
256 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
258 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
260 * fixinc/fixincl.x: Regenerate.
261 Fixes PR libf2c/4826.
263 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
264 Richard Henderson <rth@redhat.com>
266 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
267 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
269 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
270 to PRE_GCC3_DWARF_FRAME_REGISTERS.
272 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
274 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
276 * langhooks.c (lhd_staticp): Mark parameter with
279 2001-12-06 H.J. Lu <hjl@gnu.org>
281 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
284 (o/$(PACKAGE).pot): Likewise.
286 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
288 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
289 * tree-inline.c (expand_call_inline): ... here.
291 2001-12-06 H.J. Lu <hjl@gnu.org>
293 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
295 (o/$(PACKAGE).pot): Likewise.
297 2001-12-06 David O'Brien <obrien@FreeBSD.org>
299 * config.gcc: Include dbxelf.h before elfos.h.
300 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
302 2001-12-06 Zack Weinberg <zack@codesourcery.com>
304 * cppfiles.c (open_file): If we've opened a directory by
306 (find_include_file): Avoid turning / into // or // into ///.
308 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
310 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
311 (STRUCT_VALUE_REGNUM): Restore definition.
313 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
315 * flow.c (find_regno_partial): Return register, not the expression
318 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
320 * function.c (handle_epilogue_set): Check for FP setting case when
321 SP is set from FP in same insn.
323 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
325 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
326 RTX when calling alter_subreg().
327 (store_multiple_sequence): Pass pointer to RTX when calling
330 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
332 * function.c (assing_parms): Fix typo in last change.
333 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
334 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
335 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
336 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
338 2001-12-06 Alan Modra <amodra@bigpond.net.au>
340 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
341 correct code selecting section.
343 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
345 * final.c (count_basic_block, add_bb, add_bb_string):
347 (end_final, final_start_function, final, final_scan_insn,
348 leaf_function_p): Kill BB profiler related code.
349 * flags.h (profile_block_flag): Kill.
350 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
351 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
352 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
353 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
354 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
355 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
356 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
357 __bb_init_trace_func): Kill.
358 * toplev.c (profile_block_flag): Kill.
359 (indepdendent_decode_option, process_options): Kill -a related code.
360 * alpha.c (direct_call_operand): Likewise.
361 * arm.c (arm_expand_prologue, thumb_expand_prologue,
362 thumb_expand_epilogue): Likewise.
363 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
364 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
365 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
366 MACHINE_STATE_RESTORE): Kill.
367 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
368 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
369 MACHINE_STATE_RESTORE): Kill.
370 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
371 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
372 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
374 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
375 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
376 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
377 MACHINE_STATE_RESTORE): Kill.
378 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
379 * i960.c (i960_output_function_prologue): Kill BB profiler related
381 * ia64.c (ia64_compute_frame_size): Likewise.
382 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
383 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
384 MACHINE_STATE_RESTORE): Kill.
385 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
386 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
387 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
388 MACHINE_STATE_RESTORE): Kill.
389 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
390 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
391 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
392 MACHINE_STATE_RESTORE): Kill.
393 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
394 Kill BB profiler related code.
395 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
396 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
397 MACHINE_STATE_RESTORE): Kill.
398 * mips.c (mips_expand_prologue): Kill BB profiler related code.
399 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
400 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
401 MACHINE_STATE_RESTORE): Kill.
402 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
403 * s960.c (s390_function_prologue): Kill BB profiler related code.
404 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
405 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
406 MACHINE_STATE_RESTORE): Kill.
407 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
408 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
409 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
410 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
411 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
412 sparc_nonflat_function_epilogue): Kill BB profiler related code.
413 (sparc_function_block_profiler, sparc_block_profiler,
414 sparc_function_block_profiler_exit): Kill.
415 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
416 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
417 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
418 MACHINE_STATE_RESTORE): Kill.
419 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
420 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
421 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
422 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
423 MACHINE_STATE_RESTORE): Kill.
424 * doc/invoke.texi: Kill documentation of -a and -ax.
425 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
426 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
427 MACHINE_STATE_RESTORE): Kill.
429 2001-10-26 Steve Christiansen <smc@us.ibm.com>
431 * doc/rtl.texi: Use a table to display RTL format characters.
433 2001-12-06 Bo Thorsen <bo@suse.co.uk>
435 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
437 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
439 * function.c (keep_stack_depressed): Check global_live_at_start
440 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
442 2001-12-05 David O'Brien <obrien@FreeBSD.org>
444 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
445 as set by the generic FreeBSD configure framework.
447 2001-12-04 Jason Merrill <jason@redhat.com>
449 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
450 start_inlining, end_inlining.
451 * tree-inline.c (expand_call_inline): Call them.
452 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
453 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
454 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
455 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
456 (lhd_tree_inlining_end_inlining): New fn.
458 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
460 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
461 * c-common.h (shadow_warning): New.
462 * c-decl.c: Include c-common.h.
463 (warn_if_shadowing): New, broken out of pushdecl.
464 (pushdecl): Use warn_if_shadowing.
465 (store_parm_decls): Prevent duplicate -Wshadow warnings.
467 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
469 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
470 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
473 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
475 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
476 (QUAL_UNION_TYPE): New type.
478 * varasm.c (output_constant, case ERROR_MARK): New case.
480 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
481 (c_com): Delete its reference.
482 * builtins.c: Delete memory checking code.
483 * calls.c, expr.c, function.c, stmt.c: Likewise.
484 * builtins.c (expand_builtin_arg_info): Remove reference to
485 EXPAND_MEMORY_USE_* modifiers.
486 * explow.c (expr_size): Likewise.
487 * expr.c (expand_expr, expand_increment): Likewise.
488 * expr.h (ARGS_SIZE_RTX): Likewise.
489 * function.c (assign_parms, expand_pending_sizeso): Likewise.
490 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
491 * expr.c (in_check_memory_usage): Delete.
492 (get_push_address, get_memory_usage_from_modifier): Delete.
493 (expand_assigment): Use EXPAND_WRITE on destination.
494 (expand_expr): Delete ro_modifier.
495 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
497 (memory_use_mode): Delete.
498 * flags.h (flag_check_memory_usage): Deleted.
499 (flag_prefix_function_name): Likewise.
500 * function.c (expand_function_start): Don't set
501 current_function_check_memory_usage.
502 * function.h (check_memory_usage): Delete.
503 * libfuncs.h, optabs.c: Delete chkr_* stuff.
504 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
506 * toplev.c (flag_check_memory_usage): Deleted.
507 (flag_prefix_function_name): Likewise.
508 (f_options, process_options): Delete references to above.
509 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
510 * varasm.c (CHKR_PREFIX): Deleted.
511 (make_decl_rtl): Remove flag_prefix_function_name handling.
512 (assemble_name): Likewise.
513 * doc/extend.texi: Remove no_check_memory_usage attribute.
514 * doc/invoke.texi: Remove -fcheck-memory-usage
515 and -fprefix-function-name.
517 2001-12-05 Andreas Schwab <schwab@suse.de>
519 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
522 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
524 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
526 2001-12-05 William Cohen <wcohen@redhat.com>
528 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
531 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
533 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
536 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
537 better reflect reality (change from Apple's tree).
538 Add more of altivec instructions.
539 Add ftruncv4sf2 pattern.
540 Remove more unspecs (vector merge instructions, etc).
542 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
544 (bdesc_1arg): New, for 1 argument altivec builtins.
545 (altivec_expand_builtin): Handle unary and ternary ops.
546 (altivec_init_builtins): Ditto.
548 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
550 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
551 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
553 2001-12-05 Jakub Jelinek <jakub@redhat.com>
555 * gcse.c (store_killed_in_insn): Consider pure calls
556 as potential store killers in addition to normal calls.
558 2001-12-05 Jakub Jelinek <jakub@redhat.com>
560 * expr.c (expand_expr): When checking promoted value, use
561 DECL_MODE (exp) and not mode.
563 2001-12-05 Jakub Jelinek <jakub@redhat.com>
565 * c-typeck.c (output_init_element): Call digest_init
566 just once, not in each if branch and check its return value for
569 2001-12-05 Jakub Jelinek <jakub@redhat.com>
571 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
572 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
573 (finish_struct): Break the loop if n_incomplete went to 0.
574 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
576 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
578 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
580 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
581 Douglas B. Rupp <rupp@gnat.com>
583 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
584 * doc/invoke.texi: Add -gvms.
585 * doc/passes.texi: Add mention of vmsdbgout.c.
586 * doc/tm.texi: Document VMS debugging output.
588 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
590 * function.h (tree, rtx): Remove no-longer-needed definitions.
592 * function.c (keep_stack_depressed): Refine check for register
595 * expr.c (store_expr): When copying string constant into array,
596 use functions that update memrefs instead of computations on
597 addresses to better track MEMs. Also properly handle 32/64 pointers.
598 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
599 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
601 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
602 underneath COMPONENT_REFs.
603 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
605 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
607 * toplev.c (display_target_options): Don't print twice.
609 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
611 * emit-rtl.c (set_unique_reg_note): Don't set
612 a REG_EQUAL or REG_EQUIV note if multiple sets
615 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
617 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
620 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
622 * rtl.h (initialize_uninitialized_subregs): New prototype.
623 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
624 when optimization is on.
625 * flow.c (find_regno_partial): Find subregs within an expression.
626 (initialize_uninitialized_subregs): Initialize live on entry registers
627 which are used in subreg expressions.
629 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
631 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
633 2001-12-04 DJ Delorie <dj@redhat.com>
635 * fixinc/fixincl.c (initialize): Avoid problemsome macro
636 parameter names (PR 3388).
638 2001-12-05 Alan Modra <amodra@bigpond.net.au>
640 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
641 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
643 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
645 * c-common.def (COMPOUND_LITERAL_EXPR): New.
646 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
647 (c_staticp): New function.
648 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
649 (c_staticp): Declare.
650 * c-typeck.c (default_function_array_conversion, build_unary_op):
651 Don't handle CONSTRUCTOR specially.
652 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
653 * c-decl.c (build_compound_literal): New function.
654 * c-tree.h (build_compound_literal): Declare.
655 * c-parse.in (primary): Use build_compound_literal.
656 * c-lang.c (LANG_HOOKS_STATICP): Define.
657 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
658 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
659 * doc/extend.texi: Update documentation of compound literals.
662 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
664 * langhooks.h (struct lang_hooks): Add staticp.
665 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
666 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
667 * langhooks.c (lhd_staticp): New function.
668 * tree.c (staticp): Call lang_hooks.staticp for language-specific
671 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
673 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
674 * gcc.c (process_command): Ensure the cpp driver sees
675 --help and --target-help, and that the help is printed
678 2001-12-04 David Edelsohn <edelsohn@gnu.org>
680 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
682 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
684 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
685 flag_strict_aliasing. Use separate assignment statements.
687 2001-12-04 Zack Weinberg <zack@codesourcery.com>
689 * build-make, cross-make: Delete file.
690 * configure.in: Set and substitute CROSS, ALL,
691 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
692 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
693 whether build == host and host == target. Do not
694 AC_SUBST_FILE build_overrides or cross_overrides. Do not
695 AC_SUBST cross_defines or extra_c_flags.
696 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
697 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
698 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
699 partially or completely with autoconf-substituted @variable@
701 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
702 @build_overrides@, @extra_c_flags@, all.build, install-build,
703 install-cross-rest, install-float-h-cross): Deleted.
704 (install-normal): Rename to install. Delete old "install"
707 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
709 * stmt.c (expand_return): Clear destination instead of clobbering it
710 when setting a return value via bitsets.
712 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
714 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
715 it has DECL_SAVED_TREE.
717 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
718 is in a different binding level, get its abstract origin to be
720 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
722 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
723 DECL_INITIAL is NULL.
725 2001-12-04 Jakub Jelinek <jakub@redhat.com>
727 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
728 Return correct value if one of the subexpressions was optimized to
729 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
730 (and_reg_cond): Similarly.
732 2001-12-04 Jakub Jelinek <jakub@redhat.com>
734 * function.c (assign_parms): Set last_named only for last named
737 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
739 * doc/install.texi: Use the GFDL. Include years from old install
740 manual in copyright notice. Include copyright and GFDL notice on
741 HTML index page. Include usual footer on testing.html.
742 * doc/install.texi2html: Build gfdl.html. Use -I
744 * doc/include/fdl.texi: Adapt for use in the install manual.
746 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
748 * doc/install.texi: Document that installed native compiler for
749 building cross compilers should be GCC 2.95 or later.
751 2001-12-03 Eric Christopher <echristo@redhat.com>
753 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
754 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
757 2001-12-03 Janis Johnson <janis187@us.ibm.com>
759 * rtl.def (PREFETCH): New rtx code.
760 * doc/rtl.texi (PREFETCH): Add documentation.
761 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
762 * rtlanal.c (reg_referenced_p): Ditto.
763 * sched-vis.c (print_exp): Ditto.
764 * ssa-dce.c (find_inherently_necessary): Ditto.
766 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
767 (PREFETCH_BLOCK): Define.
768 * config/ia64/ia64.md (itanium_class): Add lfetch.
769 (prefetch, prefetch_internal): New.
771 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
772 * builtins.def (BUILT_IN_PREFETCH): New.
773 * builtins.c (expand_builtin_expect): New.
774 (expand_builtin): Call it.
775 * doc/extend.texi: Document __builtin_prefetch.
777 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
778 conflicts with new generic prefetch functionality.
779 * config/i386/i386.c (ix86_expand_builtin): Use new name for
782 2001-12-02 Ziemowit Laski <zlaski@apple.com>
784 * objc/Make-lang.in: Update copyright.
785 (OBJC_OBJS): Add objc-lang.o.
786 (objc-lang.o): New rule.
787 * objc/config-lang.in: Fix file description and update
789 * objc/objc-act.c: Do not include langhooks.h and
791 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
792 (objc_post_options): Move to objc-lang.c.
793 (objc_init_options): Move to objc-lang.c.
794 (objc_init): Make non-static.
795 (objc_decode_option): Make non-static.
796 (HASHFUNCTION): Remove macro.
797 (hash_func): New function.
798 (hash_enter): Replace HASHFUNCTION with hash_func.
799 (hash_lookup): Replace HASHFUNCTION with hash_func.
800 (maybe_objc_tree_codes): New function.
801 (init_objc): Move ObjC tree code initialization to
802 maybe_objc_tree_codes().
803 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
804 (objc_init): New public prototype.
805 (objc_decode_option): New public prototype.
806 (maybe_add_objc_tree_codes): New public prototype.
807 * objc/objc-lang.c: New file.
808 (lang_hooks): Moved from objc-act.c.
809 (objc_post_options): Moved from objc-act.c.
810 (objc_init_options): Moved from objc-act.c.
812 2001-12-03 Geoff Keating <geoffk@redhat.com>
814 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
817 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
820 * gcc.c (process_command): Don't add a preprocessor option for
821 --help and --target-help; cc1 is enough.
823 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
825 * c-decl.c (grokdeclarator): Use ISO word.
826 * cppinit.c: Remove leading capital from diagnostic messages, as
827 per GNU coding standards.
828 * emit-rtl.c: Similarly.
829 * final.c: Similarly.
831 * tradcpp.c: Similarly.
832 * config/arm/arm.c: Similarly.
833 * config/arm/arm.h: Similarly.
834 * config/avr/avr.c: Similarly.
835 * config/avr/avr.h: Similarly.
836 * config/c4x/c4x.c: Similarly.
837 * config/cris/cris.c: Similarly.
838 * config/cris/cris.h: Similarly.
839 * config/d30v/d30v.c: Similarly.
840 * config/dsp16xx/dsp16xx.c: Similarly.
841 * config/dsp16xx/dsp16xx.h: Similarly.
842 * config/h8300/h8300.c: Similarly.
843 * config/i386/i386.c: Similarly.
844 * config/i386/xm-djgpp.h: Similarly.
845 * config/i960/i960.h: Similarly.
846 * config/m32r/m32r.c: Similarly.
847 * config/m68hc11/m68hc11.c: Similarly.
848 * config/m88k/m88k.c: Similarly.
849 * config/m88k/m88k.h: Similarly.
850 * config/mcore/mcore.c: Similarly.
851 * config/mcore/mcore.h: Similarly.
852 * config/mips/mips.c: Similarly.
853 * config/mmix/mmix.c: Similarly.
854 * config/pa/pa.c: Similarly.
855 * config/rs6000/rs6000.c: Similarly.
856 * config/rs6000/sysv4.h: Similarly.
857 * config/s390/s390.c: Similarly.
858 * config/sparc/sparc.c: Similarly.
859 * config/v850/v850-c.c: Similarly.
860 * config/v850/v850.c: Similarly.
862 2001-12-03 Zack Weinberg <zack@codesourcery.com>
864 * rs6000.h (RETURN_IN_MEMORY): Cast result of
865 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
867 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
869 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
870 bit twiddling constant.
872 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
874 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
875 call purge_dead_edges after removing.
876 (delete_null_pointer_checks): Do not handle delete_list.
878 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
879 (count_basic_blocks): ... here.
880 (find_basic_blocks, find_bb_boundaries): Cleanup.
882 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
883 overflow for types greater then 2 * HOST_WIDE_INT.
885 * reload.c (find_reloads): Update the duplicates after swapingg.
887 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
889 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
891 2001-12-02 Zack Weinberg <zack@codesourcery.com>
893 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
894 MASK_LONG_DOUBLE_128): Delete.
895 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
896 TARGET_AIX_STRUCT_RET): New flags.
897 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
898 -mlong-double-64. Add entries for -m(no-)aix-struct-return
899 and -m(no-)svr4-struct-return.
900 (TARGET_OPTIONS): Add entry for -mlong-double-.
901 (rs6000_long_double_size_string, rs6000_long_double_type_size,
902 rs6000_altivec_abi): Declare.
903 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
904 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
905 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
906 structures of size <= 8 bytes in registers.
907 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
909 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
910 rs6000_long_double_type_size, rs6000_altivec_abi): New
912 (rs6000_override_options): Set rs6000_long_double_type_size
913 from rs6000_long_double_size_string, if nonzero. Set the
914 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
916 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
918 (rs6000_init_builtins): This hook now takes no arguments.
920 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
921 DRAFT_V4_STRUCT_RET to 1.
923 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
925 * c-typeck.c (really_start_incremental_init, push_init_level):
926 Avoid constructor_max_index being other than an INTEGER_CST.
928 2001-12-02 David Edelsohn <edelsohn@gnu.org>
930 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
932 (ASM_GENERATE_INTERNAL_LABEL): Same.
933 (UNIQUE_SECTION): Fix typo.
935 2001-12-02 Richard Henderson <rth@redhat.com>
937 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
939 2001-12-02 Richard Henderson <rth@redhat.com>
941 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
942 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
943 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
944 * expr.h, final.c, reload1.c: Adjust users.
946 * alias.c (nonoverlapping_component_refs_p): New.
947 (decl_for_component_ref, adjust_offset_for_component_ref): New.
948 (nonoverlapping_memrefs_p): Use them.
949 * emit-rtl.c (component_ref_for_mem_expr): New.
950 (set_mem_attributes): Use it.
951 (set_mem_offset): New.
952 * expr.c (expand_assignment): Call set_mem_attributes for
953 inner references; adjust the memory offset as needed.
954 * print-rtl.c (print_mem_expr): New.
957 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
959 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
961 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
962 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
963 (ASM_SPEC): Don't redefine.
964 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
965 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
966 * config/alpha/vms-dwarf2.asm: New file.
968 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
969 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
970 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
971 (vmsdbgout_after_prologue): New declaration.
972 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
973 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
974 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
975 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
976 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
977 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
978 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
979 Test VMS_DEBUGGING_INFO.
980 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
981 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
982 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
983 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
984 VMS_AND_DWARF2_DEBUG.
985 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
986 (decode_g_option): Add "vms" to debug_type_names.
987 (process_options): Set vmsdbg_debug_hooks if -gvms.
988 (lang_independent_init): Emit line number for VMS unless -g0.
989 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
990 * vmsdbg.h, vmsdbgout.c: New files.
992 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
994 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
996 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
998 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
999 * dwarf2out.c (is_cxx): Prototype.
1000 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1002 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1004 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1006 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1008 2001-12-02 Geoff Keating <geoffk@redhat.com>
1010 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1011 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1012 rather than simplify_subreg. Check for volatile-ness. Check that
1013 we're not splitting one slow operation into two slow operations.
1015 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1017 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1020 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1022 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1023 capital from diagnostics.
1024 * c-lex.c (cb_file_change): Similarly.
1025 * c-parse.in : Similarly.
1026 * cfgrtl.c (verify_flow_info): Similarly.
1027 * collect2.c: Similarly.
1028 * cppfiles.c (find_include_file): Similarly.
1029 * cppinit.c (cpp_handle_option): Similarly.
1030 * cpplex.c (cpp_spell_token): Similarly.
1031 * cppmain.c (do_preprocessing): Similarly.
1032 * gcc.c (translate_options, process_command, do_spec1,
1033 main, pfatal_execute): Similarly.
1034 * genattr.c (main): Similarly.
1035 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1036 write_test_expr, main): Similarly.
1037 * gencodes.c (main): Similarly.
1038 * genconfig.c (main): Similarly.
1039 * genconstants.c (main): Similarly.
1040 * genemit.c (main): Similarly.
1041 * genextract.c (main): Similarly.
1042 * genflags.c (main): Similarly.
1043 * genopinit.c (main): Similarly.
1044 * genoutput.c (process_template, main): Similarly.
1045 * genpeep.c (main): Similarly.
1046 * genrecog.c (main): Similarly.
1047 * gensupport.c (is_predicable, identify_predicable_attribute,
1048 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1049 * ggc-page.c (alloc_anon): Similarly.
1050 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1051 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1052 parse_stabs_common, parse_stabs, write_varray, write_object,
1053 read_seek, copy_object, main, error): Similarly.
1054 * profile.c (compute_branch_probabilities): Similarly.
1055 * reg-stack.c (check_asm_stack_operands): Similarly.
1056 * reload.c (find_reloads): Similarly.
1057 * reload1.c (spill_failure, failed_reload): Similarly.
1058 * rtl-error.c (_fatal_insn_not_found): Similarly.
1059 * toplev.c (read_integral_parameter, crash_signal,
1060 decode_f_option, set_target_switch, parse_options_and_default_flags)
1062 * tradcif.y (parse_number, yylex): Similarly.
1063 * tradcpp.c (main, fancy_abort): Similarly.
1064 * tree.c (tree_check_failed): Similarly.
1065 * varray.c (varray_check_failed): Similarly.
1066 * xcoffout.c (xcoff_output_standard_types): Similarly.
1068 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1069 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1070 finish_message_expr, build_protocol_expr, is_public,
1071 start_class): Similarly.
1073 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1075 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1076 trailing period from diagnostics.
1077 * c-lex.c (cb_file_change): Similarly.
1078 * cppmacro.c (check_trad_stringification): Similarly.
1079 * gcc.c (do_spec_1): Similarly.
1080 * genattr.c (main): Similarly.
1081 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1082 * gencodes.c (main): Similarly.
1083 * genconfig.c (main): Similarly.
1084 * genconstants.c (main): Similarly.
1085 * genemit.c (main): Similarly.
1086 * genextract.c (main): Similarly.
1087 * genopinit.c (main): Similarly.
1088 * genoutput.c (main): Similarly.
1089 * genpeep.c (main): Similarly.
1090 * genrecog.c (main): Similarly.
1091 * mips-tfile.c (add_file, error): Similarly.
1092 * profile.c (init_branch_prob): Similarly.
1093 * reload1.c (spill_failure): Similarly.
1094 * stmt.c (parse_output_constraint): Similarly.
1095 * varasm.c (assemble_variable): Similarly.
1097 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1099 * m68k.c (init_FPA_table): Provide static prototype.
1100 * mips/abi64.h (mips_function_value): Move prototype to ...
1101 * mips-protos.h (mips_function_value): ... here.
1102 * mips.c: Include halfpic.h.
1103 * output.h (rdata_section): Prototype.
1105 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1106 * m88k.c (m88k_svr3_asm_out_constructor,
1107 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1109 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1110 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1111 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1113 2001-12-01 Geoff Keating <geoffk@redhat.com>
1115 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1116 LO_SUM addresses less than word size are not legitimate,
1117 because they lead to invalid SUBREGs.
1118 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1120 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
1122 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1123 while scanning for multiple back edges.
1125 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1127 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1128 * config/rs6000/tramp.asm: Use it.
1130 2001-12-01 Zack Weinberg <zack@codesourcery.com>
1132 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1133 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1136 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1138 * pa.c (output_ascii): Cast `p' to unsigned char.
1140 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1142 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1143 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1144 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1145 (altivec_init_builtins): Ditto.
1146 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1148 * config/rs6000/rs6000.md: Add attribute types vecsimple,
1149 veccomplex, vecfloat, and vecperm, for altivec instructions.
1150 Modify altivec patterns to use appropriate attribute type.
1151 Modify altivec patterns to match RTL operations where appropriate
1152 (IE no unspec where we can avoid it).
1153 Add vector unit scheduling for ppc7450.
1154 Rename patterns to what they are where appropriate
1155 (altivec_vaddfp->addv4sf3, etc)
1157 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1158 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1160 * config/rs6000/sysv4.h: Add -mcpu=7450.
1162 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1163 _builtin_altivec_ld_interal function.
1165 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1167 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1168 strchr, strrchr, isascii, gettimeofday.
1169 * config.in, configure: Regenerate.
1171 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1173 * unroll.c (unroll_loop): Correct special exit cases.
1175 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1177 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1178 accept DFmode and DImode only.
1180 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1182 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1183 (STACK_DYNAMIC_OFFSET): Same.
1185 2001-11-30 Richard Henderson <rth@redhat.com>
1187 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1189 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1191 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1192 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1193 the values in call_used_registers.
1195 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1197 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1200 2001-11-30 Jason Merrill <jason@redhat.com>
1202 * dwarf2out.c (is_cxx): New fn.
1203 (add_data_member_location_attribute): Check it.
1204 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1206 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1208 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1210 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1212 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1213 MODE_VECTOR_FLOAT as allowed.
1215 2001-11-29 Zack Weinberg <zack@codesourcery.com>
1217 Purge cruft now we have build libiberty.
1219 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1220 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1221 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1222 USE_HOST_STRSTR): Delete variables.
1223 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1224 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1225 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1226 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1227 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1228 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1229 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1230 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1232 (HOST_RTL): Remove hashtab.o safe-ctype.o.
1233 (OBJS): Remove splay-tree.o.
1234 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1235 (distclean): No need to delete splay-tree.c obstack.c
1236 hashtab.c safe-ctype.c.
1237 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1238 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1239 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1241 * configure.in: Don't use them.
1242 Set and substitute @FORBUILD@.
1243 * config.in, configure: Regenerate.
1244 * doprint.c: Move to libiberty/_doprnt.c.
1245 * doc/configterms.texi: Document that libiberty is now built
1246 up to three times. Fix typo.
1248 2001-11-30 Jason Merrill <jason@redhat.com>
1250 * dwarf2out.c (add_data_member_location_attribute): Do the
1251 right thing for virtual bases.
1252 * dbxout.c (dbxout_type): For a virtual base, print the offset
1255 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1257 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1259 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
1261 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1263 Remove unused attribute for named.
1265 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1267 * genattrtab.c (attr_rtx_1): New function containing the
1268 majority of `attr_rtx'. Move variable declarations into the
1269 scope where they are used. Eliminate unnecessary gotos.
1270 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1271 VA_FIXEDARG, and VA_CLOSE.
1273 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
1275 * config/cris/cris.c (cris_notice_update_cc): Check first
1276 destination also against overlap with cc_status.value2 and second
1277 destination against overlap with cc_status.value1. For overlaps,
1278 clear overlapped value, don't just CC_STATUS_INIT.
1280 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1281 Fix typo in comment.
1282 (LINK_SPEC): Remove whitespace at end of line.
1284 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1286 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1288 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1290 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1291 macros for the supported debugging types.
1293 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
1296 * config/i386/i386.c (print_operand): Verify that the
1297 argument to %c is a constant and not a conditional which
1298 needs to be reversed.
1300 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
1302 * emit-rtl.c (gen_lowpart_common): Fix conversion of
1303 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
1304 of low part of those arrays for 32bit and 64bit hosts.
1306 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1308 * Makefile.in (insn-output.o): Depend on insn-codes.h.
1310 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1312 * configure.in (target_list): Add generated-manpages.
1313 * configure: Regenerate.
1314 * Makefile.in (generated-manpages): Depend on
1315 lang.generated-manpages.
1316 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1318 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
1320 * config/arm/crti.asm (_init): Add .thumb_func if compiled
1322 (_fini): Add .thumb_func if compiled with -mthumb.
1324 2001-11-28 Eric Christopher <echristo@redhat.com>
1326 * config/mips/mips.c (override_options): Fix thinko in mips_tune
1327 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1329 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
1331 * alpha.md (tablejump): Use pic_offset_table_rtx
1332 instead of gen_rtx_REG.
1334 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
1336 * expr.c (store_expr): When copying a string constant into an
1337 array, reset the known alignment of the MEM for the section to
1338 be cleared to BITS_PER_UNIT.
1340 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1342 * config/cris/cris.c: Remove whitespace at end of line.
1344 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
1346 * config.gcc (i[34567]86-*-interix3*): New case.
1347 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1350 2001-11-28 Richard Henderson <rth@redhat.com>
1352 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1353 symbolic_operand as the predicate.
1355 2001-11-28 Richard Henderson <rth@redhat.com>
1357 * doloop.c (doloop_modify_runtime): Properly select induction
1358 variable; skip late entry test if biv initializer created by loop.
1360 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1362 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1363 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1365 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1367 * tree.h: Add missing checks on some macros; make formatting more
1370 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1371 level; only add to pending_sizes if find it.
1373 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1375 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1376 Add casts to remove warnings.
1378 * Makefile.in (OBJS): Sort alphabetically.
1380 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1381 Also minor cleanups.
1383 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
1385 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1386 (FLAGS_TO_PASS): Add STAGE_PREFIX.
1387 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1390 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
1392 * cse.c (true_dependence_in_rtx): New function.
1393 (invalidate): Use it.
1395 * c-common.h (GOTO_FAKE_P): New macro.
1396 * tree-inline.c (GOTO_FAKE_P): Set.
1397 * c-tree.texi (GOTO_FAKE_P): Document.
1399 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1400 containing pointers.
1401 (output_addressed_constants): Check for local/external relocations.
1402 * elfos.h (SELECT_SECTION): Classify data section.
1403 * tm.texi (SELECT_SECTION): Update documentation.
1405 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1406 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1408 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1410 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1411 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1414 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1416 * config/cris/cris.c: Tweak spacing for prototypes.
1417 (LOSE_AND_RETURN): New macro.
1418 (cris_operand_lossage): New function.
1419 (cris_print_index, cris_print_base): Use cris_operand_lossage
1420 rather than fatal_insn.
1421 (cris_print_operand, cris_print_operand_address): Use
1422 LOSE_AND_RETURN rather than fatal_insn and internal_error.
1423 (cris_output_addr_const): Use LOSE_AND_RETURN and
1424 output_operand_lossage rather than fatal_insn and internal_error
1425 for valid but unexpected rtx expressions.
1427 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1428 for a SUBREG in src or dest, abort instead.
1430 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1432 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1435 2001-11-27 Jakub Jelinek <jakub@redhat.com>
1437 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1438 preprocessor define. If only DBX_DEBUGGING_INFO or only
1439 DWARF2_DEBUGGING_INFO is supported for the target, provide
1440 appropriate definitions.
1442 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1444 * Makefile.in: Update, and add c-objc-common.o dependencies.
1445 * c-lang.c: Remove unnecessary includes.
1446 (c_init): Move bulk of code to c_objc_common_init, and call it.
1447 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1448 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1450 * c-objc-common.c: New. Mostly pulled from c-lang.c.
1451 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1452 c_objc_common_init, c_missing_noreturn_ok_p): New.
1453 * toplev.c: Update comment.
1454 * doc/passes.texi: Update.
1456 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1457 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1458 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1459 (objc_init): Update to use c_objc_common_init.
1461 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1463 * cpphash.c (_cpp_init_hashtable): Update.
1464 * cpphash.h (struct spec_nodes): Remove n_L.
1465 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1467 2001-11-17 Richard Henderson <rth@redhat.com>
1469 * unroll.c (loop_iterations): Move last change ...
1470 * doloop.c (doloop_modify_runtime): ... here.
1472 2001-11-17 Corey Minyard <minyard@acm.org>
1473 Richard Henderson <rth@redhat.com>
1475 * unroll.c (loop_iterations): Detect one situation in which we
1476 overestimate the number of iterations.
1478 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1480 * gcc.c (set_input): Export.
1481 Move declaration ...
1482 gcc.h (set_input): ... here.
1484 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1486 * gcc.c (set_collect_gcc_options): New function, split out from
1488 Ignore elided switches.
1489 (do_spec): Invoke before executing command.
1490 (do_spec_1): Likewise.
1491 Fixes PR other/3968.
1493 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
1495 * config/cris/cris.h (INT_ASM_OP): Remove.
1497 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1499 * config/i386/sol2.h (WINT_TYPE): Redefine.
1500 (WINT_TYPE_SIZE): Likewise.
1502 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1504 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1505 (dup2): Make static and add prototype.
1506 * m68k/plexus.h: Don't define NO_DUP2.
1507 * configure.in (AC_CHECK_FUNCS): Add dup2.
1508 * config.in, configure: Regenerate.
1510 * ia64/aix.h (REG_SIZE): Don't #undef.
1511 * sparc.h (REG_SIZE): Delete.
1512 * flow.c (mark_used_regs): Don't use REG_SIZE.
1513 * regs.h (REG_SIZE): Delete.
1515 2001-11-27 Andreas Schwab <schwab@suse.de>
1517 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1518 PREFERRED_DEBUGGING_TYPE.
1520 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1522 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1523 (expr.o, varasm.o): Depends on langhooks.h.
1524 * c-common.c (c_safe_from_p): Always declare.
1525 (c_expand_expr): Refine when declared.
1526 * c-lang.c (c-common.h): Now include.
1527 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1528 (c_init): Don't set lang_safe_from_expr.
1529 * expr.c (langhooks.h): Now include.
1530 (lang_safe_from_p): No longer define.
1531 (safe_from_p): Use lang hook.
1532 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1533 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1534 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1535 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1536 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1537 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1538 * langhooks.h (struct lang_hooks): New fields expand_constant
1540 * output.h (output_constant): Size arg is HOST_WIDE_INT.
1541 * stmt.c (expand_decl_init): No longer need to expand constant
1543 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1544 * toplev.c (lang_expand_constant): Delete var.
1545 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1546 operations on SAVE_EXPR.
1547 * varasm.c (langhooks.h): Now include.
1548 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1549 (record_constant_1, output_addressed_constants): Likewise.
1550 (initializer_constant_valid_p, output_constant): Likewise.
1551 (output_constant_def): Process no-defer of string constant.
1552 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1553 (output_constant): Strip more conversions.
1554 Track our size and pad for the rest.
1555 (array_size_for_constructor): Remove code for non-byte STRING_CST.
1556 (output_constructor): SIZE now HOST_WIDE_INT.
1558 2001-11-27 Richard Henderson <rth@redhat.com>
1560 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1563 2001-11-27 Zack Weinberg <zack@codesourcery.com>
1565 * cppfiles.c (read_include_file): Add comment.
1567 2001-11-26 Richard Henderson <rth@redhat.com>
1569 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1571 2001-11-26 Richard Henderson <rth@redhat.com>
1573 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1574 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1575 commented out override.
1577 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1579 * cppfiles.c (stack_include_file): Don't optimize zero-length
1581 (read_include_file): NUL-terminate read files.
1582 * cpplex.c (handle_newline, skip_escaped_newlines,
1583 get_effective_char, skip_whitespace, parse_identifier,
1584 parse_identifier_slow, parse_number, parse_string,
1585 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1587 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1588 Be sure buffers are NUL terminated.
1589 * cppmacro.c (warn_of_redefinition): Kill compile warning.
1591 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1593 * c-common.c: Include tree-inline.h.
1594 (c_language): Move separate definitions here.
1595 (c_common_init_options, c_common_post_options): New.
1596 (c_common_lang_init): Rename c_common_init.
1597 * c-common.h (c_common_lang_init): Similarly.
1598 (c_common_init_options, c_common_post_options): New.
1599 * c-lang.c (c_post_options): Move body to c_common_post_options.
1600 (c_init_options): Use c_common_init_options.
1602 * langhooks.def: Rearrange.
1603 * langhooks.h: Rearrange, and improve comments.
1604 * toplev.c (do_compile): New function.
1605 (toplev_main): Use it.
1606 (lang_independent_f_options, parse_options_and_default_flags,
1607 process_options): Remove trailing periods.
1608 * Makefile.in: Update.
1609 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1611 (ojbc_init): Update.
1613 2001-11-26 Richard Henderson <rth@redhat.com>
1615 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1617 2001-11-26 DJ Delorie <dj@redhat.com>
1619 * expr.c (store_constructor): Actually use the value computed
1620 if WORD_REGISTER_OPERATIONS.
1622 2001-11-26 Richard Henderson <rth@redhat.com>
1624 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1627 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1629 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1630 correct function on AIX.
1632 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
1634 * toplev.c (process_options): Don't force
1635 flag_optimize_sibling_calls to zero just because exceptions are
1638 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
1640 * df.h (transfer_function_sbitmap): Use PARAMS around argument
1641 list in function prototypes.
1642 (transfer_function_bitmap): Likewise.
1644 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1646 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1647 * config/i386/netbsd-elf.h: Likewise.
1649 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1651 * doc/trouble.texi: Remove outdated RS/6000 comments.
1653 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
1655 * final.c (walk_alter_subreg): Fix return value.
1657 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
1659 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1661 * sparc.md (post-reload splitters): Do not call alter_subreg.
1662 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1664 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
1666 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1668 2001-11-26 Alan Modra <amodra@bigpond.net.au>
1670 * final.c: (insn_lengths): Make it an int *, so that large jump
1671 tables don't overflow.
1673 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
1675 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1676 (format_types): Use it for scanf.
1677 (dollar_arguments_pointer_p): New.
1678 (init_dollar_format_checking): Store details of which arguments
1680 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1681 (finish_dollar_format_checking): Take extra parameter
1682 pointer_gap_ok. Treat unused arguments differently if
1683 pointer_gap_ok and the unused arguments are pointers.
1684 (check_format_info_main): Pass extra argument to
1685 finish_dollar_format_checking.
1686 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1687 unused arguments are present between used arguments with operand
1690 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
1692 * df.c: Add prototypes for hybrid_search_bitmap and
1693 hybrid_search_sbitmap.
1694 (hybrid_search_bitmap): New function.
1695 (hybrid_search_sbitmap): New function.
1696 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1697 (iterative_dataflow_bitmap): Ditto.
1699 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1701 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1702 address computations.
1704 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1706 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1707 register b (low part of d).
1709 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1711 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1714 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
1716 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1717 * config/alpha/x-vms: New file, to compile the above.
1718 * config.gcc (alpha*-dec-vms*): Add x-vms.
1720 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
1722 * genextract.c (main): Set ro_loc for peepholes.
1724 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
1726 * fix-header.c (main): Move inf_buffer termination and inf_limit
1727 calculation to after read.
1729 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1730 (__UNIX_FOPEN): Define.
1732 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1734 * function.c (assign_stack_temp_for_type): Clear alias set before
1737 2001-11-23 David Edelsohn <edelsohn@gnu.org>
1739 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1741 * rs6000.md (cmptf): Fix typo.
1743 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
1745 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1746 * varasm.c (output_constructor): Use assemble_integer rather
1747 than ASM_OUTPUT_BYTE.
1749 2001-11-23 Andreas Jaeger <aj@suse.de>
1751 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1754 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
1756 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1758 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1759 (MULTILIB_DEFAULTS): Remove previous definition.
1761 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
1763 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1764 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1766 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1768 * cris.h: Revert thinko in last patch.
1770 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1772 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1773 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1774 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1775 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1776 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1777 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1779 * predict.c, reg-stack.c: Fix spelling errors.
1781 2001-10-09 Andrew Haley <aph@redhat.com>
1783 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1784 start of stack slot.
1786 2001-11-22 Graham Stott <grahams@redhat.com>
1788 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1789 replacement jump after original jump.
1791 (verify_flow_info): Remove redundent initialisation.
1792 Handle reaching end of insn list before finding a BARRIER.
1793 Only issue one missing barrier diagnostic.
1795 2001-11-22 Graham Stott <grahams@redhat.com>
1797 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1799 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1801 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1804 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
1806 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1807 Fix typo -mm32rx=> -m32rx.
1809 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1812 * config.gcc (xscale-coff): Add necessary header files to
1815 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1817 * rs6000.c (output_cbranch): Use $, not %$, in output template.
1819 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1821 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1822 (lang_type_quals): Declare.
1823 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1824 retrieve language-specific qualifiers for a type node, instead of
1825 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1827 * tree-dump.h: Rename from c-dump.h.
1828 * c-common.h (C_TYPE_QUALS): Removed.
1829 Move declarations for tree-dump.c interface to...
1830 * tree.h: ... here. Remove lang_dump_tree.
1831 * langhooks.h (struct lang_hooks_for_tree_dump): New.
1832 (struct lang_hooks): Add tree_dump hooks.
1833 * langhooks.c (lhd_tree_dump_dump_tree): New function.
1834 (lhd_tree_dump_type_quals): New function.
1835 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1837 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1838 * Makefile.in: Move tree-dump.o to language-independent back-end.
1840 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1842 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1843 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1844 * arc.h (DBX_REGISTER_NUMBER): Likewise.
1845 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1846 * avr.h (DBX_REGISTER_NUMBER): Likewise.
1847 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1848 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1849 * convex.h (DBX_REGISTER_NUMBER): Likewise.
1850 * cris.h (DBX_REGISTER_NUMBER): Likewise.
1851 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1852 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1853 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1854 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1855 * i370.h (DBX_REGISTER_NUMBER): Likewise.
1856 * i860.h (DBX_REGISTER_NUMBER): Likewise.
1857 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1858 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1859 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1860 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1861 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1862 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1863 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1864 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1865 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1866 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1867 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1868 * romp.h (DBX_REGISTER_NUMBER): Likewise.
1869 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1870 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1871 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1872 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1873 * v850.h (DBX_REGISTER_NUMBER): Likewise.
1874 * vax.h (DBX_REGISTER_NUMBER): Likewise.
1875 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
1877 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
1878 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
1880 2001-11-21 H.J. Lu <hjl@gnu.org>
1882 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
1884 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1886 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
1887 emit_cmp_and_jump_insns.
1889 * stormy16.c (xstormy16_expand_builtin_va_arg,
1890 xstormy16_expand_casesi): Likewise.
1892 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1894 * function.c (keep_stack_depressed): Major rework.
1895 (handle_epilogue_set, emit_equiv_load): New functions.
1896 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
1898 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
1899 * rtl.h (SET_IS_RETURN_P): New macro.
1901 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
1902 and also support TREE_ADDRESSABLE.
1903 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
1905 2001-11-21 David Edelsohn <edelsohn@gnu.org>
1907 * rs6000.md (cmptf_internal1): Replace %$ with $.
1909 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
1911 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
1912 (read_include_file): Use STAT_SIZE_TOO_BIG.
1914 * cppinit.c (INO_T_COPY): Define.
1915 (INO_T_EQ): Uppercase parameters.
1916 (append_include_chain): Use INO_T_COPY.
1918 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
1920 * cfg.c: Fix typos and formatting in the introductory comment.
1922 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
1924 * profile.c (compute_branch_probabilites): Compute probabilities
1925 for entry/exit edges; estimate probabilities for zero counts.
1927 2001-11-21 Jakub Jelinek <jakub@redhat.com>
1929 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
1930 to emit_library_call.
1931 * function.c (expand_main_function, expand_function_start,
1932 expand_function_end): Likewise.
1933 * profile.c (output_func_start_profiler): Likewise.
1934 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
1935 second argument to emit_library_call.
1936 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
1937 as second argument to emit_library_call.
1938 * calls.c (emit_library_call): Update fn_type description.
1940 2001-11-21 Jakub Jelinek <jakub@redhat.com>
1942 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
1943 if fndecl is still DECL_INLINE and has DECL_RESULT.
1945 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1947 * clipper.c (clipper_movstr): Avoid uninitialized warning.
1948 * i960.c (is_mask, legitimize_address): Likewise.
1949 * m88k.c (m88k_expand_prologue): Likewise.
1950 * m88k.md: Likewise.
1951 * mcore.c (emit_new_cond_insn): Likewise.
1952 * stormy16.c (xstormy16_emit_cbranch): Likewise.
1954 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1956 * config.gcc: Delete powerpcle-*-solaris2* stanza.
1957 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
1958 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
1959 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
1960 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
1961 config/rs6000/t-ppcos: Expunge all references to Solaris.
1963 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
1965 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
1967 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
1968 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
1970 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1972 * sh.md: Avoid uninitialized warnings.
1973 * vax.c (vax_rtx_cost): Likewise.
1975 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
1977 * rs6000.c (direct_return): Check if we are saving altivec
1979 (first_altivec_reg_to_save): New.
1980 Updated stack frame layout comments.
1981 (rs6000_stack_info): Calculate altivec register save size.
1982 Save link register if we saved some altivec registers.
1983 (rs6000_stack_info): Align save size to 16 if altivec abi or
1985 (rs6000_stack_info): Calculate altivec register offsets.
1986 (rs6000_stack_info): Add altivec info to save_size.
1987 (debug_stack_info): Add altivec debug info.
1988 (rs6000_emit_prologue): Save altivec registers and vrsave.
1989 (compute_vrsave_mask): New.
1990 (altivec_expand_builtin): Remove unused variables.
1991 (rs6000_parse_abi_options): Add static qualifier.
1992 (rs6000_expand_builtin): Remove unused parameters.
1993 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
1994 (altivec_init_builtins): Same.
1995 (is_altivec_return_reg): New.
1996 (vrsave_operation): New.
1997 (ALTIVEC_REG_BIT): New.
1998 (generate_set_vrsave): New.
2000 * rs6000.md (get_vrsave): New.
2002 (*set_vrsave_internal): New.
2004 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2005 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2006 altivec_padding_size, vrsave_mask.
2007 (TOTAL_ALTIVEC_REGS): New.
2008 (EPILOGUE_USES): Add VRSAVE_REGNO.
2010 2001-11-20 Jeff Law <law@redhat.com>
2012 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2013 exit label as necessary.
2015 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
2017 * reload1.c (elimination_effects): Use function_invariant_p
2018 instead of CONSTANT_P when considering register equivalences.
2020 2001-11-20 David O'Brien <obrien@FreeBSD.org>
2022 * config.gcc: Add FreeBSD/PowerPC target.
2023 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2024 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2025 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2026 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2027 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2028 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2029 freebsd-spec.h to tm_file.
2030 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2031 * config/freebsd.h: Tidy up.
2032 (USING_CONFIG_FREEBSD): Define.
2033 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2034 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2035 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2036 (TARGET_HAS_F_SETLKW): Define.
2037 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2038 * config/freebsd-spec.h: New file.
2039 * config/rs6000/freebsd.h: New file.
2040 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2041 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2042 USING_SVR4_H to know when to turn on ELF support.
2043 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2044 define only if not already defined.
2045 Add FreeBSD support.
2046 * config/rs6000/aix.h (TARGET_VERSION): Define.
2047 * config/rs6000/beos.h: Likewise.
2048 * config/rs6000/darwin.h: Likewise.
2049 * config/rs6000/mach.h: Likewise.
2050 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2051 Don't include lynx.h directly.
2053 2001-11-20 Graham Stott <grahams@redhat.com>
2055 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2056 Fix lossage in last change return OB.
2058 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2060 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2061 Remove unneeded exit related macros.
2063 2001-11-20 David Edelsohn <edelsohn@gnu.org>
2065 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2067 * rs6000.c (rs6000_emit_move): Add TFmode case.
2068 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2069 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2070 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2071 * rs6000.h: ... to here.
2072 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2073 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2074 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2076 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2078 * emit-rtl.c (get_mem_attrs): Fix typo.
2080 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2082 * c-lang.c (finish_file): Backout 2001-11-16
2083 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2084 before calling c_expand_deferred_function.
2086 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2088 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2089 Don't register empty .eh_frame sections.
2090 (__deregister_frame_info_bases, __deregister_frame): Don't
2091 unregister them either.
2093 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2095 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2096 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2097 * configure: Regenerate.
2098 * config.in: Add dummy definitions of new flags.
2099 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2100 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2101 * gcc.c (ASM_DEBUG_SPEC): New macro.
2102 (asm_debug): New static variable.
2103 (default_compilers): Add asm_debug when assembling from
2105 (static_specs): Add asm_debug.
2107 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
2109 * config.gcc (*-*-freebsd*): Remove configuration block.
2111 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2114 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2115 fixinc *as if* it were a proper lang subdirectory.
2116 * configure: Rebuilt.
2118 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2120 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2122 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2124 * 1750a.md: Don't use hex format for a const_int.
2126 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2128 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2130 2001-11-19 Zack Weinberg <zack@codesourcery.com>
2132 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2133 defined (prevents link errors when gettext isn't in the system
2136 2001-11-19 DJ Delorie <dj@redhat.com>
2138 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2139 (validate_const_int): New.
2140 (read_rtx): Validate constant integers.
2141 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2143 2001-11-19 Jakub Jelinek <jakub@redhat.com>
2145 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2147 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2149 * toplev.c (DUMPFILE_FORMAT): Define default.
2150 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2151 (close_dump_file, compile_file): Likewise.
2152 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2153 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2155 2001-11-19 Jeff Law <law@redhat.com>
2157 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2160 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
2162 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2163 Don't fall off the base token run.
2165 2001-11-19 Jason Wilkins <fenix@io.com>
2167 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2169 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2171 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2172 * tree.h (handled_component_p): New declaration.
2173 * alias.c (handled_component_p): Move function from here ...
2174 * expr.c (handled_component_p): ... to here and non longer static.
2175 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2176 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2177 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2178 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2179 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2180 (expand_expr, cse ADDR_EXPR): No need to copy if already
2182 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2183 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2184 (output_constant): Handle VIEW_CONVERT_EXPR.
2185 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2186 Add new case for VIEW_CONVERT_EXPR.
2188 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2190 * a29k/unix.h (ASM_FILE_START): Const-ify.
2191 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2192 * i386/isc.h (ASM_FILE_START): Const-ify.
2193 * i386/sun386.h (ASM_FILE_START): Likewise.
2194 * m32r.md: Likewise.
2195 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2196 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2197 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2198 * mn10200.md: Initialize variable.
2200 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2202 * gcse.c (try_replace_reg): Copy RTX before creating note.
2204 * df.h (df_ref_flags): New uenum.
2205 (DF_REF_FLAGS): New macro.
2206 (struct ref): Add field "flags".
2207 * df.c (HANDLE_SUBREG): Remove.
2208 (df_ref_create): Likewise; set flags field of ref.
2209 (df_def_record_1): Strip down read_write subreg; remove
2210 commented out code; set READ_WRITE flag.
2211 (read_modify_subreg_p): New static function.
2212 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2213 new argument "flags".
2214 (df_insn_refs_record): Update call of df_uses_record.
2215 (df_insn_modify): Avoid #if 0 around comment.
2216 (df_dump): Dump the read/write flag.
2218 * predict.c (propagate_freq): Make cyclic_probability and frequency
2221 * i386.c (ix86_cc_mode): Accept USE.
2223 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
2224 jump is turned into simplejump.
2226 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2228 * doc/fragments.texi, doc/trouble.texi: Remove links to old
2229 installation chapter.
2230 * doc/gcc.texi: Don't claim that this manual documents
2231 installation. Mark Installation menu entry as being out of date.
2233 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
2235 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2236 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2237 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2239 2001-11-19 Jason Merrill <jason@redhat.com>
2241 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2242 cur_token, not after.
2244 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2245 Lose ASM_OUTPUT_CONSTRUCTOR.
2246 * system.h: Poison it and INT_ASM_OP.
2247 * c-lang.c (finish_file): Don't check for it.
2248 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2250 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2252 * mmix.c (mmix_cc1_ignored_option): Const-ify.
2253 (mmix_init_machine_status): Make static to match declaration.
2254 (mmix_unique_section): Const-ify.
2255 (mmix_output_quoted_string): Avoid automatic aggregate
2257 (mmix_output_register_setting): Likewise.
2258 (mmix_output_shiftvalue_op_from_str): Likewise.
2260 * mmix.h (mmix_cc1_ignored_option): Const-ify.
2261 (ASM_OUTPUT_BYTE): Fix format specifier warning.
2262 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2264 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2267 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2268 name __objc_thread_exit_status so that it matches the
2269 variable defined in objc/thr.h.
2271 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2274 * mklibgcc.in: Add missing semi-colons.
2275 * Makefile.in: Same.
2277 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2279 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2280 after re-laying out decl in incomplete case.
2281 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2283 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2285 * doc/install-old.texi: Move some sections out to ...
2286 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2287 ... here. New files. Make into chapters rather than sections.
2288 * doc/gcc.texi: Include the new files and add menu entries for
2290 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2292 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2294 * tree.h (TYPE_ALIGN_OK): New flag.
2295 * emit-rtl.c (set_mem_attributes): Handle it.
2296 * expr.c (emit_single_push_insn): Only set to alias set 0 if
2297 doing sibcall optimization.
2298 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2299 when make temporary.
2300 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2301 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2303 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2305 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2307 * c-decl.c (c_decode_option): Give deprecation warning for
2309 * doc/invoke.texi (-traditional): Note that this option is
2312 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2314 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2315 arg to HOST_WIDE_INT, not long.
2317 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2318 (HAS_INIT_SECTION): Define.
2319 (REAL_ARITHMETIC): Don't undefine.
2321 2001-11-18 Egor Duda <deo@logos-m.ru>
2323 * config/i386/cygwin.h: Strip leading '*' from name, if any.
2325 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2327 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2328 * c-common.c: Include diagnostic.h.
2329 (c_common_finish): New.
2330 * c-common.h (c_common_finish): New.
2331 * c-lang.c (LANG_HOOKS_FINISH): Override.
2332 * c-parse.in: Don't include diagnostic.h.
2333 (finish_parse): Remove.
2334 * langhooks.h: Update comments.
2335 * toplev.c (lang_dependent_init): New prototype.
2337 (compile_file): Split cleanup code out to finalize.
2338 (lang_dependent_init): Stop if lang_hooks.init fails.
2339 (toplev_main): Update.
2340 * tree.h (finish_parse): Remove.
2342 * objc-act.c (LANG_HOOKS_FINISH): Override.
2344 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
2346 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2347 * config/alpha/vms_tramp.asm: New file.
2348 * config/alpha/vms-tramp.asm: Removed.
2350 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2352 * c-common.c (struct disabled_builtin, disabled_builtins,
2353 disable_builtin_function, builtin_function_disabled_p): New.
2354 (builtin_function_2): Check for disabled built-in functions.
2355 * c-common.h (disable_builtin_function): Declare.
2356 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2357 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2358 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2360 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
2363 * config.gcc: Remove reference to va-clipper.h.
2365 2001-11-17 Stan Shebs <shebs@apple.com>
2367 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2368 AltiVec-related bitfields.
2370 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2372 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2373 (mark_eh_region, case ERT_UKNONW): New case.
2375 2001-11-17 Christopher Faylor <cgf@redhat.com>
2376 Corinna Vinschen <vinschen@redhat.com>
2378 * config/i386/cygwin.h: Search target specific include directory for
2379 w32api stuff, if appropriate.
2381 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
2383 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2385 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
2387 * config/rs6000/rs6000.md: Change all ldvx to lvx.
2389 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
2391 * gensupport.c (process_rtx): Don't assume filename is the first
2392 argument of any rtl.
2394 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2396 * vax-protos.h (reg_was_0_p): New prototype.
2397 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2398 * vax.c (follows_p, reg_was_0_p): New functions.
2400 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2402 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2403 (casesi1): Likewise. Define new pattern which arises by simplification
2404 when operand 1 is a constant int. Correct pattern which arises by
2405 simplification when operand 1 is zero.
2407 2001-11-16 David O'Brien <obrien@FreeBSD.org>
2409 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2410 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2411 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2412 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2413 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2414 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2415 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2416 * config/arm/aof.h: Don't include arm.h.
2417 * config/arm/aout.h: Likewise.
2418 * config/arm/coff.h: Don't include semi.h and aout.h.
2419 * config/arm/elf.h: Don't include aout.h.
2420 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2421 (TARGET_VERSION): Undef before defining.
2422 (ARM_OS_NAME): Likewise
2423 (TARGET_DEFAULT): Likewise
2424 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2425 * config/arm/pe.h: Don't include arm/coff.h.
2426 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2427 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2428 * config/arm/riscix1-1.h: Likewise.
2429 * config/arm/rix-gas.h: Don't include riscix.h.
2430 (DBX_CONTIN_LENGTH): Undef before defining.
2431 * config/arm/semi.h: Don't include aout.h.
2432 * config/arm/semiaof.h: Don't include aof.h.
2433 * config/arm/strongarm-coff.h: Don't include coff.h.
2434 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2435 * config/arm/vxarm.h: Don't include arm/coff.h.
2436 * config/arm/xscale-coff.h: Don't include coff.h.
2438 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2440 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2443 2001-11-16 Andreas Jaeger <aj@suse.de>
2445 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2447 (fixup_fallthru_exit_predecessor): ... this.
2448 Change callers and prototype.
2450 2001-11-16 Bernd Schmidt <bernds@redhat.com>
2452 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2453 hand; don't use gen_setcc_2.
2454 (ix86_expand_builtin): Fix pshufw.
2455 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2456 case UNORDERED to emit the right assembler instruction.
2457 (mmx_pshufw): Lose operand 2.
2458 (cvtsi2ss): Fix representation.
2460 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2462 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
2464 * doc/include/linux-and-gnu.texi: Remove.
2465 * doc/gnu.texi: New.
2466 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2467 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2469 2001-11-16 Kazu Hirata <kazu@hxi.com>
2471 * config/a29k/a29k.c: Fix comment formatting.
2472 * config/a29k/a29k.h: Likewise.
2473 * config/arc/arc.c: Likewise.
2474 * config/arc/arc.h: Likewise.
2475 * config/vax/vax.c: Likewise.
2476 * config/vax/vax.h: Likewise.
2477 * config/we32k/we32k.c: Likewise.
2478 * config/we32k/we32k.h: Likewise.
2480 2001-11-16 Jeff Law <law@redhat.com>
2482 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2483 creating a new jump insn.
2485 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2487 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2488 copy misaligned data.
2489 * varasm.c (assemble_variable): Set alignment into MEM when changed.
2491 2001-11-16 Graham Stott <grahams@redhat.com>
2493 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2496 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
2498 * except.c: Support for catching a list of types with a single handler
2499 (struct eh_region): Change type and filter to lists for catch regions.
2500 (mark_eh_region): Mark the filter list for GC also.
2501 (expand_start_catch): Always build a list if argument not NULL and
2502 register each type of the list through add_type_for_runtime.
2503 (duplicate_eh_region_1): Change type into type_list for catch regions.
2504 (assign_filter_values): Assign a filter to each type associated with a
2505 catch region. Assign filter for NULL types in a unique entry in the
2507 (build_post_landing_pads): Emit compare and jump for each filter of
2508 the list associated with a catch region.
2509 (reachable_next_level): When the type thrown is known, stop the search
2510 as soon as one type within a catch list matches. Also, a handler is
2511 potentially reachable only if at least one of the types it catches
2512 has not been previously caught.
2513 (collect_one_action_chain): Retrieve the filter for a NULL type list
2514 from the first filter list entry. For non NULL type lists, add an
2515 action record for every filter assigned.
2516 * except.h: Reflect changes in comment before expand_start_catch.
2518 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2520 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2523 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
2525 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2527 2001-11-16 Jakub Jelinek <jakub@redhat.com>
2529 * c-lang.c (finish_file): Don't emit static inline functions if
2530 they weren't referenced.
2532 2001-11-15 Stan Shebs <shebs@apple.com>
2534 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2536 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2538 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2540 * config/i386/i386.md: Likewise.
2542 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2544 * timevar.c (rtl.h): Include so get fancy abort.
2546 2001-11-15 Dale Johannesen <dalej@apple.com>
2548 * config/darwin.h (SELECT_RTX_SECTION): Force address
2549 initializers into 'const' section
2550 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
2551 if_then_else to match result, not operands
2553 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2555 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2556 * emit-rtl.c (change_address): Fix typo in default alignment.
2557 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2558 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2559 * rtl.h (REGNO_PTR_FRAME_P): New macro.
2561 * expr.c (store_field): Pass tree instead of max size; callers changed.
2562 Change handling of alignment.
2563 Only copy to_rtx if is TARGET.
2564 (expand_expr_unaligned): Delete; callers now use expand_expr.
2565 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2566 (expand_assignment): Change handling of alignment.
2567 Only copy to_rtx if was original.
2568 (get_inner_reference): No longer return alginment; callers changed.
2569 (expand_expr, case COMPONENT_REF): Change handling of alignment.
2570 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2571 (compare_from_rtx): Delete ALIGN parm; all callers changed.
2572 (do_compare_rtx_and_jump): Likewise.
2573 * expr.h: Reflect above changes.
2575 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2576 to get_inner_reference.
2577 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2578 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2579 * optabs.c: Likewise.
2580 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
2581 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2582 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2583 compare_rtx_and_jump, and emit_cmp_jump_insns.
2584 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2585 * function.c (assign_stack_temp_for_type): No longer static.
2586 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2587 (prepare_cmp_insn): Delete declaration.
2588 * rtl.h (assign_stack_temp_for_type): Add declaration.
2589 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2590 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2591 * config/i386/i386.c,config/mips/mips.c: Likewise.
2592 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2593 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2595 2001-11-15 Stan Shebs <shebs@apple.com>
2597 * config/rs6000/rs6000.h: Fix a comment typo.
2598 (RTX_COSTS): Sort processor versions better.
2600 2001-11-15 Kazu Hirata <kazu@hxi.com>
2602 * config/h8300/h8300.md: Fix insn length of bit insns.
2604 2001-11-15 Jason Merrill <jason@redhat.com>
2606 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2607 DIEs if there were errors in the source.
2609 * config/alpha/alpha-interix.h, config/alpha/elf.h,
2610 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2611 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2612 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2613 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2614 config/elfos.h, config/lynx.h, config/netware.h,
2615 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2616 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2617 uses to use ASM_LONG.
2619 2001-11-15 Alan Matsuoka <alanm@redhat.com>
2621 * gensupport.c process_include : Change call to alloca to
2624 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2626 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2629 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2631 * final.c (alter_subreg): If simplify_subreg can't do anything,
2632 handle REG ourselves and abort for others.
2634 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
2636 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2639 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2641 * fix-header.c (read_scan_file): Update.
2643 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2645 * toplev.c (toplev_main): Don't start timing until after
2646 command-line options are parsed.
2648 2001-11-15 Andreas Schwab <schwab@suse.de>
2650 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2651 makefile frag, not host makefile frag.
2652 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2653 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2655 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2656 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2657 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2658 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2659 * config/i386/t-dgux (STMP_FIXPROTO): Define.
2660 * config/x-interix: Don't define STMP_FIXPROTO and
2662 * config/t-interix: New file, define STMP_FIXPROTO.
2663 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2664 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2665 * config/t-svr4 (FIXPROTO_DEFINES): Define.
2666 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2667 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2668 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2669 * config/m68k/t-hp3200: Renamed from x-hp3200.
2670 * config/i370/t-oe: Renamed from x-oe.
2671 * config/mips/t-iris: Renamed from x-iris.
2672 * config/pa/t-bsd: Renamed from x-pa.
2673 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2674 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2675 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2676 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2677 config/rs6000/x-cygwin: Remove files.
2679 * configure.in: Check for target objdump and use that in eh_frame
2681 * configure: Regenerated.
2683 2001-11-15 Jakub Jelinek <jakub@redhat.com>
2685 * jump.c (squeeze_notes): Return true if no real insns were found.
2686 * rtl.h (squeeze_notes): Adjust prototype.
2687 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2688 squeeze_notes finds no real instructions, abort.
2689 (merge_blocks_move_successor_nojumps): Likewise.
2690 * loop.c (find_and_verify_loops): Likewise.
2691 * stmt.c (expand_end_case): Likewise.
2692 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2693 find any real instructions.
2695 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2697 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2698 conditional jump, request updating life into for the block
2699 containing it. Fix a typo which prevented life info update.
2700 Clear blocks bitmap before using it.
2702 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2704 * c-common.c: Include c-lex.h.
2705 (c_common_lang_init): Change prototype. Call init_c_lex and
2706 init_pragma from here.
2707 * c-common.h (c_common_lang_init): Change prototype.
2708 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
2709 * c-lang.c (c_init): Change prototype. Update.
2710 (c_init_options): Update.
2711 * c-lex.c (cpp_filename): Remove.
2712 (init_c_lex): Update. Read the main file, and get the original
2714 (yyparse): Finish the command line options.
2715 * c-parse.in (c_parse_init): Call init_reswords here.
2716 (init_parse): Remove.
2717 * c-tree.h (c_init_decl_processing): New.
2718 * cpphash.c (_cpp_init_hashtable): After initializing the hash
2720 * cppinit.c (read_original_filename, cpp_finish_options): New.
2721 (cpp_create_reader): New prototype. Defer hash table initialization.
2722 (cpp_start_read): Rename cpp_read_main_file. Initialize the
2723 hash table. Get the original filename.
2724 * cpplib.h (cpp_create_reader): Update.
2725 (cpp_start_read): Remove.
2726 (cpp_read_main_file, cpp_finish_options): New.
2727 * cppmain.c (main, do_preprocessing): Update.
2728 * langhooks.h (struct langhooks): Update init prototype.
2729 * toplev.c (general_init, parse_options_and_default_flags,
2730 process_options, lang_indpendent_init, lang_dependent_init,
2731 init_asm_output): New; perform the bulk of initialization.
2732 (compile_file): Move most of initialization to above functions.
2733 (debug_hooks): Initialize statically.
2734 (set_Wunused): Relocate.
2735 (toplev_main): Move most of initialization to other init functions.
2736 Have a clear logic flow.
2737 * tree.h (init_parse, init_decl_processing): Remove.
2739 * objc-act.c (objc_init): Update prototype, combine with old
2741 (objc_init_options): Update.
2744 2001-11-15 Andreas Jaeger <aj@suse.de>
2746 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2748 * basic-block.h: Adjust prototype.
2750 2001-11-15 Kazu Hirata <kazu@hxi.com>
2752 * config/rs6000/aix31.h: Fix comment formatting.
2753 * config/rs6000/beos.h: Likewise.
2754 * config/rs6000/darwin.h: Likewise.
2755 * config/rs6000/eabi.asm: Likewise.
2756 * config/rs6000/linux.h: Likewise.
2757 * config/rs6000/linux64.h: Likewise.
2758 * config/rs6000/lynx.h: Likewise.
2759 * config/rs6000/netbsd.h: Likewise.
2760 * config/rs6000/rs6000.c: Likewise.
2761 * config/rs6000/rs6000.h: Likewise.
2762 * config/rs6000/rs6000.md: Likewise.
2763 * config/rs6000/sol2.h: Likewise.
2764 * config/rs6000/tramp.asm: Likewise.
2765 * config/rs6000/xcoff.h: Likewise.
2766 * config/rs6000/xm-beos.h: Likewise.
2768 2001-11-14 Alan Matsuoka <alanm@redhat.com>
2770 * rtl.def (INCLUDE) : Define.
2771 * gensupport.c (init_include_reader, process_include,
2772 save_string) : New functions to implement an include facility
2774 * gensupport.h : Add prototype for init_md_reader_args.
2775 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2776 genextract.c genflags.c genopinit.c genoutput.c
2777 genpeep.c genrecog.c: Change call to init_md_reader to
2778 init_md_reader_args.
2779 * md.texi: Document (include "path") and -I directives for RTL
2782 2001-11-14 DJ Delorie <dj@redhat.com>
2784 * integrate.c (get_hard_reg_initial_reg): New.
2785 * integrate.h (get_hard_reg_initial_reg): Prototype.
2786 * local-alloc.c (block_alloc): Don't tie pseudos that
2787 represent call-saved hard regs' initial values.
2789 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2791 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2794 2001-11-14 Roger Sayle <roger@eyesopen.com>
2796 * fold-const.c (fold): Optimize strlen comparisons against zero.
2798 2001-11-14 David O'Brien <obrien@FreeBSD.org>
2800 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2801 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2802 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2803 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2804 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2805 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2806 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2807 Include various CPU headers via tm_file. a.out based platforms now
2808 properly include sparc/aout.h. sol2.h usage now implies including
2809 elfos.h, svr4.h, and sparc/sysv4.h.
2810 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2812 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2813 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2814 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2815 Remove. They are a.out specific and belong in sparc/aout.h.
2816 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2817 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2818 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
2820 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2821 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2822 Moved here from sparc/sparc.h.
2823 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2825 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2826 * config/sparc/lynx.h: Don't include lynx.h.
2827 (SELECT_SECTION): Do not undef.
2828 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2829 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2831 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2832 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
2834 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2835 Don't undef, there is no need.
2836 * config/sparc/splet.h (CPP_PREDEFINES): Define.
2837 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2838 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2839 Don't include sparc/sparc.h.
2840 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2841 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2842 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
2844 (TARGET_VERSION): Define.
2845 * config/sparc/vxsim.h (TARGET_VERSION): Define.
2847 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
2849 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2850 (cfg_layout_finalize): Use it.
2851 * bb-reorder.c (HAVE_epilogue): Remove.
2852 (make_reorder_chain): Do not care special placement of
2855 * predict.c (expected_value_to_br_prob): Delete the note
2858 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2859 measure integration time separately.
2861 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2863 * function.c (struct temp_slot): ALIGN now unsigned.
2865 2001-11-14 Kazu Hirata <kazu@hxi.com>
2867 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2868 * config/dsp16xx/dsp16xx.h: Likewise.
2869 * config/dsp16xx/dsp16xx.md: Likewise.
2871 2001-11-14 Kazu Hirata <kazu@hxi.com>
2873 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2874 that deals with 7-bit shifts in HImode.
2876 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
2878 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
2879 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
2880 (final_scan_insn): Update call of alter_subreg.
2881 (cleanup_subreg_operands): Likewise.
2882 (alter_subreg): Rewrite using simplify_subreg.
2883 (output_address, output_operand): Update call of alter_subreg.
2884 * output.h (alter_subreg): Update prototype.
2885 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
2886 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
2887 * Makefile.in (final.o): Add dependency on expr.h
2889 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2891 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
2893 2001-11-13 Jeff Sturm <jsturm@one-point.com>
2895 * doc/install.texi (sparc-*-linux*): Mention requirements for
2898 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
2900 * Makefile.in (POD2MAN): Don't include --section=1.
2901 (manext): Rename to man1ext. All users changed.
2904 (generated-manpages): Also depend on $(docdir)/gfdl.7,
2905 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
2906 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
2907 --section=1 in calls to $(POD2MAN).
2908 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
2909 (maintainer-clean, install, uninstall): Handle the new man pages.
2910 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
2911 (installdirs): Create man7dir.
2912 * doc/cpp.texi: Include GFDL in this manual. In the man page,
2913 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
2914 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
2915 the SEE ALSO man page section.
2916 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
2917 and fsf-funding(7) in the SEE ALSO man page section.
2918 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
2919 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
2920 * doc/include/fdl.texi, doc/include/funding.texi,
2921 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
2922 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
2924 2001-11-13 Richard Henderson <rth@redhat.com>
2926 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
2927 as appropriate for the artificial decl.
2929 2001-11-13 Richard Henderson <rth@redhat.com>
2931 * loop.c (combine_movables): Turn off combination until
2932 move_movables validation bugs are fixed.
2934 2001-11-13 DJ Delorie <dj@redhat.com>
2936 * config.gcc (powerpc|rs6000): Set default cpp options based
2937 on --with-cpu settings.
2938 * config/rs6000/softfloat.h: New.
2940 2001-11-13 Kazu Hirata <kazu@hxi.com>
2942 * config/h8300/h8300.c (shift_alg_si): Use special code for
2943 25-bit shifts on H8/S.
2944 (get_shift_alg): Generate special code for 25-bit shifts on
2947 2001-11-13 Jakub Jelinek <jakub@redhat.com>
2949 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
2950 (adjust_automodify_address_1): New.
2951 * expr.h (adjust_address, adjust_address_nv): Adjust.
2952 (adjust_automodify_address, adjust_automodify_address_nv): Define.
2953 (adjust_address_1): Update prototype.
2954 (adjust_automodify_address_1): Add prototype.
2955 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
2956 (store_by_pieces_2): Likewise.
2958 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2960 * Makefile.in (explow.o): Now depends on ggc.h.
2961 * explow.c (ggc.h): Include.
2962 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
2964 * Makefile.in (expr.o): Depends on insn-attr.h.
2965 * expr.c (insn-attr.h): New include.
2966 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
2968 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
2969 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
2970 clean up related usage in ADDR_EXPR.
2971 (expand_expr_unaligned): Likewise.
2973 * emit-rtl.c (change_address): Fix typo in alias setting.
2975 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2977 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
2979 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
2982 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
2983 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
2985 2001-11-12 David O'Brien <obrien@FreeBSD.org>
2987 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
2988 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
2989 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
2990 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
2991 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
2992 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
2993 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
2994 sparc64-*-linux*): Include various CPU headers via tm_file.
2995 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
2996 (SELECT_SECTION): Likewise.
2997 (SELECT_RTX_SECTION): Likewise.
2998 * config/sparc/sparc_bi.h: New file.
2999 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3000 * config/sparc/linux-aout.h: Likewise.
3001 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3002 * config/sparc/linux64.h: Likewise.
3003 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3004 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3005 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3007 (ASM_OUTPUT_IDENT): Do not #undef.
3008 (SELECT_SECTION): Likewise.
3009 (SELECT_RTX_SECTION): Likewise.
3010 * config/sparc/liteelf.h: Don't include gofast.h.
3011 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3012 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3013 * config/sparc/pbd.h: Likewise.
3014 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3015 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3016 * config/sparc/rtemself.h: Don't include rtems.h.
3017 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3018 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3020 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3021 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3022 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3023 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3024 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3025 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3026 * config/sparc/splet.h: Don't include sparc/aout.h.
3027 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3028 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3029 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3030 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3031 * config/sparc/vxsparc64.h: Don't include gofast.h.
3032 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3034 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3036 * doc/standards.texi: Mention C99 TC1.
3038 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3040 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3041 * mips.c (mips_output_conditional_branch): Likewise.
3043 2001-11-12 Kazu Hirata <kazu@hxi.com>
3045 * config/h8300/h8300.c (shift_alg_si): Use special code for
3046 15-bit logical shifts and 31-bit logical shifts.
3047 (get_shift_alg): Generate special code for 15-bit and 31-bit
3050 2001-11-12 Kazu Hirata <kazu@hxi.com>
3052 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3053 doing 6-bit logical shifts on H8/S.
3054 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3055 (get_shift_alg): Generate special code for 21-bit shifts on
3058 2001-11-12 Kazu Hirata <kazu@hxi.com>
3060 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3063 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3065 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3066 if both size and offset known.
3068 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3070 * config/ia64/freebsd.h: Fix misspelling.
3072 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3074 * doc/gcc.texi: Move several chapters out to ...
3075 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3076 doc/include/linux-and-gnu.texi, doc/interface.texi,
3077 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3078 ... here. New files.
3079 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3081 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3083 2001-11-12 Kazu Hirata <kazu@hxi.com>
3085 * config/alpha/alpha-interix.h: Fix comment formatting.
3086 * config/alpha/alpha.c: Likewise.
3087 * config/alpha/alpha.h: Likewise.
3088 * config/alpha/alpha32.h: Likewise.
3089 * config/alpha/freebsd.h: Likewise.
3090 * config/alpha/unicosmk.h: Likewise.
3091 * config/alpha/vms.h: Likewise.
3093 2001-11-12 Kazu Hirata <kazu@hxi.com>
3095 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3097 2001-11-12 Jakub Jelinek <jakub@redhat.com>
3099 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3102 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3104 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3106 (replace_equiv_address): Call update_temp_slot_address.
3108 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3110 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3112 2001-11-12 Kazu Hirata <kazu@hxi.com>
3114 * config/h8300/h8300.c (shift_alg_qi): New.
3115 (shift_alg_hi): Likewise.
3116 (shift_alg_si): Likewise.
3117 (get_shift_alg): Change the type of count to unsigned int.
3120 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
3122 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3123 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3124 to decide whether to defer a function.
3125 (finish_function): Adjust.
3126 (c_expand_deferred_function): New function.
3127 * c-lang.c (deferred_fns): New variable.
3128 (c_init): Initialize it, and mark it as a root.
3129 (defer_fn): New function.
3130 (finish_file): Expand all deferred functions.
3131 * c-tree.h (defer_fn): Declare.
3132 (c_expand_deferred_function): Likewise.
3133 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3134 * objc-act.c (deferred_fns): New variable.
3135 (objc_init): Initialize it, and mark it as a root.
3136 (defer_fn): New function.
3137 (finish_file): Expand all deferred functions.
3139 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3141 * alpha.c (unicosmk_special_name): Prototype.
3142 (unicosmk_ssib_name): Delete unused variable.
3143 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3144 * alpha/vms.h (PREFIX): Undef before defining.
3145 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3146 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3147 controlling usage. Const-ify.
3148 (alias_number): Delete unused variable.
3149 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3150 (m32r_expand_block_move): Fix uninitialized warnings.
3151 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3152 always true' warnings.
3153 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3154 * sh/sh.c: Include "integrate.h".
3155 (output_far_jump): Fix uninitialized warning.
3156 * final.c (shorten_branches): Avoid automatic aggregate
3158 * integrate.c (subst_constants): Likewise.
3160 2001-11-11 Kazu Hirata <kazu@hxi.com>
3162 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3163 (get_shift_alg): Remove redundant code.
3165 2001-11-11 Kazu Hirata <kazu@hxi.com>
3167 * config/pa/milli64.S: Fix comment formatting.
3168 * config/pa/pa-64.h: Likewise.
3169 * config/pa/pa-linux.h: Likewise.
3170 * config/pa/pa-protos.h: Likewise.
3171 * config/pa/pa.c: Likewise.
3172 * config/pa/pa.h: Likewise.
3173 * config/pa/pa32-linux.h: Likewise.
3174 * config/pa/pa32-regs.h: Likewise.
3175 * config/pa/pa64-hpux.h: Likewise.
3176 * config/pa/pa64-regs.h: Likewise.
3177 * config/pa/som.h: Likewise.
3179 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3181 * doc/gcc.texi: Move several chapters out to ...
3182 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3183 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3184 doc/vms.texi: ... here. New files.
3185 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3187 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3189 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3190 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3191 collect2.c, combine.c, config.in, configure, configure.in,
3192 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3193 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3194 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3197 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3199 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3200 Adjust operand number in CONST_DOUBLE.
3202 * expmed.c (extract_bit_field): No longer pass in alignment.
3203 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3204 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3206 * expr.c (store_constructor, store_constructor_field): Likewise.
3207 (store_field, emit_group_load, emit_group_store): Likewise.
3208 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3209 (store_bit_field, extract_bit_field): Likewise.
3210 * calls.c, expr.c, function.c: Change calls to above functions.
3211 * ifcvt.c, stmt.c: Likewise.
3213 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3214 constant and one is on frame.
3215 If know memref offset, adjust size from decl.
3217 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3219 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3220 format specifier warning.
3221 * convex.h (ASM_OUTPUT_BYTE): Likewise.
3222 * elfos.h (ALIGN_ASM_OP): Undef before defining.
3223 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3225 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3226 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3227 * i386-interix.h (gen_stdcall_suffix): Prototype.
3228 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3229 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3230 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3231 * i386/interix.c (gen_stdcall_suffix): Const-ify.
3232 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3233 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3235 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3236 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3237 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3238 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3239 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3240 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3241 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3242 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3243 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3244 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3245 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3247 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3249 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3250 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3251 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3253 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3255 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3257 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3258 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3259 * m68k/news.h (PRINT_OPERAND): Likewise.
3260 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3261 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3262 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3263 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3265 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3266 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3267 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3268 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3269 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3270 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3271 PRINT_OPERAND): Likewise.
3272 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3274 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3275 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3276 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3277 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3278 * mips.c (mips_output_external_libcall): Mark parameter with
3280 (mips_asm_file_start): Move variable into the scope where it's
3282 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3283 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3284 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3285 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3286 * ns32k.c (print_operand): Likewise.
3287 * pa.c (print_operand, output_div_insn): Likewise.
3288 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3289 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3290 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3291 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3293 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3294 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3295 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3296 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3298 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3300 * sdbout.c (sdbout_end_epilogue): Mark parameter with
3302 * varasm.c (assemble_global): Likewise.
3304 2001-11-11 H.J. Lu <hjl@gnu.org>
3306 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3308 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
3310 * final.c (*_MAX_SKIP): Use *_max_skip variables.
3311 * flags.h (align_loops_max_skip, align_jumps_max_skip,
3312 align_labels_max_skip): New global variables.
3313 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3314 align_labels_max_skip): New global variables.
3315 (toplev_main): Set new variables.
3316 * i386.c (override_options): Set max_skip values.
3318 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
3320 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3321 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3322 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3323 don't print an @fptr for labels either.
3324 (xstormy16_output_addr_vec): Don't print @fptr here.
3325 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3327 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
3329 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3330 an ANSI/ISO definitino.
3331 (ssa_const_prop): Likewise.
3333 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
3335 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3338 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3340 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3341 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3342 * cppmain.c (general_init): Call hex_init.
3343 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3345 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3347 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3348 of dgux.c:output_file_start().
3350 * i386/dgux.c: Delete file.
3352 2001-11-09 Richard Henderson <rth@redhat.com>
3354 * config/alpha/alpha.c (decl_in_text_section): New.
3355 (current_file_function_operand): Use it.
3356 (alpha_encode_section_info, alpha_end_function): Likewise.
3358 2001-11-07 David O'Brien <obrien@FreeBSD.org>
3360 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3361 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3362 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3363 so OS specific files and use CPP_PREDEFINES for their needs.
3364 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
3365 target headers to tm_file.
3366 * config/ia64/aix.h (TARGET_VERSION): Likewise.
3367 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3368 * config/ia64/linux.h (TARGET_VERSION): Likewise.
3369 (FUNCTION_PROFILER): Remove.
3370 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3371 version in config/ia64/linux.h.
3372 * config/ia64/freebsd.h: New file.
3373 * config/freebsd.h: Tidy up.
3374 (_USING_CONFIG_FREEBSD): Define.
3375 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3376 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3377 (FBSD_STARTFILE_SPEC): Likewise.
3378 (FBSD_ENDFILE_SPEC): Likewise.
3379 (FBSD_LIB_SPEC): Likewise.
3380 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3381 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3382 set an ELF-improper one.
3384 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3386 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3387 constant can be loaded in a single instruction to a register. When
3388 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
3389 depdi for insertion of most significant 32-bits on 64-bit hosts.
3390 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3391 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3392 * pa.md: New addmove pattern for adding constant_int to HImode
3393 register and moving result to HImode register. Remove HImode HIGH
3394 and LO_SUM patterns.
3396 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3398 * Makefile.in: Update.
3399 * c-decl.c (print_lang_decl, print_lang_type): Remove.
3400 (print_lang_identifier): Rename c_print_identifier.
3401 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3402 (print_lang_statistics, lang_print_xnode): Remove.
3403 * c-parse.in (set_yydebug): Rename c_set_yydebug.
3404 * c-tree.h (c_set_yydebug, c_print_identifier): New.
3405 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3406 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3407 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3408 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3409 (LANG_HOOKS_INITIALIZER): Update.
3410 * langhooks.h (struct lang_hooks): New members.
3411 (lang_print_tree_hook): New.
3412 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3413 * print-tree.c: Include langhooks.h.
3414 (print_node): Update.
3415 * toplev.c (decode_d_option): Update.
3416 * tree.c: Include langhooks.h.
3417 (dump_tree_statistics): Update.
3418 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3419 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3421 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3422 LANG_HOOKS_SET_YYDEBUG): Override.
3423 (lang_print_xnode, print_lang_statistics): Remove.
3425 2001-11-09 Richard Henderson <rth@redhat.com>
3427 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3428 on the symbol string.
3430 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3432 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3433 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3434 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3436 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3438 * tlink.c (recompile_files): Copy strings passed to `putenv'.
3440 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
3442 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3443 (TYPE_READONLY): Likewise.
3445 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3447 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3448 don't pass --gdwarf2 to the assembler if the compiler will also
3451 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3454 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3456 * alias.c (nonoverlapping_memrefs_p): New function.
3457 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3459 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3461 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
3463 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3464 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3465 generating altivec code.
3466 (FIXED_REGISTERS): VRSAVE is fixed.
3467 (CALL_USED_REGISTERS): VRSAVE is call used.
3469 2001-11-09 Jason Eckhardt <jle@rice.edu>
3471 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3472 code the branch target as ".+16/.+12", but rather use labels.
3474 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
3476 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3477 to work around limitations of certain versions of GAS.
3479 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3480 (muldi3): Update due to SUBREG_BYTE changes.
3481 (casesi): Similarly.
3483 2001-11-09 Zack Weinberg <zack@codesourcery.com>
3485 * doc/invoke.texi: Remove comment referring to -xf77-version.
3487 2001-11-09 Kazu Hirata <kazu@hxi.com>
3489 * config/convex/convex.c: Fix comment formatting.
3490 * config/convex/convex.h: Likewise.
3492 2001-11-08 Zack Weinberg <zack@codesourcery.com>
3494 * Makefile.in (.po.pox): Look both in srcdir and builddir
3496 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3497 to the source directory.
3499 2001-11-09 Ben Elliston <bje@redhat.com>
3500 Michael Meissner <meissner@redhat.com>
3501 Andrew MacLeod <amacleod@redhat.com>
3502 Richard Henderson <rth@redhat.com>
3503 Nick Clifton <nickc@redhat.com>
3504 Catherine Moore <clm@redhat.com>
3506 * m32r.c: Add support for m32rx processor.
3510 * m32r-protos.h: Add prototypes for m32rx functions.
3511 * doc/invoke.texi: Document -m32rx option.
3513 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3515 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3518 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3520 * doc/install.texi2html: Use $MAKEINFO --no-split.
3522 2001-11-09 Andreas Schwab <schwab@suse.de>
3524 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3525 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3526 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3527 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3528 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3530 2001-11-09 H.J. Lu <hjl@gnu.org>
3532 * config/mips/mips.c (mips_output_function_prologues): Cast
3533 `tsize' to long for output.
3535 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3537 * c-lang.c (LANG_HOOKS_NAME): New.
3538 (lang_hooks): Constify.
3539 (c_init_options): Update.
3540 (lang_identify): Remove.
3541 * c-parse.in (language_string): Remove.
3542 * dbxout.c: Include langhooks.h.
3543 (dbxout_symbol_location): Update.
3544 * dwarf2out.c: Include langhooks.h.
3545 (gen_compile_unit_die): Update.
3546 * dwarfout.c: Include langhooks.h.
3547 (prototyped_attribute, output_compile_unit_die): Update.
3548 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3549 (LANG_HOOKS_INITIALIZER): Update.
3550 * langhooks.h (struct lang_hooks): New members. Constify.
3551 * stringpool.c: Don't include toplev.h.
3552 (set_identifier_size): Remove.
3553 * toplev.c (toplev_main): Initialize identifier size.
3554 (print_version): Update.
3555 * tree.h (language_string, init_lex, lang_identify,
3556 set_identifier_size): Remove.
3557 * Makefile.in: Update dependencies.
3558 * config/darwin.c: Include langhooks.h.
3559 (func_name_maybe_scoped): Update.
3560 * config/darwin.h (ASM_END_FILE): Update.
3561 * config/nextstep.h (ASM_END_FILE): Update.
3562 * config/nextstep21.h (ASM_END_FILE): Update.
3563 * config/i386/sun386.h (ASM_END_FILE): Update.
3564 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3565 (rs6000_output_function_epilogue): Update.
3567 * objc-act.c (LANG_HOOKS_NAME): Override.
3568 (struct lang_hooks): Constify.
3569 (objc_init_options): Update.
3570 (lang_identify): Remove.
3572 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
3574 * fold-const.c (lshift_double): Honor PREC.
3575 (rshift_double): Likewise.
3577 2001-11-08 Kazu Hirata <kazu@hxi.com>
3579 * config/1750a/1750a.c: Fix comment formatting.
3580 * config/1750a/1750a.h: Likewise.
3582 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
3584 * configure.in (--enable-languages): Be more permissive about
3585 syntax. Check for empty lists better. Warn about $LANGUAGES.
3586 * configure: Regenerated.
3588 2001-11-08 Richard Henderson <rth@redhat.com>
3590 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3592 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
3594 * config.gcc: Rename stormy16 to xstormy16.
3595 * config/stormy16/stormy-abi: Likewise.
3596 * config/stormy16/stormy16-protos.h: Likewise.
3597 * config/stormy16/stormy16.c: Likewise.
3598 * config/stormy16/stormy16.h: Likewise.
3599 * config/stormy16/stormy16.md: Likewise.
3601 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
3603 * tree.h (TYPE_VOLATILE): Add enable-checking code.
3604 (TYPE_READONLY): Likewise.
3606 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3608 * reload1.c (reload): Don't delete equiv insn if can throw.
3610 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3611 (clear_storage): Likewise, for OBJECT.
3613 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
3615 * pa.c (emit_move_sequence): Fix SUBREG expression to
3616 use proper byte offset when extending a constant from
3619 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3621 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3624 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3626 * explow.c (convert_memory_address, case SUBREG): Only return
3627 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3629 2001-11-08 Richard Henderson <rth@redhat.com>
3631 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3632 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3633 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3635 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
3637 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3639 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3641 * dwarf2out.c (debug_str_hash): New.
3642 (struct indirect_string_node): New.
3643 (struct dw_val_struct): Change type of val_str to it.
3644 (DEBUG_STR_SECTION_FLAGS): Define.
3645 (add_AT_string): Push string into hashtable, increment reference
3647 (AT_string): Return string from ht_identifier.
3648 (AT_string_form): New.
3649 (free_AT): For dw_val_class_str, just decrement reference counter.
3650 (size_of_string): Remove.
3651 (size_of_die): Use AT_string_form to decide what size the string
3653 (size_of_pubnames): Use strlen instead of size_of_string.
3654 (value_format): Use AT_string_form for dw_val_class_str.
3655 (output_die): Output DW_FORM_strp strings using
3656 dw2_asm_output_offset.
3657 (indirect_string_alloc, output_indirect_string): New.
3658 (dwarf2out_finish): Emit .debug_str strings if there are any.
3660 2001-11-08 Andreas Franck <afranck@gmx.de>
3662 * configure.in: Add AC_ARG_PROGRAM to support program name
3663 transformation with --program-prefix, --program-suffix and
3664 --program-transform-name.
3665 * configure: Regenerated.
3666 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3667 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3668 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3669 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3670 program_transform_name the way suggested by autoconf.
3671 (GCC_TARGET_INSTALL_NAME): Define.
3672 (install-driver): Use the transformed target alias name.
3674 2001-11-08 Richard Henderson <rth@redhat.com>
3676 * config/mips/mips.c (save_restore_insns): Remove GP from the
3677 restore registers mask early instead of special casing it inside
3680 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
3682 * cp/decl.c (shadow_warning): New function.
3683 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
3684 and an error when a block scope decl shadows a parameter.
3686 2001-11-08 Richard Henderson <rth@redhat.com>
3688 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3691 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3693 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3694 to implement floating negation on processors prior to PA 2.0.
3696 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3698 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3699 (USE_LINKONCE_INDIRECT): Define.
3700 (dw2_output_indirect_constant_1): Try to output indirect constants
3701 into linkonce sections if possible.
3702 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
3703 (dw2_output_indirect_constants): Likewise.
3705 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3707 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3709 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
3711 * c-decl.c (pushdecl): Remove file and line.
3712 * c-typeck.c (pop_init_level): Remove size.
3714 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3716 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3719 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3720 (TARGET_ALTIVEC): New.
3721 (TARGET_SWITCHES): Add altivec.
3722 (FIRST_PSEUDO_REGISTER): Change to 109.
3723 (CALL_USED_REGISTERS): Same.
3724 (FIRST_ALTIVEC_REGNO): New.
3725 (LAST_ALTIVEC_REGNO): New.
3726 (ALTIVEC_REGNO_P): New.
3727 (UNITS_PER_ALTIVEC_WORD): New.
3728 (ALTIVEC_VECTOR_MODE): New.
3729 (FIXED_REGISTERS): Add altivec registers.
3730 (REG_ALLOC_ORDER): Same.
3731 (HARD_REGNO_NREGS): Adjust for altivec registers.
3732 (HARD_REGNO_MODE_OK): Same.
3733 (MODES_TIEABLE_P): Same.
3734 (REGISTER_MOVE_COST): Same.
3735 (REGNO_REG_CLASS): Same.
3736 (reg_class): Add ALTIVEC_REGS.
3737 (REG_CLASS_NAMES): Same.
3738 (REG_CLASS_CONTENTS): Same.
3739 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
3740 (ALTIVEC_ARG_RETURN): New.
3741 (FUNCTION_VALUE): Handle VECTOR_TYPE.
3742 (LIBCALL_VALUE): Handle altivec vector modes.
3743 (VECTOR_MODE_SUPPORTED_P): New.
3744 (ALTIVEC_ARG_MIN_REG): New.
3745 (ALTIVEC_ARG_MAX_REG): New.
3746 (ALTIVEC_ARG_NUM_REG): New.
3747 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
3748 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
3749 (REGISTER_NAMES): Add altivec regs.
3750 (DEBUG_REGISTER_NAMES): Same.
3751 (ADDITIONAL_REGISTER_NAMES): Same.
3752 (rs6000_builtins): New.
3753 (MD_EXPAND_BUILTIN): New.
3754 (MD_INIT_BUILTINS): New.
3755 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
3756 for AltiVec instructions.
3757 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
3758 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
3760 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
3761 (TARGET_SWITCHES): Add no-altivec.
3762 (DATA_ALIGNMENT): Align vectors to 128 bits.
3763 (TARGET_OPTIONS): Add abi= option.
3764 Add rs6000_abi_string extern.
3765 (LOCAL_ALIGNMENT): New.
3766 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
3767 (MASK_ALTIVEC_ABI): New.
3768 (TARGET_ALTIVEC_ABI): New.
3769 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
3771 (STACK_BOUNDARY): Adjust for altivec.
3772 (BIGGEST_ALIGNMENT): Same.
3773 (rs6000_args): Add vregno.
3774 (USE_ALTIVEC_FOR_ARG_P): New.
3775 (FIXED_REGISTERS): Add vrsave register.
3776 (CALL_USED_REGISTERS): Same.
3777 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
3778 (VRSAVE_REGNO): New.
3779 (reg_class): Add VRSAVE_REGS.
3780 (REG_CLASS_NAMES): Same.
3781 (REG_CLASS_CONTENTS): Same.
3782 (REGNO_REG_CLASS): Same.
3784 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
3785 (ABI_STACK_BOUNDARY): Same.
3786 (BIGGEST_ALIGNMENT): Same.
3787 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
3788 (ROUND_TYPE_ALIGN): Same.
3790 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3793 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3796 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3799 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
3800 (altivec_expand_builtin): New.
3801 (altivec_init_builtins): New.
3802 (TARGET_EXPAND_BUILTIN): New.
3803 (TARGET_INIT_BUILTINS): New.
3804 (rs6000_init_builtins): New.
3805 (struct builtin_description): New.
3807 (rs6000_reg_names): Add altivec registers.
3808 (alt_reg_names): Same.
3809 (secondary_reload_class): Altivec regs can hold altivec regs and
3811 (rs6000_emit_move): Force constants into memory for AltiVec moves.
3812 (print_operand): Add 'y' case for printing altivec memory
3814 (rs6000_legitimize_address): Legitimize vector addresses into
3816 (altivec_expand_binop_builtin): New.
3817 New string rs6000_current_abi.
3818 (rs6000_override_options): Call rs6000_parse_abi_options.
3819 (rs6000_parse_abi_options): New.
3820 (function_arg_boundary): Vector arguments must be 16
3822 (function_arg_advance): Handle vector arguments.
3823 (function_arg_partial_nregs): Same.
3824 (init_cumulative_args): Same.
3825 (function_arg): Same.
3827 * config/rs6000/rs6000.md (altivec_lvx): New.
3828 (type): Add altivec attribute.
3830 (*movv4si_internal): New.
3832 (*movv16qi_internal): New.
3834 (*movv8hi_internal1): New.
3836 (*movv4sf_internal1): New.
3837 (altivec_stvx): New.
3953 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
3955 * Makefile.in (df.o): Add fibheap.h to dependencies.
3957 * df.h: Add prototypes for transfer functions, iterative_dataflow
3959 (enum df_flow_dir): New enum.
3960 (enum df_confluence_op): New enum.
3961 (struct df): Add inverse_rts_map.
3963 * df.c: Add sbitmap.h to the list of includes.
3964 (df_rd_global_compute): Removed.
3965 (df_ru_global_compute): Removed.
3966 (df_lr_global_compute): Removed.
3967 (df_rd_transfer_function): New function.
3968 (df_ru_transfer_function): New function.
3969 (df_lr_transfer_function): New function.
3970 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
3971 Use iterative_dataflow_bitmap instead of df_*_global_compute.
3972 (iterative_dataflow_sbitmap): New function.
3973 (iterative_dataflow_bitmap): New function.
3975 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
3977 * doc/gcc.texi: Move terminology and spelling conventions to
3978 htdocs/codingconventions.html.
3980 2001-11-07 Graham Stott <grahams@redhat.com>
3982 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
3984 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
3986 * expmed.c (expand_mult): Force operand to register before computing
3988 * i386.c (x86_decompose_lea): New global vairable.
3989 * i386.h (x86_decompose_lea): Declare.
3990 (TARGET_DECOMPOSE_LEA): New macro.
3991 (RTX_COST): Handle leas properly.
3993 2001-11-06 Richard Henderson <rth@redhat.com>
3995 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
3996 defined for a CONSTRUCTOR; don't check it.
3998 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4000 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4001 test for absolute pathnames.
4003 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
4005 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4006 instructions up to the target pc inclusive.
4008 2001-11-06 Steve Christiansen <smc@us.ibm.com>
4010 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4012 2001-11-06 Eric Christopher <echristo@redhat.com>
4014 * config/mips/mips.md(movdf_internal2): Add constraints for float
4015 to general register move.
4016 * config/mips/elf64.h: Add default ABI.
4018 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4020 * alias.c:: Include langhooks.h.
4021 * emit-rtl.c: Similarly.
4022 * toplev.c: Similarly.
4023 * tree-inline.c: Similarly.
4024 * langhooks-def.h: New, the old langhooks.h. Give the default
4025 hooks a common prefix.
4026 * langhooks.h: Contents extracted from toplev.h.
4027 * toplev.h: Move langhook stuff to langhooks.h.
4028 * langhooks.c: Give default hooks a common prefix.
4030 * c-lang.c: Include langhooks-def.h.
4031 * objc/objc-act.c: Similarly.
4032 * Makefile.in: Update.
4033 * objc/Make-lang.in: Update.
4035 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4037 * doc/install.texi: Document that configure options not listed in
4038 this file are unsupported. Document --with-system-zlib.
4040 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4042 * rtl.h (mem_for_const_double): New declaration.
4043 * varasm.c (mem_for_const_double): New function.
4044 * config/convex/convex.md (movdf): Use it.
4045 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4046 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4047 * config/m68k/m68kv4.h: Likewise.
4049 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4050 of new GP reg classes.
4052 * expr.c (store_field): When making temp object for unaligned
4053 component, set it to alias set 0.
4055 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4057 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4058 non-lvalue arrays if C99.
4059 * c-typeck.c (default_conversion): Split out code handling
4060 array-to-pointer and function-to-pointer conversions into a
4061 separate default_function_array_conversion function.
4062 (default_function_array_conversion): New function. Keep track of
4063 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4064 arrays unchanged outside C99 mode instead of giving an error for
4066 (build_component_ref): Use pedantic_non_lvalue when handling
4067 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4068 (convert_arguments): Use default_function_array_conversion.
4069 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4071 (unary_complex_lvalue): Likewise.
4072 (internal_build_compound_expr): Use
4073 default_function_array_conversion. Apply default conversions to
4074 function in compound expression.
4075 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4076 Use default_function_array_conversion.
4077 * doc/extend.texi: Update documentation of subscripting non-lvalue
4081 2001-11-05 Zack Weinberg <zack@codesourcery.com>
4083 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4084 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4085 corresponding to the complete set of .po and .gmo files in
4086 the source directory's po subdir, modified by LINGUAS. Don't
4087 look at ALL_LINGUAS.
4088 * configure.in: Don't set ALL_LINGUAS.
4089 * configure: Regenerate.
4091 * Makefile.in (.po.gmo): Don't move into source directory.
4092 (.po.pox): Clarify comments.
4093 (install-po): Look for .gmo files in both srcdir and objdir;
4094 don't fail if a file is totally missing.
4095 (distclean): rmdir ada subdirectory too.
4097 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4099 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4100 CONSTRUCTORs _correctly_.
4102 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4104 * c-decl.c (delete_block): Remove.
4105 * c-tree.h (delete_block): Remove.
4107 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4109 * cppexp.c (lex, parse_defined): Update warning about defined.
4111 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4113 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4116 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4118 * config/arm/arm.c (arm_return_in_memory): Cope with
4119 int_size_in_bytes returning -1.
4121 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4124 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4126 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4127 remove unneeded dependencies;
4129 * cfglayout.c, cfglayout.h: New files; break out from ...
4130 * bb-reorder.c: ... here; Remove unneeded includes;
4132 2001-11-04 Alan Modra <amodra@bigpond.net.au>
4134 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4136 2001-11-04 David Edelsohn <edelsohn@gnu.org>
4138 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4139 mode as well. Do not explicitly create intermediate regs.
4141 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4143 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4144 (common_section): Delete unused variable.
4145 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4146 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4147 * arm-protos.h (arm_poke_function_name, aof_add_import,
4148 aof_delete_import): Const-ify.
4149 * arm.c (legitimize_pic_address): Wrap variables in the macro
4150 controlling their usage.
4151 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4152 (arm_poke_function_name, pic_chain, import, aof_add_import,
4153 aof_delete_import): Const-ify.
4154 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4155 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4156 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4157 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4158 * i860/sysv3.h: Add missing comment closure.
4159 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4160 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4161 to symbolic_operand.
4163 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4164 (i960-*-*): Set tmake_file.
4165 (sparc86x-*-elf*): Fix typo in header name.
4167 * sched-rgn.c (schedule_insns): Delete unused variable.
4169 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4172 * c-typeck.c (lookup_field): Rework to return a chain down to
4173 the looked-up field.
4174 (build_component_ref): Use the new lookup_field to handle
4175 nested anonymous entities correctly.
4177 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4179 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4180 Change parameters to gen_rtx_CONST_DOUBLE.
4181 (GEN_INT64, sparc_emit_set_const64): Likewise.
4182 * config/sparc/sparc.md (movdf split): Likewise.
4184 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
4186 * unroll.c (calculate_giv_inc): Use find_last_value rather
4187 than just hoping the last instruction is the right SET.
4188 [Fixes 990604-1.c on stormy16.]
4190 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4191 library at all if -T is used.
4193 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4194 some uses of uninitialized variables in error cases.
4196 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4197 look at 'temp' if we won't be using it.
4199 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4200 (RTX_COSTS): Define.
4201 (ADDRESS_COST): Define.
4202 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4204 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4206 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4207 stormy16_asm_output_mi_thunk.
4208 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4210 * config/stormy16/stormy16-protos.h
4211 (stormy16_asm_output_mi_thunk): New prototype.
4213 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4215 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4216 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4217 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4218 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4219 sched-int.h, toplev.c, config/alpha/alpha.c,
4220 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4221 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4222 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4223 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4224 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4225 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4226 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4228 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4230 * Makefile.in (dbxout.o): Depend on function.h.
4231 * collect2.c (is_in_list): Hide unused function.
4232 * dbxout.c: Include function.h.
4233 (source_label_number, dbxout_source_line, dbxout_source_file,
4234 dbxout_function_end, dbxout_begin_function): Wrap/move inside
4235 macros controlling usage.
4236 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4237 * output.h (exports_section): Prototype.
4239 * convex.c (convex_output_function_prologue): Fix format specifier
4241 (asm_declare_function_name): Fix signed/unsigned warning.
4242 (print_operand): Fix format specifier warning.
4243 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4244 * dsp16xx-protos.h (uns_comparison_operator,
4245 num_1600_core_shifts): Prototype.
4246 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4247 (frame_size, frame_pointer_offset): Delete.
4248 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4249 Make static. Fix format specifier warnings.
4250 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4251 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4252 * dsp16xx.md: Add default case in switches.
4253 * fr30.h (IN_RANGE): Delete.
4254 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4255 * mcore-protos.h (mcore_output_cmov): Const-ify.
4256 * mcore.c (mcore_output_cmov): Likewise.
4257 * mcore.h (switch_to_section): Make static and prototype.
4258 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4259 unsigned>=0 warnings.
4260 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4261 * rs6000-protos.h (read_only_data_section,
4262 read_only_private_data_section): Prototype.
4263 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4264 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4265 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4267 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4269 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4271 * final.c (final_scan_insn): Add brackets around body of if-stmt.
4272 * gcc.c (convert_filename): Add static prototype. Const-ify.
4273 Wrap variable in macros controlling its use.
4274 * output.h (sdata_section): Add prototype.
4276 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4277 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4278 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4279 (ASM_FILE_START): Const-ify.
4280 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4282 * c4x.md: Don't use the 'U' integer suffix.
4283 * clipper.md (clipper_movstr): Delete declaration.
4284 * d30v-protos.h (d30v_move_2words): Const-ify.
4285 (debug_stack_info): Add prototype.
4286 * d30v.c: Include "integrate.h".
4287 (d30v_function_arg_boundary, d30v_function_arg,
4288 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4289 signed/unsigned warnings.
4290 (d30v_print_operand_memory_reference, d30v_move_2words):
4292 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4293 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4294 * fr30.md: Const-ify.
4295 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4296 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4297 (mvs_get_label_page): Hide unused static function.
4298 * i860.c (current_function_original_name): Const-ify.
4299 * i860/sysv3.h (current_function_original_name): Likewise.
4300 * i860/sysv4.h (current_function_original_name): Likewise.
4301 * i960.md: Add default case in switches. Remove unused variable.
4302 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4303 * m32r.md: Const-ify.
4304 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4305 * m68hc11.c: Include "reload.h".
4306 (static_chain_reg, print_options, m68hc11_asm_file_start):
4308 * m68hc11.md: Delete unused variable. Const-ify. Add parens
4309 around & in comparison.
4310 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4311 * mn10200.c (shift_mode): Remove trailing comma.
4312 * mn10300-protos.h (output_tst): Const-ify.
4313 * mn10300.c (output_tst): Likewise.
4314 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4316 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4317 * pa.c (output_ascii): Likewise.
4318 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4319 * pdp11.md (expand_unop): Delete declarations.
4320 * pj-protos.h (pj_output_addsi3): Const-ify.
4321 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4322 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4323 unique_src_operand): Add prototypes.
4324 (pj_output_store_into_lval): Make definition static.
4325 (pj_function_incoming_arg): Don't use unary plus.
4326 (pj_output_addsi3): Const-ify.
4327 * romp.md (get_symref): Delete declarations.
4328 * v850-c.c (mark_current_function_as_interrupt): Don't return
4329 value from void function.
4330 * v850.c: Include "integrate.h".
4331 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4332 * vax-protos.h (const_section): Add prototype.
4334 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
4336 * machmode.def: Add documentation for the seventh argument in
4339 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4341 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4343 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4344 <-melf>: Don't have markup for ELF acronym.
4346 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4348 * config.gcc (mmix-*-*): New target.
4349 * doc/invoke.texi: Document MMIX options.
4350 * doc/contrib.texi: Add note about MMIX port to my entry.
4351 * config/mmix/t-mmix: New file.
4352 * config/mmix/mmix.h: New file.
4353 * config/mmix/mmix-protos.h: New file.
4354 * config/mmix/mmix.c: New file.
4355 * config/mmix/mmix.md: New file.
4356 * config/mmix/crti.asm: New file.
4357 * config/mmix/crtn.asm: New file.
4359 2001-11-03 Kazu Hirata <kazu@hxi.com>
4361 * config/sparc/linux-aout.h: Fix comment formatting.
4362 * config/sparc/linux.h: Likewise.
4363 * config/sparc/linux64.h: Likewise.
4364 * config/sparc/lynx.h: Likewise.
4365 * config/sparc/pbd.h: Likewise.
4366 * config/sparc/sol2-sld-64.h: Likewise.
4367 * config/sparc/sol2.h: Likewise.
4368 * config/sparc/sparc.c: Likewise.
4369 * config/sparc/sparc.h: Likewise.
4370 * config/sparc/sparc.md: Likewise.
4371 * config/sparc/sunos4.h: Likewise.
4372 * config/sparc/vxsim.h: Likewise.
4373 * config/sparc/vxsparc.h: Likewise.
4374 * config/sparc/vxsparc64.h: Likewise.
4376 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4378 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4379 reference to CONST_DOUBLE_MEM in comment.
4380 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4381 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4382 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4383 * function.c (pop_function_context_from): Don't call
4384 restore_varasm_status.
4385 * function.h (restore_varasm_status): Delete declaration.
4386 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4388 * rtl.def (CONST_DOUBLE): Update comment.
4389 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4390 (CONST_DOUBLE_CHAIN): Likewise.
4391 (CONST_DOUBLE_MEM): Delete.
4392 (gen_rtx_CONST_DOUBLE): Update parameters.
4393 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4394 Remove reference to CONST_DOUBLE_MEM.
4395 (const_alias_set): New variable.
4396 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4397 (immed_real_const_1): Adjust tests for 0, 1, and 2.
4398 Don't set CONST_DOUBLE_MEM.
4399 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4400 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4401 Put constant in const_alias_set.
4402 (struct pool_constant): ALIGN now unsigned.
4403 OFFSET now HOST_WIDE_INT.
4405 (restore_varasm_status): Deleted.
4406 (mark_pool_constant): Mark desc->rtl.
4407 (force_const_mem): Rework to store rtl in hash table,
4408 not CONST_DOUBLE_MEM.
4409 Put constant in const_alias_set.
4410 (find_pool_constant): Check desc->rtl.
4411 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4412 (init_varasm_once): Initialize const_alias_set.
4414 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4417 * reload.c (combine_reloads): Don't combine an output reload if there
4418 are other reloads around for part of the output.
4420 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4421 constant expression.
4422 (set_mem_decl): New function.
4423 * expr.h (set_mem_decl): New declaration.
4424 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4425 (output_asm_operand_names): Add tab.
4426 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4428 * builtins.c (get_memory_rtx): Properly set MEM alias set and
4431 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4433 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4434 Use "invalid" instead of "illegal". Use @r in comments in
4437 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
4439 * c-decl.c (pushdecl): Move block inside if conditional to remove
4440 possibility of a segfault. Lookup block-level extern
4441 variables in enclosing scopes correctly.
4443 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4445 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4447 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4448 SUBREG so we avoid SUBREGing memory.
4450 * expmed.c (store_bit_field): Same.
4452 2001-11-02 DJ Delorie <dj@redhat.com>
4454 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4455 using FP registers for DImode mem-mem moves is acceptable.
4457 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4459 * builtins.c (apply_args_size): Handle vector arguments.
4460 (apply_result_size): Same.
4462 * machmode.def: Set WIDER mode field for all vector entries.
4464 2001-11-02 Graham Stott <grahams@redhat.com>
4466 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
4468 2001-11-01 Eric Christopher <echristo@redhat.com>
4470 * config.gcc: Revert part of earlier patch.
4471 * config/mips/linux.h: Ditto.
4472 * df.c: Include tm_p.h to avoid warnings.
4473 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
4475 * config/mips/mips.c: Define mips_abi regardless.
4476 (mips_output_function_prologues): Add long casts for .frame
4478 (override_options): Allow use of ABI_32.
4480 2001-11-01 Kazu Hirata <kazu@hxi.com>
4482 * config/m68hc11/m68hc11.c: Fix comment formatting.
4483 * config/m68hc11/m68hc11.h: Likewise.
4484 * config/m68hc11/m68hc11.md: Likewise.
4486 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
4488 * c-typeck.c (default_conversion): Retain the original expression
4490 * gcc.dg/Wparentheses.c: New tests.
4492 2001-11-01 David S. Miller <davem@redhat.com>
4494 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4495 64-bit Sparc description more in line with reality.
4497 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
4499 * Makefile.in (GCOV_OBJS): Add version.o.
4500 * gcov.c: Include "version.h" and <getopt.h>.
4501 (gcov_version_string): Remove.
4502 (print_usage): Take a parameter to determine whether this is a
4503 call from --help or an error message. Give fuller output that
4504 follows the GNU Coding Standards for --help.
4505 (print_version): New function.
4507 (process_args): Use getopt_long. Support long options. Follow
4508 GNU Coding Standards for --help and --version.
4509 * doc/gcov.texi: Document long options.
4510 Addresses part of PR other/704.
4512 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4514 * pa.c (output_move_double): Fix typo in double load.
4516 2001-11-01 Kazu Hirata <kazu@hxi.com>
4518 * config/h8300/h8300.c (h8300_encode_label): Compute a string
4519 before passing it to ggc_alloc_string.
4521 2001-11-01 Kazu Hirata <kazu@hxi.com>
4523 * config/m68k/3b1.h: Fix comment formatting.
4524 * config/m68k/3b1g.h: Likewise.
4525 * config/m68k/a-ux.h: Likewise.
4526 * config/m68k/amix.h: Likewise.
4527 * config/m68k/apollo68.h: Likewise.
4528 * config/m68k/atari.h: Likewise.
4529 * config/m68k/aux-exit.c: Likewise.
4530 * config/m68k/ccur-GAS.h: Likewise.
4531 * config/m68k/crds.h: Likewise.
4532 * config/m68k/dpx2.h: Likewise.
4533 * config/m68k/dpx2g.h: Likewise.
4534 * config/m68k/hp310.h: Likewise.
4535 * config/m68k/hp320.h: Likewise.
4536 * config/m68k/isi.h: Likewise.
4537 * config/m68k/linux.h: Likewise.
4538 * config/m68k/lynx.h: Likewise.
4539 * config/m68k/m68k-psos.h: Likewise.
4540 * config/m68k/m68k.c: Likewise.
4541 * config/m68k/m68k.h: Likewise.
4542 * config/m68k/m68k.md: Likewise.
4543 * config/m68k/m68kelf.h: Likewise.
4544 * config/m68k/m68kv4.h: Likewise.
4545 * config/m68k/mot3300.h: Likewise.
4546 * config/m68k/news.h: Likewise.
4547 * config/m68k/next.h: Likewise.
4548 * config/m68k/pbb.h: Likewise.
4549 * config/m68k/plexus.h: Likewise.
4550 * config/m68k/sgs.h: Likewise.
4551 * config/m68k/sun3.h: Likewise.
4552 * config/m68k/tower.h: Likewise.
4553 * config/m68k/vxm68k.h: Likewise.
4555 2001-10-31 DJ Delorie <dj@redhat.com>
4557 * config/mips/mips.h (mips_cache_flush_func): Prototype.
4558 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4559 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4560 * config/mips/mips.c (mips_cache_flush_func): New.
4561 * doc/invoke.texi: Document the new options.
4563 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
4565 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4566 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4568 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4570 * config/cris/cris.c: Include output.h after tree.h but before
4573 2001-10-31 Zack Weinberg <zack@codesourcery.com>
4575 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4576 (INTL_SUBDIRS): Just intl.
4577 (.SUFFIXES): Add .gmo .po .pox.
4578 (native): Also depend on build-@POSUB@.
4579 (intl.all, intl.install): Depend on config.h and things it includes.
4580 (po-generated): New target; depend on c-parse.c and tradcif.c.
4581 (install-normal): Also depend on install-@POSUB@.
4582 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4583 (build-, install-, build-po, update-po, install-po,
4584 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4586 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4587 * configure.in: Don't munge XGETTEXT. Don't generate
4589 * configure: Regenerate.
4591 * exgettext: Delete.
4592 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4593 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4595 2001-10-31 Kazu Hirata <kazu@hxi.com>
4597 * config/h8300/h8300.md (two anonymous patterns): New.
4599 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
4601 * tree.h (tree_index): Add support for V16QI and V8HI.
4602 (V8HI_type_node): New.
4603 (V16QI_type_node): New.
4605 * tree.c (build_common_tree_nodes_2): Same.
4607 * c-common.c (type_for_mode): Same.
4609 2001-10-31 Kazu Hirata <kazu@hxi.com>
4611 * config/i386/att.h: Fix comment formatting.
4612 * config/i386/beos-elf.h: Likewise.
4613 * config/i386/bsd.h: Likewise.
4614 * config/i386/bsd386.h: Likewise.
4615 * config/i386/crtdll.h: Likewise.
4616 * config/i386/cygwin.asm: Likewise.
4617 * config/i386/cygwin.h: Likewise.
4618 * config/i386/djgpp.h: Likewise.
4619 * config/i386/freebsd-aout.h: Likewise.
4620 * config/i386/freebsd.h: Likewise.
4621 * config/i386/gas.h: Likewise.
4622 * config/i386/i386-interix.h: Likewise.
4623 * config/i386/i386-protos.h: Likewise.
4624 * config/i386/i386.c: Likewise.
4625 * config/i386/i386.h: Likewise.
4626 * config/i386/i386.md: Likewise.
4627 * config/i386/i386elf.h: Likewise.
4628 * config/i386/interix.c: Likewise.
4629 * config/i386/isc.h: Likewise.
4630 * config/i386/isccoff.h: Likewise.
4631 * config/i386/iscdbx.h: Likewise.
4632 * config/i386/linux.h: Likewise.
4633 * config/i386/lynx.h: Likewise.
4634 * config/i386/mingw32.h: Likewise.
4635 * config/i386/netbsd-elf.h: Likewise.
4636 * config/i386/next.h: Likewise.
4637 * config/i386/osf1elf.h: Likewise.
4638 * config/i386/osfrose.h: Likewise.
4639 * config/i386/sco5.h: Likewise.
4640 * config/i386/seq-gas.h: Likewise.
4641 * config/i386/seq-sysv3.h: Likewise.
4642 * config/i386/sequent.h: Likewise.
4643 * config/i386/sol2.h: Likewise.
4644 * config/i386/sun386.h: Likewise.
4645 * config/i386/uwin.asm: Likewise.
4646 * config/i386/uwin.h: Likewise.
4647 * config/i386/vxi386.h: Likewise.
4648 * config/i386/win32.h: Likewise.
4649 * config/i386/winnt.c: Likewise.
4650 * config/i386/xm-cygwin.h: Likewise.
4651 * config/i386/xm-mingw32.h: Likewise.
4653 2001-10-31 Kazu Hirata <kazu@hxi.com>
4655 * builtins.def: Fix comment typos.
4656 * config/alpha.c: Likewise.
4657 * config/arm/arm.c: Likewise.
4658 * config/avr/avr.h: Likewise.
4659 * config/d30v/d30v.c: Likewise.
4660 * config/d30v/d30v.h: Likewise.
4661 * config/d30v/d30v.md: Likewise.
4662 * config/dsp16xx/dsp16xx.c: Likewise.
4663 * config/fr30/fr30.c: Likewise.
4664 * config/fr30/fr30.md: Likewise.
4665 * config/i386/i386.c: Likewise.
4666 * config/i860/i860.c: Likewise.
4667 * config/i960/i960.c: Likewise.
4668 * config/ia64/ia64.c: Likewise.
4669 * config/mips/mips.c: Likewise.
4670 * config/pa/pa.c: Likewise.
4671 * config/rs6000/rs6000.c: Likewise.
4672 * config/s390/s390.c: Likewise.
4673 * config/sparc/sparc.c: Likewise.
4675 2001-10-30 Kazu Hirata <kazu@hxi.com>
4677 * config/mips/elf.h: Fix comment formatting.
4678 * config/mips/elf64.h: Likewise.
4679 * config/mips/iris5.h: Likewise.
4680 * config/mips/iris5gas.h: Likewise.
4681 * config/mips/iris6.h: Likewise.
4682 * config/mips/isa3264.h: Likewise.
4683 * config/mips/linux.h: Likewise.
4684 * config/mips/mips.c: Likewise.
4685 * config/mips/mips.h: Likewise.
4686 * config/mips/mips.md: Likewise.
4687 * config/mips/mips16.S: Likewise.
4688 * config/mips/netbsd.h: Likewise.
4689 * config/mips/osfrose.h: Likewise.
4690 * config/mips/r3900.h: Likewise.
4691 * config/mips/sni-svr4.h: Likewise.
4692 * config/mips/svr4-t.h: Likewise.
4693 * config/mips/ultrix.h: Likewise.
4695 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
4697 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4698 when we update head->current.
4700 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
4702 * tree.c (id_string_size): Remove.
4703 (dump_tree_statistics): Update.
4704 * toplev.c (compile_file): If dumping stats, dump tree stats too.
4706 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
4708 * sched-rgn.c (schedule_insns): Fix comment.
4710 2001-10-30 Zack Weinberg <zack@codesourcery.com>
4712 * configure.in: Correct previous change: don't assume that
4713 gas's version number _isn't_ the last thing on the line, or
4714 isn't the only number on the line, either.
4715 * configure: Regenerate.
4717 2001-10-30 Kazu Hirata <kazu@hxi.com>
4719 * cfgcleanup.c: Fix a comment typo.
4721 2001-10-30 Kazu Hirata <kazu@hxi.com>
4723 * alias.c: Fix comment formatting.
4724 * recog.c: Likewise.
4725 * config/cris/cris.c: Likewise.
4726 * config/cris/cris.h: Likewise.
4727 * config/i960/i960.c: Likewise.
4728 * config/i960/i960.h: Likewise.
4730 2001-10-30 Kazu Hirata <kazu@hxi.com>
4732 * config/arm/arm.c: Fix a comment typo.
4733 * config/arm/arm.h: Likewise.
4734 * config/ia64/ia64.c: Likewise.
4736 2001-10-30 Jakub Jelinek <jakub@redhat.com>
4738 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
4739 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
4740 * rtl.h (set_unique_reg_note): Change return value.
4741 * gcse.c (try_replace_reg): Use set_unique_reg_note.
4742 * cse.c (cse_insn): Likewise.
4743 * expr.c (emit_move_insn): Likewise.
4744 * explow.c (force_reg): Likewise.
4745 * local-alloc (update_equiv_regs): Likewise.
4746 * loop.c (move_moveables, load_mems): Likewise.
4747 * reload (find_reloads): Likewise.
4749 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
4752 * c-decl.c (parmlist_tags_warning, start_struct,
4753 check_for_loop_decls): Separate messages for struct, union and
4754 enum cases to allow for languages in which they have different
4756 * c-format.c (scanf_flag_specs): Separate short and long name of
4757 the assignment suppression feature.
4758 (check_format_types): Localize "pointer" and "different types"
4760 * c-lex.c (lex_number): Localize "an unsigned long int" and
4762 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
4764 * c-typeck.c (build_unary_up): Separate messages for increment and
4765 decrement cases to allow for languages in which they use different
4766 articles. Localize the strings "increment" and "decrement" in one
4769 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
4771 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
4772 when no changes has been made.
4774 * gcse.c (reg_set_bitmap): Turn into reg_set.
4775 (modify_mem_list_set, canon_modify_mem_list_set)
4776 (clear_modify_mem_tables, free_modify_mem_tables): New.
4777 (gcse_main); Use free_modify_mem_tables.
4778 (free_gcse_mem): Likewise; free the bitmaps.
4779 (alloc_gcse_main): Initialize the bitmaps.
4780 (canon_list_insert): Set canon_modify_mem_list_set.
4781 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
4782 (compute_hash_table): Use clear_modify_mem_tables.
4783 (reset_opr_set_tables): Likewise.
4784 (oprs_not_set_p): reg_set_bitmap is regset.
4785 (mark_set, mark_clobber): Likewise.
4787 * df.h (DF_EQUIV_NOTES): New constant.
4788 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
4791 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
4792 (init_regions, schedule_insns): Conditionalize the checking
4793 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
4795 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
4797 * i386.md (movti_rex64 splitter): Fix condition.
4799 2001-10-29 Zack Weinberg <zack@codesourcery.com>
4801 * configure.in: Do not assume that gas's version number is the
4802 last thing on the first line of as --version output.
4803 * configure: Regenerate.
4805 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
4806 MT_WARNING, MT_ERROR, MT_FATAL.
4807 (main): Call gcc_init_libintl.
4808 (v_message): Call gettext on msgid and "warning: "
4809 * tradcif.y: Include intl.h.
4810 (yyerror): Make parameter definition consistent with
4811 prototype. Call gettext on msgid argument.
4813 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4815 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
4818 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
4820 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4822 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
4823 before referencing it.
4825 2001-10-26 DJ Delorie <dj@redhat.com>
4827 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
4828 override -G, and force -G0.
4830 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4832 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
4833 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
4834 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
4835 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
4837 * loop.h (struct induction): Rename ext_dependant to
4839 * loop.c: Change all uses.
4840 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
4841 All callers changed.
4842 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
4844 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4846 * c-parse.in (expr_no_commas, primary), c-typeck.c
4847 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
4849 2001-10-29 David Edelsohn <edelsohn@gnu.org>
4851 Undo assemble_name change in earlier patch.
4853 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
4855 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
4856 determining the type of the receiver, do not check that TREE_CODE
4857 of receiver is CALL_EXPR before calling receiver_is_class_object().
4858 (receiver_is_class_object): For the GNU runtime: recognize
4859 the case that the receiver is self in a class method context.
4860 Check that TREE_CODE of receiver is CALL_EXPR when checking that
4861 the receiver is a call to objc_get_class.
4863 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
4865 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
4867 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4869 * Makefile.in (OBJS): Put all files in alphabetical order.
4871 * dwarf2out.c (add_const_value_attribute): Fix error in last
4874 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
4876 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
4877 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
4879 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
4880 (life_analysis): call purge_all_dead_edges after deleting noops.
4881 (delete_noop_move): Do not purge CFG.
4882 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
4884 2001-10-28 David Edelsohn <edelsohn@gnu.org>
4886 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
4887 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
4888 (ASM_GLOBALIZE_LABEL): Use assemble_name.
4889 (ASM_OUTPUT_COMMON): Likewise.
4890 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
4891 (rs6000_output_function_epilogue): Likewise.
4892 (output_mi_thunk): Fix typo.
4893 (rs6000_output_symbol_ref): Use assemble_name.
4894 (output_toc): Likewise.
4895 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
4896 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
4897 assemble_name calls STRIP_NAME_ENCODING.
4898 (ASM_OUTPUT_LABEL): Use assemble_name.
4899 (ASM_GLOBALIZE_LABEL): Likewise.
4900 (ASM_DECLARE_FUNCTION_NAME): Likewise.
4901 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
4902 (ASM_OUTPUT_LOCAL): Likewise.
4904 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4906 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
4907 (expand_builtin_apply, expand_builtin_return): Likewise.
4908 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
4910 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4912 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
4913 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
4914 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
4915 configure, configure.in, except.c, except.h, flow.c, function.c,
4916 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
4917 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
4918 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
4919 unroll.c: Fix spelling errors.
4921 * doc/extend.texi, doc/invoke.texi: Fix spelling.
4923 * doc/gcc.texi: Document use of "dependent" and American spelling.
4925 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
4927 * expr.c (emit_group_load): Support CONCATs by storing them to memory
4930 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4932 * expr.c (store_constructor_field): Only call adjust_address on MEM.
4934 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
4936 * genrecog.c (write_switch): Output if before switch for
4937 DT_elt_zero_wide_safe.
4939 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4941 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
4942 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
4943 (FUNCTION_PROFILER): Const-ify.
4944 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
4945 (eliminate_constant_term, assemble_name, output_addr_const):
4946 Remove declarations.
4947 (ptr_half_pic_address_p, half_pic_hash): Prototype.
4948 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
4949 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
4950 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
4951 (half_pic_declare, half_pic_external): Const-ify.
4952 * toplev.c: Include "halfpic.h".
4954 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4956 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
4957 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
4958 config/i386/i386.c, config/i386/i386-interix.h,
4959 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
4960 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
4961 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
4962 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
4963 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
4964 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
4965 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
4968 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
4969 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
4970 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
4971 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
4972 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
4973 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
4974 system.h, toplev.c: Fix spelling errors.
4976 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4978 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
4980 * dwarf2out.c (reg_number): Abort if pseudo.
4981 (reg_loc_descriptor): Return 0 if pseudo.
4982 (is_based_loc): Return 0 if pseudo.
4983 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
4985 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
4986 (loc_descriptor): Return 0 if can't find location and handle 0
4987 return from recursive calls.
4988 (loc_descriptor_from_tree): Likewise.
4989 Fix handling of indirect.
4990 Also return 0 for PLACEHOLDER_EXPR.
4991 Clean up COMPONENT_REF cases.
4992 (add_AT_location_descriptor): Simplify, but handle 0 return from
4994 (add_const_value_attribute): Avoid shift count warning.
4995 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
4996 Set comp_unit_die as context if not in function.
4998 * config/mips/mips-protos.h: Break up long lines.
4999 Remove needless #ifdef/#endif blocks.
5000 Don't declare functions declared in file made by genpreds or recog.h.
5001 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5002 is now HOST_WIDE_INT; delete unneeded casts.
5003 * config/mips/mips.h: Don't use #elif.
5005 * expr.c (stor_constructor_field): Always call adjust_address.
5006 Copy TARGET before changing its alias set.
5007 (store_field): Likewise, for TO_RTX.
5008 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5010 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5011 (find_placeholder): Return 0 if can't find object.
5012 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5015 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5017 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5019 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5021 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5022 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5023 (merge_blocks): Properly udpate life after making edge nonfallthru.
5024 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5026 2001-10-26 Kazu Hirata <kazu@hxi.com>
5028 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5030 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5032 * c-typeck.c (convert_arguments): When comparing for enumeral
5033 type equality, use TYPE_MAIN_VARIANT.
5034 * gcc.dg/Wconversion.c: New tests.
5036 2001-10-26 Kazu Hirata <kazu@hxi.com>
5038 * s390/s390.c: Fix comment typos.
5039 * s390/s390.h: Likewise.
5040 * s390/s390.md: Likewise.
5042 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5044 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5045 (walk_tree): Use it for tail calls where appropriate.
5047 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5049 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5050 non-local label_refs.
5052 2001-10-26 Kazu Hirata <kazu@hxi.com>
5054 * config/h8300/h8300.md (4 anonymous patterns): New.
5056 2001-10-26 Kazu Hirata <kazu@hxi.com>
5058 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5059 algorithm through the shift_info structure.
5060 (emit_a_shift): Update the use of get_shift_alg.
5062 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
5064 * sched-rgn.c: Remove bitset typedef.
5065 Change bitset to sbitmap in prototypes / variable types.
5067 Remove edgeset_bits.
5068 Remove edgeset_size.
5069 s/BITSET_ADD/SET_BIT/g
5070 s/BITSET_INVERT/sbitmap_ones/g
5071 s/BITSET_INTER/sbitmap_a_and_b/g
5072 s/BITSET_UNION/sbitmap_a_or_b/g
5073 s/BITSET_DIFFER/sbitmap_difference/g
5074 s/bitset_member/TEST_BIT/g
5075 (BITSET_*): Removed.
5076 (bitset_member): Removed.
5077 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5078 EXECUTE_IF_SET_IN_SBITMAP.
5079 (split_edges): Rewrite, use sbitmap functions instead of bitset
5081 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5083 2001-10-26 Andreas Schwab <schwab@suse.de>
5085 * reload1.c (emit_input_reload_insns): Fix parens in last
5086 (undocumented) change that was supposed to change only whitespace.
5088 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5090 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5092 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5095 2001-10-26 Andreas Jaeger <aj@suse.de>
5097 * flow.c (clear_log_links): Remove unused variable.
5098 * cfgcleanup.c (cleanup_cfg): Likewise.
5100 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5102 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5103 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5105 2001-10-26 Richard Henderson <rth@redhat.com>
5107 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5108 rename PV_REG to R27_REG.
5109 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5110 (REG_CLASS_FROM_LETTER): Update.
5111 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5112 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5113 (udivsi3, modsi3, umodsi3): Likewise.
5114 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5116 2001-10-26 Richard Henderson <rth@redhat.com>
5118 * cfg.c (clear_aux_for_blocks): Split out of ...
5119 (free_aux_for_blocks): here.
5120 (clear_aux_for_edges): Split from ...
5121 (free_aux_for_edges): here.
5122 * basic-block.h: Declare them.
5123 * lcm.c (compute_antinout_edge): Use them.
5124 (compute_laterin, compute_available, compute_nearerout): Likewise.
5125 (optimize_mode_switching): Likewise.
5127 2001-10-26 Richard Henderson <rth@redhat.com>
5129 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5130 moving everything back to the main build directory.
5132 2001-10-26 Christopher Faylor <cgf@redhat.com>
5134 * config/i386/cygwin.h: Search target specific include directory, if
5137 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5139 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5140 of macro guards. Fix #endif comment.
5142 * output.h (default_exception_section, default_eh_frame_section):
5143 Move prototypes outside of macro guard.
5145 * crtstuff.c: Fix #endif comment.
5147 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5149 * doc/md.texi (movMM): Clarify semantics of storing into a
5150 non-paradoxical SUBREG.
5152 2001-10-25 Zack Weinberg <zack@codesourcery.com>
5154 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5155 (lang_hook_default_get_alias_set): Move next to other alias
5157 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5158 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5159 (LANG_HOOKS_INITIALIZER): Add it.
5160 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5161 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5162 instead of a loop calling poplevel.
5164 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5166 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5167 occurrences of #elif with #if...#endif.
5169 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5171 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5173 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5175 * alias.c (can_address_p): No longer static.
5176 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5177 Return 0 if all parameters are default values.
5178 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5179 (adjust_address_1): Try harder to compute a size.
5180 * expr.c (expand_assignment, store_constructor): If can't address,
5181 set MEM_KEEP_ALIAS_SET_P.
5182 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5183 (store_field): Likewise.
5184 (store_constructor): Simplify call to store_constructor_field.
5185 * expr.h (can_address_p): New declaration.
5186 * gensupport.c (gen_rtx_CONST_INT): New function.
5187 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5188 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5189 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5191 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5193 2001-10-24 Christopher Faylor <cgf@redhat.com>
5195 * config/i386/cygwin.h: Use proper path for mingw crt files when
5198 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5200 * dwarf2out.c (file_info_cmp): Always return consistent results.
5202 2001-10-24 Roger Sayle <roger@eyesopen.com>
5204 * stmt.c (expand_end_case): Index jumptables from zero for
5205 suitably small values of minval.
5207 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5209 * stor-layout.c (place_union_field): If any field was aligned with
5210 attribute aligned, set record type's TYPE_USER_ALIGN.
5211 (place_field): Likewise.
5212 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5213 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5215 2001-10-24 Zack Weinberg <zack@codesourcery.com>
5217 * c-common.h (struct c_common_identifier): Remove rid_code field.
5218 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5220 * c-typeck.c (constructor_designated): New local flag.
5221 (struct constructor_stack): Add "designated" field to match.
5222 (start_init): Clear it.
5223 (really_start_incremental_init, push_init_level): Push and
5225 (pop_init_level): Pop it.
5226 (set_designator): Set it.
5228 (pop_init_level): Suppress "missing initializer" warnings if
5229 constructor_designated is true.
5230 (process_init_element): Suppress warning about union
5231 initialization under traditional C, if constructor_designated
5234 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5236 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5239 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
5241 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5243 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5245 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5246 the node was already a set to a constant.
5248 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5250 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5251 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5253 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5255 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5256 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
5257 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5258 * s390.c (s390_final_chunkify): Don't use string concatenation.
5259 (s390_function_prologue, s390_function_epilogue): Const-ify.
5260 * s390.h (FUNCTION_PROFILER): Remove unused variable.
5262 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5264 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5267 2001-10-23 Stan Shebs <shebs@apple.com>
5269 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5270 -traditional-cpp in first-stage compilation.
5272 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5274 * gensupport.c (target_flags): Add.
5276 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5278 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5280 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5281 * except.c (expand_builtin_frob_return_addr): Likewise.
5282 (expand_builtin_eh_return): Likewise.
5283 * stmt.c (expand_computed_goto): Likewise.
5284 * explow.c (memory_address): Likewise.
5285 (allocate_dynamic_stack_space): Clean up predicate testing.
5286 (probe_stack_range): Convert SIZE to Pmode.
5287 * calls.c (rtx_for_function_call): Only call convert_memory_address
5289 Pass function call operand as ptr_mode, not Pmode.
5290 * expr.c (expand_assignment): Clean up calls to convert_memory
5291 address by only doing so when needed and making offsets Pmode.
5292 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5293 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5294 is in Pmode, not ptr_mode.
5296 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5298 * darwin-protos.h (constructor_section, destructor_section,
5299 mod_init_section, mod_term_section): Prototype.
5300 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5302 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5304 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
5305 objc_section_init declaration.
5306 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5307 (objc_section_init, try_section_alias): Make static.
5308 (alias_section): Make static and hide unused function.
5309 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5311 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5313 * alias.c (can_address_p): Compnonents are not addressable if
5314 the containing type has alias set 0.
5315 (get_alias_set): Rework to use STRIP_NOPS.
5316 Only call front-end routine on object, type, or object with
5317 NOPs stripped, not inner values.
5318 Use language hook to call front-end routine.
5319 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5320 (expand_builtin_apply): Call set_mem_align on MEMs we make.
5321 Don't pass alignment to emit_block_move.
5322 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5323 (expand_builtin_memset): Likewise, but for clear_storage.
5324 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5325 and remove C++ specific parts.
5326 * c-common.h (c_common_get_alias_set): Add declaration.
5327 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5328 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5329 (save_fixed_argument_area): Call set_mem_align.
5330 Remove alignment in call to emit_block_move.
5331 (emit_library_call_value_1, store_one_arg): Likewise.
5332 (target_for_arg): Remove; disabled long ago.
5333 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5334 once and similar cleanups.
5335 (offset_address): Use proper introductory comment.
5336 * expr.c (emit_block_move): Use alignment from that of MEM args, not
5337 from explicit operand; all callers changed.
5338 (clear_storage): Likewise.
5339 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5340 (store_field): Remove kludge on alias set used for to_rtx.
5341 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5342 (expand_expr_unaligned): Call set_mem_attributes instead of
5344 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5345 * function.c (assign_stack_temp_for_type): Set MEM alignment.
5346 (expand_function_end): Track MEM attributes of trampolines.
5347 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5348 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5349 attributes from original.
5350 * langhooks.c (lang_hook_default_get_alias_set): New function.
5351 (hook_get_alias_set_0): New function.
5352 * langhooks.h (hook_get_alias_set_0): New declaration.
5353 (lang_hook_default_get_alias_set): Likewise.
5354 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5355 * reload1.c (alter_reg): Use adjust_address_nv.
5356 * rtl.c (get_mode_alignment): Moved to here.
5357 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5358 change default if unknown from 1 to BITS_PER_UNIT.
5359 * stor-layout.c (get_mode_alignment): Remove from here.
5360 * toplev.h (struct lang_hoks): Add get_alias_set field.
5361 * tree.h (lang_get_alias_set): Delete declaration.
5362 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5363 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5364 (ix86_va_arg): Likewise.
5365 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5366 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5367 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5368 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5369 (expand_block_move_mem): Remove dead code.
5371 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
5373 * c-common.c (warn_div_by_zero): New.
5374 * c-common.h (warn_div_by_zero): New.
5375 * c-decl.c (c_decode_option): Take it on the command line.
5376 * c-typeck.c (build_binary_op): Warn about division by zero.
5377 * doc/invoke.texi: Document the new command line option, fix
5378 documentation of -Wmultichar.
5379 * testsuite/gcc.dg/divbyzero.c: New tests.
5380 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5382 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5384 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5386 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5387 to avoid update_life_info call.
5388 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5389 * cfgcleanup.c (bb_flags): New enum.
5390 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5391 (notice_new_block, update_forwarder_flag): New functions.
5392 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5393 (try_forward_edges): Likewise; update flags.
5394 (merge_blocks): Likewise.
5395 (outgoing_edges_match): Likewise.
5396 (try_crossjump_to_edge): Likewise.
5397 (try_optimize_cfg): Likewise; initialize and clear the flags;
5398 recompute life info if needed.
5399 (cleanup_cfg): No need to clear aux pointers.
5401 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
5403 * config/i386/i386.c (override_options): Default to minimum
5404 stack alignment when optimizing for code size.
5405 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5408 * config/i386/i386.c (override_options): Set upper limit of
5409 -mpreferred-stack-boundary to 12.
5411 2001-10-22 Zack Weinberg <zack@codesourcery.com>
5413 * recog.c (peephole2_optimize): Add default case to switch.
5415 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
5417 * doc/gcc.texi (Sending Patches): Remove.
5419 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
5421 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5422 fields when comparing.
5424 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5426 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
5427 * arm.c (HOST_INT, HOST_UINT): Likewise.
5429 2001-10-22 Stan Shebs <shebs@apple.com>
5431 * config/darwin-protos.h (darwin_exception_section): Declare.
5432 (darwin_eh_frame_section): Declare.
5434 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5436 * i386.md (movti_rex64): Fix mode.
5438 2001-10-22 Stan Shebs <shebs@apple.com>
5440 * target.h (struct gcc_target): Add asm_out.exception_section,
5441 asm_out.eh_frame_section.
5442 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5443 (TARGET_ASM_EH_FRAME_SECTION): New.
5444 (TARGET_INITIALIZER): Update.
5445 * output.h (default_exception_section): Declare.
5446 (default_eh_frame_section): Declare.
5447 * dwarf2out.c: Include target.h.
5448 (output_call_frame_info): Call target hook for eh frames.
5449 (default_eh_frame_section): New function.
5450 * except.c: Include target.h.
5451 (output_function_exception_table): Call target hook for exception
5453 * varasm.c (default_exception_section): Rename from
5454 exception_section, remove EXCEPTION_SECTION macro.
5456 * config/darwin.h (darwin_eh_frame_section): New function.
5457 (EXCEPTION_SECTION): Remove.
5458 (TARGET_ASM_EXCEPTION_SECTION): Define.
5459 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5460 (nextstep_exception_section): New function.
5461 (nextstep_eh_frame_section): New function.
5462 (TARGET_ASM_EXCEPTION_SECTION): Define.
5463 (TARGET_ASM_EH_FRAME_SECTION): Define.
5465 * config/pa/som.h (EXCEPTION_SECTION): Remove.
5466 (TARGET_ASM_EXCEPTION_SECTION): Define.
5467 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5468 (EXCEPTION_SECTION): Remove.
5469 (TARGET_ASM_EXCEPTION_SECTION): Define.
5470 * config/stormy16/stormy16.h: Remove comments referencing
5471 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5473 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5474 TARGET_ASM_EH_FRAME_SECTION.
5476 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
5478 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5481 * c-format.c: Fix spelling typo in comment.
5483 * sched-int.h: Fix typo in GCC preamble.
5485 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5488 * doc/invoke.texi: Remove references to -fdump-translation-unit.
5490 2001-10-22 Richard Henderson <rth@redhat.com>
5492 * config/i386/i386.c (ix86_expand_clear): New.
5493 * config/i386/i386-protos.h: Declare it.
5494 * config/i386/i386.md (setcc peep2s): Use it.
5495 (movsi_xor): Unexport.
5497 2001-10-22 Richard Henderson <rth@redhat.com>
5499 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5500 free_EXPR_LIST_list for LOG_LINKS.
5502 2001-10-21 Robert Lipe <robertlipe@usa.net>
5504 * config/i386/i386.c (sco_asm_named_section): Delete.
5505 (sco_asm_out_constructor): Delete.
5506 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5507 (ASM_OUTPUT_DOUBLE_INT): Likewise.
5508 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
5509 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5510 (EXCEPTION_SECTION): Delete EH scn renaming hack.
5512 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5514 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5515 and/or fold extra calls into fewer ones.
5516 * collect2.c (dump_file): Likewise.
5517 * cppexp.c (parse_number): Likewise.
5518 * cpplex.c (_cpp_lex_direct): Likewise.
5519 * final.c (output_asm_insn, asm_fprintf): Likewise.
5520 * fix-header.c (inf_scan_ident, main): Likewise.
5521 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5523 * fold-const.c (real_hex_to_f): Likewise.
5524 * gen-protos.c (parse_fn_proto): Likewise.
5525 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5526 * genrecog.c (change_state, write_action): Likewise.
5527 * gensupport.c (shift_output_template): Likewise.
5528 * local-alloc.c (requires_inout): Likewise.
5529 * mips-tfile.c (IS_ASM_IDENT): Likewise.
5530 * protoize.c (is_id_char, main): Likewise.
5531 * real.c (asctoeg): Likewise.
5532 * recog.c (asm_operand_ok): Likewise.
5533 * reload.c (find_reloads): Likewise.
5534 * scan.c (scan_identget_token): Likewise.
5535 * sched-vis.c (print_value): Likewise.
5536 * stringpool.c (ggc_alloc_string): Likewise.
5537 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5538 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5539 * tradcpp.c (rescan): Likewise.
5540 * tree.c (clean_symbol_name): Likewise.
5541 * varasm.c (decode_reg_name): Likewise.
5543 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5544 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5545 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5546 * m88k.c (output_ascii): Likewise.
5547 * m88k.h (OVERRIDE_OPTIONS): Likewise.
5548 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5549 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5550 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5552 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5554 * langhooks.c (lang_hook_default_do_nothing,
5555 lang_hook_default_decode_option): New defaults.
5556 * langhooks.h: Make hooks unconditional and non-NULL.
5557 * toplev.c (compile_file, toplev_main): Update.
5558 * toplev.h: Update comments.
5559 * objc/objc-act.c (lang_hooks): Update to new paradigm.
5561 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5563 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5565 * system.h (IN_RANGE): New macro.
5567 2001-10-21 Zack Weinberg <zack@codesourcery.com>
5569 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5570 INTLDEPS variable, which does not include $LIBICONV.
5571 * Makefile.in: Use INTLDEPS in LIBDEPS.
5572 * configure: Regenerate.
5574 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5576 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5577 * cpplex.c (lex_percent, lex_dot): Remove.
5578 (get_effective_char, skip_block_comment, skip_line_comment,
5579 parse_identifier_slow, parse_number, parse_string, save_comment,
5580 _cpp_lex_direct): Update to do lookback freely.
5581 (IF_NEXT_IS, BACKUP): New macros.
5582 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5583 * cppmacro.c (paste_tokens): Update.
5585 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
5587 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5589 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
5591 * reload1.c (reload): Check CONSTANT_P before calling
5592 LEGITIMATE_PIC_OPERAND_P.
5593 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5594 workaround of 2001-10-13.
5596 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5598 * i386.c (split_di): Handle splitting of DFmode.
5600 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5602 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5603 (adjust_address_1, offset_address): Likewise.
5605 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5606 (output_asm_insn): Call it for each line output.
5607 Don't record an operand more than once.
5609 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5610 * main.c: Include config.h and system.h, but not ansidecl.h.
5611 * Makefile.in (main.o): Update accordingly.
5613 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5615 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5617 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
5619 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5620 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5622 (find_sub_basic_blocks): ... here;
5623 (find_many_sub_basic_blocks): New.
5624 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5626 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5628 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5630 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5632 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5633 * flow.c (update_life_info): Measure time.
5634 * c-decl.c: Include timevar.h
5635 (c_expand_body): Measure time.
5636 * toplev.c (rest_of_compilation): Measure time of mode switching
5638 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5640 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5641 (lang_independent_options): Add asynchronous-unwind-tables
5642 (toplev_main): flag_asynchronous_unwind_tables implies
5644 * flags.h (flag_asynchronous_unwind_tables): Declare.
5645 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5646 flag_asynchronous_unwind_tables.
5647 (output_call_frame_info): Likewise.
5648 * invoke.texi (-fasynchronous-unwind-tables): Document.
5649 * i386.c (optimization_options): Enable
5650 flag_asynchronous_unwind_tables.
5652 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
5653 * i386.md (s* expanders): Destination is QImode.
5655 * toplev.c (rest_of_compilation): Do not call clear_log_links.
5656 * rtl.h (clear_log_links): Kill.
5657 * flow.c (clear_log_links): Make static; accept blocks parameter;
5658 do no clear life info.
5659 (update_life_info): Call clear_log_links.
5661 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5663 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
5665 * cpplex.c (handle_newline, skip_escaped_newlines,
5666 get_effective_char, skip_block_comment, skip_line_comment,
5667 parse_identifier_slow, parse_number, parse_string,
5668 _cpp_lex_direct): Update to do more stepping back.
5669 (trigraph_ok): Similarly. Rename trigraph_p.
5670 (SAVE_STATE, RESTORE_STATE): Remove.
5671 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
5673 * cpplib.c (destringize): Rename destringize_and_run, and
5674 call run_directive directly.
5675 (_cpp_do__Pragma): Simplify.
5677 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5679 * pe.c (arm_pe_unique_section): Const-ify.
5680 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5681 (switch_to_section): Add static prototype.
5683 * output.h (drectve_section): Prototype.
5685 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5687 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5688 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5689 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5690 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5691 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5692 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5693 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5694 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5695 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5696 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5697 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5698 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5699 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5700 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
5701 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
5702 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
5703 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
5704 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
5705 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
5706 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
5707 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
5708 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
5709 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
5710 cris-*-none, cris-*-linux*: Update ${tmfile} list.
5711 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
5712 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
5713 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
5714 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
5715 v850-*-*): Delete superflous ${cpu_type} setting.
5716 * config/linux.h: Delete svr4.h include.
5717 (SET_ASM_OP): Delete.
5718 * config/netware.h (INT_ASM_OP): Undef before define.
5719 * config/ptx4.h: Delete elfos.h include.
5720 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
5721 * config/svr4.h: Delete elfos.h include. Update commentary.
5722 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
5723 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
5724 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
5725 config/v850/v850.h: Delete svr4.h include.
5726 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
5727 config/m68k/m68kv4.h, config/m88k/sysv4.h,
5728 config/sparc/sysv4.h: Update includes.
5729 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
5730 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
5731 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
5732 config/m88k/dguxbcs.h: Delete includes.
5733 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
5734 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
5735 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
5737 * config/m88k/dgux.h: Delete include.
5738 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
5740 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
5741 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
5742 * config/sh/elf.h: Update include.
5743 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
5744 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
5746 2001-10-19 Catherine Moore <clm@redhat.com>
5748 * config/stormy16/stormy-abi: Updates to varargs descriptions.
5749 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
5750 base and count fields.
5751 (stormy16_expand_builtin_va_start): last_reg_count changed to
5752 size_of_reg_args. Use count + size in first comparison.
5754 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5756 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
5757 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
5758 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
5759 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
5760 Set alignment from type if INDIRECT_REF.
5761 (adjust_address_1, offset_address): Simplify alignment compuitation.
5762 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
5763 here; done by set_mem_attributes.
5765 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5767 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
5768 * arm-protos.h (rdata_section, zero_init_section, common_section):
5770 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
5771 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
5772 traditional mode stringification.
5773 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
5774 in macros controling its use.
5775 * rtlanal.c: Include tm_p.h.
5776 * varasm.c (asm_output_aligned_bss): Mark parameter with
5778 (assemble_constant_align, assemble_start_function, assemble_align,
5779 assemble_variable, assemble_trampoline_template,
5780 output_constant_def_contents): Wrap potentially empty if-stmt body
5783 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5785 * a29k-protos.h (literal_section): Prototype.
5786 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
5787 * a29k.md: Ensure function pointers are prototyped.
5788 * genattrtab.c (write_eligible_delay): Mark parameter with
5791 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5793 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5794 * 1750a.c (print_operand): Fix format specifier warning.
5795 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
5796 * 1750a.md: Likewise.
5797 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
5798 * genemit.c (output_add_clobbers): Mark parameter with
5800 * genrecog.c (write_subroutine): Likewise.
5801 * integrate.c (expand_inline_function): Delete unused variable.
5802 * varasm.c (remove_from_pending_weak_list): Wrap with
5805 2001-10-19 Jakub Jelinek <jakub@redhat.com>
5807 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
5808 field is different to previous argument's neg field.
5810 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
5812 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5814 * final.c (get_decl_from_op): New function.
5815 (output_asm_insn): Call it; write "*" when item with decl is address.
5817 2001-10-19 Janis Johnson <janis187@us.ibm.com>
5819 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
5820 about 64-bit support from the 3.0_branch version.
5822 2001-10-19 Zack Weinberg <zack@codesourcery.com>
5824 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
5825 USE_INCLUDED_LIBINTL when appropriate.
5826 * configure, config.in: Regenerate.
5827 * Makefile.in (datadir): Set to @datadir@.
5828 (intl.o): Also depend on $(CONFIG_H) and system.h.
5830 * intl.c: Factor out common gettext initialization sequence.
5831 (gcc_init_libintl): New function.
5832 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
5833 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
5834 off NLS. Add multiple include guard. No need to #ifdef-guard
5835 an #undef. Prototype gcc_init_libintl here.
5837 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
5838 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
5839 Use gcc_init_libintl.
5841 2001-10-19 Catherine Moore <clm@redhat.com>
5843 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
5845 * config/stormy16/stormy16.c (stormy16_split_move): Make
5846 sure that REG_INC notes are present for auto_inc operands.
5848 2001-10-19 Andreas Jaeger <aj@suse.de>
5850 * configure: Regenerated.
5851 * configure.in: Add x86_64 to switch statements.
5853 2001-10-18 Richard Henderson <rth@redhat.com>
5855 * config/alpha/alpha.md (sibcall_osf_1): Load destination
5856 address into $27 explicitly.
5857 (sibcall_value_osf_1): Likewise.
5859 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5861 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
5862 (offset_address): New function.
5863 (free_emit_status): Free regno_decl.
5864 (init_emit): Pass proper number of elements to xcalloc.
5865 Allocate regno_decl.
5866 (mark_emit_status): Mark regno_decl values.
5867 * expr.c (highest_pow2_factor): New function.
5868 (expand_assigment): Use it and offset_address.
5869 Properly handle ptr_mode vs. Pmode in offset calculation.
5870 (store_constructor, expand_expr_unaligned): Likewise.
5871 (expand_expr, case COMPONENT_EXPR): Likewise.
5872 * expr.h (offset_address): New decl.
5873 * function.h (struct emit_status): Add regno_decl.
5874 (REGNO_DECL): New macro.
5875 * final.c (output_asm_name): Move in file and don't conditionalize
5876 on flag_print_asm_name.
5877 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
5878 Output names of operands, if known.
5879 * function.c (assign_parms): Set REGNO_DECL.
5880 * integrate.c (integrate_decl_tree): Likewise.
5881 * stmt.c (expand_decl): Likewise.
5882 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
5884 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
5886 * attribs.c (handle_noinline_attribute): New function.
5887 (handle_used_attribute): Likewise.
5888 (c_common_attribute_table): Added noinline and used.
5889 * doc/extend.texi (Function Attributes): Document them.
5890 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
5891 Warn when merging inline with attribute noinline.
5892 (start_decl, start_function): Warn if inline and attribute
5893 noinline appear in the same declaration.
5895 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
5897 * config.gcc: Update c4x and i370 for C front end-specific
5899 * config/c4x/c4x-c.c: New.
5900 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
5901 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
5903 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
5904 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
5906 (c4x_init_pragma): Remove.
5907 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
5908 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
5909 c4x_pr_ignored): Move to c4x-c.c.
5910 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
5911 * config/c4x/t-c4x: Update.
5912 * config/i370/i370-c.c: New.
5913 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
5914 (i370_pr_map): Move to i370-c.c.
5915 * config/i370/t-i370: New.
5917 * doc/tm.texi: Update.
5919 2001-10-17 Stan Shebs <shebs@apple.com>
5921 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
5922 typo fixes throughout.
5923 (machopic_output_stub): Remove some dead code.
5925 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
5927 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
5930 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5932 * Makefile.in (print-rtl.o): Depend on TREE_H.
5933 * alias.c (get_alias_set): Make two passes over objects to first
5934 see if inner object is access via restricted pointer.
5935 Defer allocating alias set for restricted pointer until here.
5936 Call find_placeholder with second arg nonzero.
5938 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
5939 set for restricted pointer types.
5940 * emit-rtl.c (set_mem_attributes): Set more attributes.
5941 (set_mem_align, change_address, adjust_address_1): New functions.
5942 (change_address_1): Now static.
5943 (adjust_address, adjust_address_nv): Deleted.
5944 (replace_equiv_address): Call change_address_1.
5945 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
5946 (find_placeholder): Get starting point from PLIST arg.
5947 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
5948 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
5949 (adjust_address, adjust_address_nv): New macros.
5950 * print-rtl.c (tree.h): New include.
5951 (print_rtx, case MEM): Print all memory attributes.
5953 2001-10-17 Richard Henderson <rth@redhat.com>
5955 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
5957 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5959 * c-tree.texi: Eliminate duplicated word.
5960 * cpp.texi: Likewise.
5961 * install.texi: Likewise.
5962 * invoke.texi: Likewise.
5963 * tm.texi: Likewise.
5965 2001-10-17 Michael Collison <collison@isisinc.net>
5967 * dsp16xx.c: Fix comment formatting to match GNU standards.
5968 (dsp16xx_output_function_prologue): Change type of 'size'
5969 parameter from 'int' to HOST_WIDE_INT.
5970 (dsp16xx_output_function_epilogue): Change type of 'size'
5971 parameter from 'int' to HOST_WIDE_INT.
5973 2001-10-16 Richard Henderson <rth@redhat.com>
5975 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
5976 * configure, config.in: Rebuild.
5978 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
5979 (ix86_output_addr_diff_elt): New.
5980 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
5981 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
5982 (JUMP_TABLES_IN_TEXT_SECTION): New.
5983 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
5984 * config/i386/i386-protos.h: Update.
5986 * config/i386/386bsd.h, config/i386/beos-elf.h,
5987 config/i386/freebsd-aout.h, config/i386/freebsd.h,
5988 config/i386/i386-interix.h, config/i386/i386elf.h,
5989 config/i386/linux.h, config/i386/netbsd-elf.h,
5990 config/i386/netbsd.h, config/i386/openbsd.h,
5991 config/i386/ptx4-i.h, config/i386/rtemself.h,
5992 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
5993 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
5995 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
5997 * stmt.c (expand_asm_operands): Update commentary.
5999 2001-10-16 Stan Shebs <shebs@apple.com>
6001 * config/darwin.h (GCC_NAME): Remove, no longer used.
6002 (NO_MATH_LIBRARY): Ditto.
6003 (MATH_LIBRARY): Define to emptiness.
6004 (DWARF2_DEBUGGING_INFO): Define.
6005 (PREFERRED_DEBUGGING_TYPE): Define.
6006 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6007 (EXCEPTION_SECTION): Define.
6008 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6009 * config/darwin.c (darwin_encode_section_info): Handle case of
6010 DECL_INITIAL being error_mark_node.
6012 2001-10-16 Richard Henderson <rth@redhat.com>
6014 * alpha.c (current_file_function_operand): Don't fail for profiling.
6015 (direct_call_operand): New.
6016 * alpha-protos.h: Declare it.
6017 * alpha.h (EXTRA_CONSTRAINT): Use it.
6018 (PREDICATE_CODES): Add it.
6019 (ASM_OUTPUT_MI_THUNK): Remove.
6020 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6021 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6023 2001-10-16 Krister Walfridsson <cato@df.lth.se>
6025 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6026 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6028 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6030 * cfg.c (free_edge): Break out from ....
6031 (remove_edge): ... here.
6032 (clear_edges): Use free_edge.
6034 * att.h (ASM_QUAD): Add comment.
6035 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6037 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6039 * i386.c (split_ti): New function.
6040 (ix86_split_to_parts): Support TImodes.
6041 * i386.h (VALID_INT_MODE_P): Add TImode.
6042 * i386.md (movdi splitter): Fix.
6043 (movti): Support 64bit integer registers.
6044 (movti_rex64): New function and splitter.
6046 * i386.c (*_cost): Add movsx/movzx cost.
6047 * i386.h (struct processor_costs): Add movsx/movzx fields.
6048 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6049 64bit operations require split on 64bit machine.
6050 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6052 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6053 (ix86_expand_move): Avoid pushes of memory if size does not match;
6054 move long constants to register.
6055 (x86_initialize_trampoline): Fix mode.
6056 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6057 Use ASM_QUAD on 64bit.
6058 * i386.md (test pattern): Disallow impossible constants.
6059 (tablejump PIC expander): Fix emitting of sum.
6060 (movdicc_rex64): Rename to movdicc.
6061 * linux64.h (LINK_SPEC): Add missing '%'.
6063 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
6065 * tree-inline.c (inlinable_function_p): Leave it up to the
6066 front-end to turn -finline-functions into DECL_INLINE set for all
6069 2001-10-16 Stan Shebs <shebs@apple.com>
6071 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6073 2001-10-16 Alan Modra <amodra@bigpond.net.au>
6075 * recog.c: Formatting and comment typo fixes.
6077 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6078 version in single tree build.
6079 * configure: Regenerate.
6081 2001-10-15 David Edelsohn <edelsohn@gnu.org>
6083 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6084 MODE arguments to gen_rtx and compare operand with const0_rtx.
6086 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6088 * system.h: Poison old unused target macros.
6089 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6090 * config/stormy16/stormy16.c: Update references to obsolete macros.
6091 * config/stormy16/stormy16.h: Similarly.
6092 * config/stormy16/stormy16.md: Similarly.
6093 * config/cris/cris.h: Similarly.
6095 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6097 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6098 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6099 cpp_register_pragma): Update accordingly.
6101 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6103 * c-pragma.h (cpp_register_pragma_space): Remove.
6104 * cpplib.h (cpp_register_pragma_space): Remove.
6105 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6106 (cpp_register_pragma_space): Remove.
6107 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6109 (do_pragma): Similarly.
6110 (_cpp_init_internal_pragmas): Don't register namespaces.
6112 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6113 Don't register namespaces.
6114 * cp/lex.c (init_cp_pragma): Similarly.
6115 * doc/tm.texi: Update.
6117 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6120 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6122 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6124 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6125 add scheduling support.
6126 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6127 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6128 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6131 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
6133 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6134 missing CONSTANT_P test in core GCC.
6136 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6138 * cppmain.c (struct printer): New member source.
6139 (scan_translation_unit): Fix spacing at start of lines.
6140 (cb_line_change): Update.
6142 * gcc.dg/cpp/spacing2.c: New test.
6144 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
6146 * config/cris/arit.c: Use __builtin_labs, not abs.
6148 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6150 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6151 misplaced sprintf and fprintf argument.
6153 2001-10-12 Zack Weinberg <zack@codesourcery.com>
6155 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6156 * configure.in, Makefile.in: Take out obsolete check-po logic.
6157 * configure, config.in: Regenerate.
6159 2001-10-12 Ziemowit Laski <zlaski@apple.com>
6161 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6162 symtab declarations.
6164 2001-10-12 Stan Shebs <shebs@apple.com>
6166 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6167 declarations of arguments and local variables.
6169 2001-10-12 Christopher Faylor <cgf@redhat.com>
6171 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6172 ENDFILE_SPEC definition.
6174 2001-10-12 Kazu Hirata <kazu@hxi.com>
6176 * gthr-dce.h: Fix comment formatting.
6177 * gthr-posix.h: Likewise.
6178 * gthr-single.h: Likewise.
6179 * gthr-solaris.h: Likewise.
6180 * gthr-vxworks.h: Likewise.
6181 * gthr-win32.h: Likewise.
6183 2001-10-12 Jakub Jelinek <jakub@redhat.com>
6185 * final.c (output_asm_insn): Make sure assembly dialects are
6186 terminated, not nested. Output `|' and `}' characters if they
6187 don't appear inside assembly dialect selection.
6188 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6189 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6190 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6191 strsetsi_rex_1): Add {} braces.
6193 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6195 * toplev.c (compile_file): Ignore return value from yyparse.
6196 Always pop any nested binding levels after yyparse returns.
6198 2001-10-11 Richard Henderson <rth@redhat.com>
6200 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6202 2001-10-11 Richard Henderson <rth@redhat.com>
6204 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6205 fall back to add_AT_long_long for large CONST_INT.
6207 2001-10-11 Richard Henderson <rth@redhat.com>
6209 * config/i386/i386.md (setcc splitters): Add four splitters to
6210 simplify compound compares that simplify_comparison can't handle.
6212 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6214 * cpplex.c (digraph_spellings, token_spellings): Make static.
6216 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6218 * unroll.c (loop_iterations): Fixup last patch.
6220 2001-10-11 Richard Henderson <rth@redhat.com>
6222 * rtl.h (REG_VTABLE_REF): New.
6223 * rtl.c (reg_note_name): Add it.
6224 * combine.c (distribute_notes): Handle it.
6225 * final.c (final_scan_insn): Handle it.
6226 * tree.def (VTABLE_REF): New.
6227 * expr.c (expand_expr): Handle it.
6228 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6229 * output.h: Declare them.
6231 2001-10-11 Richard Henderson <rth@redhat.com>
6233 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6236 2001-10-11 David Edelsohn <edelsohn@gnu.org>
6238 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6239 available in 64-bit mode.
6241 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6243 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6244 cris-*-linux* cases.
6245 * config/cris/cris-protos.h: New file.
6246 * config/cris/cris.c: New file.
6247 * config/cris/cris.h: New file.
6248 * config/cris/cris.md: New file.
6249 * config/cris/linux.h: New file.
6250 * config/cris/aout.h: New file.
6251 * config/cris/arit.c: New file.
6252 * config/cris/cris_abi_symbol.c: New file.
6253 * config/cris/mulsi3.asm: New file.
6254 * config/cris/t-aout: New file.
6255 * config/cris/t-cris: New file.
6256 * config/cris/t-elfmulti: New file.
6257 * config/cris/t-linux: New file.
6258 * doc/invoke.texi: Add CRIS options.
6259 * doc/install.texi (Specific): Add blurb for CRIS.
6261 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6263 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6265 * config/float/i32.h: Likewise.
6266 * config/float-i386.h: Likewise.
6267 * config/float-i64.h: Likewise.
6268 * config/float-m68k.h: Likewise.
6269 * config/float-sh.h: Likewise.
6270 * config/float-sparc.h: Likewise.
6272 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6274 * doc/contrib.texi: Add note about CRIS port to my entry.
6276 2001-10-11 Kazu Hirata <kazu@hxi.com>
6278 * basic-block.h: Fix formatting.
6279 * bitmap.h: Likewise.
6280 * cpplib.h: Likewise.
6281 * c-tree.h: Likewise.
6282 * diagnostic.h: Likewise.
6283 * flags.h: Likewise.
6285 * longlong.h: Likewise.
6287 * reload.h: Likewise.
6291 2001-10-10 Richard Henderson <rth@redhat.com>
6293 * c-parse.in (asm_operand): Allow named operands.
6294 * genconfig.c (max_recog_operands): Set to 29.
6295 * local-alloc.c (requires_inout): Skip multiple digits.
6296 * recog.c (asm_operand_ok): Likewise.
6297 (preprocess_constraints): Use strtoul for matching constraints.
6298 (constrain_operands): Likewise.
6299 * regmove.c (find_matches): Likewise.
6300 * reload.c (find_reloads): Likewise.
6301 * stmt.c (parse_output_constraint): Don't reject in-out
6302 constraint on operands > 9. Reject '[' in constraint.
6303 (expand_asm_operands): Handle named operands. Use strtoul
6304 for matching constraints.
6305 (check_operand_nalternatives): Split out from expand_asm_operands.
6306 (check_unique_operand_names): New.
6307 (resolve_operand_names, resolve_operand_name_1): New.
6309 * doc/extend.texi (Extended Asm): Document named operands.
6310 * doc/md.texi (Simple Constraints): Document matching constraints
6313 2001-10-10 Richard Henderson <rth@redhat.com>
6315 * combine.c (try_combine): Handle a SEQUENCE of one insn.
6317 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6318 (jcc splitters): Add two splitters to simplify compound compares
6319 that simplify_comparison can't handle.
6321 2001-10-10 Richard Henderson <rth@redhat.com>
6323 * langhooks.c: Include langhooks.h.
6324 * Makefile.in (langhooks.o): Depend on it.
6326 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
6328 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6329 should not be considered as a no-op.
6330 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6332 2001-10-10 Stan Shebs <shebs@apple.com>
6334 * alias.c: Remove uses of "register" specifier in declarations
6335 of arguments and local variables.
6336 * c-common.c: Ditto.
6337 * c-convert.c: Ditto.
6339 * c-format.c: Ditto.
6340 * c-semantics.c: Ditto.
6341 * c-typeck.c: Ditto.
6342 * caller-save.c: Ditto.
6345 * cfgbuild.c: Ditto.
6347 * collect2.c: Ditto.
6351 * cppfiles.c: Ditto.
6354 * defaults.h: Ditto.
6356 * dwarf2out.c: Ditto.
6357 * dwarfout.c: Ditto.
6358 * emit-rtl.c: Ditto.
6363 * fix-header.c: Ditto.
6364 * floatlib.c: Ditto.
6366 * fold-const.c: Ditto.
6367 * function.c: Ditto.
6370 * gen-protos.c: Ditto.
6371 * genattrtab.c: Ditto.
6372 * gencheck.c: Ditto.
6373 * genconfig.c: Ditto.
6375 * genextract.c: Ditto.
6376 * genflags.c: Ditto.
6377 * gengenrtl.c: Ditto.
6378 * genoutput.c: Ditto.
6380 * genrecog.c: Ditto.
6381 * gensupport.c: Ditto.
6385 * haifa-sched.c: Ditto.
6386 * hard-reg-set.h: Ditto.
6388 * integrate.c: Ditto.
6391 * local-alloc.c: Ditto.
6393 * mips-tdump.c: Ditto.
6394 * mips-tfile.c: Ditto.
6397 * print-rtl.c: Ditto.
6398 * read-rtl.c: Ditto.
6401 * reg-stack.c: Ditto.
6402 * regclass.c: Ditto.
6407 * resource.c: Ditto.
6411 * sched-deps.c: Ditto.
6412 * sched-rgn.c: Ditto.
6414 * simplify-rtx.c: Ditto.
6416 * stor-layout.c: Ditto.
6423 * xcoffout.c: Ditto.
6425 2001-10-10 Richard Henderson <rth@redhat.com>
6427 * rtl.h (can_reverse_comparison_p): Remove.
6429 2001-10-10 Christopher Faylor <cgf@redhat.com>
6431 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6434 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6436 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6437 (Thanks to Chris Faylor for suggesting macro name).
6438 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6440 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6441 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6442 (MATH_LIBRARY): Undef before definition.
6443 (OUTPUT_QUOTED_STRING): Likewise.
6444 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6446 2001-10-10 Richard Henderson <rth@redhat.com>
6448 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6449 (fde_unencoded_compare): Likewise. Don't use subtraction to get
6450 a tristate comparison value.
6451 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6453 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6456 * unroll.c (loop_iterations): Ignore insns generated by loop
6459 * config.gcc (mips*-*-gnu*): Delete support.
6460 * config/mips/gnu.h: Remove.
6462 2001-10-10 Kazu Hirata <kazu@hxi.com>
6464 * calls.c: Fix formatting.
6465 * c-decl.c: Likewise.
6466 * cfgcleanup.c: Likewise.
6467 * combine.c: Likewise.
6468 * cppfiles.c: Likewise.
6469 * cpplib.c: Likewise.
6470 * cppmacro.c: Likewise.
6471 * crtstuff.c: Likewise.
6473 * dwarf2out.c: Likewise.
6474 * expmed.c: Likewise.
6476 * fold-const.c: Likewise.
6477 * function.c: Likewise.
6479 * genattrtab.c: Likewise.
6480 * ggc-page.c: Likewise.
6481 * integrate.c: Likewise.
6482 * libgcc2.c: Likewise.
6484 * optabs.c: Likewise.
6485 * profile.c: Likewise.
6486 * protoize.c: Likewise.
6488 * recog.c: Likewise.
6489 * reload1.c: Likewise.
6490 * reload.c: Likewise.
6491 * reorg.c: Likewise.
6492 * resource.c: Likewise.
6493 * sched-rgn.c: Likewise.
6494 * sdbout.c: Likewise.
6496 * toplev.c: Likewise.
6497 * varasm.c: Likewise.
6499 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
6501 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6502 * Makefile.in (langhooks.o): Add dependencies.
6504 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
6506 * rs6000.c (rs6000_emit_load_toc_table): Don't
6507 strdup the toc label.
6508 (create_TOC_reference): Likewise.
6510 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6512 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6515 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6517 * config/i386/i386.c (ix86_attribute_table): Correct
6518 min_len, max_len fields for dllimport, dllexport and shared.
6520 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
6522 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6523 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6524 Consistently use "nonzero" instead of "non-zero".
6526 2001-10-09 Kazu Hirata <kazu@hxi.com>
6528 * acconfig.h: Fix comment formatting.
6529 * c-dump.h: Likewise.
6530 * c-tree.h: Likewise.
6531 * conditions.h: Likewise.
6533 * function.h: Likewise.
6535 * hwint.h: Likewise.
6536 * integrate.h: Likewise.
6539 * optabs.h: Likewise.
6541 2001-10-09 Kazu Hirata <kazu@hxi.com>
6543 * c-common.h: Fix comment formatting.
6544 * c-dump.c: Likewise.
6546 * diagnostic.h: Likewise.
6547 * except.c: Likewise.
6549 * gcov-io.h: Likewise.
6550 * genattrtab.c: Likewise.
6551 * output.h: Likewise.
6552 * predict.h: Likewise.
6553 * reload1.c: Likewise.
6554 * reload.h: Likewise.
6555 * resource.h: Likewise.
6557 * system.h: Likewise.
6559 * tree-inline.c: Likewise.
6560 * tsystem.h: Likewise.
6561 * varasm.c: Likewise.
6562 * xcoffout.h: Likewise.
6564 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6566 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6568 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6570 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6571 config/i386/i386elf.h, config/i386/netbsd-elf.h,
6572 config/i386/netware.h, config/mcore/gfloat.h,
6573 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6574 config/netware.h, gccbug.in: Update FSF address.
6576 2001-10-09 Kazu Hirata <kazu@hxi.com>
6578 * c-common.c: Fix comment typos.
6579 * cfgrtl.c: Likewise.
6580 * collect2.c: Likewise.
6581 * cpplex.c: Likewise.
6582 * doloop.c: Likewise.
6583 * dwarf2out.c: Likewise.
6584 * dwarfout.c: Likewise.
6586 * fold-const.c: Likewise.
6590 * global.c: Likewise.
6591 * ifcvt.c: Likewise.
6593 * optabs.c: Likewise.
6594 * protoize.c: Likewise.
6595 * regclass.c: Likewise.
6596 * reorg.c: Likewise.
6600 * doc/cpp.texi: Likewise.
6601 * doc/c-tree.texi: Likewise.
6602 * doc/extend.texi: Likewise.
6603 * doc/invoke.texi: Likewise.
6604 * doc/objc.texi: Likewise.
6605 * doc/tm.texi: Likewise.
6607 2001-10-08 Richard Henderson <rth@redhat.com>
6609 * varasm.c (set_named_section_flags): Initialize "declared".
6611 2001-10-08 Robert Lipe <robertlipe@usa.net>
6613 * varasm.c (struct in_named_entry): Add declared.
6614 (named_section_first_declaration): New function.
6615 (default_elf_asm_named_section): Use it.
6616 * output.h (named_section_first_declaration): New.
6618 2001-10-08 Richard Henderson <rth@redhat.com>
6620 * i386.md (movsi_xor): Export.
6621 (setcc peep2): Use it when available; add an alternative to
6622 match zero_extendhisi2_and.
6624 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6626 * romp-protos.h (romp_initialize_trampoline): New function.
6627 * romp.c (romp_initialize_trampoline): Likewise.
6628 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6629 romp_initialize_trampoline.
6631 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6633 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6634 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6635 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6636 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6638 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6640 * unroll.c (loop_iterations): Extend check for multiple back edges.
6642 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
6644 * langhooks.h: New file.
6645 * Makefile.in (OBJS): Added langhooks.o.
6646 (c-lang.o): Depend on langhooks.h.
6647 (c-common.o): Don't depend on tree-inline.h.
6648 (tree-inline.o): Depend on toplev.h.
6649 (langhooks.o): New rule.
6650 * c-common.c: Don't include tree-inline.h.
6651 (c_mark_lang_decl): Mark argument c as unused.
6652 (c_common_lang_init): Don't initialize hooks here.
6653 * c-lang.c: Include langhooks.h, then override some macros.
6654 (lang_hooks): Initialize with macros in langhooks.h.
6655 (c_init): Don't initialize hooks here.
6656 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6657 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
6658 * tree-inline.c: Include toplev.h. Don't define hook variables.
6659 * tree-inline.h: Don't define hook types nor declare hook
6660 variables. Move macros to...
6661 * langhooks.c: ... new file, as functions. Adjust all callers.
6663 2001-10-08 Jeffrey A Law <law@cygnus.com>
6665 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6666 purge_mem_unchanging_flag on all instructions, not just on those
6667 before NOTE_INSN_FUNCTION_BEG.
6669 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6671 * cppmacro.c (_cpp_create_definition): Leave comments off.
6673 * doc/cpp.texi: Update.
6675 2001-10-08 DJ Delorie <dj@redhat.com>
6677 * c-decl.c (grokfield): Make sure the only unnamed fields
6678 we're allowing are either structs or unions.
6679 * doc/extend.texi: Add documentation for the unnamed field
6682 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6684 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6685 * configure.in: Use it.
6686 * configure: Regenerated.
6687 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6688 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6690 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6692 * cppfiles.c (open_file): Don't mark zero-length files
6693 never-reread here. Don't output diagnostics here either.
6694 (stack_include_file): Mark them never-reread here.
6695 (_cpp_read_file): Update.
6697 2001-10-08 Richard Henderson <rth@redhat.com>
6699 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6701 2001-10-08 Richard Henderson <rth@redhat.com>
6703 * expr.c (store_expr): When converting a CONST_INT for storage
6704 in a SUBREG, convert it to both SUBREG modes before stripping
6707 2001-10-08 Richard Henderson <rth@redhat.com>
6709 * varasm.c (restore_varasm_status): New.
6710 * function.h: Declare it.
6711 * function.c (pop_function_context_from): Call it.
6713 2001-10-08 Richard Henderson <rth@redhat.com>
6715 * c-common.h (struct c_lang_decl): Add declared_inline.
6716 * c-tree.h (DECL_DECLARED_INLINE_P): New.
6717 * c-lang.c (c_disregard_inline_limits): Use it.
6718 * c-decl.c (duplicate_decls): Likewise.
6719 (pushdecl, redeclaration_error_message): Likewise.
6720 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
6721 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
6722 Set DECL_INLINE if -finline-functions.
6723 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
6725 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6727 * cppmacro.c (funlike_invocation_p): Move some logic to caller
6728 in enter_macro_context. Create a padding token in its own context
6729 if necessary when the search for '(' fails.
6730 (enter_macro_context): Update.
6732 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6734 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
6735 genmultilib, toplev.c: Fix spelling errors of "separate" as
6736 "seperate", and corresponding spelling errors of related words.
6738 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6740 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
6741 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
6743 * c-dump.c (dump_option_value_info): Likewise.
6744 * c-format.c (format_length_info, format_char_info,
6745 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
6746 * collect2.c (names): Likewise.
6747 * cppdefault.h (default_include): Likewise.
6748 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
6749 * flow.c (life_analysis): Likewise.
6750 * gcc.c (dir_separator_str, modify_target, option_map,
6751 target_option_translations, spec_list_1, extra_specs_1,
6752 init_spec): Likewise.
6753 * gcov.c (gcov_version_string): Likewise.
6754 * genattr.c (write_units): Likewise.
6755 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
6756 * gengenrtl.c (rtx_definition, defs): Likewise.
6757 * genrecog.c (pred_table): Likewise.
6758 * global.c (global_alloc): Likewise.
6759 * lcm.c (optimize_mode_switching): Likewise.
6760 * local-alloc.c (find_free_reg): Likewise.
6761 * params.h (param_info): Likewise.
6762 * predict.c (predictor_info): Likewise.
6763 * protoize.c (unexpansion_struct): Likewise.
6764 * real.c (bmask): Likewise.
6765 * recog.h (insn_operand_data, insn_data): Likewise.
6766 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
6767 * stmt.c (expand_nl_goto_receiver): Likewise.
6768 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
6769 target_switches, target_options): Likewise.
6770 * tradcif.y (token, tokentab2, yylex): Likewise.
6771 * tree.h (attribute_spec): Likewise.
6773 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
6775 * arc.c (arc_output_function_epilogue): Likewise.
6776 * arm.c (processors, all_cores, all_architectures,
6777 arm_override_options, isr_attribute_arg, isr_attribute_args,
6778 arm_isr_value): Likewise.
6779 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
6781 * c4x.c (c4x_int_reglist): Likewise.
6782 * d30v.c (override_options): Likewise.
6783 * h8300.c (shift_insn): Likewise.
6784 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
6785 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
6786 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
6787 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
6788 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
6789 * i386.h (processor_costs, ix86_cost): Likewise.
6790 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
6791 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
6792 * m68k.c (codes_68881, codes_FPA): Likewise.
6793 * m88k.c (mode_from_align, max_from_align, all_from_align,
6794 best_from_align, m_options): Likewise.
6795 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
6796 * mcore.c (mode_from_align): Likewise.
6797 * mips/elf64.h (UNIQUE_SECTION): Likewise.
6798 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
6799 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
6800 * mips.h (mips_regno_to_class): Likewise.
6801 * ns32k.c (scales): Likewise.
6802 * pa.c (import_string, magic_milli): Likewise.
6803 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
6804 * sparc.c (leaf_reg_remap, sparc_override_options,
6805 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
6807 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
6809 2001-10-07 Dale Johannesen <dalej@apple.com>
6811 * reload1.c (reload_reg_free_p): Teach register interference
6812 checking that multiple output reloads are emitted in
6814 reload1.c (reload_reg_reaches_end_p): Ditto.
6815 reload1.c (reloads_conflict): Ditto.
6817 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6819 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
6820 NULL_TREE inside @code.
6822 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6824 * doc/gcc.texi: Document consistent style of "32-bit",
6825 "Objective-C", and "@code{NULL}".
6827 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6829 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
6830 (cpp_token_len, cpp_spell_token, cpp_output_token,
6831 _cpp_equiv_tokens): Handle it.
6832 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
6833 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
6834 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
6837 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6839 * gcc.c (default_compilers): Remove .ada.
6841 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
6843 * doc/cppinternals.texi: Update.
6845 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6847 * gcc.c (main): Set this_file_error if the appropriate
6848 compiler for a language has not been installed.
6850 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
6852 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
6854 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
6856 * gccbug.in (CATEGORIES): Add ada.
6858 2001-10-05 Catherine Moore <clm@redhat.com>
6860 * config/stormy16/stormy-abi: Document abi changes.
6861 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
6862 (ICALL_REGS): New register class.
6863 (NUM_ARGUMENT_REGISTERS): Now 6.
6864 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
6866 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
6867 * config/stormy16.md (call_internal, call_value_internal,
6868 indirect_jump): Use new 'z' constraint.
6870 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6872 * doc/cppinternals.texi: Update.
6874 2001-10-05 Richard Henderson <rth@redhat.com>
6876 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
6877 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
6878 the gas section-name-as-label feature.
6880 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6882 * doc/cppinternals.texi: Update.
6884 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6886 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
6887 to ensure valid SImode constants.
6889 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
6891 * Makefile.in (c-decl.o): Depend on tree-inline.h.
6892 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
6893 * c-decl.c: Include tree-inline.h.
6894 (c_expand_body): Call optimize_inline_calls. Determine whether
6895 a function is inlinable upfront, and only clear
6896 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
6897 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
6898 (c_disregard_inline_limits): New function.
6899 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
6900 (c_post_options): Enable tree inlining if inlining is enabled.
6901 Don't inline trees when instrumenting functions.
6902 (c_init): Initialize lang_disregard_inline_limits and
6903 lang_cannot_inline_tree_fn.
6904 * tree-inline.c (initialize_inlined_parameters): Handle calls
6905 with fewer arguments than declared parameters, and fewer
6906 parameters than passed arguments. Don't assume value is a
6908 (declare_return_variable): Convert return value back to the
6909 original type, if it was promoted.
6910 (tree_inlinable_function_p): New function.
6911 (inlinable_function_p): Don't look at DECL_INLINE if we're
6912 inlining all functions. Make it work with a NULL id.
6913 Re-check DECL_UNINLINABLE after language-specific checks.
6914 * tree-inline.h (tree_inlinable_function_p): Declare it.
6915 * integrate.c (save_for_inline): Don't bother to prepare argvec
6917 * cse.c (check_for_label_ref): Don't check deleted labels.
6919 * Makefile.in (tree-inline.o): Depend on newly-included headers.
6920 * tree-inline.c: Include headers needed for the functions moved in.
6921 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
6922 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
6923 (copy_body, initialize_inlined_parameters): Likewise.
6924 (declare_return_variable, inlinable_function_p): Likewise.
6925 (expand_call_inline, expand_calls_inline): Likewise.
6926 (optimize_inline_calls, clone_body): Likewise.
6927 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
6928 (copy_tree_r, remap_save_expr): Likewise.
6930 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
6932 * Makefile.in (OBJS): Added tree-inline.o.
6933 (c-common.o): Depend on tree-inline.h.
6934 (tree-inline.o): New target.
6935 * c-common.c: Include tree-inline.h.
6936 (c_mark_lang_decl): Don't mark saved_tree.
6937 (c_common_lang_init): Set lang_anon_aggr_type_p.
6938 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
6939 (struct c_lang_decl): Moved saved_tree to tree_decl.
6940 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
6941 * integrate.h (function_attribute_inlinable_p): Declare it.
6942 * integrate.c (function_attribute_inlinable_p): Export it.
6943 * tree-inline.c: New file. Define variables declared in...
6944 * tree-inline.h: New file. Declare functions to be moved to
6945 tree-inline.c. Define macros and declare types and hooks for
6946 language-specific tree inlining.
6947 (flag_inline_trees): Moved definition from cp/decl2.c.
6948 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
6949 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
6950 (struct tree_decl): Moved saved_tree from c_lang_decl and
6951 inlined_fns from C++'s lang_decl.
6953 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
6955 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
6956 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
6958 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
6960 * doc/cppinternals.texi: Update.
6962 2001-10-04 Eric Christopher <echristo@redhat.com>
6964 * config/mips/mips.c (init_cumulative_args): Remember to set
6966 * config.gcc: Redo linux configuration. Add target_cpu_default
6967 of soft-float to all mipsisa32 combinations and tx39.
6968 * config/mips/linux.h: Remove include of mips.h.
6970 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
6972 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
6973 HOST_LDFLAGS and HOST_CPPFLAGS.
6975 2001-10-03 Ziemowit Laski <zlaski@apple.com>
6977 * c-parse.in (objc_inherit_code, objc_pq_context,
6978 objc_public_flag): Make static.
6979 (objc_interface_context, objc_implementation_context,
6980 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
6981 global tree array in objc/objc-act.[ch].
6982 (methoddef): Remove unnecessary code.
6984 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
6985 Hoist struct definitions to objc-act.h.
6986 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
6987 cat_count): Place declaration in objc-act.h.
6988 (objc_tree_index): Move enumeration to objc-act.h.
6989 (objc_global_trees): Place declaration and macro accessors in
6991 (implementation_context): Remove duplicate; use
6992 objc_implementation_context instead:
6993 (method_context): Remove duplicate; use objc_method_context
6995 (objc_ellipsis_node, objc_method_prototype_template,
6996 implemented_classes, function_type): Move global vars to
6998 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
6999 (build_message_expr): Move actual construction of ObjC message
7000 send nodes to finish_message_expr.
7001 (finish_message_expr): New routine, contains code formerly in
7003 * objc/objc-act.h (finish_message_expr): New prototype.
7004 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7005 declarations; these vars are now part of objc_global_trees.
7006 (objc_tree_index, objc_global_trees): Move definitions from
7008 * objc/objc-tree.def: Update copyright info.
7010 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7012 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7014 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7015 only if TARGET_ARCH64.
7017 2001-10-02 Bernd Schmidt <bernds@redhat.com>
7019 * doc/extend.texi: Fix some problems with previous checkin.
7020 * doc/invoke.texi: Likewise.
7022 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7024 * cpphash.h: Update comments.
7025 (cpp_context): Update.
7026 (spec_nodes): Remove n__Pragma.
7027 * cppinit.c (cpp_create_reader): Update.
7028 (builtin_array): Add _Pragma.
7029 * cpplib.h: Update comments.
7030 (NODE_DISABLED, BT_PRAGMA): New.
7031 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7032 * cppmacro.c (struct cpp_macro): Remove disabled.
7033 (builtin_macro): Return int, handle _Pragma, push the new token
7034 on the context stack.
7035 (funlike_invocation_p): Unconstify, update.
7036 (enter_macro_context): Handle builtins here.
7037 (replace_args, push_token_context, push_ptoken_context):
7038 Update for prototype changes.
7039 (_cpp_pop_context): Update.
7040 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7041 (cpp_sys_macro_p): Update.
7042 (_cpp_free_definition): Clear disabled flag.
7043 (_cpp_create_definition): Upate.
7044 * cppmain.c: Update comments.
7046 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
7047 Andreas Jaeger <aj@suse.de>,
7048 Jan Hubicka <jh@suse.cz>
7050 * doc/invoke.texi (i386 Options): Document x86-64 options.
7051 (i386 and x86-64 Options): Rename i386 options section.
7053 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7054 (TARGET_SWITCHES): Add -munwind-info.
7055 (MASK_NO_UNWIND_INFO): New.
7056 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7058 (ASM_OUTPUT_DOUBLE_INT): New.
7060 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7061 * config.gcc: Fix tm_file settings for x86-64.
7062 * config/i386/x86-64.h: New file with OS independent x86-64
7064 * config/i386/biarch64.h: New file used to configure compiler
7065 to biarch/64bit compilation.
7067 * config/i386/i386.c: (override_options): Set flags default
7068 for 64bit compilation.
7070 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7072 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7073 (ix86_expand_int_movcc): Optimize DImode conditional moves with
7074 constants on x86_64.
7075 (ix86_attr_length_immediate_default): Support MODE_DI.
7076 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7078 (indirect_jump, tablejump): Turn into expander.
7080 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7082 * c-common.c (c_format_attribute_table): Make format and
7083 format_arg attributes apply to function types rather than to
7085 (is_valid_printf_arglist): Construct an attribute list and pass
7086 that to check_function_format rather than a name.
7087 * c-common.h (check_function_format): Adjust prototype.
7088 * c-decl.c (duplicate_decls): Preserve attributes from type of
7089 built-in decl when allowing for harmless conflict in types.
7090 * c-format.c (record_function_format,
7091 record_international_format, function_format_list,
7092 international_format_info, international_format_list): Remove.
7093 (function_format_info): Remove next, name and assembler_name.
7094 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7095 (decode_format_attr): New.
7096 (handle_format_attribute): Handle receiving a type rather than a
7097 decl. Call decode_format_attr. Store format information in a
7098 function_format_info.
7099 (handle_format_arg_attribute): Correct comment. Handle receiving
7100 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7102 (check_format_info_recurse, check_format_info_main): Take argument
7103 numbers as unsigned HOST_WIDE_INT.
7104 (check_function_format): Take a list of attributes from the
7105 function type rather than a name or assembler name. Check for
7106 format attributes in that list and the attributes on the type of
7107 the current function rather than looking through
7108 function_format_list.
7109 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7111 (check_format_info_recurse): Take format_arg attributes from the
7112 type of the function calls rather than using
7113 international_format_list. Allow for multiple format_arg
7115 * c-typeck.c (build_function_call): Pass type attributes to
7116 check_function_format rather than name or assembler name. Don't
7117 require there to be a name or assembler name to check formats.
7119 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7121 * attribs.c (decl_attributes): Possibly call
7122 insert_default_attributes to insert default attributes on
7123 functions in a lazy manner.
7124 * builtin-attrs.def: New file; define the default format and
7125 format_arg attributes.
7126 * c-common.c (c_format_attribute_table): Move to earlier in the
7128 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7129 (enum built_in_attribute, built_in_attributes,
7130 c_attrs_initialized, c_init_attributes,
7131 c_common_insert_default_attributes): New.
7132 (c_common_lang_init): Don't initialize format_attribute_table. Do
7133 call c_init_attributes.
7134 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7135 * c-common.h (init_function_format_info): Don't declare.
7136 (c_common_insert_default_attributes): Declare.
7137 * c-decl.c (implicitly_declare, builtin_function): Call
7139 (init_decl_processing): Don't call init_function_format_info.
7140 (insert_default_attributes): New.
7141 * c-format.c (handle_format_attribute,
7142 handle_format_arg_attribute): Be quiet about inappropriate
7143 declaration when applying default attributes.
7144 (init_function_format_info): Remove.
7145 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7146 (insert_default_attributes): Declare.
7148 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7150 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7152 2001-10-01 Jim Wilson <wilson@redhat.com>
7154 * sched-deps.c (add_dependence): When elide conditional dependence,
7155 check that insn doesn't modify cond2.
7157 2001-10-01 Dale Johannesen <dalej@apple.com>
7159 * config/rs6000/rs6000.h (enum processor_type): Add support
7160 for 7400 (G4) and 7450.
7162 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7163 (rs6000_issue_rate): Ditto.
7164 (rs6000_adjust_cost): Fix cycle counts for compares.
7165 (debug_stack_info): Fix an obvious typo.
7166 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7167 * doc/invoke.texi: Document.
7168 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7170 (PROCESSOR_DEFAULT): Ditto.
7172 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
7174 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7175 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7176 later recursive make invocation.
7178 2001-10-01 Hans Boehm <boehm@acm.org>
7180 * optabs.c (emit_libcall_block): When using non-call exceptions,
7181 don't add REG_LIBCALL reg notes to trapping calls.
7183 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7185 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7186 (propagate_one_insn): Update for above change
7188 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7190 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7191 _Unwind_GetTextRelBase): Argument is unused.
7193 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7195 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7196 Loop through NOPs, placeholders, and components.
7197 Don't go through NOPs if change mode.
7198 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7199 * emit-rtl.c (set_mem_alias_set): Enable check.
7200 * expr.c (find_placeholder): New function.
7201 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7202 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7203 to modify it and avoid unneeded copies.
7204 * expr.h (expand_expr): Always define.
7205 (find_placeholder): New declaration.
7207 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7209 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7210 operand 2 is the stack pointer.
7211 ("addr-peephole"): Fix address computation peephole when operand 2
7212 is the stack pointer.
7214 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7216 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7217 (ix86_setup_incoming_varargs): Likewise.
7219 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
7221 * stor-layout.c (layout_type): Don't complain about too-large
7224 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7226 * function.c (keep_stack_depressed): Don't use delete_insn.
7228 * expr.h (set_mem_alias_set): Move decl to here.
7229 * rtl.h (mem_attrs): New typedef and struct.
7230 (union rtunion_def): Add field for mem_attrs.
7231 (X0MEMATTR, MEM_ATTRS): New macros.
7232 (MEM_ALIAS_SET): Use MEM_ATTRS.
7233 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7234 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7235 (set_mem_alias_set): Delete decl from here.
7237 * alias.c (set_mem_alias_set): Delete from here.
7238 * emit-rtl.c (mem_attrs_htab): New variable.
7239 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7240 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7241 (mem_attrs_mark, get_mem_attrs): Likewise.
7242 (gen_rtx_MEM): Clear MEM_ATTRS.
7243 (set_mem_attributes): Move to here.
7244 (set_mem_alias_set): Likewise, and call get_mem_attrs.
7245 (init_emit_once): const_int_htab now deletable htab.
7246 Initialize mem_attrs_htab.
7247 * explow.c (set_mem_attributes): Delete from here.
7248 * function.c (put_var_into_stack): Clear MEM_ATTRS.
7249 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7250 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7251 * reload1.c (reload): Rework changing REG to MEM.
7253 2001-09-30 H.J. Lu <hjl@gnu.org>
7255 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7256 * config.in: Rebuild.
7258 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7260 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7261 ("tsthi_1"): Avoid allocation in register y.
7262 ("*movqi_68hc12"): Reorganize and fix constraints.
7263 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7264 ("addqi3"): Likewise.
7265 ("addhi3"): Fix constraints.
7266 ("*logicalhi3_zexthi"): Disparage soft registers.
7268 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7270 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7273 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7275 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7276 that we use setjmp/longjmp exceptions.
7278 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
7280 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7281 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7282 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7283 _cpp_pool_alloc, _cpp_next_chunk): Remove.
7284 (_cpp_extend_buff, BUFF_ROOM): Update.
7285 (_cpp_append_extend_buff): New.
7286 (struct cpp_reader): Remove macro_pool, add a_buff.
7287 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7289 (cpp_destroy): Free a_buff instead of macro_pool.
7290 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7291 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7292 _cpp_pool_alloc, ): Remove.
7293 (parse_number, parse_string): Update use of _cpp_extend_buff.
7294 (_cpp_extend_buff): Update.
7295 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7296 * cpplib.c (glue_header_name, parse_answer):
7297 Update use of _cpp_extend_buff.
7298 (cpp_register_pragma, cpp_register_pragma_space): Use
7300 (do_assert, do_unassert): Check for EOL, update.
7301 * cppmacro.c (stringify_arg, collect_args): Update to use
7302 _cpp_extend_buff and _cpp_append_extend_buff.
7303 (save_parameter, parse_params, alloc_expansion_token,
7304 _cpp_create_definition): Rework memory management.
7306 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
7308 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7309 update md_exec_prefix.
7310 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7313 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
7315 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7316 (SELECT_CC_MODE): Use s390_select_ccmode.
7317 * config/s390/s390-protos.h (s390_select_ccmode): Add.
7318 * config/s390/s390.c (s390_select_ccmode): New.
7319 (s390_match_ccmode): Add CCLmode.
7320 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7321 (output_branch_condition, output_inverse_branch_condition): Removed.
7322 (print_operand): Use s390_branch_condition_mnemonic.
7323 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7324 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7325 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7327 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7328 when converting conditional branches to far branches.
7329 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7330 cmpint_di): Use CCSmode instead of CCUmode.
7332 * config/s390/s390.c (legitimate_la_operand_p): New.
7333 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7334 * config/s390/s390.md (movsi): Convert load address patterns to
7335 arithmetic operations when necessary.
7336 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7337 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7338 (*do_la_reg_0): Don't use before reload.
7340 * config/s390/s390.c (legitimize_address): Make more efficient
7341 use of two-register addressing mode.
7343 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7344 with -mno-backchain in some corner cases.
7346 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7348 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
7350 * reload.c (find_reloads): Mark new USE insns with QImode.
7351 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7352 find_reloads_subreg_address): Likewise.
7353 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7355 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7357 (reload): Make sure there are no USEs with mode other than
7358 VOIDmode. At the end, remove those marked with QImode.
7360 2001-09-29 Per Bothner <per@bothner.com>
7362 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
7363 * Makefile.in (includedir): Rename to local_includedir.
7364 (includedir): Define as $(prefix)/include.
7365 * config.in (PREFIX_INCLUDE_DIR): New variable.
7366 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
7368 2001-09-29 Bernd Schmidt <bernds@redhat.com>
7370 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7372 * doc/extend.texi (Vector Extensions): New node.
7373 * doc/invoke.texi (Machine Dependent Options): Add documentation for
7374 i386 -mmmx, -msse, -m3dnow.
7376 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7378 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7380 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
7382 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7384 * doc/invoke.texi (Optimize Options): Delete spurious @table.
7386 2001-09-28 Richard Henderson <rth@redhat.com>
7388 * varasm.c (assemble_integer): Bound alignment check by
7391 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7393 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7395 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7397 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7399 Mostly from Graham Stott <grahams@redhat.com>
7400 * c-common.c (type_for_mode): Add support for V2SFmode.
7401 * tree.c (build_common_tree_nodes_2): Likewise.
7402 * tree.h (enum tree_index, global_trees): Likewise.
7403 * config/i386/i386.c (x86_3dnow_a): New variable.
7404 (override_options): Support 3Dnow extensions.
7405 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7406 Athlon's version of 3Dnow.
7407 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7408 (ix86_expand_builtin): Handle them.
7409 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7410 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7411 TARGET_3DNOW_A): New macros.
7412 (TARGET_SWITCHES): Add 3Dnow switches.
7413 (VALID_MMX_REG_MODE_3DNOW): New macro.
7414 (VECTOR_MODE_SUPPORTED_P): Use it.
7415 (enum ix86_builtins): Add entries for 3Dnow builtins.
7416 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7417 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7418 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7419 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7420 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7421 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7422 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7423 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7424 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7425 sfence_insn, prefetch): Make these available if TARGET_SSE or
7428 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
7430 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7431 ix86_va_start, ix86_build_va_list): Declare.
7432 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7433 ix86_va_start, ix86_build_va_list): New global functions.
7434 * i386.md (sse_prologue_save_insn): New insn.
7435 (sse_prologue_save): New expander.
7436 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7437 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7439 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7441 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7442 Use size_t everywhere, make definitions consistent with
7445 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
7447 * gcse.c (replace_store_insn): Use delete_insn.
7448 * loop.c (move_movables): Likewise; avoid delete_insn
7449 from clobbering notes moved elsewhere.
7450 (check_dbra_loop): Use delete_insn.
7451 * ssa.c (convert_from_ssa): Likewise.
7452 * cse.c (cse_insn): Use delete_insn.
7454 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7456 * cpphash.h (struct cpp_buff): Make unsigned.
7457 (_cpp_get_buff): Take length of size_t.
7458 (_cpp_unaligned_alloc): New.
7459 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7460 (struct cpp_reader): Remove ident_pool. Add u_buff.
7461 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7462 (cpp_destroy): Destroy u_buff, not ident_pool.
7463 * cpplex.c (parse_number, parse_string, save_comment,
7464 cpp_token_as_text): Update to use the unaligned buffer.
7465 (new_buff): Make unsigned.
7466 (_cpp_unaligned_alloc): New.
7467 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7468 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7470 (collect_args): Make unsigned.
7472 2001-09-27 Zack Weinberg <zack@codesourcery.com>
7474 * cpplex.c (cpp_output_token): Use a putc loop for
7475 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7477 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7478 * configure, config.in: Regenerate.
7479 * system.h: Replace fwrite and fprintf with their unlocked
7480 variants if available.
7482 2001-09-27 Richard Henderson <rth@redhat.com>
7484 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7485 in favour of .eh_frame.
7487 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
7489 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7491 (LIBCALL_VALUE): Likewise.
7493 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7495 * cpphash.h: Update comment.
7496 * cpplex.c: Update comments.
7497 (_cpp_can_paste): Remove.
7498 * cpplib.h (_cpp_can_paste): Remove.
7499 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7500 lexer rather than _cpp_can_paste.
7502 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7504 * doc/cppinternals.texi: Update.
7506 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7508 * cpphash.h (struct cpp_pool): Remove locks and locked.
7509 (struct cpp_context): Add member buff.
7510 (struct cpp_reader): Remove member argument_pool.
7511 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7512 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7513 * cpplex.c (chunk_suitable): Remove pool argument.
7514 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7515 (new_buff, _cpp_extend_buff): Update.
7516 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
7517 which buffer is returned.
7518 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7519 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7520 * cppmacro.c (lock_pools, unlock_pools): Remove.
7521 (push_ptoken_context): Take a _cpp_buff.
7522 (enter_macro_context): Pool locking removed.
7523 (replace_args): Use a _cpp_buff for the replacement list with
7525 (push_token_context): Clear buff.
7526 (expand_arg): Use _cpp_pop_context.
7527 (_cpp_pop_context): Free a context's buffer, if any.
7529 2001-09-26 DJ Delorie <dj@redhat.com>
7531 * c-typeck.c (digest_init): Check for sizeless arrays.
7533 2001-09-26 Richard Henderson <rth@redhat.com>
7535 * optabs.c (init_one_libfunc): Create a dummy function type
7536 instead of using error_mark_node.
7538 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7540 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7541 _cpp_extend_buff, _cpp_free_buff): New.
7542 (struct cpp_reader): New member free_buffs.
7543 * cppinit.c (cpp_destroy): Free buffers.
7544 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7545 _cpp_extend_buff, _cpp_free_buff): New.
7546 * cpplib.h (struct cpp_options): Remove unused member.
7547 * cppmacro.c (collect_args): New. Combines the old parse_arg
7548 and parse_args. Use _cpp_buff for memory allocation.
7549 (funlike_invocation_p, replace_args): Update.
7551 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7553 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7555 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
7557 * except.c (sjlj_mark_call_sites): Change address inside sequence.
7559 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
7561 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7564 2001-09-25 Janis Johnson <janis187@us.ibm.com>
7565 Jim Wilson <wilson@redhat.com>
7567 * doc/install.texi (Specific, ia64-*-linux): Document.
7569 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7571 * Makefile.in (cfgrtl.o): Add.
7572 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7573 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7574 free_aux_for_edge): Declare.
7576 (HAVE_return): Undefine.
7577 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7578 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7579 free_aux_for_edge): New global functions.
7580 (first_delete_block): New static variable.
7581 (init_flow): Clear first_delete_block.
7582 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7583 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7584 try_redirect_by_replacing_jump, last_loop_beg_note,
7585 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7586 delete_insn, delete_insn_chain, create_basic_block_structure,
7587 create_basic_block, flow_delete_block, compute_bb_for_insn,
7588 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7589 set_block_for_new_insns, split_block, merge_blocks_nomove,
7590 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7591 redirect_edge_and_branch, force_nonfallthru_and_redirect,
7592 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7593 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7594 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7595 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7596 purge_all_dead_edges): Move to ....
7597 * cfgrtl.c: New file; .... Here.
7599 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7600 (reroder_basic_block): Use alloc_aux_for_blocks.
7601 * predict.c (estimate_bb_frequencies): Likewise; use
7602 alloc_aux_for_edges.
7603 * profile.c (compute_branch_probabilities): Likewise.
7604 (branch_prob): Likewise.
7605 * reg-stack.c (reg_to_stack): Likewise.
7607 * emit-rtl.c (emit_insns_after): Never return NULL.
7609 * basic-block.h (set_block_for_new_insns): Delete.
7610 * cfgrtl.c (set_block_for_new_insns): Delete.
7612 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7613 calls when crossjumping.
7615 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7616 * unroll.c (copy_loop_body): Use delete_insn.
7618 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7619 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7620 keep_stack_depressed): Likewise.
7621 * gcse.c (cprop_cc0_jump): Likewise.
7622 * local-alloc.c (update_equiv_regs): Likewise.
7623 * loop.c (scan_loop, loop_delete_insns): Likewise.
7624 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7625 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7626 delete_output_reload, delete_address_reloads_1,
7627 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7629 * sibcall.c (replace_call_placeholder): Likewise.
7630 * cse.c (cse_insn): Likewise.
7632 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7634 From Graham Stott <grahams@redhat.com>
7635 (def_builtin): Only define builtins appropriate for target_flags. All
7637 (builtin_decsription): Add new field mask which is used to determine
7638 when to define the builtin via the macro def_builtin.
7640 (bdesc_comi): Initialise new mask fields.
7641 (bdesc_2srg): Likewise.
7642 (bdesc_1arg): Likewise.
7644 * config/i386/i386.c (ix86_init_builtins): Correct return type
7645 building v4hi_ftype_v4hi_int_int tree node.
7646 (ix86_expand_sse_comi): Fix typo swapping operands.
7647 Don't swap comparision condition, it is already swapped.
7648 (ix86_expand_sse_compare): Before swapping operands
7649 move operand 1 into new rtx and not the target rtx.
7650 Don't swap comparison condition, it is already swapped.
7651 Always check whether we need to create a new TARGET.
7653 * config/i386/i386.md: (sse_comi) Fix typos.
7654 (sse_ucomi): Likewise.
7655 (cvtss2si): Fix operand 0 contraint.
7656 (cvttss2si): Likewise.
7657 (sse_unpckhps): Fix mode for operand 2.
7658 (sse_unpcklps): Likewise.
7660 2001-09-25 Graham Stott <grahams@redhat.com>
7662 * sibcall.c (skip_copy_to_return_value): Tighten return value
7665 2001-09-24 David Edelsohn <edelsohn@gnu.org>
7667 * rs6000.c (lwa_operand): Address must be word aligned.
7669 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7671 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7672 number has been set.
7673 (type_hash_mark): Mark type itself.
7675 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
7677 * c-lex.c (cb_def_pragma): Update.
7678 (c_lex): Update, and skip padding.
7679 * cppexp.c (lex, parse_defined): Update, remove unused variable.
7680 * cpphash.h (struct toklist): Delete.
7681 (union utoken): New.
7682 (struct cpp_context): Update.
7683 (struct cpp_reader): New members eof, avoid_paste.
7684 (_cpp_temp_token): New.
7685 * cppinit.c (cpp_create_reader): Update.
7686 * cpplex.c (_cpp_temp_token): New.
7687 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7688 (cpp_output_token): Don't print leading whitespace.
7689 (cpp_output_line): Update.
7690 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7691 do_include_common, do_line, do_ident, do_pragma,
7692 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7693 parse_assertion): Update.
7694 (get_token_no_padding): New.
7695 * cpplib.h (CPP_PADDING): New.
7696 (AVOID_LPASTE): Delete.
7697 (struct cpp_token): New union member source.
7698 (cpp_get_token): Update.
7699 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7700 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
7701 replace_args, quote_string, stringify_arg, parse_arg, next_context,
7702 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
7703 _cpp_backup_tokens, _cpp_create_definition): Update.
7704 (push_arg_context): Delete.
7705 (padding_token, push_token_context, push_ptoken_context): New.
7706 (make_string_token, make_number_token): Update, rename.
7707 (cpp_get_token): Update to handle tokens as pointers to const,
7708 and insert padding appropriately.
7709 * cppmain.c (struct printer): New member prev.
7710 (check_multiline_token): Constify.
7711 (do_preprocessing, cb_line_change): Update.
7712 (scan_translation_unit): Update to handle spacing.
7713 * scan-decls.c (get_a_token): New.
7714 (skip_to_closing_brace, scan_decls): Update.
7715 * fix-header.c (read_scan_file): Update.
7717 * doc/cpp.texi: Update.
7719 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7721 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
7722 leak by passing malloc'ed pointer to reconcat, not concat.
7724 2001-09-24 DJ Delorie <dj@redhat.com>
7726 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
7728 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
7730 * flow.c (delete_dead_jumptables): Delete jumptable if the only
7731 reference is from the literal pool.
7733 2001-09-24 Janis Johnson <janis187@us.ibm.com>
7735 * doc/install.texi (Final install): Request additional information
7736 in mail about successful builds.
7738 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7740 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
7741 initial value of return pointer register instead of value in frame-20.
7744 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7746 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
7747 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
7748 the libcall if there isn't a referenced identifier for the symbol.
7750 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7752 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
7753 non 64-bit machines. Use these as a plabel for the trampoline.
7754 (TRAMPOLINE_SIZE): Adjust size for new words.
7755 (INITIALIZE_TRAMPOLINE): Initialize new words.
7756 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
7757 pointer to the plabel in the trampoline.
7759 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7761 * pa.c (function_arg): Pass floating arguments in both general and
7762 floating registers in indirect (dynamic) calls when generating code
7763 for the 32 bit ABI and the HP assembler.
7765 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7767 * doc/install.texi: Markup fixes.
7768 Use Solaris 2, SunOS 4 as appropriate.
7769 (Specific, *-*-solaris2*): Explain this.
7770 Unconditionally warn against /usr/ucb tools.
7771 Remove Sun as warning, obsolete.
7772 Move X11 header bug workaround here, update patches.
7773 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
7774 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
7776 2001-09-23 Zack Weinberg <zack@codesourcery.com>
7778 * errors.h (warning, error, fatal, internal_error): Don't mark
7779 with ATTRIBUTE_PRINTF_n.
7780 * toplev.h (internal_error, fatal_io_error, warning, error,
7781 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
7782 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
7785 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7787 * function.c (pop_function_context_from): var_refs_queue
7788 and temp slots now in GC memory.
7789 (mark_function_status, free_after_compilation): Likewise;
7790 also struct function now in GC memory.
7791 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
7792 (combine_temp_slots): Likewise.
7793 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
7794 (prepare_function_start): Use GC memory for struct function.
7795 (mark_temp_slot): Deleted.
7796 (gcc_mark_struct_function): struct function now in GC memory.
7798 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
7799 code for division, not modulus.
7801 * rtl.def (MEM): Remove obsolete part of comment.
7803 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
7805 * c-format.c (init_function_format_info): Check __builtin_printf
7806 and __builtin_fprintf even if -ffreestanding. Check C99 functions
7809 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7811 * c-common.c (format_attribute_table): Remove decl.
7812 * tree.h (format_attribute_table, lang_attribute_table): New decls.
7813 (lang_attribute_common): Likewise.
7815 * function.c (fix_lexical_address): Use set_mem_alias_set.
7816 (expand_function_start): Likewise.
7817 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
7819 * varasm.c (output_constant): Fix unused variable warning.
7821 * attribs.c: New file, from c-common.c.
7822 (attribute_tables): Now four elements.
7823 (format_attribute_table, lang_attribute_common): New variables.
7824 (init_attributes): Reflect above changes.
7825 (handle_mode_attribute): Delete check for wider than uintmax.
7826 * c-common.c: Delete parts moved to attribs.c.
7827 (enum attrs): Deleted; unused.
7828 (c_format_attribute_table): New variable.
7829 (c_common_lang_init): Initialize format_attribute_table with it.
7830 * c-common.h (decl_attributes): Remove decl.
7831 * tree.h (decl_attribute): Move it to here.
7832 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
7833 (attribs.o): New rule.
7835 2001-09-22 Andreas Jaeger <aj@suse.de>
7837 * builtins.c (c_getstr): Remove unused variable.
7839 2001-09-21 Richard Henderson <rth@redhat.com>
7841 * reload1.c (reload): Use delete_insn instead of splatting
7844 2001-09-21 Richard Henderson <rth@redhat.com>
7846 * reload.c (push_secondary_reload): Don't check for "=" in output
7847 constraint after ""->ALL_REGS check.
7849 2001-09-21 Richard Henderson <rth@redhat.com>
7851 * predict.c (expected_value_to_br_prob): Use pc_set.
7853 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
7854 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
7856 2001-09-21 Richard Henderson <rth@redhat.com>
7858 * rtl.h (LCT_RETURNS_TWICE): New.
7859 * calls.c (emit_call_1): Set current_function_calls_setjmp for
7861 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
7862 to ECF_RETURNS_TWICE.
7863 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
7866 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
7868 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
7869 (JMP_BUF_SIZE): New.
7871 2001-09-21 Richard Henderson <rth@redhat.com>
7873 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
7876 2001-09-21 Richard Henderson <rth@redhat.com>
7878 * tree.def (FDESC_EXPR): New.
7879 * expr.c (expand_expr): Handle it.
7880 * varasm.c (initializer_constant_valid_p): Likewise.
7881 (output_constant): Likewise.
7882 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7883 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7884 (ASM_OUTPUT_FDESC): New.
7885 * doc/tm.texi: Document the new macros.
7887 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7889 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
7890 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
7891 once merging is complete.
7893 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7895 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
7897 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7899 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
7900 that would be invalid after a merge.
7902 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
7904 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
7905 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
7907 (flow_delete_insn): This one.
7908 (delete_insn_chain): Rename from ...; do not care labels.
7909 (flow_delete_insn_chain): ... this one.
7910 (flow_delete_block): Remove the insns one BB has been expunged.
7911 (merge_blocks_nomove): Likewise.
7912 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
7913 updating BB boundaries.
7914 (tidy_fallthru_edge): Likewise.
7915 (commit_one_edge_insertion): Likewise.
7916 * cfgbuild.c (find_basic_block): Likewise.
7917 (find_basic_blocks_1): Likewise.
7918 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
7919 (try_crossjump_to_edge): Likewise.
7920 (try_optimize_cfg): Likewise.
7921 * cse.c (delete_trivially_dead_insns): Likewise.
7922 * df.c (df_insn_delete): Likewise.
7923 * doloop.c (doloop_modify): Use delete_related_insns.
7924 * emit-rtl.c (try_split): Likewise.
7925 (remove_insn): Update BB boundaries.
7926 * expect.c (connect_post_landing_pads): Use delete_related_insns.
7927 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
7928 updating BB boundaries.
7929 (propagate_block_delete_insn): Likewise.
7930 (propagate_block_delete_libcall): Likewise.
7931 * function.c (delete_handlers): Use delete_related_insns.
7932 (thread_prologue_and_epilogue_insns): Likewise.
7933 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
7934 * genpeep.c (gen_peephole): Use delete_related_insns.
7935 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
7937 (find_cond_trap): Likewise.
7938 * integrate.c (save_for_inline): Use delete_related_insns.
7939 (copy_insn_list): Likewise.
7940 * jump.c (pruge_linie_number_notes): Likewise.
7941 (duplicate_loop_exit_test): Likewise.
7942 (delete_computation): Likewise.
7943 (delete_related_insn): Rename from ...; use delete_insn
7944 (delete_insn): ... this one.
7945 (redirect_jump): Use delete_related_insns.
7946 * loop.c (scan_loop): Likewise.
7947 (move_movables): Likewise.
7948 (find_and_verify_loops): Likewise.
7949 (check_dbra_loop): Likewise.
7950 * recog.c (peephole2_optimize): Likewise.
7951 * reg-stack.c (delete_insn_for_stacker): Remove.
7952 (move_for_stack_reg): Use delete_insn.
7953 * regmove.c (combine_stack_adjustments_for_block): Likewise.
7954 * reload1.c (delete_address_reloads): Use delete_related_insns.
7955 (fixup_abnormal_edges): Use delete_insn.
7956 * recog.c (emit_delay_sequence): Use delete_related_insns.
7957 (delete_from-delay_slot): Likewise.
7958 (delete_scheduled_jump): likewise.
7959 (optimize_skip): Likewise.
7960 (try_merge_delay_insns): Likewise.
7961 (full_simple_delay_slots): Likewise.
7962 (fill_slots_from_thread): Likewise.
7963 (relax_delay_slots): Likewise.
7964 (make_return_insns): Likewise.
7965 (dbr_schedule): Likewise.
7966 * rtl.h (delete_insn): Rename to delete_related_insns.
7967 (delete_insn, delete_insn_chain): New prototypes.
7968 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
7969 by df_insn_delete already.
7970 * ssa-dce.c (delete_insn_bb): Use delete_insn.
7971 * ssa.c (convert_from_ssa): Use delete_related_insns.
7972 * unroll.c (unroll_loop): Likewise.
7973 (calculate_giv_inc): Likewise.
7974 (copy_loop_body): Likewise.
7976 * i386-protos.h (ix86_libcall_value, ix86_function_value,
7977 ix86_function_arg_regno_p, ix86_function_arg_boundary,
7978 ix86_return_in_memory, ix86_function_value): Declare.
7979 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
7980 new static valurables.
7981 (x86_64_reg_class): New enum
7982 (x86_64_reg_class_name): New array.
7983 (classify_argument, examine_argument, construct_container,
7984 merge_classes): New static functions.
7985 (optimization_options): Enable flag_omit_frame_pointer and disable
7986 flag_pcc_struct_return on 64bit.
7987 (ix86_libcall_value, ix86_function_value,
7988 ix86_function_arg_regno_p, ix86_function_arg_boundary,
7989 ix86_return_in_memory, ix86_function_value): New global functions.
7990 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
7991 (function_arg_advance): Handle x86_64 passing conventions.
7992 (function_arg): Likewise.
7993 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
7994 (RETURN_IN_MEMORY): Move offline.
7995 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
7996 (FUNCTION_VALUE_REGNO_P): New macro.
7997 (FUNCTION_ARG_REGNO_P): Move offline.
7998 (struct ix86_args): Add maybe_vaarg.
7999 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8000 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8002 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8004 * s390.md: Changed attributes for scheduling.
8005 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8008 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8010 Table-driven attributes.
8011 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8012 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8013 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8014 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8015 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8016 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8017 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8018 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8019 * tree.h (struct tree_decl): Change machine_attributes to
8021 * doc/c-tree.texi: Document that all attributes are now attached
8023 * c-common.c (add_attribute, attrtab, attrtab_idx,
8024 default_valid_lang_attribute, valid_lang_attribute): Remove.
8025 (attribute_tables, attributes_initialized,
8026 c_common_attribute_table, default_lang_attribute_table): New
8028 (handle_packed_attribute, handle_nocommon_attribute,
8029 handle_common_attribute, handle_noreturn_attribute,
8030 handle_unused_attribute, handle_const_attribute,
8031 handle_transparent_union_attribute, handle_constructor_attribute,
8032 handle_destructor_attribute, handle_mode_attribute,
8033 handle_section_attribute, handle_aligned_attribute,
8034 handle_weak_attribute, handle_alias_attribute,
8035 handle_no_instrument_function_attribute,
8036 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8037 handle_no_limit_stack_attribute, handle_pure_attribute): New
8039 (init_attributes, decl_attributes): Rewrite to implement
8040 table-driven attributes.
8041 * c-common.h (enum attribute_flags): Move to tree.h.
8042 * c-format.c (decl_handle_format_attribute,
8043 decl_handle_format_arg_attribute): Rename to
8044 handle_format_attribute and handle_format_arg_attribute. Update
8045 for table-driven attributes.
8046 * c-common.h (decl_handle_format_attribute,
8047 decl_handle_format_arg_attribute): Remove prototypes.
8048 (handle_format_attribute, handle_format_arg_attribute): Add
8050 * c-decl.c (grokdeclarator): Handle attributes nested inside
8052 * c-parse.in (setattrs, maybe_setattrs): Remove.
8053 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8054 Update to handle nested attributes properly.
8055 (maybe_resetattrs, after_type_declarator,
8056 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8057 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8059 (make_pointer_declarator): Update to handle nested attributes
8061 * doc/extend.texi: Update documentation of limits of attributes
8062 syntax. Warn about problems with attribute semantics in C++.
8063 * target.h (struct target): Remove valid_decl_attribute and
8064 valid_type_attribute. Add attribute_table and
8065 function_attribute_inlinable_p.
8066 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8067 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8068 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8070 (TARGET_INITIALIZER): Update.
8071 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8073 (function_attribute_inlinable_p): New function. Check for the
8074 presence of any machine attributes before using
8075 targetm.function_attribute_inlinable_p.
8076 (function_cannot_inline_p): Update.
8077 * Makefile.in (integrate.o): Update dependencies.
8078 * doc/tm.texi: Update documentation of target attributes and
8079 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8080 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8082 (default_target_attribute_table,
8083 default_function_attribute_inlinable_p): New.
8084 (lookup_attribute): Update comment to clarify handling of multiple
8085 attributes with the same name.
8086 (merge_attributes, attribute_list_contained): Allow multiple
8087 attributes with the same name but different arguments to appear in
8088 the same attribute list.
8089 * tree.h (default_valid_attribute_p): Remove prototype.
8090 (struct attribute_spec): New.
8091 (default_target_attribute_table): Declare.
8092 (enum attribute_flags): Move from c-common.h. Add
8093 ATTR_FLAG_TYPE_IN_PLACE.
8094 (default_function_attribute_inlinable_p): Declare.
8095 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8096 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8097 (TARGET_ATTRIBUTE_TABLE): Define.
8098 (vms_attribute_table): New.
8099 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8100 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8101 (TARGET_ATTRIBUTE_TABLE): Define.
8102 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8103 * config/arm/arm.c (arm_valid_type_attribute_p,
8104 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8106 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8108 (TARGET_ATTRIBUTE_TABLE): Define.
8109 (arm_attribute_table, arm_handle_fndecl_attribute,
8110 arm_handle_isr_attribute): New.
8111 * config/avr/avr.c (avr_valid_type_attribute,
8112 avr_valid_decl_attribute): Remove.
8113 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8115 (TARGET_ATTRIBUTE_TABLE): Define.
8116 (avr_attribute_table, avr_handle_progmem_attribute,
8117 avr_handle_fndecl_attribute): New.
8118 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8119 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8120 (TARGET_ATTRIBUTE_TABLE): Define.
8121 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8122 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8123 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8124 (TARGET_ATTRIBUTE_TABLE): Define.
8125 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8126 h8300_handle_eightbit_data_attribute,
8127 h8300_handle_tiny_data_attribute): New.
8128 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8129 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8131 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8133 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8134 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8136 (TARGET_ATTRIBUTE_TABLE): Define.
8137 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8138 ix86_handle_regparm_attribute): New.
8139 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8140 i386_pe_valid_type_attribute_p): Remove.
8141 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8142 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8143 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8144 (TARGET_ATTRIBUTE_TABLE): Define.
8145 (ia64_attribute_table): New.
8146 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8147 interrupt_ident2, model_ident1, model_ident2): Remove.
8148 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8149 (TARGET_ATTRIBUTE_TABLE): Define.
8150 (init_idents): Update.
8151 (m32r_attribute_table, m32r_handle_model_attribute): New.
8152 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8154 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8155 (TARGET_ATTRIBUTE_TABLE): Define.
8156 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8157 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8158 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8159 (TARGET_ATTRIBUTE_TABLE): Define.
8160 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8161 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8162 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8163 (TARGET_ATTRIBUTE_TABLE): Define.
8164 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8165 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8166 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8167 (TARGET_ATTRIBUTE_TABLE): Define.
8168 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8169 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8170 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8171 (TARGET_ATTRIBUTE_TABLE): Define.
8172 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8173 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8175 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8177 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8178 (TARGET_ATTRIBUTE_TABLE): Define.
8179 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8181 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8182 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8183 (TARGET_ATTRIBUTE_TABLE): Define.
8184 (v850_attribute_table, v850_handle_interrupt_attribute,
8185 v850_handle_data_area_attribute): New.
8186 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8187 Return void. Call decl_attributes instead of
8188 valid_machine_attribute.
8190 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8192 * sh-protos.h (sh_pr_n_sets): Declare.
8193 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8194 look at the copy to determine if PR needs to be saved.
8195 sh_pr_n_sets: New function.
8196 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8197 (ALLOCATE_INITIAL_VALUE): Define.
8199 * sh.c (initial_elimination_offset):
8200 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8202 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8204 * integrate.c (allocate_initial_values): New function.
8205 * integrate.h (allocate_initial_values): Declare.
8206 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8208 * reload1.c (reload): And initialization of reg_equiv_memory_loc
8210 * toplev.c (rest_of_compilation): To here.
8211 Call allocate_initial_values.
8212 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8214 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8216 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8218 2001-09-20 DJ Delorie <dj@redhat.com>
8220 * c-typeck.c (really_start_incremental_init): Discriminate
8221 between zero-length arrays and flexible arrays.
8222 (push_init_level): Detect zero-length arrays and handle them
8223 like fixed-sized arrays.
8224 * expr.c (store_constructor): Handle zero-length arrays and
8225 flexible arrays correctly.
8226 * doc/extend.texi: Update zero-length array notes.
8228 2001-09-20 Jim Wilson <wilson@redhat.com>
8230 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8231 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8232 for issue port conflicts.
8233 (cycle_end_fill_slots): TYPE_L instructions take two slots.
8235 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
8237 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8240 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8242 * fold-const.c (hashtab.h): Include.
8243 (int_const_binop): Remove FORSIZE arg and compute from type; all
8245 Call size_int_type_wide for all single-word constants.
8246 (size_htab_hash, size_htab_eq): New functions.
8247 (size_int_type_wide): Rework to use hash table.
8248 * ggc-common.c (hashtab.h): Include.
8249 (struct d_htab_root): New struct.
8250 (d_htab_roots): New variable.
8251 (ggc_add_deletable_htab, ggc_htab_delete): New functions
8252 (ggc_mark_roots): Handle deletable htabs.
8253 * ggc-page.c (ggc_marked_p): New function.
8254 * ggc-simple.c (ggc_marked_p): Likewise.
8255 * ggc.h: Reformatting throughout.
8256 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8257 * tree.c (init_obstacks): Make type_hash_table a deletable root.
8258 (type_hash_add): Allocate struct type_hash from GC memory.
8259 (mark_hash_entry, mark_type_hash): Deleted.
8260 (type_hash_marked_p, type_hash_mark): New functions.
8261 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8263 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
8265 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8268 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8270 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8271 array-too-large test for signed sizetype.
8273 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8275 * i386.md (indirect_jump): Allow Pmode operand.
8276 (tablejump): LIkewise; perform expansion to 64bit mode.
8277 * i386.c (symbolic_operand): Allow 64bit PIC references.
8278 (pic_symbolic_operand): Likewise.
8279 (ix86_find_base_term): Strip the 64bit PIC references.
8280 (legitimate_pic_address_disp_p): Handle 64bit PIC.
8281 (legitimize_pic_address): Likewise.
8282 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8283 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8285 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
8287 * stringpool.c (get_identifier_with_length): New function.
8288 * tree.h (get_identifier_with_length): New prototype.
8290 2001-09-19 Alan Modra <amodra@bigpond.net.au>
8291 David Edelsohn <edelsohn@gnu.org>
8294 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8295 already sign-extended.
8297 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8298 * config/rs6000/rs6000.c (logical_operand): Always compare op as
8300 (rs6000_emit_set_long_const): Avoid unnecessary shift.
8301 (output_profile_hook): Declare label_name const.
8302 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8303 to match constraints.
8305 2001-09-19 Stan Shebs <shebs@apple.com>
8307 * alias.c: Fix typos in comments.
8308 * sched-rgn.c (init_ready_list): Ditto.
8309 * unwind-dw2.c (uw_frame_state_for): Ditto.
8310 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8311 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8312 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8314 2001-09-19 Richard Henderson <rth@redhat.com>
8316 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8318 * Makefile.in (cfg.o): Depend on TM_P_H.
8320 2001-09-19 Richard Henderson <rth@redhat.com>
8322 * config/alpha/alpha.c (local_symbol_p): Split out from ...
8323 (local_symbolic_operand): ... here.
8324 (small_symbolic_operand): Check mode.
8325 (global_symbolic_operand): New.
8326 (input_operand): Reject symbolics if explicit relocs.
8327 (call_operand): Tidy.
8328 (alpha_legitimize_address): Use movdi_er_high_g.
8329 (alpha_expand_mov): Likewise.
8330 * config/alpha/alpha-protos.h: Update.
8331 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8332 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8333 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8334 (UNSPECV_LDGP2): Remove.
8335 (all call patterns): Use 's' not 'i' for symbolic constraint.
8336 (call_osf call_value_osf): Use call_operand.
8337 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
8338 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8339 (prologue_ldgp_1_er): Remove.
8340 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8341 (builtin_setjmp_receiver_er patterns): Use them.
8342 (exception_receiver_er): Likewise.
8344 2001-09-19 Richard Henderson <rth@redhat.com>
8346 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8348 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8349 and NON_LOCAL_GOTO notes.
8350 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
8351 copy over CALL_INSN_FUNCTION_USAGE.
8353 2001-09-18 Catherine Moore <clm@redhat.com>
8355 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8358 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
8360 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8361 new-style tm_file specification. Specify correct tm_p_file,
8362 md_file, and out_file for s390x.
8364 * config/s390/linux.h, linux64.h: Don't include other target
8365 macro header files. Now handled via tm_file.
8367 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8368 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8369 are defined before use.
8371 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
8373 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8374 code generation only for Gnu assembler.
8376 2001-09-18 Catherine Moore <clm@redhat.com>
8378 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8380 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
8382 * config/mips/mips.c (mips_frame_set): New.
8383 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8384 a parallel frame-related expression with a set for each register.
8386 2001-09-18 Philip Blundell <philb@gnu.org>
8388 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8391 2001-09-17 Dale Johannesen <dalej@apple.com>
8393 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8394 * config/rs6000/aix.h (FIXED_R2): Define.
8395 * config/rs6000/darwin.h (FIXED_R2): Define.
8396 * config/rs6000/sysv4.h (FIXED_R2): Define.
8398 2001-09-17 Jeff Sturm <jsturm@one-point.com>
8400 * except.c (dw2_build_landing_pads): New local
8401 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
8402 barrier after clobbers. Fixes c++/4012.
8404 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8406 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8408 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8410 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8411 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8413 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8415 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8418 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
8420 * cpphash.h (_cpp_lex_direct): New.
8421 * cpplex.c (_cpp_lex_token): Update.
8422 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8423 and increment that pointer.
8424 * cppmacro.c (alloc_expansion_token): New.
8425 (lex_expansion_token): Lex macro expansion directly into
8428 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
8430 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8432 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
8434 * basic-block.h (free_bb_for_insn): Declare.
8435 * bb-reorder.c (label_for_bb): Use block_label.
8436 (emit_jump_to_block_after): Remove.
8437 (insert_intra_1): Do not update block_for_insn.
8438 (insert_inter_bb_scope_notes): Likewise; update bb->end
8439 * cfg.c (free_bb_for_insn): New.
8440 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8441 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8442 (commit_one_edge_insertion): Likewise.
8443 (commit_one_edge_insertion): Do not update BB boundary.
8444 (commit_edge_insertions): Do not call compute_bb_for_insn.
8445 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8446 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8447 (merge_blocks_move_successor_nojumps): Likewise.
8448 (try_crossjump_to_edge): Do not update block_for_insn.
8449 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8450 * df.c (df_pattern_emit_later): Do not update BB boundary.
8451 (df_jump_pattern_emit_after): Likewise.
8452 (df_insn_move_before): Use emit_insn_before.
8453 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8455 (add_insn_after, add_insn_before, emit_insns_after): Update BB
8456 boundaries and basic_block_for_insn.
8457 (reorder_insns_nobb): Rename from reorder_insns.
8458 (reorder_insns): New.
8459 (emit_block_insn_before, emit_block_insn_after): Kill.
8460 * flow.c (check_function_return_warnings): Do not call
8461 compute_bb_for_insn; Do not free basic_block_for_insn.
8462 (attempt_auto_inc): Do not update basic_block_for_insn.
8463 * function.c (emit_return_into_block): Likewise;
8464 do not update BB boundaries.
8465 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8466 (insert_insn_end_bb): Use emit_insn_before; Likewise.
8467 (pre_insert_copy_insn): Likewise.
8468 (update_ld_motion_notes): Likewise.
8469 (insert_insn_start_bb): Likewise.
8470 (replace_store_insn): Likewise.
8471 * ifcvt.c (noce_process_if_block): Likewise.
8472 (if_convert): Do not call compute_bb_for_insn.
8473 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8474 Use emit_insn_before and emit_insn_after.
8475 * recog.c (split_all_insns): Do not update BB boundaries;
8476 Do not call compute_bb_for_insn.
8477 (peephole2_optimize): Do not update BB boundaries.
8478 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8480 (emit_swap_insn): Likewise.
8481 (convert_regs_1): Likewise.
8482 * reload1.c (reload): Call compute_bb_for_insn.
8483 * rtl.h (reorder_insns_nobb): Declare.
8484 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8485 * toplev.c (rest_of_compilation): Call free_bb_for_insn
8486 at places CFG is invalidated; do not call compute_bb_for_insn.
8488 * cfg.c (expunge_block): Invalidate BB structure.
8490 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8493 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8495 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8497 * cpphash.h (_cpp_lex_token): Update prototype.
8498 * cpplex.c (_cpp_lex_token): New prototype.
8499 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8500 lex_macro_node, read_flag, do_pragma_poison): Update.
8501 * cppmacro.c (cpp_get_token, parse_params,
8502 lex_expansion_token): Update.
8504 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8506 * cppmain.c (scan_translation_unit): Don't worry about
8507 putting a space after hashes.
8508 * cpplib.c (directive_diagnostics): New.
8509 (_cpp_handle_directive): Update to use directive_diagnostics.
8510 (run_directive): Don't toggle prevent_expansion.
8511 (do_line): Backup in case of the line extension.
8512 * cpplib.h (cpp_lexer_pos): Remove.
8513 * cppmacro.c (_cpp_create_definition): Precede a leading #
8516 2001-09-15 Richard Henderson <rth@redhat.com>
8518 * c-typeck.c (comptypes): Handle zero-length arrays properly.
8520 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8522 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8524 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8526 PR preprocessor/3571
8527 * tradcpp.c (handle_directive): Skip non-vertical space.
8529 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8531 * cppmain.c (setup_callbacks): Set line callback only
8532 if outputting preprocessed source.
8534 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8536 * collect2.c (main): Const-ification.
8537 * gcc.c (translate_options, process_command): Use xstrdup in
8538 lieu of xmalloc/strcpy.
8539 (main): Use concat in lieu of xmalloc/strcpy/strcat.
8541 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8543 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8546 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8548 * scan-decls.c (scan_decls): Fix typo.
8550 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8552 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8553 Split mlstring_pos into mls_line and mls_col.
8554 * cppinit.c (cpp_create_reader): Initialize line to 1.
8555 (cpp_destroy): Free tokenruns.
8556 (push_include): Don't update lexer_pos.
8557 * cpplex.c (unterminated, parse_string): Update.
8558 (lex_token): Don't update lexer_pos, update.
8559 * cpplib.c (if_stack): Save line instead of line + col.
8560 (start_directive, _cpp_do__Pragma, do_else, do_elif,
8561 push_conditional, _cpp_pop_buffer): Update.
8562 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8563 (_cpp_create_definition): Update.
8565 2001-09-15 Eric Christopher <echristo@redhat.com>
8567 * config/mips/abi64.h: Add support for MEABI.
8569 2001-09-15 Eric Christopher <echristo@redhat.com>
8571 * config/mips/mips.md: Add unspec #2.
8573 (reload_outdi): Ditto.
8574 (reload_outsi): Ditto.
8577 2001-09-15 Eric Christopher <echristo@redhat.com>
8578 Jason Eckhardt <jle@redhat.com>
8580 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8581 * config/mips/isa32-linux.h: New file.
8582 * config/mips/isa3264.h: Ditto.
8583 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8584 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8585 (output_block_mode): Support MEABI.
8586 (function_arg): Ditto. Fix floating point arg passing.
8587 (mips_va_start): Ditto.
8588 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8590 (mips_asm_file_start): Add new section to pass abi to gdb.
8591 (function_arg_pass_by_reference): Support MEABI.
8592 (mips_parse_cpu): Support mips32 and mips64 processors.
8593 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8594 TARGET_MIPS5KC. Support isa32 and isa64.
8595 (processor_type): Add r4kc, r5kc, r20kc.
8596 (GENERATE_MULT3_SI): New.
8597 (GENERATE_MULT3_DI): Ditto.
8598 (GENERATE_MULT3): Remove.
8599 (ISA_HAS_64BIT_REGS): Add isa == 64.
8600 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8601 (ISA_HAS_MADD_MSUB): New.
8602 (ISA_HAS_CLZ_CLO): Ditto.
8603 (ISA_HAS_DCLZ_DCLO): Ditto.
8604 (ABI_GAS_ASM_SPEC): New.
8605 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8608 (SUBTARGET_CC1_SPEC): Ditto.
8609 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8610 (PAD_VARARGS_DOWN): Support MEABI.
8611 (HARD_REGNO_NREGS): Move to mips.c.
8612 (ASM_OUTPUT_IDENT): Add #undef.
8613 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8614 (mulsi3): Use GENERATE_MULT3_SI.
8615 (mulsi3_mult3): Ditto. Support mips32, mips64.
8616 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8617 (mul_sub_si): New pattern.
8618 (unnamed splitters): New.
8619 (muldi3): Use GENERATE_MULT3_DI.
8620 (muldi3_internal2): Ditto.
8621 (movdicc): Support mips32.
8622 * config/mips/t-isa3264: New file.
8624 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
8626 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8627 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8628 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8630 * reorg.c (fill_slots_from_thread): After call to
8631 steal_delay_list_from_target, update own_thread as new_thread may
8634 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
8636 * cpperror.c (print_location): Take line and column, for
8637 default positioning use the previously lexed token.
8638 (_cpp_begin_message): Take line and column.
8639 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8640 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8641 * cpphash.h (_cpp_begin_message): Update prototype.
8642 * cppinit.c (push_include): Don't set output line.
8643 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8644 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8645 (do_pragma): Kludge for front ends. Don't expand macros at all.
8646 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8647 (struct cpp_token): Remove output_line.
8648 (struct cpp_callbacks): New member line_change.
8649 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8650 cpp_get_token): Preserve BOL flag.
8651 (cpp_get_line): Remove.
8652 (_cpp_backup_tokens): Remove useless abort().
8653 * cppmain.c (cb_line_change): New.
8654 (scan_translation_unit): Don't worry about starting new lines here.
8655 * scan-decls.c (scan_decls): Update.
8656 * c-lex.c (c_lex, init_c_lex): Update.
8657 (cb_line_change, src_lineno): New.
8659 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
8661 * tree.c (append_random_chars): Generate the random
8662 characters in a reproducable fashion.
8664 2001-09-14 Richard Henderson <rth@redhat.com>
8666 * config/i386/i386.c (internal_label_prefix): New.
8667 (internal_label_prefix_len): New.
8668 (override_options): Set them.
8669 (local_symbolic_operand): New.
8670 (legitimate_pic_address_disp_p): Use it.
8671 (legitimize_pic_address): Likewise.
8673 2001-09-14 Marc Espie <espie@openbsd.org>
8675 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
8678 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8680 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8681 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8683 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8685 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8686 invocation of SUBREG_REGNO_OFFSET.
8688 * haifa-sched.c: Fix typo in FSF copyright statement.
8689 * sched-deps.c: Fix typo in FSF copyright statement.
8690 * sched-ebb.c: Fix typo in FSF copyright statement.
8691 * sched-rgn.c: Fix typo in FSF copyright statement.
8692 * sched-vis.c: Fix typo in FSF copyright statement.
8694 * config.gcc: Move inclusion of arm elf specific header files
8695 from the files themselves into the tm_file variable. Make
8696 sure that elfos.h is included before target specific elf
8698 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8700 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
8701 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
8702 ASM_OUTPUT_CASE_LABEL): Protect definition.
8703 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
8704 not already defined.
8705 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
8706 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
8707 Remove duplicate definition.
8708 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
8709 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
8710 (RDATA_SECTION_FUNCTION): Remove redundant definition.
8711 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
8712 Remove inclusion of arm/elf.h.
8713 * config/arm/unknown-elf.h: as for conix-elf.h.
8714 (STARTFILE_SPEC): Include crti.o and crtn.o.
8715 * config/arm/linux-elf.h: as for conix-elf.h.
8716 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
8717 * config/arm/strongarm-elf.h: Remove inclusion of
8719 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
8720 * config/arm/unknown-elf-oabi.h: Remove inclusion of
8721 unknown-elf.h and elf.h.
8722 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
8723 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
8724 ASM_WEAKEN_LABEL): Remove redundant definition.
8725 * config/arm/elf.h: Test for inclusion of elfos.h
8726 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
8727 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
8728 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
8729 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
8730 redundant definition.
8731 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
8732 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
8733 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
8734 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
8735 Add rules to build crti.o and crtn.o
8736 * crti.asm: New file.
8737 * crtn.asm: New file.
8739 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
8741 * c-parse.in (_yylex): Use _cpp_backup_tokens.
8742 * cpphash.h (struct tokenrun): Add prev.
8743 (struct lexer_state): Remove bol.
8744 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
8745 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
8747 * cppinit.c (cpp_create_reader): Don't set bol.
8748 (cpp_destroy): Don't free lookaheads.
8749 * cpplex.c (lex_directive): Remove.
8750 (next_tokenrun): Update.
8751 (_cpp_lex_token): Clean up logic.
8752 (lex_token): Update to return a pointer to lexed token, since it
8753 can move to the start of the buffer. Simpify newline handling.
8754 * cpplib.c (SEEN_EOL): Update.
8755 (skip_rest_of_line): Remove lookahead stuff.
8756 (end_directive): Line numbers are already incremented. Revert
8757 to start of lexed token buffer if we can.
8758 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
8759 parse_answer): Use _cpp_backup_tokens.
8760 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
8761 instead. Don't check for EOL.
8762 (do_include_common, do_line, do_pragma_system_header): Use
8764 * cpplib.h (BOL, _cpp_backup_tokens): New.
8765 * cppmacro.c (save_lookahead_token, take_lookahead_token,
8766 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
8767 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
8768 (builtin_macro): Don't use cpp_get_line.
8769 (cpp_get_line): Short term kludge.
8770 (parse_arg): Handle directives in arguments here. Back up when
8771 appropriate. Store EOF at end of argument list.
8772 (funlike_invocation_p): Use _cpp_backup_tokens.
8773 (push_arg_context): Account for EOF at end of list.
8774 (cpp_get_token): Remove lookahead stuff. Update.
8776 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8778 * c-parse.in (yyerror): Const-ification and/or static-ization.
8779 * c-typeck.c (push_member_name): Likewise.
8780 * collect2.c (main): Likewise.
8781 * dbxout.c (dbxout_parms): Likewise.
8782 * diagnostic.c (format_with_decl): Likewise.
8783 * dwarf2out.c (output_ranges): Likewise.
8784 * dwarfout.c (fundamental_type_code): Likewise.
8785 * except.c (dw2_output_call_site_table): Likewise.
8786 * gcc.c (do_spec_1): Likewise.
8787 * genopinit.c (optabs): Likewise.
8788 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
8789 gen_declaration_1, handle_impent): Likewise.
8790 * protoize.c (default_include, in_system_include_dir, abspath):
8792 * sched-vis.c (visualize_stall_cycles): Likewise.
8793 * sdbout.c (plain_type_1, sdbout_end_function,
8794 sdbout_end_epilogue): Likewise.
8795 * varasm.c (decode_reg_name): Likewise.
8797 * 1750a.c (mod_regno_adjust): Likewise.
8798 * alpha.c (alpha_write_one_linkage,
8799 unicosmk_output_default_externs): Likewise.
8800 * arm.c (arm_condition_codes): Likewise.
8801 * arm.h (arm_condition_codes): Likewise.
8802 * avr.c (output_movsisf, encode_section_info): Likewise.
8803 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
8805 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8806 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8807 * m88k.c (output_function_profiler): Likewise.
8808 * mips.c (mips_output_conditional_branch): Likewise.
8809 * ns32k.c (ns32k_out_reg_names): Likewise.
8810 * ns32k.h (ns32k_out_reg_names): Likewise.
8811 * pj.c (pj_output_rval): Likewise.
8812 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
8813 * sparc.c (sparc_flat_function_prologue,
8814 sparc_flat_function_epilogue): Likewise.
8816 2001-09-13 Markus Werle <numerical.simulation@web.de>
8817 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8819 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
8820 Aachen University of Technology".
8822 2001-09-13 Andreas Schwab <schwab@suse.de>
8824 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
8827 2001-09-13 Richard Henderson <rth@redhat.com>
8829 * config/alpha/alpha.c (small_symbolic_operand): New.
8830 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
8831 (some_operand, input_operand): Don't handle HIGH.
8832 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
8833 (alpha_expand_mov): Likewise.
8834 (print_operand) [H]: Just print HIGH symbol.
8835 (print_operand_address): Handle small data.
8836 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
8837 (TARGET_SWITCHES): Add -msmall-data/large-data.
8838 (PIC_OFFSET_TABLE_REGNUM): New.
8839 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
8840 (PREDICATE_COES): Update.
8841 * config/alpha/alpha.md (adddi_er_high): New.
8842 (adddi_er_low): Handle small data.
8843 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
8844 prefer .sdata to .rodata.
8845 (SELECT_RTX_SECTION): Likewise.
8847 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
8849 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
8850 defining __size_t and leaving size_t undefined.
8852 2001-09-12 Diego Novillo <dnovillo@redhat.com>
8854 * basic-block.h (expunge_block): Declare.
8855 * cfg.c (expunge_block): Remove static declaration.
8857 2001-09-12 Richard Henderson <rth@redhat.com>
8859 * integrate.c (copy_insn_list): Copy label name from
8860 NOTE_INSN_DELETED_LABEL.
8862 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8864 * c-common.c (c_tree_code_name): Const-ification.
8865 * c-decl.c (c_decode_option): Likewise.
8866 * c-typeck.c (warn_for_assignment): Likewise.
8867 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
8869 * cppinit.c (output_deps): Likewise.
8870 * dependence.c (dependence_string, direction_string): Likewise.
8871 * dwarf2out.c (output_ranges): Likewise.
8872 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
8873 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
8874 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
8875 standard_startfile_prefix, standard_startfile_prefix_1,
8876 standard_startfile_prefix_2, tooldir_base_prefix,
8877 standard_bindir_prefix, find_a_file): Likewise.
8878 * genattrtab.c (make_length_attrs): Likewise.
8879 * gencheck.c (tree_codes): Likewise.
8880 * genemit.c (gen_split): Likewise.
8881 * genrecog.c (special_mode_pred_table): Likewise.
8882 * graph.c (graph_ext): Likewise.
8883 * protoize (default_include): Likewise.
8884 * reload.c (reload_when_needed_name): Likewise.
8885 * sched-vis.c (visualize_stall_cycles): Likewise.
8886 * tlink.c (recompile_files): Likewise.
8887 * toplev.c (decode_g_option): Likewise.
8888 * tradcpp.c (output_deps): Likewise.
8889 * varasm.c (decode_reg_name): Likewise.
8891 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
8894 * avr.c (avr_regnames, encode_section_info): Likewise.
8895 * c4x.c (float_reg_names): Likewise.
8896 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
8897 * elfos.h (const_section): Likewise.
8898 * i386.c (ix86_comp_type_attributes): Likewise.
8899 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
8900 * ia64/aix.h (UNIQUE_SECTION): Likewise.
8901 * ia64.c (type_names): Likewise.
8902 * m68hc11.c (reg_class_names): Likewise.
8903 * m88k.c (m_options): Likewise.
8904 * mips.c (mips_output_conditional_branch, mips_unique_section):
8906 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
8907 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
8908 ultra_code_names): Likewise.
8909 * sparc.h (OVERRIDE_OPTIONS): Likewise.
8911 2001-09-12 Jakub Jelinek <jakub@redhat.com>
8913 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
8914 Use --fatal-warnings option for gas.
8915 * configure: Rebuilt.
8917 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8919 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
8921 2001-09-11 Jim Wilson <wilson@redhat.com>
8923 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
8925 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8927 * builtins.c (c_strlen): Treat an offset too large for a
8928 HOST_WIDE_INT as out of range.
8930 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
8932 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
8933 (EDGE_CRITICAL_P): New predicate.
8934 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
8936 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
8937 (dump_edge_info): Remove "crit".
8938 * cfganal.c (mark_critical_edges): Kill.
8939 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
8940 * cfgcleanup.c (cleanup_cfg): Likewise.
8941 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
8942 (find_spanning_tree): Likewise.
8943 * reg-stack.c (convert_regs_1): Likewise.
8944 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
8946 * basic-block.h (create_basic_block_structure): New.
8947 (create_basic_block): Update prototype.
8948 (force_nonfallthru): New.
8949 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
8950 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
8951 handle updating of block_for_insn, creating of empty BBs and BBs at
8952 the end of INSN chain.
8953 (create_basic_block): New function.
8954 (split_block): Use create_basic_block.
8955 (force_nonfallthru_and_redirect): Break out from ...; cleanup
8956 (redirect_edge_and_branch_force): ... here.
8957 (force_nonfallthru): New.
8958 (split_edge): Rewrite to use force_nonfallthru and create_block.
8959 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
8960 (find_basic_blocks): Free basic_block_for_insn.
8961 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
8963 * cfg.c: Fix formating.
8964 * cfgcleanup.c: Fix formating.
8965 (merge_blocks, tail_recursion_label_p): Return bool.
8966 (merge_blocks_move_predecessor_nojumps,
8967 merge_blocks_move_successor_nojumps): Return void.
8969 2001-09-11 Jakub Jelinek <jakub@redhat.com>
8971 * configure.in: Check whether assembler supports section merging.
8972 * config.in: Rebuilt.
8973 * configure: Rebuilt.
8974 * varasm.c (variable_section, output_constant_pool): Pass alignment
8975 to SELECT_SECTION and SELECT_RTX_SECTION.
8976 (mergeable_string_section): New.
8977 (mergeable_constant_section): New.
8978 (default_elf_asm_named_section): Output SECTION_MERGE and
8979 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
8980 * output.h (mergeable_string_section): New.
8981 (mergeable_constant_section): New.
8982 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
8983 * toplev.c (flag_merge_constants): New.
8984 (f_options): Add -fmerge-constants and -fmerge-all-constants
8986 (toplev_main): Default to -fno-merge-constants if not optimizing.
8987 * flags.h (flag_merge_constants): Add extern.
8988 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
8989 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
8991 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
8992 Define if assembler has working .subsection -1 support.
8993 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
8994 Put constant into special SHF_MERGE sections if the linker should
8995 attempt to merge duplicates.
8996 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
8998 Put constant into special SHF_MERGE sections if the linker should
8999 attempt to merge duplicates.
9000 * config/alpha/elf.h: Likewise.
9001 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9002 has working .subsection -1 support.
9003 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9005 * config/svr3.h: Likewise.
9006 * config/darwin.h: Likewise.
9007 * config/arm/aof.h: Likewise.
9008 * config/arm/linux-elf.h: Likewise.
9009 * config/avr/avr.h: Likewise.
9010 * config/c4x/c4x.h: Likewise.
9011 * config/d30v/d30v.h: Likewise.
9012 * config/i386/dgux.h: Likewise.
9013 * config/i386/osfrose.h: Likewise.
9014 * config/i386/sco5.h: Likewise.
9015 * config/i386/svr3gas.h: Likewise.
9016 * config/ia64/aix.h: Likewise.
9017 * config/m32r/m32r.h: Likewise.
9018 * config/m68k/m68k.h: Likewise.
9019 * config/m88k/dgux.h: Likewise.
9020 * config/m88k/m88k.h: Likewise.
9021 * config/mcore/mcore-pe.h: Likewise.
9022 * config/mips/mips.h: Likewise.
9023 * config/pa/pa.h: Likewise.
9024 * config/pa/pa-linux.h: Likewise.
9025 * config/romp/romp.h: Likewise.
9026 * config/rs6000/sysv4.h: Likewise.
9027 * config/rs6000/xcoff.h: Likewise.
9028 * config/s390/linux.h: Likewise.
9029 * config/sparc/sparc.h: Likewise.
9030 * config/sparc/sysv4.h: Likewise.
9031 * config/stormy16/stormy16.h: Likewise.
9032 * config/v850/v850.h: Likewise.
9033 * config/vax/vms.h: Likewise.
9034 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9035 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9036 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9037 default_elf_asm_named_section for SHF_MERGE sections.
9039 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9041 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9044 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9046 * c-common.c (split_specs_attrs): Allow for empty attributes with
9047 empty TREE_PURPOSE. Fixes PR c/4294.
9049 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9051 * basic-block.h (cached_make_edge, make_single_succ): New.
9052 (make_edge): Remove first parameter.
9053 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9054 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9055 created edge; use obstack allocation.
9056 (make_edge, make_single_succ_edge): New.
9057 (first_removed_edge): New static variable.
9058 (init_flow): Initialize first_removed_edge and n_edges.
9059 (clear_edges): Use remove_edge.
9060 (flow_delete_block): Likewise.
9061 (remove_edge): Add removed edges to the removed edges list.
9062 (split_block, redirect_edge_and_branch_force, split_edge):
9064 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9065 (add_noreturn_fake_exit_edges): Likewise.
9066 (connect_infinite_loops_to_exit): Liekwise.
9067 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9068 Use cached_make_edge.
9069 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9070 * profile.c (branch_prob): Update make_edge call.
9071 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9073 2001-09-11 Richard Henderson <rth@redhat.com>
9075 * config/alpha/alpha.c: Tidy formatting.
9076 (local_symbolic_operand): Verify mode.
9077 (alpha_sa_mask): Ignore unicos for eh_return.
9078 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9079 * config/alpha/alpha.md (umk divsi patterns): Remove.
9080 (extendsfdf2): Remove unicos check.
9081 (tablejump): Merge vms and unicos code; always use direct set
9084 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9086 * config.gcc (alpha*-*-unicosmk*): New target.
9088 * config/alpha/alpha-protos.h (symbolic_operand,
9089 unicosmk_add_call_info_word, unicosmk_add_extern,
9090 unicosmk_defer_case_vector, unicosmk_unique_section,
9091 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9092 unicosmk_asm_file_start, unicosmk_asm_file_end,
9093 unicosmk_output_common): Declare.
9095 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9096 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9097 alpha_does_function_need_gp, alpha_end_function): Support Cray
9099 (alpha_init_machine_status, alpha_mark_machine_status,
9100 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9101 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9102 unicosmk_asm_named_section, unicosmk_insert_attributes,
9103 unicosmk_section_type_flags, symbolic_operand,
9104 unicosmk_output_module_name, unicosmk_output_default_externs,
9105 unicosmk_output_dex, unicosmk_output_externs,
9106 unicosmk_output_addr_vec, unicosmk_ssib_name,
9107 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9108 unicosmk_asm_file_end, unicosmk_output_common,
9109 unicosmk_section_type_flags, unicosmk_unique_section,
9110 unicosmk_add_call_info_word, unicosmk_text_section,
9111 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9112 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9113 unicosmk_dex_count, unicosmk_special_name): New.
9114 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9115 TARGET_ABI_UNICOSMK.
9116 (get_aligned_mem, alpha_expand_unaligned_load,
9117 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9118 alpha_expand_unaligned_store_words): Support big-endian mode.
9119 (print_operand): Likewise. New format specifier 't'. Use
9120 TARGET_AS_SLASH_BEFORE_SUFFIX.
9121 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9122 (alpha_pv_save_size): Update with above change.
9123 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9124 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9127 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9128 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9129 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9130 (EXTRA_CONSTRAINT): New constraint 'U'.
9131 (PREDICATE_CODES): Add symbolic_operand.
9133 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9134 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9135 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9136 (integer division and modulus patterns): Split in default and
9138 (*divmodsi_internal, *divmoddi_internal): Disable for
9139 TARGET_ABI_UNICOSMK.
9140 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9141 little-endian and big-endian versions.
9142 (ext, ins, msk): Likewise.
9143 (extv, extzv, insv): Support big-endian mode.
9144 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9145 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9146 *tablejump_umk_internal, *call_value_umk): New.
9147 (*movdi_nofix): Add pattern for loading an address into a register on
9148 TARGET_ABI_UNICOSMK.
9149 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9150 (umk_mismatch_args, arg_home_umk): New.
9151 (various insns): Don't use mov, fmov, nop, fnop and unop.
9152 (realign): Support TARGET_ABI_UNICOSMK.
9154 * config/alpha/unicosmk.h: New file.
9155 * config/alpha/t-unicosmk: New file.
9157 * fixinc/inclhack.def (unicosmk_restrict): New.
9158 * fixinc/fixincl.x: Regenerate.
9160 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9161 (wchar_t): Check for and define __WCHAR_T__.
9163 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
9165 * combine.c (simplify_shift_const): Treat shifts by the mode
9168 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9170 * cpphash.h (struct tokenrun): New.
9171 (struct cpp_context): New member bol.
9172 (struct cpp_reader): New members.
9173 (_cpp_init_tokenrun): New.
9174 * cppinit.c (cpp_create_reader): Set up the token runs.
9175 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9176 (lex_token): New internalised version of _cpp_lex_token. Don't
9177 handle directives or the multiple include optimization here any
9178 more. Simply lex a token.
9179 * cpplib.c (run_directive): Clear bol.
9180 (_cpp_pop_buffer): Set bol.
9181 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9184 2001-09-11 Michael Meissner <meissner@redhat.com>
9186 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9187 give an error if the user uses -mfp32.
9188 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9190 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9191 floating point register size.
9192 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9194 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9195 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9197 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9198 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9200 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
9202 * dbxout.c (dbxout_parms): Fix typo in comment.
9203 * unroll.c (loop_find_equiv_value): Ditto.
9204 * toplev.c (rest_of_compilation): Ditto.
9205 * loop.c (scan_loop): Ditto.
9206 * dwarf2out.c (struct dw_fde_struct): Ditto.
9208 2001-09-10 Zack Weinberg <zackw@panix.com>
9210 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
9211 copying identifier when we're just going to throw it away.
9212 (parse_identifier_slow): New routine to handle abnormal cases.
9213 (_cpp_lex_token): Update call site.
9215 * hashtable.c (ht_lookup): Don't assume that the string we've
9216 been given is NUL-terminated.
9217 * system.h: #define __builtin_expect(a, b) to (a) if not
9220 2001-09-10 Michael Meissner <meissner@redhat.com>
9222 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9225 2001-09-10 David Edelsohn <edelsohn@gnu.org>
9227 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9229 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9231 * builtins.c (c_getstr): Correct thinko in last change and further
9234 2001-09-10 Tim Freeman <tim@fungibole.com>
9236 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9237 into varray's and register them as roots with the garbage
9238 collector so they are not collected too soon.
9240 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
9242 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9244 * basic-block.h (flow_obstack, label_value_list,
9245 tail_recursion_label_list): Declare
9246 (tidy_fallthru_edges): Declare.
9247 (expunge_block, last_loop_beg_note): Delete.
9248 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9250 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9251 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9252 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9253 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9254 expunge_block, flow_delete_block, compute_bb_for_insn,
9255 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9256 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9257 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9258 try_redirect_by_replacing_jump, last_loop_beg_note,
9259 redirect_edge_and_branch, redirect_edge_and_branch_force,
9260 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9261 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9262 commit_edge_insertions, dump_flow_info, debug_flow_info,
9263 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9264 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9265 Move here from flow.c
9266 * cfganal.c: New file.
9267 (forwarder_block_p, can_fallthru, mark_critical_edges,
9268 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9269 find_unreachable_blocks, create_edge_list, free_edge_list,
9270 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9271 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9272 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9273 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9274 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9275 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9276 Move here from flow.c
9277 * cfgbuild.c: New file
9278 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9279 make_edges, find_basic_blocks_1, find_basic_blocks,
9280 find_sub_basic_blocks): Move here from flow.c
9281 * cfgcleanup.c: New file.
9282 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9283 merge_blocks_move_predecessor_nojumps,
9284 merge_blocks_move_successor_nojumps, merge_blocks,
9285 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9286 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9287 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9289 * cfgloop.c: New file
9290 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9291 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9292 flow_loop_exit_edges_find, flow_loop_nodes_find,
9293 flow_loop_pre_header_scan, flow_loop_pre_header_find,
9294 flow_loop_tree_node_add, flow_loops_tree_build,
9295 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9296 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9297 Move here from flow.c
9298 * flow.c: Remove everything moved elsewhere
9299 * output.h (cleanup_cfg): Return bool.
9301 * bb-reorder.c (reorder_block_def): Remove 'index'.
9302 (insert_intra_1): Add argument BB, set block for new note.
9303 (make_reorder_chain): Do not depdent on BB indexes.
9304 (make_reorder_chain_1): Do not use BB indexes.
9305 (label_for_bb): Likewise; set BB for new insn.
9306 (emit_jump_to_block_after): Likewise.
9307 (fixup_reorder_chain): Sanity check that all basic blocks
9308 are chained; verify newly created insn chain; remove
9309 undocnitional jump simplifying; Do not use BB indexes;
9310 properly initialize count and frequency information;
9311 dump reordered sequence.
9312 (insert_intra_bb_scope_notes): update call of insert_intra_1.
9313 (insert_inter_bb_scope_notes): Set block for new insn.
9314 (reorder_basic_blocks): Dump flow info before reoredering.
9316 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9318 * alias.c (clear_reg_alias_info): Use K&R format definition.
9319 Avoid unsigned warning.
9320 * builtins.c: Use "unsigned int", not "unsigned".
9321 (target_char_cast): Use host_integerp and tree_low_cst.
9322 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9323 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9324 (c_getstr): Likewise.
9325 (std_expand_builtin_va_arg): Use int_size_in_bytes.
9326 (builtin_memcpy_read_str): Avoid unsigned warning.
9327 (expand_builtin_memcpy): Alignments are unsigned.
9328 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9329 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9330 * predict.c (expensive_function_p): LIMIT now unsigned.
9331 * resource.c (mark_target_live_regs): Make some vars unsigned.
9332 * sdbout.c: Use "unsigned int", not "unsigned".
9333 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9334 (sdbout_source_line): Likewise.
9335 (sdbout_record_type_name): Remove "const" for NAME declaration.
9336 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9338 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
9340 * calls.c (store_one_arg): Expand comment.
9342 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9344 * calls.c (store_one_arg): Make sure that the entire argument is
9345 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9347 2001-09-09 Richard Henderson <rth@redhat.com>
9349 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9351 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
9353 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9355 2001-09-09 Richard Henderson <rth@redhat.com>
9357 * config/alpha/alpha.c (alpha_next_sequence_number): New.
9358 (alpha_this_literal_sequence_number): New.
9359 (alpha_this_gpdisp_sequence_number): New.
9360 (some_operand, input_operand): Add HIGH.
9361 (local_symbolic_operand): New.
9362 (alpha_encode_section_info): New.
9363 (alpha_legitimate_address_p): Allow LO_SUM.
9364 (alpha_legitimize_address): Generate HIGH+LO_SUM.
9365 (alpha_expand_mov): Likewise.
9366 (secondary_reload_class): Check memory_operand not general_operand
9368 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9369 (alpha_expand_unaligned_store): Likewise.
9370 (alpha_expand_unaligned_load_words): Likewise.
9371 (alpha_expand_unaligned_store_words): Likewise.
9372 (alpha_expand_block_clear): Likewise.
9373 (print_operand): Handle %#, %*, %H.
9374 (print_operand_address): Handle LO_SUM.
9376 (alpha_does_function_need_gp): Use it.
9377 (alpha_expand_block_move): Fix signed compare warnings.
9378 (alpha_sa_mask, alpha_align_insns): Likewise.
9379 * config/alpha/alpha-protos.h: Update.
9380 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9381 (MASK_EXPLICIT_RELOCS): New.
9382 (TARGET_SWITCHES): Add -mexplicit-relocs.
9383 (EXTRA_CONSTRAINT): Add 'T'.
9384 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9385 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9386 (ENCODE_SECTION_INFO): Out line.
9387 (REDO_SECTION_INFO_P): New.
9388 (STRIP_NAME_ENCODING): New.
9389 (ASM_OUTPUT_LABELREF): New.
9390 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9391 (PREDICATE_CODES): Update.
9392 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9393 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9394 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9395 builtin_setjmp_receiver_er, exception_receiver_1_er,
9396 call_value_osf_1_er): New patterns.
9397 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9398 (movqi, movhi, movsi): Add explicit $31 base register to lda.
9399 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9400 (FINAL_PRESCAN_INSN): New.
9402 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
9404 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9406 2001-09-08 Andreas Jaeger <aj@suse.de>
9408 * i386.h (TARGET_SWITCHES): Fix description.
9410 2001-09-07 David Edelsohn <edelsohn@gnu.org>
9412 * rs6000.c (num_insns_constant): Compute number of instructions
9415 * doc/install.texi: Explain AIX exception handling work-around.
9416 Update URL for AIX fixes.
9418 2001-09-07 Jim Wilson <wilson@redhat.com>
9420 * alias.c (clear_reg_alias_info): New.
9421 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9422 * rtl.h (clear_reg_alias_info): Declare.
9424 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9426 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9428 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9429 (m16m,edivm,emulm): Change declaration to match definition.
9431 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9433 * reload.c (push_reload): Check for subreg_lowpart_p instead of
9434 SUBREG_BYTE being 0 when determining if the inner part of a subreg
9437 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9439 * c-common.c (signed_or_unsigned_type): Handle machine mode types
9440 which have no corresponding C type.
9441 * fold_const.c (target_isinf,target_isnan,target_negative): Update
9442 the representation of 64-bit doubles to work with 64-bit ints.
9444 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
9446 * config/mips/mips.c (override_options): Do not override ISA when ABI
9447 specified if MIPS_CPU_STRING_DEFAULT was specified.
9449 2001-09-07 Richard Henderson <rth@redhat.com>
9451 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9452 (express_from_1): Wrap lines.
9453 * rtlanal.c (commutative_operand_precedence): Rename from
9454 operand_preference; export.
9455 * rtl.h: Declare it.
9456 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9457 (simplify_binary_operation): Invoke simplify_plus_minus on
9458 (CONST (PLUS ...)) as well.
9459 (struct simplify_plus_minus_op_data): New.
9460 (simplify_plus_minus_op_data_cmp): New.
9461 (simplify_plus_minus): Use them. Avoid infinite recursion with
9462 simplify_binary_operation wrt CONST.
9464 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
9466 * h8300-protos.h (general_operand_dst_push): Remove.
9467 * h8300.c (general_operand_dst_push): Likewise.
9468 * h8300.h (OK_FOR_T): Likewise.
9469 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9470 * h8300.md (pushqi_h8300): New.
9471 (pushqi_h8300hs): Likewise.
9473 (pushhi_h8300): Likewise.
9474 (pushhi_h8300hs): Likewise.
9477 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9479 * genattrtab.c (attr_printf): First arg is unsigned.
9480 Clean up formatting of callers.
9482 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
9484 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9487 2001-09-07 Andreas Jaeger <aj@suse.de>
9489 * i386.h (TARGET_SWITCHES): Fix descriptions.
9491 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9493 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9495 2001-09-06 Ira Ruben <ira@apple.com>
9497 Remove OP_IDENTIFIER.
9498 * tree.def (OP_IDENTIFIER): Remove.
9499 * tree.c (tree_node_kind enum): Remove op_id_kind.
9500 (tree_node_kind_names): Remove "op_identifiers".
9501 (make_node): Remove OP_IDENTIFIER test.
9502 (build_op_identifier): Removed because it isn't being used.
9503 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9504 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9506 2001-09-06 Richard Henderson <rth@redhat.com>
9508 * simplify-rtx.c (simplify_binary_operation): Revert last change.
9510 2001-09-06 Richard Henderson <rth@redhat.com>
9512 * simplify-rtx.c (simplify_binary_operation): Simplify contents
9515 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9517 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9518 number used for CR register.
9520 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9521 Joern Rennecke (amylaar@cygnus.com)
9523 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9524 * h8300.c (initial_offset): Handle offset between RP and FP.
9525 (h8300_return_addr_rtx): New function.
9526 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9528 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9529 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9530 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9531 (CAN_ELIMINATE, REGISTER_NAMES):
9532 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9534 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
9536 Remove TYPE_NONCOPIED_PARTS.
9537 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9538 (struct tree_type): Remove noncopied_parts.
9539 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9540 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9541 (fixed_type_p): Remove.
9542 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9543 (expand_expr, MODIFY_EXPR): Likewise.
9544 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9545 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9547 2001-09-06 Alan Modra <amodra@bigpond.net.au>
9549 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9551 (mask64_operand): Likewise.
9552 (includes_rldic_lshift_p): Likewise.
9553 (includes_rldicr_lshift_p): Likewise.
9555 2001-09-05 Ziemowit Laski <zlaski@apple.com>
9557 * objc/objc-act.c (build_message_expr): If a class method cannot
9558 be found, do not issue a warning if a corresponding instance
9559 method exists in the root class.
9561 2001-09-05 Richard Henderson <rth@redhat.com>
9563 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9565 2001-09-05 Zack Weinberg <zack@codesourcery.com>
9567 * function.c (ggc_mark_struct_function): Mark f->outer.
9568 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9569 * integrate.c (output_inline_function): ... not here.
9571 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9573 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9575 * i386.c (size_cost): New static variable.
9576 (override_function): Use size_cost when -Os is specified.
9578 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9579 properly; Use current_function_calls_eh_return.
9580 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9581 use leave to avoid dependency chain.
9583 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9584 get BB loop_depth instead of computing it from LOOP notes.
9586 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9588 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
9590 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9591 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9592 UNALIGNED_DOUBLE_INT_ASM_OP): Define
9594 2001-09-05 Jeffrey A Law (law@cygnus.com)
9595 Jason Merrill (jason@redhat.com)
9597 * stor-layout.c (layout_type): Complain if an array's size can
9598 not be represented in a size_t.
9600 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9602 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
9604 * gcc.c: (process_command) Add parentheses around assignment
9605 used as truth value.
9607 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9609 * config/mips/mips.c (save_restore_insns): Don't mark any register
9610 save slots as unchanging if current_function_calls_eh_return.
9612 2001-09-05 Richard Henderson <rth@redhat.com>
9614 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9615 * config/alpha/alpha-protos.h: Declare it.
9616 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9617 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9618 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9619 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9620 (REG_OK_FOR_BASE_P): Select one of the above.
9622 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9624 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9625 (crti.o): Prefix name of object file with $(T).
9628 2001-09-05 David S. Miller <davem@redhat.com>
9630 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9631 * config/sparc/linux64.h: Likewise.
9633 2001-09-05 Andreas Jaeger <aj@suse.de>
9635 * doc/invoke.texi (i386 Options): -mwide-multiply is not
9636 available anymore, remove the documentation.
9637 (i386 Options): Fix typo, cleanup index entries.
9639 * prefix.c (concat): Remove, we can use the version from liberty.
9641 2001-09-05 Richard Henderson <rth@redhat.com>
9643 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9644 New functions split out of md file expanders.
9645 * config/alpha/alpha-protos.h: Declare them.
9646 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9648 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
9650 * cppmacro.c (funlike_invocation_p): No need to restore context.
9652 2001-09-04 Richard Henderson <rth@redhat.com>
9654 * reload.c (push_reload): Export.
9655 * reload.h (push_reload): Declare it.
9657 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9658 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9659 * config/alpha/alpha.c (alpha_legitimize_address): New.
9660 (alpha_legitimize_reload_address): Likewise.
9661 * config/alpha/alpha-protos.h: Declare them.
9663 2001-09-04 Stan Shebs <shebs@apple.com>
9665 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9666 * config/darwin.c (machopic_stub_name): Account for internally
9667 generated lib calls such as memcpy.
9669 2001-09-04 Richard Henderson <rth@redhat.com>
9671 * unwind.h (_UA_END_OF_STACK): New flag.
9672 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9674 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9676 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9678 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
9680 * config/mips/mips.c (save_restore_insns): Change base_offset to
9681 fp_offset in second call to mips_emit_frame_related_store.
9683 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
9685 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9686 sometimes be represented as a NOTE of type
9687 NOTE_INSN_DELETED_LABEL.
9688 (Insns): Document NOTE_INSN_DELETED_LABEL.
9690 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
9692 * c-common.h (tree_dump_index): Add more comments.
9693 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9694 (dump_option_value_info): New struct.
9695 (dump_options): New array.
9696 (dump_switch_p): Parse switch options symbolically.
9697 * doc/invoke.texi (-fdump-ast): Rename to ...
9698 (-fdump-tree): ... here. Document that options are symbolic, and
9699 not all are applicable.
9701 2001-09-04 David S. Miller <davem@redhat.com>
9703 * config/sparc/sparc.md (define_splits): Kill constraints.
9705 Cleanup redundant and unused insn attributes.
9706 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
9707 binary, and move. Mark ialu as default.
9708 (commented out define_function_unit "alu"): Kill.
9709 (define_attr "use_clobbered"): Kill.
9710 (whole file): Kill address insn type references. Replace
9711 all unary/binary/move references with ialu.
9712 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
9713 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
9716 Simplify length insn attribute and make more judicious use
9717 of insn attribute defaulting.
9718 * config/sparc/sparc.md (all insns with length > one): Mark as
9719 insn type multi if real instructions, else use default if
9720 it is a forced splitter.
9721 (all insns with length == one): Use default insn length.
9722 (all insns of type ialu): Use default insn type.
9724 Fix erroneous insn attribute settings.
9725 (addx): Set insn type to misc.
9726 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
9727 const_umulsidi3_sp64): Set insn type to imul.
9729 Track SFmode vs DFmode insns according to UltraSPARC
9731 * config/sparc/sparc.md ("fptype"): New attribute, default
9733 (all DFmode single insns): Mark as fptype "double".
9735 2001-09-03 Jakub Jelinek <jakub@redhat.com>
9737 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
9739 2001-09-03 Richard Henderson <rth@redhat.com>
9741 * function.h (struct function): Add arg_pointer_save_area_init.
9742 * function.c (expand_function_end): Init arg_pointer_save_area.
9743 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
9744 when called from a nested function.
9746 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
9748 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
9751 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9753 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
9755 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
9757 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
9758 (emit_push_insn): Use specified padding direction when
9759 STACK_PUSH_CODE is POST_INC.
9761 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
9763 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9765 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
9767 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
9769 * cppinit.c (cpp_start_read): Free the imacros list as we
9770 traverse it. Don't free the chains before returning.
9771 (_cpp_push_next_buffer): Only try pushing buffers if we've
9772 completed -imacros handling.
9774 2001-08-31 Eric Christopher <echristo@redhat.com>
9776 * gcc.c (handle_braces): Add explaination for abort.
9778 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
9780 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
9781 move adjustment of bitpos instead.
9783 2001-08-31 Zack Weinberg <zack@codesourcery.com>
9785 * function.c: Remove all_functions. Make outer_function_chain
9787 (init_function_start): Don't add new function structure to
9789 (find_function_data, push_function_context_to,
9790 pop_function_context_from, put_var_into_stack,
9791 trampoline_address): Update for changed structure element names.
9792 (push_function_context_to): Disentangle.
9793 (free_after_compilation): Also free F.
9794 (expand_dummy_function_end): Don't free cfun here.
9795 (put_var_into_stack): Comment why we can't use find_function_data here.
9796 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
9797 (mark_function_chain): Split into maybe_mark_struct_function and
9798 ggc_mark_struct_function. Export the latter.
9799 (init_function_once): Mark from cfun and outer_function_chain;
9802 * function.h (struct function): Kill next_global. Rename next
9803 to outer. All users updated to match.
9804 (all_functions, outer_function_chain): Don't declare.
9806 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
9807 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
9808 don't touch f->inlinable, after calling rest_of_compilation.
9810 * tree.h: Forward-declare struct function. Prototype
9811 ggc_mark_struct_function.
9813 2001-08-31 Kazu Hirata <kazu@hxi.com>
9815 * config/h8300/h8300.md (*andorhi3): Fix typos.
9817 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9819 * calls.c (emit_library_call_value): Don't use a fixed
9820 argument after VA_CLOSE, i.e. out of scope in traditional C.
9822 * emit-rtl.c (gen_rtvec): Likewise.
9824 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9826 * Makefile.in (c-pragma.o): Depend on output.h.
9827 (reorg.o): Depend on except.h.
9829 * c-pragma.c: Include output.h.
9831 * reorg.c: Include except.h.
9833 * unwind-dw2.c: Call __builtin_alloca, not alloca.
9835 2001-08-31 Richard Henderson <rth@redhat.com>
9837 * sched-deps.c (add_dependence): Don't elide dependency if the
9838 conditional used by insn is modified in elem.
9840 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
9842 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
9844 2001-08-31 Diego Novillo <dnovillo@redhat.com>
9846 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
9849 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9851 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
9853 (stormy16_asm_out_constructor): New function.
9854 (TARGET_ASM_CONSTRUCTOR): Define.
9855 (TARGET_ASM_DESTRUCTOR): Define.
9857 2001-08-31 Andreas Jaeger <aj@suse.de>
9859 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
9860 * loop.c (add_label_notes): Likewise.
9861 * reload.c (find_reloads): Likewise.
9862 * config/sh/sh.c (machine_dependent_reorg): Likewise.
9864 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
9866 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
9867 code here. Take _Unwind_{W,Sw}ord*.
9868 (read_encoded_value_with_base): Use them.
9869 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
9871 (extract_cie_info): Simplify read_?leb128 handling.
9872 (execute_stack_op, execute_cfa_program): Likewise.
9873 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
9875 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9877 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
9878 the frame pointer to pop the stack if convenient.
9880 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
9881 Don't use post-increment before combine.
9882 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
9883 a call-saved register.
9885 2001-08-31 Andreas Jaeger <aj@suse.de>
9887 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
9890 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
9892 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
9893 not DIV/MOD, of course.
9895 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
9897 * rtl.def: Undo my patch commited 2001-08-27.
9899 * genattrtab.c: Ditto.
9903 * sched-int.h: Ditto.
9905 * target-def.h: Ditto.
9909 * haifa-sched.c: Ditto.
9911 * sched-rgn.c: Ditto.
9913 * sched-vis.c: Ditto.
9915 * Makefile.in: Ditto.
9917 * doc/md.texi: Ditto.
9919 * doc/tm.texi: Ditto.
9921 * doc/contrib.texi: Ditto.
9923 * doc/gcc.texi: Ditto.
9925 * genattrtab.h: Remove it.
9927 * genautomata.c: Remove it.
9929 * genattr.c: Undo my patch and Richard Henderson's patch commited
9932 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
9934 * config.gcc (h8300-*-elf*): New case.
9935 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
9936 (SUBTARGET_CPP_SPEC): Define.
9937 (EXTRA_SPECS): Define.
9938 (SUBTARGET_EXTRA_SPECS): Define.
9939 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
9940 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
9942 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
9944 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
9945 (LIB2FUNCS_EXTRA): Define.
9946 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
9947 config/h8300/fixunssfsi.c: New file.
9949 2001-08-30 Kazu Hirata <kazu@hxi.com>
9951 * config/h8300/h8300.md (zero_extendqihi2): Changes to
9952 define_expand to accommodate target-specific attributes.
9953 (anonymous zero_extendqihi2 patterns): New.
9955 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
9957 * h8300.md (*andorhi3): New pattern.
9959 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
9961 * h8300.c (dosize): Fix test for "sub".
9963 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
9965 * c-typeck.c (pointer_diff): Try to eliminate common term before
9968 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
9970 * config/arm/arm.c (arm_compute_initial_elimination_offset):
9971 Account for the saves of the FP registers.
9973 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
9974 (TEXT_SECTION_ASM_OP): Define.
9975 (INIT_SECTION_ASM_OP): Define.
9976 (FINI_SECTION_ASM_OP): Define.
9977 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
9978 (RDATA_SECTION_FUNCITON): Provide prototype.
9980 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
9982 * reload1.c (move2add_note_store): Correct typo checking for
9985 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
9987 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
9988 note should not be considered outside the libcall block.
9990 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9992 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
9994 2001-08-29 Kazu Hirata <kazu@hxi.com>
9996 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
9998 2001-08-29 Kazu Hirata <kazu@hxi.com>
10000 * config/h8300/h8300-protos.h: Add a prototype for
10002 * config/h8300/h8300.c (emit_logical_op): New.
10003 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10004 (andsi3): Likewise.
10005 (iorhi3): Likewise.
10006 (iorsi3): Likewise.
10007 (xorhi3): Likewise.
10008 (xorsi3): Likewise.
10010 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10012 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10013 comparison with rtx INTVAL.
10014 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10016 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10018 2001-08-29 Kazu Hirata <kazu@hxi.com>
10020 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10023 2001-08-29 Kazu Hirata <kazu@hxi.com>
10025 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10026 (reg n) to (mem (pre_dec (reg n))
10027 (anonymous movsi pattern): Likewise.
10029 2001-08-29 Kazu Hirata <kazu@hxi.com>
10031 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10033 2001-08-29 Kazu Hirata <kazu@hxi.com>
10035 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10036 several special constants.
10038 2001-08-29 Kazu Hirata <kazu@hxi.com>
10040 * config/h8300/lib1funcs.asm: Fix comment typos.
10042 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10044 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10045 Fix format specifier warnings.
10047 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10048 inet_makeaddr, semctl): Prototype.
10050 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10051 (save_restore_insns): Use base_offset, not gp_offset.
10053 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10054 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10056 2001-08-29 Richard Henderson <rth@redhat.com>
10058 * bb-reorder.c (function_tail_eff_head): New.
10059 (record_effective_endpoints): Set it.
10060 (fixup_reorder_chain): Use it.
10062 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10064 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10066 2001-08-28 Dale Johannesen <dalej@apple.com>
10068 * config/darwin.c (machopic_function_base_name): Add const
10069 qualifier to a string.
10070 (darwin_encode_section_info): Ditto.
10072 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10074 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10075 function definition.
10077 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10079 * df.h (struct df): Add rts_order variable.
10081 * df.c (df_visit_next_rts): New function.
10082 (df_visit_next): Renamed to df_visit_next_rc
10083 (df_analyse_1): Allocate/compute/free rts_order as well.
10084 (df_rd_global_compute): Use df_visit_next_rc instead of
10086 (df_ru_global_compute): Use df_visit_next_rts instead of
10089 * flow.c (flow_reverse_top_sort_order_compute): New function.
10091 * basic-block.h: Add prototype.
10093 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10095 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10096 blocks, the BB_REACHABLE is now set, rather than aux being
10097 non-NULL. Update the test to reflect this.
10099 2001-08-28 Eric Christopher <echristo@redhat.com>
10101 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10102 config/mips/crti.asm: Ditto.
10104 2001-08-28 Eric Christopher <echristo@redhat.com>
10105 Richard Henderson <rth@redhat.com>
10107 * c-pragma.h (add_weak): Move prototype from here...
10108 * output.h (add_weak): ... to here.
10109 * varasm.c (add_weak): Fix typo.
10110 * config/mips/crti.asm: New file.
10111 * config/mips/crtn.asm: Ditto.
10112 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10113 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10114 (INVOKE__main): Ditto.
10115 (INIT_SECTION_ASM_OP): New.
10116 (FINI_SECTION_ASM_OP): Ditto.
10117 (STARTFILE_SPEC): Add crti.
10118 (ENDFILE_SPEC): Add crtn.
10119 * config/mips/elf64.h: Same.
10120 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10122 * config/mips/vxworks.h: Ditto.
10123 * config/mips/t-elf: Support crti and crtn.
10125 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10127 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10130 2001-08-28 Richard Henderson <rth@redhat.com>
10132 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10133 (one_cmplbi2 splitter): Remove redundant test.
10135 2001-08-28 Dale Johannesen <dalej@apple.com>
10137 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10139 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10141 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10143 2001-08-28 Stan Shebs <shebs@apple.com>
10145 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10146 (UNALIGNED_SHORT_ASM_OP): Define.
10147 (UNALIGNED_INT_ASM_OP): Define.
10149 2001-08-28 Will Cohen <wcohen@redhat.com>
10151 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10152 generation for first set.
10154 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10156 * flow.c (redirect_edge_succ_nodup): Return new edge.
10157 (try_simplify_condjump): Use new edge.
10158 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10160 * cse.c (cse_basic_block): Skip note instructions.
10162 2001-08-27 Richard Henderson <rth@redhat.com>
10164 * combine.c (combine_simplify_rtx): Don't reverse condition
10165 if there is no reverse for the condition.
10166 (simplify_comparison): Don't simplify subregs from INT to FP.
10168 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10169 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10170 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10171 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10172 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10173 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10175 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10177 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10178 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10180 (adddi_dilshr32, adddi_dishl32): Only data register can be
10181 source for mem destination.
10183 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10184 and use bitnum to decide about register move.
10186 2001-08-27 Richard Henderson <rth@redhat.com>
10188 * genattr.c (main): Emit state_t even when not doing scheduling.
10190 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10191 Richard Henderson <rth@redhat.com>
10193 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10194 (reg_avail_info, current_bb): ... these.
10195 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10196 (compute_hash_table): Likewise.
10198 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10200 * flow.c (verify_flow_info): Use checksums to verify edges.
10202 2001-08-27 Richard Henderson <rth@redhat.com>
10204 * genautomata.c (expand_automata): Always create a description.
10206 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10208 * optabs.c (expand_binop): Correctly handle the carry in multiword
10209 add/subtract operations.
10211 2001-08-27 Fred Fish <fnf@be.com>
10213 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10216 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10218 * reload.c (find_reloads_toplev): Back out this change:
10220 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
10222 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10223 mem if the address is a mode_dependent_address_p.
10225 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10227 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10228 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10229 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10232 * genattr.c (main): New variable num_insn_reservations. Increase
10233 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10234 pipeline hazard recognizer interface.
10236 * genattrtab.h: New file.
10238 * genattrtab.c: Include genattrtab.h.
10239 (attr_printf, check_attr_test, make_internal_attr,
10240 make_numeric_value): Move protypes into genattrtab.h. Define them
10242 (num_dfa_decls): New global variable.
10243 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10244 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10245 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10246 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10248 * genautomata.c: New file.
10250 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10252 * sched-int.h: (curr_state): Add the external definition for
10253 automaton pipeline interface.
10254 (haifa_insn_data): Add comments for members blockage and units.
10256 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10257 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10258 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10259 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10260 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10261 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10262 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10264 (TARGET_SCHED): Use the new macros.
10266 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10267 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10268 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10269 dfa_bubble): New members in gcc_target.sched.
10271 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10272 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10273 (insn_queue): Redefine it as pointer to array.
10274 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10276 (max_insn_queue_index_macro_value): New variable.
10277 (curr_state, dfa_state_size, ready_try): New varaibles for
10278 automaton interface.
10279 (ready_element, ready_remove, max_issue): New function prototypes
10280 for automaton interface.
10281 (choose_ready): New function prototype.
10282 (insn_unit, blockage_range): Add comments.
10283 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10284 FUNCTION_UNITS_SIZE == 0.
10285 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10286 actual_hazard, potential_hazard): Add comments.
10287 (insn_cost): Use cost -1 as undefined value. Remove
10288 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10289 pipeline interface.
10290 (ready_element, ready_remove): New functions for automaton
10292 (schedule_insn): Add new code for automaton pipeline interface.
10293 (queue_to_ready): Add new code for automaton pipeline interface.
10294 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10295 (debug_ready_list): Print newline when the queue is empty.
10296 (max_issue): New function for automaton pipeline interface.
10297 (choose_ready): New function.
10298 (schedule_block): Add new code for automaton pipeline interface.
10299 Print ready list before scheduling each insn.
10300 (sched_init): Add new code for automaton pipeline interface.
10301 Initiate insn cost by -1.
10302 (sched_finish): Free the current automaton state and finalize
10303 automaton pipeline interface.
10305 * sched-rgn.c: Include target.h.
10306 (init_ready_list, new_ready, debug_dependencies): Add new code for
10307 automaton pipeline interface.
10309 * sched-vis.c: Include target.h.
10310 (get_visual_tbl_length): Add code for automaton interface.
10311 (target_units, print_block_visualization): Add comments.
10313 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10314 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10315 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10316 (getruntime.o, genautomata.o): New entries.
10317 (genattrtab.o): Add new dependency file genattrtab.h.
10318 (genattrtab): Add new dependencies. Link it with `libm.a'.
10319 (getruntime.o, hashtab.o): New entries for canadian cross.
10321 * doc/md.texi: Description of automaton based model.
10323 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10325 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10326 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10327 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10328 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10329 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10330 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10331 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10333 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10334 MAX_DFA_ISSUE_RATE): New macro descriptions.
10336 * doc/contrib.texi: Add dfa based scheduler contribution.
10338 * doc/gcc.texi: Add more information about genattrtab.
10340 2001-08-27 Diego Novillo <dnovillo@redhat.com>
10342 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10343 an RTL basic block.
10345 2001-08-27 Richard Henderson <rth@redhat.com>
10347 * function.c (expand_function_end): Don't init arg_pointer_save_area.
10348 (get_arg_pointer_save_area): New. Create an init it here.
10349 (fix_lexical_addr): Use it.
10350 * function.h: Declare it.
10351 * builtins.c (expand_builtin_setjmp_receiver): Use it.
10352 * stmt.c (expand_nl_goto_receiver): Use it.
10354 2001-08-27 Richard Henderson <rth@redhat.com>
10356 * final.c (final_scan_insn): Don't enter APP_ON mode for
10359 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10360 alignment for assemble_integer for DW_EH_PE_aligned.
10361 * except.c (output_function_exception_table): Likewise.
10363 2001-08-26 Andreas Jaeger <aj@suse.de>
10365 * c-tree.h: Add prototyp for c_sizeof_nowarn.
10367 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
10369 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10371 2001-08-27 Alan Modra <amodra@bigpond.net.au>
10373 * config/rs6000/rs6000.c (mask_operand): Rewrite without
10375 (mask64_operand): Likewise.
10376 (rldic_operand): Delete.
10377 (includes_lshift64_p): Delete.
10378 (includes_rldic_lshift_p): New function.
10379 (includes_rldicr_lshift_p): New function.
10380 (print_operand): Don't call rldic_operand in case 'W'.
10381 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10382 (includes_lshift64_p): Remove.
10383 (includes_rldic_lshift_p): Declare.
10384 (includes_rldicr_lshift_p): Declare.
10385 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10386 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10387 Replace match_operand rldic_operand predicate with
10388 const_int_operand. Replace includes_lshift64_p condition with
10389 includes_rldic_lshift_p.
10390 <ashldi3_internal 64 bit rldicr patterns>: New.
10392 2001-08-27 Andreas Jaeger <aj@suse.de>
10394 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10395 * errors.c: Likewise.
10396 * final.c: Likewise.
10397 * dwarf2asm.c: Likewise.
10398 * doprint.c (checkit): Likewise.
10399 * diagnostic.c: Likewise.
10400 * collect2.c: Likewise.
10401 * calls.c: Likewise.
10402 * c-semantics.c (build_stmt): Likewise.
10403 * c-format.c (status_warning): Likewise.
10404 * c-errors.c (pedwarn_c99): Likewise.
10405 * builtins.c (validate_arglist): Likewise.
10406 * config/pj/pj.c (pj_printf): Likewise.
10407 * fix-header.c: Likewise.
10409 * gcov.c (fnotice): Likewise.
10410 * gensupport.c (message_with_line): Likewise.
10411 * mips-tfile.c: Likewise.
10412 * protoize.c (notice): Likewise.
10413 * read-rtl.c (fatal_with_file_and_line): Likewise.
10414 * rtl-error.c: Likewise.
10415 * tradcpp.c: Likewise.
10416 * tree.c: Likewise.
10417 * cp/tree.c (build_min_nt): Likewise.
10418 (build_min): Likewise.
10419 * cp/lex.c: Likewise.
10420 * cp/errfn.c: Likewise.
10421 * cp/rtti.c (create_pseudo_type_info): Likewise.
10423 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
10425 * df.c (df_uses_record): Return after recording all uses
10428 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
10430 * df.c (df_insn_modify): Realloc the INSN table here, if
10431 necessary, here, too.
10433 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
10435 * config/mips/mips.c (mips_function_value): Handle complex return
10438 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
10440 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10442 * reload.c (make_memloc): Copy result if it is still
10443 reg_equiv_memory_loc[regno] on return.
10444 (subst_reloads) [ENABLE_CHECKING]: Check that none of
10445 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10446 reg_equiv_mem are modified by the substitutions.
10448 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10450 * predict.c (expensive_function_p): New.
10451 * rtl.h (expensive_function_p): Declare.
10452 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10453 (use_fast_prologue_epilogue): New static variable.
10454 (expand_prologue): Set it; emit short prologues if unset.
10455 (expand_epilogue): Likewise.
10457 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10459 * config.gcc: Add stormy16-*-elf case.
10460 * config/stormy16/stormy-abi: New file.
10461 * config/stormy16/stormy16-lib2.c: New file.
10462 * config/stormy16/stormy16-protos.h: New file.
10463 * config/stormy16/stormy16.c: New file.
10464 * config/stormy16/stormy16.h: New file.
10465 * config/stormy16/stormy16.md: New file.
10466 * config/stormy16/t-stormy16: New file.
10468 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
10470 * i386.h (no-accumulate-outgoing-args): Use proper mask.
10472 2001-08-24 David Edelsohn <edelsohn@gnu.org>
10474 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10475 descriptor members are pointer size, not constant 4.
10476 * config/rs6000/rs6000.md (define_splits): Remove more unused
10479 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10481 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10483 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
10485 * cp/rtti.c (VPARAMS): Fix parameter.
10487 2001-08-24 Zack Weinberg <zackw@panix.com>
10489 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10491 (mode_for_extraction): No need for #ifdefs. Add default-case abort
10493 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
10494 in if controlling use of insv.
10495 (extract_bit_field): Likewise, for extv and extzv.
10497 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
10499 * i386.md (movcc peep2): Fix load of 0.
10501 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10503 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10504 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10506 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
10508 * c-pragma.h: Move weak_syms and weak_decls...
10509 * varasm.c: ...here. Now static.
10510 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10511 depend on HANDLE_PRAGMA_WEAK.
10513 * c-common.c (c_alignof, c_alignof_expr): Move here...
10514 * c-typeck.c: ...from here.
10515 * c-tree.h, c-common.h: Adjust.
10517 2001-08-23 Bernd Schmidt <bernds@redhat.com>
10519 * config/ia64/ia64.c (rws_update): If !pred, set write_count
10520 instead of incrementing it.
10522 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10523 asm ready, don't try to move them all into the same array element.
10525 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10527 * function.c (thread_prologue_and_epilogue_insns): Avoid
10528 fallthru flag on edge to exit.
10530 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10532 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10535 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10537 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10538 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10539 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10542 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10544 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10545 replace "GNU CC" with "GCC".
10547 2001-08-23 Richard Henderson <rth@redhat.com>
10549 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10550 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
10551 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10552 Need GR between FR and not GR_AND_FR.
10553 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10554 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10555 AR regs before GR regs.
10556 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10557 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10558 (REGISTER_MOVE_COST): Update.
10559 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10561 2001-08-23 Richard Henderson <rth@redhat.com>
10563 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10566 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10568 * reload1.c (emit_reload_insns): Don't look for notes
10569 on a NULL store_insn.
10571 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10573 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10574 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10575 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10576 format specifier warnings.
10577 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10579 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
10581 * config/i386/i386-protos.h: Correct declaration of
10582 i386_pe_asm_named_section.
10584 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10586 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10588 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10590 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10592 * cpperror.c (print_location): Don't show _Pragma.
10593 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10594 and file change callback generation here.
10595 (stack_include_file): Update use of cpp_push_buffer.
10596 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10597 (struct cpp_buffer): Remove type, pfile members.
10598 * cppinit.c (cpp_handle_option): Use free_chain.
10599 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10600 (skip_escaped_newlines, get_effective_char, lex_percent): Take
10601 a cpp_reader rather than a cpp_buffer.
10602 (skip_escaped_newlines, get_effective_char, skip_block_comment,
10603 skip_line_comment, parse_string, lex_percent, lex_dot,
10604 _cpp_lex_token): Update accordingly.
10605 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10607 (cpp_push_buffer): Update prototype.
10608 (run_directive): Update use of cpp_push_buffer.
10609 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10610 handle_assertion): Update use of run_directive.
10611 * cpplib.h (enum cpp_buffer_type): Remove.
10612 (cpp_push_buffer): Update prototype.
10613 * fix-header.c (read_scan_file): Update.
10615 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10617 * gcc.c (struct prefix_list): Change prefix to const char *.
10619 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10621 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10623 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
10625 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10628 * jump.c (squeeze_notes): Take parms by reference. Handle END being
10631 * ifcvt.c (dead_or_predicable): Adjust.
10632 * loop.c (find_and_verify_loops): Adjust.
10633 * stmt.c (expand_end_case): Adjust.
10634 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
10635 head and end insn pointers in the basic block, not just local copies.
10636 (merge_blocks_move_predecessor_nojumps): Likewise.
10638 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
10640 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10641 bitmap.h, builtin-types.def, builtins.c, builtins.def,
10642 c-aux-info.c, c-common.c, c-common.def, c-common.h,
10643 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10644 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10645 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10646 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10647 conditions.h, config.gcc, configure.frag, configure.in,
10648 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10649 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10650 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10651 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10652 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10653 emit-rtl.c, errors.c, errors.h, except.c, except.h,
10654 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10655 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10656 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10657 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10658 gencheck.c, gencodes.c, genconfig.c, genemit.c,
10659 genextract.c, genflags.c, gengenrtl.c, genmultilib,
10660 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10661 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10662 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10663 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10664 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10665 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10666 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10667 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10668 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10669 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10670 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10671 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10672 params.h, predict.c, predict.def, predict.h, prefix.c,
10673 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10674 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10675 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10676 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10677 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10678 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10679 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10680 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10681 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10682 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10683 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10684 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10685 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10686 xcoffout.h: replace "GNU CC" with "GCC".
10688 2001-08-21 Richard Henderson <rth@redhat.com>
10690 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10691 (final_scan_insn): Consider jump tables data even if we have no
10692 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
10694 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10695 (ASM_OUTPUT_CASE_END): Remove.
10696 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10697 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10698 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10700 2001-08-21 Richard Henderson <rth@redhat.com>
10702 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
10703 at barrier insns. Emit stop bits before barriers.
10705 * flow.c (flow_find_cross_jump): Don't consider unconditional
10706 return insns for commoning.
10708 * final.c (compute_alignments): Fix typo.
10710 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
10711 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
10712 (store_bit_field): Use mode_for_extraction more places.
10713 (extract_bit_field): Likewise.
10715 2001-08-21 Zack Weinberg <zackw@panix.com>
10717 * caller-save.c: Don't include insn-codes.h.
10718 (reg_save_code, reg_restore_code): Make arrays of int.
10719 All uses updated to match.
10720 (insert_save, insert_restore): No need to initialize "code"
10721 variable upon declaration.
10722 * Makefile.in: update dependencies; fix typo in clean rule.
10724 2001-08-21 Richard Henderson <rth@redhat.com>
10726 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
10727 (merge_if_block): Handle fallout from same.
10729 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10731 * builtins.c (type_to_class): Fix typo in last change.
10733 2001-08-21 Richard Henderson <rth@redhat.com>
10735 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
10736 ia64_asm_output_label.
10738 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
10739 copy of gp while the real gp register contains garbage.
10741 2001-08-21 Zack Weinberg <zackw@panix.com>
10743 * expmed.c (mode_for_extraction): New function.
10744 (store_bit_field, extract_bit_field): Use it.
10745 * expr.h: Prototype it and provide an enum for its first argument.
10747 * combine.c, function.c, recog.c: Don't include insn-codes.h.
10748 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
10749 and digging through the insn_data tables.
10750 * Makefile.in: Update dependencies.
10752 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10754 * cppfiles.c (stack_include_file): line-map.c now handles include
10756 (handle_missing_handler): Similarly.
10757 (_cpp_execute_include): Similarly.
10758 (_cpp_pop_file_buffer): Similarly.
10759 * cpphash.h (struct cpp_reader): Remove system_include_depth,
10760 buffer_stack_depth and include_depth.
10761 * cpplib.c (do_include_common): line-map.c now handles include depth.
10762 (cpp_push_buffer): Similarly.
10763 (_cpp_pop_buffer): Similarly.
10764 * cppmacro.c (builtin_macro): Update.
10765 * line-map.c (init_line_maps): Set depth.
10766 (add_line_map): Increment "used" earlier. Update and use the
10768 (trace_include): Use the include depth.
10769 * line-map.h (struct line_maps): New member depth.
10771 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10773 * cppfiles.c (stack_include_file): Don't handle -H here.
10774 * cppinit.c (cpp_start_read): Set include tracing after
10775 cpp_post_options and after stacking the main file.
10776 * line-map.c (trace_include): New.
10777 (init_line_maps, add_line_map): Update.
10778 * line-map.h (struct line_maps): New member trace_includes.
10780 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10782 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
10783 * cppfiles.c (stack_include_file): Only stack a file if there
10784 is something to do. Return a boolean indicating whether a
10785 buffer was stacked or not.
10786 (_cpp_execute_include): Similarly.
10787 (_cpp_read_file): Similarly.
10788 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
10790 2001-08-21 Sam Steingold <sds@gnu.org>
10792 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
10793 (RECACHE): keep obufp_before_macroname up to date
10795 2001-08-21 Zack Weinberg <zackw@panix.com>
10797 * stmt.c: Don't include insn-codes.h.
10798 (expand_end_case): Machine specific logic moved to expr.c.
10799 No need to worry about __builtin_classify_type.
10800 (check_for_full_enumeration_handling, emit_case_nodes):
10803 * builtins.o (expand_builtin_classify_type): Split up so code
10804 can be shared with fold_builtin_classify_type.
10805 (type_to_class, fold_builtin_classify_type): New functions.
10806 (fold_builtins): Handle __builtin_classify_type.
10808 * expr.c (do_tablejump): Now static.
10809 (case_values_threshold, try_casesi, try_tablejump): New;
10810 code mostly from stmt.c (expand_end_case).
10811 (expr.h): Update prototypes.
10813 * Makefile.in (stmt.o): Update dependencies.
10815 2001-08-21 Will Cohen <wcohen@redhat.com>
10817 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
10818 declaration of variable i.
10819 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
10820 declaration of variable i.
10822 2001-08-21 Richard Henderson <rth@redhat.com>
10824 * crtstuff.c: Fix thinko last change. Move list tails to start
10825 of CRT_END section. Tidy ifdefs.
10826 (__EH_FRAME_BEGIN__): Always static for ELF.
10827 (__do_global_ctors_1): Rename from __frame_dummy.
10828 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
10829 name change; don't hide __EH_FRAME_BEGIN__.
10831 2001-08-21 Richard Henderson <rth@redhat.com>
10833 * gdbinit.in: Move break on exit after break on fancy_abort.
10835 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
10838 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10840 * cpphash.h (_cpp_push_next_buffer): New.
10841 * cppinit.c (do_includes): Remove.
10842 (push_include, free_chain, _cpp_push_next_buffer): New.
10843 (cpp_start_read): Use them to rework command line option handling.
10844 (cpp_handle_option): Combine handling of -include and -imacros.
10845 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
10846 appropriate. Always insert missing \n at EOF.
10847 * cpplib.c (start_directive): Get the directive position right.
10848 * cppmain.c (cb_file_change): Always print the first line, unless
10851 2001-08-20 Andreas Jaeger <aj@suse.de>
10853 * profile.c (compute_branch_probabilities): Remove extra new-line
10855 * flow.c (verify_flow_info): Likewise.
10857 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10859 * basic-block.h (basic_block): Add new field 'flags'.
10860 (BB_REACHABLE): Define.
10861 (expunge_block): Declare.
10862 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
10863 (EXIT_BLOCK_PTR): Ditto.
10864 (expunge_block): Remove static declaration.
10865 (cleanup_cfg): Clear bb->aux on every basic block.
10866 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
10867 computing reachability.
10868 (delete_unreachable_blocks): Delete block b if b->flags has
10869 BB_REACHABLE unset.
10871 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10873 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
10875 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10877 * sparc.c (sparc_variable_issue): Fix typo in last change.
10879 2001-08-20 Richard Henderson <rth@redhat.com>
10881 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
10883 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
10885 * pa.h (RETURN_IN_MEMORY): Improve comment.
10887 2001-08-20 Janis Johnson <janis187@us.ibm.com>
10889 * doc/invoke.texi (Profiling options): Clarify the interactions
10890 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
10892 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
10894 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
10897 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10899 * gcc.c (make_relative_prefix): Allocate a sufficiently large
10902 2001-08-20 Richard Henderson <rth@redhat.com>
10904 * final.c (end_final): Fix typo last change.
10906 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
10908 * cppinit.c (init_standard_includes): The returned buffer
10909 is already malloc-ed.
10910 * gcc.c (add_prefix): Similarly.
10911 * prefix.c (translate_name): Update to support clear buffer
10913 (update_path): Similarly. Be sure to free any newly allocated
10914 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
10915 (tr): New function.
10916 * prefix.h (update_path): Update prototype and document.
10917 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
10918 up and update to new buffer ownership rules.
10919 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
10921 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
10923 * final.c (compute_alignments): New function.
10924 (init_insn_lengths): Do not care label_align.
10925 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
10926 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
10927 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
10928 (shorted_branches): Realloc label_align array; do
10929 not call init_insn_lengths; Do not care about loop alignments.
10930 * output.h (compute_alignments): Declare.
10931 * toplev.c (rest_of_compilation): Call compute_alignments.
10932 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
10934 * predict.c (block_info_def): Add npredecesors, remove nvisited;
10935 change visited to tovisit.
10936 (propagate_freq): Use faster traversing algorithm.
10937 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
10938 to tovisit; reverse meaning.
10940 * predict.c (struct block_info_def): Remove nvisited.
10941 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
10942 (estimate_bb_frequencies): Call mark_dfs_back_edges.
10944 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
10946 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
10947 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
10948 (TARGET_FUSED_MADD): New.
10949 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
10950 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
10951 the multiply-add instructions.
10953 2001-08-19 Richard Henderson <rth@redhat.com>
10955 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
10956 is aligned to pointer size.
10958 2001-08-19 Richard Henderson <rth@redhat.com>
10960 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
10961 display markers during final schedule.
10963 2001-08-19 Richard Henderson <rth@redhat.com>
10965 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
10967 2001-08-19 Richard Henderson <rth@redhat.com>
10969 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
10970 in the same string.
10971 (ASM_NAME_TO_STRING): Remove.
10972 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
10973 in the same string. Remove support for expressions.
10975 2001-08-19 Richard Henderson <rth@redhat.com>
10977 * config/i386/i386.md (tablejump): Make an expander; handle
10978 pic relative addressing here.
10979 (tablejump_1): Rename from tablejump_pic.
10982 2001-08-19 Richard Henderson <rth@redhat.com>
10984 * regclass.c (fix_register): Fix typo.
10986 2001-08-18 Richard Henderson <rth@redhat.com>
10988 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
10989 (struct _Unwind_Context): Expand br_loc to hold it.
10990 (uw_frame_state_for): Handle leaf functions better.
10991 (uw_update_reg_address): Update for br_loc change.
10993 2001-08-18 Richard Henderson <rth@redhat.com>
10995 * crtstuff.c: Move list heads before code that uses them.
10996 (__JCR_LIST__): Remove initial null.
10997 (frame_dummy, __frame_dummy): Do java registration here ...
10998 (__do_global_ctors_aux): ... not here.
11000 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11001 (__do_global_dtors_aux): Update to match.
11002 (__JCR_LIST__, __do_jv_register_classes): New.
11004 * config/ia64/crtend.asm (__JCR_END__): New.
11005 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11006 instead of an indirect LTOFF22 reloc.
11008 2001-08-18 Richard Henderson <rth@redhat.com>
11010 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11011 * regclass.c (init_reg_sets_1): Fix typo.
11012 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11013 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11014 (ia64_compute_frame_size): Make ar.unat live when in use.
11015 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11016 for ar.pfs; remove ar.unat handling.
11017 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11019 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11020 * config/ia64/ia64-protos.h: Update decls.
11021 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11022 (sibcall_pic): Likewise.
11024 2001-08-18 Richard Henderson <rth@redhat.com>
11026 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11027 pred_rel_mutex when searching for insn_group_barrier.
11028 * config/ia64/ia64.md (cycle_display): Combine the expander
11031 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11032 bit before asm as needed.
11034 2001-08-18 Richard Henderson <rth@redhat.com>
11036 * timevar.def (TV_MACH_DEP): New.
11037 * toplev.c (rest_of_compilation): Use it.
11038 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11040 2001-08-18 Zack Weinberg <zackw@panix.com>
11042 * unwind-dw2.c (execute_stack_op): Add default aborts to
11043 the inner switches to prevent warnings.
11045 2001-08-18 Richard Henderson <rth@redhat.com>
11047 * timevar.h (struct timevar_time_def): Change element type to float.
11048 (ticks_to_msec, clocks_to_msec): Likewise.
11049 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11050 (get_time): Likewise.
11051 (timevar_print): Adjust zero check and printing to match.
11053 2001-08-18 Zack Weinberg <zackw@panix.com>
11055 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11056 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11057 Eliminate overfull or underfull hboxes.
11059 2001-08-18 Zack Weinberg <zackw@panix.com>
11061 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11063 2001-08-18 Zack Weinberg <zackw@panix.com>
11065 * haifa-sched.c: Convert to target hooks. Macros replaced
11066 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11067 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11068 MD_SCHED_FINISH, and HAVE_cycle_display.
11069 * target-def.h (TARGET_SCHED_ADJUST_COST,
11070 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11071 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11072 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11073 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11074 New hook #defines to be overridden.
11075 (TARGET_SCHED): Bring them all together.
11076 (TARGET_INITIALIZER): Update.
11077 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
11078 instead of 'struct rtx_def *' throughout.
11079 (struct sched): New set of hooks for the scheduler.
11080 * Makefile.in (haifa-sched.o): Depend on target.h.
11081 * doc/tm.texi: Document the new scheduler hooks, together in
11082 their own section, instead of scattered around.
11083 Fix a bunch of underfull/overfull hboxes.
11085 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11086 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11087 sparc.h: Don't define any of the old scheduler macros.
11089 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11090 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11091 sparc.c: Create hook functions from code extracted from
11092 corresponding target header, or make existing hooks static, as
11093 appropriate. Set the appropriate entries in targetm.
11095 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11096 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11097 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11098 Remove prototypes for functions which are now static.
11100 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11101 related gunk; the Haifa scheduler is now the only choice.
11103 2001-08-18 Zack Weinberg <zackw@panix.com>
11105 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11106 * genopinit.c: Put floating point divide insns in sdiv_optab.
11107 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11108 * config/gofast.h, config/c4x/c4x.h,
11109 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11110 config/pa/long_double.h, config/rs6000/sysv4.h,
11111 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11112 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11113 (init_optabs): Use init_optabv for overflow-trapping optabs.
11114 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11115 cmp_optab RTX codes so have_insn_for can find them.
11117 * optabs.c (expand_simple_binop, expand_simple_unop,
11118 have_insn_for, gen_sub3_insn): New interfaces.
11119 * expr.h: Prototype new functions.
11120 (enum optab_methods): Move here from optabs.h.
11122 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11123 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11124 Use new functions instead of working directly with optabs.
11125 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11126 unroll.c: Don't include optabs.h.
11127 * caller-save.c, combine.c, function.c, stmt.c: Just include
11128 insn-codes.h, not optabs.h.
11129 * Makefile.in: Update dependencies.
11131 * combine.c (make_compound_operation, simplify_comparison):
11132 Fix typos testing for this or that instruction.
11134 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11136 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11137 generating libgcc.a.
11139 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11141 * except.c (TYPE_HASH): Delete.
11143 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11146 * tree.c (TYPE_HASH): Delete.
11148 * tree.h (TYPE_HASH): Define.
11150 2001-08-18 Graham Stott <grahams@redhat.com>
11152 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11154 (adddi3_internal_2+2): Likewise.
11155 (eh_set_lr_di+1): Likewise.
11157 2001-08-17 Richard Henderson <rth@redhat.com>
11159 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11160 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11161 * dwarf2asm.c: ... here.
11162 * dwarfout.c: Remove them.
11164 * varasm.c (assemble_integer): Add align parameter.
11165 (assemble_real, output_constant, output_constructor): Likewise.
11166 * output.h: Update decls.
11167 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11168 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11169 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11170 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11171 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11172 Update all callers.
11174 * final.c (end_final): Abort profile block generation if we
11175 haven't layed it out properly.
11176 * output.h (assemble_eh_integer): Remove stale decl.
11177 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11179 (assemble_integer): Handle unaligned data.
11180 (assemble_real): Abort on unaligned data.
11181 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11183 (default_dtor_section_asm_out_destructor): Use assemble_align.
11184 (default_named_section_asm_out_constructor): Likewise.
11185 (default_ctor_section_asm_out_constructor): Likewise.
11186 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11187 (machopic_asm_out_destructor): Likewise.
11188 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11189 (nextstep_asm_out_destructor): Likewise.
11190 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11191 (vms_asm_out_destructor): Likewise.
11193 2001-08-17 Richard Henderson <rth@redhat.com>
11195 * config/mips/iris6.h (TARGET_IRIX6): New.
11196 (current_section_name, current_section_flags): New.
11197 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11198 (MAX_OFILE_ALIGNMENT): New.
11199 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11200 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11201 (copy_file_data): Split out from
11202 (mips_asm_file_end): ... here.
11203 (mips_asm_file_start): Remove extra .section directive. Use
11204 tmpfile instead of mips_make_temp_file.
11205 (mips_unique_section): Use const char * as needed for warnings.
11206 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11207 re-add align parameter.
11208 (iris6_asm_named_section): New.
11209 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11210 (iris6_asm_output_align, iris6_section_align_1): New.
11211 (iris6_asm_file_start, iris6_asm_file_end): New.
11212 * config/mips/mips-protos.h: Update decls.
11214 2001-08-17 Janis Johnson <janis187@us.ibm.com>
11216 * doc/install.texi (Install GCC): Add links to build status pages.
11218 (Final install): Ditto; request updates for specific info
11220 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
11222 * cpperror.c (print_location): Don't take a file name; use the
11224 (_cpp_begin_message): Similarly.
11225 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11226 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11227 (cpp_pedwarn_with_file_and_line): Remove.
11228 * cppfiles.c (stack_include_file): Update; set filename to stdin
11229 here when appropriate.
11230 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11231 (_cpp_begin_message): Don't take a file name.
11232 * cppinit.c: Add comment.
11233 * cpplex.c: Fix end-of-directive indicator.
11234 * cpplib.c: Don't include intl.h.
11235 (run_directive, do_diagnostic): Update.
11236 (do_line): Update to not use nominal_fname.
11237 (cpp_push_buffer): Don't take a filename.
11238 * cpplib.h (struct ht): Remove.
11239 (cpp_push_buffer): Don't take a filename.
11240 (cpp_pedwarn_with_file_and_line): Remove.
11241 * cppmacro.c (struct cpp_macro): Remove file.
11242 (builtin_macro): Update.
11243 (_cpp_create_definition): Update.
11244 * cppmain.c: Correct comment.
11245 * fix-header.c (read_scan_file): Update.
11247 2001-08-17 Kazu Hirata <kazu@hxi.com>
11249 * sbitmap.c: Fix comment formatting.
11250 * sched-deps.c: Likewise.
11251 * sibcall.c: Likewise.
11252 * simplify-rtx.c: Likewise.
11254 * ssa-ccp.c: Likewise.
11255 * stor-layout.c: Likewise.
11256 * timevar.c: Likewise.
11257 * toplev.c: Likewise.
11258 * unwind-dw2.c: Likewise.
11259 * unwind-dw2-fde.c: Likewise.
11260 * varasm.c: Likewise.
11262 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
11264 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11265 or larger than an integer in memory.
11267 2001-08-17 Zack Weinberg <zackw@panix.com>
11269 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11270 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
11271 * rtl.h: Don't forward-declare union tree_node here. Don't
11272 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
11273 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11274 and tree respectively.
11275 * tree.h: Don't forward-declare struct rtx_def here. Don't
11276 typedef tree here. Change all uses of struct rtx_def *,
11277 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11278 and tree respectively.
11280 2001-08-17 Richard Henderson <rth@redhat.com>
11282 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11283 config/mips/openbsd.h: Fix typos last change.
11285 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11287 * doc/invoke.texi (Optimize Options): The default for
11288 -finline-limit is 600.
11290 2001-08-17 Richard Henderson <rth@redhat.com>
11292 * varasm.c (text_section): Allow TEXT_SECTION to override the
11293 printing of TEXT_SECTION_ASM_OP.
11294 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11295 (DATA_SECTION, BSS_SECTION): Remove.
11296 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11297 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11298 Rename from s/_NAME//.
11299 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11300 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11301 (TEXT_SECTION): ... here. New.
11302 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11303 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11304 * config/mips/openbsd.h: Likewise.
11305 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11306 (mips_asm_file_end): Likewise test.
11307 (mips_output_function_epilogue): Likewise. Switch back to data
11308 section after emitting the function.
11310 * doc/tm.texi (Sections): Document TEXT_SECTION.
11312 2001-08-17 Richard Henderson <rth@redhat.com>
11314 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11315 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
11317 2001-08-17 Richard Henderson <rth@redhat.com>
11319 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11320 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11321 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11322 Add aligned attribute.
11324 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
11326 * config/sh/sh.md: Add modes to unspecs in first insn to match
11327 those in the second.
11329 * Makefile.in: Fix collect2 copy for Cygwin.
11331 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11333 Install the proper patch.
11334 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11335 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11336 (expand_function_start): Likewise.
11337 * stmt.c (expand_decl): Likewise.
11338 * varasm.c (make_decl_rtx): Likewise.
11340 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11342 * final.c: Undo my previous accidental checkin.
11343 * output.h: Likewise.
11344 * tm.texi: Likewise.
11346 2001-08-16 Richard Henderson <rth@redhat.com>
11348 * varasm.c (named_section_flags): Remove align parameter.
11349 * varasm.c, dwarf2out.c: Update all callers.
11350 * output.h: Update prototypes.
11352 * target.h (target.asm_out.named_section): Remove align parameter.
11353 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11354 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11355 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11356 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11357 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11359 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11360 (get_named_section_flags, set_named_section_flags): New.
11361 (named_section_flags): Use them.
11362 (named_section): Do decl vs section flags check here...
11363 (default_section_type_flags): ... not here.
11364 (init_varasm_once): Create in_named_htab.
11365 (resolve_unique_section): Mark reloc unused.
11367 2001-08-16 Richard Henderson <rth@redhat.com>
11369 * varasm.c (force_const_mem): Keep pool alignment in bits.
11370 (output_constant_pool): Use assemble_align.
11372 2001-08-16 Zack Weinberg <zackw@panix.com>
11374 * doc/tm.texi: Remove extra @table command.
11376 2001-08-16 Zack Weinberg <zackw@panix.com>
11378 * final.c (shorten_branches): Clear the end of the label_align
11379 array only if we made it larger. Break up messy expressions
11382 * diagnostic.c (internal_error): Check for error recursion
11383 before doing ICE suppression.
11385 * timevar.c: Timing variables now count in milliseconds.
11386 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11387 (get_time): Not here.
11388 (timevar_print): Don't print any timer whose user, cpu, and
11389 wall times are all zero as displayed.
11390 * timevar.h: Update comment aboout units. Make timevar
11393 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
11395 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11396 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11397 (expand_function_start): Likewise.
11398 * stmt.c (expand_decl): Likewise.
11399 * varasm.c (make_decl_rtx): Likewise.
11401 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
11403 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11404 (finalize_record_size): Don't set TYPE_USER_ALIGN.
11406 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11408 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11411 2001-08-16 Andreas Jaeger <aj@suse.de>
11413 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11416 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
11418 * rtl.h (only_sets_cc0_p): New prototype.
11419 * jump.c (sets_cc0_p): Handle INSN.
11420 (only_sets_cc0_p): New function.
11421 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11422 (tidy_fallthru_edge): Likewise.
11423 * integrate.c (copy_insn_list): Likewise.
11424 * unroll.c (unroll_loop): Likewise.
11425 (copy_loop_body): Likewise.
11427 2001-08-15 Jason Eckhardt <jle@redhat.com>
11429 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11431 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
11433 * predict.c (struct block_info_def): Remove nvisited.
11434 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11435 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11437 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11438 (ix86_adjust_cost): Teach scheduler that latency to load operand can
11441 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
11443 * predict.def: Update hitrates.
11445 2001-08-15 Richard Henderson <rth@redhat.com>
11447 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11449 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
11451 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11452 note from its associated jump.
11454 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
11456 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11457 also on 64-bit s390x targets.
11459 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
11461 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11463 (arm_expand_prologue): Handled nested functions which take a
11464 variable argument list.
11465 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11466 macro with an invocation of
11467 arm_compute_initial_elimination_offset.
11468 * config/arm/arm-protos.h: Prototype
11469 arm_compute_initial_elimination_offset.
11471 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11473 * doc/install.texi (Specific, avr): Fix markup.
11474 (Specific, c4x): Ditto.
11476 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11478 * predict.c (dump_prediction): Change `bool' parameter to `int'.
11480 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
11482 * Makefile.in (OBJS): Add rtl-error.o
11483 (rtl-error.o): New rule.
11484 (diagnostic.o): Adjust dependency.
11485 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11486 error_for_asm, _fatal_insn, _fatal_insn_not_found,
11487 warning_for_asm): Move to...
11488 rtl-error.c: ...here. New file.
11490 2001-08-14 Richard Henderson <rth@redhat.com>
11492 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11493 if USING_SJLJ_EXCEPTIONS.
11495 2001-08-14 Steve Ellcey <sje@cup.hp.com>
11497 * tlink.c (scan_linker_output): Check string for unsatisfied in
11498 addition to undefined and unresolved.
11500 2001-08-14 Graham Stott <grahams@redhat.com>
11502 * libgcc2.c (*): Replace EH_FRAME_SECTION with
11503 EH_FRAME_SECTION_NAME.
11505 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11507 * genattrtab.c (simplify_test_exp_in_temp): New function.
11508 (simplify_test_exp): Avoid explicit use of temporary obstack.
11509 (simplify_cond, insert_right_side, evaluate_eq_attr,
11510 simplify_and_tree, simplify_or_tree, eliminate_known_true):
11511 Use simplify_test_exp_in_temp.
11512 (optimize_attrs): Iterate until expression stabilizes.
11514 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
11516 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11517 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11519 2001-08-13 Richard Henderson <rth@redhat.com>
11521 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11522 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11523 * config/arm/conix-elf.h: Likewise.
11525 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11527 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11529 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11531 * gcse.c (hash_scan_set): Expressions that are set as part of
11532 jump instructions are not available.
11534 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
11536 * config/s390/s390.c (print_operand, s390_function_prologue,
11537 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11539 2001-08-13 Richard Henderson <rth@redhat.com>
11541 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11542 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11543 * doc/tm.texi (Exception Region Output): Document it.
11545 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11547 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11548 DWARF2 instead of stabs by default.
11550 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11552 * config/rs6000/rs6000.c: Include optabs.h.
11554 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11556 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11557 save/restore routines.
11558 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11560 2001-08-13 Andreas Jaeger <aj@suse.de>
11562 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11563 the english is correct.
11565 2001-08-13 Zack Weinberg <zackw@panix.com>
11567 * expr.h: Split out optab- and libfunc-related code to...
11568 * optabs.h, libfuncs.h: ... these new headers.
11570 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11572 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11574 * mkconfig.sh: Don't include insn-codes.h from config.h.
11576 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11577 enum insn_code is available. Move reload_in_optab and
11578 reload_out_optab array declarations to optabs.h.
11579 * regmove.c (gen_add3_insn): Move to optabs.c, export from
11580 there, prototype in expr.h.
11581 * gencodes.c: Cleanup: zap global variables, don't use
11582 printf where puts will do, don't bother defining MAX_INSN_CODE
11583 which nothing uses, let CODE_FOR_nothing get its value implicitly.
11585 * genemit.c, genopinit.c: Include optabs.h in generated file.
11586 * genoutput.c: Include insn-codes.h in generated file.
11587 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11588 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11589 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11590 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11591 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11592 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11594 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11595 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11596 config/m88k/m88k.c, config/sparc/sparc.c:
11597 Include libfuncs.h.
11598 * reload.c: Include expr.h and optabs.h before reload.h.
11599 * config/alpha/alpha.c: Include tree.h before reload.h.
11600 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11601 and reload.h in that order.
11602 * config/sparc/sparc.c: Include debug.h.
11603 * recog.c: Include insn-codes.h.
11605 2001-08-13 Andreas Jaeger <aj@suse.de>
11607 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11610 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11612 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11613 * gcc.c (init_spec): Fix typo in comment.
11614 * varasm.c (data_section): Fix typo in comment.
11616 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
11618 * predict.c (dump_prediction): New argument "USED".
11619 (combine_predictions_for_insn): Determine the used heuristics,
11620 output the case no heuristic applied.
11621 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11623 2001-08-13 Andreas Jaeger <aj@suse.de>
11625 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11628 2001-08-13 Kazu Hirata <kazu@hxi.com>
11630 * jump.c: Fix formatting.
11632 2001-08-13 Kazu Hirata <kazu@hxi.com>
11634 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11637 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
11639 * loop.c (check_dbra_loop): Use condjump_label to compute
11642 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11643 to better document the files they're in.
11645 2001-08-12 Zack Weinberg <zackw@panix.com>
11647 * recog.h (struct insn_operand_data): Shrink 'mode' field
11650 2001-08-12 Kazu Hirata <kazu@hxi.com>
11652 * gcc.c: Fix comment formatting.
11653 * gccspec.c: Likewise.
11654 * gcov.c: Likewise.
11655 * gcse.c: Likewise.
11656 * genemit.c: Likewise.
11657 * gengenrtl.c: Likewise.
11658 * genrecog.c: Likewise.
11659 * gensupport.c: Likewise.
11660 * ggc-page.c: Likewise.
11661 * global.c: Likewise.
11662 * graph.c: Likewise.
11663 * ifcvt.c: Likewise.
11664 * integrate.c: Likewise.
11666 * libgcc2.c: Likewise.
11667 * loop.c: Likewise.
11668 * mbchar.c: Likewise.
11669 * optabs.c: Likewise.
11670 * predict.c: Likewise.
11671 * prefix.c: Likewise.
11672 * profile.c: Likewise.
11673 * protoize.c: Likewise.
11674 * real.c: Likewise.
11675 * recog.c: Likewise.
11676 * regclass.c: Likewise.
11677 * regmove.c: Likewise.
11678 * reg-stack.c: Likewise.
11679 * reload1.c: Likewise.
11680 * resource.c: Likewise.
11681 * rtlanal.c: Likewise.
11684 2001-08-12 Kazu Hirata <kazu@hxi.com>
11686 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11687 a tree representing a constant is passed to the macro.
11689 2001-08-12 Richard Henderson <rth@redhat.com>
11691 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11692 (rs6000_elf_asm_out_destructor): New.
11693 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11694 (DTORS_SECTION_ASM_OP): Remove.
11695 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11696 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11698 2001-08-12 David Edelsohn <edelsohn@gnu.org>
11701 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11702 * gcc.c (set_collect_gcc_options): New function, split out from
11704 Ignore elided switches.
11705 (do_spec_1): Invoke before executing command.
11706 (set_input): Export.
11707 Move declaration ...
11708 * gcc.h (set_input): ... here.
11709 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11712 2001-08-12 Richard Henderson <rth@redhat.com>
11714 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
11715 thinko wrt TARGET_RELOCATABLE.
11717 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
11719 * fix-header.c (cb_file_change): Update prototype.
11721 2001-08-11 Zack Weinberg <zackw@panix.com>
11723 * toplev.c (set_float_handler): Make static.
11724 * toplev.h: Don't prototype set_float_handler.
11726 * simplify-rtx.c: Don't include setjmp.h.
11727 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
11729 (simplify_unary_operation, simplify_binary_operation): Use them,
11730 via do_float_handler.
11732 * fold-const.c: Don't include setjmp.h.
11733 (exact_real_inverse_1): New function.
11734 (exact_real_inverse): Use it, via do_float_handler.
11736 * varasm.c: Don't include setjmp.h.
11737 (assemble_real_1): New function.
11738 (assemble_real): Use it, via do_float_handler.
11739 Call internal_error if we get a trap here.
11741 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
11742 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
11744 2001-08-11 Zack Weinberg <zackw@panix.com>
11746 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
11747 STACK_BOUNDARY if not already defined.
11749 * calls.c, function.c, reload1.c, explow.c: Don't default
11750 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
11751 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
11753 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
11756 * doc/tm.texi: Document that STACK_BOUNDARY is required;
11757 clarify difference between it and PREFERRED_STACK_BOUNDARY.
11759 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11761 * cppmacro.c (enter_macro_context): Push macro expansions even
11764 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11766 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
11767 (rs6000_elf_section_type_flags): Actually return a value.
11769 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11771 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
11772 Clean up code: add missing comments and prototypes, fix warnings,
11773 remove obsolete code, fix spacing to conform to coding style.
11775 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11777 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
11778 and TARGET_ASM_CLOSE_PAREN.
11779 (regclass_map): CC register belongs to class NO_REGS.
11780 (legitimize_pic_address): Don't generate unnecessary moves
11781 (to avoid confusing loop optimization).
11782 (check_and_change_labels): Replace jump_long by indirect_jump.
11783 (s390_final_chunkify): Don't start a new literal pool on section
11784 switch in 64-bit code.
11785 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
11787 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
11788 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
11789 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
11791 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
11792 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
11793 (CONST_COSTS): Fixed incorrect costs.
11795 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
11796 Use emit_jump instead of emit_jump_insn (gen_jump).
11797 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
11798 (to avoid confusing flow analysis).
11799 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
11800 (casesi, casesi_jump): New.
11801 (jump_long): Removed. Functionality merged into indirect_jump.
11802 (indirect_jump): Accept address_operand, not just register_operand.
11803 (cjump_long, icjump_long): Use same logic as indirect_jump.
11804 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
11805 Fixed broken setjmp/longjmp handling.
11806 (do_builtin_setjmp_setup): Removed.
11808 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
11809 broken GNU as versions that don't accept .quad with large
11810 negative values. Use hexadecimal output instead.
11811 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
11812 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
11813 FUNCTION_EPILOGUE): Removed. Now in targetm.
11815 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
11817 * config/s390/fixdfdi.h: Add missing copyright statement.
11818 Fix type conflicts on 64-bit. Add missing SFmode routines.
11820 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
11823 2001-08-11 Richard Henderson <rth@redhat.com>
11825 * rtl.h (REG_EH_RETHROW): Remove.
11826 * rtl.c (reg_note_name): Update.
11827 * combine.c (distribute_notes): Don't check for it.
11829 2001-08-11 Richard Henderson <rth@redhat.com>
11831 * combine.c (distribute_notes): Place REG_SETJMP.
11833 2001-08-11 Richard Henderson <rth@redhat.com>
11835 * doc/extend.texi (Arrays and pointers implementation): Discourage
11836 relying on sign-extension of pointers.
11838 2001-08-11 H.J. Lu <hjl@gnu.org>
11840 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
11842 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
11843 RDATA_SECTION_ASM_OP.
11845 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11847 * doc/install.texi (Specific, c4x): Fix cross-reference to the
11848 main manual to work both for info and HTML versions.
11850 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11851 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11853 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
11854 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
11855 (struct cpp_pool): New member first.
11856 * cppinit.c (append_include_chain): Plug memory leaks.
11857 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
11858 Allocate pragma structures from the (aligned) macro pool to
11859 avoid leaking memory.
11860 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
11861 so we don't leak memory.
11862 * hashtable.c (ht_destroy): New.
11863 * hashtable.h (ht_destroy): New.
11865 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11866 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11868 * c-lex.c (map): Make const.
11869 (cb_file_change): Update for callback passing a line map.
11870 Don't assume we have a previous map. Remove sanity check
11871 about popping too many files.
11872 * cpperror.c (print_location): Make map const.
11873 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
11874 (cpp_make_system_header): Similarly.
11875 (search_from): Similarly.
11876 (_cpp_execute_include): Don't remember where we came from.
11877 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
11878 (struct cpp_reader): Make map const.
11879 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
11880 * cpplib.c (do_line): Update; line maps now hold sysp.
11881 (cpp_push_buffer): Similarly.
11882 (_cpp_do_file_change): Similarly; callback with map instead.
11883 (cpp_get_line_maps): Constify return value.
11884 (_cpp_pop_buffer): Update.
11885 * cpplib.h (struct cpp_file_change): Remove.
11886 (struct cpp_callbacks): Update.
11887 (cpp_get_line_maps): Constify return value.
11888 * cppmacro.c (_cpp_create_definition): Update.
11889 * cppmain.c (struct printer): Constify map.
11890 (maybe_print_line): Similarly.
11891 (print_line): Similarly. Deduce flags 1 and 2 here.
11892 (cb_file_change): Update.
11893 * line-map.c (free_line_maps): Warn regardless.
11894 (add_line_map): Return pointer to const. When passed NULL to_file
11895 with LC_LEAVE, use the obvious values for the return point so the
11896 caller doesn't have to figure them out.
11897 (lookup_line): Return pointer to const.
11898 (print_containing_files): Take pointer to const.
11899 * line-map.h (struct line_map): New members reason, sysp.
11900 (add_line_map): Return pointer to const.
11901 (lookup_line): Similarly.
11902 (print_containing_files): Take pointer to const.
11904 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
11905 Richard Henderson <rth@redhat.com>
11907 * regmove.c (regmove_optimize): Avoid setting a register twice in
11910 2001-08-10 Richard Henderson <rth@redhat.com>
11912 * doc/extend.texi (Arrays and pointers implementation): Document
11913 behavior of pointer/integer conversion.
11915 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
11917 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
11919 2001-08-10 Richard Henderson <rth@redhat.com>
11921 * doc/extend.texi (C Implementation): New chapter.
11922 * doc/gcc.texi (Top): Link it in.
11924 2001-08-10 Andrew Cagney <ac131313@redhat.com>
11926 * doc/install.texi (Specific): Fix CVS merge botch.
11928 2001-08-10 Richard Henderson <rth@redhat.com>
11930 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
11931 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
11933 2001-08-10 Zack Weinberg <zackw@stanford.edu>
11935 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
11936 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
11937 this macro is now required.
11939 * cselib.c (cselib_process_insn), flow.c (propagate_block),
11940 loop.c (find_and_verify_loops), reload.c (reload): Check
11941 for rtx code of CALL_INSN, not CALL, when deciding if we
11942 need to check for REG_SETJMP note.
11944 * gcse.c (compute_hash_table, compute_store_table): Update
11945 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
11948 * config/avr/avr.c: Fix typo.
11949 * config/convex/convex.c (expand_movstr): Use adjust_address.
11950 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
11952 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
11953 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
11955 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
11956 Do define STACK_BOUNDARY.
11957 * config/i370/i370.c: Include expr.h.
11958 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
11959 config/pa/som.h, config/v850/v850.h: Take in_ctors and
11960 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
11961 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
11962 * config/m88k/m88k.c: Include c-tree.h after expr.h.
11963 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
11964 * config/romp/romp.c: Include expr.h after tree.h.
11966 (output_fpop): Use xmalloc, not oballoc.
11967 * config/we32k/we32k.c: Include expr.h.
11969 2001-08-10 Kazu Hirata <kazu@hxi.com>
11971 * config/h8300/h8300.h: Fix formatting.
11973 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
11975 * c-common.h (RETURN_NULLIFIED_P): Lose.
11976 * c-semantics.c (genrtl_return_stmt): Don't check it.
11978 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
11980 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
11981 (mips_annotate_frame_insn): New function.
11982 (mips_emit_frame_related_store): New function.
11983 (save_restore_insns): Don't mark instructions that set up the base
11984 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
11985 the store instructions instead.
11986 (mips_expand_prologue): If the stack size is moved into a temporary
11987 register, do not mark that move as frame-related. Add a
11988 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
11990 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
11992 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
11993 stack slot as unchanging if current_function_calls_eh_return.
11995 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
11997 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
11998 access the second half of the TFmode scratch operand.
12000 2001-08-10 Anthony Green <green@redhat.com>
12002 * java/class.c (emit_register_classes): Conditionalize code on
12005 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12007 * doc/install.texi (Specific, avr): Fix cross-reference to the
12008 main manual to work both for info and HTML versions.
12010 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12012 * stmt.c (expand_null_return_1): Remove code to generate simple returns
12013 and "use_goto" argument.
12014 (expand_null_return, expand_value_return): Update all callers.
12015 * function.c (expand_function_end): Remove code to generate simple
12017 * config/vax/vax.md (epilogue): New expander for function return.
12018 * doc/md.texi (epilogue): Remove "if defined".
12020 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12022 * Makefile.in: Partially revert my previous change:
12023 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12024 of the hashtab.o and safe-ctype.o rules.
12026 2001-08-09 Richard Henderson <rth@redhat.com>
12028 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12029 (USE_COLLECT2): Remove duplicate definition.
12030 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12031 (use_collect2): Remove dead code.
12032 * configure.in (use_collect2): Remove will_use_collect2 and
12033 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12034 * configure: Rebuild.
12036 * target.h (targetm.asm_out.constructor): New.
12037 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12038 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12039 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12040 * varasm.c (in_ctors, in_dtors): New.
12041 (assemble_constructor, assemble_destructor): Remove.
12042 (default_stabs_asm_out_destructor): New.
12043 (default_named_section_asm_out_destructor): New.
12044 (dtors_section, default_dtor_section_asm_out_destructor): New.
12045 (default_stabs_asm_out_constructor): New.
12046 (default_named_section_asm_out_constructor): New.
12047 (ctors_section, default_ctor_section_asm_out_constructor): New.
12048 * output.h: Update declarations.
12049 * c-decl.c (c_expand_body): Use target hooks instead of
12050 assemble_constructor and assemble_destructor.
12051 * profile.c (output_func_start_profiler): Likewise.
12052 * objc/objc-act.c (finish_objc): Likewise.
12053 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12054 for the constructor.
12055 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12057 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12058 (DTORS_SECTION_ASM_OP): Likewise.
12059 (__CTOR_LIST__): Use attribute section when possible.
12060 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12062 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12063 ASM_OUTPUT_CONSTRUCTOR.
12065 * config/darwin.c (machopic_asm_out_constructor): New.
12066 (machopic_asm_out_destructor): New.
12067 * config/darwin-protos.h: Update declarations.
12068 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12069 (ASM_OUTPUT_DESTRUCTOR): Remove.
12070 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12071 * config/nextstep.c (nextstep_asm_out_constructor): New.
12072 (nextstep_asm_out_destructor): New.
12073 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12074 (ASM_OUTPUT_DESTRUCTOR): Remove.
12075 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12076 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12077 ASM_OUTPUT_*STRUCTOR.
12078 * config/i386/aix386ng.h: Likewise.
12080 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12081 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12082 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12083 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12084 * config/lynx.h: Likewise.
12085 * config/netware.h: Likewise.
12086 * config/psos.h: Likewise.
12087 * config/alpha/alpha-interix.h: Likewise.
12088 * config/alpha/elf.h: Likewise.
12089 * config/arc/arc.h: Likewise.
12090 * config/arm/aof.h: Likewise.
12091 * config/arm/coff.h: Likewise.
12092 * config/arm/elf.h: Likewise.
12093 * config/c4x/c4x.h: Likewise.
12094 * config/h8300/h8300.h: Likewise.
12095 * config/i386/cygwin.h: Likewise.
12096 * config/i386/djgpp.h: Likewise.
12097 * config/i386/i386-coff.h: Likewise.
12098 * config/i386/i386-interix.h: Likewise.
12099 * config/i386/sco5.h: Likewise.
12100 * config/i386/vsta.h: Likewise.
12101 * config/i386/win32.h: Likewise.
12102 * config/i960/i960-coff.h: Likewise.
12103 * config/ia64/sysv4.h: Likewise.
12104 * config/m68hc11/m68hc11.h: Likewise.
12105 * config/m68k/coff.h: Likewise.
12106 * config/m68k/mot3300.h: Likewise.
12107 * config/m88k/m88k.h: Likewise.
12108 * config/mcore/mcore-pe.h: Likewise.
12109 * config/mcore/mcore.h: Likewise.
12110 * config/mips/elf.h: Likewise.
12111 * config/mips/elf64.h: Likewise.
12112 * config/mips/iris6.h: Likewise.
12113 * config/pa/pa64-hpux.h: Likewise.
12114 * config/rs6000/sysv4.h: Likewise.
12115 * config/sh/sh.h: Likewise.
12116 * config/sparc/litecoff.h: Likewise.
12118 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12119 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12120 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12121 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12122 (ASM_OUTPUT_DESTRUCTOR): Remove.
12123 * config/a29k/a29k.c: Move include of tree.h.
12124 * config/a29k/udi.h: Delete file.
12125 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12126 (vms_asm_out_destructor): New.
12127 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12128 (EXTRA_SECTION_FUNCTIONS): Likewise.
12129 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12130 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12131 * config/c4x/c4x.c: Move include of tree.h.
12132 * config/clipper/clipper.c (clix_asm_out_constructor): New.
12133 (clix_asm_out_destructor): New.
12134 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12135 (ASM_OUTPUT_DESTRUCTOR): Remove.
12136 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12137 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12138 (TARGET_ASM_CONSTRUCTOR): New.
12139 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12140 (sco_asm_out_constructor): New.
12141 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12142 * config/i386/svr3gas.h: Remove stack grows up code.
12143 Remove code duplicated from i386/sysv3.h.
12144 (TARGET_ASM_CONSTRUCTOR): New.
12145 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12146 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12147 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12148 (TARGET_ASM_CONSTRUCTOR): New.
12149 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12150 (m68hc11_asm_out_destructor): New.
12151 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12152 (TARGET_ASM_DESTRUCTOR): New.
12153 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12154 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12155 config/svr3.h pertaining to section manipulation.
12156 * config/m68k/dpx2g.h: Remove #if 0 code.
12157 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12158 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12159 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12160 (TARGET_ASM_CONSTRUCTOR): New.
12161 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12162 (m88k_svr3_asm_out_constructor): New.
12163 (m88k_svr3_asm_out_destructor): New.
12164 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12165 (ASM_OUTPUT_DESTRUCTOR): Remove.
12166 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12167 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12168 * config/rs6000/aix.h: Likewise.
12169 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12170 * config/mips/vxworks.h: Likewise.
12171 * config/rs6000/lynx.h: Likewise.
12172 * config/sh/elf.h: Likewise.
12173 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12174 (DTORS_SECTION_ASM_OP): New.
12175 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12176 (ASM_OUTPUT_DESTRUCTOR): Remove.
12177 * config/sparc/sol2-sld-64.h: Likewise.
12178 * config/vax/vax.c (vms_asm_out_constructor): New.
12179 (vms_asm_out_destructor): New.
12180 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12181 (ASM_OUTPUT_DESTRUCTOR): Remove.
12182 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12184 * doc/tm.texi (@node Initialization): Update.
12186 2001-08-09 Richard Henderson <rth@redhat.com>
12188 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12189 (__do_global_dtors_aux): Use gp-relative static data to avoid
12190 one dynamic relocation.
12191 (__do_frame_setup): Register Java classes.
12192 * config/alpha/crtend.asm (__JCR_END__): New.
12194 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12196 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12197 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12198 (GEN, STAGESTUFF): Add new files.
12199 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12200 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12201 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12202 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12203 as well as insn-codes.h and insn-flags.h in config.h; and no
12204 extra headers in tconfig.h and hconfig.h.
12206 * gencodes.c: Eliminate code to generate predicate declarations
12207 or #defines for md-file constants.
12208 * genconstants.c, genpreds.c: New files.
12210 * i386.md: Re-order guard expressions such that TARGET_64BIT
12211 comes first, when this permits better optimization. Add
12212 TARGET_64BIT to more x86-64 patterns. Add comment explaining
12213 why this is desirable.
12215 2001-08-09 Jakub Jelinek <jakub@redhat.com>
12217 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12218 (find_fde_for_dso): Remove.
12219 (_Unwind_IteratePhdrCallback): New.
12220 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12221 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12223 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12225 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12226 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12228 2001-08-09 Graham Stott <grahams@redhat.com>
12230 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12231 (vis_no_unit): Use it.
12232 (visualize_no_unit): Add the insn only if room exists.
12234 2001-08-09 Graham Stott <grahams@redhat.com>
12236 * predict.c (estimate_probability): Replace magic numbers with
12237 appropriate enumeration.
12239 2001-08-09 Graham Stott <grahams@redhat.com>
12241 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12243 (EXTRACT_FLAGS): Likewise.
12245 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
12247 * config/mips/mips.c (mips_legitimate_address_p): Check for
12248 CONST_INT in last patch.
12250 2001-08-08 Anthony Green <green@redhat.com>
12252 * java/class.c (emit_register_classes): Use assemble_jcr if
12253 possible. Keep the original mechanism as a fallback.
12254 * defaults.h (JCR_SECTION_NAME): Define if we have named section
12255 and weak symbol support.
12256 * crtstuff.c (__JCR_LIST__): Define.
12257 (__JCR_END__): Define.
12258 (_Jv_RegiserClasses): Define weak symbol if possible.
12259 (__do_global_ctors_aux): Register classes for ELF targets with
12260 weak symbol support.
12262 2001-08-08 Kazu Hirata <kazu@hxi.com>
12264 * dbxout.c: Fix comment formatting.
12265 * dependence.c: Likewise.
12267 * diagnostic.c: Likewise.
12268 * dominance.c: Likewise.
12269 * doprint.c: Likewise.
12270 * dwarf2out.c: Likewise.
12271 * dwarfout.c: Likewise.
12272 * emit-rtl.c: Likewise.
12273 * except.c: Likewise.
12274 * explow.c: Likewise.
12275 * expmed.c: Likewise.
12276 * expr.c: Likewise.
12277 * flow.c: Likewise.
12278 * fold-const.c: Likewise.
12279 * function.c: Likewise.
12281 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12283 * global.c (retry_global_alloc): Avoid shadowing allocno.
12285 2001-08-08 Mark Mitchell <mark@codesourcery.com>
12287 * except.c (remove_fixup_regions): Fix typo.
12289 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
12291 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12292 unsigned HOST_WIDE_INT to avoid warning.
12293 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12294 * flow.c (set_block_for_new_insns): Likewise.
12296 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
12298 * sibcall.c (return_value_pseudo): New static variable.
12299 (skip_copy_to_return_value): Handle return_value_pseudo.
12300 (call_ends_block_p): Ensure that return_value_pseudo is set.
12301 (optimize_sibling_and_tail_recursive_call): Discover the
12302 load of pseudo return value in alternate exit block.
12304 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12306 * calls.c (ECF_ALWAYS_RETURN): New constant.
12307 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12308 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12309 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12310 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12311 * rtl.c (reg_note_name): New name.
12312 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12314 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
12316 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12318 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12320 * alias.c (get_alias_set): Return a previously calculated
12321 alias set for a VAR_DECL.
12322 * function.c (gen_mem_addressof): Calculate the alias set before
12325 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
12327 * predict.def: Set hitrates according our experimental run.
12329 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
12331 * i386.h (HARD_REGNO_RENAME_OK): New macro.
12333 2001-08-08 H.J. Lu <hjl@gnu.org>
12335 * config/mips/mips.c (mips_unique_section): New. Copied from
12338 * config/mips/mips-protos.h (mips_unique_section): New
12341 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12343 * config/mips/little.h: New. Generic little endian mips
12344 targets. Only mips*-*-linux* is converted to use it so far.
12346 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12347 (WCHAR_TYPE): Defined
12348 (WCHAR_TYPE_SIZE): Likewise.
12349 (INIT_SUBTARGET_OPTABS): Likewise.
12350 (BSS_SECTION_ASM_OP): Likewise.
12351 (SBSS_SECTION_ASM_OP): Likewise.
12352 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12353 (ASM_DECLARE_OBJECT_NAME): Likewise.
12354 (UNIQUE_SECTION): Likewise.
12355 (EXTRA_SECTIONS): Likewise.
12356 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12357 (ASM_OUTPUT_DESTRUCTOR): Likewise.
12358 (ASM_OUTPUT_DEF): Likewise.
12359 (HANDLE_SYSV_PRAGMA): Removed.
12360 (NO_IMPLICIT_EXTERN_C): Likewise.
12361 (TARGET_MEM_FUNCTIONS): Likewise.
12362 (STARTFILE_SPEC): Likewise.
12363 (ENDFILE_SPEC): Likewise.
12364 (LIB_SPEC): Likewise.
12365 (INVOKE__main): Likewise.
12366 (CTOR_LIST_BEGIN): Likewise.
12367 (CTOR_LIST_END): Likewise.
12368 (DTOR_LIST_BEGIN): Likewise.
12369 (DTOR_LIST_END): Likewise.
12370 (SET_ASM_OP): Likewise.
12371 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12372 (ASM_OUTPUT_DEF): Likewise.
12373 (ASM_OUTPUT_IDENT): Likewise.
12375 * config/mips/mips.h (ASM_SPEC): Undefine before define.
12376 (CPLUSPLUS_CPP_SPEC): Likewise.
12377 (ASM_APP_ON) Redefine only if not defined.
12378 (ASM_APP_OFF): Likewise.
12379 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12380 (ASM_OUTPUT_IDENT): Likewise.
12382 * config.gcc: Update tm_file for Linux/mips.
12384 2001-08-08 Bernd Schmidt <bernds@redhat.com>
12386 * cselib.c (cselib_record_sets): If insn is predicated, turn
12387 sources into IF_THEN_ELSEs.
12389 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12390 Turn into define_insn_and_split.
12392 * sched-deps.c: Include "cselib.h".
12393 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12394 Use cselib to turn memory addresses into VALUEs.
12395 (sched_analyze): Call cselib_init/cselib_finish if necessary.
12396 * sched-int.h (struct sched_info): New member USE_CSELIB.
12397 * sched-ebb.c (ebb_sched_info): Initialize it.
12398 * sched-rgn.c (rgn_sched_info): Likewise.
12399 * Makefile.in (sched-deps.o): Update dependencies.
12401 * cselib.h (cselib_subst_to_values): Declare.
12402 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
12403 that have no value and autoincs to be handled by generating a new
12406 2001-08-08 Graham Stott <grahams@redhat.com>
12408 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12409 within fixed length SEQUENCE.
12411 2001-08-08 Graham Stott <grahams@redhat.com>
12413 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12414 (diagnostic_prefixing_rule): Likewise.
12415 (diagnostic_line_cutoff): Likewise.
12416 (diagnostic_kind_count): Likewise.
12418 2001-08-08 Graham Stott <grahams@redhat.com>
12420 * alias.c (find_base_decl): Delete redundent assignment.
12422 2001-08-08 Graham Stott <grahams@redhat.com>
12424 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12425 (abs): Uppercase and paranthesize macro parameter.
12426 (MEM_DEPENDENCY): Add whitespace.
12428 2001-08-08 Graham Stott <grahams@redhat.com>
12430 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12431 failure check for CONST_INT
12433 2001-08-08 Graham Stott <grahams@redhat.com>
12435 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12436 (libcall_dead_p): Likewise.
12438 (mark_used_regs): Constify fmt.
12439 (find_use_as_address): Likewise.
12441 2001-08-08 Graham Stott <grahams@redhat.com>
12443 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12446 2001-08-08 Graham Stott <grahams@redhat.com>
12448 * combine.c (combine_simplify_rtx): Update comment and
12449 remove erroneous test.
12451 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12453 * cppinit.c (cpp_finish): Pop the final buffer without comment.
12454 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12455 take care to avoid multiple no-newline at EOF warnings in that
12458 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
12460 * calls.c (expand_call): Do not emit INSN_SETJMP note.
12461 (emit_library_call_value_1): Likewise.
12462 (emit_call_1): Emit REG_SETJMP note.
12463 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12465 * cselib.c (cselib_process_insn): Likewise.
12466 * flow.c (propagate_block): Likewise.
12467 * loop.c (find_and_verify_loops): Likewise.
12468 * reload.c (find_equiv_regs): Likewise.
12469 * reload1.c (reload): Likewise.
12470 * resource.c (mark_referenced_resources,
12471 mark_set_resources): Likewise.
12472 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12473 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12474 * haifa-sched.c (unlink_other_notes): Likewise.
12475 (reemit_notes): Likewise.
12476 * sched-ebb.c (sched_ebb): Likewise.
12477 * sched-rgc.c (sched_region): Likewise.
12478 * rtl.c (note_insn_name): Likewise.
12479 (reg_note_name): Add REG_SETJMP
12480 * rtl.h (reg_note): Add REG_SETJMP.
12481 (insn_note): Remove NOTE_INSN_SETJMP.
12483 * profile.c (branch_prob): Add fake edges for setjmp.
12485 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
12487 * config.gcc: Quote target_cpu_default2 correctly for
12488 powerpc*-*-* targets.
12490 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12492 * cpplib.h, line-map.h: Update comments.
12493 * cppmain.c (printer_init): Move inline.
12494 (maybe_print_line, print_line): Take a map pointer.
12495 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12496 (cb_file_change): Don't use prior value of print.map.
12498 2001-08-07 David Edelsohn <edelsohn@gnu.org>
12500 * doc/install.texi: Document fine-grained multilib configuration.
12502 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12504 * rtlanal.c (find_first_parameter_load): Call note_stores
12505 only on the instructions.
12507 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12509 * alias.c (nonlocal_mentioned_p):
12510 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12511 * calls.c (emit_call_1): Likewise.
12512 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12513 * cselib.c (cselib_process_insn): Likewise.
12514 * df.c (df_insns_modify): Likewise.
12515 * flow.c (need_fake_edge_p): Likewise.
12516 (propagate_one_insn): Likewise.
12517 * haifa-sched.c (reemit_notes): Likewise.
12518 * integrate.c (copy_insn_list): Likewise.
12519 * jump.c (delete_prior_computation): Likewise.
12520 * local-alloc.c (validate_equiv_mem): Likewise.
12521 * loop.c (scan_loop): Likewise.
12522 * predict.c (estimate_probability): Likewise.
12523 * reload.c (reload): Likewise.
12524 * sched-deps (sched_analyze): Likewise.
12525 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12526 * gcse.c (compute_hash_table): Likewise.
12527 (mark_call): Likewise.
12528 (store_killed_in_insn): Likewise.
12530 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
12532 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12534 2001-08-06 Richard Henderson <rth@redhat.com>
12536 * varasm.c (assemble_gc_entry): Remove.
12537 * output.h: Likewise.
12539 2001-08-06 Richard Henderson <rth@redhat.com>
12541 * varasm.c (assemble_constructor): Take a symbol_ref and a
12542 priority instead of a bare string. Move priority handling
12543 here from cp/decl2.c.
12544 * output.h: Update decls.
12546 * c-decl.c (c_expand_body): Update calls to assemble_constructor
12547 and assemble_destructor.
12548 * profile.c (output_func_start_profiler): Likewise.
12549 * objc/objc-act.c (finish_objc): Likewise.
12550 (build_module_descriptor): Return the symbol not the symbol name.
12552 2001-08-06 David Edelsohn <edelsohn@gnu.org>
12554 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12555 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12556 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12557 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12558 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12559 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12561 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12563 * cpperror.c (print_containing_files): Moved to line-map.c.
12564 (print_location): line-map.c handles re-listing or otherwise.
12565 * cpphash.h (struct lexer_state): Remove next_bol.
12566 (struct cpp_buffer): Remove include_stack_listed.
12567 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12568 Remove faked buffer handling.
12569 (_cpp_do_file_change): Tweak.
12570 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12571 * cppmain.c (struct printer): Remove filename.
12572 (print_line, cb_file_change): Update accordingly.
12573 * line-map.c: Include intl.h.
12574 (init_line_maps): Initialize last_listed.
12575 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12576 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12577 (print_containing_files): New.
12578 * line-map.h (struct line_maps): New member last_listed.
12579 (print_containing_files, INCLUDED_FROM): New.
12580 * Makefile.in: Update.
12581 * po/POTFILES.in: Add line-map.c.
12583 2001-08-06 Richard Henderson <rth@redhat.com>
12585 * except.c (convert_from_eh_region_ranges_1): Never mark
12586 USE or CLOBBER insns as throwing.
12588 * expr.c (store_constructor): Don't clobber memory targets.
12590 2001-08-06 Andreas Jaeger <aj@suse.de>
12592 * profile.c (branch_prob): Remove unused variable insn.
12594 * Makefile.in (local-alloc.o): Add dependency on except.h.
12596 * local-alloc.c: Include except.h for can_throw_internal prototype.
12598 2001-08-06 Richard Henderson <rth@redhat.com>
12600 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12601 * function.c (expand_main_function): Implement it.
12602 * doc/tm.texi: Document it.
12604 2001-08-06 Stan Shebs <shebs@apple.com>
12606 * doc/install.texi: Document powerpc-*-darwin* details.
12608 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
12610 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12611 (ASM_CPU_SPEC): Move back to rs6000.h
12612 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12614 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12616 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12619 * config/rs6000/linux64.h: Ditto.
12621 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12622 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12625 Remove accidently readded definitions of FUNCTION_PROLOGUE,
12626 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12628 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12631 2001-08-05 Richard Henderson <rth@redhat.com>
12633 * local-alloc.c (update_equiv_regs): Do not move insns that
12636 2001-08-05 Jan Hubicka <jh@suse.cz>
12638 * Makefile.in (reload1.o): Add dedendancy on except.h
12639 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12641 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12642 indicating wehther edges has been cleaned up.
12643 * reload1.c: Inlucde except.h
12644 (fixup_abnormal_edges): Accept deleted insns.
12645 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12648 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12650 * cpplib.c (do_line): Correct line number after pop_buffer.
12652 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12654 PR preprocessor/3824
12655 * line-map.c: Update comments.
12656 * line-map.h: Update comments.
12657 * tradcif.y: Don't consider large numbers unsigned.
12659 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12661 PR preprocessor/3081
12662 * c-lex.c (map): New.
12663 (cb_file_change): Update map and use it.
12664 (cb_def_pragma, cb_define, cb_undef): Use map and line.
12665 (c_lex): Update to use map.
12666 * cpperror.c (print_location): Move to using logical line numbers.
12667 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12668 (cpp_make_system_header): Similarly.
12669 (_cpp_execute_include): Stop line numbering hacks. Store the
12670 line we will return to.
12671 * cpphash.h (CPP_BUF_LINE): Remove.
12672 (struct cpp_buffer): Remove lineno and pseudo_newlines.
12673 Add map and return_to_line.
12674 (_cpp_do_file_change): Update.
12675 * cppinit.c (cpp_start_read): Update line kludge.
12676 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12677 (trigraph_ok): Use logical line numbers for diagnostics.
12678 (skip_block_comment): Likewise.
12679 (skip_whitespace): Likewise.
12680 (skip_line_comment): Use pfile->line instead.
12681 (_cpp_lex_token): Update to use logical line numbering exclusively.
12682 Handle BOL locally. Accept new lines in directives, but keep
12683 pfile->line decremented. Diagnostics use logical lines. Update
12684 directive handling.
12685 * cpplib.c (SEEN_EOL): New.
12686 (skip_rest_of_line, check_eol): Use it.
12687 (end_directive): Increase line number when accepting the newline
12688 at the end of a directive.
12689 (run_directive): Simplify.
12690 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
12691 (_cpp_do_file_change): Update to take buffer line number as an
12692 argument, and store the current map in the cpp_reader. Remove
12693 line number kludges.
12694 (_cpp_do__Pragma): Restore output position after a _Pragma.
12695 (cpp_push_buffer): Don't set output line or lineno.
12696 (_cpp_pop_buffer): Transfer more info from a faked buffer.
12697 Remove line kludge. Set output_line.
12698 * cppmacro.c (builtin_macro): Update handling of __LINE__.
12699 (parse_arg): Use logical lines.
12700 (save_lookahead_token): Save EOFs too now.
12701 * cppmain.c (struct printer): Fix comments.
12702 (printer_init): Simplify, let caller do errors.
12703 (scan_translation_unit, check_multiline_token, dump_macro): Update.
12704 (maybe_print_line): Simplify.
12705 (print_line): Don't print a linemarker if -P.
12706 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
12707 (cb_file_change): Simplify.
12708 * line-map.h (LAST_SOURCE_LINE): Fix.
12709 (CURRENT_LINE_MAP): New.
12711 2001-08-05 Bernd Schmidt <bernds@redhat.com>
12713 * doloop.c (doloop_modify_runtime): Properly compute number of
12714 iterations if loop was unrolled.
12716 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
12717 if their CSELIB_VAL_PTRs are.
12719 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
12720 (setup_spill_pointers): Initialize it.
12721 (spill_restore_mem): Set it.
12722 (do_spill, do_restore): Use it to add REG_INC note.
12723 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
12725 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
12726 asms if other insns are available.
12728 * config/ia64/ia64.c (condop_operator): New predicate.
12729 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
12730 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
12733 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
12734 temporary register than directly using a MEM.
12736 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12738 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
12739 parameter in last change.
12741 2001-08-04 Zack Weinberg <zackw@panix.com>
12743 * sparc.md: Don't use #if inside C test expression.
12745 2001-08-04 Richard Henderson <rth@redhat.com>
12747 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
12749 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
12751 * cpphash.h (struct cpp_reader): New member directive_line.
12752 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
12753 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
12754 do_pragma): Pass line to callbacks.
12755 (start_directive): Record line of directive.
12756 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
12757 cb_include): Similarly.
12758 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
12761 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12763 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
12766 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
12768 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
12770 * reload1.c (fixup_abnormal_edges): New static function.
12773 * flow.c (need_fake_edge_p): New function.
12774 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
12775 avoid call insn to be very last insn in the insn stream.
12777 * profile.c (branch_prob): Call flow_call_edges_add instead of
12778 doing that by hand; cleanup cfg to re-merge basic blocks once
12781 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12783 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
12784 are also on line-map.h.
12785 * cppfiles.c (stack_include_file): Update.
12786 * cpphash.h (struct cpp_buffer): New member return_at_eof.
12787 (_cpp_pop_buffer): New.
12788 * cppinit.c (cpp_destroy, cpp_finish): Update.
12789 (do_includes): Mark each buffer to return at EOF.
12790 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
12791 return as requested.
12792 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
12793 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
12794 * cpplib.h (cpp_pop_buffer): Remove.
12795 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
12796 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
12798 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
12800 (do_preprocessing): Update.
12801 * fix-header.c (read_scan_file): Update. No need to pop buffers.
12802 * c-parse.in (_yylex): Similarly.
12803 * scan-decls.c (scan_decls): Similarly.
12804 * line-map.h: Update comments.
12806 * objc/Make-lang.in (objc-act.o): Update dependencies.
12808 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12810 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
12811 and soft register for operand 0.
12812 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
12814 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12816 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
12817 register for operand 0.
12818 ("bitcmpqi_z_used"): Allow memory for operand 0.
12819 (split "bitcmpqi"): New split to handle address reg as operand 1.
12821 2001-08-04 Andreas Jaeger <aj@suse.de>
12823 * gcse.c: Revert Daniel's last patch.
12825 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12827 * sparc-protos.h: Add prototypes for fp_zero_operand and
12829 * sh-protos.h: Add prototype for fpul_operand.
12831 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12833 * doc/extend.texi (Other Builtins): Fix typo in last change.
12835 2001-08-03 Richard Henderson <rth@redhat.com>
12837 * target.h (gcc_target): Add asm_out.named_section,
12838 section_type_flags, have_named_sections.
12839 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
12840 (TARGET_HAVE_NAMED_SECTIONS): New.
12841 (TARGET_SECTION_TYPE_FLAGS): New.
12843 * Makefile.in (toplev.o): Depend on TARGET_H.
12844 (varasm.o, dbxout.o): Likewise.
12845 * c-common.c (decl_attributes): Check targetm.have_named_sections
12846 instead of ifdef ASM_OUTPUT_SECTION_NAME.
12847 * dbxout.c (dbxout_function_decl): Likewise.
12848 (dbxout_function_end): Likewise.
12849 * toplev.c (compile_file): Likewise.
12850 * varasm.c (exception_section): Likewise.
12851 * cp/decl2.c (finish_objects): Likewise.
12853 * defaults.h (EH_FRAME_SECTION): Remove.
12854 (EH_FRAME_SECTION_ASM_OP): Remove.
12855 (EH_FRAME_SECTION_NAME): New.
12856 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
12857 (UNIQUE_SECTION_P): Remove.
12858 * dwarf2out.c (SECTION_FORMAT): Remove.
12859 (ASM_OUTPUT_SECTION): Remove.
12860 (output_call_frame_info): Use named_section_flags.
12861 (output_comp_unit, dwarf2out_start_source_file): Likewise.
12862 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
12863 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
12864 * varasm.c (in_eh_frame, eh_frame_section): Remove.
12865 (named_section_flags): New.
12866 (named_section): Use it and targetm.section_type_flags.
12867 (resolve_unique_section): New.
12868 (assemble_start_function): Use it.
12869 (asm_emit_uninitialised, assemble_variable): Likewise.
12870 (default_section_type_flags): New.
12871 (default_no_named_section, default_elf_asm_named_section): New.
12872 (default_coff_asm_named_section, default_pe_asm_named_section): New.
12873 * output.h: Update varasm.c decls.
12874 (SECTION_*): New flags.
12876 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
12877 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
12879 * config/elfos.h (UNIQUE_SECTION_P): Remove.
12880 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
12881 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
12882 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12883 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
12884 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
12885 * config/mips/elf.h, config/mips/elf64.h: Likewise.
12886 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
12887 * config/pa/pa64-hpux.h,
12889 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
12890 (TARGET_ASM_NAMED_SECTION): New.
12891 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
12892 * config/alpha/vms.h, config/arm/coff.h: Likewise.
12893 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
12894 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
12895 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
12896 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
12897 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12898 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
12899 * config/i386/sco5.h, config/i386/win32.h: Likewise.
12900 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
12901 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
12902 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
12903 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
12904 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
12905 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
12906 * config/sparc/sysv4.h: Likewise.
12908 * config/nextstep.h: Error until named sections implemented.
12910 * config/a29k/a29k.c (a29k_asm_named_section): New.
12911 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
12912 (vms_section_type_flags, vms_asm_named_section): New.
12913 * config/arm/arm.c (arm_elf_asm_named_section): New.
12914 * config/avr/avr.c (asm_output_section_name): Remove.
12915 * config/avr/avr-protos.h: Update.
12916 * config/c4x/c4x.c (c4x_asm_named_section): New.
12917 * config/h8300/h8300.c (h8300_asm_named_section): New.
12918 * config/i386/i386.c (sco_asm_named_section): New.
12919 * config/i386/winnt.c (SECTION_PE_SHARED): New.
12920 (i386_pe_section_type_flags): New.
12921 (i386_pe_asm_named_section): New.
12922 * config/i386/i386-protos.h: Update.
12923 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
12924 * config/mcore/mcore.c (mcore_asm_named_section): New.
12925 * config/mips/mips.c (iris6_asm_named_section): New.
12926 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
12927 instead of UNIQUE_SECTION_P.
12928 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
12929 (xcoff_asm_named_section): New.
12930 * config/sh/sh.c (sh_asm_named_section): New.
12931 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
12933 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
12934 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
12935 (EH_FRAME_SECTION_NAME): New.
12936 (EXCEPTION_SECTION): New.
12937 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
12938 (DEBUG_*_SECTION): Remove.
12939 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
12940 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
12941 (EH_FRAME_SECTION_ASM_OP): Remove.
12943 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
12944 (ASM_OUTPUT_SECTION_NAME): Remove.
12945 (TARGET_ASM_NAMED_SECTION): New.
12946 (TARGET_HAVE_NAMED_SECTIONS): New.
12947 (TARGET_SECTION_TYPE_FLAGS): New.
12948 (EH_FRAME_SECTION_ASM_OP): Remove.
12949 (EH_FRAME_SECTION_NAME): New.
12951 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12953 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
12954 for complex expressions when cfun == 0.
12955 * doc/extend.texi: Document that __builtin_constant_p can be
12956 used in data initializers as well as functions.
12958 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
12960 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
12961 variable I locally, instead of expecting a declaration in the
12964 2001-08-03 Richard Henderson <rth@redhat.com>
12966 * except.c (collect_one_action_chain): Add an explicit cleanup
12967 action if regions surrounding a catch were encoded entirely
12968 within the call-site entry.
12970 2001-08-03 Richard Henderson <rth@redhat.com>
12972 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
12973 don't take REGNO of a non-register.
12975 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
12977 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
12978 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
12979 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
12980 (__gthread_mutex_init_function): New function for mutex initialization.
12982 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
12984 * Makefile.in: Revert screwed up commit.
12986 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12988 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
12989 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
12990 merged by linker script to get a final _exit().
12991 (__do_global_dtors): New for destructor handling in specific exit
12993 (__do_global_ctors): New for constructors in specific install section.
12994 (__map_data_section): Map data sections before running constructors.
12995 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
12996 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
12997 (DTORS_SECTION_ASM_OP): Likewise.
12998 (CTORS_SECTION_FUNCTION): Define to force a reference to
13000 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13002 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13004 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13006 * Makefile.in: Add df.h to gcse.c dependencies.
13008 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13010 * varasm.c (output_constant_def_contents): Use for the length of a
13011 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13012 depending on which is larger.
13014 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13016 * gcse.c: Include df.h for use as a dataflow analyzer.
13018 Declaration of reg_set_info: gone.
13019 New df_analyzer variable used by store motion.
13020 (reg_set_info): Deleted.
13021 (mark_mem_regs): New function, analyze regs used by a mem.
13022 (store_ops_ok): Use dataflow analyzer results to determine if
13023 necessary regs are changed in the block.
13024 (find_moveable_store): Remove check for symbol ref, we can handle
13025 much more complex expressions now.
13026 (compute_store_table): Remove most of the code, it's unnecessary
13027 now that the dataflow analyzer records the info for us.
13028 (store_killed_after): Add parameter to say whether to do the
13029 store_ops_okay test, used to speed up testing when we already know
13030 the answer, and just want to know if the store itself was killed.
13031 (build_store_vector): Largely rewritten to calculate the various
13032 vectors properly, and somewhat optimized.
13033 (store_motion): Init the df_analyzer, get REG_DEF chains.
13034 Also handle trapping expressions (since mems almost always trap)
13035 (simple_mem): Redefine what a simple mem is.
13037 2001-08-03 DJ Delorie <dj@redhat.com>
13039 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13040 set from a constant part of the condition.
13042 2001-08-01 Andrew Cagney <ac131313@redhat.com>
13044 * mkdeps.c (deps_add_default_target): Make local variable
13045 ``start'' a const char pointer.
13046 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13048 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13050 * doc/install.texi (Configuration): Fix markup.
13051 (Specific, i?86-*-udk): Likewise.
13052 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13054 Document --enable-threads and --enable-libgcj status.
13055 (Specific, mips-sgi-irix*): Canonicalize triples.
13056 (Specific, mips-sgi-irix5): Warn about problems with this config.
13057 Mention required GNU as patch.
13058 Native assembler problems are fixed.
13059 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13060 Document --enable-threads and --enable-libgcj status.
13062 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13064 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13067 2001-08-03 Richard Henderson <rth@redhat.com>
13069 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13072 2001-08-03 Richard Henderson <rth@redhat.com>
13074 * rtlanal.c (find_first_parameter_load): Stop if we
13075 reach a CODE_LABEL at BOUNDARY.
13077 2001-08-03 Richard Henderson <rth@redhat.com>
13079 * config/alpha/alpha.md (force_movdi): New insn.
13080 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13081 Tweek FRP marking of VMS prologue insns.
13082 * config/alpha/vms.h (EPILOGUE_USES): New.
13084 2001-08-02 Richard Henderson <rth@redhat.com>
13086 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13088 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13090 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13091 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13092 config/convex/convex.h, config/d30v/d30v.c,
13093 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13094 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13095 config/mips/mips.h, config/mn10200/mn10200.h,
13096 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13097 config/v850/v850.h, config/vax/openbsd.h,
13098 config/vax/openbsd1.h, config/vax/ultrix.h,
13099 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13100 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13101 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13102 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13103 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13104 in comments and documentation.
13106 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13110 * Makefile.in (line-map.o): New.
13111 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13112 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13113 * cpperror.c (print_containing_files): Similarly.
13114 (print_location): Update. Don't output a space before _Pragma.
13115 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13116 (stack_include_filee, cpp_make_system_header): Update.
13117 (_cpp_execute_include): Get logical line number right for calling
13118 as-yet-unterminated #include.
13119 * cpphash.h (struct cpp_reader): Add line_maps.
13120 (_cpp_do_file_change): Update.
13121 * cppinit.c (cpp_create_reader): Initialize line maps.
13122 (cpp_destroy): Destroy line maps.
13123 (cpp_start_read): Get logical line number right.
13124 * cpplex.c (parse_string): Only warn once for multi-line strings.
13125 Use boolean variable for null warning.
13126 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13128 (do_include_common): End the directive early.
13129 (do_line): Don't warn about out-of-range lines in preprocessed
13130 source. Update. Remove unused variables.
13131 (_cpp_do_file_change): Update for new line mapping.
13132 (pragma_cb): New typedef.
13133 (cpp_register_pragma): Stop looking ahead before calling the
13135 (do_pragma_system_header): End directive early.
13136 (cpp_get_line_maps): New.
13137 (cpp_pop_buffer): Fudge logical line. Update.
13138 * cpplib.h: Include line-map.h
13139 (enum cpp_fc_reason): Remove.
13140 (struct cpp_file_change): Update.
13141 (cpp_get_line_maps): New.
13142 * cppmain.c (struct_printer): New member map.
13143 (cb_file_change): Update for new mappings.
13144 * fix-header.c (cb_file_change): Similarly.
13146 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13148 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13149 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13151 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13153 * config/vax/vax.c: include expr.h.
13155 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13157 * Makefile.in ($(srcdir)/configure): Only rebuild in
13159 ($(srcdir)/config.in): Only define in maintainer mode.
13160 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13162 2001-08-02 David Edelsohn <edelsohn@gnu.org>
13164 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13166 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13168 * gcc.c (set_collect_gcc_options): New function, split out from
13170 Ignore elided switches.
13171 (do_spec_1): Invoke before executing command.
13172 (set_input): Export.
13173 Move declaration ...
13174 * gcc.h (set_input): ... here.
13175 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13178 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13181 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13183 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13185 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
13187 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13188 for the unnamed instructions it expands to.
13190 2001-08-02 Richard Henderson <rth@redhat.com>
13192 * regclass.c (call_really_used_regs): Conditionally define.
13193 (init_reg_sets_1): Don't use it if not defined.
13194 (fix_register): Similarly, don't set it.
13196 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13198 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13199 Correct comment that had been missed in the previous change.
13201 2001-08-01 Stan Shebs <shebs@apple.com>
13203 * config/darwin.c (machopic_stub_name): Try matching by name.
13204 (update_stubs): New function.
13205 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
13208 2001-08-01 Richard Henderson <rth@redhat.com>
13210 * except.c (output_function_exception_table): Use assemble_align.
13211 * varasm.c (assemble_eh_label): Remove.
13212 (assemble_eh_align, assemble_eh_integer): Remove.
13214 2001-08-01 Robert Lipe <robertl@caldera.com>
13216 * dwarfout.c: Remove reference to README.DWARF.
13218 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
13220 * regclass.c (call_really_used_regs): New array for registers which
13221 are actually used by a call.
13222 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13224 (fix_register): Set call_really_used too.
13225 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13226 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13228 2001-08-01 Richard Henderson <rth@redhat.com>
13230 * read-rtl.c (read_name): Consider \r whitespace.
13232 2001-07-11 Andrew Cagney <ac131313@redhat.com>
13234 * config.gcc: Recognize powerpc-*-netbsd*.
13236 * doc/install.texi (Host/target specific installation notes for
13237 GCC): Mention powerpc-*-netbsd*.
13239 * config/rs6000/netbsd.h: New file.
13240 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13241 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13242 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13243 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13244 (TARGET_VERSION): Redefine.
13246 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13247 mcall-netbsd as a match for mcall-sysv.
13248 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13249 (ncrti.S, ncrtn.S): New targets.
13250 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13252 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13253 "netbsd' as a V4 ABI.
13254 (ASM_SPEC): Check for -mcall-netbsd.
13255 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13256 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13257 (LIB_SPEC, ENDFILE_SPEC): Ditto.
13258 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13259 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13260 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13261 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13263 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13264 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13266 2001-08-01 Mark Kettenis <kettenis@gnu.org>
13268 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13269 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13270 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13271 including "unwind-pe.h".
13273 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13275 * rs6000.md (define_splits): Kill unused constraints.
13277 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
13278 Jan Hubicka <jh@suse.cz>
13280 * function.c (thread_prologue_and_epilogue_insns): Kill code
13281 dealing with non-existent CFG.
13283 2001-08-01 Kazu Hirata <kazu@hxi.com>
13285 * alias.c: Fix comment formatting.
13286 * bitmap.c: Likewise.
13287 * builtins.c: Likewise.
13288 * calls.c: Likewise.
13289 * c-common.c: Likewise.
13290 * c-decl.c: Likewise.
13291 * c-dump.c: Likewise.
13292 * c-lex.c: Likewise.
13293 * collect2.c: Likewise.
13294 * combine.c: Likewise.
13295 * conflict.c: Likewise.
13296 * cppfiles.c: Likewise.
13297 * cppinit.c: Likewise.
13298 * cpplex.c: Likewise.
13299 * cpplib.c: Likewise.
13300 * cppmacro.c: Likewise.
13301 * cppspec.c: Likewise.
13302 * c-pragma.c: Likewise.
13303 * crtstuff.c: Likewise.
13305 * cselib.c: Likewise.
13306 * c-semantics.c: Likewise.
13307 * c-typeck.c: Likewise.
13309 2001-08-01 H.J. Lu <hjl@gnu.org>
13311 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13313 2001-08-01 H.J. Lu <hjl@gnu.org>
13315 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13317 2001-08-01 Ziemowit Laski <zlaski@apple.com>
13319 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13320 contextualizing Objective-C class name lookup by the lexer.
13321 (typespec_reserved_nonattr): Disable ObjC class name lookup after
13323 (protocoldef): Add support for forward @protocol declarations.
13324 (yylexname): Suppress ObjC class name lookup in certain contexts;
13325 re-enable after lookup is complete.
13326 (_yylex): Re-enable ObjC class name lookup when certain
13327 punctuation marks are seen.
13329 * objc/objc-act.c (check_protocol_recursively): New function used
13330 for finding circular dependencies in protocols.
13331 (objc_declare_protocols): New function for handling forward
13332 @protocol declarations.
13333 (receiver_is_class_object): Detect the case when 'self' is used
13334 inside of a class method.
13335 (build_message_expr): Issue a warning if class method is desired
13336 but instance method is found instead.
13337 (conforms_to_protocol): Streamline.
13338 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13339 protocol Foo, even if 'Bar foo' does not.
13340 (check_protocols): Streamline.
13341 (start_protocol): Add checks for circular and duplicate protocol
13343 (encode_aggregate_within): For typedefs of structs, encode the
13345 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13346 (objc_declare_protocols): New prototype.
13348 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13350 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13351 * cpplex.c (handle_newline): Update prototype. Maintain logical
13353 (skip_escaped_newlines, skip_block_comment, parse_string):
13354 Update accordingly.
13355 (_cpp_lex_token): Update, and store token position within the token.
13356 * cpplib.h (struct cpp_token): Add line and column entries.
13357 * cppmacro.c (replace_args): Position stringified tokens correctly.
13359 2001-08-01 Andreas Jaeger <aj@suse.de>
13361 * basic-block.h: Add prototype for last_loop_beg_note.
13363 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
13365 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13366 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13368 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13369 while handling WITH_CLEANUP_EXPR node. Use second operand calling
13370 expand_decl_cleanup.
13371 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13373 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13374 operand while calling simple_cst_equal.
13375 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13376 operand is the cleanup expression, the third is the RTL_EXPR.
13377 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13379 2001-07-31 Jeff Sturm <jsturm@one-point.com>
13381 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13383 2001-07-31 matthew green <mrg@eterna.com.au>
13385 * config.gcc (i386-*-netbsdelf): New description.
13386 * config/i386/netbsd-elf.h: New file.
13388 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
13390 * loop.c (check_dbra_loop): Use single_set to compute
13393 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
13395 PowerPC reorg and support for powerpc64-*-linux*.
13397 Also fixes emitting of constants on 32 bit and 64 bit
13400 * config.gcc: powerpc64-*-linux* is a new target.
13401 Things that needed aix.h now also include xcoff.h
13403 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13405 Move AIX specific stuff into aix.h.
13406 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13407 with more than just XCOFF now.
13408 (SET_ASM_OP): Remove, now defined where needed.
13409 (FUNCTION_PROLOGUE): New macro definition.
13410 (FUNCTION_EPILOGUE): New macro definition.
13411 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13413 * config/rs6000/xcoff.h: New file.
13415 * config/rs6000/linux64.h: New file.
13417 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13419 2001-07-31 Alan Modra <amodra@bigpond.net.au>
13421 * rs6000.c (print_operand_address): Handle ELF syntax.
13422 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
13423 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13424 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13426 2001-07-31 David Edelsohn <edelsohn@gnu.org>
13428 * rs6000.c (rs6000_override_options): Only disable
13429 flag_function_sections for XCOFF.
13430 (exact_log2_cint_operand): New predicate.
13431 (reg_or_{add,sub}_cint64_operand): New predicates.
13432 (add_operand): Compare CONST_INT with fewer function calls.
13433 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13434 (print_operand, case 'p'): Ensure positive operand.
13435 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13436 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13437 (PREDICATE_CODES): Add new predicates.
13438 * rs6000.md (addsi3): Split 32-bit constants more correctly.
13439 (divsi3, modsi3): Ensure positive power-of-2.
13440 (adddi3): Use new predicate. Split 32-bit constants more
13441 correctly. Re-arrange splitter to handle any constant.
13442 (subdi3): Use new predicate.
13443 (divdi3, moddi3): Ensure positive power-of-2.
13444 (movdi): Use rs6000_emit_set_const.
13445 (load_toc_v4_pic_di): Delete.
13447 2001-07-31 Graham Stott <grahams@redhat.com>
13449 * function.c (pad_below): Revert 2001-07-26 patch.
13451 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13453 * reg-stack (convert_regs_1): Fix best edge condition.
13455 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
13457 * jump.c (duplicate_loop_exit_test): Better test for jumps
13458 entering the loop; create loop pre_header.
13460 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13462 * doc/install.texi: Add s390 and s390x as new targets.
13463 * doc/invoke.texi: Add documentation of S/390 and zSeries
13465 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13467 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13469 * config/m68k/m68k.md: Replace all general_operand with
13470 nonimmediate_operand for all destinations.
13471 * config/m68k/m68k.c (not_sp_operand): Likewise.
13473 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
13475 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13477 2001-07-30 Richard Henderson <rth@redhat.com>
13479 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13480 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13482 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13484 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13485 Add missing doc strings
13486 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13487 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13489 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
13491 * i386.c (ix86_output_main_function_alignment_hack): New function.
13492 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13494 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13495 edges by EDGE_DFS_BACK flag.
13496 (dump_edge_info): Add dfs_back flag.
13497 * basic-block.h (EDGE_DFS_BACK): New constant.
13498 (mark_dfs_back_edges): Declare.
13499 * alias.c (loop_p): Remove.
13500 (mark_constant_function): Use mark_dfs_back_edges.
13502 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13503 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13504 (compensate_edge): Break out from ...
13505 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13506 (convert_regs_2): Set block_done once block is really done;
13507 Do updating of the predecessors counts.
13509 * toplev.c (rest_of_compilation): Recompute block_for_insn
13510 before post-reload cfg_cleanup.
13511 * function.c (thread_prologue_epilogue_insns):
13512 Call set_block_for_new_insns when emitting prologue directly.
13514 2001-07-30 Andreas Jaeger <aj@suse.de>
13516 * jump.c: Add prototype for mark_modified_reg.
13518 * cse.c (set_live_p): Add unused attribute.
13520 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13522 (scan_for_source_files): Use long for count to avoid overflow.
13523 (output_data): Likewise.
13524 (output_data): Don't use string concatatenation to silence gcc
13527 * predict.c: Fix typos and grammar.
13529 * gcse.c (insert_insn_end_bb): Remove unused variables.
13531 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
13533 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13534 (attempt_auto_inc): LIkewise.
13535 (mark_used_reg): Likewise.
13536 (try_pre_increment_1): Likewise.
13537 * regclass.c (regclass): Likewise.
13538 * global.c (allocno_compare): Update comment; change scaling factor.
13539 * local-alloc.c (QTY_CMP_PRI): Likewise.
13540 * regs.h (REG_FREQ_FROM_BB): New.
13541 (REG_FREQ_MAX): Likewise.
13543 2001-07-30 H.J. Lu <hjl@gnu.org>
13545 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13548 2001-07-30 H.J. Lu (hjl@gnu.org)
13550 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13551 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13552 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13554 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
13556 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13557 as -mthumb-interwork when -mcpu=arm7 is specified.
13559 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13561 * predict.def (noreturn, loop branch, loop exit): Mark as first
13564 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
13566 * combine.c (try_combine): Avoid barrier after noop jumps.
13568 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13570 * cpphash.h (struct cpp_reader): Remove import_warning.
13571 * cpplib.c (skip_rest_of_line): Don't bother turning off
13573 (parse_include): Move include handling to...
13574 (do_include_common): ... here. Move import warning from...
13575 (do_import): ... here.
13576 (do_pragma_poison): Don't do a callback for poison identifiers.
13577 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13578 * cppmain.c (setup_callbacks): Similarly.
13580 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13582 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13583 handle multiple sets.
13584 * except.c (sjlj_mark_call_sites): .... here.
13585 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13587 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13589 Suggested by Richard Henderson and Richard Kenner:
13590 * combine.c (recog_for_combine): Use the fake recog
13591 only if instruction does not match.
13592 * rtl.h (NOOP_MOVE_INSN_CODE): New.
13593 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13595 * combine.c (try_combine): Discover noop jump as direct jump.
13597 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
13599 * df.c (df_rd_global_compute): Add successors to worklist, not
13601 (df_ru_global_compute): Ditto.
13603 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
13605 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13606 increment REG_N_SETS.
13608 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
13610 * sbitmap.h: New prototype for sbitmap_a_xor_b.
13612 * sbitmap.c (sbitmap_a_xor_b): New function.
13613 ifdef the basic block stuff on IN_GCC.
13615 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13617 * cppexp.c (parse_defined): Always record the macro name.
13618 (lex): Don't worry about identifiers, or special-case
13620 (_cpp_parse_expr): Figure out at the end of the routine
13621 whether we saw a valid !defined() expression.
13622 * cppfiles.c (stack_include_file): Update for mi_valid.
13623 (_cpp_pop_file_buffer): Similarly.
13624 * cpplex.c (_cpp_lex_token): Similarly.
13625 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13626 mi_if_not_defined, mi_lexed): Remove.
13628 * cpplib.c (do_if): Simplify.
13629 (do_endif, push_conditional, _cpp_handle_directive): Update
13630 for renaming of mi_state to mi_valid.
13632 * cpp.texi: Add index entries for digraphs, and add comment
13633 that C++ refers to them as alternative tokens.
13635 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
13637 * basic-block.h (CLEANUP_PRE_LOOP): New.
13638 * except.c (finish_eh_generation): Update call of cleanup_cfg.
13639 * sibcall.c (optimize_sibling_calls): Likewise.
13640 * toplev.c (rest_of_compilation): Likewise.
13641 * flow.c (try_forward_edges): Take argument MODE;
13642 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13643 (try_optimize_cfg): Update call of try_forward_edges.
13645 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13646 Jan Hubicka <jh@suse.cz>
13648 * (validate_replace_rtx_1): Fix simplification of MINUS.
13650 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
13652 PR preprocessor/3669
13653 * cppinit.c (init_dependency_output): Turn off dump requests
13654 if sending dependencies to stdout.
13656 2001-07-28 Richard Henderson <rth@redhat.com>
13658 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13661 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
13663 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13665 2001-07-28 Kazu Hirata <kazu@hxi.com>
13667 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13668 is VAR_DECL first to prevent an ICE.
13670 2001-07-28 Richard Henderson <rth@redhat.com>
13672 * varasm.c (immed_real_const_1): Don't elide special cases for
13674 (clear_const_double_mem): Clear const_tiny_rtx too.
13676 2001-07-28 Richard Henderson <rth@redhat.com>
13678 * dwarf2out.c (dw_val_class_offset): New.
13679 (struct dw_ranges_struct, dw_ranges_ref): New.
13680 (ranges_table, ranges_table_allocated): New.
13681 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13682 (add_AT_offset, add_ranges, output_ranges): New.
13683 (print_die, output_die): Handle dw_val_class_offset.
13684 (attr_checksum, size_of_die, value_format): Likewise.
13685 (gen_lexical_block_die): Handle non-contiguous blocks.
13686 (gen_block_die): Likewise.
13687 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13688 if needed. Dump the ranges table.
13689 * final.c (final_start_function): Remove unnecessary notes and
13690 rebuild the block tree before numbering the blocks.
13691 * function.c (reorder_blocks_0): Walk the existing block tree
13692 to unmark all blocks.
13693 (reorder_blocks_1): Create block fragments when duplicate block
13695 (reorder_fix_fragments): New.
13696 (reorder_blocks): Call it.
13697 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13699 2001-07-28 Richard Henderson <rth@redhat.com>
13701 * emit-rtl.c (adjust_address): Make a copy of the memory address.
13703 2001-07-28 Richard Henderson <rth@redhat.com>
13705 * flow.c (add_to_mem_set_list): New function.
13706 (init_propagate_block_info): Use it.
13707 (mark_set_1): Likewise.
13708 (insn_dead_p): Canonicalize memory address for dead store
13709 comparison. Allow wider mode stores to kill narrower mode stores.
13710 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
13711 (invalidate_mems_from_set): Don't handle MEMs.
13713 2001-07-28 Kazu Hirata <kazu@hxi.com>
13715 * config/h8300/h8300.h: Fix formatting.
13717 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13719 * basic-block.h (EDGE_FREQUENCY): New macro.
13720 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
13722 * flow.c (find_sub_basic_blocks): Likewise.
13723 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
13724 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
13726 * predict.c (DEF_PREDICTOR): New argument FLAGS.
13727 (HITRATE): New macro.
13728 (PRED_FLAG_FIRST_MATCH): New constant.
13729 (predictor_info): New field flgags.
13730 (combine_predictions_for_insn): Use DS theory to combine
13731 probabilities; set the edge probabilities when finished.
13732 (estimate_probability): Avoid duplicated matches
13733 of LOOP_BRANCH heuristics for nested loops; update comment.
13734 * predict.def: Add flags for each prediction, set probabilities
13735 according to B&L paper.
13736 * predict.h (DEF_PREDICTOR): New argument FLAGS.
13738 * profile.c (compute_branch_probabilities): Cleanup way the edge
13739 probabilities are computed and REG_BR_PROB notes are dropped; if
13740 values does not match, emit error.
13741 (init_branch_prob): Do error instead of warning when profile driven
13742 feedback is missing or corrupt.
13744 2001-07-27 DJ Delorie <dj@redhat.com>
13746 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
13747 against a constant, try to adjust the compare to have the desired
13748 constant in it so that min/max optimizations happen more often.
13750 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13752 * flow.c (last_loop_beg_note): New function.
13753 (redirect_edge_and_branch): Use it.
13754 (split_edge): Likewise.
13756 * alias.c (loop_p): Avoid uninitialized memory access.
13758 * flow.c (try_forward_edges): Avoid accessing freed memory.
13760 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
13763 2001-07-26 Andrew Haley <aph@redhat.com>
13764 Joern Rennecke <amylaar@redhat.com>
13766 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
13767 (SUBTARGET_CPP_ENDIAN_SPEC): New.
13768 (SUBTARGET_CPP_SPEC): New.
13769 (CPP_SPEC): Remove.
13770 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
13771 (SUBTARGET_CPP_PTR_SPEC): New.
13772 (CPP_DEFAULT_CPU_SPEC): New.
13773 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
13774 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13775 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
13776 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13777 (SUBTARGET_CPP_SPEC): Define as an empty string.
13779 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13781 * doc/install.texi (Configuration): Properly link the host
13782 specific instructions also when generating HTML.
13784 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
13786 * flow.c (redirect_edge_and_branch_force): Test
13787 target->global_live_at_start.
13789 2001-07-26 Richard Henderson <rth@redhat.com>
13791 * simplify-rtx.c (avoid_constant_pool_reference): Export.
13792 * rtl.h (avoid_constant_pool_reference): Declare it.
13793 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
13794 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
13796 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13798 * rtl.h (cleanup_barriers): Declare.
13799 * jump.c (cleanup_barriers): New function.
13800 * toplev.c (rest_of_compilation): Call cleanup_barriers
13801 before loop optimizer and after bb_reorder.
13803 * flow.c (back_edge_of_syntactic_loop_p): New.
13804 (split_edge): Use it.
13806 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13808 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
13810 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
13812 * cse.c (cse_process_notes): Replace any registers if the address
13815 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
13817 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
13818 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
13819 (propagate_block): Update prototype.
13820 * flow.c (update_life_info): Simplify the CFG and
13821 recalculate the global regs which are alive when
13822 removing dead code during a global update.
13823 (propagate_block): Return non-zero if an INSN is
13826 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13828 * Makefile.in (LIBICONV): Define.
13830 2001-07-26 Catherine Moore <clm@redhat.com>
13832 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
13833 of conditional to avoid tree checking errors.
13835 2001-07-26 Kazu Hirata <kazu@hxi.com>
13837 * regmove.c (regmove_optimize): Don't replace a reg with
13838 another reg of a different mode.
13840 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
13842 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
13843 limit length of dependency flush list.
13844 * params.h (MAX_PENDING_LIST_LENGTH): Define.
13845 * sched-int.h (struct deps): Add pending_flush_length field.
13846 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
13847 has 1 element in it.
13848 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
13849 (sched_analyze): After a jump, if the pending memory flush list is too
13850 large, flush the pending lists.
13851 (init_deps): Initialize pending_flush_length to 0.
13852 * doc/invoke.texi (max_pending_list_length): Document parameter.
13854 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
13856 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
13857 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
13858 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
13860 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13862 * cpphash.h (struct_lexer_state): Delete was_skipping.
13863 Move skipping here from struct cpp_reader.
13864 * cpplex.c (parse_identifier): Update.
13865 (_cpp_lex_token): Don't skip tokens in a directive.
13866 * cpplib.c (struct if_stack): Update.
13867 (start_directive, end_directive): Don't change skipping state.
13868 (_cpp_handle_directive): Update.
13869 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
13870 (do_else, do_endif): Update; only check for excess tokens if not
13871 in a skipped conditional block.
13872 (push_conditional): Update for new struct if_stack.
13874 2001-07-26 Graham Stott <grahams@redhat.com>
13876 * function.c (locate_and_pad_parm): Also pad initial offset
13877 so that the total argument size also includes the padding.
13879 2001-07-26 Graham Stott <grahams@redhat.com>
13881 * gensupport.c (alter_output_for_insn): Correct enable checking failure
13882 change XSTR to XTMPL.
13884 (process_one_cond_exec): Likewise
13886 2001-07-25 Richard Henderson <rth@redhat.com>
13888 * varasm.c (assemble_variable): Create DECL_RTL before setting
13891 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
13893 * predict.c (estimate_probability): Avoid duplicated predictions.
13895 * loop.c (find_and_verify_loops): Grok multiple barriers.
13897 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13899 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
13901 * dbxout.c: Consistently use putc instead of fputc.
13902 (print_wide_int): New function; call instead of direct fprintf.
13903 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
13904 (dbxout_type_fields, dbxout_type_method_1): Likewise.
13905 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
13906 (print_int_cst_octal): Likewise.
13907 (print_octal): Show we wrote characters.
13908 (dbxout_type): Set have_used_extensions in more places.
13910 2001-07-25 Catherine Moore <clm@redhat.com>
13912 * config/v850/v850.c (v850_va_arg): Use addr
13913 instead of valist to build incr.
13915 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
13917 * flow.c (delete_dead_jumptables): New function.
13918 (life_analyzis): Call it.
13919 * bb-reorder.c (skip_insns_after_block): Handle contradictory
13922 2001-07-25 Richard Henderson <rth@redhat.com>
13924 * except.c (reachable_handlers): Handle a region being removed
13925 out from under a RESX.
13927 2001-07-25 Richard Henderson <rth@redhat.com>
13929 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
13930 swap GE/GT if it is an fp comparison.
13932 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
13934 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
13937 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
13939 * ssa.c (rename_insn_1): Do not wrap an assignment to a
13940 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
13943 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
13944 throw an exception.
13945 (visit_expression): When attempting to simplify an expression,
13946 retrieve any modes for arguments before they are simplified
13949 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
13950 Janis Johnson <janis@us.ibm.com>
13952 * stmt.c (expand_goto): A nonlocal goto can be a call too.
13953 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
13954 pointer parameters to match documented usage of nonlocal_goto.
13955 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
13956 parameters to their correct order.
13957 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
13958 parameters to their correct order.
13960 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
13962 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
13964 2001-07-25 Jan Hubicka <jh@suse.cz>
13965 Richard Henderson <rth@redhat.com>
13967 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
13969 (make_edges): New argument update_p; populate the edge cache if set.
13970 (find_basic_blocks): Update make_edges invocation.
13972 2001-07-24 Joel Sherrill <joel@OARcorp.com>
13974 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
13976 2001-07-24 Joel Sherrill <joel@OARcorp.com>
13978 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
13979 -Acpu and -Amachine.h.
13980 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
13981 Corrected header to say ELF not a.out.
13982 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
13983 when given -msoft-float.
13985 2001-07-24 Joel Sherrill <joel@OARcorp.com>
13987 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
13988 extra multilib parts like arm-elf.
13989 (i960-*-coff*, i960-*-rtems): Should not use collect2.
13990 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
13991 crtfini.o as extra multilib parts.
13993 2001-07-24 Joel Sherrill <joel@OARcorp.com>
13995 * configure.in: Add rtems as a supported thread model.
13996 * gthr-rtems.h: Add missing entry point __gthread_active_p.
13997 * configure: Rebuilt.
13999 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
14001 * stor-layout.c (get_mode_alignment): make it work when
14002 BITS_PER_UNIT is not a power of two.
14003 * builtins.c (get_pointer_alignment): Likewise.
14005 2001-07-24 Richard Henderson <rth@redhat.com>
14007 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14008 the retrieved constant into the expected mode.
14010 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14012 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14013 (verify_flow_info): Check for duplicated edges; clarify
14016 * flow.c (block_label): Update basic_block_for_insn.
14017 (commit_edge_insertions): Call compute_bb_for_insn.
14019 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14022 * flow.c (redirect_edge_and_branch,
14023 try_optimize_cfg): Use redirect_edge_succ_nodup
14024 (redirect_edge_succ_nodup): New.
14025 * basic_block.h (redirect_edge_succ_nodup): Declare.
14027 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14030 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14032 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14033 (try_crossjump_to_edge): Update commetns.
14034 (try_crossjump_bb): Likewise.
14036 2001-07-24 Richard Henderson <rth@redhat.com>
14038 * combine.c (distribute_notes): Move set of need_refresh
14039 for noop_move_p down to catch all cases.
14041 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14043 * recog.c (split_all_insns_noflow): New.
14044 * rtl.h (split_all_insns_noflow): Declare.
14045 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14046 * m68hc11.c (m68hc11_reorg): Likewise.
14047 * sh.c (machine_dependent_reorg): Likewise.
14048 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14051 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14053 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14054 (ashlsi3_n splitter): Likewise.
14055 (lshrsi3_n splitter): Likewise.
14057 (GOTaddr2picreg): Make const SImode.
14058 (sym_label2reg): Likewise.
14059 (symGOT2reg): Likewise.
14060 (symGOTOFF2reg) Likewise.
14062 (casesi_worker_0): Make unspec SImode.
14064 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14066 * config/sh/sh.c (barrier_align): Check that an operand really is
14067 an insn before extracting its INSN_CODE.
14069 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14071 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14074 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14075 for SImode to prevent overflow.
14077 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14079 * config/mips/irix6-libc-compat.c: New file.
14080 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14081 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14082 passing workaround.
14084 2001-07-24 lars brinkhoff <lars@nocrew.org>
14086 * rtl.texi (REG_POINTER): Document.
14087 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14088 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14090 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14092 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14094 2001-07-23 Richard Henderson <rth@redhat.com>
14096 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14098 2001-07-23 Kazu Hirata <kazu@hxi.com>
14100 * config/h8300/h8300-protos.h: Add a prototype for
14101 general_operand_dst_push.
14102 * config/h8300/h8300.c (general_operand_dst_push): New.
14103 * config/h8300/h8300.h (OK_FOR_T): New.
14104 (EXTRA_CONSTRAINT): Use it.
14105 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14106 the existing movqi pattern.
14107 (movhi_push): Likewise.
14109 * reload.c: Fix comment typos.
14111 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14113 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14115 2001-07-23 H.J. Lu (hjl@gnu.org)
14117 * doc/extend.texi: Update __builtin_return_address and
14118 __builtin_frame_address.
14120 2001-07-23 Richard Henderson <rth@redhat.com>
14122 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14124 * config/i386/i386.md: New setcc+movzbl peephole2.
14126 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14128 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14129 * objc/objc-act.c: Include debug.h.
14130 (synth_module_prologue): Save and restore debug hooks too.
14132 2001-07-23 lars brinkhoff <lars@nocrew.org>
14134 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14135 and C4X_FLOAT_FORMAT.
14136 (BOOL_TYPE_SIZE): Document.
14138 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14140 * unroll.c (loop_iterations): Fix miscalculation of initial
14143 2001-07-13 Andrew Haley <aph@redhat.com>
14145 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14146 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14147 * config/sh/sh.c (sh_can_redirect_branch): New function.
14148 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14149 * reorg.c (steal_delay_list_from_target): Use
14150 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14152 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14154 * flow.c (try_simplify_condjump): Unlink insn chain on
14155 fallthru edge; use can_fallthru.
14157 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14159 * basic-block.h (find_sub_basic_block): Declare.
14160 * flow.c (make_edges): New arguments MIN and MAX;
14161 (find_sub_basic_blocks): Revamp to use make_edges
14162 and purge_dead_edges.
14163 (find_basic_blocks): Update call of find_sub_basic_block.
14165 * recog.c (split_all_insns): Always expect CFG to be consistent;
14166 call find_sub_basic_blocks in case something has changed.
14167 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14170 * basic-block.h (delete_noop_moves): Declare.
14171 * combine.c (combine_instructions): Call it.
14172 (recog_for_combine): Tolerate noop moves
14173 (distribute_notes): Force refresh when register dies at noop move.
14174 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14176 (life_analysis): Update delete_noop_moves call.
14177 (set_noop_p): Move too ...
14178 * rtlanal.c (noop_move_p): ... here.
14179 * rtl.h (noop_move_p): Declare.
14181 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14182 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14184 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14185 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14187 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14189 * reload.c (push_reload): Fix typo in comment.
14190 (find_reloads_address): Ditto.
14191 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14193 2001-07-22 Richard Henderson <rth@redhat.com>
14195 * flow.c: Grammar check and clarify a lot of comments.
14196 (try_simplify_condjump): Rename variables to be clearer.
14197 (try_forward_edges): Skip complex and fallthru edges.
14198 Rearrange tests to avoid duplicate checks.
14199 (flow_find_cross_jump): Likewise.
14200 (outgoing_edges_match): Allow match if neither branch has
14201 probability data. Loosen probability match to 5%.
14202 (try_crossjump_to_edge): Hoist repeated indirection into
14204 (try_crossjump_bb): Don't check complex edges. Eliminate
14205 redundant crossjump tests.
14206 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
14207 checks before more expensive checks.
14209 2001-07-22 Richard Henderson <rth@redhat.com>
14211 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14212 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14215 2001-07-22 Richard Henderson <rth@redhat.com>
14217 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14218 (const_sint32_operand): Likewise.
14219 * m68k.md (anon mulsi pattern): Use const_int_operand not
14220 const_sint32_operand.
14221 (umulsi3_highpart): Zero extend a constant input.
14222 (smulsi3_highpart): Don't bother checking SImode constant.
14223 (const_umulsi3_highpart): Give op3 DImode.
14224 (const_smulsi3_highpart): Likewise.
14226 2001-07-22 Richard Henderson <rth@redhat.com>
14228 * flow.c (split_block): Make sure bb_note is included in the
14229 new block when splitting before a label.
14231 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
14233 * basic-block.h (redirect_edge_and_branch_force,
14234 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14235 * flow.c (redirect_edge_and_branch_force,
14236 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14237 (redirect_edge_and_branch_force): Fix copying of lifeness information.
14238 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14239 * ifcvt.c (dead_or_predictable): Take BB as an new destination
14240 instead of label; update CFG after transformation.
14241 (find_if_case_1): Update call, use redirect_edge_and_branch_force
14242 for finishing the transformation; handle even case where ELSE
14243 does not follow THEN.
14244 (find_if_case_2): Update call of dead_or_predictable; simplify
14247 * emit-rtl.c (split_branch_probability): New global variable.
14248 (try_split): Take care to set split_branch_probability and
14249 create REG_BR_PROB note for new jump insns.
14250 * md.texi (define_split): Document new feature.
14252 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14254 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14256 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14257 (asm_out_file): Remove redundant declaration.
14258 (assemble_asm): Remove old #if 0 block.
14259 (assemble_variable): Remove end of function; debug output is
14260 now handled with global_decl. Remove old #if 0 block. Update.
14261 Remove saved_in_section and associated no-op code.
14262 * Makefile.in (varasm.o): Correct dependencies.
14264 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
14266 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14267 the definition in defaults.h.
14269 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
14271 * jump.c: Update comments.
14272 (delete_barrier_successors, delete_unreferenced_labels,
14273 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14274 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14275 jump_optimize, jump_optimize_minimal): Kill.
14276 (rebuild_jump_labels): Move code from jump_optimize_1.
14277 (purge_line_number_notes): Likewise.
14278 (copy_loop_headers): Likewise.
14279 * reg-stack.c: Update comment.
14280 * stmt.c: Likewise.
14281 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14282 JUMP_AFTER_REGSCAN): Kill.
14283 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14284 purge_line_number_notes and copy_loop_headers.
14286 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14287 Richard Henderson <rth@redhat.com>
14289 * dbxout.c (dbxout_global_decl): New.
14290 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14291 * sdbout.c (sdbout_finish): New.
14292 (sdbout_debug_hooks): Use it, add comments.
14293 (sdbout_global_decl): Defer initialised public vars to
14295 * varasm.c (assemble_variable): Don't output debug information
14296 for file-scope variables.
14298 2001-07-22 Richard Henderson <rth@redhat.com>
14300 * config/alpha/alpha.c (get_trap_mode_suffix): New.
14301 (get_round_mode_suffix): New.
14302 (print_operand): Use them for [/]. Remove support for [&'`()+].
14303 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14304 * config/alpha/alpha.md (attr round_suffix): New.
14305 (attr trap_suffix): New.
14306 (all insns): Set them appropriately. Use %/ instead of the
14307 myriad punctuators.
14309 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14311 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14313 2001-07-22 Richard Henderson <rth@redhat.com>
14315 * regrename.c (regrename_optimize): Compute nregs for each
14316 potential target register.
14318 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
14319 Richard Henderson <rth@redhat.com>
14321 * dbxout.c (dbxout_global_decl): New.
14322 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14323 * sdbout.c (sdbout_finish): New.
14324 (sdbout_debug_hooks): Use it, add comments.
14325 (sdbout_global_decl): Defer initialised public vars to
14327 * varasm.c (assemble_variable): Don't output debug information
14328 for file-scope variables.
14330 2001-07-21 H.J. Lu (hjl@gnu.org)
14332 * config/mips/mips.c (mips_cpu): Moved into ...
14333 (override_options): Here.
14335 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14337 (mips_cpu): Removed.
14339 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14341 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14342 ("iorqi3"): Likewise.
14343 ("xorqi3"): Likewise.
14344 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14345 ("*subhi3_sp): Likewise.
14346 ("*subhi3"): Likewise.
14347 ("extendhisi2"): Accept D, X and Y as source operand to avoid
14350 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
14352 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14353 * config/freebsd.h: Likewise.
14354 * config/linux.h: Likewise.
14355 * config/openbsd.h: Likewise.
14356 * config/alpha/linux-elf.h: Likewise.
14357 * config/arm/linux-elf.h: Likewise.
14358 * config/d30v/d30v.h: Likewise.
14359 * config/fr30/fr30.h: Likewise.
14360 * config/ia64/aix.h: Likewise.
14361 * config/ia64/ia64.h: Likewise.
14362 * config/mips/linux.h: Likewise.
14363 * config/pj/pj.h: Likewise.
14364 * config/rs6000/linux.h: Likewise.
14365 * config/sparc/linux.h: Likewise.
14366 * config/sparc/linux64.h: Likewise.
14368 2001-07-20 Bruce Korb <bkorb@gnu.org>
14370 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14371 because getc() and char* may disagree on signedness.
14373 2001-07-20 Richard Henderson <rth@redhat.com>
14375 * doc/rtl.texi (REG_DEAD): Update for current semantics.
14377 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14378 insns to delete in the presence of cc0 in a jump insn.
14380 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
14381 Jan Hubicka <jh@suse.cz>
14383 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14384 of doing the change by hand.
14386 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14388 * rtlanal.c (set_noop_p): Return true for noop jumps.
14390 * expr.c (emit_single_push_insn): Add call to push expander.
14391 * expr.h (optab_index): Add OTI_push
14392 (push_optab): New constant.
14393 * genopinit.c (optabs): Add push_optab.
14394 * optabs.c (init_optab): Init push optab.
14395 * md.texi (push??1): Document
14397 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14399 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14400 expand to emit the pattern; put a REG_INC note for push/pop
14402 ("movdf", "movdf_internal"): Likewise.
14403 ("movsi", "movsi_internal"): Likewise.
14404 ("movsf", "movsf_internal"): Likewise.
14405 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14407 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14409 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14412 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
14414 * params.def: Change default max inline insns to 100.
14416 2001-07-20 Diego Novillo <dnovillo@redhat.com>
14418 * combine.c (combine_simplify_rtx): Generate a new shift operation
14419 when simplifying the first operand of a (neg (ashift)) expression.
14421 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14423 * regclass.c (N_REG_INTS): Use only 32 bits per element.
14425 2001-07-20 Kelley Cook <kelley.cook@home.com>
14427 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14428 information. Move rest into ...
14429 (*-*-solaris): ... here. Eliminate redundant information and
14430 reword necessary packages section. Delete 4.x assembler bug info.
14431 (sparc-sun-*): Merge into ...
14432 (sparc-sun-sunos*): here.
14434 2001-07-20 Catherine Moore <clm@redhat.com>
14436 * config/v850/v850.md (casesi): Generate LABEL_REF
14439 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
14441 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14442 * i386.c (ix86_zero_extend_to_Pmode): Make global.
14443 * i386.md (strclrsi expander): Use it.
14445 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14447 * integrate.c (copy_insn_list): handle
14448 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14449 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14450 identically as to CODE_LABEL.
14452 * fold-const (fold): Convert A/B/C to A/(B*C) and
14455 * except.c (connect_post_landing_pads): Delete the RESX insns.
14457 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
14459 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14461 * config/mips/mips.md (nmadd/nmsub): Use macro.
14463 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
14465 * cppinit.c (remove_dup_dir): Make static.
14466 (remove_dup_dirs): Make static. Only warn about preempting a
14467 system directory with a non-system directory.
14469 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14471 * ifcvt.c (noce_try_store_flag_constants): Correct order
14472 of parameters to trunc_int_for_mode.
14474 2001-07-19 Mark Mitchell <mark@codesourcery.com>
14476 * reorg.c (fill_simple_delay_slots): If an instruction might throw
14477 an exception that will be caught within this function, do not fill
14478 its delay slot with any subsequent instruction.
14480 2001-07-19 Steve Ellcey <sje@cup.hp.com>
14482 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14483 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14484 pointer extension instruction.
14485 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14486 * simplify-rtx.c (simplify_unary_operation) Likewise.
14487 * explow.c (convert_memory_address) Check value of
14488 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14490 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14491 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14492 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14493 Add Multilib Support.
14494 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
14495 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14496 Add Multilib Support.
14497 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14499 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14500 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14501 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14503 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
14505 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14506 old and new operands in `<', `3' and `b'.
14508 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14510 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14511 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14512 (toplev.o): Don't depend on xcoffout.h.
14513 * c-decl.c: Include debug.h
14514 (duplicate_decls): Use debug hook.
14515 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14516 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14517 (dbxout_types): Remove.
14518 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14519 * debug.c (do_nothing_debug_hooks): Update.
14520 (debug_true_tree, debug_nothing_rtx): New.
14521 * debug.h (struct rtx_def): New.
14522 (struct gcc_debug_hooks): New hooks ignore_block,
14523 outlining_inline_function and label.
14524 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14525 dwarf2out_frame_finish): New.
14526 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14527 Make static, update prototype.
14528 (dwarf2_debug_hooks): Update.
14529 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14530 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14531 * dwarfout.c (dwarf_debug_hooks): Update.
14532 * emit-rtl.c: Include debug.h.
14533 (remove_unnecessary_notes): Use debug hook.
14534 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14535 (final_scan_insn): Use debug hook.
14536 * integrate.c (output_inline_function): Use debug hook.
14537 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14538 (sdb_debug_hooks): Update.
14539 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14540 * toplev.c: Don't include xcoffout.h.
14541 (note_outlining_of_inline_function, debug_ignore_block): Remove.
14542 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14544 * tree.h (dwarf2out_do_frame): Remove.
14546 2001-07-19 Catherine Moore <clm@cygnus.com>
14548 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14550 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14552 * reload1.c (eliminate_regs_in_insn): When updating a set
14553 to the frame pointer to the hardware frame pointer, perform
14554 the update always not just when REPLACE is set.
14556 * reload1.c (choose_reload_regs): Don't inherit a reload
14557 that crosses multiple registers if registers past the first
14558 don't fit in the desired class.
14560 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14561 when negating constants.
14563 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
14565 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14566 * doc/tree.texi: Ditto.
14568 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
14569 Jakub Jelinek <jakub@redhat.com>
14571 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14572 (extract_cie_info): Handle "eh" augmentation properly,
14574 (struct frame_state, __frame_state_for): New.
14576 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14578 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14579 HANDLE_SYSV_PRAGMA): Define.
14580 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14582 (copy_object): Caller changed.
14584 2001-07-19 Andreas Schwab <schwab@suse.de>
14586 * configure.in (assembler dwarf2 debug_line support): Define nop
14588 * configure: Regenerated.
14590 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14592 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14594 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14595 to conditionally compiled block.
14596 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14597 * dbxout.h (dbxout_function): Remove.
14598 * debug.c (do_nothing_debug_hooks): Update.
14599 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14600 global_decl, deferred_inline_function.
14601 * dwarf2out.c (dwarf2_debug_hooks): Update.
14602 (dwarf2out_global_decl): New.
14603 * dwarfout.c: Don't include dwarfout.h.
14604 (dwarfout_global_decl, dwarfout_function_decl,
14605 dwarfout_deferred_inline_function): New.
14606 (dwarf_debug_hooks): Update.
14607 * dwarfout.h: Remove.
14608 * final.c: Don't include dwarfout.h.
14609 * sdbout.c (sdbout_global_decl): New.
14610 (sdbout_debug_hooks): Update.
14611 * toplev.c: Don't include dwarfout.h.
14612 (check_global_declarations, rest_of_compilation): Use new debug hooks.
14613 (note_deferral_of_defined_inline_function): Remove.
14614 * toplev.h (note_deferral_of_defined_inline_function): Remove.
14615 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14616 * ch/lex.c: Don't include dwarfout.h.
14617 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14618 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14619 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14620 * cp/optimize.c: Include debug.h.
14621 (maybe_clone_body): Use debug hook.
14622 * cp/semantics.c: Include debug.h.
14623 (expand_body): Use debug hook.
14624 * po/POTFILES.in: Remove dwarfout.h.
14626 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14628 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14629 * c-parse.in (yyerror, _yylex): Similarly.
14630 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14631 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14633 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14634 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14636 2001-07-18 Jeff Sturm <jsturm@one-point.com>
14638 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14639 in-class declaration at -g1. Fixes c++/2814.
14641 2001-07-18 Richard Henderson <rth@redhat.com>
14643 * doc/md.texi (reload_in/out): Document restrictions in predicates
14644 and constraints for these patterns. Document empty string matching
14647 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14649 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14651 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14653 * cse.c: Undo my previous patch.
14655 2001-07-18 Tom Tromey <tromey@redhat.com>
14658 * configure: Rebuilt.
14659 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14661 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14663 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
14664 Jan Hubicka <jh@suse.cz>
14666 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14667 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14668 * jump.c (mark_jump_label): Do not forward branches.
14670 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
14672 * cse.c (delete_trivially_dead_insns): Delete the libcall block
14673 when return value is unused.
14675 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14677 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14679 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
14681 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14682 on error. We can't blindly return the result of
14683 pthread_mutex_trylock because it returns a positive number on
14684 error, while we must return -1 on error.
14685 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14687 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14689 2001-07-18 Andreas Jaeger <aj@suse.de>
14691 * integrate.c (output_inline_function): Correct type of debug_hooks.
14693 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
14695 * combine.c (combine_simplify_rtx): DIV can be treated
14696 associatively for floats if unsafe math optimisations are enabled.
14698 2001-07-17 Richard Henderson <rth@redhat.com>
14700 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
14702 2001-07-17 Richard Henderson <rth@redhat.com>
14704 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
14705 don't force the function address into a register.
14706 (expand_call, emit_library_call_value_1): Update callers.
14707 * builtins.c (expand_builtin_apply): Likewise.
14708 * expr.h (prepare_call_address): Update decl.
14710 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
14712 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
14714 * config/i386/chorus.h: Move up.
14715 * config/sparc/chorus.h: Likewise.
14716 * config/rs6000/chorus.h: Likewise.
14717 * config/chorus.h: Moved here.
14719 2001-07-17 Andreas Schwab <schwab@suse.de>
14721 * configure.in (assembler eh_frame optimization): Handle big
14723 * configure: Regenerated.
14725 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
14727 * expr.c (epxand_expr): Convert divisions into multiplications by
14728 reciprocals if -ffast-math.
14730 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
14732 * dbxout.c (dbxout_really_begin_function): Rename to
14733 dbxout_begin_function.
14734 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14735 (dbxout_begin_function): Remove.
14736 (dbxout_function): Update.
14737 (dbxout_source_line): Update prototype.
14738 * dbxout.h (dbxout_begin_function): Remove.
14739 * debug.c (do_nothing_debug_hooks): Update.
14740 (debug_nothing_tree): Update.
14741 (debug_nothing_charstar_rtx): Remove.
14742 * debug.h (union tree_node): Declare.
14743 (struct rtx_def): Remove.
14744 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
14745 begin_function. Change source_line prototype.
14746 (debug_nothing_tree): New.
14747 (debug_nothing_charstar_rtx): Delete.
14748 (dwarf2out_begin_prologue): Moved from ...
14749 * tree.h: ... here.
14750 * dwarf2out.c (dwarf2_debug_hooks): Update.
14751 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
14752 debug info, call dwarf2out_source_line.
14753 (dwarf2out_souce_line): Update prototype.
14754 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
14755 Change prototype, make static.
14756 (dwarfout_source_line): Update prototype.
14757 (dwarf_debug_hooks): Update.
14758 * dwarfout.h (dwarfout_begin_function): Remove.
14759 * final.c (final_start_function, final_scan_insn): Use appropriate
14760 debug hooks, update to use notice_source_line.
14761 (output_source_line): Rename notice_source_line. Don't call the
14762 source_line debug hook.
14763 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
14764 make static, update prototype.
14765 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
14767 (sdbout_end_prologue): New.
14768 (sdbout_source_line): Update prototype.
14769 (sdbout_debug_hooks): Update.
14770 (sdbout_symbol): Remove unused var.
14771 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
14773 * varasm.c: Include debug.h.
14774 (assemble_start_function): Use begin_function debug_hook.
14775 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14776 update with prototype.
14777 (xcoffout_source_line): Update prototype.
14778 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14780 (xcoffout_source_line): Update prototype.
14782 2001-07-17 Richard Henderson <rth@redhat.com>
14784 * c-typeck.c (build_binary_op): Do not shorten unsigned
14785 right shift after sign extension.
14787 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
14789 * combine.c (combine_simplify_rtx): Attempt to simplify
14790 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
14792 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
14793 (simplify_binary_operation, simplify_unary_operation,
14794 simplify_relational_operation): Use it.
14796 * combine.c (combine_simplify_rtx): Don't do associative law
14797 on divisions; allow associative law on floats.
14799 2001-07-17 H.J. Lu <hjl@gnu.org>
14800 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14802 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
14803 ASM_OUTPUT_WEAK_ALIAS are defined.
14804 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
14805 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
14807 * config/mips/iris5.h: ... here.
14808 (HANDLE_SYSV_PRAGMA): Defined as 1.
14809 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
14810 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
14813 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14815 * c-parse.in (all_prefix_attributes): New variable.
14816 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
14817 (maybe_resetattrs): New production.
14818 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
14819 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
14820 notype_initdcl, nested_function, notype_nested_function,
14821 component_decl, components, components_notype,
14822 component_declarator, component_notype_declarator,
14823 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
14824 ivars, mydecl, myparm): Update. Avoid prefix attributes just
14825 after a comma being applied to more than one declarator.
14826 * doc/extend.texi (Attribute Syntax): Update. Remove
14827 documentation of bugs that are no longer present.
14829 2001-07-13 Eric Christopher <echristo@redhat.com>
14831 * config/mips/mips.h: Change TUNE_MIPS* options to use
14833 (EXTRA_SPECS): Add cc1_cpu_spec.
14834 * config/mips/mips.md (muldf3): Fix typo.
14836 2001-07-16 Richard Henderson <rth@redhat.com>
14838 * config/m68k/m68k.c: Include expr.h and reload.h.
14839 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
14840 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
14842 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14843 Richard Henderson <rth@redhat.com>
14845 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
14846 (insn_live_p): Fix fall off end of function.
14847 (dead_libcall_p): Remove COUNTS argument; update callers.
14848 (delete_trivially_dead_insns): Remove unused variables.
14850 2001-07-17 Andreas Jaeger <aj@suse.de>
14852 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
14853 x86-64 pic support.
14855 * lcm.c (optimize_mode_switching): Avoid warning for unused
14856 variable if !NORMAL_MODE.
14858 * flow.c (try_crossjump_to_edge): Remove unused variable.
14860 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
14862 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14863 atexit declaration in stdlib.h.
14865 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
14867 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
14869 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14871 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
14872 * except.c (finish_eh_generation): Update call of cleanup_cfg;
14873 do rebuild_jump_labels instead of jump_optimize
14874 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
14875 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
14876 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
14878 * flow.c: Include timevar.h
14879 (find_basic_block): Push/pop timevar;
14880 (cleanup_cfg): Likewise.
14881 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
14882 * Makefile: Add dependencies on timevar.h
14884 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
14885 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
14887 * rtl.h (delete_trivially_dead_insns): Add new parameter.
14888 * toplev.c (rest_of_compilation): Update calls.
14889 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
14890 (delete_trivially_dead_insns): ... here; accept new argument
14891 preserve_basic_blocks; preserve basic blocks if set.
14893 * reg-stack.c (stack_regs_mentioned): Return 0 if
14894 stack_regs_mentioned_data is not initialized.
14895 (reg_to_stack): Make stack_regs_mentioned survive after the
14896 reg-stack is completted; do not call cleanup_cfg.
14897 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
14898 make cleanup_cfg after bb-reorder to output to debug file.
14900 2001-07-16 Richard Henderson <rth@redhat.com>
14902 * regclass.c (init_reg_sets): Use only 32 bits per initializer
14903 from int_reg_class_contents.
14905 2001-07-16 Richard Henderson <rth@redhat.com>
14907 * hard-reg-set.h (regs_invalidated_by_call): Declare.
14908 * regclass.c (regs_invalidated_by_call): Move from cse.c.
14909 (init_reg_sets_1): Move initialization from cse_main.
14910 * cse.c (regs_invalidated_by_call): Move to regclass.c.
14911 (cse_main): Move its initialization also.
14912 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
14913 * flow.c (propagate_one_insn): Likewise.
14914 * gcse.c (compute_hash_table): Likewise.
14915 (compute_kill_rd, compute_store_table): Likewise.
14916 * sched-deps.c (sched_analyze_1): Likewise.
14918 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
14920 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
14923 2001-07-16 Steve Ellcey <sje@cup.hp.com>
14925 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
14926 in if statement so we don't access undefined memory.
14928 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14930 * gcse.c: Update comment at top.
14931 Update comment on mem handling.
14932 mem_last_set, mem_first_set, mem_set_in_block: gone.
14933 Declaration of reg_set_info: gone.
14934 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
14935 pointless with load_killed_in_block_p (they are *more*
14936 conservative then it, not less, and less accurate).
14937 (oprs_not_set_p): Ditto.
14938 (alloc_gcse_mem): Don't allocate mem_set_in_block
14939 (free_gcse_mem): Don't free it, either.
14940 (record_last_mem_set_info): Update comment in front, remove
14941 mem_*set_* stuff. Note the reason we don't handle stores directly
14943 (compute_hash_table): Update comments to reflect reality. Remove
14944 mem_*set_* references.
14945 (reset_opr_set_tables): Remove mem_*set_* references.
14946 (mark_call): Ditto.
14947 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
14948 (mark_clobber): Ditto (on both parts, we double set here too).
14949 (expr_killed_p): Remove mem_set_in_block test.
14950 (compute_transp): Remove mem_set_in_block test.
14952 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
14953 of edge, and removal of phi alternative to dump file.
14954 (ssa_ccp_substitute_constants): Add note about register now being
14955 constant, and which uses were replaced in what insns to dump file.
14957 2001-07-16 Andreas Jaeger <aj@suse.de>
14959 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
14960 variables of type HOST_WIDEST_INT.
14962 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
14963 (__bb_exit_func): Correct type of count_max to avoid overflow.
14964 (num_digits): Handle long long argument.
14966 * combine.c (gen_lowpart_for_combine): Remove unused variable.
14968 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14970 * output.h (sdb_begin_function_line): Restore as an extern
14972 * sdbout.c (sdb_begin_function_line): Make extern.
14974 2001-07-15 Richard Henderson <rth@redhat.com>
14976 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
14977 * genrecog.c (maybe_both_true_mode): New.
14978 (maybe_both_true_2): Use it.
14979 (write_switch): Don't put Pmode in a switch.
14980 * rtl.c (mode arrays): Don't explicitly size them.
14982 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14984 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
14985 handling; move unconditional splitting before mode switching.
14987 * i386.md (type): Add fistp type.
14988 (i387, length_attr, scheduling definitions): Handle this type.
14989 (fix_trunc?f?i2): Revamp to use mode switching.
14990 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
14991 * i386.h (fp_cw_mode): New enum
14992 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
14993 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
14995 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14997 * Makefile.in (integrate.o): Add debug.h.
14998 * integrate.c (debug.h): Add.
14999 (output_inline_function): Save, reset, and restore debug_hooks.
15001 2001-07-15 Richard Henderson <rth@redhat.com>
15003 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15004 instead of COMPARE for the EQUIV expression.
15006 2001-07-15 Richard Henderson <rth@redhat.com>
15008 * flow.c (redirect_edge_and_branch_force): Initialize
15009 global_live_at_start and global_live_at_end.
15010 (allocate_bb_life_data): Export.
15011 * basic-block.h (allocate_bb_life_data): Declare.
15012 * toplev.c (rest_of_compilation): Call it.
15014 2001-07-15 Richard Henderson <rth@redhat.com>
15016 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15017 (alpha_tablejump_best_label): New.
15018 * config/alpha/alpha-protos.h: Declare them.
15019 * config/alpha/alpha.md: Use braced strings for code blocks.
15020 (tablejump_osf): Break out add with r29.
15021 (tablejump_osf_internal): Remove.
15022 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15023 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15025 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15027 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15030 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15032 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15033 (ix86_fp_jump_nontrivial_p): New.
15034 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15035 use ix86_fp_jump_nontrivial_p.
15036 * i386.c (ix86_fp_jump_nontrivial_p): New.
15037 (ix86_split_fp_branch): Accept code instead of rtx.
15038 (ix86_expand_compare): Expand comparison early in case
15039 doing so is resonably cheap.
15041 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15043 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15045 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15046 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15048 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15050 * dbxout.c (dbxout_source_line): Make static, update prototype.
15051 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15052 (dbxout_init, dbxout_finish, dbxout_source_line,
15053 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15054 * dbxout.h (dbxout_source_line): Delete.
15055 * debug.c (debug_nothing_file, debug_nothing_file_int,
15056 debug_nothing_file_charstar_rtx): New.
15057 (do_nothing_debug_hooks): Update.
15058 (debug_nothing_void, debug_nothing_charstar_rtx,
15059 dwarf2out_end_epilogue): New.
15060 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15061 * debug.h (struct rtx_def): Declare.
15062 (gcc_debug_hooks): New hooks source_line, end_epilogue
15064 (debug_nothing_void, debug_nothing_charstar_rtx,
15065 dwarf2out_end_epilogue): New.
15066 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15067 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15068 (dwarf2_debug_hooks): Update.
15069 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15070 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15071 * dwarf2out.h (dwarf2out_source_line): Remove.
15072 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15073 Make static, update prototype.
15074 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15075 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15076 (dwarf_debug_hooks): Update.
15077 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15078 dwarfout_end_function): Remove.
15079 * final.c (profile_function): Use debug hooks for ending functions
15081 (output_source_line, final_end_function): Update prototype,
15083 (final_start_function, final_scan_insn): Update.
15084 * output.h (sdb_begin_function_line): Remove.
15085 (final_end_function): Update prototype.
15086 * sdbout.c (sdb_begin_function_line): Make static.
15087 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15088 (sdbout_source_line): New.
15089 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15091 (sdb_debug_hooks): Update.
15092 (sdbout_init, sdbout_source_line,
15093 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15094 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15095 * toplev.c (compile_file, rest_of_compilation): Update.
15096 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15097 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15098 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15099 Update for prototype changes.
15100 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15101 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15103 2001-07-15 Richard Henderson <rth@redhat.com>
15105 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15106 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15107 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15108 * config/alpha/alpha.c: Likewise.
15109 * config/alpha/alpha.md: Likewise.
15110 * config/alpha/alpha32.h: Likewise.
15111 * config/alpha/vms.h: Likewise.
15112 (OPEN_VMS): Remove.
15114 2001-07-14 Richard Henderson <rth@redhat.com>
15116 * config/alpha/alpha.md: Use define_constants for unspec values.
15117 Substitute throughout.
15119 2001-07-14 Tim Josling <tej@melbpc.org.au>
15121 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15123 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15125 * pa.md: Remove unused constraints from define_split's.
15127 2001-04-14 Richard Henderson <rth@redhat.com>
15129 * ifcvt.c (find_cond_trap): Test for exit block.
15131 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15133 Re-install recently reverted patch.
15134 * emit-rtl.c (try_split): Update mark_jump_label call.
15135 * flow.c (find_sub_basic_blocks): Likewise.
15136 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15137 jump_back_p): Kill.
15138 (mark_all_labels): Kill second parameter.
15139 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15140 (rebuild_jump_labels, jump_optimize_minimal): Update call
15141 of jump_optimize_1.
15142 (jump_optimize_1): Kill crossjumping code.
15143 (mark_jump_label): Kill cross_jump parameter.
15144 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15145 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15146 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15148 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15150 (dump_file_info): Likewise.
15151 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15152 reorganize passes to do reg-stack first, bb-reorder second.
15153 * invoke.texi (-d letters doc): Remove the jump2 pass.
15155 2001-07-14 Richard Henderson <rth@redhat.com>
15157 * ifcvt.c (find_cond_trap): New.
15158 (find_if_header): Call it.
15159 (merge_if_block): Relax existing jump sanity check.
15160 * jump.c (jump_optimize_1): Remove conditional trap handling.
15162 2001-07-14 Alan Modra <amodra@bigpond.net.au>
15164 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15166 (insn_refs_are_delayed): Correct comment.
15167 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15168 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15169 instead of r31. Make associated insn !TARGET_64BIT, and
15170 provide an additional 64-bit insn that clobbers r2.
15171 (divsi3): Likewise.
15172 (udivsi3): Likewise.
15173 (modsi3): Likewise.
15174 (umodsi3): Likewise.
15176 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15178 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15180 * flow.c (redirect_edge_and_branch_force, split_edge,
15181 try_crossjump_to_edge): Use set_block_for_new_insns.
15182 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15184 2001-07-13 H.J. Lu (hjl@gnu.org)
15186 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15189 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15191 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15193 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15195 * c-common.c (decl_attributes): Take a pointer to the node to
15196 which attributes are to be attached, and a flags argument.
15197 * c-common.h (enum attribute_flags): New.
15198 (decl_attributes): Update prototype.
15199 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15200 finish_enum, start_function): Update calls to decl_attributes.
15201 * c-parse.in (component_declarator, component_notype_declarator,
15202 label): Update calls to decl_attributes.
15204 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
15206 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15207 * config/avr/avr.c (legitimate_address_p): Return value changed
15208 from letter to register classes. For better debugging.
15210 2001-07-13 Kazu Hirata <kazu@hxi.com>
15212 * jump.c (reversed_comparison_code_parts): Fix comment typos.
15214 2001-07-13 H.J. Lu (hjl@gnu.org)
15216 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15218 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
15220 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
15221 correctly for shared configurations.
15222 * config/t-libgcc-pic: New.
15223 * config/{i386,m68k,sparc}/t-openbsd: New.
15224 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
15225 Support -shared. Support debugging libraries with -g.
15226 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
15227 frame information does not emit pointer diffs.
15228 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
15229 emit pointer diffs.
15231 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15233 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15235 2001-07-13 David Edelsohn <edelsohn@gnu.org>
15237 * combine.c (try_combine): Ensure const_int pow2 is positive.
15239 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
15241 * config.gcc: Add configuration for s/390.
15242 * config/s390/s390.c: New. Subroutines for code generation.
15243 * config/s390/s390.h: New. Definitions for s/390.
15244 * config/s390/s390-protos.h: New. Prototypes.
15245 * config/s390/linux.h: New. Definitions for linux for s/390.
15246 * config/s390/linux64.h: New. Definitions for linux for zSeries.
15247 * config/s390/t-linux: New. Makefile fragment.
15248 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15249 * config/s390/fixdfdi.h: New. Fix L_fix*di.
15251 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
15253 * emit-rtl.c (try_split): Update mark_jump_label call.
15254 * flow.c (find_sub_basic_blocks): Likewise.
15255 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15256 jump_back_p): Kill.
15257 (mark_all_labels): Kill second parameter.
15258 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15259 (rebuild_jump_labels, jump_optimize_minimal): Update call
15260 of jump_optimize_1.
15261 (jump_optimize_1): Kill crossjumping code.
15262 (mark_jump_label): Kill cross_jump parameter.
15263 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15264 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15265 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15267 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15269 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15270 reorganize passes to do reg-stack first, bb-reorder second.
15271 * invoke.texi (-d letters doc): Remove the jump2 pass.
15273 2001-07-12 Steve Ellcey <sje@cup.hp.com>
15275 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15277 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15279 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15281 (verify_flow_info): Make diagnostics prettier.
15283 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
15285 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15287 * flow.c (outgoing_edges_match): Return early if condition reversal
15290 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
15292 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15293 (mips_move_2words): When splitting a move into two instructions,
15294 prefix the second address operand with '%D'.
15296 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
15298 * Makefile.in (final.o): Depend on debug.h.
15299 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15300 (dbx_debug_hooks): Add new hooks.
15301 (xcoff_debug_hooks): New.
15302 * debug.c (debug_nothing_file_int_int): New.
15303 (do_nothing_debug_hooks): Update.
15304 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15305 (debug_nothing_file_int_int): New.
15306 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15307 static, update prototype.
15308 (dwarf2_debug_hooks): Update.
15309 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15310 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15311 static, update prototype.
15312 (dwarf_debug_hooks): Update.
15313 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15314 * final.c: Include debug.h.
15315 (final_scan_insn): Use debug hooks when beginning and ending blocks.
15316 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15317 static, update prototype.
15318 (sdb_debug_hooks): Update.
15319 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15320 * toplev.c: Distinguish between xcoff and dbx.
15322 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15323 Call all debug hooks, not just dwarf ones.
15325 2001-07-11 Timothy Wall <twall@redhat.com>
15327 * config.gcc: Add configuration for AIX5/IA64.
15328 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
15329 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
15330 support prefix/suffix code.
15331 * config/ia64/t-aix: New. Makefile fragment.
15332 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
15334 2001-07-11 Kazu Hirata <kazu@hxi.com>
15336 * recog.c (validate_change): Fix a comment typo.
15338 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
15340 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
15341 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15343 * dbxout.c (dbx_debug_hooks): Add new hooks.
15344 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15346 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15348 * dbxout.h (dbxout_start_new_source_file,
15349 dbxout_resume_previous_source_file): Delete.
15350 * debug.c (do_nothing_debug_hooks): Add new hooks.
15351 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15352 (debug_nothing_int_charstar, debug_nothing_int): New.
15353 * debug.h (gcc_debug_hooks): New hooks define, undef,
15354 start_source_file and end_source_file.
15355 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15356 (debug_nothing_int_charstar, debug_nothing_int): New.
15357 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
15358 the conditionally compiled section.
15359 (dwarf2out_start_source_file, dwarf2out_end_source_file,
15360 dwarf2out_define, dwarf2out_undef): Make static.
15361 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15362 dwarf2out_define, dwarf2out_undef): Remove.
15363 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15364 (dwarfout_start_source_file, dwarfout_end_source_file,
15365 dwarfout_define, dwarfout_undef): Make static.
15366 (dwarfout_start_source_file_check,
15367 dwarfout_end_source_file_check): New.
15368 (dwarfout_define, dwarfout_finish): Update.
15369 * dwarfout.h (dwarfout_start_new_source_file,
15370 dwarfout_resume_previous_source_file, dwarfout_define,
15371 dwarfout_undef): Remove.
15372 * sdbout.c (sdb_debug_hooks): Add new hooks.
15373 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15375 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15376 make static, take an arg.
15377 * sdbout.h (sdbout_start_new_source_file,
15378 sdbout_resume_previous_source_file): Delete.
15379 * toplev.c (debug_start_source_file, debug_end_source_file,
15380 debug_define, debug_undef): Delete.
15381 * toplev.h (debug_start_source_file, debug_end_source_file,
15382 debug_define, debug_undef): Delete.
15384 * java/jcf-parse.c: Include debug.h.
15385 (parse_class_file): Update to use debug hooks directly.
15386 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15388 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15390 * alias.c (set_mem_alias_set): New function.
15391 * rtl.h (set_mem_alias_set): Declare it.
15392 * builtins.c (expand_builtin_return_addr): Call it instead of
15393 using MEM_ALIAS_SET accessor.
15394 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15395 (get_memory_rtx, expand_builtin_va_arg): Likewise.
15396 (expand_builtin_va_copy):Likewise.
15397 * caller-save.c (setup_save_areas): Likewise.
15398 * calls.c (compute_argument_addresses): Likewise.
15399 * explow.c (set_mem_attributes): Likewise.
15400 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15401 (expand_assignment, store_constructor_field, store_field): Likewise.
15402 (expand_expr_unaligned): Likewise.
15403 * function.c (assign_stack_temp_for_type): Likewise.
15404 (put_reg_into_stack, gen_mem_addressof): Likewise.
15405 * ifcvt.c (noce_try_cmove_arith): Likewise.
15406 * reload1.c (reload, alter_reg): Likewise.
15407 * config/alpha/alpha.c (get_aligned_mem): Likewise.
15408 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15409 (alpha_expand_unaligned_store): Likewise
15410 (alpha_expand_unaligned_load_words): Likewise.
15411 (alpha_expand_unaligned_store_words): Likewise.
15412 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15413 (alpha_expand_epilogue): Likewise.
15414 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15415 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15416 * config/i386/i386.c (legitimize_pic_address): Likewise.
15417 * config/i960/i960.c (setup_incoming_varargs): Likewise.
15418 * config/ia64/ia64.c (spill_restore_mem): Likewise.
15419 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15420 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15421 * config/mips/mips.c (mips_va_arg): Likewise.
15422 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15423 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15424 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15425 (setup_incoming_varargs, rs6000_va_arg): Likewise.
15426 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15427 (rs6000_emit_epilogue): Likewise.
15428 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15429 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15430 * config/v850/v850.c (v850_va_arg): Likewise.
15432 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
15434 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15435 when fallthru edge is present.
15436 (mege_blocks): Handle case where creation of jump insn
15439 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15440 CLEANUP_POST_REGSTACK): New constants.
15441 * except.c (finish_eh_generation): Update call of cleanup_cfg,
15442 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15443 * output.h (cleanup_cfg): Update prototype.
15444 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15445 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15446 cleanup_cfg call; kill missleading comment.
15447 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15448 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15449 parameter; control optimizations performed using it.
15450 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15451 try_crossjump_bb): New functions.
15453 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15455 * pa.c (pa_output_function_prologue): Delete prototype. Make function
15457 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15458 pa_output_function_prologue.
15459 * pa-protos.h (pa_output_function_prologue): New prototype.
15461 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15463 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15464 and low to get correct sign extension in low+high test.
15466 2001-07-11 Janis Johnson <janis@us.ibm.com>
15468 * gcov.c (arcdata): Use gcov_type to fix branch percentage
15469 for large hit count.
15471 * profile.c (branch_prob): Fix .bbg info for computed gotos
15474 2001-07-11 Mark Mitchell <mark@codesourcery.com>
15476 * stmt.c (parse_output_constraint): New function, split out
15478 (expand_asm_operands): ... here. Use parse_output_constraint.
15479 * tree.h (parse_output_constraint): Declare it.
15481 2001-07-11 Richard Henderson <rth@redhat.com>
15483 * bitmap.c: Comment some functions; fiddle whitespace.
15484 (bitmap_free): Don't export.
15485 (bitmap_element_allocate): Use memset.
15486 * bitmap.h (bitmap_free): Don't declare.
15488 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
15490 * gcse.c, lcm.c, sched-deps.c:
15491 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15493 * flow.c (flow_loops_find): Free dom if we found no loops, since
15494 we aren't going to save it.
15496 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15499 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
15501 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15503 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15505 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15506 #ifndef DWARF2_DEBUGGING_INFO.
15508 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15510 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15512 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15514 * config/mips/mips.c (gen_int_relational): Tell the caller not to
15515 reverse a branch if a NE comparison is implemented with GTU.
15517 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15518 H.J. Lu <hjl@gnu.org>
15520 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15521 constant addresses.
15522 (call_internal2): Likewise.
15523 (call_value_internal1): Likewise.
15524 (call_value_internal2): Likewise.
15525 (call_value_multiple_internal1): Likewise.
15526 (call_value_multiple_internal2): Likewise.
15528 2001-07-10 Kazu Hirata <kazu@hxi.com>
15530 * calls.c (emit_library_call_value_1): Fix a comment typo.
15531 * dwarf2out.c (mem_loc_descriptor): Likewise.
15532 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15534 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
15536 * simplify-rtx.c (simplify_subreg): Fix typo in comment
15538 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15540 * recog.c (offsettable_address_p): Handle LO_SUM case.
15541 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15542 instead of plus_constant.
15544 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15546 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15547 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15549 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15551 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15552 adjust_address_nv instead of plus_constant.
15554 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
15556 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15557 dwarf2out.o): Depend on debug.h, wrap long lines.
15558 * dbxout.c: Include debug.h.
15559 (dbx_debug_hooks): New.
15560 (dbxout_init): Make static, take just 2 args.
15561 (dbxout_finish): Make static.
15562 * dbxout.h (dbxout_init, dbxout_finish): Delete.
15563 * debug.c: New file.
15564 * debug.h: New file.
15565 * dwarf2out.c: Include debug.h.
15566 (dwarf2_debug_hooks): New.
15567 (dwarf2out_init): Make static.
15568 (dwarf2out_finish): Make static, take 2 args.
15569 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15570 * dwarfout.c: Include debug.h.
15571 (dwarf_debug_hooks): New.
15572 (dwarfout_init): Make static.
15573 (dwarfout_finish): Make static, take 2 args.
15574 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15575 * sdbout.c: Include debug.h.
15576 (sdb_debug_hooks): New.
15577 (sdbout_init): Make static, take 2 args.
15578 * sdbout.h (sdbout_init): Delete.
15579 * toplev.c: Include debug.h.
15580 (debug_hooks): New.
15581 (compile_file): Set deubg_hooks based on command line options.
15582 Use the hooks unconditionally rather than conditional compilation.
15584 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
15586 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
15587 first_insn_after_basic_block_note instead.
15589 * df.c (df_bb_refs_unlink): #if 0 out for now.
15591 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
15593 * ssa.h: Add prototype for ssa_const_prop
15594 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15595 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15596 (ssa_fast_dce): Remove unused variable
15598 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15600 * diagnostic.c (finish_diagnostic): Rename to
15601 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
15604 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
15606 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15609 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15610 (dump_file): Only pad the demangled name with spaces if the
15611 mangled name was padded with spaces.
15613 2001-07-10 Bernd Schmidt <bernds@redhat.com>
15615 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15618 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15620 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15621 extraction if no direct load if either EXPAND_CONST_ADDRESS or
15622 EXPAND_INITIALIZER.
15624 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15625 whether can put offset inside LO_SUM to check mode alignment, not size.
15627 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15629 * doc/tm.texi (Misc): Fix thinko.
15631 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
15633 * regmove.c (replace_in_call_usage): Fix warnings.
15634 * sched-deps.c (add_dependence): Fix warnings.
15635 * simplify-rtx.c (simplify_subreg): Likewise.
15636 Return NULL_RTX instead of NULL.
15638 * reg-stack.c (emit_swap_insn): Eliminate warnings.
15639 (subst_asm_stack_regs): Likewise.
15641 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15644 * dwarf2out.c (output_call_frame_info): Declare i as int.
15645 (build_abbrev_table): Declare n_alloc as int.
15646 (dwarf2out_finish): Initialize die.
15647 * except.c: Declare sjlj_funcdef_number as unsigned.
15648 (connect_post_landing_pads): Declare j as unsigned.
15649 (convert_to_eh_region_ranges): Initialize call_site.
15650 (output_function_exception_table): Initialize tt_format_size.
15651 * expr.c (move_by_pieces_1): Initialize to1.
15652 (store_constructor): Initialize minelt and maxelt.
15653 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15654 * function.c (instantiate_decls): Avoid signed/unsigned warning.
15656 * c-decl.c (combine_parm_decls): Unused, remove.
15657 * c-tree.h: Remove prototype for combine_parm_decls.
15659 * reload.c (push_reload): Fix warning.
15660 (regno_clobbered_p): Likewise.
15661 * reload1.c (replace_pseudos_in_call_usage): Likewise.
15662 (reload_combine): Likewise.
15664 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15665 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15667 * bitmap.c (bitmap_operation): Change user.
15668 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15670 2001-07-10 Eric Christopher <echristo@redhat.com>
15672 * config/mips/mips.c (override_options): Fix typo.
15674 2001-07-09 Stan Shebs <shebs@apple.com>
15676 * target.h (struct gcc_target): New fields init_builtins and
15678 * target-def.h (TARGET_INIT_BUILTINS): New macro.
15679 (TARGET_EXPAND_BUILTIN): New macro.
15680 (TARGET_INITIALIZER): Add them.
15681 * builtins.c: Include target.h.
15682 (expand_builtin): Use targetm.expand_builtin.
15683 (default_init_builtins): New function.
15684 (default_expand_builtin): New function.
15685 * expr.h (default_init_builtins): Declare.
15686 (default_expand_builtin): Declare.
15687 * c-common.c (c_common_nodes_and_builtins): Use
15688 targetm.init_builtins.
15689 * defaults.h (MD_INIT_BUILTINS): Remove.
15690 * Makefile.in (builtins.o): Depend on target.h.
15692 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15693 (TARGET_EXPAND_BUILTIN): Define.
15694 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15695 (MD_EXPAND_BUILTIN): Remove.
15697 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15698 (TARGET_EXPAND_BUILTIN): Define.
15699 (c4x_init_builtins): Make endlink arg a local.
15700 (c4x_print_operand): Fix typos in adjust_address usages.
15701 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
15702 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
15703 (MD_EXPAND_BUILTIN): Remove.
15705 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
15706 (TARGET_EXPAND_BUILTIN): Define.
15707 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
15708 (ix86_init_builtins): Call new function only if TARGET_MMX.
15709 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
15710 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
15711 (MD_EXPAND_BUILTIN): Remove.
15713 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
15714 (TARGET_EXPAND_BUILTIN): Define.
15715 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
15716 (MD_EXPAND_BUILTIN): Remove.
15718 * doc/tm.texi: Document these changes.
15720 2001-07-09 Diego Novillo <dnovillo@redhat.com>
15722 * basic-block.h (tree_node): Forward declare if needed.
15723 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
15724 (BLOCK_HEAD_TREE): Define.
15725 (BLOCK_END_TREE): Define.
15726 (struct loops): Rename field 'tree' to 'tree_root'.
15727 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
15729 (flow_loops_tree_build): Rename reference to field 'tree' to
15731 (flow_loops_level_compute): Ditto.
15732 * predict.c (estimate_bb_frequencies): Ditto.
15733 * tree.h (struct tree_common): Add field 'aux'.
15735 2001-07-09 Stan Shebs <shebs@apple.com>
15737 * config/darwin.c (darwin_encode_section_info): Don't mark any
15738 DECL_EXTERNAL node as defined.
15740 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
15742 * pa.c (pa_init_machine_status, pa_mark_machine_status,
15743 pa_free_machine_status, hppa_init_pic_save): Delete.
15744 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
15745 (hppa_profile_hook): Use hppa_pic_save_rtx.
15746 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
15747 hppa_init_pic_save): Delete.
15748 (hppa_pic_save_rtx): Declare.
15749 * pa.md (call, call_value, sibcall, sibcall_value,
15750 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
15752 2001-07-09 Kazu Hirata <kazu@hxi.com>
15754 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
15755 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
15757 2001-07-09 Andreas Jaeger <aj@suse.de>
15759 * output.h: Add declaration of final_forward_branch_p.
15761 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
15763 * varray.c: Include errors.h for internal_error and trim_filename
15766 * Makefile.in (varray.o): Add errors.h.
15768 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
15770 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
15771 * optabs.c (have_add2_insn): Check whether the add insn chosen
15772 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
15773 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
15775 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
15777 * Makefile.in (OBJS): Add ssa-ccp.o
15778 (ssa-ccp.o): Add dependencies.
15779 * toplev.c (DFI_ssa_ccp): New dump file enum.
15780 (dump_file): Add entry for dumping after SSA CCP.
15781 (flag_ssa_ccp): New flag variable.
15782 (f_options): Add -fssa-ccp.
15783 (rest_of_compilation): Run SSA CCP if requested.
15784 * timevar.def (TV_SSA_CCP): New timevar.
15785 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
15786 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
15787 Fix minor typo in SSA DCE documentation.
15788 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
15789 Add documentation for new dump option. Renumber dump files
15792 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15794 * emit-rtl.c (gen_highpart_mode): New.
15795 * rtl.h (gen_highpart_mode): Declare.
15796 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
15797 operand can be VOIDmode constant.
15799 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
15801 * flow.c (redirect_edge_and_branch_force): New.
15802 (can_fallthru): Ensure that basic blocks are succeeding.
15803 (try_optimize_cfg): Do not delete basic block if it is the last one.
15805 * flow.c (try_redirect_by_replacing_jump): Do not remove
15806 jumps with side effects, unlink chain on fallthru edge;
15807 set block for new jump instruction; avoid basic block to
15808 over by line number note.
15810 * flow.c (try_simplify_condjump): Verify that the condjump
15811 is not always falling through.
15814 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15816 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15817 (try_redirect_by_replacing_jump): Update properly the count
15818 and frequency information.
15820 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15822 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
15823 address that is a LO_SUM specially.
15824 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
15826 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
15828 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
15829 (operand_subword): Use them.
15830 (change_address_1): Renamed from change_address; new arg VALIDATE.
15831 * expr.h: Reflect above changes; change_address now macro.
15832 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
15834 * cselib.c (add_mem_for_addr): Likewise.
15835 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
15836 * regmove.c (try_apply_stack_adjustment): Likewise.
15837 * reload.c (push_reload, make_memloc): Likewise.
15838 * reload1.c (eliminate_regs): Likewise.
15839 * simplify-rtx.c (simplify_replace_rtx): Likewise.
15840 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
15842 * combine.c (make_extraction, simplify_shift_const): Likewise.
15843 (gen_lowpart_for_combine): Likewise.
15844 * cse.c (gen_lowpart_if_possible): Likewise.
15845 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
15846 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
15847 * optabs.c (gen_move_insn): Likewise.
15848 * reload1.c (alter_reg): Likewise.
15849 * simplify-rtx.c (simplify_subreg): Likewise.
15850 * stmt.c (expand_anon_union_decl): Likewise.
15851 * recog.c (validate_replace_rtx_1): Likewise.
15853 * Makefile.in (recog.o): Add $(EXPR_H).
15854 * explow.c (stabilize): Call replace_equiv_address.
15855 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
15856 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
15858 2001-07-03 Andrew Haley <aph@redhat.com>
15860 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
15861 the mode of the memory location.
15863 2001-07-09 Bo Thorsen <bo@suse.co.uk>
15865 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
15867 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
15869 * final.c (output_addr_const): Use target opening and
15870 closing parentheses.
15871 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
15872 defaults, add to TARGET_ASM_OUT.
15873 * target.h (struct gcc_target): Add open_paren and close_paren.
15874 * doc/md.texi: Update.
15875 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
15876 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
15877 TARGET_ASM_CLOSE_PAREN.
15878 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15880 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15882 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
15883 * config/a29k/a29k.h: Similarly.
15884 * config/alpha/alpha.h: Similarly.
15885 * config/arc/arc.h: Similarly.
15886 * config/arm/aof.h: Similarly.
15887 * config/arm/aout.h: Similarly.
15888 * config/avr/avr.h: Similarly.
15889 * config/c4x/c4x.h: Similarly.
15890 * config/clipper/clipper.h: Similarly.
15891 * config/convex/convex.h: Similarly.
15892 * config/d30v/d30v.h: Similarly.
15893 * config/dsp16xx/dsp16xx.h: Similarly.
15894 * config/elxsi/elxsi.h: Similarly.
15895 * config/fr30/fr30.h: Similarly.
15896 * config/h8300/h8300.h: Similarly.
15897 * config/i370/i370.h: Similarly.
15898 * config/i386/i386.h: Similarly.
15899 * config/i860/i860.h: Similarly.
15900 * config/i960/i960.h: Similarly.
15901 * config/ia64/ia64.h: Similarly.
15902 * config/m32r/m32r.h: Similarly.
15903 * config/m68hc11/m68hc11.h: Similarly.
15904 * config/m68k/m68k.h: Similarly.
15905 * config/m88k/m88k.h: Similarly.
15906 * config/mcore/mcore.h: Similarly.
15907 * config/mips/mips.h: Similarly.
15908 * config/mn10200/mn10200.h: Similarly.
15909 * config/mn10300/mn10300.h: Similarly.
15910 * config/ns32k/ns32k.h: Similarly.
15911 * config/pa/pa.h: Similarly.
15912 * config/pdp11/pdp11.h: Similarly.
15913 * config/pj/pj.h: Similarly.
15914 * config/romp/romp.h: Similarly.
15915 * config/rs6000/rs6000.h: Similarly.
15916 * config/sh/sh.h: Similarly.
15917 * config/sparc/sparc.h: Similarly.
15918 * config/v850/v850.h: Similarly.
15919 * config/vax/vax.h: Similarly.
15920 * config/we32k/we32k.h: Similarly.
15922 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
15924 * doc/c-tree.texi: Document representation of attributes.
15926 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
15928 * doc/tm.texi: Update some places for the rename of target to
15931 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
15933 * target.h (struct gcc_target): Add insert_attributes.
15934 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
15935 (TARGET_INITIALIZER): Update.
15936 * tree.c, tree.h (default_insert_attributes): New function.
15937 Update comments on other default functions to refer to targetm,
15939 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
15940 TARGET_INSERT_ATTRIBUTES.
15941 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
15942 * c-common.c (decl_attributes): Use targetm.insert_attributes.
15943 Don't use PRAGMA_INSERT_ATTRIBUTES.
15944 * Makefile.in (c-common.o): Depend on $(TARGET_H).
15945 * c-decl.c (start_decl, start_function): Don't call
15946 SET_DEFAULT_DECL_ATTRIBUTES.
15947 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
15948 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
15950 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
15951 (c4x_check_attribute): Avoid modifying attribute list itself.
15952 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
15954 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
15955 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
15957 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
15958 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
15960 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
15961 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
15963 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
15964 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
15965 Adjust parameters. Make static.
15967 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
15969 * c-common.c (decl_attributes): Only take a single attributes
15971 * c-common.h (decl_attributes): Update prototype.
15972 * c-decl.c (start_decl, start_function): Only take a single
15973 attributes parameter. Update calls to decl_attributes.
15974 (finish_struct, finish_enum): Update calls to decl_attributes.
15975 (push_parm_decl): Expect unified list of attributes. Update call
15976 to decl_attributes.
15977 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
15978 notype_nested_function, component_declarator,
15979 component_notype_declarator, label): Update calls to
15981 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
15982 lists that are passed to push_parm_decl.
15983 * c-tree.h (start_function, start_decl): Update prototypes.
15984 * config/sh/sh-protos.h, config/sh/sh.c
15985 (sh_pragma_insert_attributes): Only take a single attributes
15987 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
15988 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
15989 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
15990 build_module_descriptor, generate_static_references,
15991 generate_strings, build_selector_translation_table,
15992 generate_descriptor_table, generate_protocols,
15993 generate_ivars_list, generate_dispatch_table,
15994 generate_protocol_list, generate_category,
15995 generate_shared_structures, really_start_method, add_objc_decls,
15996 generate_classref_translation_entry): Update calls to start_decl
15997 and start_function.
15998 (build_tmp_function_decl, start_method_def): Unify attribute lists
15999 that are passed to push_parm_decl.
16001 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16003 * final.c (no_asm_to_stream): New.
16004 (final_scan_insn): Use target structures for prologue ends
16005 and epilogue starts.
16006 * output.h (no_asm_to_stream): New.
16007 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16008 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16009 (TARGET_ASM_OUT): Update.
16010 * target.h (struct gcc_target): New members function_end_prologue
16011 and function_begin_epilogue.
16012 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16013 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16014 * config/alpha/alpha.c (output_end_prologue): Rename to
16015 alpha_output_function_end_prologue. Use in target struct
16017 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16018 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16019 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16020 ia64_output_function_end_prologue. Use in target struct
16022 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16023 mistyped prototypes.
16024 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16025 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16027 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16028 an use in target struct, make static.
16029 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16032 2001-07-08 Richard Henderson <rth@redhat.com>
16034 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16036 2001-07-08 Richard Henderson <rth@redhat.com>
16038 * config/i386/i386.md: Remove constraints strings from define_split
16039 and define_peephole2 patterns.
16040 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16041 (eh_return): Use them.
16043 2001-07-08 Richard Henderson <rth@redhat.com>
16045 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16046 Document MD_FALLBACK_FRAME_STATE_FOR.
16048 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16050 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16051 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16053 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16055 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16057 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16058 of the label inside NAME as opposed to just the end of NAME.
16060 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16062 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16063 * config/alpha/alpha.c (alpha_init_machine_status,
16064 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16065 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16066 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16067 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16069 2001-07-06 Stan Shebs <shebs@apple.com>
16071 * target.h (targetm): Rename global from "target", so as not to
16072 conflict with local variables.
16074 * c-typeck.c: Ditto.
16077 * cp/decl.c: Ditto.
16078 * cp/decl2.c: Ditto.
16079 * cp/typeck.c: Ditto.
16080 * 1750a/1750a.c: Ditto.
16081 * a29k/a29k.c: Ditto.
16082 * arc/arc.c: Ditto.
16083 * arm/arm.c: Ditto.
16084 * avr/avr.c: Ditto.
16085 * clipper/clipper.c: Ditto.
16086 * convex/convex.c: Ditto.
16087 * d30v/d30v.c: Ditto.
16088 * dsp16xx/dsp16xx.c: Ditto.
16089 * elxsi/elxsi.c: Ditto.
16090 * fr30/fr30.c: Ditto.
16091 * h8300/h8300.c: Ditto.
16092 * i370/i370.c: Ditto.
16093 * i386/i386.c: Ditto.
16094 * i860/i860.c: Ditto.
16095 * i960/i960.c: Ditto.
16096 * ia64/ia64.c: Ditto.
16097 * m32r/m32r.c: Ditto.
16098 * m68hc11/m68hc11.c: Ditto.
16099 * m68k/m68k.c: Ditto.
16100 * m88k/m88k.c: Ditto.
16101 * mips/mips.c: Ditto.
16102 * ns32k/ns32k.c: Ditto.
16104 * pdp11/pdp11.c: Ditto.
16105 * romp/romp.c: Ditto.
16106 * rs6000/rs6000.c: Ditto.
16108 * sparc/sparc.c: Ditto.
16109 * vax/vax.c: Ditto.
16110 * we32k/we32k.c: Ditto.
16111 * doc/tm.texi: Update the manual to match.
16113 2001-07-06 Richard Henderson <rth@redhat.com>
16115 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16116 DWARF2_UNWIND_INFO not just whether it is defined.
16118 2001-07-06 Diego Novillo <dnovillo@redhat.com>
16120 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16121 call to simplify_binary_operation returns a new pattern.
16123 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16125 * glimits.h (__SHRT_MAX__): New.
16126 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16127 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16129 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16131 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16134 2001-07-06 Richard Henderson <rth@redhat.com>
16136 * bitmap.c (bitmap_release_memory): Move adjacent to the
16137 allocation functions.
16138 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16139 the implementation. Binary search for the set bit.
16140 (bitmap_union_of_diff): Allocate the temporary on the stack
16141 instead of using xmalloc.
16143 2001-07-06 Richard Henderson <rth@redhat.com>
16145 * genrecog.c (validate_pattern): Warn for constraints in
16146 define_{expand,split,peephole2}. Remove strict_low_part
16147 before looking up match_dup.
16149 2001-07-06 DJ Delorie <dj@redhat.com>
16151 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16152 chapter about various build hints and history. Add section
16153 talking about the various types of native and cross builds.
16155 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16157 * Makefile.in (final.o): Depend on target.h.
16158 * final.c: Include target.h.
16159 (default_function_pro_epilogue): New.
16160 (final_start_function): Use target structure for function prologues.
16161 (final_end_function): Use target structure for function epilogues.
16162 * fold-const.c (real_hex_to_f): Constify s and p.
16163 * output.h (default_function_pro_epilogue): New.
16164 * real.h (real_hex_to_f): Update prototype.
16165 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16166 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16167 (TARGET_INITIALIZER): Update.
16168 * target.h (gcc_target): Add struct asm_out.
16169 * doc/tm.texi: Update.
16172 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16173 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16174 in cpu/cpu.c, or rename old functions consistently. Take
16175 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16176 redundant macros and prototypes. Make new functions static.
16178 * 1750a/1750a.c: Similarly.
16179 * 1750a/1750a.h: Similarly.
16180 * a29k/a29k-protos.h: Similarly.
16181 * a29k/a29k.c: Similarly.
16182 * a29k/a29k.h: Similarly.
16183 * arc/arc-protos.h: Similarly.
16184 * arc/arc.c: Similarly.
16185 * arc/arc.h: Similarly.
16186 * arm/arm-protos.h: Similarly.
16187 * arm/arm.c: Similarly.
16188 * arm/arm.h: Similarly.
16189 * avr/avr-protos.h: Similarly.
16190 * avr/avr.c: Similarly.
16191 * avr/avr.h: Similarly.
16192 * clipper/clipper-protos.h: Similarly.
16193 * clipper/clipper.c: Similarly.
16194 * clipper/clipper.h: Similarly.
16195 * convex/convex.c: Similarly.
16196 * convex/convex.h: Similarly.
16197 * d30v/d30v-protos.h: Similarly.
16198 * d30v/d30v.c: Similarly.
16199 * d30v/d30v.h: Similarly.
16200 * d30v/d30v.md: Similarly.
16201 * dsp16xx/dsp16xx-protos.h: Similarly.
16202 * dsp16xx/dsp16xx.c: Similarly.
16203 * dsp16xx/dsp16xx.h: Similarly.
16204 * elxsi/elxsi.c: Similarly.
16205 * elxsi/elxsi.h: Similarly.
16206 * fr30/fr30.c: Similarly.
16207 * fr30/fr30.md: Similarly.
16208 * h8300/h8300-protos.h: Similarly.
16209 * h8300/h8300.c: Similarly.
16210 * h8300/h8300.h: Similarly.
16211 * i370/i370-protos.h: Similarly.
16212 * i370/i370.c: Similarly.
16213 * i370/i370.h: Similarly.
16214 * i386/i386.c: Similarly.
16215 * i386/osf1elf.h: Similarly.
16216 * i386/osfrose.h: Similarly.
16217 * i860/i860-protos.h: Similarly.
16218 * i860/i860.c: Similarly.
16219 * i860/i860.h: Similarly.
16220 * i960/i960-protos.h: Similarly.
16221 * i960/i960.c: Similarly.
16222 * i960/i960.h: Similarly.
16223 * ia64/ia64-protos.h: Similarly.
16224 * ia64/ia64.c: Similarly.
16225 * ia64/ia64.h: Similarly.
16226 * m32r/m32r-protos.h: Similarly.
16227 * m32r/m32r.c: Similarly.
16228 * m32r/m32r.h: Similarly.
16229 * m68hc11/m68hc11-protos.h: Similarly.
16230 * m68hc11/m68hc11.c: Similarly.
16231 * m68hc11/m68hc11.h: Similarly.
16232 * m68k/crds.h: Similarly.
16233 * m68k/dpx2.h: Similarly.
16234 * m68k/m68k-protos.h: Similarly.
16235 * m68k/m68k.c: Similarly.
16236 * m68k/m68k.h: Similarly.
16237 * m68k/news.h: Similarly.
16238 * m88k/m88k-protos.h: Similarly.
16239 * m88k/m88k.c: Similarly.
16240 * m88k/m88k.h: Similarly.
16241 * mips/mips-protos.h: Similarly.
16242 * mips/mips.c: Similarly.
16243 * mips/mips.h: Similarly.
16244 * ns32k/merlin.h: Similarly.
16245 * ns32k/ns32k.c: Similarly.
16246 * ns32k/ns32k.h: Similarly.
16247 * ns32k/tek6000.h: Similarly.
16248 * pa/pa-protos.h: Similarly.
16249 * pa/pa.c: Similarly.
16250 * pa/pa.h: Similarly.
16251 * pdp11/2bsd.h: Similarly.
16252 * pdp11/pdp11-protos.h: Similarly.
16253 * pdp11/pdp11.c: Similarly.
16254 * pdp11/pdp11.h: Similarly.
16255 * romp/romp-protos.h: Similarly.
16256 * romp/romp.c: Similarly.
16257 * romp/romp.h: Similarly.
16258 * rs6000/rs6000-protos.h: Similarly.
16259 * rs6000/rs6000.c: Similarly.
16260 * rs6000/rs6000.h: Similarly.
16261 * rs6000/sysv4.h: Similarly.
16262 * sh/sh-protos.h: Similarly.
16263 * sh/sh.c: Similarly.
16264 * sh/sh.h: Similarly.
16265 * sparc/sparc-protos.h: Similarly.
16266 * sparc/sparc.c: Similarly.
16267 * sparc/sparc.h: Similarly.
16268 * vax/vax.c: Similarly.
16269 * vax/vax.h: Similarly.
16270 * vax/vms.h: Similarly.
16271 * we32k/we32k.c: Similarly.
16272 * we32k/we32k.h: Similarly.
16274 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
16276 * basic-block.h (first_insn_after_basic_block_note): Declare.
16277 * flow.c (first_insn_after_basic_block_note): Define. Moved
16279 * ssa.c (first_insn_after_basic_block_note): Remove.
16280 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16282 (ssa_eliminate_dead_code): Properly update the CFG and PHI
16283 nodes when we find a dead conditional branch. Insert BARRIERs
16284 after any blocks with no successors, but which do not have
16287 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16289 * varray.c (varray_check_failed): Use internal_error.
16291 2001-07-05 Andrew Haley <aph@redhat.com>
16293 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16294 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16295 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16297 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
16299 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16300 reference if the target constant is also a SYMBOL_REF.
16302 2001-07-05 Eric Christopher <echristo@redhat.com>
16304 * config/mips/mips.h (MASK_MIPS3900): Remove.
16305 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16306 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16307 (TARGET_MIPS3900): Change to use mips_arch.
16308 (TARGET_MIPS4000): New.
16309 (TARGET_MIPS4100): New.
16310 (TARGET_MIPS4300): New.
16311 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16312 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16314 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16315 (ISA_HAS_BRANCHLIKELY): To here.
16316 (CC1_CPU_SPEC): New.
16317 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
16318 (mips_arch_string): Declare.
16319 (mips_arch): Declare.
16320 (TARGET_OPTIONS): Add -march and -mtune.
16322 * config/mips/mips.c (mips_arch_string): New.
16324 (override_options): Handle -march for codegen and -mtune
16325 for scheduling. Use mips_arch. Move tx39 target default here.
16326 (mips_parse_cpu): Move error message to override_options.
16328 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16330 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16332 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16333 (MIPS Options): Ditto. Change mcpu entry to historical text.
16335 2001-07-05 H.J. Lu (hjl@gnu.org)
16337 * config/mips/mips.c (mips_parse_cpu): New function to parse
16340 2001-07-05 Jim Wilson <wilson@redhat.com>
16342 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16343 * config/ia64/t-ia64: Likewise.
16344 (LIB1ASMFUNCS): Update comment.
16346 2001-07-05 David Edelsohn <edelsohn@gnu.org>
16348 * doc/install.texi (Install GCC: Binaries): Fix typo.
16350 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16352 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16353 reference using the stack pointer, adjust it since we push Y
16355 ("*ashrsi3"): Likewise.
16356 ("*lshrsi3"): Likewise.
16358 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16360 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16361 when -fomit-frame-pointer is used.
16363 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
16365 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16366 (try_redirect_by_replacing_jump): Reverse updating properly the
16367 count and frequency information. Reverse removing cc0 setter.
16368 (forwarder_block_p): Reverse fixing for fallthru blocks.
16370 2001-07-05 DJ Delorie <dj@redhat.com>
16372 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16373 (translate_options): If the above is defined, use it to map
16374 given options to new options.
16375 * doc/tm.texi: Document it.
16377 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
16378 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16380 * doc/invoke.texi (Optimize Options): Document that -fgcse may
16381 cause programs using computed gotos to run more slowly.
16383 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16385 * doc/install.texi (Specific): Markup, spelling and typo fixes.
16387 Consistently require binutils 2.11.2, not prereleases.
16388 (Specific, decstation-*): Canonicalize as mips-dec-*.
16389 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16391 (Specific, m68k-altos): Removed reference to README.altos, deleted.
16392 (Specific, mips-*): Reword MIPS C compiler requirements.
16393 (Specific, powerpc*-*-*): New, mention --with-cpu once.
16394 (Specific, sunv5): Removed, obsolete.
16396 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
16398 * dwarf2out.c (output_loc_list): Use an all ones mask for
16399 .text asm output and don't rely on long long
16400 literals. Reformat some long lines.
16402 2001-07-05 Andreas Jaeger <aj@suse.de>
16404 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16407 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16409 * dwarf2out.c (dwarf2out_define): Update comment.
16410 (dwarf2out_undef): Ditto.
16411 (dwarf2out_start_source_file): Ditto.
16412 (dwarf2out_end_source_file): Ditto.
16413 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16414 since we never call the start/end debug hook for the primary file.
16416 2001-07-04 Kazu Hirata <kazu@hxi.com>
16418 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16421 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16423 * cppinit.c (remove_dup_dirs): Inform if a system include
16424 directory is being reordered.
16425 * doc/invoke.texi (Directory Options): GCC warns if you hide a
16427 * doc/cpp.texi (Search Paths): Likewise.
16428 * doc/gcc.texi (Interoperation): Remove information about
16431 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16433 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16434 (VARRAY_TOP_CHAR_PTR): Likewise.
16436 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16438 * gcc.c (process_command): Don't assign elements of a const char*.
16440 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16442 * emit-rtl.c (change_address): Don't abort if invalid address while
16443 reload is in progress.
16445 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16447 * c-lex.c (cb_file_change): Pass line number to
16448 debug_start_source_file.
16449 (cb_undefine): Pass correct line number to debug_undef.
16451 * toplev.c (debug_start_source_file): Add line number to
16452 parameters. Pass it along to dwarf2out_start_source_file.
16453 (decode_g_option): Stop resetting debug level back to normal when
16454 we change debug formats, unless the current level is
16455 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16458 * toplev.h (debug_start_source_file): Add line number to
16461 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16464 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16466 Output debug_macinfo data for starting file if requested.
16467 (dwarf2out_end_source_file): Output debug_macinfo data for ending
16469 (dwarf2out_define): Output debug_macinfo data for defining a macro
16471 (dwarf2out_undef): Output debug_macinfo data for undefining a
16472 macro if requested.
16473 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16474 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16475 (macinfo_section_label): New. DWARF2 macro info section label.
16476 (dwarf2out_init): If we want macro info, output the start label
16478 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16479 attribute to the compilation unit die pointing to the macro info.
16481 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16483 * dwarf2out.c (new_loc_list): Move to inside #ifdef
16484 DWARF2_DEBUGGING_INFO.
16485 (add_loc_descr_to_loc_list): Ditto.
16486 (output_loc_list): Ditto.
16487 Also, fix thinko in curr not being initialized.
16488 (gen_internal_sym): Ditto.
16490 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16492 * emit-rtl.c (replace_equiv_address): New function.
16493 * expr.h (replace_equiv_address): New declaration.
16494 * explow.c (validize_mem): Call it instead of change_address and
16495 also call if -fforce-addr and address is constant.
16496 * expr.c: Replace more calls to change_address with adjust_address
16497 and/or replace_equiv_address or to validize_mem.
16498 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16499 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16500 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16501 * config/i370/i370.md, config/i860/i860.md: Likewise.
16502 * config/i960/i960.md, config/mips/mips.c: Likewise.
16503 * config/mips/mips.md, config/pa/pa.md: Likewise.
16504 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16505 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16507 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16509 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16511 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16514 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
16516 * doc/include: New directory.
16517 * doc/fdl.texi: Move to doc/include/fdl.texi.
16518 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16519 * doc/include/funding.texi, doc/include/gpl.texi: New files.
16520 * doc/gcc.texi: Use funding.texi and gpl.texi.
16521 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16522 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16523 Update dependencies and use -I $(docdir)/include.
16525 2001-07-04 Anthony Green <green@redhat.com>
16527 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16529 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16531 * doc/install.texi (sparc64-*-*): Remove garbage.
16533 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
16535 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16536 Fix typo in last change to use adjust_address.
16538 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16540 * doc/install.texi (Specific): Update information for *-*-solaris*.
16542 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16544 * explow.c (plus_constant_wide): Reinitialize Y for restart.
16546 2001-07-03 Stan Shebs <shebs@apple.com>
16548 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16549 case for flag_no_mach_text_sections.
16550 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16551 * config/darwin.c (flag_no_mach_text_sections): Remove.
16552 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16554 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16556 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16557 and avoid checking for constant as first operand.
16558 * recog.c (find_constant_term_loc): No longer static.
16559 (adj_offettable_operand): Delete.
16560 * rtl.h (adj_offsettable_operand): Delete declaration.
16561 (find_constant_term): Add declaration.
16562 * caller-save.c: Replace calls to adj_offsettable_operand with calls
16564 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16565 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16566 * config/i386/i386.c, config/i386/i386.md: Likewise.
16567 * config/i860/i860.c, config/i960/i960.c: Likewise.
16568 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16569 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16570 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16571 * config/mips/mips.c, config/mips/mips.md: Likewise.
16572 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16573 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16574 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16575 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16576 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16577 * config/ns32k/ns32k.md: Likewise.
16579 2001-07-03 Zack Weinberg <zackw@stanford.edu>
16581 * rtl.c (copy_rtx): Handle 'T' format letter.
16582 * gensupport.c (collect_insn_data): Likewise.
16583 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16585 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
16587 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16588 -B option. Use 'dir' not 'foo' as example directory name.
16590 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16592 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16593 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16595 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16597 * doc/cppinternals.texi: Improve formatting and logical markup.
16599 2001-07-03 Andreas Jaeger <aj@suse.de>
16601 * Makefile.in (insn-recog.o): Add dependency on reload.h.
16603 * genrecog.c (write_header): Include reload.h for prototypes in
16606 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
16609 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16610 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16611 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16612 i386_pe_valid_type_attribute_p): Add.
16613 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16614 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16616 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16618 * explow.c (plus_constant_wide, case LO_SUM): New case.
16619 (plus_constant_for_output_wide): Delete.
16620 * rtl.h (plus_constant_for_output): Delete.
16621 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16622 instead of plus_constant_for_output.
16623 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16624 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16625 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16626 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16627 * config/sparc/sparc.md: Likewise.
16628 Convert some change_address calls to adjust_address.
16630 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16632 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16633 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
16634 documentation of -std and -Wwrite-strings.
16636 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16638 * cse.c (canon_hash): Don't register registers in very small
16639 register classes, as extending their lifetime might cause
16642 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16644 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16646 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16647 (try_redirect_by_replacing_jump): Update properly the count
16648 and frequency information.
16650 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
16652 * toplev.c (dump_file_index): Move SSA dumps just after first
16654 (dump_file): Corresponding changes.
16655 (rest_of_compilation): Move SSA path to just after the first
16657 * doc/gcc.texi (Passes): Update due to movement of SSA path.
16658 * doc/invoke.texi: Update dump file #s as they were completely
16659 out of date with reality.
16661 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16663 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16665 * expr.c (emit_move_insn_1): Deal with non-default
16668 * expr.c (emit_single_push_insn): Fix warning.
16670 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
16672 * expr.c (emit_move_insn_1): Avoid modifying
16673 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16675 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16677 * emit-rtl.c (adjust_address): New function.
16678 * expr.h (adjust_address): Add declaration.
16679 * builtins.c: Replace some calls to change_address with calls to it
16680 or to validize_mem.
16681 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16682 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16683 * config/arm/arm.c, config/convex/convex.c: Likewise.
16684 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16685 * config/i386/i386.c, config/i386/i386.md: Likewise.
16686 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16687 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16688 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16689 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16690 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16692 2001-07-02 Jim Wilson <wilson@redhat.com>
16694 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16696 2001-07-02 Steve Ellcey <sje@cup.hp.com>
16698 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16699 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16701 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16703 * cppinit.c (lang_defaults): New table.
16704 (set_lang): Just read from lang_defaults into the live options
16707 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16709 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
16710 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
16711 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
16713 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16715 * doc/install.texi: Various spelling and markup fixes.
16716 (Installing GCC): Component specific installation instructions are
16719 Warn about removing old install dir in the presence of shared libs.
16720 (Configuration): Invoke with options target to match configure
16722 Consistently refer to gas, gld pathnames.
16723 Invert --enable-multilib documentation.
16724 Remove references to old compiler versions.
16726 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16728 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
16730 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16732 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
16734 (Specific, mips*-sgi-irix5): Note IDO download.
16735 Reworded MIPS C hints.
16736 Use GNU as instead of GAS.
16738 Removed SGI Freeware reference, IRIX 6 only.
16739 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
16740 Note N64 library requirement/workaround.
16742 Complete list of structure passing bug victims.
16744 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16746 * doc/install.texi: Remove CVS Id.
16748 2001-07-02 Andreas Jaeger <aj@suse.de>
16750 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
16751 (find_inherently_necessary): Remove unused variable.
16753 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
16755 * c-common.h (TDI_inlined): New ast dump phase.
16756 (dump_flag_name): New function.
16757 * c-dump.c (dump_files): Add inlined phase.
16758 (dump_flag_name): Define.
16759 * doc/invoke.texi (-fdump-ast-inlined): Document.
16761 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16763 * stor-layout.c (layout_decl): Revert change to handling of alignment
16766 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16768 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
16771 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
16773 * doc/tm.texi (FUNCTION_ARG): Document that the last call
16776 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
16778 * tlink.c (recompile_files): Remove COMPILER_PATH and
16779 LIBRARY_PATH from the environment.
16781 2001-07-01 Zack Weinberg <zackw@stanford.edu>
16783 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
16784 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
16786 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
16788 * c-parse.in (OBJC_STRING): Kill.
16789 (objc_string): Decompose to [objc_string] '@' STRING.
16790 (reswords): Take the leading '@' off all the Objective C keywords.
16791 (objc_rid_sans_at): Kill.
16792 (init_reswords): Don't initialize it.
16793 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
16794 (_yylex): Kill reconsider label. Look ahead one token after
16795 an '@'; if we get an identifier, check whether it's an
16796 Objective C @-keyword. If so, return the keyword. Otherwise,
16797 put back the token and return the '@' as a terminal.
16799 * cpplib.c (lex_macro_node): Remove unnecessary check for
16800 leading '@' on identifier. Clarify control flow and commentary.
16802 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16804 * cse.c (new_label_ref): Variable deleted.
16805 (insert): Remove set of new_label_ref.
16806 (check_for_label_ref): New function.
16807 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16809 See ChangeLog.5 for earlier changes.