1 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
3 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
4 Add rules for building [vp]crt0.o
5 * config/alpha/vms.h (START_FILE_SPEC): Define.
6 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
7 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
8 * doc/invoke.texi: Document special Alpha/VMS options.
10 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
13 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
16 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17 Douglas B. Rupp <rupp@gnat.com>
19 * tree.c (append_random_char): Conditionalize INO for VMS.
21 2001-12-09 Richard Henderson <rth@redhat.com>
23 * cfgcleanup.c (label_is_jump_target_p): New function.
24 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
25 target of a JUMP_INSN from the preceding block.
27 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
29 * vmsdbgout.c (lookup_filename): Assign null string instead
30 of null pointer to fnam.
32 2001-12-09 Richard Henderson <rth@redhat.com>
34 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
35 immediately after a call; insert nops before a call.
37 2001-12-09 Richard Henderson <rth@redhat.com>
39 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
40 not FUNCTION_BOUNDARY.
41 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
42 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
43 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
45 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
47 * config/mmix/mmix.c (mmix_function_block_profiler,
48 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
50 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
51 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
54 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
55 Delete obsoleted macros.
57 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
59 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
60 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
62 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
63 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
64 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
65 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
66 config/i370/i370.c, config/i386/i386.c,
67 config/i386/i386-interix.h, config/i386/i386.md,
68 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
69 config/m32r/m32r-protos.h, config/mcore/mcore.h,
70 config/rs6000/rs6000.h, config/sparc/linux64.h,
71 config/sparc/sparc.c, config/v850/v850-protos.h,
72 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
75 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
77 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
78 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
80 * config/rs6000/rs6000.c: Ditto.
82 * config/rs6000/rs6000.md: Ditto.
84 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
86 * 1750a.md: Add default case in switch.
87 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
89 * dsp16xx.c (print_operand_address): Likewise.
90 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
91 * ia64.md: Add missing braces.
92 * rs6000-protos.h (s8bit_cint_operand): Prototype.
93 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
95 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
96 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
97 * dbxout.c (dbxout_source_file): Move a variable into the scope
99 * final.c (profile_function): Mark parameter with
101 * genemit.c (gen_expand): Likewise for generated file.
102 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
104 * vmsdbg.h: Delete spurious close-comment.
105 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
106 * vmsdbgout.c (write_modbeg): Define return type.
108 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
109 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
110 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
111 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
112 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
113 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
114 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
116 2001-12-08 Tom Rix <trix@redhat.com>
118 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
119 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
120 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
122 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
123 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
124 * config/rs6000/rs6000.c (expand_block_move): Do not use
125 gen_movstrsi_2reg and powerpc64.
127 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
129 * c-common.h (rid): Add RID_CHOOSE_EXPR and
130 RID_TYPES_COMPATIBLE_P.
132 * c-parse.in (reswords): Add __builtin_choose_expr.
133 Add __builtin_types_compatible_p.
134 Add CHOOSE_EXPR token.
135 Add TYPES_COMPATIBLE_P token.
136 Add production for CHOOSE_EXPR.
137 Add production for TYPES_COMPATIBLE_P.
139 * doc/extend.texi (__builtin_choose_expr): Add documentation.
140 (__builtin_types_compatible_p): Likewise.
142 2001-12-08 David Edelsohn <edelsohn@gnu.org>
144 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
147 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
149 * c-parse.in: Take string literals in assembler constructs,
151 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
152 check the strings are STRING_CSTs.
154 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
156 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
157 using combine_strings to do the concatenation.
158 * c-parse.in: Replace uses of the string non-terminal with STRING.
159 Don't attempt string concatenation.
160 (OBJC_STRING): New terminal.
161 (string): Remove non-terminal.
162 (_yylex): Call combine_strings on function names. Generate
163 OBJC_STRING terminals; don't pass '@' on to yacc.
164 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
165 (build_asm_stmt): Similarly.
167 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
169 * rtlanal.c (get_jump_table_offset): Delete unused variable.
171 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
173 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
174 (prefetch): Rewrite using PREFETCH RTL primitive.
175 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
176 * arm.c (arm_init_builtins): Don't initialize a builtin for
177 __builtin_prefetch here.
178 (arm_expand_builtin): Don't expand __builtin_prefetch here.
180 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
182 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
183 in test for a subreg.
185 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
187 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
190 2001-12-07 Richard Henderson <rth@redhat.com>
192 * doc/extend.texi: Fix typo last change.
194 * c-decl.c (c_language): Remove duplicate.
196 2001-12-07 Dale Johannesen <dalej@apple.com>
198 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
199 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
200 specific codegen, eliminate a register copy.
201 (print_operand_address): Add support for Darwin's lo16(constant)
203 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
204 generation of addresses within very large data objects.
205 (s8bit_cint_operand): New.
206 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
207 Move "mtjmpr" to correct functional unit for 750/7400/7450.
208 Add imul2 and imul3 insn types for multiplication by 16- and
210 Change tablejump patterns to strongly discourage using LR
212 Add %lo16 patterns for Darwin loads and stores.
214 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
216 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
218 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
220 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
221 with %sp because it can cause the delayed instruction to load
224 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226 * alpha.c (alpha_expand_unaligned_store,
227 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
228 call to immed_double_const.
230 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
232 * doc/extend.texi (Variable Attributes): Document vector_size.
234 * attribs.c (c_common_attribute_table): Add vector_size.
235 (handle_vector_size_attribute): New.
236 (vector_size_helper): New.
237 (decl_attributes): Relayout the decl after calculating attribs.
239 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
241 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
242 description for Trouble section.
243 * doc/install-old.texi: Adjust for inclusion as chapter of new
245 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
246 Adjust to include old installation chapter as chapter of new
249 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
251 * rtl.h (get_jump_table_offset): Declare.
252 * rtlanal.c (get_jump_table_offset): Implement.
254 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
256 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
257 Deleted; were used only by BB profiler code.
258 (sbb_head, sbb_tail, sbb_label_num): Likewise.
259 (end_final): Delete now-unused vars I, PTR, and SPTR.
261 * expr.c (store_field): Remove warning.
262 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
263 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
264 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
265 divisor constant power of 2.
266 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
268 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
270 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
273 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
275 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
276 (DWARF_FRAME_REGISTERS): Delete.
278 2001-12-06 Janis Johnson <janis187@us.ibm.com>
280 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
281 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
282 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
283 with defaults for read prefetch with high degree of locality.
284 * doc/extend.texi (__builtin_prefetch): Update documentation.
285 * doc/md.texi (prefetch): Add documentation.
287 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
289 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
291 * fixinc/fixincl.x: Regenerate.
292 Fixes PR libf2c/4826.
294 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
295 Richard Henderson <rth@redhat.com>
297 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
298 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
300 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
301 to PRE_GCC3_DWARF_FRAME_REGISTERS.
303 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
305 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
307 * langhooks.c (lhd_staticp): Mark parameter with
310 2001-12-06 H.J. Lu <hjl@gnu.org>
312 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
315 (o/$(PACKAGE).pot): Likewise.
317 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
319 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
320 * tree-inline.c (expand_call_inline): ... here.
322 2001-12-06 H.J. Lu <hjl@gnu.org>
324 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
326 (o/$(PACKAGE).pot): Likewise.
328 2001-12-06 David O'Brien <obrien@FreeBSD.org>
330 * config.gcc: Include dbxelf.h before elfos.h.
331 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
333 2001-12-06 Zack Weinberg <zack@codesourcery.com>
335 * cppfiles.c (open_file): If we've opened a directory by
337 (find_include_file): Avoid turning / into // or // into ///.
339 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
341 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
342 (STRUCT_VALUE_REGNUM): Restore definition.
344 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
346 * flow.c (find_regno_partial): Return register, not the expression
349 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
351 * function.c (handle_epilogue_set): Check for FP setting case when
352 SP is set from FP in same insn.
354 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
356 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
357 RTX when calling alter_subreg().
358 (store_multiple_sequence): Pass pointer to RTX when calling
361 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
363 * function.c (assing_parms): Fix typo in last change.
364 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
365 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
366 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
367 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
369 2001-12-06 Alan Modra <amodra@bigpond.net.au>
371 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
372 correct code selecting section.
374 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
376 * final.c (count_basic_block, add_bb, add_bb_string):
378 (end_final, final_start_function, final, final_scan_insn,
379 leaf_function_p): Kill BB profiler related code.
380 * flags.h (profile_block_flag): Kill.
381 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
382 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
383 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
384 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
385 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
386 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
387 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
388 __bb_init_trace_func): Kill.
389 * toplev.c (profile_block_flag): Kill.
390 (indepdendent_decode_option, process_options): Kill -a related code.
391 * alpha.c (direct_call_operand): Likewise.
392 * arm.c (arm_expand_prologue, thumb_expand_prologue,
393 thumb_expand_epilogue): Likewise.
394 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
395 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
396 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
397 MACHINE_STATE_RESTORE): Kill.
398 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
399 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
400 MACHINE_STATE_RESTORE): Kill.
401 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
402 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
403 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
405 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
406 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
407 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
408 MACHINE_STATE_RESTORE): Kill.
409 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
410 * i960.c (i960_output_function_prologue): Kill BB profiler related
412 * ia64.c (ia64_compute_frame_size): Likewise.
413 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
414 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
415 MACHINE_STATE_RESTORE): Kill.
416 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
417 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
418 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
419 MACHINE_STATE_RESTORE): Kill.
420 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
421 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
422 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
423 MACHINE_STATE_RESTORE): Kill.
424 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
425 Kill BB profiler related code.
426 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
427 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
428 MACHINE_STATE_RESTORE): Kill.
429 * mips.c (mips_expand_prologue): Kill BB profiler related code.
430 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
431 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
432 MACHINE_STATE_RESTORE): Kill.
433 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
434 * s960.c (s390_function_prologue): Kill BB profiler related code.
435 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
436 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
437 MACHINE_STATE_RESTORE): Kill.
438 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
439 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
440 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
441 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
442 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
443 sparc_nonflat_function_epilogue): Kill BB profiler related code.
444 (sparc_function_block_profiler, sparc_block_profiler,
445 sparc_function_block_profiler_exit): Kill.
446 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
447 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
448 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
449 MACHINE_STATE_RESTORE): Kill.
450 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
451 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
452 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
453 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
454 MACHINE_STATE_RESTORE): Kill.
455 * doc/invoke.texi: Kill documentation of -a and -ax.
456 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
457 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
458 MACHINE_STATE_RESTORE): Kill.
460 2001-10-26 Steve Christiansen <smc@us.ibm.com>
462 * doc/rtl.texi: Use a table to display RTL format characters.
464 2001-12-06 Bo Thorsen <bo@suse.co.uk>
466 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
468 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
470 * function.c (keep_stack_depressed): Check global_live_at_start
471 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
473 2001-12-05 David O'Brien <obrien@FreeBSD.org>
475 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
476 as set by the generic FreeBSD configure framework.
478 2001-12-04 Jason Merrill <jason@redhat.com>
480 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
481 start_inlining, end_inlining.
482 * tree-inline.c (expand_call_inline): Call them.
483 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
484 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
485 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
486 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
487 (lhd_tree_inlining_end_inlining): New fn.
489 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
491 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
492 * c-common.h (shadow_warning): New.
493 * c-decl.c: Include c-common.h.
494 (warn_if_shadowing): New, broken out of pushdecl.
495 (pushdecl): Use warn_if_shadowing.
496 (store_parm_decls): Prevent duplicate -Wshadow warnings.
498 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
500 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
501 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
504 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
506 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
507 (QUAL_UNION_TYPE): New type.
509 * varasm.c (output_constant, case ERROR_MARK): New case.
511 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
512 (c_com): Delete its reference.
513 * builtins.c: Delete memory checking code.
514 * calls.c, expr.c, function.c, stmt.c: Likewise.
515 * builtins.c (expand_builtin_arg_info): Remove reference to
516 EXPAND_MEMORY_USE_* modifiers.
517 * explow.c (expr_size): Likewise.
518 * expr.c (expand_expr, expand_increment): Likewise.
519 * expr.h (ARGS_SIZE_RTX): Likewise.
520 * function.c (assign_parms, expand_pending_sizeso): Likewise.
521 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
522 * expr.c (in_check_memory_usage): Delete.
523 (get_push_address, get_memory_usage_from_modifier): Delete.
524 (expand_assigment): Use EXPAND_WRITE on destination.
525 (expand_expr): Delete ro_modifier.
526 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
528 (memory_use_mode): Delete.
529 * flags.h (flag_check_memory_usage): Deleted.
530 (flag_prefix_function_name): Likewise.
531 * function.c (expand_function_start): Don't set
532 current_function_check_memory_usage.
533 * function.h (check_memory_usage): Delete.
534 * libfuncs.h, optabs.c: Delete chkr_* stuff.
535 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
537 * toplev.c (flag_check_memory_usage): Deleted.
538 (flag_prefix_function_name): Likewise.
539 (f_options, process_options): Delete references to above.
540 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
541 * varasm.c (CHKR_PREFIX): Deleted.
542 (make_decl_rtl): Remove flag_prefix_function_name handling.
543 (assemble_name): Likewise.
544 * doc/extend.texi: Remove no_check_memory_usage attribute.
545 * doc/invoke.texi: Remove -fcheck-memory-usage
546 and -fprefix-function-name.
548 2001-12-05 Andreas Schwab <schwab@suse.de>
550 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
553 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
555 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
557 2001-12-05 William Cohen <wcohen@redhat.com>
559 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
562 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
564 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
567 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
568 better reflect reality (change from Apple's tree).
569 Add more of altivec instructions.
570 Add ftruncv4sf2 pattern.
571 Remove more unspecs (vector merge instructions, etc).
573 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
575 (bdesc_1arg): New, for 1 argument altivec builtins.
576 (altivec_expand_builtin): Handle unary and ternary ops.
577 (altivec_init_builtins): Ditto.
579 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
581 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
582 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
584 2001-12-05 Jakub Jelinek <jakub@redhat.com>
586 * gcse.c (store_killed_in_insn): Consider pure calls
587 as potential store killers in addition to normal calls.
589 2001-12-05 Jakub Jelinek <jakub@redhat.com>
591 * expr.c (expand_expr): When checking promoted value, use
592 DECL_MODE (exp) and not mode.
594 2001-12-05 Jakub Jelinek <jakub@redhat.com>
596 * c-typeck.c (output_init_element): Call digest_init
597 just once, not in each if branch and check its return value for
600 2001-12-05 Jakub Jelinek <jakub@redhat.com>
602 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
603 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
604 (finish_struct): Break the loop if n_incomplete went to 0.
605 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
607 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
609 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
611 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
612 Douglas B. Rupp <rupp@gnat.com>
614 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
615 * doc/invoke.texi: Add -gvms.
616 * doc/passes.texi: Add mention of vmsdbgout.c.
617 * doc/tm.texi: Document VMS debugging output.
619 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
621 * function.h (tree, rtx): Remove no-longer-needed definitions.
623 * function.c (keep_stack_depressed): Refine check for register
626 * expr.c (store_expr): When copying string constant into array,
627 use functions that update memrefs instead of computations on
628 addresses to better track MEMs. Also properly handle 32/64 pointers.
629 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
630 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
632 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
633 underneath COMPONENT_REFs.
634 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
636 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
638 * toplev.c (display_target_options): Don't print twice.
640 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
642 * emit-rtl.c (set_unique_reg_note): Don't set
643 a REG_EQUAL or REG_EQUIV note if multiple sets
646 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
648 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
651 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
653 * rtl.h (initialize_uninitialized_subregs): New prototype.
654 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
655 when optimization is on.
656 * flow.c (find_regno_partial): Find subregs within an expression.
657 (initialize_uninitialized_subregs): Initialize live on entry registers
658 which are used in subreg expressions.
660 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
662 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
664 2001-12-04 DJ Delorie <dj@redhat.com>
666 * fixinc/fixincl.c (initialize): Avoid problemsome macro
667 parameter names (PR 3388).
669 2001-12-05 Alan Modra <amodra@bigpond.net.au>
671 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
672 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
674 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
676 * c-common.def (COMPOUND_LITERAL_EXPR): New.
677 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
678 (c_staticp): New function.
679 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
680 (c_staticp): Declare.
681 * c-typeck.c (default_function_array_conversion, build_unary_op):
682 Don't handle CONSTRUCTOR specially.
683 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
684 * c-decl.c (build_compound_literal): New function.
685 * c-tree.h (build_compound_literal): Declare.
686 * c-parse.in (primary): Use build_compound_literal.
687 * c-lang.c (LANG_HOOKS_STATICP): Define.
688 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
689 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
690 * doc/extend.texi: Update documentation of compound literals.
693 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
695 * langhooks.h (struct lang_hooks): Add staticp.
696 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
697 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
698 * langhooks.c (lhd_staticp): New function.
699 * tree.c (staticp): Call lang_hooks.staticp for language-specific
702 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
704 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
705 * gcc.c (process_command): Ensure the cpp driver sees
706 --help and --target-help, and that the help is printed
709 2001-12-04 David Edelsohn <edelsohn@gnu.org>
711 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
713 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
715 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
716 flag_strict_aliasing. Use separate assignment statements.
718 2001-12-04 Zack Weinberg <zack@codesourcery.com>
720 * build-make, cross-make: Delete file.
721 * configure.in: Set and substitute CROSS, ALL,
722 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
723 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
724 whether build == host and host == target. Do not
725 AC_SUBST_FILE build_overrides or cross_overrides. Do not
726 AC_SUBST cross_defines or extra_c_flags.
727 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
728 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
729 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
730 partially or completely with autoconf-substituted @variable@
732 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
733 @build_overrides@, @extra_c_flags@, all.build, install-build,
734 install-cross-rest, install-float-h-cross): Deleted.
735 (install-normal): Rename to install. Delete old "install"
738 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
740 * stmt.c (expand_return): Clear destination instead of clobbering it
741 when setting a return value via bitsets.
743 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
745 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
746 it has DECL_SAVED_TREE.
748 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
749 is in a different binding level, get its abstract origin to be
751 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
753 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
754 DECL_INITIAL is NULL.
756 2001-12-04 Jakub Jelinek <jakub@redhat.com>
758 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
759 Return correct value if one of the subexpressions was optimized to
760 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
761 (and_reg_cond): Similarly.
763 2001-12-04 Jakub Jelinek <jakub@redhat.com>
765 * function.c (assign_parms): Set last_named only for last named
768 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
770 * doc/install.texi: Use the GFDL. Include years from old install
771 manual in copyright notice. Include copyright and GFDL notice on
772 HTML index page. Include usual footer on testing.html.
773 * doc/install.texi2html: Build gfdl.html. Use -I
775 * doc/include/fdl.texi: Adapt for use in the install manual.
777 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
779 * doc/install.texi: Document that installed native compiler for
780 building cross compilers should be GCC 2.95 or later.
782 2001-12-03 Eric Christopher <echristo@redhat.com>
784 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
785 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
788 2001-12-03 Janis Johnson <janis187@us.ibm.com>
790 * rtl.def (PREFETCH): New rtx code.
791 * doc/rtl.texi (PREFETCH): Add documentation.
792 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
793 * rtlanal.c (reg_referenced_p): Ditto.
794 * sched-vis.c (print_exp): Ditto.
795 * ssa-dce.c (find_inherently_necessary): Ditto.
797 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
798 (PREFETCH_BLOCK): Define.
799 * config/ia64/ia64.md (itanium_class): Add lfetch.
800 (prefetch, prefetch_internal): New.
802 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
803 * builtins.def (BUILT_IN_PREFETCH): New.
804 * builtins.c (expand_builtin_expect): New.
805 (expand_builtin): Call it.
806 * doc/extend.texi: Document __builtin_prefetch.
808 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
809 conflicts with new generic prefetch functionality.
810 * config/i386/i386.c (ix86_expand_builtin): Use new name for
813 2001-12-02 Ziemowit Laski <zlaski@apple.com>
815 * objc/Make-lang.in: Update copyright.
816 (OBJC_OBJS): Add objc-lang.o.
817 (objc-lang.o): New rule.
818 * objc/config-lang.in: Fix file description and update
820 * objc/objc-act.c: Do not include langhooks.h and
822 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
823 (objc_post_options): Move to objc-lang.c.
824 (objc_init_options): Move to objc-lang.c.
825 (objc_init): Make non-static.
826 (objc_decode_option): Make non-static.
827 (HASHFUNCTION): Remove macro.
828 (hash_func): New function.
829 (hash_enter): Replace HASHFUNCTION with hash_func.
830 (hash_lookup): Replace HASHFUNCTION with hash_func.
831 (maybe_objc_tree_codes): New function.
832 (init_objc): Move ObjC tree code initialization to
833 maybe_objc_tree_codes().
834 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
835 (objc_init): New public prototype.
836 (objc_decode_option): New public prototype.
837 (maybe_add_objc_tree_codes): New public prototype.
838 * objc/objc-lang.c: New file.
839 (lang_hooks): Moved from objc-act.c.
840 (objc_post_options): Moved from objc-act.c.
841 (objc_init_options): Moved from objc-act.c.
843 2001-12-03 Geoff Keating <geoffk@redhat.com>
845 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
848 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
851 * gcc.c (process_command): Don't add a preprocessor option for
852 --help and --target-help; cc1 is enough.
854 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
856 * c-decl.c (grokdeclarator): Use ISO word.
857 * cppinit.c: Remove leading capital from diagnostic messages, as
858 per GNU coding standards.
859 * emit-rtl.c: Similarly.
860 * final.c: Similarly.
862 * tradcpp.c: Similarly.
863 * config/arm/arm.c: Similarly.
864 * config/arm/arm.h: Similarly.
865 * config/avr/avr.c: Similarly.
866 * config/avr/avr.h: Similarly.
867 * config/c4x/c4x.c: Similarly.
868 * config/cris/cris.c: Similarly.
869 * config/cris/cris.h: Similarly.
870 * config/d30v/d30v.c: Similarly.
871 * config/dsp16xx/dsp16xx.c: Similarly.
872 * config/dsp16xx/dsp16xx.h: Similarly.
873 * config/h8300/h8300.c: Similarly.
874 * config/i386/i386.c: Similarly.
875 * config/i386/xm-djgpp.h: Similarly.
876 * config/i960/i960.h: Similarly.
877 * config/m32r/m32r.c: Similarly.
878 * config/m68hc11/m68hc11.c: Similarly.
879 * config/m88k/m88k.c: Similarly.
880 * config/m88k/m88k.h: Similarly.
881 * config/mcore/mcore.c: Similarly.
882 * config/mcore/mcore.h: Similarly.
883 * config/mips/mips.c: Similarly.
884 * config/mmix/mmix.c: Similarly.
885 * config/pa/pa.c: Similarly.
886 * config/rs6000/rs6000.c: Similarly.
887 * config/rs6000/sysv4.h: Similarly.
888 * config/s390/s390.c: Similarly.
889 * config/sparc/sparc.c: Similarly.
890 * config/v850/v850-c.c: Similarly.
891 * config/v850/v850.c: Similarly.
893 2001-12-03 Zack Weinberg <zack@codesourcery.com>
895 * rs6000.h (RETURN_IN_MEMORY): Cast result of
896 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
898 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
900 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
901 bit twiddling constant.
903 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
905 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
906 call purge_dead_edges after removing.
907 (delete_null_pointer_checks): Do not handle delete_list.
909 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
910 (count_basic_blocks): ... here.
911 (find_basic_blocks, find_bb_boundaries): Cleanup.
913 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
914 overflow for types greater then 2 * HOST_WIDE_INT.
916 * reload.c (find_reloads): Update the duplicates after swapingg.
918 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
920 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
922 2001-12-02 Zack Weinberg <zack@codesourcery.com>
924 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
925 MASK_LONG_DOUBLE_128): Delete.
926 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
927 TARGET_AIX_STRUCT_RET): New flags.
928 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
929 -mlong-double-64. Add entries for -m(no-)aix-struct-return
930 and -m(no-)svr4-struct-return.
931 (TARGET_OPTIONS): Add entry for -mlong-double-.
932 (rs6000_long_double_size_string, rs6000_long_double_type_size,
933 rs6000_altivec_abi): Declare.
934 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
935 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
936 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
937 structures of size <= 8 bytes in registers.
938 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
940 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
941 rs6000_long_double_type_size, rs6000_altivec_abi): New
943 (rs6000_override_options): Set rs6000_long_double_type_size
944 from rs6000_long_double_size_string, if nonzero. Set the
945 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
947 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
949 (rs6000_init_builtins): This hook now takes no arguments.
951 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
952 DRAFT_V4_STRUCT_RET to 1.
954 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
956 * c-typeck.c (really_start_incremental_init, push_init_level):
957 Avoid constructor_max_index being other than an INTEGER_CST.
959 2001-12-02 David Edelsohn <edelsohn@gnu.org>
961 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
963 (ASM_GENERATE_INTERNAL_LABEL): Same.
964 (UNIQUE_SECTION): Fix typo.
966 2001-12-02 Richard Henderson <rth@redhat.com>
968 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
970 2001-12-02 Richard Henderson <rth@redhat.com>
972 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
973 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
974 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
975 * expr.h, final.c, reload1.c: Adjust users.
977 * alias.c (nonoverlapping_component_refs_p): New.
978 (decl_for_component_ref, adjust_offset_for_component_ref): New.
979 (nonoverlapping_memrefs_p): Use them.
980 * emit-rtl.c (component_ref_for_mem_expr): New.
981 (set_mem_attributes): Use it.
982 (set_mem_offset): New.
983 * expr.c (expand_assignment): Call set_mem_attributes for
984 inner references; adjust the memory offset as needed.
985 * print-rtl.c (print_mem_expr): New.
988 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
990 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
992 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
993 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
994 (ASM_SPEC): Don't redefine.
995 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
996 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
997 * config/alpha/vms-dwarf2.asm: New file.
999 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1000 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1001 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1002 (vmsdbgout_after_prologue): New declaration.
1003 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1004 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1005 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1006 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1007 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1008 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1009 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1010 Test VMS_DEBUGGING_INFO.
1011 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1012 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1013 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1014 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1015 VMS_AND_DWARF2_DEBUG.
1016 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1017 (decode_g_option): Add "vms" to debug_type_names.
1018 (process_options): Set vmsdbg_debug_hooks if -gvms.
1019 (lang_independent_init): Emit line number for VMS unless -g0.
1020 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1021 * vmsdbg.h, vmsdbgout.c: New files.
1023 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1025 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1027 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1029 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1030 * dwarf2out.c (is_cxx): Prototype.
1031 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1033 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1035 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1037 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1039 2001-12-02 Geoff Keating <geoffk@redhat.com>
1041 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1042 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1043 rather than simplify_subreg. Check for volatile-ness. Check that
1044 we're not splitting one slow operation into two slow operations.
1046 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1048 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1051 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1053 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1054 capital from diagnostics.
1055 * c-lex.c (cb_file_change): Similarly.
1056 * c-parse.in : Similarly.
1057 * cfgrtl.c (verify_flow_info): Similarly.
1058 * collect2.c: Similarly.
1059 * cppfiles.c (find_include_file): Similarly.
1060 * cppinit.c (cpp_handle_option): Similarly.
1061 * cpplex.c (cpp_spell_token): Similarly.
1062 * cppmain.c (do_preprocessing): Similarly.
1063 * gcc.c (translate_options, process_command, do_spec1,
1064 main, pfatal_execute): Similarly.
1065 * genattr.c (main): Similarly.
1066 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1067 write_test_expr, main): Similarly.
1068 * gencodes.c (main): Similarly.
1069 * genconfig.c (main): Similarly.
1070 * genconstants.c (main): Similarly.
1071 * genemit.c (main): Similarly.
1072 * genextract.c (main): Similarly.
1073 * genflags.c (main): Similarly.
1074 * genopinit.c (main): Similarly.
1075 * genoutput.c (process_template, main): Similarly.
1076 * genpeep.c (main): Similarly.
1077 * genrecog.c (main): Similarly.
1078 * gensupport.c (is_predicable, identify_predicable_attribute,
1079 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1080 * ggc-page.c (alloc_anon): Similarly.
1081 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1082 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1083 parse_stabs_common, parse_stabs, write_varray, write_object,
1084 read_seek, copy_object, main, error): Similarly.
1085 * profile.c (compute_branch_probabilities): Similarly.
1086 * reg-stack.c (check_asm_stack_operands): Similarly.
1087 * reload.c (find_reloads): Similarly.
1088 * reload1.c (spill_failure, failed_reload): Similarly.
1089 * rtl-error.c (_fatal_insn_not_found): Similarly.
1090 * toplev.c (read_integral_parameter, crash_signal,
1091 decode_f_option, set_target_switch, parse_options_and_default_flags)
1093 * tradcif.y (parse_number, yylex): Similarly.
1094 * tradcpp.c (main, fancy_abort): Similarly.
1095 * tree.c (tree_check_failed): Similarly.
1096 * varray.c (varray_check_failed): Similarly.
1097 * xcoffout.c (xcoff_output_standard_types): Similarly.
1099 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1100 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1101 finish_message_expr, build_protocol_expr, is_public,
1102 start_class): Similarly.
1104 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1106 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1107 trailing period from diagnostics.
1108 * c-lex.c (cb_file_change): Similarly.
1109 * cppmacro.c (check_trad_stringification): Similarly.
1110 * gcc.c (do_spec_1): Similarly.
1111 * genattr.c (main): Similarly.
1112 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1113 * gencodes.c (main): Similarly.
1114 * genconfig.c (main): Similarly.
1115 * genconstants.c (main): Similarly.
1116 * genemit.c (main): Similarly.
1117 * genextract.c (main): Similarly.
1118 * genopinit.c (main): Similarly.
1119 * genoutput.c (main): Similarly.
1120 * genpeep.c (main): Similarly.
1121 * genrecog.c (main): Similarly.
1122 * mips-tfile.c (add_file, error): Similarly.
1123 * profile.c (init_branch_prob): Similarly.
1124 * reload1.c (spill_failure): Similarly.
1125 * stmt.c (parse_output_constraint): Similarly.
1126 * varasm.c (assemble_variable): Similarly.
1128 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1130 * m68k.c (init_FPA_table): Provide static prototype.
1131 * mips/abi64.h (mips_function_value): Move prototype to ...
1132 * mips-protos.h (mips_function_value): ... here.
1133 * mips.c: Include halfpic.h.
1134 * output.h (rdata_section): Prototype.
1136 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1137 * m88k.c (m88k_svr3_asm_out_constructor,
1138 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1140 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1141 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1142 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1144 2001-12-01 Geoff Keating <geoffk@redhat.com>
1146 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1147 LO_SUM addresses less than word size are not legitimate,
1148 because they lead to invalid SUBREGs.
1149 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1151 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
1153 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1154 while scanning for multiple back edges.
1156 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1158 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1159 * config/rs6000/tramp.asm: Use it.
1161 2001-12-01 Zack Weinberg <zack@codesourcery.com>
1163 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1164 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1167 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1169 * pa.c (output_ascii): Cast `p' to unsigned char.
1171 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1173 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1174 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1175 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1176 (altivec_init_builtins): Ditto.
1177 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1179 * config/rs6000/rs6000.md: Add attribute types vecsimple,
1180 veccomplex, vecfloat, and vecperm, for altivec instructions.
1181 Modify altivec patterns to use appropriate attribute type.
1182 Modify altivec patterns to match RTL operations where appropriate
1183 (IE no unspec where we can avoid it).
1184 Add vector unit scheduling for ppc7450.
1185 Rename patterns to what they are where appropriate
1186 (altivec_vaddfp->addv4sf3, etc)
1188 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1189 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1191 * config/rs6000/sysv4.h: Add -mcpu=7450.
1193 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1194 _builtin_altivec_ld_interal function.
1196 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1198 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1199 strchr, strrchr, isascii, gettimeofday.
1200 * config.in, configure: Regenerate.
1202 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1204 * unroll.c (unroll_loop): Correct special exit cases.
1206 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1208 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1209 accept DFmode and DImode only.
1211 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1213 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1214 (STACK_DYNAMIC_OFFSET): Same.
1216 2001-11-30 Richard Henderson <rth@redhat.com>
1218 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1220 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1222 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1223 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1224 the values in call_used_registers.
1226 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1228 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1231 2001-11-30 Jason Merrill <jason@redhat.com>
1233 * dwarf2out.c (is_cxx): New fn.
1234 (add_data_member_location_attribute): Check it.
1235 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1237 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1239 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1241 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1243 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1244 MODE_VECTOR_FLOAT as allowed.
1246 2001-11-29 Zack Weinberg <zack@codesourcery.com>
1248 Purge cruft now we have build libiberty.
1250 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1251 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1252 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1253 USE_HOST_STRSTR): Delete variables.
1254 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1255 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1256 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1257 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1258 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1259 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1260 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1261 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1263 (HOST_RTL): Remove hashtab.o safe-ctype.o.
1264 (OBJS): Remove splay-tree.o.
1265 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1266 (distclean): No need to delete splay-tree.c obstack.c
1267 hashtab.c safe-ctype.c.
1268 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1269 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1270 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1272 * configure.in: Don't use them.
1273 Set and substitute @FORBUILD@.
1274 * config.in, configure: Regenerate.
1275 * doprint.c: Move to libiberty/_doprnt.c.
1276 * doc/configterms.texi: Document that libiberty is now built
1277 up to three times. Fix typo.
1279 2001-11-30 Jason Merrill <jason@redhat.com>
1281 * dwarf2out.c (add_data_member_location_attribute): Do the
1282 right thing for virtual bases.
1283 * dbxout.c (dbxout_type): For a virtual base, print the offset
1286 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1288 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1290 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
1292 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1294 Remove unused attribute for named.
1296 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1298 * genattrtab.c (attr_rtx_1): New function containing the
1299 majority of `attr_rtx'. Move variable declarations into the
1300 scope where they are used. Eliminate unnecessary gotos.
1301 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1302 VA_FIXEDARG, and VA_CLOSE.
1304 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
1306 * config/cris/cris.c (cris_notice_update_cc): Check first
1307 destination also against overlap with cc_status.value2 and second
1308 destination against overlap with cc_status.value1. For overlaps,
1309 clear overlapped value, don't just CC_STATUS_INIT.
1311 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1312 Fix typo in comment.
1313 (LINK_SPEC): Remove whitespace at end of line.
1315 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1317 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1319 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1321 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1322 macros for the supported debugging types.
1324 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
1327 * config/i386/i386.c (print_operand): Verify that the
1328 argument to %c is a constant and not a conditional which
1329 needs to be reversed.
1331 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
1333 * emit-rtl.c (gen_lowpart_common): Fix conversion of
1334 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
1335 of low part of those arrays for 32bit and 64bit hosts.
1337 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339 * Makefile.in (insn-output.o): Depend on insn-codes.h.
1341 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1343 * configure.in (target_list): Add generated-manpages.
1344 * configure: Regenerate.
1345 * Makefile.in (generated-manpages): Depend on
1346 lang.generated-manpages.
1347 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1349 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
1351 * config/arm/crti.asm (_init): Add .thumb_func if compiled
1353 (_fini): Add .thumb_func if compiled with -mthumb.
1355 2001-11-28 Eric Christopher <echristo@redhat.com>
1357 * config/mips/mips.c (override_options): Fix thinko in mips_tune
1358 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1360 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
1362 * alpha.md (tablejump): Use pic_offset_table_rtx
1363 instead of gen_rtx_REG.
1365 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
1367 * expr.c (store_expr): When copying a string constant into an
1368 array, reset the known alignment of the MEM for the section to
1369 be cleared to BITS_PER_UNIT.
1371 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1373 * config/cris/cris.c: Remove whitespace at end of line.
1375 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
1377 * config.gcc (i[34567]86-*-interix3*): New case.
1378 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1381 2001-11-28 Richard Henderson <rth@redhat.com>
1383 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1384 symbolic_operand as the predicate.
1386 2001-11-28 Richard Henderson <rth@redhat.com>
1388 * doloop.c (doloop_modify_runtime): Properly select induction
1389 variable; skip late entry test if biv initializer created by loop.
1391 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1393 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1394 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1396 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1398 * tree.h: Add missing checks on some macros; make formatting more
1401 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1402 level; only add to pending_sizes if find it.
1404 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1406 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1407 Add casts to remove warnings.
1409 * Makefile.in (OBJS): Sort alphabetically.
1411 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1412 Also minor cleanups.
1414 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
1416 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1417 (FLAGS_TO_PASS): Add STAGE_PREFIX.
1418 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1421 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
1423 * cse.c (true_dependence_in_rtx): New function.
1424 (invalidate): Use it.
1426 * c-common.h (GOTO_FAKE_P): New macro.
1427 * tree-inline.c (GOTO_FAKE_P): Set.
1428 * c-tree.texi (GOTO_FAKE_P): Document.
1430 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1431 containing pointers.
1432 (output_addressed_constants): Check for local/external relocations.
1433 * elfos.h (SELECT_SECTION): Classify data section.
1434 * tm.texi (SELECT_SECTION): Update documentation.
1436 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1437 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1439 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1441 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1442 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1445 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1447 * config/cris/cris.c: Tweak spacing for prototypes.
1448 (LOSE_AND_RETURN): New macro.
1449 (cris_operand_lossage): New function.
1450 (cris_print_index, cris_print_base): Use cris_operand_lossage
1451 rather than fatal_insn.
1452 (cris_print_operand, cris_print_operand_address): Use
1453 LOSE_AND_RETURN rather than fatal_insn and internal_error.
1454 (cris_output_addr_const): Use LOSE_AND_RETURN and
1455 output_operand_lossage rather than fatal_insn and internal_error
1456 for valid but unexpected rtx expressions.
1458 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1459 for a SUBREG in src or dest, abort instead.
1461 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1463 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1466 2001-11-27 Jakub Jelinek <jakub@redhat.com>
1468 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1469 preprocessor define. If only DBX_DEBUGGING_INFO or only
1470 DWARF2_DEBUGGING_INFO is supported for the target, provide
1471 appropriate definitions.
1473 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1475 * Makefile.in: Update, and add c-objc-common.o dependencies.
1476 * c-lang.c: Remove unnecessary includes.
1477 (c_init): Move bulk of code to c_objc_common_init, and call it.
1478 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1479 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1481 * c-objc-common.c: New. Mostly pulled from c-lang.c.
1482 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1483 c_objc_common_init, c_missing_noreturn_ok_p): New.
1484 * toplev.c: Update comment.
1485 * doc/passes.texi: Update.
1487 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1488 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1489 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1490 (objc_init): Update to use c_objc_common_init.
1492 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1494 * cpphash.c (_cpp_init_hashtable): Update.
1495 * cpphash.h (struct spec_nodes): Remove n_L.
1496 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1498 2001-11-17 Richard Henderson <rth@redhat.com>
1500 * unroll.c (loop_iterations): Move last change ...
1501 * doloop.c (doloop_modify_runtime): ... here.
1503 2001-11-17 Corey Minyard <minyard@acm.org>
1504 Richard Henderson <rth@redhat.com>
1506 * unroll.c (loop_iterations): Detect one situation in which we
1507 overestimate the number of iterations.
1509 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1511 * gcc.c (set_input): Export.
1512 Move declaration ...
1513 gcc.h (set_input): ... here.
1515 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1517 * gcc.c (set_collect_gcc_options): New function, split out from
1519 Ignore elided switches.
1520 (do_spec): Invoke before executing command.
1521 (do_spec_1): Likewise.
1522 Fixes PR other/3968.
1524 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
1526 * config/cris/cris.h (INT_ASM_OP): Remove.
1528 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1530 * config/i386/sol2.h (WINT_TYPE): Redefine.
1531 (WINT_TYPE_SIZE): Likewise.
1533 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1535 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1536 (dup2): Make static and add prototype.
1537 * m68k/plexus.h: Don't define NO_DUP2.
1538 * configure.in (AC_CHECK_FUNCS): Add dup2.
1539 * config.in, configure: Regenerate.
1541 * ia64/aix.h (REG_SIZE): Don't #undef.
1542 * sparc.h (REG_SIZE): Delete.
1543 * flow.c (mark_used_regs): Don't use REG_SIZE.
1544 * regs.h (REG_SIZE): Delete.
1546 2001-11-27 Andreas Schwab <schwab@suse.de>
1548 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1549 PREFERRED_DEBUGGING_TYPE.
1551 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1553 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1554 (expr.o, varasm.o): Depends on langhooks.h.
1555 * c-common.c (c_safe_from_p): Always declare.
1556 (c_expand_expr): Refine when declared.
1557 * c-lang.c (c-common.h): Now include.
1558 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1559 (c_init): Don't set lang_safe_from_expr.
1560 * expr.c (langhooks.h): Now include.
1561 (lang_safe_from_p): No longer define.
1562 (safe_from_p): Use lang hook.
1563 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1564 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1565 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1566 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1567 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1568 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1569 * langhooks.h (struct lang_hooks): New fields expand_constant
1571 * output.h (output_constant): Size arg is HOST_WIDE_INT.
1572 * stmt.c (expand_decl_init): No longer need to expand constant
1574 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1575 * toplev.c (lang_expand_constant): Delete var.
1576 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1577 operations on SAVE_EXPR.
1578 * varasm.c (langhooks.h): Now include.
1579 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1580 (record_constant_1, output_addressed_constants): Likewise.
1581 (initializer_constant_valid_p, output_constant): Likewise.
1582 (output_constant_def): Process no-defer of string constant.
1583 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1584 (output_constant): Strip more conversions.
1585 Track our size and pad for the rest.
1586 (array_size_for_constructor): Remove code for non-byte STRING_CST.
1587 (output_constructor): SIZE now HOST_WIDE_INT.
1589 2001-11-27 Richard Henderson <rth@redhat.com>
1591 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1594 2001-11-27 Zack Weinberg <zack@codesourcery.com>
1596 * cppfiles.c (read_include_file): Add comment.
1598 2001-11-26 Richard Henderson <rth@redhat.com>
1600 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1602 2001-11-26 Richard Henderson <rth@redhat.com>
1604 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1605 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1606 commented out override.
1608 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1610 * cppfiles.c (stack_include_file): Don't optimize zero-length
1612 (read_include_file): NUL-terminate read files.
1613 * cpplex.c (handle_newline, skip_escaped_newlines,
1614 get_effective_char, skip_whitespace, parse_identifier,
1615 parse_identifier_slow, parse_number, parse_string,
1616 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1618 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1619 Be sure buffers are NUL terminated.
1620 * cppmacro.c (warn_of_redefinition): Kill compile warning.
1622 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1624 * c-common.c: Include tree-inline.h.
1625 (c_language): Move separate definitions here.
1626 (c_common_init_options, c_common_post_options): New.
1627 (c_common_lang_init): Rename c_common_init.
1628 * c-common.h (c_common_lang_init): Similarly.
1629 (c_common_init_options, c_common_post_options): New.
1630 * c-lang.c (c_post_options): Move body to c_common_post_options.
1631 (c_init_options): Use c_common_init_options.
1633 * langhooks.def: Rearrange.
1634 * langhooks.h: Rearrange, and improve comments.
1635 * toplev.c (do_compile): New function.
1636 (toplev_main): Use it.
1637 (lang_independent_f_options, parse_options_and_default_flags,
1638 process_options): Remove trailing periods.
1639 * Makefile.in: Update.
1640 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1642 (ojbc_init): Update.
1644 2001-11-26 Richard Henderson <rth@redhat.com>
1646 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1648 2001-11-26 DJ Delorie <dj@redhat.com>
1650 * expr.c (store_constructor): Actually use the value computed
1651 if WORD_REGISTER_OPERATIONS.
1653 2001-11-26 Richard Henderson <rth@redhat.com>
1655 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1658 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1660 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1661 correct function on AIX.
1663 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
1665 * toplev.c (process_options): Don't force
1666 flag_optimize_sibling_calls to zero just because exceptions are
1669 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
1671 * df.h (transfer_function_sbitmap): Use PARAMS around argument
1672 list in function prototypes.
1673 (transfer_function_bitmap): Likewise.
1675 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1677 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1678 * config/i386/netbsd-elf.h: Likewise.
1680 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1682 * doc/trouble.texi: Remove outdated RS/6000 comments.
1684 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
1686 * final.c (walk_alter_subreg): Fix return value.
1688 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
1690 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1692 * sparc.md (post-reload splitters): Do not call alter_subreg.
1693 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1695 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
1697 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1699 2001-11-26 Alan Modra <amodra@bigpond.net.au>
1701 * final.c: (insn_lengths): Make it an int *, so that large jump
1702 tables don't overflow.
1704 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
1706 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1707 (format_types): Use it for scanf.
1708 (dollar_arguments_pointer_p): New.
1709 (init_dollar_format_checking): Store details of which arguments
1711 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1712 (finish_dollar_format_checking): Take extra parameter
1713 pointer_gap_ok. Treat unused arguments differently if
1714 pointer_gap_ok and the unused arguments are pointers.
1715 (check_format_info_main): Pass extra argument to
1716 finish_dollar_format_checking.
1717 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1718 unused arguments are present between used arguments with operand
1721 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
1723 * df.c: Add prototypes for hybrid_search_bitmap and
1724 hybrid_search_sbitmap.
1725 (hybrid_search_bitmap): New function.
1726 (hybrid_search_sbitmap): New function.
1727 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1728 (iterative_dataflow_bitmap): Ditto.
1730 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1732 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1733 address computations.
1735 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1737 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1738 register b (low part of d).
1740 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1742 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1745 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
1747 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1748 * config/alpha/x-vms: New file, to compile the above.
1749 * config.gcc (alpha*-dec-vms*): Add x-vms.
1751 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
1753 * genextract.c (main): Set ro_loc for peepholes.
1755 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
1757 * fix-header.c (main): Move inf_buffer termination and inf_limit
1758 calculation to after read.
1760 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1761 (__UNIX_FOPEN): Define.
1763 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1765 * function.c (assign_stack_temp_for_type): Clear alias set before
1768 2001-11-23 David Edelsohn <edelsohn@gnu.org>
1770 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1772 * rs6000.md (cmptf): Fix typo.
1774 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
1776 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1777 * varasm.c (output_constructor): Use assemble_integer rather
1778 than ASM_OUTPUT_BYTE.
1780 2001-11-23 Andreas Jaeger <aj@suse.de>
1782 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1785 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
1787 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1789 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1790 (MULTILIB_DEFAULTS): Remove previous definition.
1792 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
1794 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1795 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1797 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1799 * cris.h: Revert thinko in last patch.
1801 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1803 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1804 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1805 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1806 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1807 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1808 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1810 * predict.c, reg-stack.c: Fix spelling errors.
1812 2001-10-09 Andrew Haley <aph@redhat.com>
1814 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1815 start of stack slot.
1817 2001-11-22 Graham Stott <grahams@redhat.com>
1819 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1820 replacement jump after original jump.
1822 (verify_flow_info): Remove redundent initialisation.
1823 Handle reaching end of insn list before finding a BARRIER.
1824 Only issue one missing barrier diagnostic.
1826 2001-11-22 Graham Stott <grahams@redhat.com>
1828 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1830 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1832 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1835 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
1837 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1838 Fix typo -mm32rx=> -m32rx.
1840 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1843 * config.gcc (xscale-coff): Add necessary header files to
1846 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1848 * rs6000.c (output_cbranch): Use $, not %$, in output template.
1850 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1852 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1853 (lang_type_quals): Declare.
1854 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1855 retrieve language-specific qualifiers for a type node, instead of
1856 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1858 * tree-dump.h: Rename from c-dump.h.
1859 * c-common.h (C_TYPE_QUALS): Removed.
1860 Move declarations for tree-dump.c interface to...
1861 * tree.h: ... here. Remove lang_dump_tree.
1862 * langhooks.h (struct lang_hooks_for_tree_dump): New.
1863 (struct lang_hooks): Add tree_dump hooks.
1864 * langhooks.c (lhd_tree_dump_dump_tree): New function.
1865 (lhd_tree_dump_type_quals): New function.
1866 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1868 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1869 * Makefile.in: Move tree-dump.o to language-independent back-end.
1871 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1873 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1874 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1875 * arc.h (DBX_REGISTER_NUMBER): Likewise.
1876 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1877 * avr.h (DBX_REGISTER_NUMBER): Likewise.
1878 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1879 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1880 * convex.h (DBX_REGISTER_NUMBER): Likewise.
1881 * cris.h (DBX_REGISTER_NUMBER): Likewise.
1882 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1883 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1884 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1885 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1886 * i370.h (DBX_REGISTER_NUMBER): Likewise.
1887 * i860.h (DBX_REGISTER_NUMBER): Likewise.
1888 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1889 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1890 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1891 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1892 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1893 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1894 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1895 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1896 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1897 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1898 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1899 * romp.h (DBX_REGISTER_NUMBER): Likewise.
1900 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1901 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1902 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1903 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1904 * v850.h (DBX_REGISTER_NUMBER): Likewise.
1905 * vax.h (DBX_REGISTER_NUMBER): Likewise.
1906 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
1908 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
1909 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
1911 2001-11-21 H.J. Lu <hjl@gnu.org>
1913 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
1915 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1917 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
1918 emit_cmp_and_jump_insns.
1920 * stormy16.c (xstormy16_expand_builtin_va_arg,
1921 xstormy16_expand_casesi): Likewise.
1923 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1925 * function.c (keep_stack_depressed): Major rework.
1926 (handle_epilogue_set, emit_equiv_load): New functions.
1927 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
1929 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
1930 * rtl.h (SET_IS_RETURN_P): New macro.
1932 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
1933 and also support TREE_ADDRESSABLE.
1934 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
1936 2001-11-21 David Edelsohn <edelsohn@gnu.org>
1938 * rs6000.md (cmptf_internal1): Replace %$ with $.
1940 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
1942 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
1943 (read_include_file): Use STAT_SIZE_TOO_BIG.
1945 * cppinit.c (INO_T_COPY): Define.
1946 (INO_T_EQ): Uppercase parameters.
1947 (append_include_chain): Use INO_T_COPY.
1949 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
1951 * cfg.c: Fix typos and formatting in the introductory comment.
1953 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
1955 * profile.c (compute_branch_probabilites): Compute probabilities
1956 for entry/exit edges; estimate probabilities for zero counts.
1958 2001-11-21 Jakub Jelinek <jakub@redhat.com>
1960 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
1961 to emit_library_call.
1962 * function.c (expand_main_function, expand_function_start,
1963 expand_function_end): Likewise.
1964 * profile.c (output_func_start_profiler): Likewise.
1965 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
1966 second argument to emit_library_call.
1967 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
1968 as second argument to emit_library_call.
1969 * calls.c (emit_library_call): Update fn_type description.
1971 2001-11-21 Jakub Jelinek <jakub@redhat.com>
1973 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
1974 if fndecl is still DECL_INLINE and has DECL_RESULT.
1976 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1978 * clipper.c (clipper_movstr): Avoid uninitialized warning.
1979 * i960.c (is_mask, legitimize_address): Likewise.
1980 * m88k.c (m88k_expand_prologue): Likewise.
1981 * m88k.md: Likewise.
1982 * mcore.c (emit_new_cond_insn): Likewise.
1983 * stormy16.c (xstormy16_emit_cbranch): Likewise.
1985 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1987 * config.gcc: Delete powerpcle-*-solaris2* stanza.
1988 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
1989 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
1990 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
1991 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
1992 config/rs6000/t-ppcos: Expunge all references to Solaris.
1994 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
1996 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
1998 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
1999 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2001 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2003 * sh.md: Avoid uninitialized warnings.
2004 * vax.c (vax_rtx_cost): Likewise.
2006 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2008 * rs6000.c (direct_return): Check if we are saving altivec
2010 (first_altivec_reg_to_save): New.
2011 Updated stack frame layout comments.
2012 (rs6000_stack_info): Calculate altivec register save size.
2013 Save link register if we saved some altivec registers.
2014 (rs6000_stack_info): Align save size to 16 if altivec abi or
2016 (rs6000_stack_info): Calculate altivec register offsets.
2017 (rs6000_stack_info): Add altivec info to save_size.
2018 (debug_stack_info): Add altivec debug info.
2019 (rs6000_emit_prologue): Save altivec registers and vrsave.
2020 (compute_vrsave_mask): New.
2021 (altivec_expand_builtin): Remove unused variables.
2022 (rs6000_parse_abi_options): Add static qualifier.
2023 (rs6000_expand_builtin): Remove unused parameters.
2024 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2025 (altivec_init_builtins): Same.
2026 (is_altivec_return_reg): New.
2027 (vrsave_operation): New.
2028 (ALTIVEC_REG_BIT): New.
2029 (generate_set_vrsave): New.
2031 * rs6000.md (get_vrsave): New.
2033 (*set_vrsave_internal): New.
2035 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2036 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2037 altivec_padding_size, vrsave_mask.
2038 (TOTAL_ALTIVEC_REGS): New.
2039 (EPILOGUE_USES): Add VRSAVE_REGNO.
2041 2001-11-20 Jeff Law <law@redhat.com>
2043 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2044 exit label as necessary.
2046 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
2048 * reload1.c (elimination_effects): Use function_invariant_p
2049 instead of CONSTANT_P when considering register equivalences.
2051 2001-11-20 David O'Brien <obrien@FreeBSD.org>
2053 * config.gcc: Add FreeBSD/PowerPC target.
2054 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2055 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2056 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2057 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2058 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2059 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2060 freebsd-spec.h to tm_file.
2061 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2062 * config/freebsd.h: Tidy up.
2063 (USING_CONFIG_FREEBSD): Define.
2064 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2065 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2066 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2067 (TARGET_HAS_F_SETLKW): Define.
2068 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2069 * config/freebsd-spec.h: New file.
2070 * config/rs6000/freebsd.h: New file.
2071 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2072 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2073 USING_SVR4_H to know when to turn on ELF support.
2074 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2075 define only if not already defined.
2076 Add FreeBSD support.
2077 * config/rs6000/aix.h (TARGET_VERSION): Define.
2078 * config/rs6000/beos.h: Likewise.
2079 * config/rs6000/darwin.h: Likewise.
2080 * config/rs6000/mach.h: Likewise.
2081 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2082 Don't include lynx.h directly.
2084 2001-11-20 Graham Stott <grahams@redhat.com>
2086 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2087 Fix lossage in last change return OB.
2089 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2091 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2092 Remove unneeded exit related macros.
2094 2001-11-20 David Edelsohn <edelsohn@gnu.org>
2096 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2098 * rs6000.c (rs6000_emit_move): Add TFmode case.
2099 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2100 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2101 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2102 * rs6000.h: ... to here.
2103 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2104 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2105 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2107 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2109 * emit-rtl.c (get_mem_attrs): Fix typo.
2111 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2113 * c-lang.c (finish_file): Backout 2001-11-16
2114 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2115 before calling c_expand_deferred_function.
2117 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2119 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2120 Don't register empty .eh_frame sections.
2121 (__deregister_frame_info_bases, __deregister_frame): Don't
2122 unregister them either.
2124 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2126 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2127 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2128 * configure: Regenerate.
2129 * config.in: Add dummy definitions of new flags.
2130 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2131 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2132 * gcc.c (ASM_DEBUG_SPEC): New macro.
2133 (asm_debug): New static variable.
2134 (default_compilers): Add asm_debug when assembling from
2136 (static_specs): Add asm_debug.
2138 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
2140 * config.gcc (*-*-freebsd*): Remove configuration block.
2142 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2145 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2146 fixinc *as if* it were a proper lang subdirectory.
2147 * configure: Rebuilt.
2149 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2151 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2153 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2155 * 1750a.md: Don't use hex format for a const_int.
2157 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2159 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2161 2001-11-19 Zack Weinberg <zack@codesourcery.com>
2163 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2164 defined (prevents link errors when gettext isn't in the system
2167 2001-11-19 DJ Delorie <dj@redhat.com>
2169 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2170 (validate_const_int): New.
2171 (read_rtx): Validate constant integers.
2172 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2174 2001-11-19 Jakub Jelinek <jakub@redhat.com>
2176 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2178 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2180 * toplev.c (DUMPFILE_FORMAT): Define default.
2181 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2182 (close_dump_file, compile_file): Likewise.
2183 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2184 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2186 2001-11-19 Jeff Law <law@redhat.com>
2188 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2191 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
2193 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2194 Don't fall off the base token run.
2196 2001-11-19 Jason Wilkins <fenix@io.com>
2198 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2200 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2202 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2203 * tree.h (handled_component_p): New declaration.
2204 * alias.c (handled_component_p): Move function from here ...
2205 * expr.c (handled_component_p): ... to here and non longer static.
2206 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2207 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2208 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2209 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2210 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2211 (expand_expr, cse ADDR_EXPR): No need to copy if already
2213 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2214 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2215 (output_constant): Handle VIEW_CONVERT_EXPR.
2216 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2217 Add new case for VIEW_CONVERT_EXPR.
2219 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2221 * a29k/unix.h (ASM_FILE_START): Const-ify.
2222 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2223 * i386/isc.h (ASM_FILE_START): Const-ify.
2224 * i386/sun386.h (ASM_FILE_START): Likewise.
2225 * m32r.md: Likewise.
2226 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2227 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2228 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2229 * mn10200.md: Initialize variable.
2231 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2233 * gcse.c (try_replace_reg): Copy RTX before creating note.
2235 * df.h (df_ref_flags): New uenum.
2236 (DF_REF_FLAGS): New macro.
2237 (struct ref): Add field "flags".
2238 * df.c (HANDLE_SUBREG): Remove.
2239 (df_ref_create): Likewise; set flags field of ref.
2240 (df_def_record_1): Strip down read_write subreg; remove
2241 commented out code; set READ_WRITE flag.
2242 (read_modify_subreg_p): New static function.
2243 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2244 new argument "flags".
2245 (df_insn_refs_record): Update call of df_uses_record.
2246 (df_insn_modify): Avoid #if 0 around comment.
2247 (df_dump): Dump the read/write flag.
2249 * predict.c (propagate_freq): Make cyclic_probability and frequency
2252 * i386.c (ix86_cc_mode): Accept USE.
2254 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
2255 jump is turned into simplejump.
2257 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2259 * doc/fragments.texi, doc/trouble.texi: Remove links to old
2260 installation chapter.
2261 * doc/gcc.texi: Don't claim that this manual documents
2262 installation. Mark Installation menu entry as being out of date.
2264 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
2266 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2267 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2268 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2270 2001-11-19 Jason Merrill <jason@redhat.com>
2272 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2273 cur_token, not after.
2275 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2276 Lose ASM_OUTPUT_CONSTRUCTOR.
2277 * system.h: Poison it and INT_ASM_OP.
2278 * c-lang.c (finish_file): Don't check for it.
2279 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2281 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2283 * mmix.c (mmix_cc1_ignored_option): Const-ify.
2284 (mmix_init_machine_status): Make static to match declaration.
2285 (mmix_unique_section): Const-ify.
2286 (mmix_output_quoted_string): Avoid automatic aggregate
2288 (mmix_output_register_setting): Likewise.
2289 (mmix_output_shiftvalue_op_from_str): Likewise.
2291 * mmix.h (mmix_cc1_ignored_option): Const-ify.
2292 (ASM_OUTPUT_BYTE): Fix format specifier warning.
2293 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2295 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2298 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2299 name __objc_thread_exit_status so that it matches the
2300 variable defined in objc/thr.h.
2302 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2305 * mklibgcc.in: Add missing semi-colons.
2306 * Makefile.in: Same.
2308 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2310 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2311 after re-laying out decl in incomplete case.
2312 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2314 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2316 * doc/install-old.texi: Move some sections out to ...
2317 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2318 ... here. New files. Make into chapters rather than sections.
2319 * doc/gcc.texi: Include the new files and add menu entries for
2321 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2323 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2325 * tree.h (TYPE_ALIGN_OK): New flag.
2326 * emit-rtl.c (set_mem_attributes): Handle it.
2327 * expr.c (emit_single_push_insn): Only set to alias set 0 if
2328 doing sibcall optimization.
2329 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2330 when make temporary.
2331 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2332 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2334 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2336 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2338 * c-decl.c (c_decode_option): Give deprecation warning for
2340 * doc/invoke.texi (-traditional): Note that this option is
2343 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2345 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2346 arg to HOST_WIDE_INT, not long.
2348 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2349 (HAS_INIT_SECTION): Define.
2350 (REAL_ARITHMETIC): Don't undefine.
2352 2001-11-18 Egor Duda <deo@logos-m.ru>
2354 * config/i386/cygwin.h: Strip leading '*' from name, if any.
2356 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2358 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2359 * c-common.c: Include diagnostic.h.
2360 (c_common_finish): New.
2361 * c-common.h (c_common_finish): New.
2362 * c-lang.c (LANG_HOOKS_FINISH): Override.
2363 * c-parse.in: Don't include diagnostic.h.
2364 (finish_parse): Remove.
2365 * langhooks.h: Update comments.
2366 * toplev.c (lang_dependent_init): New prototype.
2368 (compile_file): Split cleanup code out to finalize.
2369 (lang_dependent_init): Stop if lang_hooks.init fails.
2370 (toplev_main): Update.
2371 * tree.h (finish_parse): Remove.
2373 * objc-act.c (LANG_HOOKS_FINISH): Override.
2375 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
2377 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2378 * config/alpha/vms_tramp.asm: New file.
2379 * config/alpha/vms-tramp.asm: Removed.
2381 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2383 * c-common.c (struct disabled_builtin, disabled_builtins,
2384 disable_builtin_function, builtin_function_disabled_p): New.
2385 (builtin_function_2): Check for disabled built-in functions.
2386 * c-common.h (disable_builtin_function): Declare.
2387 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2388 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2389 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2391 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
2394 * config.gcc: Remove reference to va-clipper.h.
2396 2001-11-17 Stan Shebs <shebs@apple.com>
2398 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2399 AltiVec-related bitfields.
2401 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2403 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2404 (mark_eh_region, case ERT_UKNONW): New case.
2406 2001-11-17 Christopher Faylor <cgf@redhat.com>
2407 Corinna Vinschen <vinschen@redhat.com>
2409 * config/i386/cygwin.h: Search target specific include directory for
2410 w32api stuff, if appropriate.
2412 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
2414 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2416 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
2418 * config/rs6000/rs6000.md: Change all ldvx to lvx.
2420 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
2422 * gensupport.c (process_rtx): Don't assume filename is the first
2423 argument of any rtl.
2425 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2427 * vax-protos.h (reg_was_0_p): New prototype.
2428 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2429 * vax.c (follows_p, reg_was_0_p): New functions.
2431 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2433 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2434 (casesi1): Likewise. Define new pattern which arises by simplification
2435 when operand 1 is a constant int. Correct pattern which arises by
2436 simplification when operand 1 is zero.
2438 2001-11-16 David O'Brien <obrien@FreeBSD.org>
2440 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2441 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2442 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2443 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2444 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2445 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2446 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2447 * config/arm/aof.h: Don't include arm.h.
2448 * config/arm/aout.h: Likewise.
2449 * config/arm/coff.h: Don't include semi.h and aout.h.
2450 * config/arm/elf.h: Don't include aout.h.
2451 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2452 (TARGET_VERSION): Undef before defining.
2453 (ARM_OS_NAME): Likewise
2454 (TARGET_DEFAULT): Likewise
2455 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2456 * config/arm/pe.h: Don't include arm/coff.h.
2457 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2458 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2459 * config/arm/riscix1-1.h: Likewise.
2460 * config/arm/rix-gas.h: Don't include riscix.h.
2461 (DBX_CONTIN_LENGTH): Undef before defining.
2462 * config/arm/semi.h: Don't include aout.h.
2463 * config/arm/semiaof.h: Don't include aof.h.
2464 * config/arm/strongarm-coff.h: Don't include coff.h.
2465 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2466 * config/arm/vxarm.h: Don't include arm/coff.h.
2467 * config/arm/xscale-coff.h: Don't include coff.h.
2469 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2471 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2474 2001-11-16 Andreas Jaeger <aj@suse.de>
2476 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2478 (fixup_fallthru_exit_predecessor): ... this.
2479 Change callers and prototype.
2481 2001-11-16 Bernd Schmidt <bernds@redhat.com>
2483 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2484 hand; don't use gen_setcc_2.
2485 (ix86_expand_builtin): Fix pshufw.
2486 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2487 case UNORDERED to emit the right assembler instruction.
2488 (mmx_pshufw): Lose operand 2.
2489 (cvtsi2ss): Fix representation.
2491 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2493 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
2495 * doc/include/linux-and-gnu.texi: Remove.
2496 * doc/gnu.texi: New.
2497 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2498 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2500 2001-11-16 Kazu Hirata <kazu@hxi.com>
2502 * config/a29k/a29k.c: Fix comment formatting.
2503 * config/a29k/a29k.h: Likewise.
2504 * config/arc/arc.c: Likewise.
2505 * config/arc/arc.h: Likewise.
2506 * config/vax/vax.c: Likewise.
2507 * config/vax/vax.h: Likewise.
2508 * config/we32k/we32k.c: Likewise.
2509 * config/we32k/we32k.h: Likewise.
2511 2001-11-16 Jeff Law <law@redhat.com>
2513 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2514 creating a new jump insn.
2516 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2518 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2519 copy misaligned data.
2520 * varasm.c (assemble_variable): Set alignment into MEM when changed.
2522 2001-11-16 Graham Stott <grahams@redhat.com>
2524 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2527 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
2529 * except.c: Support for catching a list of types with a single handler
2530 (struct eh_region): Change type and filter to lists for catch regions.
2531 (mark_eh_region): Mark the filter list for GC also.
2532 (expand_start_catch): Always build a list if argument not NULL and
2533 register each type of the list through add_type_for_runtime.
2534 (duplicate_eh_region_1): Change type into type_list for catch regions.
2535 (assign_filter_values): Assign a filter to each type associated with a
2536 catch region. Assign filter for NULL types in a unique entry in the
2538 (build_post_landing_pads): Emit compare and jump for each filter of
2539 the list associated with a catch region.
2540 (reachable_next_level): When the type thrown is known, stop the search
2541 as soon as one type within a catch list matches. Also, a handler is
2542 potentially reachable only if at least one of the types it catches
2543 has not been previously caught.
2544 (collect_one_action_chain): Retrieve the filter for a NULL type list
2545 from the first filter list entry. For non NULL type lists, add an
2546 action record for every filter assigned.
2547 * except.h: Reflect changes in comment before expand_start_catch.
2549 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2551 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2554 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
2556 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2558 2001-11-16 Jakub Jelinek <jakub@redhat.com>
2560 * c-lang.c (finish_file): Don't emit static inline functions if
2561 they weren't referenced.
2563 2001-11-15 Stan Shebs <shebs@apple.com>
2565 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2567 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2569 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2571 * config/i386/i386.md: Likewise.
2573 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2575 * timevar.c (rtl.h): Include so get fancy abort.
2577 2001-11-15 Dale Johannesen <dalej@apple.com>
2579 * config/darwin.h (SELECT_RTX_SECTION): Force address
2580 initializers into 'const' section
2581 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
2582 if_then_else to match result, not operands
2584 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2586 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2587 * emit-rtl.c (change_address): Fix typo in default alignment.
2588 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2589 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2590 * rtl.h (REGNO_PTR_FRAME_P): New macro.
2592 * expr.c (store_field): Pass tree instead of max size; callers changed.
2593 Change handling of alignment.
2594 Only copy to_rtx if is TARGET.
2595 (expand_expr_unaligned): Delete; callers now use expand_expr.
2596 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2597 (expand_assignment): Change handling of alignment.
2598 Only copy to_rtx if was original.
2599 (get_inner_reference): No longer return alginment; callers changed.
2600 (expand_expr, case COMPONENT_REF): Change handling of alignment.
2601 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2602 (compare_from_rtx): Delete ALIGN parm; all callers changed.
2603 (do_compare_rtx_and_jump): Likewise.
2604 * expr.h: Reflect above changes.
2606 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2607 to get_inner_reference.
2608 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2609 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2610 * optabs.c: Likewise.
2611 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
2612 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2613 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2614 compare_rtx_and_jump, and emit_cmp_jump_insns.
2615 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2616 * function.c (assign_stack_temp_for_type): No longer static.
2617 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2618 (prepare_cmp_insn): Delete declaration.
2619 * rtl.h (assign_stack_temp_for_type): Add declaration.
2620 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2621 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2622 * config/i386/i386.c,config/mips/mips.c: Likewise.
2623 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2624 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2626 2001-11-15 Stan Shebs <shebs@apple.com>
2628 * config/rs6000/rs6000.h: Fix a comment typo.
2629 (RTX_COSTS): Sort processor versions better.
2631 2001-11-15 Kazu Hirata <kazu@hxi.com>
2633 * config/h8300/h8300.md: Fix insn length of bit insns.
2635 2001-11-15 Jason Merrill <jason@redhat.com>
2637 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2638 DIEs if there were errors in the source.
2640 * config/alpha/alpha-interix.h, config/alpha/elf.h,
2641 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2642 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2643 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2644 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2645 config/elfos.h, config/lynx.h, config/netware.h,
2646 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2647 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2648 uses to use ASM_LONG.
2650 2001-11-15 Alan Matsuoka <alanm@redhat.com>
2652 * gensupport.c process_include : Change call to alloca to
2655 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2657 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2660 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2662 * final.c (alter_subreg): If simplify_subreg can't do anything,
2663 handle REG ourselves and abort for others.
2665 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
2667 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2670 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2672 * fix-header.c (read_scan_file): Update.
2674 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2676 * toplev.c (toplev_main): Don't start timing until after
2677 command-line options are parsed.
2679 2001-11-15 Andreas Schwab <schwab@suse.de>
2681 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2682 makefile frag, not host makefile frag.
2683 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2684 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2686 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2687 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2688 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2689 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2690 * config/i386/t-dgux (STMP_FIXPROTO): Define.
2691 * config/x-interix: Don't define STMP_FIXPROTO and
2693 * config/t-interix: New file, define STMP_FIXPROTO.
2694 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2695 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2696 * config/t-svr4 (FIXPROTO_DEFINES): Define.
2697 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2698 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2699 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2700 * config/m68k/t-hp3200: Renamed from x-hp3200.
2701 * config/i370/t-oe: Renamed from x-oe.
2702 * config/mips/t-iris: Renamed from x-iris.
2703 * config/pa/t-bsd: Renamed from x-pa.
2704 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2705 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2706 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2707 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2708 config/rs6000/x-cygwin: Remove files.
2710 * configure.in: Check for target objdump and use that in eh_frame
2712 * configure: Regenerated.
2714 2001-11-15 Jakub Jelinek <jakub@redhat.com>
2716 * jump.c (squeeze_notes): Return true if no real insns were found.
2717 * rtl.h (squeeze_notes): Adjust prototype.
2718 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2719 squeeze_notes finds no real instructions, abort.
2720 (merge_blocks_move_successor_nojumps): Likewise.
2721 * loop.c (find_and_verify_loops): Likewise.
2722 * stmt.c (expand_end_case): Likewise.
2723 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2724 find any real instructions.
2726 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2728 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2729 conditional jump, request updating life into for the block
2730 containing it. Fix a typo which prevented life info update.
2731 Clear blocks bitmap before using it.
2733 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2735 * c-common.c: Include c-lex.h.
2736 (c_common_lang_init): Change prototype. Call init_c_lex and
2737 init_pragma from here.
2738 * c-common.h (c_common_lang_init): Change prototype.
2739 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
2740 * c-lang.c (c_init): Change prototype. Update.
2741 (c_init_options): Update.
2742 * c-lex.c (cpp_filename): Remove.
2743 (init_c_lex): Update. Read the main file, and get the original
2745 (yyparse): Finish the command line options.
2746 * c-parse.in (c_parse_init): Call init_reswords here.
2747 (init_parse): Remove.
2748 * c-tree.h (c_init_decl_processing): New.
2749 * cpphash.c (_cpp_init_hashtable): After initializing the hash
2751 * cppinit.c (read_original_filename, cpp_finish_options): New.
2752 (cpp_create_reader): New prototype. Defer hash table initialization.
2753 (cpp_start_read): Rename cpp_read_main_file. Initialize the
2754 hash table. Get the original filename.
2755 * cpplib.h (cpp_create_reader): Update.
2756 (cpp_start_read): Remove.
2757 (cpp_read_main_file, cpp_finish_options): New.
2758 * cppmain.c (main, do_preprocessing): Update.
2759 * langhooks.h (struct langhooks): Update init prototype.
2760 * toplev.c (general_init, parse_options_and_default_flags,
2761 process_options, lang_indpendent_init, lang_dependent_init,
2762 init_asm_output): New; perform the bulk of initialization.
2763 (compile_file): Move most of initialization to above functions.
2764 (debug_hooks): Initialize statically.
2765 (set_Wunused): Relocate.
2766 (toplev_main): Move most of initialization to other init functions.
2767 Have a clear logic flow.
2768 * tree.h (init_parse, init_decl_processing): Remove.
2770 * objc-act.c (objc_init): Update prototype, combine with old
2772 (objc_init_options): Update.
2775 2001-11-15 Andreas Jaeger <aj@suse.de>
2777 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2779 * basic-block.h: Adjust prototype.
2781 2001-11-15 Kazu Hirata <kazu@hxi.com>
2783 * config/rs6000/aix31.h: Fix comment formatting.
2784 * config/rs6000/beos.h: Likewise.
2785 * config/rs6000/darwin.h: Likewise.
2786 * config/rs6000/eabi.asm: Likewise.
2787 * config/rs6000/linux.h: Likewise.
2788 * config/rs6000/linux64.h: Likewise.
2789 * config/rs6000/lynx.h: Likewise.
2790 * config/rs6000/netbsd.h: Likewise.
2791 * config/rs6000/rs6000.c: Likewise.
2792 * config/rs6000/rs6000.h: Likewise.
2793 * config/rs6000/rs6000.md: Likewise.
2794 * config/rs6000/sol2.h: Likewise.
2795 * config/rs6000/tramp.asm: Likewise.
2796 * config/rs6000/xcoff.h: Likewise.
2797 * config/rs6000/xm-beos.h: Likewise.
2799 2001-11-14 Alan Matsuoka <alanm@redhat.com>
2801 * rtl.def (INCLUDE) : Define.
2802 * gensupport.c (init_include_reader, process_include,
2803 save_string) : New functions to implement an include facility
2805 * gensupport.h : Add prototype for init_md_reader_args.
2806 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2807 genextract.c genflags.c genopinit.c genoutput.c
2808 genpeep.c genrecog.c: Change call to init_md_reader to
2809 init_md_reader_args.
2810 * md.texi: Document (include "path") and -I directives for RTL
2813 2001-11-14 DJ Delorie <dj@redhat.com>
2815 * integrate.c (get_hard_reg_initial_reg): New.
2816 * integrate.h (get_hard_reg_initial_reg): Prototype.
2817 * local-alloc.c (block_alloc): Don't tie pseudos that
2818 represent call-saved hard regs' initial values.
2820 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2822 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2825 2001-11-14 Roger Sayle <roger@eyesopen.com>
2827 * fold-const.c (fold): Optimize strlen comparisons against zero.
2829 2001-11-14 David O'Brien <obrien@FreeBSD.org>
2831 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2832 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2833 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2834 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2835 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2836 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2837 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2838 Include various CPU headers via tm_file. a.out based platforms now
2839 properly include sparc/aout.h. sol2.h usage now implies including
2840 elfos.h, svr4.h, and sparc/sysv4.h.
2841 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2843 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2844 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2845 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2846 Remove. They are a.out specific and belong in sparc/aout.h.
2847 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2848 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2849 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
2851 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2852 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2853 Moved here from sparc/sparc.h.
2854 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2856 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2857 * config/sparc/lynx.h: Don't include lynx.h.
2858 (SELECT_SECTION): Do not undef.
2859 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2860 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2862 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2863 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
2865 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2866 Don't undef, there is no need.
2867 * config/sparc/splet.h (CPP_PREDEFINES): Define.
2868 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2869 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2870 Don't include sparc/sparc.h.
2871 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2872 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2873 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
2875 (TARGET_VERSION): Define.
2876 * config/sparc/vxsim.h (TARGET_VERSION): Define.
2878 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
2880 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2881 (cfg_layout_finalize): Use it.
2882 * bb-reorder.c (HAVE_epilogue): Remove.
2883 (make_reorder_chain): Do not care special placement of
2886 * predict.c (expected_value_to_br_prob): Delete the note
2889 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2890 measure integration time separately.
2892 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2894 * function.c (struct temp_slot): ALIGN now unsigned.
2896 2001-11-14 Kazu Hirata <kazu@hxi.com>
2898 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2899 * config/dsp16xx/dsp16xx.h: Likewise.
2900 * config/dsp16xx/dsp16xx.md: Likewise.
2902 2001-11-14 Kazu Hirata <kazu@hxi.com>
2904 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2905 that deals with 7-bit shifts in HImode.
2907 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
2909 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
2910 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
2911 (final_scan_insn): Update call of alter_subreg.
2912 (cleanup_subreg_operands): Likewise.
2913 (alter_subreg): Rewrite using simplify_subreg.
2914 (output_address, output_operand): Update call of alter_subreg.
2915 * output.h (alter_subreg): Update prototype.
2916 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
2917 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
2918 * Makefile.in (final.o): Add dependency on expr.h
2920 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2922 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
2924 2001-11-13 Jeff Sturm <jsturm@one-point.com>
2926 * doc/install.texi (sparc-*-linux*): Mention requirements for
2929 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
2931 * Makefile.in (POD2MAN): Don't include --section=1.
2932 (manext): Rename to man1ext. All users changed.
2935 (generated-manpages): Also depend on $(docdir)/gfdl.7,
2936 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
2937 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
2938 --section=1 in calls to $(POD2MAN).
2939 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
2940 (maintainer-clean, install, uninstall): Handle the new man pages.
2941 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
2942 (installdirs): Create man7dir.
2943 * doc/cpp.texi: Include GFDL in this manual. In the man page,
2944 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
2945 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
2946 the SEE ALSO man page section.
2947 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
2948 and fsf-funding(7) in the SEE ALSO man page section.
2949 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
2950 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
2951 * doc/include/fdl.texi, doc/include/funding.texi,
2952 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
2953 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
2955 2001-11-13 Richard Henderson <rth@redhat.com>
2957 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
2958 as appropriate for the artificial decl.
2960 2001-11-13 Richard Henderson <rth@redhat.com>
2962 * loop.c (combine_movables): Turn off combination until
2963 move_movables validation bugs are fixed.
2965 2001-11-13 DJ Delorie <dj@redhat.com>
2967 * config.gcc (powerpc|rs6000): Set default cpp options based
2968 on --with-cpu settings.
2969 * config/rs6000/softfloat.h: New.
2971 2001-11-13 Kazu Hirata <kazu@hxi.com>
2973 * config/h8300/h8300.c (shift_alg_si): Use special code for
2974 25-bit shifts on H8/S.
2975 (get_shift_alg): Generate special code for 25-bit shifts on
2978 2001-11-13 Jakub Jelinek <jakub@redhat.com>
2980 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
2981 (adjust_automodify_address_1): New.
2982 * expr.h (adjust_address, adjust_address_nv): Adjust.
2983 (adjust_automodify_address, adjust_automodify_address_nv): Define.
2984 (adjust_address_1): Update prototype.
2985 (adjust_automodify_address_1): Add prototype.
2986 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
2987 (store_by_pieces_2): Likewise.
2989 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2991 * Makefile.in (explow.o): Now depends on ggc.h.
2992 * explow.c (ggc.h): Include.
2993 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
2995 * Makefile.in (expr.o): Depends on insn-attr.h.
2996 * expr.c (insn-attr.h): New include.
2997 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
2999 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3000 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3001 clean up related usage in ADDR_EXPR.
3002 (expand_expr_unaligned): Likewise.
3004 * emit-rtl.c (change_address): Fix typo in alias setting.
3006 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3008 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3010 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3013 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3014 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3016 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3018 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3019 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3020 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3021 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3022 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3023 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3024 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3025 sparc64-*-linux*): Include various CPU headers via tm_file.
3026 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3027 (SELECT_SECTION): Likewise.
3028 (SELECT_RTX_SECTION): Likewise.
3029 * config/sparc/sparc_bi.h: New file.
3030 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3031 * config/sparc/linux-aout.h: Likewise.
3032 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3033 * config/sparc/linux64.h: Likewise.
3034 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3035 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3036 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3038 (ASM_OUTPUT_IDENT): Do not #undef.
3039 (SELECT_SECTION): Likewise.
3040 (SELECT_RTX_SECTION): Likewise.
3041 * config/sparc/liteelf.h: Don't include gofast.h.
3042 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3043 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3044 * config/sparc/pbd.h: Likewise.
3045 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3046 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3047 * config/sparc/rtemself.h: Don't include rtems.h.
3048 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3049 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3051 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3052 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3053 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3054 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3055 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3056 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3057 * config/sparc/splet.h: Don't include sparc/aout.h.
3058 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3059 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3060 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3061 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3062 * config/sparc/vxsparc64.h: Don't include gofast.h.
3063 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3065 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3067 * doc/standards.texi: Mention C99 TC1.
3069 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3071 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3072 * mips.c (mips_output_conditional_branch): Likewise.
3074 2001-11-12 Kazu Hirata <kazu@hxi.com>
3076 * config/h8300/h8300.c (shift_alg_si): Use special code for
3077 15-bit logical shifts and 31-bit logical shifts.
3078 (get_shift_alg): Generate special code for 15-bit and 31-bit
3081 2001-11-12 Kazu Hirata <kazu@hxi.com>
3083 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3084 doing 6-bit logical shifts on H8/S.
3085 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3086 (get_shift_alg): Generate special code for 21-bit shifts on
3089 2001-11-12 Kazu Hirata <kazu@hxi.com>
3091 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3094 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3096 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3097 if both size and offset known.
3099 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3101 * config/ia64/freebsd.h: Fix misspelling.
3103 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3105 * doc/gcc.texi: Move several chapters out to ...
3106 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3107 doc/include/linux-and-gnu.texi, doc/interface.texi,
3108 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3109 ... here. New files.
3110 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3112 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3114 2001-11-12 Kazu Hirata <kazu@hxi.com>
3116 * config/alpha/alpha-interix.h: Fix comment formatting.
3117 * config/alpha/alpha.c: Likewise.
3118 * config/alpha/alpha.h: Likewise.
3119 * config/alpha/alpha32.h: Likewise.
3120 * config/alpha/freebsd.h: Likewise.
3121 * config/alpha/unicosmk.h: Likewise.
3122 * config/alpha/vms.h: Likewise.
3124 2001-11-12 Kazu Hirata <kazu@hxi.com>
3126 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3128 2001-11-12 Jakub Jelinek <jakub@redhat.com>
3130 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3133 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3135 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3137 (replace_equiv_address): Call update_temp_slot_address.
3139 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3141 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3143 2001-11-12 Kazu Hirata <kazu@hxi.com>
3145 * config/h8300/h8300.c (shift_alg_qi): New.
3146 (shift_alg_hi): Likewise.
3147 (shift_alg_si): Likewise.
3148 (get_shift_alg): Change the type of count to unsigned int.
3151 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
3153 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3154 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3155 to decide whether to defer a function.
3156 (finish_function): Adjust.
3157 (c_expand_deferred_function): New function.
3158 * c-lang.c (deferred_fns): New variable.
3159 (c_init): Initialize it, and mark it as a root.
3160 (defer_fn): New function.
3161 (finish_file): Expand all deferred functions.
3162 * c-tree.h (defer_fn): Declare.
3163 (c_expand_deferred_function): Likewise.
3164 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3165 * objc-act.c (deferred_fns): New variable.
3166 (objc_init): Initialize it, and mark it as a root.
3167 (defer_fn): New function.
3168 (finish_file): Expand all deferred functions.
3170 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3172 * alpha.c (unicosmk_special_name): Prototype.
3173 (unicosmk_ssib_name): Delete unused variable.
3174 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3175 * alpha/vms.h (PREFIX): Undef before defining.
3176 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3177 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3178 controlling usage. Const-ify.
3179 (alias_number): Delete unused variable.
3180 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3181 (m32r_expand_block_move): Fix uninitialized warnings.
3182 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3183 always true' warnings.
3184 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3185 * sh/sh.c: Include "integrate.h".
3186 (output_far_jump): Fix uninitialized warning.
3187 * final.c (shorten_branches): Avoid automatic aggregate
3189 * integrate.c (subst_constants): Likewise.
3191 2001-11-11 Kazu Hirata <kazu@hxi.com>
3193 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3194 (get_shift_alg): Remove redundant code.
3196 2001-11-11 Kazu Hirata <kazu@hxi.com>
3198 * config/pa/milli64.S: Fix comment formatting.
3199 * config/pa/pa-64.h: Likewise.
3200 * config/pa/pa-linux.h: Likewise.
3201 * config/pa/pa-protos.h: Likewise.
3202 * config/pa/pa.c: Likewise.
3203 * config/pa/pa.h: Likewise.
3204 * config/pa/pa32-linux.h: Likewise.
3205 * config/pa/pa32-regs.h: Likewise.
3206 * config/pa/pa64-hpux.h: Likewise.
3207 * config/pa/pa64-regs.h: Likewise.
3208 * config/pa/som.h: Likewise.
3210 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3212 * doc/gcc.texi: Move several chapters out to ...
3213 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3214 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3215 doc/vms.texi: ... here. New files.
3216 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3218 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3220 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3221 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3222 collect2.c, combine.c, config.in, configure, configure.in,
3223 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3224 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3225 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3228 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3230 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3231 Adjust operand number in CONST_DOUBLE.
3233 * expmed.c (extract_bit_field): No longer pass in alignment.
3234 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3235 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3237 * expr.c (store_constructor, store_constructor_field): Likewise.
3238 (store_field, emit_group_load, emit_group_store): Likewise.
3239 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3240 (store_bit_field, extract_bit_field): Likewise.
3241 * calls.c, expr.c, function.c: Change calls to above functions.
3242 * ifcvt.c, stmt.c: Likewise.
3244 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3245 constant and one is on frame.
3246 If know memref offset, adjust size from decl.
3248 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3250 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3251 format specifier warning.
3252 * convex.h (ASM_OUTPUT_BYTE): Likewise.
3253 * elfos.h (ALIGN_ASM_OP): Undef before defining.
3254 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3256 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3257 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3258 * i386-interix.h (gen_stdcall_suffix): Prototype.
3259 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3260 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3261 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3262 * i386/interix.c (gen_stdcall_suffix): Const-ify.
3263 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3264 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3266 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3267 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3268 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3269 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3270 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3271 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3272 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3273 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3274 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3275 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3276 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3278 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3280 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3281 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3282 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3284 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3286 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3288 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3289 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3290 * m68k/news.h (PRINT_OPERAND): Likewise.
3291 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3292 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3293 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3294 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3296 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3297 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3298 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3299 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3300 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3301 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3302 PRINT_OPERAND): Likewise.
3303 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3305 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3306 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3307 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3308 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3309 * mips.c (mips_output_external_libcall): Mark parameter with
3311 (mips_asm_file_start): Move variable into the scope where it's
3313 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3314 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3315 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3316 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3317 * ns32k.c (print_operand): Likewise.
3318 * pa.c (print_operand, output_div_insn): Likewise.
3319 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3320 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3321 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3322 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3324 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3325 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3326 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3327 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3329 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3331 * sdbout.c (sdbout_end_epilogue): Mark parameter with
3333 * varasm.c (assemble_global): Likewise.
3335 2001-11-11 H.J. Lu <hjl@gnu.org>
3337 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3339 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
3341 * final.c (*_MAX_SKIP): Use *_max_skip variables.
3342 * flags.h (align_loops_max_skip, align_jumps_max_skip,
3343 align_labels_max_skip): New global variables.
3344 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3345 align_labels_max_skip): New global variables.
3346 (toplev_main): Set new variables.
3347 * i386.c (override_options): Set max_skip values.
3349 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
3351 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3352 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3353 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3354 don't print an @fptr for labels either.
3355 (xstormy16_output_addr_vec): Don't print @fptr here.
3356 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3358 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
3360 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3361 an ANSI/ISO definitino.
3362 (ssa_const_prop): Likewise.
3364 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
3366 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3369 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3371 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3372 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3373 * cppmain.c (general_init): Call hex_init.
3374 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3376 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3378 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3379 of dgux.c:output_file_start().
3381 * i386/dgux.c: Delete file.
3383 2001-11-09 Richard Henderson <rth@redhat.com>
3385 * config/alpha/alpha.c (decl_in_text_section): New.
3386 (current_file_function_operand): Use it.
3387 (alpha_encode_section_info, alpha_end_function): Likewise.
3389 2001-11-07 David O'Brien <obrien@FreeBSD.org>
3391 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3392 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3393 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3394 so OS specific files and use CPP_PREDEFINES for their needs.
3395 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
3396 target headers to tm_file.
3397 * config/ia64/aix.h (TARGET_VERSION): Likewise.
3398 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3399 * config/ia64/linux.h (TARGET_VERSION): Likewise.
3400 (FUNCTION_PROFILER): Remove.
3401 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3402 version in config/ia64/linux.h.
3403 * config/ia64/freebsd.h: New file.
3404 * config/freebsd.h: Tidy up.
3405 (_USING_CONFIG_FREEBSD): Define.
3406 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3407 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3408 (FBSD_STARTFILE_SPEC): Likewise.
3409 (FBSD_ENDFILE_SPEC): Likewise.
3410 (FBSD_LIB_SPEC): Likewise.
3411 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3412 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3413 set an ELF-improper one.
3415 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3417 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3418 constant can be loaded in a single instruction to a register. When
3419 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
3420 depdi for insertion of most significant 32-bits on 64-bit hosts.
3421 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3422 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3423 * pa.md: New addmove pattern for adding constant_int to HImode
3424 register and moving result to HImode register. Remove HImode HIGH
3425 and LO_SUM patterns.
3427 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3429 * Makefile.in: Update.
3430 * c-decl.c (print_lang_decl, print_lang_type): Remove.
3431 (print_lang_identifier): Rename c_print_identifier.
3432 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3433 (print_lang_statistics, lang_print_xnode): Remove.
3434 * c-parse.in (set_yydebug): Rename c_set_yydebug.
3435 * c-tree.h (c_set_yydebug, c_print_identifier): New.
3436 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3437 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3438 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3439 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3440 (LANG_HOOKS_INITIALIZER): Update.
3441 * langhooks.h (struct lang_hooks): New members.
3442 (lang_print_tree_hook): New.
3443 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3444 * print-tree.c: Include langhooks.h.
3445 (print_node): Update.
3446 * toplev.c (decode_d_option): Update.
3447 * tree.c: Include langhooks.h.
3448 (dump_tree_statistics): Update.
3449 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3450 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3452 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3453 LANG_HOOKS_SET_YYDEBUG): Override.
3454 (lang_print_xnode, print_lang_statistics): Remove.
3456 2001-11-09 Richard Henderson <rth@redhat.com>
3458 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3459 on the symbol string.
3461 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3463 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3464 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3465 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3467 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3469 * tlink.c (recompile_files): Copy strings passed to `putenv'.
3471 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
3473 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3474 (TYPE_READONLY): Likewise.
3476 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3478 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3479 don't pass --gdwarf2 to the assembler if the compiler will also
3482 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3485 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3487 * alias.c (nonoverlapping_memrefs_p): New function.
3488 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3490 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3492 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
3494 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3495 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3496 generating altivec code.
3497 (FIXED_REGISTERS): VRSAVE is fixed.
3498 (CALL_USED_REGISTERS): VRSAVE is call used.
3500 2001-11-09 Jason Eckhardt <jle@rice.edu>
3502 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3503 code the branch target as ".+16/.+12", but rather use labels.
3505 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
3507 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3508 to work around limitations of certain versions of GAS.
3510 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3511 (muldi3): Update due to SUBREG_BYTE changes.
3512 (casesi): Similarly.
3514 2001-11-09 Zack Weinberg <zack@codesourcery.com>
3516 * doc/invoke.texi: Remove comment referring to -xf77-version.
3518 2001-11-09 Kazu Hirata <kazu@hxi.com>
3520 * config/convex/convex.c: Fix comment formatting.
3521 * config/convex/convex.h: Likewise.
3523 2001-11-08 Zack Weinberg <zack@codesourcery.com>
3525 * Makefile.in (.po.pox): Look both in srcdir and builddir
3527 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3528 to the source directory.
3530 2001-11-09 Ben Elliston <bje@redhat.com>
3531 Michael Meissner <meissner@redhat.com>
3532 Andrew MacLeod <amacleod@redhat.com>
3533 Richard Henderson <rth@redhat.com>
3534 Nick Clifton <nickc@redhat.com>
3535 Catherine Moore <clm@redhat.com>
3537 * m32r.c: Add support for m32rx processor.
3541 * m32r-protos.h: Add prototypes for m32rx functions.
3542 * doc/invoke.texi: Document -m32rx option.
3544 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3546 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3549 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3551 * doc/install.texi2html: Use $MAKEINFO --no-split.
3553 2001-11-09 Andreas Schwab <schwab@suse.de>
3555 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3556 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3557 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3558 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3559 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3561 2001-11-09 H.J. Lu <hjl@gnu.org>
3563 * config/mips/mips.c (mips_output_function_prologues): Cast
3564 `tsize' to long for output.
3566 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3568 * c-lang.c (LANG_HOOKS_NAME): New.
3569 (lang_hooks): Constify.
3570 (c_init_options): Update.
3571 (lang_identify): Remove.
3572 * c-parse.in (language_string): Remove.
3573 * dbxout.c: Include langhooks.h.
3574 (dbxout_symbol_location): Update.
3575 * dwarf2out.c: Include langhooks.h.
3576 (gen_compile_unit_die): Update.
3577 * dwarfout.c: Include langhooks.h.
3578 (prototyped_attribute, output_compile_unit_die): Update.
3579 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3580 (LANG_HOOKS_INITIALIZER): Update.
3581 * langhooks.h (struct lang_hooks): New members. Constify.
3582 * stringpool.c: Don't include toplev.h.
3583 (set_identifier_size): Remove.
3584 * toplev.c (toplev_main): Initialize identifier size.
3585 (print_version): Update.
3586 * tree.h (language_string, init_lex, lang_identify,
3587 set_identifier_size): Remove.
3588 * Makefile.in: Update dependencies.
3589 * config/darwin.c: Include langhooks.h.
3590 (func_name_maybe_scoped): Update.
3591 * config/darwin.h (ASM_END_FILE): Update.
3592 * config/nextstep.h (ASM_END_FILE): Update.
3593 * config/nextstep21.h (ASM_END_FILE): Update.
3594 * config/i386/sun386.h (ASM_END_FILE): Update.
3595 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3596 (rs6000_output_function_epilogue): Update.
3598 * objc-act.c (LANG_HOOKS_NAME): Override.
3599 (struct lang_hooks): Constify.
3600 (objc_init_options): Update.
3601 (lang_identify): Remove.
3603 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
3605 * fold-const.c (lshift_double): Honor PREC.
3606 (rshift_double): Likewise.
3608 2001-11-08 Kazu Hirata <kazu@hxi.com>
3610 * config/1750a/1750a.c: Fix comment formatting.
3611 * config/1750a/1750a.h: Likewise.
3613 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
3615 * configure.in (--enable-languages): Be more permissive about
3616 syntax. Check for empty lists better. Warn about $LANGUAGES.
3617 * configure: Regenerated.
3619 2001-11-08 Richard Henderson <rth@redhat.com>
3621 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3623 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
3625 * config.gcc: Rename stormy16 to xstormy16.
3626 * config/stormy16/stormy-abi: Likewise.
3627 * config/stormy16/stormy16-protos.h: Likewise.
3628 * config/stormy16/stormy16.c: Likewise.
3629 * config/stormy16/stormy16.h: Likewise.
3630 * config/stormy16/stormy16.md: Likewise.
3632 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
3634 * tree.h (TYPE_VOLATILE): Add enable-checking code.
3635 (TYPE_READONLY): Likewise.
3637 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3639 * reload1.c (reload): Don't delete equiv insn if can throw.
3641 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3642 (clear_storage): Likewise, for OBJECT.
3644 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
3646 * pa.c (emit_move_sequence): Fix SUBREG expression to
3647 use proper byte offset when extending a constant from
3650 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3652 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3655 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3657 * explow.c (convert_memory_address, case SUBREG): Only return
3658 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3660 2001-11-08 Richard Henderson <rth@redhat.com>
3662 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3663 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3664 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3666 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
3668 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3670 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3672 * dwarf2out.c (debug_str_hash): New.
3673 (struct indirect_string_node): New.
3674 (struct dw_val_struct): Change type of val_str to it.
3675 (DEBUG_STR_SECTION_FLAGS): Define.
3676 (add_AT_string): Push string into hashtable, increment reference
3678 (AT_string): Return string from ht_identifier.
3679 (AT_string_form): New.
3680 (free_AT): For dw_val_class_str, just decrement reference counter.
3681 (size_of_string): Remove.
3682 (size_of_die): Use AT_string_form to decide what size the string
3684 (size_of_pubnames): Use strlen instead of size_of_string.
3685 (value_format): Use AT_string_form for dw_val_class_str.
3686 (output_die): Output DW_FORM_strp strings using
3687 dw2_asm_output_offset.
3688 (indirect_string_alloc, output_indirect_string): New.
3689 (dwarf2out_finish): Emit .debug_str strings if there are any.
3691 2001-11-08 Andreas Franck <afranck@gmx.de>
3693 * configure.in: Add AC_ARG_PROGRAM to support program name
3694 transformation with --program-prefix, --program-suffix and
3695 --program-transform-name.
3696 * configure: Regenerated.
3697 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3698 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3699 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3700 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3701 program_transform_name the way suggested by autoconf.
3702 (GCC_TARGET_INSTALL_NAME): Define.
3703 (install-driver): Use the transformed target alias name.
3705 2001-11-08 Richard Henderson <rth@redhat.com>
3707 * config/mips/mips.c (save_restore_insns): Remove GP from the
3708 restore registers mask early instead of special casing it inside
3711 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
3713 * cp/decl.c (shadow_warning): New function.
3714 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
3715 and an error when a block scope decl shadows a parameter.
3717 2001-11-08 Richard Henderson <rth@redhat.com>
3719 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3722 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3724 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3725 to implement floating negation on processors prior to PA 2.0.
3727 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3729 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3730 (USE_LINKONCE_INDIRECT): Define.
3731 (dw2_output_indirect_constant_1): Try to output indirect constants
3732 into linkonce sections if possible.
3733 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
3734 (dw2_output_indirect_constants): Likewise.
3736 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3738 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3740 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
3742 * c-decl.c (pushdecl): Remove file and line.
3743 * c-typeck.c (pop_init_level): Remove size.
3745 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3747 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3750 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3751 (TARGET_ALTIVEC): New.
3752 (TARGET_SWITCHES): Add altivec.
3753 (FIRST_PSEUDO_REGISTER): Change to 109.
3754 (CALL_USED_REGISTERS): Same.
3755 (FIRST_ALTIVEC_REGNO): New.
3756 (LAST_ALTIVEC_REGNO): New.
3757 (ALTIVEC_REGNO_P): New.
3758 (UNITS_PER_ALTIVEC_WORD): New.
3759 (ALTIVEC_VECTOR_MODE): New.
3760 (FIXED_REGISTERS): Add altivec registers.
3761 (REG_ALLOC_ORDER): Same.
3762 (HARD_REGNO_NREGS): Adjust for altivec registers.
3763 (HARD_REGNO_MODE_OK): Same.
3764 (MODES_TIEABLE_P): Same.
3765 (REGISTER_MOVE_COST): Same.
3766 (REGNO_REG_CLASS): Same.
3767 (reg_class): Add ALTIVEC_REGS.
3768 (REG_CLASS_NAMES): Same.
3769 (REG_CLASS_CONTENTS): Same.
3770 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
3771 (ALTIVEC_ARG_RETURN): New.
3772 (FUNCTION_VALUE): Handle VECTOR_TYPE.
3773 (LIBCALL_VALUE): Handle altivec vector modes.
3774 (VECTOR_MODE_SUPPORTED_P): New.
3775 (ALTIVEC_ARG_MIN_REG): New.
3776 (ALTIVEC_ARG_MAX_REG): New.
3777 (ALTIVEC_ARG_NUM_REG): New.
3778 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
3779 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
3780 (REGISTER_NAMES): Add altivec regs.
3781 (DEBUG_REGISTER_NAMES): Same.
3782 (ADDITIONAL_REGISTER_NAMES): Same.
3783 (rs6000_builtins): New.
3784 (MD_EXPAND_BUILTIN): New.
3785 (MD_INIT_BUILTINS): New.
3786 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
3787 for AltiVec instructions.
3788 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
3789 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
3791 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
3792 (TARGET_SWITCHES): Add no-altivec.
3793 (DATA_ALIGNMENT): Align vectors to 128 bits.
3794 (TARGET_OPTIONS): Add abi= option.
3795 Add rs6000_abi_string extern.
3796 (LOCAL_ALIGNMENT): New.
3797 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
3798 (MASK_ALTIVEC_ABI): New.
3799 (TARGET_ALTIVEC_ABI): New.
3800 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
3802 (STACK_BOUNDARY): Adjust for altivec.
3803 (BIGGEST_ALIGNMENT): Same.
3804 (rs6000_args): Add vregno.
3805 (USE_ALTIVEC_FOR_ARG_P): New.
3806 (FIXED_REGISTERS): Add vrsave register.
3807 (CALL_USED_REGISTERS): Same.
3808 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
3809 (VRSAVE_REGNO): New.
3810 (reg_class): Add VRSAVE_REGS.
3811 (REG_CLASS_NAMES): Same.
3812 (REG_CLASS_CONTENTS): Same.
3813 (REGNO_REG_CLASS): Same.
3815 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
3816 (ABI_STACK_BOUNDARY): Same.
3817 (BIGGEST_ALIGNMENT): Same.
3818 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
3819 (ROUND_TYPE_ALIGN): Same.
3821 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3824 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3827 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3830 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
3831 (altivec_expand_builtin): New.
3832 (altivec_init_builtins): New.
3833 (TARGET_EXPAND_BUILTIN): New.
3834 (TARGET_INIT_BUILTINS): New.
3835 (rs6000_init_builtins): New.
3836 (struct builtin_description): New.
3838 (rs6000_reg_names): Add altivec registers.
3839 (alt_reg_names): Same.
3840 (secondary_reload_class): Altivec regs can hold altivec regs and
3842 (rs6000_emit_move): Force constants into memory for AltiVec moves.
3843 (print_operand): Add 'y' case for printing altivec memory
3845 (rs6000_legitimize_address): Legitimize vector addresses into
3847 (altivec_expand_binop_builtin): New.
3848 New string rs6000_current_abi.
3849 (rs6000_override_options): Call rs6000_parse_abi_options.
3850 (rs6000_parse_abi_options): New.
3851 (function_arg_boundary): Vector arguments must be 16
3853 (function_arg_advance): Handle vector arguments.
3854 (function_arg_partial_nregs): Same.
3855 (init_cumulative_args): Same.
3856 (function_arg): Same.
3858 * config/rs6000/rs6000.md (altivec_lvx): New.
3859 (type): Add altivec attribute.
3861 (*movv4si_internal): New.
3863 (*movv16qi_internal): New.
3865 (*movv8hi_internal1): New.
3867 (*movv4sf_internal1): New.
3868 (altivec_stvx): New.
3984 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
3986 * Makefile.in (df.o): Add fibheap.h to dependencies.
3988 * df.h: Add prototypes for transfer functions, iterative_dataflow
3990 (enum df_flow_dir): New enum.
3991 (enum df_confluence_op): New enum.
3992 (struct df): Add inverse_rts_map.
3994 * df.c: Add sbitmap.h to the list of includes.
3995 (df_rd_global_compute): Removed.
3996 (df_ru_global_compute): Removed.
3997 (df_lr_global_compute): Removed.
3998 (df_rd_transfer_function): New function.
3999 (df_ru_transfer_function): New function.
4000 (df_lr_transfer_function): New function.
4001 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4002 Use iterative_dataflow_bitmap instead of df_*_global_compute.
4003 (iterative_dataflow_sbitmap): New function.
4004 (iterative_dataflow_bitmap): New function.
4006 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4008 * doc/gcc.texi: Move terminology and spelling conventions to
4009 htdocs/codingconventions.html.
4011 2001-11-07 Graham Stott <grahams@redhat.com>
4013 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4015 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
4017 * expmed.c (expand_mult): Force operand to register before computing
4019 * i386.c (x86_decompose_lea): New global vairable.
4020 * i386.h (x86_decompose_lea): Declare.
4021 (TARGET_DECOMPOSE_LEA): New macro.
4022 (RTX_COST): Handle leas properly.
4024 2001-11-06 Richard Henderson <rth@redhat.com>
4026 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4027 defined for a CONSTRUCTOR; don't check it.
4029 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4031 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4032 test for absolute pathnames.
4034 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
4036 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4037 instructions up to the target pc inclusive.
4039 2001-11-06 Steve Christiansen <smc@us.ibm.com>
4041 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4043 2001-11-06 Eric Christopher <echristo@redhat.com>
4045 * config/mips/mips.md(movdf_internal2): Add constraints for float
4046 to general register move.
4047 * config/mips/elf64.h: Add default ABI.
4049 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4051 * alias.c:: Include langhooks.h.
4052 * emit-rtl.c: Similarly.
4053 * toplev.c: Similarly.
4054 * tree-inline.c: Similarly.
4055 * langhooks-def.h: New, the old langhooks.h. Give the default
4056 hooks a common prefix.
4057 * langhooks.h: Contents extracted from toplev.h.
4058 * toplev.h: Move langhook stuff to langhooks.h.
4059 * langhooks.c: Give default hooks a common prefix.
4061 * c-lang.c: Include langhooks-def.h.
4062 * objc/objc-act.c: Similarly.
4063 * Makefile.in: Update.
4064 * objc/Make-lang.in: Update.
4066 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4068 * doc/install.texi: Document that configure options not listed in
4069 this file are unsupported. Document --with-system-zlib.
4071 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4073 * rtl.h (mem_for_const_double): New declaration.
4074 * varasm.c (mem_for_const_double): New function.
4075 * config/convex/convex.md (movdf): Use it.
4076 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4077 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4078 * config/m68k/m68kv4.h: Likewise.
4080 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4081 of new GP reg classes.
4083 * expr.c (store_field): When making temp object for unaligned
4084 component, set it to alias set 0.
4086 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4088 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4089 non-lvalue arrays if C99.
4090 * c-typeck.c (default_conversion): Split out code handling
4091 array-to-pointer and function-to-pointer conversions into a
4092 separate default_function_array_conversion function.
4093 (default_function_array_conversion): New function. Keep track of
4094 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4095 arrays unchanged outside C99 mode instead of giving an error for
4097 (build_component_ref): Use pedantic_non_lvalue when handling
4098 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4099 (convert_arguments): Use default_function_array_conversion.
4100 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4102 (unary_complex_lvalue): Likewise.
4103 (internal_build_compound_expr): Use
4104 default_function_array_conversion. Apply default conversions to
4105 function in compound expression.
4106 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4107 Use default_function_array_conversion.
4108 * doc/extend.texi: Update documentation of subscripting non-lvalue
4112 2001-11-05 Zack Weinberg <zack@codesourcery.com>
4114 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4115 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4116 corresponding to the complete set of .po and .gmo files in
4117 the source directory's po subdir, modified by LINGUAS. Don't
4118 look at ALL_LINGUAS.
4119 * configure.in: Don't set ALL_LINGUAS.
4120 * configure: Regenerate.
4122 * Makefile.in (.po.gmo): Don't move into source directory.
4123 (.po.pox): Clarify comments.
4124 (install-po): Look for .gmo files in both srcdir and objdir;
4125 don't fail if a file is totally missing.
4126 (distclean): rmdir ada subdirectory too.
4128 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4130 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4131 CONSTRUCTORs _correctly_.
4133 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4135 * c-decl.c (delete_block): Remove.
4136 * c-tree.h (delete_block): Remove.
4138 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4140 * cppexp.c (lex, parse_defined): Update warning about defined.
4142 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4144 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4147 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4149 * config/arm/arm.c (arm_return_in_memory): Cope with
4150 int_size_in_bytes returning -1.
4152 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4155 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4157 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4158 remove unneeded dependencies;
4160 * cfglayout.c, cfglayout.h: New files; break out from ...
4161 * bb-reorder.c: ... here; Remove unneeded includes;
4163 2001-11-04 Alan Modra <amodra@bigpond.net.au>
4165 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4167 2001-11-04 David Edelsohn <edelsohn@gnu.org>
4169 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4170 mode as well. Do not explicitly create intermediate regs.
4172 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4174 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4175 (common_section): Delete unused variable.
4176 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4177 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4178 * arm-protos.h (arm_poke_function_name, aof_add_import,
4179 aof_delete_import): Const-ify.
4180 * arm.c (legitimize_pic_address): Wrap variables in the macro
4181 controlling their usage.
4182 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4183 (arm_poke_function_name, pic_chain, import, aof_add_import,
4184 aof_delete_import): Const-ify.
4185 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4186 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4187 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4188 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4189 * i860/sysv3.h: Add missing comment closure.
4190 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4191 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4192 to symbolic_operand.
4194 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4195 (i960-*-*): Set tmake_file.
4196 (sparc86x-*-elf*): Fix typo in header name.
4198 * sched-rgn.c (schedule_insns): Delete unused variable.
4200 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4203 * c-typeck.c (lookup_field): Rework to return a chain down to
4204 the looked-up field.
4205 (build_component_ref): Use the new lookup_field to handle
4206 nested anonymous entities correctly.
4208 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4210 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4211 Change parameters to gen_rtx_CONST_DOUBLE.
4212 (GEN_INT64, sparc_emit_set_const64): Likewise.
4213 * config/sparc/sparc.md (movdf split): Likewise.
4215 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
4217 * unroll.c (calculate_giv_inc): Use find_last_value rather
4218 than just hoping the last instruction is the right SET.
4219 [Fixes 990604-1.c on stormy16.]
4221 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4222 library at all if -T is used.
4224 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4225 some uses of uninitialized variables in error cases.
4227 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4228 look at 'temp' if we won't be using it.
4230 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4231 (RTX_COSTS): Define.
4232 (ADDRESS_COST): Define.
4233 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4235 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4237 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4238 stormy16_asm_output_mi_thunk.
4239 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4241 * config/stormy16/stormy16-protos.h
4242 (stormy16_asm_output_mi_thunk): New prototype.
4244 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4246 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4247 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4248 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4249 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4250 sched-int.h, toplev.c, config/alpha/alpha.c,
4251 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4252 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4253 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4254 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4255 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4256 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4257 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4259 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4261 * Makefile.in (dbxout.o): Depend on function.h.
4262 * collect2.c (is_in_list): Hide unused function.
4263 * dbxout.c: Include function.h.
4264 (source_label_number, dbxout_source_line, dbxout_source_file,
4265 dbxout_function_end, dbxout_begin_function): Wrap/move inside
4266 macros controlling usage.
4267 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4268 * output.h (exports_section): Prototype.
4270 * convex.c (convex_output_function_prologue): Fix format specifier
4272 (asm_declare_function_name): Fix signed/unsigned warning.
4273 (print_operand): Fix format specifier warning.
4274 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4275 * dsp16xx-protos.h (uns_comparison_operator,
4276 num_1600_core_shifts): Prototype.
4277 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4278 (frame_size, frame_pointer_offset): Delete.
4279 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4280 Make static. Fix format specifier warnings.
4281 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4282 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4283 * dsp16xx.md: Add default case in switches.
4284 * fr30.h (IN_RANGE): Delete.
4285 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4286 * mcore-protos.h (mcore_output_cmov): Const-ify.
4287 * mcore.c (mcore_output_cmov): Likewise.
4288 * mcore.h (switch_to_section): Make static and prototype.
4289 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4290 unsigned>=0 warnings.
4291 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4292 * rs6000-protos.h (read_only_data_section,
4293 read_only_private_data_section): Prototype.
4294 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4295 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4296 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4298 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4300 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4302 * final.c (final_scan_insn): Add brackets around body of if-stmt.
4303 * gcc.c (convert_filename): Add static prototype. Const-ify.
4304 Wrap variable in macros controlling its use.
4305 * output.h (sdata_section): Add prototype.
4307 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4308 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4309 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4310 (ASM_FILE_START): Const-ify.
4311 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4313 * c4x.md: Don't use the 'U' integer suffix.
4314 * clipper.md (clipper_movstr): Delete declaration.
4315 * d30v-protos.h (d30v_move_2words): Const-ify.
4316 (debug_stack_info): Add prototype.
4317 * d30v.c: Include "integrate.h".
4318 (d30v_function_arg_boundary, d30v_function_arg,
4319 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4320 signed/unsigned warnings.
4321 (d30v_print_operand_memory_reference, d30v_move_2words):
4323 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4324 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4325 * fr30.md: Const-ify.
4326 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4327 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4328 (mvs_get_label_page): Hide unused static function.
4329 * i860.c (current_function_original_name): Const-ify.
4330 * i860/sysv3.h (current_function_original_name): Likewise.
4331 * i860/sysv4.h (current_function_original_name): Likewise.
4332 * i960.md: Add default case in switches. Remove unused variable.
4333 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4334 * m32r.md: Const-ify.
4335 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4336 * m68hc11.c: Include "reload.h".
4337 (static_chain_reg, print_options, m68hc11_asm_file_start):
4339 * m68hc11.md: Delete unused variable. Const-ify. Add parens
4340 around & in comparison.
4341 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4342 * mn10200.c (shift_mode): Remove trailing comma.
4343 * mn10300-protos.h (output_tst): Const-ify.
4344 * mn10300.c (output_tst): Likewise.
4345 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4347 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4348 * pa.c (output_ascii): Likewise.
4349 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4350 * pdp11.md (expand_unop): Delete declarations.
4351 * pj-protos.h (pj_output_addsi3): Const-ify.
4352 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4353 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4354 unique_src_operand): Add prototypes.
4355 (pj_output_store_into_lval): Make definition static.
4356 (pj_function_incoming_arg): Don't use unary plus.
4357 (pj_output_addsi3): Const-ify.
4358 * romp.md (get_symref): Delete declarations.
4359 * v850-c.c (mark_current_function_as_interrupt): Don't return
4360 value from void function.
4361 * v850.c: Include "integrate.h".
4362 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4363 * vax-protos.h (const_section): Add prototype.
4365 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
4367 * machmode.def: Add documentation for the seventh argument in
4370 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4372 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4374 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4375 <-melf>: Don't have markup for ELF acronym.
4377 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4379 * config.gcc (mmix-*-*): New target.
4380 * doc/invoke.texi: Document MMIX options.
4381 * doc/contrib.texi: Add note about MMIX port to my entry.
4382 * config/mmix/t-mmix: New file.
4383 * config/mmix/mmix.h: New file.
4384 * config/mmix/mmix-protos.h: New file.
4385 * config/mmix/mmix.c: New file.
4386 * config/mmix/mmix.md: New file.
4387 * config/mmix/crti.asm: New file.
4388 * config/mmix/crtn.asm: New file.
4390 2001-11-03 Kazu Hirata <kazu@hxi.com>
4392 * config/sparc/linux-aout.h: Fix comment formatting.
4393 * config/sparc/linux.h: Likewise.
4394 * config/sparc/linux64.h: Likewise.
4395 * config/sparc/lynx.h: Likewise.
4396 * config/sparc/pbd.h: Likewise.
4397 * config/sparc/sol2-sld-64.h: Likewise.
4398 * config/sparc/sol2.h: Likewise.
4399 * config/sparc/sparc.c: Likewise.
4400 * config/sparc/sparc.h: Likewise.
4401 * config/sparc/sparc.md: Likewise.
4402 * config/sparc/sunos4.h: Likewise.
4403 * config/sparc/vxsim.h: Likewise.
4404 * config/sparc/vxsparc.h: Likewise.
4405 * config/sparc/vxsparc64.h: Likewise.
4407 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4409 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4410 reference to CONST_DOUBLE_MEM in comment.
4411 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4412 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4413 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4414 * function.c (pop_function_context_from): Don't call
4415 restore_varasm_status.
4416 * function.h (restore_varasm_status): Delete declaration.
4417 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4419 * rtl.def (CONST_DOUBLE): Update comment.
4420 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4421 (CONST_DOUBLE_CHAIN): Likewise.
4422 (CONST_DOUBLE_MEM): Delete.
4423 (gen_rtx_CONST_DOUBLE): Update parameters.
4424 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4425 Remove reference to CONST_DOUBLE_MEM.
4426 (const_alias_set): New variable.
4427 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4428 (immed_real_const_1): Adjust tests for 0, 1, and 2.
4429 Don't set CONST_DOUBLE_MEM.
4430 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4431 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4432 Put constant in const_alias_set.
4433 (struct pool_constant): ALIGN now unsigned.
4434 OFFSET now HOST_WIDE_INT.
4436 (restore_varasm_status): Deleted.
4437 (mark_pool_constant): Mark desc->rtl.
4438 (force_const_mem): Rework to store rtl in hash table,
4439 not CONST_DOUBLE_MEM.
4440 Put constant in const_alias_set.
4441 (find_pool_constant): Check desc->rtl.
4442 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4443 (init_varasm_once): Initialize const_alias_set.
4445 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4448 * reload.c (combine_reloads): Don't combine an output reload if there
4449 are other reloads around for part of the output.
4451 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4452 constant expression.
4453 (set_mem_decl): New function.
4454 * expr.h (set_mem_decl): New declaration.
4455 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4456 (output_asm_operand_names): Add tab.
4457 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4459 * builtins.c (get_memory_rtx): Properly set MEM alias set and
4462 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4464 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4465 Use "invalid" instead of "illegal". Use @r in comments in
4468 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
4470 * c-decl.c (pushdecl): Move block inside if conditional to remove
4471 possibility of a segfault. Lookup block-level extern
4472 variables in enclosing scopes correctly.
4474 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4476 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4478 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4479 SUBREG so we avoid SUBREGing memory.
4481 * expmed.c (store_bit_field): Same.
4483 2001-11-02 DJ Delorie <dj@redhat.com>
4485 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4486 using FP registers for DImode mem-mem moves is acceptable.
4488 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4490 * builtins.c (apply_args_size): Handle vector arguments.
4491 (apply_result_size): Same.
4493 * machmode.def: Set WIDER mode field for all vector entries.
4495 2001-11-02 Graham Stott <grahams@redhat.com>
4497 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
4499 2001-11-01 Eric Christopher <echristo@redhat.com>
4501 * config.gcc: Revert part of earlier patch.
4502 * config/mips/linux.h: Ditto.
4503 * df.c: Include tm_p.h to avoid warnings.
4504 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
4506 * config/mips/mips.c: Define mips_abi regardless.
4507 (mips_output_function_prologues): Add long casts for .frame
4509 (override_options): Allow use of ABI_32.
4511 2001-11-01 Kazu Hirata <kazu@hxi.com>
4513 * config/m68hc11/m68hc11.c: Fix comment formatting.
4514 * config/m68hc11/m68hc11.h: Likewise.
4515 * config/m68hc11/m68hc11.md: Likewise.
4517 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
4519 * c-typeck.c (default_conversion): Retain the original expression
4521 * gcc.dg/Wparentheses.c: New tests.
4523 2001-11-01 David S. Miller <davem@redhat.com>
4525 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4526 64-bit Sparc description more in line with reality.
4528 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
4530 * Makefile.in (GCOV_OBJS): Add version.o.
4531 * gcov.c: Include "version.h" and <getopt.h>.
4532 (gcov_version_string): Remove.
4533 (print_usage): Take a parameter to determine whether this is a
4534 call from --help or an error message. Give fuller output that
4535 follows the GNU Coding Standards for --help.
4536 (print_version): New function.
4538 (process_args): Use getopt_long. Support long options. Follow
4539 GNU Coding Standards for --help and --version.
4540 * doc/gcov.texi: Document long options.
4541 Addresses part of PR other/704.
4543 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4545 * pa.c (output_move_double): Fix typo in double load.
4547 2001-11-01 Kazu Hirata <kazu@hxi.com>
4549 * config/h8300/h8300.c (h8300_encode_label): Compute a string
4550 before passing it to ggc_alloc_string.
4552 2001-11-01 Kazu Hirata <kazu@hxi.com>
4554 * config/m68k/3b1.h: Fix comment formatting.
4555 * config/m68k/3b1g.h: Likewise.
4556 * config/m68k/a-ux.h: Likewise.
4557 * config/m68k/amix.h: Likewise.
4558 * config/m68k/apollo68.h: Likewise.
4559 * config/m68k/atari.h: Likewise.
4560 * config/m68k/aux-exit.c: Likewise.
4561 * config/m68k/ccur-GAS.h: Likewise.
4562 * config/m68k/crds.h: Likewise.
4563 * config/m68k/dpx2.h: Likewise.
4564 * config/m68k/dpx2g.h: Likewise.
4565 * config/m68k/hp310.h: Likewise.
4566 * config/m68k/hp320.h: Likewise.
4567 * config/m68k/isi.h: Likewise.
4568 * config/m68k/linux.h: Likewise.
4569 * config/m68k/lynx.h: Likewise.
4570 * config/m68k/m68k-psos.h: Likewise.
4571 * config/m68k/m68k.c: Likewise.
4572 * config/m68k/m68k.h: Likewise.
4573 * config/m68k/m68k.md: Likewise.
4574 * config/m68k/m68kelf.h: Likewise.
4575 * config/m68k/m68kv4.h: Likewise.
4576 * config/m68k/mot3300.h: Likewise.
4577 * config/m68k/news.h: Likewise.
4578 * config/m68k/next.h: Likewise.
4579 * config/m68k/pbb.h: Likewise.
4580 * config/m68k/plexus.h: Likewise.
4581 * config/m68k/sgs.h: Likewise.
4582 * config/m68k/sun3.h: Likewise.
4583 * config/m68k/tower.h: Likewise.
4584 * config/m68k/vxm68k.h: Likewise.
4586 2001-10-31 DJ Delorie <dj@redhat.com>
4588 * config/mips/mips.h (mips_cache_flush_func): Prototype.
4589 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4590 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4591 * config/mips/mips.c (mips_cache_flush_func): New.
4592 * doc/invoke.texi: Document the new options.
4594 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
4596 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4597 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4599 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4601 * config/cris/cris.c: Include output.h after tree.h but before
4604 2001-10-31 Zack Weinberg <zack@codesourcery.com>
4606 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4607 (INTL_SUBDIRS): Just intl.
4608 (.SUFFIXES): Add .gmo .po .pox.
4609 (native): Also depend on build-@POSUB@.
4610 (intl.all, intl.install): Depend on config.h and things it includes.
4611 (po-generated): New target; depend on c-parse.c and tradcif.c.
4612 (install-normal): Also depend on install-@POSUB@.
4613 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4614 (build-, install-, build-po, update-po, install-po,
4615 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4617 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4618 * configure.in: Don't munge XGETTEXT. Don't generate
4620 * configure: Regenerate.
4622 * exgettext: Delete.
4623 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4624 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4626 2001-10-31 Kazu Hirata <kazu@hxi.com>
4628 * config/h8300/h8300.md (two anonymous patterns): New.
4630 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
4632 * tree.h (tree_index): Add support for V16QI and V8HI.
4633 (V8HI_type_node): New.
4634 (V16QI_type_node): New.
4636 * tree.c (build_common_tree_nodes_2): Same.
4638 * c-common.c (type_for_mode): Same.
4640 2001-10-31 Kazu Hirata <kazu@hxi.com>
4642 * config/i386/att.h: Fix comment formatting.
4643 * config/i386/beos-elf.h: Likewise.
4644 * config/i386/bsd.h: Likewise.
4645 * config/i386/bsd386.h: Likewise.
4646 * config/i386/crtdll.h: Likewise.
4647 * config/i386/cygwin.asm: Likewise.
4648 * config/i386/cygwin.h: Likewise.
4649 * config/i386/djgpp.h: Likewise.
4650 * config/i386/freebsd-aout.h: Likewise.
4651 * config/i386/freebsd.h: Likewise.
4652 * config/i386/gas.h: Likewise.
4653 * config/i386/i386-interix.h: Likewise.
4654 * config/i386/i386-protos.h: Likewise.
4655 * config/i386/i386.c: Likewise.
4656 * config/i386/i386.h: Likewise.
4657 * config/i386/i386.md: Likewise.
4658 * config/i386/i386elf.h: Likewise.
4659 * config/i386/interix.c: Likewise.
4660 * config/i386/isc.h: Likewise.
4661 * config/i386/isccoff.h: Likewise.
4662 * config/i386/iscdbx.h: Likewise.
4663 * config/i386/linux.h: Likewise.
4664 * config/i386/lynx.h: Likewise.
4665 * config/i386/mingw32.h: Likewise.
4666 * config/i386/netbsd-elf.h: Likewise.
4667 * config/i386/next.h: Likewise.
4668 * config/i386/osf1elf.h: Likewise.
4669 * config/i386/osfrose.h: Likewise.
4670 * config/i386/sco5.h: Likewise.
4671 * config/i386/seq-gas.h: Likewise.
4672 * config/i386/seq-sysv3.h: Likewise.
4673 * config/i386/sequent.h: Likewise.
4674 * config/i386/sol2.h: Likewise.
4675 * config/i386/sun386.h: Likewise.
4676 * config/i386/uwin.asm: Likewise.
4677 * config/i386/uwin.h: Likewise.
4678 * config/i386/vxi386.h: Likewise.
4679 * config/i386/win32.h: Likewise.
4680 * config/i386/winnt.c: Likewise.
4681 * config/i386/xm-cygwin.h: Likewise.
4682 * config/i386/xm-mingw32.h: Likewise.
4684 2001-10-31 Kazu Hirata <kazu@hxi.com>
4686 * builtins.def: Fix comment typos.
4687 * config/alpha.c: Likewise.
4688 * config/arm/arm.c: Likewise.
4689 * config/avr/avr.h: Likewise.
4690 * config/d30v/d30v.c: Likewise.
4691 * config/d30v/d30v.h: Likewise.
4692 * config/d30v/d30v.md: Likewise.
4693 * config/dsp16xx/dsp16xx.c: Likewise.
4694 * config/fr30/fr30.c: Likewise.
4695 * config/fr30/fr30.md: Likewise.
4696 * config/i386/i386.c: Likewise.
4697 * config/i860/i860.c: Likewise.
4698 * config/i960/i960.c: Likewise.
4699 * config/ia64/ia64.c: Likewise.
4700 * config/mips/mips.c: Likewise.
4701 * config/pa/pa.c: Likewise.
4702 * config/rs6000/rs6000.c: Likewise.
4703 * config/s390/s390.c: Likewise.
4704 * config/sparc/sparc.c: Likewise.
4706 2001-10-30 Kazu Hirata <kazu@hxi.com>
4708 * config/mips/elf.h: Fix comment formatting.
4709 * config/mips/elf64.h: Likewise.
4710 * config/mips/iris5.h: Likewise.
4711 * config/mips/iris5gas.h: Likewise.
4712 * config/mips/iris6.h: Likewise.
4713 * config/mips/isa3264.h: Likewise.
4714 * config/mips/linux.h: Likewise.
4715 * config/mips/mips.c: Likewise.
4716 * config/mips/mips.h: Likewise.
4717 * config/mips/mips.md: Likewise.
4718 * config/mips/mips16.S: Likewise.
4719 * config/mips/netbsd.h: Likewise.
4720 * config/mips/osfrose.h: Likewise.
4721 * config/mips/r3900.h: Likewise.
4722 * config/mips/sni-svr4.h: Likewise.
4723 * config/mips/svr4-t.h: Likewise.
4724 * config/mips/ultrix.h: Likewise.
4726 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
4728 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4729 when we update head->current.
4731 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
4733 * tree.c (id_string_size): Remove.
4734 (dump_tree_statistics): Update.
4735 * toplev.c (compile_file): If dumping stats, dump tree stats too.
4737 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
4739 * sched-rgn.c (schedule_insns): Fix comment.
4741 2001-10-30 Zack Weinberg <zack@codesourcery.com>
4743 * configure.in: Correct previous change: don't assume that
4744 gas's version number _isn't_ the last thing on the line, or
4745 isn't the only number on the line, either.
4746 * configure: Regenerate.
4748 2001-10-30 Kazu Hirata <kazu@hxi.com>
4750 * cfgcleanup.c: Fix a comment typo.
4752 2001-10-30 Kazu Hirata <kazu@hxi.com>
4754 * alias.c: Fix comment formatting.
4755 * recog.c: Likewise.
4756 * config/cris/cris.c: Likewise.
4757 * config/cris/cris.h: Likewise.
4758 * config/i960/i960.c: Likewise.
4759 * config/i960/i960.h: Likewise.
4761 2001-10-30 Kazu Hirata <kazu@hxi.com>
4763 * config/arm/arm.c: Fix a comment typo.
4764 * config/arm/arm.h: Likewise.
4765 * config/ia64/ia64.c: Likewise.
4767 2001-10-30 Jakub Jelinek <jakub@redhat.com>
4769 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
4770 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
4771 * rtl.h (set_unique_reg_note): Change return value.
4772 * gcse.c (try_replace_reg): Use set_unique_reg_note.
4773 * cse.c (cse_insn): Likewise.
4774 * expr.c (emit_move_insn): Likewise.
4775 * explow.c (force_reg): Likewise.
4776 * local-alloc (update_equiv_regs): Likewise.
4777 * loop.c (move_moveables, load_mems): Likewise.
4778 * reload (find_reloads): Likewise.
4780 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
4783 * c-decl.c (parmlist_tags_warning, start_struct,
4784 check_for_loop_decls): Separate messages for struct, union and
4785 enum cases to allow for languages in which they have different
4787 * c-format.c (scanf_flag_specs): Separate short and long name of
4788 the assignment suppression feature.
4789 (check_format_types): Localize "pointer" and "different types"
4791 * c-lex.c (lex_number): Localize "an unsigned long int" and
4793 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
4795 * c-typeck.c (build_unary_up): Separate messages for increment and
4796 decrement cases to allow for languages in which they use different
4797 articles. Localize the strings "increment" and "decrement" in one
4800 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
4802 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
4803 when no changes has been made.
4805 * gcse.c (reg_set_bitmap): Turn into reg_set.
4806 (modify_mem_list_set, canon_modify_mem_list_set)
4807 (clear_modify_mem_tables, free_modify_mem_tables): New.
4808 (gcse_main); Use free_modify_mem_tables.
4809 (free_gcse_mem): Likewise; free the bitmaps.
4810 (alloc_gcse_main): Initialize the bitmaps.
4811 (canon_list_insert): Set canon_modify_mem_list_set.
4812 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
4813 (compute_hash_table): Use clear_modify_mem_tables.
4814 (reset_opr_set_tables): Likewise.
4815 (oprs_not_set_p): reg_set_bitmap is regset.
4816 (mark_set, mark_clobber): Likewise.
4818 * df.h (DF_EQUIV_NOTES): New constant.
4819 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
4822 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
4823 (init_regions, schedule_insns): Conditionalize the checking
4824 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
4826 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
4828 * i386.md (movti_rex64 splitter): Fix condition.
4830 2001-10-29 Zack Weinberg <zack@codesourcery.com>
4832 * configure.in: Do not assume that gas's version number is the
4833 last thing on the first line of as --version output.
4834 * configure: Regenerate.
4836 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
4837 MT_WARNING, MT_ERROR, MT_FATAL.
4838 (main): Call gcc_init_libintl.
4839 (v_message): Call gettext on msgid and "warning: "
4840 * tradcif.y: Include intl.h.
4841 (yyerror): Make parameter definition consistent with
4842 prototype. Call gettext on msgid argument.
4844 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4846 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
4849 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
4851 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4853 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
4854 before referencing it.
4856 2001-10-26 DJ Delorie <dj@redhat.com>
4858 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
4859 override -G, and force -G0.
4861 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4863 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
4864 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
4865 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
4866 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
4868 * loop.h (struct induction): Rename ext_dependant to
4870 * loop.c: Change all uses.
4871 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
4872 All callers changed.
4873 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
4875 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4877 * c-parse.in (expr_no_commas, primary), c-typeck.c
4878 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
4880 2001-10-29 David Edelsohn <edelsohn@gnu.org>
4882 Undo assemble_name change in earlier patch.
4884 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
4886 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
4887 determining the type of the receiver, do not check that TREE_CODE
4888 of receiver is CALL_EXPR before calling receiver_is_class_object().
4889 (receiver_is_class_object): For the GNU runtime: recognize
4890 the case that the receiver is self in a class method context.
4891 Check that TREE_CODE of receiver is CALL_EXPR when checking that
4892 the receiver is a call to objc_get_class.
4894 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
4896 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
4898 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4900 * Makefile.in (OBJS): Put all files in alphabetical order.
4902 * dwarf2out.c (add_const_value_attribute): Fix error in last
4905 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
4907 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
4908 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
4910 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
4911 (life_analysis): call purge_all_dead_edges after deleting noops.
4912 (delete_noop_move): Do not purge CFG.
4913 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
4915 2001-10-28 David Edelsohn <edelsohn@gnu.org>
4917 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
4918 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
4919 (ASM_GLOBALIZE_LABEL): Use assemble_name.
4920 (ASM_OUTPUT_COMMON): Likewise.
4921 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
4922 (rs6000_output_function_epilogue): Likewise.
4923 (output_mi_thunk): Fix typo.
4924 (rs6000_output_symbol_ref): Use assemble_name.
4925 (output_toc): Likewise.
4926 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
4927 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
4928 assemble_name calls STRIP_NAME_ENCODING.
4929 (ASM_OUTPUT_LABEL): Use assemble_name.
4930 (ASM_GLOBALIZE_LABEL): Likewise.
4931 (ASM_DECLARE_FUNCTION_NAME): Likewise.
4932 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
4933 (ASM_OUTPUT_LOCAL): Likewise.
4935 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4937 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
4938 (expand_builtin_apply, expand_builtin_return): Likewise.
4939 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
4941 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4943 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
4944 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
4945 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
4946 configure, configure.in, except.c, except.h, flow.c, function.c,
4947 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
4948 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
4949 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
4950 unroll.c: Fix spelling errors.
4952 * doc/extend.texi, doc/invoke.texi: Fix spelling.
4954 * doc/gcc.texi: Document use of "dependent" and American spelling.
4956 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
4958 * expr.c (emit_group_load): Support CONCATs by storing them to memory
4961 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4963 * expr.c (store_constructor_field): Only call adjust_address on MEM.
4965 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
4967 * genrecog.c (write_switch): Output if before switch for
4968 DT_elt_zero_wide_safe.
4970 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4972 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
4973 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
4974 (FUNCTION_PROFILER): Const-ify.
4975 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
4976 (eliminate_constant_term, assemble_name, output_addr_const):
4977 Remove declarations.
4978 (ptr_half_pic_address_p, half_pic_hash): Prototype.
4979 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
4980 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
4981 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
4982 (half_pic_declare, half_pic_external): Const-ify.
4983 * toplev.c: Include "halfpic.h".
4985 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
4987 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
4988 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
4989 config/i386/i386.c, config/i386/i386-interix.h,
4990 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
4991 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
4992 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
4993 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
4994 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
4995 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
4996 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
4999 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5000 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5001 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5002 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5003 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5004 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5005 system.h, toplev.c: Fix spelling errors.
5007 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5009 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5011 * dwarf2out.c (reg_number): Abort if pseudo.
5012 (reg_loc_descriptor): Return 0 if pseudo.
5013 (is_based_loc): Return 0 if pseudo.
5014 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5016 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5017 (loc_descriptor): Return 0 if can't find location and handle 0
5018 return from recursive calls.
5019 (loc_descriptor_from_tree): Likewise.
5020 Fix handling of indirect.
5021 Also return 0 for PLACEHOLDER_EXPR.
5022 Clean up COMPONENT_REF cases.
5023 (add_AT_location_descriptor): Simplify, but handle 0 return from
5025 (add_const_value_attribute): Avoid shift count warning.
5026 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5027 Set comp_unit_die as context if not in function.
5029 * config/mips/mips-protos.h: Break up long lines.
5030 Remove needless #ifdef/#endif blocks.
5031 Don't declare functions declared in file made by genpreds or recog.h.
5032 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5033 is now HOST_WIDE_INT; delete unneeded casts.
5034 * config/mips/mips.h: Don't use #elif.
5036 * expr.c (stor_constructor_field): Always call adjust_address.
5037 Copy TARGET before changing its alias set.
5038 (store_field): Likewise, for TO_RTX.
5039 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5041 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5042 (find_placeholder): Return 0 if can't find object.
5043 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5046 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5048 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5050 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5052 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5053 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5054 (merge_blocks): Properly udpate life after making edge nonfallthru.
5055 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5057 2001-10-26 Kazu Hirata <kazu@hxi.com>
5059 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5061 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5063 * c-typeck.c (convert_arguments): When comparing for enumeral
5064 type equality, use TYPE_MAIN_VARIANT.
5065 * gcc.dg/Wconversion.c: New tests.
5067 2001-10-26 Kazu Hirata <kazu@hxi.com>
5069 * s390/s390.c: Fix comment typos.
5070 * s390/s390.h: Likewise.
5071 * s390/s390.md: Likewise.
5073 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5075 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5076 (walk_tree): Use it for tail calls where appropriate.
5078 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5080 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5081 non-local label_refs.
5083 2001-10-26 Kazu Hirata <kazu@hxi.com>
5085 * config/h8300/h8300.md (4 anonymous patterns): New.
5087 2001-10-26 Kazu Hirata <kazu@hxi.com>
5089 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5090 algorithm through the shift_info structure.
5091 (emit_a_shift): Update the use of get_shift_alg.
5093 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
5095 * sched-rgn.c: Remove bitset typedef.
5096 Change bitset to sbitmap in prototypes / variable types.
5098 Remove edgeset_bits.
5099 Remove edgeset_size.
5100 s/BITSET_ADD/SET_BIT/g
5101 s/BITSET_INVERT/sbitmap_ones/g
5102 s/BITSET_INTER/sbitmap_a_and_b/g
5103 s/BITSET_UNION/sbitmap_a_or_b/g
5104 s/BITSET_DIFFER/sbitmap_difference/g
5105 s/bitset_member/TEST_BIT/g
5106 (BITSET_*): Removed.
5107 (bitset_member): Removed.
5108 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5109 EXECUTE_IF_SET_IN_SBITMAP.
5110 (split_edges): Rewrite, use sbitmap functions instead of bitset
5112 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5114 2001-10-26 Andreas Schwab <schwab@suse.de>
5116 * reload1.c (emit_input_reload_insns): Fix parens in last
5117 (undocumented) change that was supposed to change only whitespace.
5119 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5121 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5123 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5126 2001-10-26 Andreas Jaeger <aj@suse.de>
5128 * flow.c (clear_log_links): Remove unused variable.
5129 * cfgcleanup.c (cleanup_cfg): Likewise.
5131 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5133 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5134 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5136 2001-10-26 Richard Henderson <rth@redhat.com>
5138 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5139 rename PV_REG to R27_REG.
5140 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5141 (REG_CLASS_FROM_LETTER): Update.
5142 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5143 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5144 (udivsi3, modsi3, umodsi3): Likewise.
5145 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5147 2001-10-26 Richard Henderson <rth@redhat.com>
5149 * cfg.c (clear_aux_for_blocks): Split out of ...
5150 (free_aux_for_blocks): here.
5151 (clear_aux_for_edges): Split from ...
5152 (free_aux_for_edges): here.
5153 * basic-block.h: Declare them.
5154 * lcm.c (compute_antinout_edge): Use them.
5155 (compute_laterin, compute_available, compute_nearerout): Likewise.
5156 (optimize_mode_switching): Likewise.
5158 2001-10-26 Richard Henderson <rth@redhat.com>
5160 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5161 moving everything back to the main build directory.
5163 2001-10-26 Christopher Faylor <cgf@redhat.com>
5165 * config/i386/cygwin.h: Search target specific include directory, if
5168 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5170 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5171 of macro guards. Fix #endif comment.
5173 * output.h (default_exception_section, default_eh_frame_section):
5174 Move prototypes outside of macro guard.
5176 * crtstuff.c: Fix #endif comment.
5178 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5180 * doc/md.texi (movMM): Clarify semantics of storing into a
5181 non-paradoxical SUBREG.
5183 2001-10-25 Zack Weinberg <zack@codesourcery.com>
5185 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5186 (lang_hook_default_get_alias_set): Move next to other alias
5188 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5189 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5190 (LANG_HOOKS_INITIALIZER): Add it.
5191 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5192 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5193 instead of a loop calling poplevel.
5195 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5197 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5198 occurrences of #elif with #if...#endif.
5200 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5202 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5204 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5206 * alias.c (can_address_p): No longer static.
5207 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5208 Return 0 if all parameters are default values.
5209 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5210 (adjust_address_1): Try harder to compute a size.
5211 * expr.c (expand_assignment, store_constructor): If can't address,
5212 set MEM_KEEP_ALIAS_SET_P.
5213 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5214 (store_field): Likewise.
5215 (store_constructor): Simplify call to store_constructor_field.
5216 * expr.h (can_address_p): New declaration.
5217 * gensupport.c (gen_rtx_CONST_INT): New function.
5218 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5219 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5220 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5222 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5224 2001-10-24 Christopher Faylor <cgf@redhat.com>
5226 * config/i386/cygwin.h: Use proper path for mingw crt files when
5229 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5231 * dwarf2out.c (file_info_cmp): Always return consistent results.
5233 2001-10-24 Roger Sayle <roger@eyesopen.com>
5235 * stmt.c (expand_end_case): Index jumptables from zero for
5236 suitably small values of minval.
5238 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5240 * stor-layout.c (place_union_field): If any field was aligned with
5241 attribute aligned, set record type's TYPE_USER_ALIGN.
5242 (place_field): Likewise.
5243 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5244 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5246 2001-10-24 Zack Weinberg <zack@codesourcery.com>
5248 * c-common.h (struct c_common_identifier): Remove rid_code field.
5249 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5251 * c-typeck.c (constructor_designated): New local flag.
5252 (struct constructor_stack): Add "designated" field to match.
5253 (start_init): Clear it.
5254 (really_start_incremental_init, push_init_level): Push and
5256 (pop_init_level): Pop it.
5257 (set_designator): Set it.
5259 (pop_init_level): Suppress "missing initializer" warnings if
5260 constructor_designated is true.
5261 (process_init_element): Suppress warning about union
5262 initialization under traditional C, if constructor_designated
5265 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5267 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5270 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
5272 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5274 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5276 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5277 the node was already a set to a constant.
5279 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5281 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5282 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5284 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5286 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5287 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
5288 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5289 * s390.c (s390_final_chunkify): Don't use string concatenation.
5290 (s390_function_prologue, s390_function_epilogue): Const-ify.
5291 * s390.h (FUNCTION_PROFILER): Remove unused variable.
5293 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5295 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5298 2001-10-23 Stan Shebs <shebs@apple.com>
5300 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5301 -traditional-cpp in first-stage compilation.
5303 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5305 * gensupport.c (target_flags): Add.
5307 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5309 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5311 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5312 * except.c (expand_builtin_frob_return_addr): Likewise.
5313 (expand_builtin_eh_return): Likewise.
5314 * stmt.c (expand_computed_goto): Likewise.
5315 * explow.c (memory_address): Likewise.
5316 (allocate_dynamic_stack_space): Clean up predicate testing.
5317 (probe_stack_range): Convert SIZE to Pmode.
5318 * calls.c (rtx_for_function_call): Only call convert_memory_address
5320 Pass function call operand as ptr_mode, not Pmode.
5321 * expr.c (expand_assignment): Clean up calls to convert_memory
5322 address by only doing so when needed and making offsets Pmode.
5323 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5324 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5325 is in Pmode, not ptr_mode.
5327 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5329 * darwin-protos.h (constructor_section, destructor_section,
5330 mod_init_section, mod_term_section): Prototype.
5331 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5333 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5335 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
5336 objc_section_init declaration.
5337 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5338 (objc_section_init, try_section_alias): Make static.
5339 (alias_section): Make static and hide unused function.
5340 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5342 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5344 * alias.c (can_address_p): Compnonents are not addressable if
5345 the containing type has alias set 0.
5346 (get_alias_set): Rework to use STRIP_NOPS.
5347 Only call front-end routine on object, type, or object with
5348 NOPs stripped, not inner values.
5349 Use language hook to call front-end routine.
5350 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5351 (expand_builtin_apply): Call set_mem_align on MEMs we make.
5352 Don't pass alignment to emit_block_move.
5353 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5354 (expand_builtin_memset): Likewise, but for clear_storage.
5355 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5356 and remove C++ specific parts.
5357 * c-common.h (c_common_get_alias_set): Add declaration.
5358 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5359 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5360 (save_fixed_argument_area): Call set_mem_align.
5361 Remove alignment in call to emit_block_move.
5362 (emit_library_call_value_1, store_one_arg): Likewise.
5363 (target_for_arg): Remove; disabled long ago.
5364 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5365 once and similar cleanups.
5366 (offset_address): Use proper introductory comment.
5367 * expr.c (emit_block_move): Use alignment from that of MEM args, not
5368 from explicit operand; all callers changed.
5369 (clear_storage): Likewise.
5370 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5371 (store_field): Remove kludge on alias set used for to_rtx.
5372 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5373 (expand_expr_unaligned): Call set_mem_attributes instead of
5375 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5376 * function.c (assign_stack_temp_for_type): Set MEM alignment.
5377 (expand_function_end): Track MEM attributes of trampolines.
5378 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5379 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5380 attributes from original.
5381 * langhooks.c (lang_hook_default_get_alias_set): New function.
5382 (hook_get_alias_set_0): New function.
5383 * langhooks.h (hook_get_alias_set_0): New declaration.
5384 (lang_hook_default_get_alias_set): Likewise.
5385 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5386 * reload1.c (alter_reg): Use adjust_address_nv.
5387 * rtl.c (get_mode_alignment): Moved to here.
5388 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5389 change default if unknown from 1 to BITS_PER_UNIT.
5390 * stor-layout.c (get_mode_alignment): Remove from here.
5391 * toplev.h (struct lang_hoks): Add get_alias_set field.
5392 * tree.h (lang_get_alias_set): Delete declaration.
5393 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5394 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5395 (ix86_va_arg): Likewise.
5396 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5397 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5398 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5399 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5400 (expand_block_move_mem): Remove dead code.
5402 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
5404 * c-common.c (warn_div_by_zero): New.
5405 * c-common.h (warn_div_by_zero): New.
5406 * c-decl.c (c_decode_option): Take it on the command line.
5407 * c-typeck.c (build_binary_op): Warn about division by zero.
5408 * doc/invoke.texi: Document the new command line option, fix
5409 documentation of -Wmultichar.
5410 * testsuite/gcc.dg/divbyzero.c: New tests.
5411 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5413 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5415 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5417 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5418 to avoid update_life_info call.
5419 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5420 * cfgcleanup.c (bb_flags): New enum.
5421 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5422 (notice_new_block, update_forwarder_flag): New functions.
5423 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5424 (try_forward_edges): Likewise; update flags.
5425 (merge_blocks): Likewise.
5426 (outgoing_edges_match): Likewise.
5427 (try_crossjump_to_edge): Likewise.
5428 (try_optimize_cfg): Likewise; initialize and clear the flags;
5429 recompute life info if needed.
5430 (cleanup_cfg): No need to clear aux pointers.
5432 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
5434 * config/i386/i386.c (override_options): Default to minimum
5435 stack alignment when optimizing for code size.
5436 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5439 * config/i386/i386.c (override_options): Set upper limit of
5440 -mpreferred-stack-boundary to 12.
5442 2001-10-22 Zack Weinberg <zack@codesourcery.com>
5444 * recog.c (peephole2_optimize): Add default case to switch.
5446 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
5448 * doc/gcc.texi (Sending Patches): Remove.
5450 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
5452 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5453 fields when comparing.
5455 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5457 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
5458 * arm.c (HOST_INT, HOST_UINT): Likewise.
5460 2001-10-22 Stan Shebs <shebs@apple.com>
5462 * config/darwin-protos.h (darwin_exception_section): Declare.
5463 (darwin_eh_frame_section): Declare.
5465 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5467 * i386.md (movti_rex64): Fix mode.
5469 2001-10-22 Stan Shebs <shebs@apple.com>
5471 * target.h (struct gcc_target): Add asm_out.exception_section,
5472 asm_out.eh_frame_section.
5473 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5474 (TARGET_ASM_EH_FRAME_SECTION): New.
5475 (TARGET_INITIALIZER): Update.
5476 * output.h (default_exception_section): Declare.
5477 (default_eh_frame_section): Declare.
5478 * dwarf2out.c: Include target.h.
5479 (output_call_frame_info): Call target hook for eh frames.
5480 (default_eh_frame_section): New function.
5481 * except.c: Include target.h.
5482 (output_function_exception_table): Call target hook for exception
5484 * varasm.c (default_exception_section): Rename from
5485 exception_section, remove EXCEPTION_SECTION macro.
5487 * config/darwin.h (darwin_eh_frame_section): New function.
5488 (EXCEPTION_SECTION): Remove.
5489 (TARGET_ASM_EXCEPTION_SECTION): Define.
5490 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5491 (nextstep_exception_section): New function.
5492 (nextstep_eh_frame_section): New function.
5493 (TARGET_ASM_EXCEPTION_SECTION): Define.
5494 (TARGET_ASM_EH_FRAME_SECTION): Define.
5496 * config/pa/som.h (EXCEPTION_SECTION): Remove.
5497 (TARGET_ASM_EXCEPTION_SECTION): Define.
5498 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5499 (EXCEPTION_SECTION): Remove.
5500 (TARGET_ASM_EXCEPTION_SECTION): Define.
5501 * config/stormy16/stormy16.h: Remove comments referencing
5502 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5504 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5505 TARGET_ASM_EH_FRAME_SECTION.
5507 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
5509 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5512 * c-format.c: Fix spelling typo in comment.
5514 * sched-int.h: Fix typo in GCC preamble.
5516 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5519 * doc/invoke.texi: Remove references to -fdump-translation-unit.
5521 2001-10-22 Richard Henderson <rth@redhat.com>
5523 * config/i386/i386.c (ix86_expand_clear): New.
5524 * config/i386/i386-protos.h: Declare it.
5525 * config/i386/i386.md (setcc peep2s): Use it.
5526 (movsi_xor): Unexport.
5528 2001-10-22 Richard Henderson <rth@redhat.com>
5530 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5531 free_EXPR_LIST_list for LOG_LINKS.
5533 2001-10-21 Robert Lipe <robertlipe@usa.net>
5535 * config/i386/i386.c (sco_asm_named_section): Delete.
5536 (sco_asm_out_constructor): Delete.
5537 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5538 (ASM_OUTPUT_DOUBLE_INT): Likewise.
5539 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
5540 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5541 (EXCEPTION_SECTION): Delete EH scn renaming hack.
5543 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5545 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5546 and/or fold extra calls into fewer ones.
5547 * collect2.c (dump_file): Likewise.
5548 * cppexp.c (parse_number): Likewise.
5549 * cpplex.c (_cpp_lex_direct): Likewise.
5550 * final.c (output_asm_insn, asm_fprintf): Likewise.
5551 * fix-header.c (inf_scan_ident, main): Likewise.
5552 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5554 * fold-const.c (real_hex_to_f): Likewise.
5555 * gen-protos.c (parse_fn_proto): Likewise.
5556 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5557 * genrecog.c (change_state, write_action): Likewise.
5558 * gensupport.c (shift_output_template): Likewise.
5559 * local-alloc.c (requires_inout): Likewise.
5560 * mips-tfile.c (IS_ASM_IDENT): Likewise.
5561 * protoize.c (is_id_char, main): Likewise.
5562 * real.c (asctoeg): Likewise.
5563 * recog.c (asm_operand_ok): Likewise.
5564 * reload.c (find_reloads): Likewise.
5565 * scan.c (scan_identget_token): Likewise.
5566 * sched-vis.c (print_value): Likewise.
5567 * stringpool.c (ggc_alloc_string): Likewise.
5568 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5569 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5570 * tradcpp.c (rescan): Likewise.
5571 * tree.c (clean_symbol_name): Likewise.
5572 * varasm.c (decode_reg_name): Likewise.
5574 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5575 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5576 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5577 * m88k.c (output_ascii): Likewise.
5578 * m88k.h (OVERRIDE_OPTIONS): Likewise.
5579 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5580 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5581 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5583 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5585 * langhooks.c (lang_hook_default_do_nothing,
5586 lang_hook_default_decode_option): New defaults.
5587 * langhooks.h: Make hooks unconditional and non-NULL.
5588 * toplev.c (compile_file, toplev_main): Update.
5589 * toplev.h: Update comments.
5590 * objc/objc-act.c (lang_hooks): Update to new paradigm.
5592 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5594 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5596 * system.h (IN_RANGE): New macro.
5598 2001-10-21 Zack Weinberg <zack@codesourcery.com>
5600 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5601 INTLDEPS variable, which does not include $LIBICONV.
5602 * Makefile.in: Use INTLDEPS in LIBDEPS.
5603 * configure: Regenerate.
5605 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5607 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5608 * cpplex.c (lex_percent, lex_dot): Remove.
5609 (get_effective_char, skip_block_comment, skip_line_comment,
5610 parse_identifier_slow, parse_number, parse_string, save_comment,
5611 _cpp_lex_direct): Update to do lookback freely.
5612 (IF_NEXT_IS, BACKUP): New macros.
5613 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5614 * cppmacro.c (paste_tokens): Update.
5616 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
5618 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5620 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
5622 * reload1.c (reload): Check CONSTANT_P before calling
5623 LEGITIMATE_PIC_OPERAND_P.
5624 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5625 workaround of 2001-10-13.
5627 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5629 * i386.c (split_di): Handle splitting of DFmode.
5631 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5633 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5634 (adjust_address_1, offset_address): Likewise.
5636 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5637 (output_asm_insn): Call it for each line output.
5638 Don't record an operand more than once.
5640 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5641 * main.c: Include config.h and system.h, but not ansidecl.h.
5642 * Makefile.in (main.o): Update accordingly.
5644 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5646 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5648 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
5650 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5651 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5653 (find_sub_basic_blocks): ... here;
5654 (find_many_sub_basic_blocks): New.
5655 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5657 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5659 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5661 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5663 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5664 * flow.c (update_life_info): Measure time.
5665 * c-decl.c: Include timevar.h
5666 (c_expand_body): Measure time.
5667 * toplev.c (rest_of_compilation): Measure time of mode switching
5669 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5671 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5672 (lang_independent_options): Add asynchronous-unwind-tables
5673 (toplev_main): flag_asynchronous_unwind_tables implies
5675 * flags.h (flag_asynchronous_unwind_tables): Declare.
5676 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5677 flag_asynchronous_unwind_tables.
5678 (output_call_frame_info): Likewise.
5679 * invoke.texi (-fasynchronous-unwind-tables): Document.
5680 * i386.c (optimization_options): Enable
5681 flag_asynchronous_unwind_tables.
5683 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
5684 * i386.md (s* expanders): Destination is QImode.
5686 * toplev.c (rest_of_compilation): Do not call clear_log_links.
5687 * rtl.h (clear_log_links): Kill.
5688 * flow.c (clear_log_links): Make static; accept blocks parameter;
5689 do no clear life info.
5690 (update_life_info): Call clear_log_links.
5692 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5694 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
5696 * cpplex.c (handle_newline, skip_escaped_newlines,
5697 get_effective_char, skip_block_comment, skip_line_comment,
5698 parse_identifier_slow, parse_number, parse_string,
5699 _cpp_lex_direct): Update to do more stepping back.
5700 (trigraph_ok): Similarly. Rename trigraph_p.
5701 (SAVE_STATE, RESTORE_STATE): Remove.
5702 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
5704 * cpplib.c (destringize): Rename destringize_and_run, and
5705 call run_directive directly.
5706 (_cpp_do__Pragma): Simplify.
5708 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5710 * pe.c (arm_pe_unique_section): Const-ify.
5711 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5712 (switch_to_section): Add static prototype.
5714 * output.h (drectve_section): Prototype.
5716 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5718 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5719 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5720 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5721 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5722 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5723 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5724 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5725 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5726 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5727 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5728 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5729 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5730 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5731 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
5732 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
5733 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
5734 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
5735 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
5736 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
5737 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
5738 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
5739 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
5740 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
5741 cris-*-none, cris-*-linux*: Update ${tmfile} list.
5742 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
5743 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
5744 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
5745 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
5746 v850-*-*): Delete superflous ${cpu_type} setting.
5747 * config/linux.h: Delete svr4.h include.
5748 (SET_ASM_OP): Delete.
5749 * config/netware.h (INT_ASM_OP): Undef before define.
5750 * config/ptx4.h: Delete elfos.h include.
5751 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
5752 * config/svr4.h: Delete elfos.h include. Update commentary.
5753 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
5754 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
5755 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
5756 config/v850/v850.h: Delete svr4.h include.
5757 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
5758 config/m68k/m68kv4.h, config/m88k/sysv4.h,
5759 config/sparc/sysv4.h: Update includes.
5760 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
5761 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
5762 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
5763 config/m88k/dguxbcs.h: Delete includes.
5764 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
5765 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
5766 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
5768 * config/m88k/dgux.h: Delete include.
5769 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
5771 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
5772 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
5773 * config/sh/elf.h: Update include.
5774 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
5775 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
5777 2001-10-19 Catherine Moore <clm@redhat.com>
5779 * config/stormy16/stormy-abi: Updates to varargs descriptions.
5780 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
5781 base and count fields.
5782 (stormy16_expand_builtin_va_start): last_reg_count changed to
5783 size_of_reg_args. Use count + size in first comparison.
5785 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5787 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
5788 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
5789 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
5790 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
5791 Set alignment from type if INDIRECT_REF.
5792 (adjust_address_1, offset_address): Simplify alignment compuitation.
5793 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
5794 here; done by set_mem_attributes.
5796 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5798 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
5799 * arm-protos.h (rdata_section, zero_init_section, common_section):
5801 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
5802 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
5803 traditional mode stringification.
5804 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
5805 in macros controling its use.
5806 * rtlanal.c: Include tm_p.h.
5807 * varasm.c (asm_output_aligned_bss): Mark parameter with
5809 (assemble_constant_align, assemble_start_function, assemble_align,
5810 assemble_variable, assemble_trampoline_template,
5811 output_constant_def_contents): Wrap potentially empty if-stmt body
5814 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5816 * a29k-protos.h (literal_section): Prototype.
5817 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
5818 * a29k.md: Ensure function pointers are prototyped.
5819 * genattrtab.c (write_eligible_delay): Mark parameter with
5822 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5824 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5825 * 1750a.c (print_operand): Fix format specifier warning.
5826 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
5827 * 1750a.md: Likewise.
5828 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
5829 * genemit.c (output_add_clobbers): Mark parameter with
5831 * genrecog.c (write_subroutine): Likewise.
5832 * integrate.c (expand_inline_function): Delete unused variable.
5833 * varasm.c (remove_from_pending_weak_list): Wrap with
5836 2001-10-19 Jakub Jelinek <jakub@redhat.com>
5838 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
5839 field is different to previous argument's neg field.
5841 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
5843 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5845 * final.c (get_decl_from_op): New function.
5846 (output_asm_insn): Call it; write "*" when item with decl is address.
5848 2001-10-19 Janis Johnson <janis187@us.ibm.com>
5850 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
5851 about 64-bit support from the 3.0_branch version.
5853 2001-10-19 Zack Weinberg <zack@codesourcery.com>
5855 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
5856 USE_INCLUDED_LIBINTL when appropriate.
5857 * configure, config.in: Regenerate.
5858 * Makefile.in (datadir): Set to @datadir@.
5859 (intl.o): Also depend on $(CONFIG_H) and system.h.
5861 * intl.c: Factor out common gettext initialization sequence.
5862 (gcc_init_libintl): New function.
5863 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
5864 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
5865 off NLS. Add multiple include guard. No need to #ifdef-guard
5866 an #undef. Prototype gcc_init_libintl here.
5868 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
5869 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
5870 Use gcc_init_libintl.
5872 2001-10-19 Catherine Moore <clm@redhat.com>
5874 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
5876 * config/stormy16/stormy16.c (stormy16_split_move): Make
5877 sure that REG_INC notes are present for auto_inc operands.
5879 2001-10-19 Andreas Jaeger <aj@suse.de>
5881 * configure: Regenerated.
5882 * configure.in: Add x86_64 to switch statements.
5884 2001-10-18 Richard Henderson <rth@redhat.com>
5886 * config/alpha/alpha.md (sibcall_osf_1): Load destination
5887 address into $27 explicitly.
5888 (sibcall_value_osf_1): Likewise.
5890 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5892 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
5893 (offset_address): New function.
5894 (free_emit_status): Free regno_decl.
5895 (init_emit): Pass proper number of elements to xcalloc.
5896 Allocate regno_decl.
5897 (mark_emit_status): Mark regno_decl values.
5898 * expr.c (highest_pow2_factor): New function.
5899 (expand_assigment): Use it and offset_address.
5900 Properly handle ptr_mode vs. Pmode in offset calculation.
5901 (store_constructor, expand_expr_unaligned): Likewise.
5902 (expand_expr, case COMPONENT_EXPR): Likewise.
5903 * expr.h (offset_address): New decl.
5904 * function.h (struct emit_status): Add regno_decl.
5905 (REGNO_DECL): New macro.
5906 * final.c (output_asm_name): Move in file and don't conditionalize
5907 on flag_print_asm_name.
5908 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
5909 Output names of operands, if known.
5910 * function.c (assign_parms): Set REGNO_DECL.
5911 * integrate.c (integrate_decl_tree): Likewise.
5912 * stmt.c (expand_decl): Likewise.
5913 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
5915 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
5917 * attribs.c (handle_noinline_attribute): New function.
5918 (handle_used_attribute): Likewise.
5919 (c_common_attribute_table): Added noinline and used.
5920 * doc/extend.texi (Function Attributes): Document them.
5921 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
5922 Warn when merging inline with attribute noinline.
5923 (start_decl, start_function): Warn if inline and attribute
5924 noinline appear in the same declaration.
5926 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
5928 * config.gcc: Update c4x and i370 for C front end-specific
5930 * config/c4x/c4x-c.c: New.
5931 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
5932 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
5934 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
5935 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
5937 (c4x_init_pragma): Remove.
5938 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
5939 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
5940 c4x_pr_ignored): Move to c4x-c.c.
5941 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
5942 * config/c4x/t-c4x: Update.
5943 * config/i370/i370-c.c: New.
5944 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
5945 (i370_pr_map): Move to i370-c.c.
5946 * config/i370/t-i370: New.
5948 * doc/tm.texi: Update.
5950 2001-10-17 Stan Shebs <shebs@apple.com>
5952 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
5953 typo fixes throughout.
5954 (machopic_output_stub): Remove some dead code.
5956 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
5958 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
5961 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5963 * Makefile.in (print-rtl.o): Depend on TREE_H.
5964 * alias.c (get_alias_set): Make two passes over objects to first
5965 see if inner object is access via restricted pointer.
5966 Defer allocating alias set for restricted pointer until here.
5967 Call find_placeholder with second arg nonzero.
5969 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
5970 set for restricted pointer types.
5971 * emit-rtl.c (set_mem_attributes): Set more attributes.
5972 (set_mem_align, change_address, adjust_address_1): New functions.
5973 (change_address_1): Now static.
5974 (adjust_address, adjust_address_nv): Deleted.
5975 (replace_equiv_address): Call change_address_1.
5976 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
5977 (find_placeholder): Get starting point from PLIST arg.
5978 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
5979 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
5980 (adjust_address, adjust_address_nv): New macros.
5981 * print-rtl.c (tree.h): New include.
5982 (print_rtx, case MEM): Print all memory attributes.
5984 2001-10-17 Richard Henderson <rth@redhat.com>
5986 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
5988 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
5990 * c-tree.texi: Eliminate duplicated word.
5991 * cpp.texi: Likewise.
5992 * install.texi: Likewise.
5993 * invoke.texi: Likewise.
5994 * tm.texi: Likewise.
5996 2001-10-17 Michael Collison <collison@isisinc.net>
5998 * dsp16xx.c: Fix comment formatting to match GNU standards.
5999 (dsp16xx_output_function_prologue): Change type of 'size'
6000 parameter from 'int' to HOST_WIDE_INT.
6001 (dsp16xx_output_function_epilogue): Change type of 'size'
6002 parameter from 'int' to HOST_WIDE_INT.
6004 2001-10-16 Richard Henderson <rth@redhat.com>
6006 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6007 * configure, config.in: Rebuild.
6009 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6010 (ix86_output_addr_diff_elt): New.
6011 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6012 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6013 (JUMP_TABLES_IN_TEXT_SECTION): New.
6014 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6015 * config/i386/i386-protos.h: Update.
6017 * config/i386/386bsd.h, config/i386/beos-elf.h,
6018 config/i386/freebsd-aout.h, config/i386/freebsd.h,
6019 config/i386/i386-interix.h, config/i386/i386elf.h,
6020 config/i386/linux.h, config/i386/netbsd-elf.h,
6021 config/i386/netbsd.h, config/i386/openbsd.h,
6022 config/i386/ptx4-i.h, config/i386/rtemself.h,
6023 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6024 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6026 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6028 * stmt.c (expand_asm_operands): Update commentary.
6030 2001-10-16 Stan Shebs <shebs@apple.com>
6032 * config/darwin.h (GCC_NAME): Remove, no longer used.
6033 (NO_MATH_LIBRARY): Ditto.
6034 (MATH_LIBRARY): Define to emptiness.
6035 (DWARF2_DEBUGGING_INFO): Define.
6036 (PREFERRED_DEBUGGING_TYPE): Define.
6037 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6038 (EXCEPTION_SECTION): Define.
6039 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6040 * config/darwin.c (darwin_encode_section_info): Handle case of
6041 DECL_INITIAL being error_mark_node.
6043 2001-10-16 Richard Henderson <rth@redhat.com>
6045 * alpha.c (current_file_function_operand): Don't fail for profiling.
6046 (direct_call_operand): New.
6047 * alpha-protos.h: Declare it.
6048 * alpha.h (EXTRA_CONSTRAINT): Use it.
6049 (PREDICATE_CODES): Add it.
6050 (ASM_OUTPUT_MI_THUNK): Remove.
6051 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6052 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6054 2001-10-16 Krister Walfridsson <cato@df.lth.se>
6056 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6057 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6059 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6061 * cfg.c (free_edge): Break out from ....
6062 (remove_edge): ... here.
6063 (clear_edges): Use free_edge.
6065 * att.h (ASM_QUAD): Add comment.
6066 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6068 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6070 * i386.c (split_ti): New function.
6071 (ix86_split_to_parts): Support TImodes.
6072 * i386.h (VALID_INT_MODE_P): Add TImode.
6073 * i386.md (movdi splitter): Fix.
6074 (movti): Support 64bit integer registers.
6075 (movti_rex64): New function and splitter.
6077 * i386.c (*_cost): Add movsx/movzx cost.
6078 * i386.h (struct processor_costs): Add movsx/movzx fields.
6079 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6080 64bit operations require split on 64bit machine.
6081 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6083 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6084 (ix86_expand_move): Avoid pushes of memory if size does not match;
6085 move long constants to register.
6086 (x86_initialize_trampoline): Fix mode.
6087 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6088 Use ASM_QUAD on 64bit.
6089 * i386.md (test pattern): Disallow impossible constants.
6090 (tablejump PIC expander): Fix emitting of sum.
6091 (movdicc_rex64): Rename to movdicc.
6092 * linux64.h (LINK_SPEC): Add missing '%'.
6094 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
6096 * tree-inline.c (inlinable_function_p): Leave it up to the
6097 front-end to turn -finline-functions into DECL_INLINE set for all
6100 2001-10-16 Stan Shebs <shebs@apple.com>
6102 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6104 2001-10-16 Alan Modra <amodra@bigpond.net.au>
6106 * recog.c: Formatting and comment typo fixes.
6108 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6109 version in single tree build.
6110 * configure: Regenerate.
6112 2001-10-15 David Edelsohn <edelsohn@gnu.org>
6114 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6115 MODE arguments to gen_rtx and compare operand with const0_rtx.
6117 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6119 * system.h: Poison old unused target macros.
6120 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6121 * config/stormy16/stormy16.c: Update references to obsolete macros.
6122 * config/stormy16/stormy16.h: Similarly.
6123 * config/stormy16/stormy16.md: Similarly.
6124 * config/cris/cris.h: Similarly.
6126 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6128 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6129 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6130 cpp_register_pragma): Update accordingly.
6132 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6134 * c-pragma.h (cpp_register_pragma_space): Remove.
6135 * cpplib.h (cpp_register_pragma_space): Remove.
6136 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6137 (cpp_register_pragma_space): Remove.
6138 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6140 (do_pragma): Similarly.
6141 (_cpp_init_internal_pragmas): Don't register namespaces.
6143 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6144 Don't register namespaces.
6145 * cp/lex.c (init_cp_pragma): Similarly.
6146 * doc/tm.texi: Update.
6148 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6151 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6153 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6155 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6156 add scheduling support.
6157 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6158 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6159 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6162 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
6164 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6165 missing CONSTANT_P test in core GCC.
6167 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6169 * cppmain.c (struct printer): New member source.
6170 (scan_translation_unit): Fix spacing at start of lines.
6171 (cb_line_change): Update.
6173 * gcc.dg/cpp/spacing2.c: New test.
6175 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
6177 * config/cris/arit.c: Use __builtin_labs, not abs.
6179 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6181 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6182 misplaced sprintf and fprintf argument.
6184 2001-10-12 Zack Weinberg <zack@codesourcery.com>
6186 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6187 * configure.in, Makefile.in: Take out obsolete check-po logic.
6188 * configure, config.in: Regenerate.
6190 2001-10-12 Ziemowit Laski <zlaski@apple.com>
6192 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6193 symtab declarations.
6195 2001-10-12 Stan Shebs <shebs@apple.com>
6197 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6198 declarations of arguments and local variables.
6200 2001-10-12 Christopher Faylor <cgf@redhat.com>
6202 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6203 ENDFILE_SPEC definition.
6205 2001-10-12 Kazu Hirata <kazu@hxi.com>
6207 * gthr-dce.h: Fix comment formatting.
6208 * gthr-posix.h: Likewise.
6209 * gthr-single.h: Likewise.
6210 * gthr-solaris.h: Likewise.
6211 * gthr-vxworks.h: Likewise.
6212 * gthr-win32.h: Likewise.
6214 2001-10-12 Jakub Jelinek <jakub@redhat.com>
6216 * final.c (output_asm_insn): Make sure assembly dialects are
6217 terminated, not nested. Output `|' and `}' characters if they
6218 don't appear inside assembly dialect selection.
6219 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6220 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6221 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6222 strsetsi_rex_1): Add {} braces.
6224 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6226 * toplev.c (compile_file): Ignore return value from yyparse.
6227 Always pop any nested binding levels after yyparse returns.
6229 2001-10-11 Richard Henderson <rth@redhat.com>
6231 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6233 2001-10-11 Richard Henderson <rth@redhat.com>
6235 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6236 fall back to add_AT_long_long for large CONST_INT.
6238 2001-10-11 Richard Henderson <rth@redhat.com>
6240 * config/i386/i386.md (setcc splitters): Add four splitters to
6241 simplify compound compares that simplify_comparison can't handle.
6243 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6245 * cpplex.c (digraph_spellings, token_spellings): Make static.
6247 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6249 * unroll.c (loop_iterations): Fixup last patch.
6251 2001-10-11 Richard Henderson <rth@redhat.com>
6253 * rtl.h (REG_VTABLE_REF): New.
6254 * rtl.c (reg_note_name): Add it.
6255 * combine.c (distribute_notes): Handle it.
6256 * final.c (final_scan_insn): Handle it.
6257 * tree.def (VTABLE_REF): New.
6258 * expr.c (expand_expr): Handle it.
6259 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6260 * output.h: Declare them.
6262 2001-10-11 Richard Henderson <rth@redhat.com>
6264 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6267 2001-10-11 David Edelsohn <edelsohn@gnu.org>
6269 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6270 available in 64-bit mode.
6272 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6274 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6275 cris-*-linux* cases.
6276 * config/cris/cris-protos.h: New file.
6277 * config/cris/cris.c: New file.
6278 * config/cris/cris.h: New file.
6279 * config/cris/cris.md: New file.
6280 * config/cris/linux.h: New file.
6281 * config/cris/aout.h: New file.
6282 * config/cris/arit.c: New file.
6283 * config/cris/cris_abi_symbol.c: New file.
6284 * config/cris/mulsi3.asm: New file.
6285 * config/cris/t-aout: New file.
6286 * config/cris/t-cris: New file.
6287 * config/cris/t-elfmulti: New file.
6288 * config/cris/t-linux: New file.
6289 * doc/invoke.texi: Add CRIS options.
6290 * doc/install.texi (Specific): Add blurb for CRIS.
6292 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6294 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6296 * config/float/i32.h: Likewise.
6297 * config/float-i386.h: Likewise.
6298 * config/float-i64.h: Likewise.
6299 * config/float-m68k.h: Likewise.
6300 * config/float-sh.h: Likewise.
6301 * config/float-sparc.h: Likewise.
6303 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6305 * doc/contrib.texi: Add note about CRIS port to my entry.
6307 2001-10-11 Kazu Hirata <kazu@hxi.com>
6309 * basic-block.h: Fix formatting.
6310 * bitmap.h: Likewise.
6311 * cpplib.h: Likewise.
6312 * c-tree.h: Likewise.
6313 * diagnostic.h: Likewise.
6314 * flags.h: Likewise.
6316 * longlong.h: Likewise.
6318 * reload.h: Likewise.
6322 2001-10-10 Richard Henderson <rth@redhat.com>
6324 * c-parse.in (asm_operand): Allow named operands.
6325 * genconfig.c (max_recog_operands): Set to 29.
6326 * local-alloc.c (requires_inout): Skip multiple digits.
6327 * recog.c (asm_operand_ok): Likewise.
6328 (preprocess_constraints): Use strtoul for matching constraints.
6329 (constrain_operands): Likewise.
6330 * regmove.c (find_matches): Likewise.
6331 * reload.c (find_reloads): Likewise.
6332 * stmt.c (parse_output_constraint): Don't reject in-out
6333 constraint on operands > 9. Reject '[' in constraint.
6334 (expand_asm_operands): Handle named operands. Use strtoul
6335 for matching constraints.
6336 (check_operand_nalternatives): Split out from expand_asm_operands.
6337 (check_unique_operand_names): New.
6338 (resolve_operand_names, resolve_operand_name_1): New.
6340 * doc/extend.texi (Extended Asm): Document named operands.
6341 * doc/md.texi (Simple Constraints): Document matching constraints
6344 2001-10-10 Richard Henderson <rth@redhat.com>
6346 * combine.c (try_combine): Handle a SEQUENCE of one insn.
6348 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6349 (jcc splitters): Add two splitters to simplify compound compares
6350 that simplify_comparison can't handle.
6352 2001-10-10 Richard Henderson <rth@redhat.com>
6354 * langhooks.c: Include langhooks.h.
6355 * Makefile.in (langhooks.o): Depend on it.
6357 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
6359 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6360 should not be considered as a no-op.
6361 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6363 2001-10-10 Stan Shebs <shebs@apple.com>
6365 * alias.c: Remove uses of "register" specifier in declarations
6366 of arguments and local variables.
6367 * c-common.c: Ditto.
6368 * c-convert.c: Ditto.
6370 * c-format.c: Ditto.
6371 * c-semantics.c: Ditto.
6372 * c-typeck.c: Ditto.
6373 * caller-save.c: Ditto.
6376 * cfgbuild.c: Ditto.
6378 * collect2.c: Ditto.
6382 * cppfiles.c: Ditto.
6385 * defaults.h: Ditto.
6387 * dwarf2out.c: Ditto.
6388 * dwarfout.c: Ditto.
6389 * emit-rtl.c: Ditto.
6394 * fix-header.c: Ditto.
6395 * floatlib.c: Ditto.
6397 * fold-const.c: Ditto.
6398 * function.c: Ditto.
6401 * gen-protos.c: Ditto.
6402 * genattrtab.c: Ditto.
6403 * gencheck.c: Ditto.
6404 * genconfig.c: Ditto.
6406 * genextract.c: Ditto.
6407 * genflags.c: Ditto.
6408 * gengenrtl.c: Ditto.
6409 * genoutput.c: Ditto.
6411 * genrecog.c: Ditto.
6412 * gensupport.c: Ditto.
6416 * haifa-sched.c: Ditto.
6417 * hard-reg-set.h: Ditto.
6419 * integrate.c: Ditto.
6422 * local-alloc.c: Ditto.
6424 * mips-tdump.c: Ditto.
6425 * mips-tfile.c: Ditto.
6428 * print-rtl.c: Ditto.
6429 * read-rtl.c: Ditto.
6432 * reg-stack.c: Ditto.
6433 * regclass.c: Ditto.
6438 * resource.c: Ditto.
6442 * sched-deps.c: Ditto.
6443 * sched-rgn.c: Ditto.
6445 * simplify-rtx.c: Ditto.
6447 * stor-layout.c: Ditto.
6454 * xcoffout.c: Ditto.
6456 2001-10-10 Richard Henderson <rth@redhat.com>
6458 * rtl.h (can_reverse_comparison_p): Remove.
6460 2001-10-10 Christopher Faylor <cgf@redhat.com>
6462 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6465 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6467 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6468 (Thanks to Chris Faylor for suggesting macro name).
6469 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6471 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6472 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6473 (MATH_LIBRARY): Undef before definition.
6474 (OUTPUT_QUOTED_STRING): Likewise.
6475 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6477 2001-10-10 Richard Henderson <rth@redhat.com>
6479 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6480 (fde_unencoded_compare): Likewise. Don't use subtraction to get
6481 a tristate comparison value.
6482 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6484 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6487 * unroll.c (loop_iterations): Ignore insns generated by loop
6490 * config.gcc (mips*-*-gnu*): Delete support.
6491 * config/mips/gnu.h: Remove.
6493 2001-10-10 Kazu Hirata <kazu@hxi.com>
6495 * calls.c: Fix formatting.
6496 * c-decl.c: Likewise.
6497 * cfgcleanup.c: Likewise.
6498 * combine.c: Likewise.
6499 * cppfiles.c: Likewise.
6500 * cpplib.c: Likewise.
6501 * cppmacro.c: Likewise.
6502 * crtstuff.c: Likewise.
6504 * dwarf2out.c: Likewise.
6505 * expmed.c: Likewise.
6507 * fold-const.c: Likewise.
6508 * function.c: Likewise.
6510 * genattrtab.c: Likewise.
6511 * ggc-page.c: Likewise.
6512 * integrate.c: Likewise.
6513 * libgcc2.c: Likewise.
6515 * optabs.c: Likewise.
6516 * profile.c: Likewise.
6517 * protoize.c: Likewise.
6519 * recog.c: Likewise.
6520 * reload1.c: Likewise.
6521 * reload.c: Likewise.
6522 * reorg.c: Likewise.
6523 * resource.c: Likewise.
6524 * sched-rgn.c: Likewise.
6525 * sdbout.c: Likewise.
6527 * toplev.c: Likewise.
6528 * varasm.c: Likewise.
6530 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
6532 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6533 * Makefile.in (langhooks.o): Add dependencies.
6535 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
6537 * rs6000.c (rs6000_emit_load_toc_table): Don't
6538 strdup the toc label.
6539 (create_TOC_reference): Likewise.
6541 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6543 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6546 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6548 * config/i386/i386.c (ix86_attribute_table): Correct
6549 min_len, max_len fields for dllimport, dllexport and shared.
6551 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
6553 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6554 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6555 Consistently use "nonzero" instead of "non-zero".
6557 2001-10-09 Kazu Hirata <kazu@hxi.com>
6559 * acconfig.h: Fix comment formatting.
6560 * c-dump.h: Likewise.
6561 * c-tree.h: Likewise.
6562 * conditions.h: Likewise.
6564 * function.h: Likewise.
6566 * hwint.h: Likewise.
6567 * integrate.h: Likewise.
6570 * optabs.h: Likewise.
6572 2001-10-09 Kazu Hirata <kazu@hxi.com>
6574 * c-common.h: Fix comment formatting.
6575 * c-dump.c: Likewise.
6577 * diagnostic.h: Likewise.
6578 * except.c: Likewise.
6580 * gcov-io.h: Likewise.
6581 * genattrtab.c: Likewise.
6582 * output.h: Likewise.
6583 * predict.h: Likewise.
6584 * reload1.c: Likewise.
6585 * reload.h: Likewise.
6586 * resource.h: Likewise.
6588 * system.h: Likewise.
6590 * tree-inline.c: Likewise.
6591 * tsystem.h: Likewise.
6592 * varasm.c: Likewise.
6593 * xcoffout.h: Likewise.
6595 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6597 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6599 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6601 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6602 config/i386/i386elf.h, config/i386/netbsd-elf.h,
6603 config/i386/netware.h, config/mcore/gfloat.h,
6604 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6605 config/netware.h, gccbug.in: Update FSF address.
6607 2001-10-09 Kazu Hirata <kazu@hxi.com>
6609 * c-common.c: Fix comment typos.
6610 * cfgrtl.c: Likewise.
6611 * collect2.c: Likewise.
6612 * cpplex.c: Likewise.
6613 * doloop.c: Likewise.
6614 * dwarf2out.c: Likewise.
6615 * dwarfout.c: Likewise.
6617 * fold-const.c: Likewise.
6621 * global.c: Likewise.
6622 * ifcvt.c: Likewise.
6624 * optabs.c: Likewise.
6625 * protoize.c: Likewise.
6626 * regclass.c: Likewise.
6627 * reorg.c: Likewise.
6631 * doc/cpp.texi: Likewise.
6632 * doc/c-tree.texi: Likewise.
6633 * doc/extend.texi: Likewise.
6634 * doc/invoke.texi: Likewise.
6635 * doc/objc.texi: Likewise.
6636 * doc/tm.texi: Likewise.
6638 2001-10-08 Richard Henderson <rth@redhat.com>
6640 * varasm.c (set_named_section_flags): Initialize "declared".
6642 2001-10-08 Robert Lipe <robertlipe@usa.net>
6644 * varasm.c (struct in_named_entry): Add declared.
6645 (named_section_first_declaration): New function.
6646 (default_elf_asm_named_section): Use it.
6647 * output.h (named_section_first_declaration): New.
6649 2001-10-08 Richard Henderson <rth@redhat.com>
6651 * i386.md (movsi_xor): Export.
6652 (setcc peep2): Use it when available; add an alternative to
6653 match zero_extendhisi2_and.
6655 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6657 * romp-protos.h (romp_initialize_trampoline): New function.
6658 * romp.c (romp_initialize_trampoline): Likewise.
6659 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6660 romp_initialize_trampoline.
6662 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6664 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6665 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6666 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6667 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6669 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6671 * unroll.c (loop_iterations): Extend check for multiple back edges.
6673 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
6675 * langhooks.h: New file.
6676 * Makefile.in (OBJS): Added langhooks.o.
6677 (c-lang.o): Depend on langhooks.h.
6678 (c-common.o): Don't depend on tree-inline.h.
6679 (tree-inline.o): Depend on toplev.h.
6680 (langhooks.o): New rule.
6681 * c-common.c: Don't include tree-inline.h.
6682 (c_mark_lang_decl): Mark argument c as unused.
6683 (c_common_lang_init): Don't initialize hooks here.
6684 * c-lang.c: Include langhooks.h, then override some macros.
6685 (lang_hooks): Initialize with macros in langhooks.h.
6686 (c_init): Don't initialize hooks here.
6687 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6688 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
6689 * tree-inline.c: Include toplev.h. Don't define hook variables.
6690 * tree-inline.h: Don't define hook types nor declare hook
6691 variables. Move macros to...
6692 * langhooks.c: ... new file, as functions. Adjust all callers.
6694 2001-10-08 Jeffrey A Law <law@cygnus.com>
6696 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6697 purge_mem_unchanging_flag on all instructions, not just on those
6698 before NOTE_INSN_FUNCTION_BEG.
6700 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6702 * cppmacro.c (_cpp_create_definition): Leave comments off.
6704 * doc/cpp.texi: Update.
6706 2001-10-08 DJ Delorie <dj@redhat.com>
6708 * c-decl.c (grokfield): Make sure the only unnamed fields
6709 we're allowing are either structs or unions.
6710 * doc/extend.texi: Add documentation for the unnamed field
6713 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6715 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6716 * configure.in: Use it.
6717 * configure: Regenerated.
6718 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6719 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6721 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6723 * cppfiles.c (open_file): Don't mark zero-length files
6724 never-reread here. Don't output diagnostics here either.
6725 (stack_include_file): Mark them never-reread here.
6726 (_cpp_read_file): Update.
6728 2001-10-08 Richard Henderson <rth@redhat.com>
6730 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6732 2001-10-08 Richard Henderson <rth@redhat.com>
6734 * expr.c (store_expr): When converting a CONST_INT for storage
6735 in a SUBREG, convert it to both SUBREG modes before stripping
6738 2001-10-08 Richard Henderson <rth@redhat.com>
6740 * varasm.c (restore_varasm_status): New.
6741 * function.h: Declare it.
6742 * function.c (pop_function_context_from): Call it.
6744 2001-10-08 Richard Henderson <rth@redhat.com>
6746 * c-common.h (struct c_lang_decl): Add declared_inline.
6747 * c-tree.h (DECL_DECLARED_INLINE_P): New.
6748 * c-lang.c (c_disregard_inline_limits): Use it.
6749 * c-decl.c (duplicate_decls): Likewise.
6750 (pushdecl, redeclaration_error_message): Likewise.
6751 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
6752 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
6753 Set DECL_INLINE if -finline-functions.
6754 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
6756 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6758 * cppmacro.c (funlike_invocation_p): Move some logic to caller
6759 in enter_macro_context. Create a padding token in its own context
6760 if necessary when the search for '(' fails.
6761 (enter_macro_context): Update.
6763 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6765 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
6766 genmultilib, toplev.c: Fix spelling errors of "separate" as
6767 "seperate", and corresponding spelling errors of related words.
6769 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6771 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
6772 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
6774 * c-dump.c (dump_option_value_info): Likewise.
6775 * c-format.c (format_length_info, format_char_info,
6776 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
6777 * collect2.c (names): Likewise.
6778 * cppdefault.h (default_include): Likewise.
6779 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
6780 * flow.c (life_analysis): Likewise.
6781 * gcc.c (dir_separator_str, modify_target, option_map,
6782 target_option_translations, spec_list_1, extra_specs_1,
6783 init_spec): Likewise.
6784 * gcov.c (gcov_version_string): Likewise.
6785 * genattr.c (write_units): Likewise.
6786 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
6787 * gengenrtl.c (rtx_definition, defs): Likewise.
6788 * genrecog.c (pred_table): Likewise.
6789 * global.c (global_alloc): Likewise.
6790 * lcm.c (optimize_mode_switching): Likewise.
6791 * local-alloc.c (find_free_reg): Likewise.
6792 * params.h (param_info): Likewise.
6793 * predict.c (predictor_info): Likewise.
6794 * protoize.c (unexpansion_struct): Likewise.
6795 * real.c (bmask): Likewise.
6796 * recog.h (insn_operand_data, insn_data): Likewise.
6797 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
6798 * stmt.c (expand_nl_goto_receiver): Likewise.
6799 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
6800 target_switches, target_options): Likewise.
6801 * tradcif.y (token, tokentab2, yylex): Likewise.
6802 * tree.h (attribute_spec): Likewise.
6804 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
6806 * arc.c (arc_output_function_epilogue): Likewise.
6807 * arm.c (processors, all_cores, all_architectures,
6808 arm_override_options, isr_attribute_arg, isr_attribute_args,
6809 arm_isr_value): Likewise.
6810 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
6812 * c4x.c (c4x_int_reglist): Likewise.
6813 * d30v.c (override_options): Likewise.
6814 * h8300.c (shift_insn): Likewise.
6815 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
6816 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
6817 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
6818 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
6819 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
6820 * i386.h (processor_costs, ix86_cost): Likewise.
6821 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
6822 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
6823 * m68k.c (codes_68881, codes_FPA): Likewise.
6824 * m88k.c (mode_from_align, max_from_align, all_from_align,
6825 best_from_align, m_options): Likewise.
6826 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
6827 * mcore.c (mode_from_align): Likewise.
6828 * mips/elf64.h (UNIQUE_SECTION): Likewise.
6829 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
6830 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
6831 * mips.h (mips_regno_to_class): Likewise.
6832 * ns32k.c (scales): Likewise.
6833 * pa.c (import_string, magic_milli): Likewise.
6834 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
6835 * sparc.c (leaf_reg_remap, sparc_override_options,
6836 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
6838 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
6840 2001-10-07 Dale Johannesen <dalej@apple.com>
6842 * reload1.c (reload_reg_free_p): Teach register interference
6843 checking that multiple output reloads are emitted in
6845 reload1.c (reload_reg_reaches_end_p): Ditto.
6846 reload1.c (reloads_conflict): Ditto.
6848 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6850 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
6851 NULL_TREE inside @code.
6853 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6855 * doc/gcc.texi: Document consistent style of "32-bit",
6856 "Objective-C", and "@code{NULL}".
6858 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6860 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
6861 (cpp_token_len, cpp_spell_token, cpp_output_token,
6862 _cpp_equiv_tokens): Handle it.
6863 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
6864 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
6865 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
6868 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6870 * gcc.c (default_compilers): Remove .ada.
6872 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
6874 * doc/cppinternals.texi: Update.
6876 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6878 * gcc.c (main): Set this_file_error if the appropriate
6879 compiler for a language has not been installed.
6881 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
6883 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
6885 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
6887 * gccbug.in (CATEGORIES): Add ada.
6889 2001-10-05 Catherine Moore <clm@redhat.com>
6891 * config/stormy16/stormy-abi: Document abi changes.
6892 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
6893 (ICALL_REGS): New register class.
6894 (NUM_ARGUMENT_REGISTERS): Now 6.
6895 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
6897 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
6898 * config/stormy16.md (call_internal, call_value_internal,
6899 indirect_jump): Use new 'z' constraint.
6901 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6903 * doc/cppinternals.texi: Update.
6905 2001-10-05 Richard Henderson <rth@redhat.com>
6907 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
6908 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
6909 the gas section-name-as-label feature.
6911 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6913 * doc/cppinternals.texi: Update.
6915 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6917 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
6918 to ensure valid SImode constants.
6920 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
6922 * Makefile.in (c-decl.o): Depend on tree-inline.h.
6923 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
6924 * c-decl.c: Include tree-inline.h.
6925 (c_expand_body): Call optimize_inline_calls. Determine whether
6926 a function is inlinable upfront, and only clear
6927 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
6928 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
6929 (c_disregard_inline_limits): New function.
6930 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
6931 (c_post_options): Enable tree inlining if inlining is enabled.
6932 Don't inline trees when instrumenting functions.
6933 (c_init): Initialize lang_disregard_inline_limits and
6934 lang_cannot_inline_tree_fn.
6935 * tree-inline.c (initialize_inlined_parameters): Handle calls
6936 with fewer arguments than declared parameters, and fewer
6937 parameters than passed arguments. Don't assume value is a
6939 (declare_return_variable): Convert return value back to the
6940 original type, if it was promoted.
6941 (tree_inlinable_function_p): New function.
6942 (inlinable_function_p): Don't look at DECL_INLINE if we're
6943 inlining all functions. Make it work with a NULL id.
6944 Re-check DECL_UNINLINABLE after language-specific checks.
6945 * tree-inline.h (tree_inlinable_function_p): Declare it.
6946 * integrate.c (save_for_inline): Don't bother to prepare argvec
6948 * cse.c (check_for_label_ref): Don't check deleted labels.
6950 * Makefile.in (tree-inline.o): Depend on newly-included headers.
6951 * tree-inline.c: Include headers needed for the functions moved in.
6952 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
6953 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
6954 (copy_body, initialize_inlined_parameters): Likewise.
6955 (declare_return_variable, inlinable_function_p): Likewise.
6956 (expand_call_inline, expand_calls_inline): Likewise.
6957 (optimize_inline_calls, clone_body): Likewise.
6958 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
6959 (copy_tree_r, remap_save_expr): Likewise.
6961 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
6963 * Makefile.in (OBJS): Added tree-inline.o.
6964 (c-common.o): Depend on tree-inline.h.
6965 (tree-inline.o): New target.
6966 * c-common.c: Include tree-inline.h.
6967 (c_mark_lang_decl): Don't mark saved_tree.
6968 (c_common_lang_init): Set lang_anon_aggr_type_p.
6969 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
6970 (struct c_lang_decl): Moved saved_tree to tree_decl.
6971 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
6972 * integrate.h (function_attribute_inlinable_p): Declare it.
6973 * integrate.c (function_attribute_inlinable_p): Export it.
6974 * tree-inline.c: New file. Define variables declared in...
6975 * tree-inline.h: New file. Declare functions to be moved to
6976 tree-inline.c. Define macros and declare types and hooks for
6977 language-specific tree inlining.
6978 (flag_inline_trees): Moved definition from cp/decl2.c.
6979 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
6980 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
6981 (struct tree_decl): Moved saved_tree from c_lang_decl and
6982 inlined_fns from C++'s lang_decl.
6984 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
6986 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
6987 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
6989 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
6991 * doc/cppinternals.texi: Update.
6993 2001-10-04 Eric Christopher <echristo@redhat.com>
6995 * config/mips/mips.c (init_cumulative_args): Remember to set
6997 * config.gcc: Redo linux configuration. Add target_cpu_default
6998 of soft-float to all mipsisa32 combinations and tx39.
6999 * config/mips/linux.h: Remove include of mips.h.
7001 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
7003 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7004 HOST_LDFLAGS and HOST_CPPFLAGS.
7006 2001-10-03 Ziemowit Laski <zlaski@apple.com>
7008 * c-parse.in (objc_inherit_code, objc_pq_context,
7009 objc_public_flag): Make static.
7010 (objc_interface_context, objc_implementation_context,
7011 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7012 global tree array in objc/objc-act.[ch].
7013 (methoddef): Remove unnecessary code.
7015 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7016 Hoist struct definitions to objc-act.h.
7017 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7018 cat_count): Place declaration in objc-act.h.
7019 (objc_tree_index): Move enumeration to objc-act.h.
7020 (objc_global_trees): Place declaration and macro accessors in
7022 (implementation_context): Remove duplicate; use
7023 objc_implementation_context instead:
7024 (method_context): Remove duplicate; use objc_method_context
7026 (objc_ellipsis_node, objc_method_prototype_template,
7027 implemented_classes, function_type): Move global vars to
7029 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7030 (build_message_expr): Move actual construction of ObjC message
7031 send nodes to finish_message_expr.
7032 (finish_message_expr): New routine, contains code formerly in
7034 * objc/objc-act.h (finish_message_expr): New prototype.
7035 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7036 declarations; these vars are now part of objc_global_trees.
7037 (objc_tree_index, objc_global_trees): Move definitions from
7039 * objc/objc-tree.def: Update copyright info.
7041 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7043 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7045 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7046 only if TARGET_ARCH64.
7048 2001-10-02 Bernd Schmidt <bernds@redhat.com>
7050 * doc/extend.texi: Fix some problems with previous checkin.
7051 * doc/invoke.texi: Likewise.
7053 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7055 * cpphash.h: Update comments.
7056 (cpp_context): Update.
7057 (spec_nodes): Remove n__Pragma.
7058 * cppinit.c (cpp_create_reader): Update.
7059 (builtin_array): Add _Pragma.
7060 * cpplib.h: Update comments.
7061 (NODE_DISABLED, BT_PRAGMA): New.
7062 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7063 * cppmacro.c (struct cpp_macro): Remove disabled.
7064 (builtin_macro): Return int, handle _Pragma, push the new token
7065 on the context stack.
7066 (funlike_invocation_p): Unconstify, update.
7067 (enter_macro_context): Handle builtins here.
7068 (replace_args, push_token_context, push_ptoken_context):
7069 Update for prototype changes.
7070 (_cpp_pop_context): Update.
7071 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7072 (cpp_sys_macro_p): Update.
7073 (_cpp_free_definition): Clear disabled flag.
7074 (_cpp_create_definition): Upate.
7075 * cppmain.c: Update comments.
7077 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
7078 Andreas Jaeger <aj@suse.de>,
7079 Jan Hubicka <jh@suse.cz>
7081 * doc/invoke.texi (i386 Options): Document x86-64 options.
7082 (i386 and x86-64 Options): Rename i386 options section.
7084 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7085 (TARGET_SWITCHES): Add -munwind-info.
7086 (MASK_NO_UNWIND_INFO): New.
7087 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7089 (ASM_OUTPUT_DOUBLE_INT): New.
7091 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7092 * config.gcc: Fix tm_file settings for x86-64.
7093 * config/i386/x86-64.h: New file with OS independent x86-64
7095 * config/i386/biarch64.h: New file used to configure compiler
7096 to biarch/64bit compilation.
7098 * config/i386/i386.c: (override_options): Set flags default
7099 for 64bit compilation.
7101 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7103 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7104 (ix86_expand_int_movcc): Optimize DImode conditional moves with
7105 constants on x86_64.
7106 (ix86_attr_length_immediate_default): Support MODE_DI.
7107 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7109 (indirect_jump, tablejump): Turn into expander.
7111 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7113 * c-common.c (c_format_attribute_table): Make format and
7114 format_arg attributes apply to function types rather than to
7116 (is_valid_printf_arglist): Construct an attribute list and pass
7117 that to check_function_format rather than a name.
7118 * c-common.h (check_function_format): Adjust prototype.
7119 * c-decl.c (duplicate_decls): Preserve attributes from type of
7120 built-in decl when allowing for harmless conflict in types.
7121 * c-format.c (record_function_format,
7122 record_international_format, function_format_list,
7123 international_format_info, international_format_list): Remove.
7124 (function_format_info): Remove next, name and assembler_name.
7125 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7126 (decode_format_attr): New.
7127 (handle_format_attribute): Handle receiving a type rather than a
7128 decl. Call decode_format_attr. Store format information in a
7129 function_format_info.
7130 (handle_format_arg_attribute): Correct comment. Handle receiving
7131 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7133 (check_format_info_recurse, check_format_info_main): Take argument
7134 numbers as unsigned HOST_WIDE_INT.
7135 (check_function_format): Take a list of attributes from the
7136 function type rather than a name or assembler name. Check for
7137 format attributes in that list and the attributes on the type of
7138 the current function rather than looking through
7139 function_format_list.
7140 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7142 (check_format_info_recurse): Take format_arg attributes from the
7143 type of the function calls rather than using
7144 international_format_list. Allow for multiple format_arg
7146 * c-typeck.c (build_function_call): Pass type attributes to
7147 check_function_format rather than name or assembler name. Don't
7148 require there to be a name or assembler name to check formats.
7150 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7152 * attribs.c (decl_attributes): Possibly call
7153 insert_default_attributes to insert default attributes on
7154 functions in a lazy manner.
7155 * builtin-attrs.def: New file; define the default format and
7156 format_arg attributes.
7157 * c-common.c (c_format_attribute_table): Move to earlier in the
7159 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7160 (enum built_in_attribute, built_in_attributes,
7161 c_attrs_initialized, c_init_attributes,
7162 c_common_insert_default_attributes): New.
7163 (c_common_lang_init): Don't initialize format_attribute_table. Do
7164 call c_init_attributes.
7165 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7166 * c-common.h (init_function_format_info): Don't declare.
7167 (c_common_insert_default_attributes): Declare.
7168 * c-decl.c (implicitly_declare, builtin_function): Call
7170 (init_decl_processing): Don't call init_function_format_info.
7171 (insert_default_attributes): New.
7172 * c-format.c (handle_format_attribute,
7173 handle_format_arg_attribute): Be quiet about inappropriate
7174 declaration when applying default attributes.
7175 (init_function_format_info): Remove.
7176 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7177 (insert_default_attributes): Declare.
7179 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7181 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7183 2001-10-01 Jim Wilson <wilson@redhat.com>
7185 * sched-deps.c (add_dependence): When elide conditional dependence,
7186 check that insn doesn't modify cond2.
7188 2001-10-01 Dale Johannesen <dalej@apple.com>
7190 * config/rs6000/rs6000.h (enum processor_type): Add support
7191 for 7400 (G4) and 7450.
7193 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7194 (rs6000_issue_rate): Ditto.
7195 (rs6000_adjust_cost): Fix cycle counts for compares.
7196 (debug_stack_info): Fix an obvious typo.
7197 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7198 * doc/invoke.texi: Document.
7199 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7201 (PROCESSOR_DEFAULT): Ditto.
7203 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
7205 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7206 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7207 later recursive make invocation.
7209 2001-10-01 Hans Boehm <boehm@acm.org>
7211 * optabs.c (emit_libcall_block): When using non-call exceptions,
7212 don't add REG_LIBCALL reg notes to trapping calls.
7214 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7216 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7217 (propagate_one_insn): Update for above change
7219 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7221 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7222 _Unwind_GetTextRelBase): Argument is unused.
7224 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7226 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7227 Loop through NOPs, placeholders, and components.
7228 Don't go through NOPs if change mode.
7229 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7230 * emit-rtl.c (set_mem_alias_set): Enable check.
7231 * expr.c (find_placeholder): New function.
7232 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7233 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7234 to modify it and avoid unneeded copies.
7235 * expr.h (expand_expr): Always define.
7236 (find_placeholder): New declaration.
7238 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7240 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7241 operand 2 is the stack pointer.
7242 ("addr-peephole"): Fix address computation peephole when operand 2
7243 is the stack pointer.
7245 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7247 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7248 (ix86_setup_incoming_varargs): Likewise.
7250 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
7252 * stor-layout.c (layout_type): Don't complain about too-large
7255 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7257 * function.c (keep_stack_depressed): Don't use delete_insn.
7259 * expr.h (set_mem_alias_set): Move decl to here.
7260 * rtl.h (mem_attrs): New typedef and struct.
7261 (union rtunion_def): Add field for mem_attrs.
7262 (X0MEMATTR, MEM_ATTRS): New macros.
7263 (MEM_ALIAS_SET): Use MEM_ATTRS.
7264 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7265 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7266 (set_mem_alias_set): Delete decl from here.
7268 * alias.c (set_mem_alias_set): Delete from here.
7269 * emit-rtl.c (mem_attrs_htab): New variable.
7270 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7271 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7272 (mem_attrs_mark, get_mem_attrs): Likewise.
7273 (gen_rtx_MEM): Clear MEM_ATTRS.
7274 (set_mem_attributes): Move to here.
7275 (set_mem_alias_set): Likewise, and call get_mem_attrs.
7276 (init_emit_once): const_int_htab now deletable htab.
7277 Initialize mem_attrs_htab.
7278 * explow.c (set_mem_attributes): Delete from here.
7279 * function.c (put_var_into_stack): Clear MEM_ATTRS.
7280 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7281 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7282 * reload1.c (reload): Rework changing REG to MEM.
7284 2001-09-30 H.J. Lu <hjl@gnu.org>
7286 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7287 * config.in: Rebuild.
7289 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7291 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7292 ("tsthi_1"): Avoid allocation in register y.
7293 ("*movqi_68hc12"): Reorganize and fix constraints.
7294 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7295 ("addqi3"): Likewise.
7296 ("addhi3"): Fix constraints.
7297 ("*logicalhi3_zexthi"): Disparage soft registers.
7299 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7301 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7304 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7306 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7307 that we use setjmp/longjmp exceptions.
7309 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
7311 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7312 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7313 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7314 _cpp_pool_alloc, _cpp_next_chunk): Remove.
7315 (_cpp_extend_buff, BUFF_ROOM): Update.
7316 (_cpp_append_extend_buff): New.
7317 (struct cpp_reader): Remove macro_pool, add a_buff.
7318 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7320 (cpp_destroy): Free a_buff instead of macro_pool.
7321 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7322 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7323 _cpp_pool_alloc, ): Remove.
7324 (parse_number, parse_string): Update use of _cpp_extend_buff.
7325 (_cpp_extend_buff): Update.
7326 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7327 * cpplib.c (glue_header_name, parse_answer):
7328 Update use of _cpp_extend_buff.
7329 (cpp_register_pragma, cpp_register_pragma_space): Use
7331 (do_assert, do_unassert): Check for EOL, update.
7332 * cppmacro.c (stringify_arg, collect_args): Update to use
7333 _cpp_extend_buff and _cpp_append_extend_buff.
7334 (save_parameter, parse_params, alloc_expansion_token,
7335 _cpp_create_definition): Rework memory management.
7337 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
7339 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7340 update md_exec_prefix.
7341 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7344 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
7346 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7347 (SELECT_CC_MODE): Use s390_select_ccmode.
7348 * config/s390/s390-protos.h (s390_select_ccmode): Add.
7349 * config/s390/s390.c (s390_select_ccmode): New.
7350 (s390_match_ccmode): Add CCLmode.
7351 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7352 (output_branch_condition, output_inverse_branch_condition): Removed.
7353 (print_operand): Use s390_branch_condition_mnemonic.
7354 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7355 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7356 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7358 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7359 when converting conditional branches to far branches.
7360 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7361 cmpint_di): Use CCSmode instead of CCUmode.
7363 * config/s390/s390.c (legitimate_la_operand_p): New.
7364 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7365 * config/s390/s390.md (movsi): Convert load address patterns to
7366 arithmetic operations when necessary.
7367 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7368 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7369 (*do_la_reg_0): Don't use before reload.
7371 * config/s390/s390.c (legitimize_address): Make more efficient
7372 use of two-register addressing mode.
7374 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7375 with -mno-backchain in some corner cases.
7377 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7379 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
7381 * reload.c (find_reloads): Mark new USE insns with QImode.
7382 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7383 find_reloads_subreg_address): Likewise.
7384 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7386 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7388 (reload): Make sure there are no USEs with mode other than
7389 VOIDmode. At the end, remove those marked with QImode.
7391 2001-09-29 Per Bothner <per@bothner.com>
7393 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
7394 * Makefile.in (includedir): Rename to local_includedir.
7395 (includedir): Define as $(prefix)/include.
7396 * config.in (PREFIX_INCLUDE_DIR): New variable.
7397 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
7399 2001-09-29 Bernd Schmidt <bernds@redhat.com>
7401 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7403 * doc/extend.texi (Vector Extensions): New node.
7404 * doc/invoke.texi (Machine Dependent Options): Add documentation for
7405 i386 -mmmx, -msse, -m3dnow.
7407 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7409 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7411 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
7413 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7415 * doc/invoke.texi (Optimize Options): Delete spurious @table.
7417 2001-09-28 Richard Henderson <rth@redhat.com>
7419 * varasm.c (assemble_integer): Bound alignment check by
7422 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7424 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7426 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7428 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7430 Mostly from Graham Stott <grahams@redhat.com>
7431 * c-common.c (type_for_mode): Add support for V2SFmode.
7432 * tree.c (build_common_tree_nodes_2): Likewise.
7433 * tree.h (enum tree_index, global_trees): Likewise.
7434 * config/i386/i386.c (x86_3dnow_a): New variable.
7435 (override_options): Support 3Dnow extensions.
7436 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7437 Athlon's version of 3Dnow.
7438 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7439 (ix86_expand_builtin): Handle them.
7440 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7441 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7442 TARGET_3DNOW_A): New macros.
7443 (TARGET_SWITCHES): Add 3Dnow switches.
7444 (VALID_MMX_REG_MODE_3DNOW): New macro.
7445 (VECTOR_MODE_SUPPORTED_P): Use it.
7446 (enum ix86_builtins): Add entries for 3Dnow builtins.
7447 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7448 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7449 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7450 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7451 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7452 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7453 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7454 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7455 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7456 sfence_insn, prefetch): Make these available if TARGET_SSE or
7459 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
7461 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7462 ix86_va_start, ix86_build_va_list): Declare.
7463 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7464 ix86_va_start, ix86_build_va_list): New global functions.
7465 * i386.md (sse_prologue_save_insn): New insn.
7466 (sse_prologue_save): New expander.
7467 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7468 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7470 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7472 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7473 Use size_t everywhere, make definitions consistent with
7476 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
7478 * gcse.c (replace_store_insn): Use delete_insn.
7479 * loop.c (move_movables): Likewise; avoid delete_insn
7480 from clobbering notes moved elsewhere.
7481 (check_dbra_loop): Use delete_insn.
7482 * ssa.c (convert_from_ssa): Likewise.
7483 * cse.c (cse_insn): Use delete_insn.
7485 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7487 * cpphash.h (struct cpp_buff): Make unsigned.
7488 (_cpp_get_buff): Take length of size_t.
7489 (_cpp_unaligned_alloc): New.
7490 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7491 (struct cpp_reader): Remove ident_pool. Add u_buff.
7492 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7493 (cpp_destroy): Destroy u_buff, not ident_pool.
7494 * cpplex.c (parse_number, parse_string, save_comment,
7495 cpp_token_as_text): Update to use the unaligned buffer.
7496 (new_buff): Make unsigned.
7497 (_cpp_unaligned_alloc): New.
7498 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7499 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7501 (collect_args): Make unsigned.
7503 2001-09-27 Zack Weinberg <zack@codesourcery.com>
7505 * cpplex.c (cpp_output_token): Use a putc loop for
7506 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7508 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7509 * configure, config.in: Regenerate.
7510 * system.h: Replace fwrite and fprintf with their unlocked
7511 variants if available.
7513 2001-09-27 Richard Henderson <rth@redhat.com>
7515 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7516 in favour of .eh_frame.
7518 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
7520 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7522 (LIBCALL_VALUE): Likewise.
7524 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7526 * cpphash.h: Update comment.
7527 * cpplex.c: Update comments.
7528 (_cpp_can_paste): Remove.
7529 * cpplib.h (_cpp_can_paste): Remove.
7530 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7531 lexer rather than _cpp_can_paste.
7533 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7535 * doc/cppinternals.texi: Update.
7537 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7539 * cpphash.h (struct cpp_pool): Remove locks and locked.
7540 (struct cpp_context): Add member buff.
7541 (struct cpp_reader): Remove member argument_pool.
7542 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7543 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7544 * cpplex.c (chunk_suitable): Remove pool argument.
7545 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7546 (new_buff, _cpp_extend_buff): Update.
7547 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
7548 which buffer is returned.
7549 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7550 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7551 * cppmacro.c (lock_pools, unlock_pools): Remove.
7552 (push_ptoken_context): Take a _cpp_buff.
7553 (enter_macro_context): Pool locking removed.
7554 (replace_args): Use a _cpp_buff for the replacement list with
7556 (push_token_context): Clear buff.
7557 (expand_arg): Use _cpp_pop_context.
7558 (_cpp_pop_context): Free a context's buffer, if any.
7560 2001-09-26 DJ Delorie <dj@redhat.com>
7562 * c-typeck.c (digest_init): Check for sizeless arrays.
7564 2001-09-26 Richard Henderson <rth@redhat.com>
7566 * optabs.c (init_one_libfunc): Create a dummy function type
7567 instead of using error_mark_node.
7569 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7571 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7572 _cpp_extend_buff, _cpp_free_buff): New.
7573 (struct cpp_reader): New member free_buffs.
7574 * cppinit.c (cpp_destroy): Free buffers.
7575 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7576 _cpp_extend_buff, _cpp_free_buff): New.
7577 * cpplib.h (struct cpp_options): Remove unused member.
7578 * cppmacro.c (collect_args): New. Combines the old parse_arg
7579 and parse_args. Use _cpp_buff for memory allocation.
7580 (funlike_invocation_p, replace_args): Update.
7582 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7584 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7586 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
7588 * except.c (sjlj_mark_call_sites): Change address inside sequence.
7590 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
7592 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7595 2001-09-25 Janis Johnson <janis187@us.ibm.com>
7596 Jim Wilson <wilson@redhat.com>
7598 * doc/install.texi (Specific, ia64-*-linux): Document.
7600 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7602 * Makefile.in (cfgrtl.o): Add.
7603 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7604 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7605 free_aux_for_edge): Declare.
7607 (HAVE_return): Undefine.
7608 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7609 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7610 free_aux_for_edge): New global functions.
7611 (first_delete_block): New static variable.
7612 (init_flow): Clear first_delete_block.
7613 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7614 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7615 try_redirect_by_replacing_jump, last_loop_beg_note,
7616 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7617 delete_insn, delete_insn_chain, create_basic_block_structure,
7618 create_basic_block, flow_delete_block, compute_bb_for_insn,
7619 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7620 set_block_for_new_insns, split_block, merge_blocks_nomove,
7621 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7622 redirect_edge_and_branch, force_nonfallthru_and_redirect,
7623 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7624 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7625 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7626 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7627 purge_all_dead_edges): Move to ....
7628 * cfgrtl.c: New file; .... Here.
7630 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7631 (reroder_basic_block): Use alloc_aux_for_blocks.
7632 * predict.c (estimate_bb_frequencies): Likewise; use
7633 alloc_aux_for_edges.
7634 * profile.c (compute_branch_probabilities): Likewise.
7635 (branch_prob): Likewise.
7636 * reg-stack.c (reg_to_stack): Likewise.
7638 * emit-rtl.c (emit_insns_after): Never return NULL.
7640 * basic-block.h (set_block_for_new_insns): Delete.
7641 * cfgrtl.c (set_block_for_new_insns): Delete.
7643 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7644 calls when crossjumping.
7646 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7647 * unroll.c (copy_loop_body): Use delete_insn.
7649 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7650 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7651 keep_stack_depressed): Likewise.
7652 * gcse.c (cprop_cc0_jump): Likewise.
7653 * local-alloc.c (update_equiv_regs): Likewise.
7654 * loop.c (scan_loop, loop_delete_insns): Likewise.
7655 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7656 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7657 delete_output_reload, delete_address_reloads_1,
7658 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7660 * sibcall.c (replace_call_placeholder): Likewise.
7661 * cse.c (cse_insn): Likewise.
7663 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7665 From Graham Stott <grahams@redhat.com>
7666 (def_builtin): Only define builtins appropriate for target_flags. All
7668 (builtin_decsription): Add new field mask which is used to determine
7669 when to define the builtin via the macro def_builtin.
7671 (bdesc_comi): Initialise new mask fields.
7672 (bdesc_2srg): Likewise.
7673 (bdesc_1arg): Likewise.
7675 * config/i386/i386.c (ix86_init_builtins): Correct return type
7676 building v4hi_ftype_v4hi_int_int tree node.
7677 (ix86_expand_sse_comi): Fix typo swapping operands.
7678 Don't swap comparision condition, it is already swapped.
7679 (ix86_expand_sse_compare): Before swapping operands
7680 move operand 1 into new rtx and not the target rtx.
7681 Don't swap comparison condition, it is already swapped.
7682 Always check whether we need to create a new TARGET.
7684 * config/i386/i386.md: (sse_comi) Fix typos.
7685 (sse_ucomi): Likewise.
7686 (cvtss2si): Fix operand 0 contraint.
7687 (cvttss2si): Likewise.
7688 (sse_unpckhps): Fix mode for operand 2.
7689 (sse_unpcklps): Likewise.
7691 2001-09-25 Graham Stott <grahams@redhat.com>
7693 * sibcall.c (skip_copy_to_return_value): Tighten return value
7696 2001-09-24 David Edelsohn <edelsohn@gnu.org>
7698 * rs6000.c (lwa_operand): Address must be word aligned.
7700 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7702 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7703 number has been set.
7704 (type_hash_mark): Mark type itself.
7706 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
7708 * c-lex.c (cb_def_pragma): Update.
7709 (c_lex): Update, and skip padding.
7710 * cppexp.c (lex, parse_defined): Update, remove unused variable.
7711 * cpphash.h (struct toklist): Delete.
7712 (union utoken): New.
7713 (struct cpp_context): Update.
7714 (struct cpp_reader): New members eof, avoid_paste.
7715 (_cpp_temp_token): New.
7716 * cppinit.c (cpp_create_reader): Update.
7717 * cpplex.c (_cpp_temp_token): New.
7718 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7719 (cpp_output_token): Don't print leading whitespace.
7720 (cpp_output_line): Update.
7721 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7722 do_include_common, do_line, do_ident, do_pragma,
7723 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7724 parse_assertion): Update.
7725 (get_token_no_padding): New.
7726 * cpplib.h (CPP_PADDING): New.
7727 (AVOID_LPASTE): Delete.
7728 (struct cpp_token): New union member source.
7729 (cpp_get_token): Update.
7730 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7731 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
7732 replace_args, quote_string, stringify_arg, parse_arg, next_context,
7733 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
7734 _cpp_backup_tokens, _cpp_create_definition): Update.
7735 (push_arg_context): Delete.
7736 (padding_token, push_token_context, push_ptoken_context): New.
7737 (make_string_token, make_number_token): Update, rename.
7738 (cpp_get_token): Update to handle tokens as pointers to const,
7739 and insert padding appropriately.
7740 * cppmain.c (struct printer): New member prev.
7741 (check_multiline_token): Constify.
7742 (do_preprocessing, cb_line_change): Update.
7743 (scan_translation_unit): Update to handle spacing.
7744 * scan-decls.c (get_a_token): New.
7745 (skip_to_closing_brace, scan_decls): Update.
7746 * fix-header.c (read_scan_file): Update.
7748 * doc/cpp.texi: Update.
7750 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7752 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
7753 leak by passing malloc'ed pointer to reconcat, not concat.
7755 2001-09-24 DJ Delorie <dj@redhat.com>
7757 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
7759 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
7761 * flow.c (delete_dead_jumptables): Delete jumptable if the only
7762 reference is from the literal pool.
7764 2001-09-24 Janis Johnson <janis187@us.ibm.com>
7766 * doc/install.texi (Final install): Request additional information
7767 in mail about successful builds.
7769 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7771 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
7772 initial value of return pointer register instead of value in frame-20.
7775 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7777 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
7778 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
7779 the libcall if there isn't a referenced identifier for the symbol.
7781 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7783 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
7784 non 64-bit machines. Use these as a plabel for the trampoline.
7785 (TRAMPOLINE_SIZE): Adjust size for new words.
7786 (INITIALIZE_TRAMPOLINE): Initialize new words.
7787 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
7788 pointer to the plabel in the trampoline.
7790 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7792 * pa.c (function_arg): Pass floating arguments in both general and
7793 floating registers in indirect (dynamic) calls when generating code
7794 for the 32 bit ABI and the HP assembler.
7796 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7798 * doc/install.texi: Markup fixes.
7799 Use Solaris 2, SunOS 4 as appropriate.
7800 (Specific, *-*-solaris2*): Explain this.
7801 Unconditionally warn against /usr/ucb tools.
7802 Remove Sun as warning, obsolete.
7803 Move X11 header bug workaround here, update patches.
7804 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
7805 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
7807 2001-09-23 Zack Weinberg <zack@codesourcery.com>
7809 * errors.h (warning, error, fatal, internal_error): Don't mark
7810 with ATTRIBUTE_PRINTF_n.
7811 * toplev.h (internal_error, fatal_io_error, warning, error,
7812 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
7813 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
7816 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7818 * function.c (pop_function_context_from): var_refs_queue
7819 and temp slots now in GC memory.
7820 (mark_function_status, free_after_compilation): Likewise;
7821 also struct function now in GC memory.
7822 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
7823 (combine_temp_slots): Likewise.
7824 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
7825 (prepare_function_start): Use GC memory for struct function.
7826 (mark_temp_slot): Deleted.
7827 (gcc_mark_struct_function): struct function now in GC memory.
7829 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
7830 code for division, not modulus.
7832 * rtl.def (MEM): Remove obsolete part of comment.
7834 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
7836 * c-format.c (init_function_format_info): Check __builtin_printf
7837 and __builtin_fprintf even if -ffreestanding. Check C99 functions
7840 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7842 * c-common.c (format_attribute_table): Remove decl.
7843 * tree.h (format_attribute_table, lang_attribute_table): New decls.
7844 (lang_attribute_common): Likewise.
7846 * function.c (fix_lexical_address): Use set_mem_alias_set.
7847 (expand_function_start): Likewise.
7848 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
7850 * varasm.c (output_constant): Fix unused variable warning.
7852 * attribs.c: New file, from c-common.c.
7853 (attribute_tables): Now four elements.
7854 (format_attribute_table, lang_attribute_common): New variables.
7855 (init_attributes): Reflect above changes.
7856 (handle_mode_attribute): Delete check for wider than uintmax.
7857 * c-common.c: Delete parts moved to attribs.c.
7858 (enum attrs): Deleted; unused.
7859 (c_format_attribute_table): New variable.
7860 (c_common_lang_init): Initialize format_attribute_table with it.
7861 * c-common.h (decl_attributes): Remove decl.
7862 * tree.h (decl_attribute): Move it to here.
7863 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
7864 (attribs.o): New rule.
7866 2001-09-22 Andreas Jaeger <aj@suse.de>
7868 * builtins.c (c_getstr): Remove unused variable.
7870 2001-09-21 Richard Henderson <rth@redhat.com>
7872 * reload1.c (reload): Use delete_insn instead of splatting
7875 2001-09-21 Richard Henderson <rth@redhat.com>
7877 * reload.c (push_secondary_reload): Don't check for "=" in output
7878 constraint after ""->ALL_REGS check.
7880 2001-09-21 Richard Henderson <rth@redhat.com>
7882 * predict.c (expected_value_to_br_prob): Use pc_set.
7884 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
7885 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
7887 2001-09-21 Richard Henderson <rth@redhat.com>
7889 * rtl.h (LCT_RETURNS_TWICE): New.
7890 * calls.c (emit_call_1): Set current_function_calls_setjmp for
7892 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
7893 to ECF_RETURNS_TWICE.
7894 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
7897 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
7899 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
7900 (JMP_BUF_SIZE): New.
7902 2001-09-21 Richard Henderson <rth@redhat.com>
7904 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
7907 2001-09-21 Richard Henderson <rth@redhat.com>
7909 * tree.def (FDESC_EXPR): New.
7910 * expr.c (expand_expr): Handle it.
7911 * varasm.c (initializer_constant_valid_p): Likewise.
7912 (output_constant): Likewise.
7913 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7914 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7915 (ASM_OUTPUT_FDESC): New.
7916 * doc/tm.texi: Document the new macros.
7918 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7920 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
7921 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
7922 once merging is complete.
7924 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7926 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
7928 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7930 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
7931 that would be invalid after a merge.
7933 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
7935 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
7936 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
7938 (flow_delete_insn): This one.
7939 (delete_insn_chain): Rename from ...; do not care labels.
7940 (flow_delete_insn_chain): ... this one.
7941 (flow_delete_block): Remove the insns one BB has been expunged.
7942 (merge_blocks_nomove): Likewise.
7943 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
7944 updating BB boundaries.
7945 (tidy_fallthru_edge): Likewise.
7946 (commit_one_edge_insertion): Likewise.
7947 * cfgbuild.c (find_basic_block): Likewise.
7948 (find_basic_blocks_1): Likewise.
7949 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
7950 (try_crossjump_to_edge): Likewise.
7951 (try_optimize_cfg): Likewise.
7952 * cse.c (delete_trivially_dead_insns): Likewise.
7953 * df.c (df_insn_delete): Likewise.
7954 * doloop.c (doloop_modify): Use delete_related_insns.
7955 * emit-rtl.c (try_split): Likewise.
7956 (remove_insn): Update BB boundaries.
7957 * expect.c (connect_post_landing_pads): Use delete_related_insns.
7958 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
7959 updating BB boundaries.
7960 (propagate_block_delete_insn): Likewise.
7961 (propagate_block_delete_libcall): Likewise.
7962 * function.c (delete_handlers): Use delete_related_insns.
7963 (thread_prologue_and_epilogue_insns): Likewise.
7964 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
7965 * genpeep.c (gen_peephole): Use delete_related_insns.
7966 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
7968 (find_cond_trap): Likewise.
7969 * integrate.c (save_for_inline): Use delete_related_insns.
7970 (copy_insn_list): Likewise.
7971 * jump.c (pruge_linie_number_notes): Likewise.
7972 (duplicate_loop_exit_test): Likewise.
7973 (delete_computation): Likewise.
7974 (delete_related_insn): Rename from ...; use delete_insn
7975 (delete_insn): ... this one.
7976 (redirect_jump): Use delete_related_insns.
7977 * loop.c (scan_loop): Likewise.
7978 (move_movables): Likewise.
7979 (find_and_verify_loops): Likewise.
7980 (check_dbra_loop): Likewise.
7981 * recog.c (peephole2_optimize): Likewise.
7982 * reg-stack.c (delete_insn_for_stacker): Remove.
7983 (move_for_stack_reg): Use delete_insn.
7984 * regmove.c (combine_stack_adjustments_for_block): Likewise.
7985 * reload1.c (delete_address_reloads): Use delete_related_insns.
7986 (fixup_abnormal_edges): Use delete_insn.
7987 * recog.c (emit_delay_sequence): Use delete_related_insns.
7988 (delete_from-delay_slot): Likewise.
7989 (delete_scheduled_jump): likewise.
7990 (optimize_skip): Likewise.
7991 (try_merge_delay_insns): Likewise.
7992 (full_simple_delay_slots): Likewise.
7993 (fill_slots_from_thread): Likewise.
7994 (relax_delay_slots): Likewise.
7995 (make_return_insns): Likewise.
7996 (dbr_schedule): Likewise.
7997 * rtl.h (delete_insn): Rename to delete_related_insns.
7998 (delete_insn, delete_insn_chain): New prototypes.
7999 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
8000 by df_insn_delete already.
8001 * ssa-dce.c (delete_insn_bb): Use delete_insn.
8002 * ssa.c (convert_from_ssa): Use delete_related_insns.
8003 * unroll.c (unroll_loop): Likewise.
8004 (calculate_giv_inc): Likewise.
8005 (copy_loop_body): Likewise.
8007 * i386-protos.h (ix86_libcall_value, ix86_function_value,
8008 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8009 ix86_return_in_memory, ix86_function_value): Declare.
8010 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8011 new static valurables.
8012 (x86_64_reg_class): New enum
8013 (x86_64_reg_class_name): New array.
8014 (classify_argument, examine_argument, construct_container,
8015 merge_classes): New static functions.
8016 (optimization_options): Enable flag_omit_frame_pointer and disable
8017 flag_pcc_struct_return on 64bit.
8018 (ix86_libcall_value, ix86_function_value,
8019 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8020 ix86_return_in_memory, ix86_function_value): New global functions.
8021 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8022 (function_arg_advance): Handle x86_64 passing conventions.
8023 (function_arg): Likewise.
8024 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8025 (RETURN_IN_MEMORY): Move offline.
8026 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8027 (FUNCTION_VALUE_REGNO_P): New macro.
8028 (FUNCTION_ARG_REGNO_P): Move offline.
8029 (struct ix86_args): Add maybe_vaarg.
8030 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8031 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8033 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8035 * s390.md: Changed attributes for scheduling.
8036 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8039 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8041 Table-driven attributes.
8042 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8043 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8044 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8045 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8046 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8047 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8048 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8049 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8050 * tree.h (struct tree_decl): Change machine_attributes to
8052 * doc/c-tree.texi: Document that all attributes are now attached
8054 * c-common.c (add_attribute, attrtab, attrtab_idx,
8055 default_valid_lang_attribute, valid_lang_attribute): Remove.
8056 (attribute_tables, attributes_initialized,
8057 c_common_attribute_table, default_lang_attribute_table): New
8059 (handle_packed_attribute, handle_nocommon_attribute,
8060 handle_common_attribute, handle_noreturn_attribute,
8061 handle_unused_attribute, handle_const_attribute,
8062 handle_transparent_union_attribute, handle_constructor_attribute,
8063 handle_destructor_attribute, handle_mode_attribute,
8064 handle_section_attribute, handle_aligned_attribute,
8065 handle_weak_attribute, handle_alias_attribute,
8066 handle_no_instrument_function_attribute,
8067 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8068 handle_no_limit_stack_attribute, handle_pure_attribute): New
8070 (init_attributes, decl_attributes): Rewrite to implement
8071 table-driven attributes.
8072 * c-common.h (enum attribute_flags): Move to tree.h.
8073 * c-format.c (decl_handle_format_attribute,
8074 decl_handle_format_arg_attribute): Rename to
8075 handle_format_attribute and handle_format_arg_attribute. Update
8076 for table-driven attributes.
8077 * c-common.h (decl_handle_format_attribute,
8078 decl_handle_format_arg_attribute): Remove prototypes.
8079 (handle_format_attribute, handle_format_arg_attribute): Add
8081 * c-decl.c (grokdeclarator): Handle attributes nested inside
8083 * c-parse.in (setattrs, maybe_setattrs): Remove.
8084 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8085 Update to handle nested attributes properly.
8086 (maybe_resetattrs, after_type_declarator,
8087 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8088 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8090 (make_pointer_declarator): Update to handle nested attributes
8092 * doc/extend.texi: Update documentation of limits of attributes
8093 syntax. Warn about problems with attribute semantics in C++.
8094 * target.h (struct target): Remove valid_decl_attribute and
8095 valid_type_attribute. Add attribute_table and
8096 function_attribute_inlinable_p.
8097 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8098 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8099 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8101 (TARGET_INITIALIZER): Update.
8102 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8104 (function_attribute_inlinable_p): New function. Check for the
8105 presence of any machine attributes before using
8106 targetm.function_attribute_inlinable_p.
8107 (function_cannot_inline_p): Update.
8108 * Makefile.in (integrate.o): Update dependencies.
8109 * doc/tm.texi: Update documentation of target attributes and
8110 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8111 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8113 (default_target_attribute_table,
8114 default_function_attribute_inlinable_p): New.
8115 (lookup_attribute): Update comment to clarify handling of multiple
8116 attributes with the same name.
8117 (merge_attributes, attribute_list_contained): Allow multiple
8118 attributes with the same name but different arguments to appear in
8119 the same attribute list.
8120 * tree.h (default_valid_attribute_p): Remove prototype.
8121 (struct attribute_spec): New.
8122 (default_target_attribute_table): Declare.
8123 (enum attribute_flags): Move from c-common.h. Add
8124 ATTR_FLAG_TYPE_IN_PLACE.
8125 (default_function_attribute_inlinable_p): Declare.
8126 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8127 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8128 (TARGET_ATTRIBUTE_TABLE): Define.
8129 (vms_attribute_table): New.
8130 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8131 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8132 (TARGET_ATTRIBUTE_TABLE): Define.
8133 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8134 * config/arm/arm.c (arm_valid_type_attribute_p,
8135 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8137 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8139 (TARGET_ATTRIBUTE_TABLE): Define.
8140 (arm_attribute_table, arm_handle_fndecl_attribute,
8141 arm_handle_isr_attribute): New.
8142 * config/avr/avr.c (avr_valid_type_attribute,
8143 avr_valid_decl_attribute): Remove.
8144 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8146 (TARGET_ATTRIBUTE_TABLE): Define.
8147 (avr_attribute_table, avr_handle_progmem_attribute,
8148 avr_handle_fndecl_attribute): New.
8149 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8150 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8151 (TARGET_ATTRIBUTE_TABLE): Define.
8152 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8153 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8154 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8155 (TARGET_ATTRIBUTE_TABLE): Define.
8156 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8157 h8300_handle_eightbit_data_attribute,
8158 h8300_handle_tiny_data_attribute): New.
8159 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8160 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8162 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8164 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8165 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8167 (TARGET_ATTRIBUTE_TABLE): Define.
8168 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8169 ix86_handle_regparm_attribute): New.
8170 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8171 i386_pe_valid_type_attribute_p): Remove.
8172 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8173 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8174 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8175 (TARGET_ATTRIBUTE_TABLE): Define.
8176 (ia64_attribute_table): New.
8177 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8178 interrupt_ident2, model_ident1, model_ident2): Remove.
8179 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8180 (TARGET_ATTRIBUTE_TABLE): Define.
8181 (init_idents): Update.
8182 (m32r_attribute_table, m32r_handle_model_attribute): New.
8183 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8185 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8186 (TARGET_ATTRIBUTE_TABLE): Define.
8187 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8188 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8189 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8190 (TARGET_ATTRIBUTE_TABLE): Define.
8191 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8192 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8193 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8194 (TARGET_ATTRIBUTE_TABLE): Define.
8195 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8196 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8197 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8198 (TARGET_ATTRIBUTE_TABLE): Define.
8199 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8200 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8201 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8202 (TARGET_ATTRIBUTE_TABLE): Define.
8203 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8204 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8206 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8208 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8209 (TARGET_ATTRIBUTE_TABLE): Define.
8210 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8212 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8213 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8214 (TARGET_ATTRIBUTE_TABLE): Define.
8215 (v850_attribute_table, v850_handle_interrupt_attribute,
8216 v850_handle_data_area_attribute): New.
8217 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8218 Return void. Call decl_attributes instead of
8219 valid_machine_attribute.
8221 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8223 * sh-protos.h (sh_pr_n_sets): Declare.
8224 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8225 look at the copy to determine if PR needs to be saved.
8226 sh_pr_n_sets: New function.
8227 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8228 (ALLOCATE_INITIAL_VALUE): Define.
8230 * sh.c (initial_elimination_offset):
8231 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8233 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8235 * integrate.c (allocate_initial_values): New function.
8236 * integrate.h (allocate_initial_values): Declare.
8237 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8239 * reload1.c (reload): And initialization of reg_equiv_memory_loc
8241 * toplev.c (rest_of_compilation): To here.
8242 Call allocate_initial_values.
8243 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8245 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8247 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8249 2001-09-20 DJ Delorie <dj@redhat.com>
8251 * c-typeck.c (really_start_incremental_init): Discriminate
8252 between zero-length arrays and flexible arrays.
8253 (push_init_level): Detect zero-length arrays and handle them
8254 like fixed-sized arrays.
8255 * expr.c (store_constructor): Handle zero-length arrays and
8256 flexible arrays correctly.
8257 * doc/extend.texi: Update zero-length array notes.
8259 2001-09-20 Jim Wilson <wilson@redhat.com>
8261 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8262 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8263 for issue port conflicts.
8264 (cycle_end_fill_slots): TYPE_L instructions take two slots.
8266 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
8268 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8271 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8273 * fold-const.c (hashtab.h): Include.
8274 (int_const_binop): Remove FORSIZE arg and compute from type; all
8276 Call size_int_type_wide for all single-word constants.
8277 (size_htab_hash, size_htab_eq): New functions.
8278 (size_int_type_wide): Rework to use hash table.
8279 * ggc-common.c (hashtab.h): Include.
8280 (struct d_htab_root): New struct.
8281 (d_htab_roots): New variable.
8282 (ggc_add_deletable_htab, ggc_htab_delete): New functions
8283 (ggc_mark_roots): Handle deletable htabs.
8284 * ggc-page.c (ggc_marked_p): New function.
8285 * ggc-simple.c (ggc_marked_p): Likewise.
8286 * ggc.h: Reformatting throughout.
8287 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8288 * tree.c (init_obstacks): Make type_hash_table a deletable root.
8289 (type_hash_add): Allocate struct type_hash from GC memory.
8290 (mark_hash_entry, mark_type_hash): Deleted.
8291 (type_hash_marked_p, type_hash_mark): New functions.
8292 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8294 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
8296 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8299 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8301 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8302 array-too-large test for signed sizetype.
8304 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8306 * i386.md (indirect_jump): Allow Pmode operand.
8307 (tablejump): LIkewise; perform expansion to 64bit mode.
8308 * i386.c (symbolic_operand): Allow 64bit PIC references.
8309 (pic_symbolic_operand): Likewise.
8310 (ix86_find_base_term): Strip the 64bit PIC references.
8311 (legitimate_pic_address_disp_p): Handle 64bit PIC.
8312 (legitimize_pic_address): Likewise.
8313 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8314 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8316 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
8318 * stringpool.c (get_identifier_with_length): New function.
8319 * tree.h (get_identifier_with_length): New prototype.
8321 2001-09-19 Alan Modra <amodra@bigpond.net.au>
8322 David Edelsohn <edelsohn@gnu.org>
8325 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8326 already sign-extended.
8328 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8329 * config/rs6000/rs6000.c (logical_operand): Always compare op as
8331 (rs6000_emit_set_long_const): Avoid unnecessary shift.
8332 (output_profile_hook): Declare label_name const.
8333 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8334 to match constraints.
8336 2001-09-19 Stan Shebs <shebs@apple.com>
8338 * alias.c: Fix typos in comments.
8339 * sched-rgn.c (init_ready_list): Ditto.
8340 * unwind-dw2.c (uw_frame_state_for): Ditto.
8341 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8342 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8343 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8345 2001-09-19 Richard Henderson <rth@redhat.com>
8347 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8349 * Makefile.in (cfg.o): Depend on TM_P_H.
8351 2001-09-19 Richard Henderson <rth@redhat.com>
8353 * config/alpha/alpha.c (local_symbol_p): Split out from ...
8354 (local_symbolic_operand): ... here.
8355 (small_symbolic_operand): Check mode.
8356 (global_symbolic_operand): New.
8357 (input_operand): Reject symbolics if explicit relocs.
8358 (call_operand): Tidy.
8359 (alpha_legitimize_address): Use movdi_er_high_g.
8360 (alpha_expand_mov): Likewise.
8361 * config/alpha/alpha-protos.h: Update.
8362 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8363 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8364 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8365 (UNSPECV_LDGP2): Remove.
8366 (all call patterns): Use 's' not 'i' for symbolic constraint.
8367 (call_osf call_value_osf): Use call_operand.
8368 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
8369 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8370 (prologue_ldgp_1_er): Remove.
8371 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8372 (builtin_setjmp_receiver_er patterns): Use them.
8373 (exception_receiver_er): Likewise.
8375 2001-09-19 Richard Henderson <rth@redhat.com>
8377 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8379 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8380 and NON_LOCAL_GOTO notes.
8381 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
8382 copy over CALL_INSN_FUNCTION_USAGE.
8384 2001-09-18 Catherine Moore <clm@redhat.com>
8386 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8389 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
8391 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8392 new-style tm_file specification. Specify correct tm_p_file,
8393 md_file, and out_file for s390x.
8395 * config/s390/linux.h, linux64.h: Don't include other target
8396 macro header files. Now handled via tm_file.
8398 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8399 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8400 are defined before use.
8402 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
8404 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8405 code generation only for Gnu assembler.
8407 2001-09-18 Catherine Moore <clm@redhat.com>
8409 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8411 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
8413 * config/mips/mips.c (mips_frame_set): New.
8414 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8415 a parallel frame-related expression with a set for each register.
8417 2001-09-18 Philip Blundell <philb@gnu.org>
8419 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8422 2001-09-17 Dale Johannesen <dalej@apple.com>
8424 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8425 * config/rs6000/aix.h (FIXED_R2): Define.
8426 * config/rs6000/darwin.h (FIXED_R2): Define.
8427 * config/rs6000/sysv4.h (FIXED_R2): Define.
8429 2001-09-17 Jeff Sturm <jsturm@one-point.com>
8431 * except.c (dw2_build_landing_pads): New local
8432 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
8433 barrier after clobbers. Fixes c++/4012.
8435 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8437 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8439 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8441 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8442 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8444 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8446 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8449 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
8451 * cpphash.h (_cpp_lex_direct): New.
8452 * cpplex.c (_cpp_lex_token): Update.
8453 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8454 and increment that pointer.
8455 * cppmacro.c (alloc_expansion_token): New.
8456 (lex_expansion_token): Lex macro expansion directly into
8459 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
8461 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8463 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
8465 * basic-block.h (free_bb_for_insn): Declare.
8466 * bb-reorder.c (label_for_bb): Use block_label.
8467 (emit_jump_to_block_after): Remove.
8468 (insert_intra_1): Do not update block_for_insn.
8469 (insert_inter_bb_scope_notes): Likewise; update bb->end
8470 * cfg.c (free_bb_for_insn): New.
8471 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8472 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8473 (commit_one_edge_insertion): Likewise.
8474 (commit_one_edge_insertion): Do not update BB boundary.
8475 (commit_edge_insertions): Do not call compute_bb_for_insn.
8476 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8477 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8478 (merge_blocks_move_successor_nojumps): Likewise.
8479 (try_crossjump_to_edge): Do not update block_for_insn.
8480 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8481 * df.c (df_pattern_emit_later): Do not update BB boundary.
8482 (df_jump_pattern_emit_after): Likewise.
8483 (df_insn_move_before): Use emit_insn_before.
8484 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8486 (add_insn_after, add_insn_before, emit_insns_after): Update BB
8487 boundaries and basic_block_for_insn.
8488 (reorder_insns_nobb): Rename from reorder_insns.
8489 (reorder_insns): New.
8490 (emit_block_insn_before, emit_block_insn_after): Kill.
8491 * flow.c (check_function_return_warnings): Do not call
8492 compute_bb_for_insn; Do not free basic_block_for_insn.
8493 (attempt_auto_inc): Do not update basic_block_for_insn.
8494 * function.c (emit_return_into_block): Likewise;
8495 do not update BB boundaries.
8496 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8497 (insert_insn_end_bb): Use emit_insn_before; Likewise.
8498 (pre_insert_copy_insn): Likewise.
8499 (update_ld_motion_notes): Likewise.
8500 (insert_insn_start_bb): Likewise.
8501 (replace_store_insn): Likewise.
8502 * ifcvt.c (noce_process_if_block): Likewise.
8503 (if_convert): Do not call compute_bb_for_insn.
8504 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8505 Use emit_insn_before and emit_insn_after.
8506 * recog.c (split_all_insns): Do not update BB boundaries;
8507 Do not call compute_bb_for_insn.
8508 (peephole2_optimize): Do not update BB boundaries.
8509 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8511 (emit_swap_insn): Likewise.
8512 (convert_regs_1): Likewise.
8513 * reload1.c (reload): Call compute_bb_for_insn.
8514 * rtl.h (reorder_insns_nobb): Declare.
8515 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8516 * toplev.c (rest_of_compilation): Call free_bb_for_insn
8517 at places CFG is invalidated; do not call compute_bb_for_insn.
8519 * cfg.c (expunge_block): Invalidate BB structure.
8521 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8524 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8526 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8528 * cpphash.h (_cpp_lex_token): Update prototype.
8529 * cpplex.c (_cpp_lex_token): New prototype.
8530 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8531 lex_macro_node, read_flag, do_pragma_poison): Update.
8532 * cppmacro.c (cpp_get_token, parse_params,
8533 lex_expansion_token): Update.
8535 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8537 * cppmain.c (scan_translation_unit): Don't worry about
8538 putting a space after hashes.
8539 * cpplib.c (directive_diagnostics): New.
8540 (_cpp_handle_directive): Update to use directive_diagnostics.
8541 (run_directive): Don't toggle prevent_expansion.
8542 (do_line): Backup in case of the line extension.
8543 * cpplib.h (cpp_lexer_pos): Remove.
8544 * cppmacro.c (_cpp_create_definition): Precede a leading #
8547 2001-09-15 Richard Henderson <rth@redhat.com>
8549 * c-typeck.c (comptypes): Handle zero-length arrays properly.
8551 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8553 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8555 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8557 PR preprocessor/3571
8558 * tradcpp.c (handle_directive): Skip non-vertical space.
8560 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8562 * cppmain.c (setup_callbacks): Set line callback only
8563 if outputting preprocessed source.
8565 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8567 * collect2.c (main): Const-ification.
8568 * gcc.c (translate_options, process_command): Use xstrdup in
8569 lieu of xmalloc/strcpy.
8570 (main): Use concat in lieu of xmalloc/strcpy/strcat.
8572 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8574 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8577 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8579 * scan-decls.c (scan_decls): Fix typo.
8581 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8583 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8584 Split mlstring_pos into mls_line and mls_col.
8585 * cppinit.c (cpp_create_reader): Initialize line to 1.
8586 (cpp_destroy): Free tokenruns.
8587 (push_include): Don't update lexer_pos.
8588 * cpplex.c (unterminated, parse_string): Update.
8589 (lex_token): Don't update lexer_pos, update.
8590 * cpplib.c (if_stack): Save line instead of line + col.
8591 (start_directive, _cpp_do__Pragma, do_else, do_elif,
8592 push_conditional, _cpp_pop_buffer): Update.
8593 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8594 (_cpp_create_definition): Update.
8596 2001-09-15 Eric Christopher <echristo@redhat.com>
8598 * config/mips/abi64.h: Add support for MEABI.
8600 2001-09-15 Eric Christopher <echristo@redhat.com>
8602 * config/mips/mips.md: Add unspec #2.
8604 (reload_outdi): Ditto.
8605 (reload_outsi): Ditto.
8608 2001-09-15 Eric Christopher <echristo@redhat.com>
8609 Jason Eckhardt <jle@redhat.com>
8611 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8612 * config/mips/isa32-linux.h: New file.
8613 * config/mips/isa3264.h: Ditto.
8614 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8615 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8616 (output_block_mode): Support MEABI.
8617 (function_arg): Ditto. Fix floating point arg passing.
8618 (mips_va_start): Ditto.
8619 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8621 (mips_asm_file_start): Add new section to pass abi to gdb.
8622 (function_arg_pass_by_reference): Support MEABI.
8623 (mips_parse_cpu): Support mips32 and mips64 processors.
8624 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8625 TARGET_MIPS5KC. Support isa32 and isa64.
8626 (processor_type): Add r4kc, r5kc, r20kc.
8627 (GENERATE_MULT3_SI): New.
8628 (GENERATE_MULT3_DI): Ditto.
8629 (GENERATE_MULT3): Remove.
8630 (ISA_HAS_64BIT_REGS): Add isa == 64.
8631 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8632 (ISA_HAS_MADD_MSUB): New.
8633 (ISA_HAS_CLZ_CLO): Ditto.
8634 (ISA_HAS_DCLZ_DCLO): Ditto.
8635 (ABI_GAS_ASM_SPEC): New.
8636 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8639 (SUBTARGET_CC1_SPEC): Ditto.
8640 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8641 (PAD_VARARGS_DOWN): Support MEABI.
8642 (HARD_REGNO_NREGS): Move to mips.c.
8643 (ASM_OUTPUT_IDENT): Add #undef.
8644 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8645 (mulsi3): Use GENERATE_MULT3_SI.
8646 (mulsi3_mult3): Ditto. Support mips32, mips64.
8647 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8648 (mul_sub_si): New pattern.
8649 (unnamed splitters): New.
8650 (muldi3): Use GENERATE_MULT3_DI.
8651 (muldi3_internal2): Ditto.
8652 (movdicc): Support mips32.
8653 * config/mips/t-isa3264: New file.
8655 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
8657 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8658 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8659 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8661 * reorg.c (fill_slots_from_thread): After call to
8662 steal_delay_list_from_target, update own_thread as new_thread may
8665 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
8667 * cpperror.c (print_location): Take line and column, for
8668 default positioning use the previously lexed token.
8669 (_cpp_begin_message): Take line and column.
8670 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8671 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8672 * cpphash.h (_cpp_begin_message): Update prototype.
8673 * cppinit.c (push_include): Don't set output line.
8674 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8675 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8676 (do_pragma): Kludge for front ends. Don't expand macros at all.
8677 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8678 (struct cpp_token): Remove output_line.
8679 (struct cpp_callbacks): New member line_change.
8680 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8681 cpp_get_token): Preserve BOL flag.
8682 (cpp_get_line): Remove.
8683 (_cpp_backup_tokens): Remove useless abort().
8684 * cppmain.c (cb_line_change): New.
8685 (scan_translation_unit): Don't worry about starting new lines here.
8686 * scan-decls.c (scan_decls): Update.
8687 * c-lex.c (c_lex, init_c_lex): Update.
8688 (cb_line_change, src_lineno): New.
8690 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
8692 * tree.c (append_random_chars): Generate the random
8693 characters in a reproducable fashion.
8695 2001-09-14 Richard Henderson <rth@redhat.com>
8697 * config/i386/i386.c (internal_label_prefix): New.
8698 (internal_label_prefix_len): New.
8699 (override_options): Set them.
8700 (local_symbolic_operand): New.
8701 (legitimate_pic_address_disp_p): Use it.
8702 (legitimize_pic_address): Likewise.
8704 2001-09-14 Marc Espie <espie@openbsd.org>
8706 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
8709 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8711 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8712 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8714 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8716 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8717 invocation of SUBREG_REGNO_OFFSET.
8719 * haifa-sched.c: Fix typo in FSF copyright statement.
8720 * sched-deps.c: Fix typo in FSF copyright statement.
8721 * sched-ebb.c: Fix typo in FSF copyright statement.
8722 * sched-rgn.c: Fix typo in FSF copyright statement.
8723 * sched-vis.c: Fix typo in FSF copyright statement.
8725 * config.gcc: Move inclusion of arm elf specific header files
8726 from the files themselves into the tm_file variable. Make
8727 sure that elfos.h is included before target specific elf
8729 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8731 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
8732 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
8733 ASM_OUTPUT_CASE_LABEL): Protect definition.
8734 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
8735 not already defined.
8736 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
8737 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
8738 Remove duplicate definition.
8739 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
8740 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
8741 (RDATA_SECTION_FUNCTION): Remove redundant definition.
8742 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
8743 Remove inclusion of arm/elf.h.
8744 * config/arm/unknown-elf.h: as for conix-elf.h.
8745 (STARTFILE_SPEC): Include crti.o and crtn.o.
8746 * config/arm/linux-elf.h: as for conix-elf.h.
8747 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
8748 * config/arm/strongarm-elf.h: Remove inclusion of
8750 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
8751 * config/arm/unknown-elf-oabi.h: Remove inclusion of
8752 unknown-elf.h and elf.h.
8753 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
8754 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
8755 ASM_WEAKEN_LABEL): Remove redundant definition.
8756 * config/arm/elf.h: Test for inclusion of elfos.h
8757 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
8758 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
8759 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
8760 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
8761 redundant definition.
8762 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
8763 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
8764 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
8765 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
8766 Add rules to build crti.o and crtn.o
8767 * crti.asm: New file.
8768 * crtn.asm: New file.
8770 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
8772 * c-parse.in (_yylex): Use _cpp_backup_tokens.
8773 * cpphash.h (struct tokenrun): Add prev.
8774 (struct lexer_state): Remove bol.
8775 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
8776 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
8778 * cppinit.c (cpp_create_reader): Don't set bol.
8779 (cpp_destroy): Don't free lookaheads.
8780 * cpplex.c (lex_directive): Remove.
8781 (next_tokenrun): Update.
8782 (_cpp_lex_token): Clean up logic.
8783 (lex_token): Update to return a pointer to lexed token, since it
8784 can move to the start of the buffer. Simpify newline handling.
8785 * cpplib.c (SEEN_EOL): Update.
8786 (skip_rest_of_line): Remove lookahead stuff.
8787 (end_directive): Line numbers are already incremented. Revert
8788 to start of lexed token buffer if we can.
8789 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
8790 parse_answer): Use _cpp_backup_tokens.
8791 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
8792 instead. Don't check for EOL.
8793 (do_include_common, do_line, do_pragma_system_header): Use
8795 * cpplib.h (BOL, _cpp_backup_tokens): New.
8796 * cppmacro.c (save_lookahead_token, take_lookahead_token,
8797 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
8798 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
8799 (builtin_macro): Don't use cpp_get_line.
8800 (cpp_get_line): Short term kludge.
8801 (parse_arg): Handle directives in arguments here. Back up when
8802 appropriate. Store EOF at end of argument list.
8803 (funlike_invocation_p): Use _cpp_backup_tokens.
8804 (push_arg_context): Account for EOF at end of list.
8805 (cpp_get_token): Remove lookahead stuff. Update.
8807 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8809 * c-parse.in (yyerror): Const-ification and/or static-ization.
8810 * c-typeck.c (push_member_name): Likewise.
8811 * collect2.c (main): Likewise.
8812 * dbxout.c (dbxout_parms): Likewise.
8813 * diagnostic.c (format_with_decl): Likewise.
8814 * dwarf2out.c (output_ranges): Likewise.
8815 * dwarfout.c (fundamental_type_code): Likewise.
8816 * except.c (dw2_output_call_site_table): Likewise.
8817 * gcc.c (do_spec_1): Likewise.
8818 * genopinit.c (optabs): Likewise.
8819 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
8820 gen_declaration_1, handle_impent): Likewise.
8821 * protoize.c (default_include, in_system_include_dir, abspath):
8823 * sched-vis.c (visualize_stall_cycles): Likewise.
8824 * sdbout.c (plain_type_1, sdbout_end_function,
8825 sdbout_end_epilogue): Likewise.
8826 * varasm.c (decode_reg_name): Likewise.
8828 * 1750a.c (mod_regno_adjust): Likewise.
8829 * alpha.c (alpha_write_one_linkage,
8830 unicosmk_output_default_externs): Likewise.
8831 * arm.c (arm_condition_codes): Likewise.
8832 * arm.h (arm_condition_codes): Likewise.
8833 * avr.c (output_movsisf, encode_section_info): Likewise.
8834 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
8836 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8837 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8838 * m88k.c (output_function_profiler): Likewise.
8839 * mips.c (mips_output_conditional_branch): Likewise.
8840 * ns32k.c (ns32k_out_reg_names): Likewise.
8841 * ns32k.h (ns32k_out_reg_names): Likewise.
8842 * pj.c (pj_output_rval): Likewise.
8843 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
8844 * sparc.c (sparc_flat_function_prologue,
8845 sparc_flat_function_epilogue): Likewise.
8847 2001-09-13 Markus Werle <numerical.simulation@web.de>
8848 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8850 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
8851 Aachen University of Technology".
8853 2001-09-13 Andreas Schwab <schwab@suse.de>
8855 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
8858 2001-09-13 Richard Henderson <rth@redhat.com>
8860 * config/alpha/alpha.c (small_symbolic_operand): New.
8861 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
8862 (some_operand, input_operand): Don't handle HIGH.
8863 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
8864 (alpha_expand_mov): Likewise.
8865 (print_operand) [H]: Just print HIGH symbol.
8866 (print_operand_address): Handle small data.
8867 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
8868 (TARGET_SWITCHES): Add -msmall-data/large-data.
8869 (PIC_OFFSET_TABLE_REGNUM): New.
8870 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
8871 (PREDICATE_COES): Update.
8872 * config/alpha/alpha.md (adddi_er_high): New.
8873 (adddi_er_low): Handle small data.
8874 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
8875 prefer .sdata to .rodata.
8876 (SELECT_RTX_SECTION): Likewise.
8878 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
8880 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
8881 defining __size_t and leaving size_t undefined.
8883 2001-09-12 Diego Novillo <dnovillo@redhat.com>
8885 * basic-block.h (expunge_block): Declare.
8886 * cfg.c (expunge_block): Remove static declaration.
8888 2001-09-12 Richard Henderson <rth@redhat.com>
8890 * integrate.c (copy_insn_list): Copy label name from
8891 NOTE_INSN_DELETED_LABEL.
8893 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8895 * c-common.c (c_tree_code_name): Const-ification.
8896 * c-decl.c (c_decode_option): Likewise.
8897 * c-typeck.c (warn_for_assignment): Likewise.
8898 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
8900 * cppinit.c (output_deps): Likewise.
8901 * dependence.c (dependence_string, direction_string): Likewise.
8902 * dwarf2out.c (output_ranges): Likewise.
8903 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
8904 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
8905 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
8906 standard_startfile_prefix, standard_startfile_prefix_1,
8907 standard_startfile_prefix_2, tooldir_base_prefix,
8908 standard_bindir_prefix, find_a_file): Likewise.
8909 * genattrtab.c (make_length_attrs): Likewise.
8910 * gencheck.c (tree_codes): Likewise.
8911 * genemit.c (gen_split): Likewise.
8912 * genrecog.c (special_mode_pred_table): Likewise.
8913 * graph.c (graph_ext): Likewise.
8914 * protoize (default_include): Likewise.
8915 * reload.c (reload_when_needed_name): Likewise.
8916 * sched-vis.c (visualize_stall_cycles): Likewise.
8917 * tlink.c (recompile_files): Likewise.
8918 * toplev.c (decode_g_option): Likewise.
8919 * tradcpp.c (output_deps): Likewise.
8920 * varasm.c (decode_reg_name): Likewise.
8922 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
8925 * avr.c (avr_regnames, encode_section_info): Likewise.
8926 * c4x.c (float_reg_names): Likewise.
8927 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
8928 * elfos.h (const_section): Likewise.
8929 * i386.c (ix86_comp_type_attributes): Likewise.
8930 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
8931 * ia64/aix.h (UNIQUE_SECTION): Likewise.
8932 * ia64.c (type_names): Likewise.
8933 * m68hc11.c (reg_class_names): Likewise.
8934 * m88k.c (m_options): Likewise.
8935 * mips.c (mips_output_conditional_branch, mips_unique_section):
8937 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
8938 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
8939 ultra_code_names): Likewise.
8940 * sparc.h (OVERRIDE_OPTIONS): Likewise.
8942 2001-09-12 Jakub Jelinek <jakub@redhat.com>
8944 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
8945 Use --fatal-warnings option for gas.
8946 * configure: Rebuilt.
8948 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8950 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
8952 2001-09-11 Jim Wilson <wilson@redhat.com>
8954 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
8956 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8958 * builtins.c (c_strlen): Treat an offset too large for a
8959 HOST_WIDE_INT as out of range.
8961 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
8963 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
8964 (EDGE_CRITICAL_P): New predicate.
8965 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
8967 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
8968 (dump_edge_info): Remove "crit".
8969 * cfganal.c (mark_critical_edges): Kill.
8970 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
8971 * cfgcleanup.c (cleanup_cfg): Likewise.
8972 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
8973 (find_spanning_tree): Likewise.
8974 * reg-stack.c (convert_regs_1): Likewise.
8975 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
8977 * basic-block.h (create_basic_block_structure): New.
8978 (create_basic_block): Update prototype.
8979 (force_nonfallthru): New.
8980 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
8981 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
8982 handle updating of block_for_insn, creating of empty BBs and BBs at
8983 the end of INSN chain.
8984 (create_basic_block): New function.
8985 (split_block): Use create_basic_block.
8986 (force_nonfallthru_and_redirect): Break out from ...; cleanup
8987 (redirect_edge_and_branch_force): ... here.
8988 (force_nonfallthru): New.
8989 (split_edge): Rewrite to use force_nonfallthru and create_block.
8990 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
8991 (find_basic_blocks): Free basic_block_for_insn.
8992 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
8994 * cfg.c: Fix formating.
8995 * cfgcleanup.c: Fix formating.
8996 (merge_blocks, tail_recursion_label_p): Return bool.
8997 (merge_blocks_move_predecessor_nojumps,
8998 merge_blocks_move_successor_nojumps): Return void.
9000 2001-09-11 Jakub Jelinek <jakub@redhat.com>
9002 * configure.in: Check whether assembler supports section merging.
9003 * config.in: Rebuilt.
9004 * configure: Rebuilt.
9005 * varasm.c (variable_section, output_constant_pool): Pass alignment
9006 to SELECT_SECTION and SELECT_RTX_SECTION.
9007 (mergeable_string_section): New.
9008 (mergeable_constant_section): New.
9009 (default_elf_asm_named_section): Output SECTION_MERGE and
9010 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9011 * output.h (mergeable_string_section): New.
9012 (mergeable_constant_section): New.
9013 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9014 * toplev.c (flag_merge_constants): New.
9015 (f_options): Add -fmerge-constants and -fmerge-all-constants
9017 (toplev_main): Default to -fno-merge-constants if not optimizing.
9018 * flags.h (flag_merge_constants): Add extern.
9019 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9020 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9022 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9023 Define if assembler has working .subsection -1 support.
9024 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9025 Put constant into special SHF_MERGE sections if the linker should
9026 attempt to merge duplicates.
9027 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9029 Put constant into special SHF_MERGE sections if the linker should
9030 attempt to merge duplicates.
9031 * config/alpha/elf.h: Likewise.
9032 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9033 has working .subsection -1 support.
9034 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9036 * config/svr3.h: Likewise.
9037 * config/darwin.h: Likewise.
9038 * config/arm/aof.h: Likewise.
9039 * config/arm/linux-elf.h: Likewise.
9040 * config/avr/avr.h: Likewise.
9041 * config/c4x/c4x.h: Likewise.
9042 * config/d30v/d30v.h: Likewise.
9043 * config/i386/dgux.h: Likewise.
9044 * config/i386/osfrose.h: Likewise.
9045 * config/i386/sco5.h: Likewise.
9046 * config/i386/svr3gas.h: Likewise.
9047 * config/ia64/aix.h: Likewise.
9048 * config/m32r/m32r.h: Likewise.
9049 * config/m68k/m68k.h: Likewise.
9050 * config/m88k/dgux.h: Likewise.
9051 * config/m88k/m88k.h: Likewise.
9052 * config/mcore/mcore-pe.h: Likewise.
9053 * config/mips/mips.h: Likewise.
9054 * config/pa/pa.h: Likewise.
9055 * config/pa/pa-linux.h: Likewise.
9056 * config/romp/romp.h: Likewise.
9057 * config/rs6000/sysv4.h: Likewise.
9058 * config/rs6000/xcoff.h: Likewise.
9059 * config/s390/linux.h: Likewise.
9060 * config/sparc/sparc.h: Likewise.
9061 * config/sparc/sysv4.h: Likewise.
9062 * config/stormy16/stormy16.h: Likewise.
9063 * config/v850/v850.h: Likewise.
9064 * config/vax/vms.h: Likewise.
9065 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9066 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9067 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9068 default_elf_asm_named_section for SHF_MERGE sections.
9070 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9072 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9075 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9077 * c-common.c (split_specs_attrs): Allow for empty attributes with
9078 empty TREE_PURPOSE. Fixes PR c/4294.
9080 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9082 * basic-block.h (cached_make_edge, make_single_succ): New.
9083 (make_edge): Remove first parameter.
9084 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9085 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9086 created edge; use obstack allocation.
9087 (make_edge, make_single_succ_edge): New.
9088 (first_removed_edge): New static variable.
9089 (init_flow): Initialize first_removed_edge and n_edges.
9090 (clear_edges): Use remove_edge.
9091 (flow_delete_block): Likewise.
9092 (remove_edge): Add removed edges to the removed edges list.
9093 (split_block, redirect_edge_and_branch_force, split_edge):
9095 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9096 (add_noreturn_fake_exit_edges): Likewise.
9097 (connect_infinite_loops_to_exit): Liekwise.
9098 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9099 Use cached_make_edge.
9100 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9101 * profile.c (branch_prob): Update make_edge call.
9102 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9104 2001-09-11 Richard Henderson <rth@redhat.com>
9106 * config/alpha/alpha.c: Tidy formatting.
9107 (local_symbolic_operand): Verify mode.
9108 (alpha_sa_mask): Ignore unicos for eh_return.
9109 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9110 * config/alpha/alpha.md (umk divsi patterns): Remove.
9111 (extendsfdf2): Remove unicos check.
9112 (tablejump): Merge vms and unicos code; always use direct set
9115 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9117 * config.gcc (alpha*-*-unicosmk*): New target.
9119 * config/alpha/alpha-protos.h (symbolic_operand,
9120 unicosmk_add_call_info_word, unicosmk_add_extern,
9121 unicosmk_defer_case_vector, unicosmk_unique_section,
9122 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9123 unicosmk_asm_file_start, unicosmk_asm_file_end,
9124 unicosmk_output_common): Declare.
9126 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9127 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9128 alpha_does_function_need_gp, alpha_end_function): Support Cray
9130 (alpha_init_machine_status, alpha_mark_machine_status,
9131 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9132 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9133 unicosmk_asm_named_section, unicosmk_insert_attributes,
9134 unicosmk_section_type_flags, symbolic_operand,
9135 unicosmk_output_module_name, unicosmk_output_default_externs,
9136 unicosmk_output_dex, unicosmk_output_externs,
9137 unicosmk_output_addr_vec, unicosmk_ssib_name,
9138 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9139 unicosmk_asm_file_end, unicosmk_output_common,
9140 unicosmk_section_type_flags, unicosmk_unique_section,
9141 unicosmk_add_call_info_word, unicosmk_text_section,
9142 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9143 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9144 unicosmk_dex_count, unicosmk_special_name): New.
9145 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9146 TARGET_ABI_UNICOSMK.
9147 (get_aligned_mem, alpha_expand_unaligned_load,
9148 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9149 alpha_expand_unaligned_store_words): Support big-endian mode.
9150 (print_operand): Likewise. New format specifier 't'. Use
9151 TARGET_AS_SLASH_BEFORE_SUFFIX.
9152 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9153 (alpha_pv_save_size): Update with above change.
9154 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9155 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9158 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9159 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9160 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9161 (EXTRA_CONSTRAINT): New constraint 'U'.
9162 (PREDICATE_CODES): Add symbolic_operand.
9164 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9165 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9166 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9167 (integer division and modulus patterns): Split in default and
9169 (*divmodsi_internal, *divmoddi_internal): Disable for
9170 TARGET_ABI_UNICOSMK.
9171 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9172 little-endian and big-endian versions.
9173 (ext, ins, msk): Likewise.
9174 (extv, extzv, insv): Support big-endian mode.
9175 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9176 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9177 *tablejump_umk_internal, *call_value_umk): New.
9178 (*movdi_nofix): Add pattern for loading an address into a register on
9179 TARGET_ABI_UNICOSMK.
9180 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9181 (umk_mismatch_args, arg_home_umk): New.
9182 (various insns): Don't use mov, fmov, nop, fnop and unop.
9183 (realign): Support TARGET_ABI_UNICOSMK.
9185 * config/alpha/unicosmk.h: New file.
9186 * config/alpha/t-unicosmk: New file.
9188 * fixinc/inclhack.def (unicosmk_restrict): New.
9189 * fixinc/fixincl.x: Regenerate.
9191 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9192 (wchar_t): Check for and define __WCHAR_T__.
9194 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
9196 * combine.c (simplify_shift_const): Treat shifts by the mode
9199 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9201 * cpphash.h (struct tokenrun): New.
9202 (struct cpp_context): New member bol.
9203 (struct cpp_reader): New members.
9204 (_cpp_init_tokenrun): New.
9205 * cppinit.c (cpp_create_reader): Set up the token runs.
9206 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9207 (lex_token): New internalised version of _cpp_lex_token. Don't
9208 handle directives or the multiple include optimization here any
9209 more. Simply lex a token.
9210 * cpplib.c (run_directive): Clear bol.
9211 (_cpp_pop_buffer): Set bol.
9212 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9215 2001-09-11 Michael Meissner <meissner@redhat.com>
9217 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9218 give an error if the user uses -mfp32.
9219 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9221 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9222 floating point register size.
9223 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9225 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9226 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9228 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9229 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9231 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
9233 * dbxout.c (dbxout_parms): Fix typo in comment.
9234 * unroll.c (loop_find_equiv_value): Ditto.
9235 * toplev.c (rest_of_compilation): Ditto.
9236 * loop.c (scan_loop): Ditto.
9237 * dwarf2out.c (struct dw_fde_struct): Ditto.
9239 2001-09-10 Zack Weinberg <zackw@panix.com>
9241 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
9242 copying identifier when we're just going to throw it away.
9243 (parse_identifier_slow): New routine to handle abnormal cases.
9244 (_cpp_lex_token): Update call site.
9246 * hashtable.c (ht_lookup): Don't assume that the string we've
9247 been given is NUL-terminated.
9248 * system.h: #define __builtin_expect(a, b) to (a) if not
9251 2001-09-10 Michael Meissner <meissner@redhat.com>
9253 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9256 2001-09-10 David Edelsohn <edelsohn@gnu.org>
9258 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9260 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9262 * builtins.c (c_getstr): Correct thinko in last change and further
9265 2001-09-10 Tim Freeman <tim@fungibole.com>
9267 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9268 into varray's and register them as roots with the garbage
9269 collector so they are not collected too soon.
9271 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
9273 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9275 * basic-block.h (flow_obstack, label_value_list,
9276 tail_recursion_label_list): Declare
9277 (tidy_fallthru_edges): Declare.
9278 (expunge_block, last_loop_beg_note): Delete.
9279 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9281 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9282 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9283 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9284 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9285 expunge_block, flow_delete_block, compute_bb_for_insn,
9286 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9287 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9288 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9289 try_redirect_by_replacing_jump, last_loop_beg_note,
9290 redirect_edge_and_branch, redirect_edge_and_branch_force,
9291 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9292 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9293 commit_edge_insertions, dump_flow_info, debug_flow_info,
9294 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9295 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9296 Move here from flow.c
9297 * cfganal.c: New file.
9298 (forwarder_block_p, can_fallthru, mark_critical_edges,
9299 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9300 find_unreachable_blocks, create_edge_list, free_edge_list,
9301 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9302 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9303 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9304 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9305 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9306 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9307 Move here from flow.c
9308 * cfgbuild.c: New file
9309 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9310 make_edges, find_basic_blocks_1, find_basic_blocks,
9311 find_sub_basic_blocks): Move here from flow.c
9312 * cfgcleanup.c: New file.
9313 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9314 merge_blocks_move_predecessor_nojumps,
9315 merge_blocks_move_successor_nojumps, merge_blocks,
9316 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9317 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9318 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9320 * cfgloop.c: New file
9321 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9322 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9323 flow_loop_exit_edges_find, flow_loop_nodes_find,
9324 flow_loop_pre_header_scan, flow_loop_pre_header_find,
9325 flow_loop_tree_node_add, flow_loops_tree_build,
9326 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9327 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9328 Move here from flow.c
9329 * flow.c: Remove everything moved elsewhere
9330 * output.h (cleanup_cfg): Return bool.
9332 * bb-reorder.c (reorder_block_def): Remove 'index'.
9333 (insert_intra_1): Add argument BB, set block for new note.
9334 (make_reorder_chain): Do not depdent on BB indexes.
9335 (make_reorder_chain_1): Do not use BB indexes.
9336 (label_for_bb): Likewise; set BB for new insn.
9337 (emit_jump_to_block_after): Likewise.
9338 (fixup_reorder_chain): Sanity check that all basic blocks
9339 are chained; verify newly created insn chain; remove
9340 undocnitional jump simplifying; Do not use BB indexes;
9341 properly initialize count and frequency information;
9342 dump reordered sequence.
9343 (insert_intra_bb_scope_notes): update call of insert_intra_1.
9344 (insert_inter_bb_scope_notes): Set block for new insn.
9345 (reorder_basic_blocks): Dump flow info before reoredering.
9347 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9349 * alias.c (clear_reg_alias_info): Use K&R format definition.
9350 Avoid unsigned warning.
9351 * builtins.c: Use "unsigned int", not "unsigned".
9352 (target_char_cast): Use host_integerp and tree_low_cst.
9353 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9354 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9355 (c_getstr): Likewise.
9356 (std_expand_builtin_va_arg): Use int_size_in_bytes.
9357 (builtin_memcpy_read_str): Avoid unsigned warning.
9358 (expand_builtin_memcpy): Alignments are unsigned.
9359 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9360 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9361 * predict.c (expensive_function_p): LIMIT now unsigned.
9362 * resource.c (mark_target_live_regs): Make some vars unsigned.
9363 * sdbout.c: Use "unsigned int", not "unsigned".
9364 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9365 (sdbout_source_line): Likewise.
9366 (sdbout_record_type_name): Remove "const" for NAME declaration.
9367 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9369 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
9371 * calls.c (store_one_arg): Expand comment.
9373 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9375 * calls.c (store_one_arg): Make sure that the entire argument is
9376 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9378 2001-09-09 Richard Henderson <rth@redhat.com>
9380 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9382 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
9384 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9386 2001-09-09 Richard Henderson <rth@redhat.com>
9388 * config/alpha/alpha.c (alpha_next_sequence_number): New.
9389 (alpha_this_literal_sequence_number): New.
9390 (alpha_this_gpdisp_sequence_number): New.
9391 (some_operand, input_operand): Add HIGH.
9392 (local_symbolic_operand): New.
9393 (alpha_encode_section_info): New.
9394 (alpha_legitimate_address_p): Allow LO_SUM.
9395 (alpha_legitimize_address): Generate HIGH+LO_SUM.
9396 (alpha_expand_mov): Likewise.
9397 (secondary_reload_class): Check memory_operand not general_operand
9399 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9400 (alpha_expand_unaligned_store): Likewise.
9401 (alpha_expand_unaligned_load_words): Likewise.
9402 (alpha_expand_unaligned_store_words): Likewise.
9403 (alpha_expand_block_clear): Likewise.
9404 (print_operand): Handle %#, %*, %H.
9405 (print_operand_address): Handle LO_SUM.
9407 (alpha_does_function_need_gp): Use it.
9408 (alpha_expand_block_move): Fix signed compare warnings.
9409 (alpha_sa_mask, alpha_align_insns): Likewise.
9410 * config/alpha/alpha-protos.h: Update.
9411 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9412 (MASK_EXPLICIT_RELOCS): New.
9413 (TARGET_SWITCHES): Add -mexplicit-relocs.
9414 (EXTRA_CONSTRAINT): Add 'T'.
9415 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9416 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9417 (ENCODE_SECTION_INFO): Out line.
9418 (REDO_SECTION_INFO_P): New.
9419 (STRIP_NAME_ENCODING): New.
9420 (ASM_OUTPUT_LABELREF): New.
9421 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9422 (PREDICATE_CODES): Update.
9423 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9424 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9425 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9426 builtin_setjmp_receiver_er, exception_receiver_1_er,
9427 call_value_osf_1_er): New patterns.
9428 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9429 (movqi, movhi, movsi): Add explicit $31 base register to lda.
9430 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9431 (FINAL_PRESCAN_INSN): New.
9433 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
9435 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9437 2001-09-08 Andreas Jaeger <aj@suse.de>
9439 * i386.h (TARGET_SWITCHES): Fix description.
9441 2001-09-07 David Edelsohn <edelsohn@gnu.org>
9443 * rs6000.c (num_insns_constant): Compute number of instructions
9446 * doc/install.texi: Explain AIX exception handling work-around.
9447 Update URL for AIX fixes.
9449 2001-09-07 Jim Wilson <wilson@redhat.com>
9451 * alias.c (clear_reg_alias_info): New.
9452 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9453 * rtl.h (clear_reg_alias_info): Declare.
9455 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9457 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9459 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9460 (m16m,edivm,emulm): Change declaration to match definition.
9462 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9464 * reload.c (push_reload): Check for subreg_lowpart_p instead of
9465 SUBREG_BYTE being 0 when determining if the inner part of a subreg
9468 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9470 * c-common.c (signed_or_unsigned_type): Handle machine mode types
9471 which have no corresponding C type.
9472 * fold_const.c (target_isinf,target_isnan,target_negative): Update
9473 the representation of 64-bit doubles to work with 64-bit ints.
9475 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
9477 * config/mips/mips.c (override_options): Do not override ISA when ABI
9478 specified if MIPS_CPU_STRING_DEFAULT was specified.
9480 2001-09-07 Richard Henderson <rth@redhat.com>
9482 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9483 (express_from_1): Wrap lines.
9484 * rtlanal.c (commutative_operand_precedence): Rename from
9485 operand_preference; export.
9486 * rtl.h: Declare it.
9487 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9488 (simplify_binary_operation): Invoke simplify_plus_minus on
9489 (CONST (PLUS ...)) as well.
9490 (struct simplify_plus_minus_op_data): New.
9491 (simplify_plus_minus_op_data_cmp): New.
9492 (simplify_plus_minus): Use them. Avoid infinite recursion with
9493 simplify_binary_operation wrt CONST.
9495 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
9497 * h8300-protos.h (general_operand_dst_push): Remove.
9498 * h8300.c (general_operand_dst_push): Likewise.
9499 * h8300.h (OK_FOR_T): Likewise.
9500 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9501 * h8300.md (pushqi_h8300): New.
9502 (pushqi_h8300hs): Likewise.
9504 (pushhi_h8300): Likewise.
9505 (pushhi_h8300hs): Likewise.
9508 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9510 * genattrtab.c (attr_printf): First arg is unsigned.
9511 Clean up formatting of callers.
9513 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
9515 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9518 2001-09-07 Andreas Jaeger <aj@suse.de>
9520 * i386.h (TARGET_SWITCHES): Fix descriptions.
9522 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9524 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9526 2001-09-06 Ira Ruben <ira@apple.com>
9528 Remove OP_IDENTIFIER.
9529 * tree.def (OP_IDENTIFIER): Remove.
9530 * tree.c (tree_node_kind enum): Remove op_id_kind.
9531 (tree_node_kind_names): Remove "op_identifiers".
9532 (make_node): Remove OP_IDENTIFIER test.
9533 (build_op_identifier): Removed because it isn't being used.
9534 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9535 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9537 2001-09-06 Richard Henderson <rth@redhat.com>
9539 * simplify-rtx.c (simplify_binary_operation): Revert last change.
9541 2001-09-06 Richard Henderson <rth@redhat.com>
9543 * simplify-rtx.c (simplify_binary_operation): Simplify contents
9546 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9548 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9549 number used for CR register.
9551 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9552 Joern Rennecke (amylaar@cygnus.com)
9554 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9555 * h8300.c (initial_offset): Handle offset between RP and FP.
9556 (h8300_return_addr_rtx): New function.
9557 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9559 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9560 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9561 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9562 (CAN_ELIMINATE, REGISTER_NAMES):
9563 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9565 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
9567 Remove TYPE_NONCOPIED_PARTS.
9568 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9569 (struct tree_type): Remove noncopied_parts.
9570 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9571 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9572 (fixed_type_p): Remove.
9573 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9574 (expand_expr, MODIFY_EXPR): Likewise.
9575 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9576 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9578 2001-09-06 Alan Modra <amodra@bigpond.net.au>
9580 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9582 (mask64_operand): Likewise.
9583 (includes_rldic_lshift_p): Likewise.
9584 (includes_rldicr_lshift_p): Likewise.
9586 2001-09-05 Ziemowit Laski <zlaski@apple.com>
9588 * objc/objc-act.c (build_message_expr): If a class method cannot
9589 be found, do not issue a warning if a corresponding instance
9590 method exists in the root class.
9592 2001-09-05 Richard Henderson <rth@redhat.com>
9594 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9596 2001-09-05 Zack Weinberg <zack@codesourcery.com>
9598 * function.c (ggc_mark_struct_function): Mark f->outer.
9599 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9600 * integrate.c (output_inline_function): ... not here.
9602 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9604 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9606 * i386.c (size_cost): New static variable.
9607 (override_function): Use size_cost when -Os is specified.
9609 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9610 properly; Use current_function_calls_eh_return.
9611 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9612 use leave to avoid dependency chain.
9614 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9615 get BB loop_depth instead of computing it from LOOP notes.
9617 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9619 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
9621 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9622 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9623 UNALIGNED_DOUBLE_INT_ASM_OP): Define
9625 2001-09-05 Jeffrey A Law (law@cygnus.com)
9626 Jason Merrill (jason@redhat.com)
9628 * stor-layout.c (layout_type): Complain if an array's size can
9629 not be represented in a size_t.
9631 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9633 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
9635 * gcc.c: (process_command) Add parentheses around assignment
9636 used as truth value.
9638 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9640 * config/mips/mips.c (save_restore_insns): Don't mark any register
9641 save slots as unchanging if current_function_calls_eh_return.
9643 2001-09-05 Richard Henderson <rth@redhat.com>
9645 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9646 * config/alpha/alpha-protos.h: Declare it.
9647 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9648 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9649 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9650 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9651 (REG_OK_FOR_BASE_P): Select one of the above.
9653 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9655 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9656 (crti.o): Prefix name of object file with $(T).
9659 2001-09-05 David S. Miller <davem@redhat.com>
9661 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9662 * config/sparc/linux64.h: Likewise.
9664 2001-09-05 Andreas Jaeger <aj@suse.de>
9666 * doc/invoke.texi (i386 Options): -mwide-multiply is not
9667 available anymore, remove the documentation.
9668 (i386 Options): Fix typo, cleanup index entries.
9670 * prefix.c (concat): Remove, we can use the version from liberty.
9672 2001-09-05 Richard Henderson <rth@redhat.com>
9674 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9675 New functions split out of md file expanders.
9676 * config/alpha/alpha-protos.h: Declare them.
9677 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9679 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
9681 * cppmacro.c (funlike_invocation_p): No need to restore context.
9683 2001-09-04 Richard Henderson <rth@redhat.com>
9685 * reload.c (push_reload): Export.
9686 * reload.h (push_reload): Declare it.
9688 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9689 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9690 * config/alpha/alpha.c (alpha_legitimize_address): New.
9691 (alpha_legitimize_reload_address): Likewise.
9692 * config/alpha/alpha-protos.h: Declare them.
9694 2001-09-04 Stan Shebs <shebs@apple.com>
9696 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9697 * config/darwin.c (machopic_stub_name): Account for internally
9698 generated lib calls such as memcpy.
9700 2001-09-04 Richard Henderson <rth@redhat.com>
9702 * unwind.h (_UA_END_OF_STACK): New flag.
9703 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9705 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9707 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9709 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
9711 * config/mips/mips.c (save_restore_insns): Change base_offset to
9712 fp_offset in second call to mips_emit_frame_related_store.
9714 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
9716 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9717 sometimes be represented as a NOTE of type
9718 NOTE_INSN_DELETED_LABEL.
9719 (Insns): Document NOTE_INSN_DELETED_LABEL.
9721 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
9723 * c-common.h (tree_dump_index): Add more comments.
9724 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9725 (dump_option_value_info): New struct.
9726 (dump_options): New array.
9727 (dump_switch_p): Parse switch options symbolically.
9728 * doc/invoke.texi (-fdump-ast): Rename to ...
9729 (-fdump-tree): ... here. Document that options are symbolic, and
9730 not all are applicable.
9732 2001-09-04 David S. Miller <davem@redhat.com>
9734 * config/sparc/sparc.md (define_splits): Kill constraints.
9736 Cleanup redundant and unused insn attributes.
9737 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
9738 binary, and move. Mark ialu as default.
9739 (commented out define_function_unit "alu"): Kill.
9740 (define_attr "use_clobbered"): Kill.
9741 (whole file): Kill address insn type references. Replace
9742 all unary/binary/move references with ialu.
9743 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
9744 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
9747 Simplify length insn attribute and make more judicious use
9748 of insn attribute defaulting.
9749 * config/sparc/sparc.md (all insns with length > one): Mark as
9750 insn type multi if real instructions, else use default if
9751 it is a forced splitter.
9752 (all insns with length == one): Use default insn length.
9753 (all insns of type ialu): Use default insn type.
9755 Fix erroneous insn attribute settings.
9756 (addx): Set insn type to misc.
9757 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
9758 const_umulsidi3_sp64): Set insn type to imul.
9760 Track SFmode vs DFmode insns according to UltraSPARC
9762 * config/sparc/sparc.md ("fptype"): New attribute, default
9764 (all DFmode single insns): Mark as fptype "double".
9766 2001-09-03 Jakub Jelinek <jakub@redhat.com>
9768 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
9770 2001-09-03 Richard Henderson <rth@redhat.com>
9772 * function.h (struct function): Add arg_pointer_save_area_init.
9773 * function.c (expand_function_end): Init arg_pointer_save_area.
9774 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
9775 when called from a nested function.
9777 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
9779 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
9782 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9784 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
9786 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
9788 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
9789 (emit_push_insn): Use specified padding direction when
9790 STACK_PUSH_CODE is POST_INC.
9792 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
9794 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9796 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
9798 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
9800 * cppinit.c (cpp_start_read): Free the imacros list as we
9801 traverse it. Don't free the chains before returning.
9802 (_cpp_push_next_buffer): Only try pushing buffers if we've
9803 completed -imacros handling.
9805 2001-08-31 Eric Christopher <echristo@redhat.com>
9807 * gcc.c (handle_braces): Add explaination for abort.
9809 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
9811 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
9812 move adjustment of bitpos instead.
9814 2001-08-31 Zack Weinberg <zack@codesourcery.com>
9816 * function.c: Remove all_functions. Make outer_function_chain
9818 (init_function_start): Don't add new function structure to
9820 (find_function_data, push_function_context_to,
9821 pop_function_context_from, put_var_into_stack,
9822 trampoline_address): Update for changed structure element names.
9823 (push_function_context_to): Disentangle.
9824 (free_after_compilation): Also free F.
9825 (expand_dummy_function_end): Don't free cfun here.
9826 (put_var_into_stack): Comment why we can't use find_function_data here.
9827 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
9828 (mark_function_chain): Split into maybe_mark_struct_function and
9829 ggc_mark_struct_function. Export the latter.
9830 (init_function_once): Mark from cfun and outer_function_chain;
9833 * function.h (struct function): Kill next_global. Rename next
9834 to outer. All users updated to match.
9835 (all_functions, outer_function_chain): Don't declare.
9837 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
9838 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
9839 don't touch f->inlinable, after calling rest_of_compilation.
9841 * tree.h: Forward-declare struct function. Prototype
9842 ggc_mark_struct_function.
9844 2001-08-31 Kazu Hirata <kazu@hxi.com>
9846 * config/h8300/h8300.md (*andorhi3): Fix typos.
9848 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9850 * calls.c (emit_library_call_value): Don't use a fixed
9851 argument after VA_CLOSE, i.e. out of scope in traditional C.
9853 * emit-rtl.c (gen_rtvec): Likewise.
9855 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9857 * Makefile.in (c-pragma.o): Depend on output.h.
9858 (reorg.o): Depend on except.h.
9860 * c-pragma.c: Include output.h.
9862 * reorg.c: Include except.h.
9864 * unwind-dw2.c: Call __builtin_alloca, not alloca.
9866 2001-08-31 Richard Henderson <rth@redhat.com>
9868 * sched-deps.c (add_dependence): Don't elide dependency if the
9869 conditional used by insn is modified in elem.
9871 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
9873 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
9875 2001-08-31 Diego Novillo <dnovillo@redhat.com>
9877 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
9880 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9882 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
9884 (stormy16_asm_out_constructor): New function.
9885 (TARGET_ASM_CONSTRUCTOR): Define.
9886 (TARGET_ASM_DESTRUCTOR): Define.
9888 2001-08-31 Andreas Jaeger <aj@suse.de>
9890 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
9891 * loop.c (add_label_notes): Likewise.
9892 * reload.c (find_reloads): Likewise.
9893 * config/sh/sh.c (machine_dependent_reorg): Likewise.
9895 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
9897 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
9898 code here. Take _Unwind_{W,Sw}ord*.
9899 (read_encoded_value_with_base): Use them.
9900 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
9902 (extract_cie_info): Simplify read_?leb128 handling.
9903 (execute_stack_op, execute_cfa_program): Likewise.
9904 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
9906 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9908 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
9909 the frame pointer to pop the stack if convenient.
9911 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
9912 Don't use post-increment before combine.
9913 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
9914 a call-saved register.
9916 2001-08-31 Andreas Jaeger <aj@suse.de>
9918 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
9921 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
9923 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
9924 not DIV/MOD, of course.
9926 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
9928 * rtl.def: Undo my patch commited 2001-08-27.
9930 * genattrtab.c: Ditto.
9934 * sched-int.h: Ditto.
9936 * target-def.h: Ditto.
9940 * haifa-sched.c: Ditto.
9942 * sched-rgn.c: Ditto.
9944 * sched-vis.c: Ditto.
9946 * Makefile.in: Ditto.
9948 * doc/md.texi: Ditto.
9950 * doc/tm.texi: Ditto.
9952 * doc/contrib.texi: Ditto.
9954 * doc/gcc.texi: Ditto.
9956 * genattrtab.h: Remove it.
9958 * genautomata.c: Remove it.
9960 * genattr.c: Undo my patch and Richard Henderson's patch commited
9963 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
9965 * config.gcc (h8300-*-elf*): New case.
9966 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
9967 (SUBTARGET_CPP_SPEC): Define.
9968 (EXTRA_SPECS): Define.
9969 (SUBTARGET_EXTRA_SPECS): Define.
9970 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
9971 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
9973 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
9975 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
9976 (LIB2FUNCS_EXTRA): Define.
9977 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
9978 config/h8300/fixunssfsi.c: New file.
9980 2001-08-30 Kazu Hirata <kazu@hxi.com>
9982 * config/h8300/h8300.md (zero_extendqihi2): Changes to
9983 define_expand to accommodate target-specific attributes.
9984 (anonymous zero_extendqihi2 patterns): New.
9986 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
9988 * h8300.md (*andorhi3): New pattern.
9990 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
9992 * h8300.c (dosize): Fix test for "sub".
9994 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
9996 * c-typeck.c (pointer_diff): Try to eliminate common term before
9999 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
10001 * config/arm/arm.c (arm_compute_initial_elimination_offset):
10002 Account for the saves of the FP registers.
10004 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10005 (TEXT_SECTION_ASM_OP): Define.
10006 (INIT_SECTION_ASM_OP): Define.
10007 (FINI_SECTION_ASM_OP): Define.
10008 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10009 (RDATA_SECTION_FUNCITON): Provide prototype.
10011 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
10013 * reload1.c (move2add_note_store): Correct typo checking for
10016 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
10018 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10019 note should not be considered outside the libcall block.
10021 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10023 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10025 2001-08-29 Kazu Hirata <kazu@hxi.com>
10027 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10029 2001-08-29 Kazu Hirata <kazu@hxi.com>
10031 * config/h8300/h8300-protos.h: Add a prototype for
10033 * config/h8300/h8300.c (emit_logical_op): New.
10034 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10035 (andsi3): Likewise.
10036 (iorhi3): Likewise.
10037 (iorsi3): Likewise.
10038 (xorhi3): Likewise.
10039 (xorsi3): Likewise.
10041 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10043 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10044 comparison with rtx INTVAL.
10045 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10047 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10049 2001-08-29 Kazu Hirata <kazu@hxi.com>
10051 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10054 2001-08-29 Kazu Hirata <kazu@hxi.com>
10056 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10057 (reg n) to (mem (pre_dec (reg n))
10058 (anonymous movsi pattern): Likewise.
10060 2001-08-29 Kazu Hirata <kazu@hxi.com>
10062 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10064 2001-08-29 Kazu Hirata <kazu@hxi.com>
10066 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10067 several special constants.
10069 2001-08-29 Kazu Hirata <kazu@hxi.com>
10071 * config/h8300/lib1funcs.asm: Fix comment typos.
10073 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10075 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10076 Fix format specifier warnings.
10078 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10079 inet_makeaddr, semctl): Prototype.
10081 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10082 (save_restore_insns): Use base_offset, not gp_offset.
10084 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10085 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10087 2001-08-29 Richard Henderson <rth@redhat.com>
10089 * bb-reorder.c (function_tail_eff_head): New.
10090 (record_effective_endpoints): Set it.
10091 (fixup_reorder_chain): Use it.
10093 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10095 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10097 2001-08-28 Dale Johannesen <dalej@apple.com>
10099 * config/darwin.c (machopic_function_base_name): Add const
10100 qualifier to a string.
10101 (darwin_encode_section_info): Ditto.
10103 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10105 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10106 function definition.
10108 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10110 * df.h (struct df): Add rts_order variable.
10112 * df.c (df_visit_next_rts): New function.
10113 (df_visit_next): Renamed to df_visit_next_rc
10114 (df_analyse_1): Allocate/compute/free rts_order as well.
10115 (df_rd_global_compute): Use df_visit_next_rc instead of
10117 (df_ru_global_compute): Use df_visit_next_rts instead of
10120 * flow.c (flow_reverse_top_sort_order_compute): New function.
10122 * basic-block.h: Add prototype.
10124 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10126 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10127 blocks, the BB_REACHABLE is now set, rather than aux being
10128 non-NULL. Update the test to reflect this.
10130 2001-08-28 Eric Christopher <echristo@redhat.com>
10132 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10133 config/mips/crti.asm: Ditto.
10135 2001-08-28 Eric Christopher <echristo@redhat.com>
10136 Richard Henderson <rth@redhat.com>
10138 * c-pragma.h (add_weak): Move prototype from here...
10139 * output.h (add_weak): ... to here.
10140 * varasm.c (add_weak): Fix typo.
10141 * config/mips/crti.asm: New file.
10142 * config/mips/crtn.asm: Ditto.
10143 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10144 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10145 (INVOKE__main): Ditto.
10146 (INIT_SECTION_ASM_OP): New.
10147 (FINI_SECTION_ASM_OP): Ditto.
10148 (STARTFILE_SPEC): Add crti.
10149 (ENDFILE_SPEC): Add crtn.
10150 * config/mips/elf64.h: Same.
10151 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10153 * config/mips/vxworks.h: Ditto.
10154 * config/mips/t-elf: Support crti and crtn.
10156 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10158 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10161 2001-08-28 Richard Henderson <rth@redhat.com>
10163 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10164 (one_cmplbi2 splitter): Remove redundant test.
10166 2001-08-28 Dale Johannesen <dalej@apple.com>
10168 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10170 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10172 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10174 2001-08-28 Stan Shebs <shebs@apple.com>
10176 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10177 (UNALIGNED_SHORT_ASM_OP): Define.
10178 (UNALIGNED_INT_ASM_OP): Define.
10180 2001-08-28 Will Cohen <wcohen@redhat.com>
10182 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10183 generation for first set.
10185 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10187 * flow.c (redirect_edge_succ_nodup): Return new edge.
10188 (try_simplify_condjump): Use new edge.
10189 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10191 * cse.c (cse_basic_block): Skip note instructions.
10193 2001-08-27 Richard Henderson <rth@redhat.com>
10195 * combine.c (combine_simplify_rtx): Don't reverse condition
10196 if there is no reverse for the condition.
10197 (simplify_comparison): Don't simplify subregs from INT to FP.
10199 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10200 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10201 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10202 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10203 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10204 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10206 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10208 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10209 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10211 (adddi_dilshr32, adddi_dishl32): Only data register can be
10212 source for mem destination.
10214 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10215 and use bitnum to decide about register move.
10217 2001-08-27 Richard Henderson <rth@redhat.com>
10219 * genattr.c (main): Emit state_t even when not doing scheduling.
10221 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10222 Richard Henderson <rth@redhat.com>
10224 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10225 (reg_avail_info, current_bb): ... these.
10226 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10227 (compute_hash_table): Likewise.
10229 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10231 * flow.c (verify_flow_info): Use checksums to verify edges.
10233 2001-08-27 Richard Henderson <rth@redhat.com>
10235 * genautomata.c (expand_automata): Always create a description.
10237 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10239 * optabs.c (expand_binop): Correctly handle the carry in multiword
10240 add/subtract operations.
10242 2001-08-27 Fred Fish <fnf@be.com>
10244 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10247 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10249 * reload.c (find_reloads_toplev): Back out this change:
10251 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
10253 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10254 mem if the address is a mode_dependent_address_p.
10256 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10258 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10259 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10260 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10263 * genattr.c (main): New variable num_insn_reservations. Increase
10264 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10265 pipeline hazard recognizer interface.
10267 * genattrtab.h: New file.
10269 * genattrtab.c: Include genattrtab.h.
10270 (attr_printf, check_attr_test, make_internal_attr,
10271 make_numeric_value): Move protypes into genattrtab.h. Define them
10273 (num_dfa_decls): New global variable.
10274 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10275 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10276 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10277 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10279 * genautomata.c: New file.
10281 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10283 * sched-int.h: (curr_state): Add the external definition for
10284 automaton pipeline interface.
10285 (haifa_insn_data): Add comments for members blockage and units.
10287 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10288 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10289 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10290 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10291 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10292 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10293 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10295 (TARGET_SCHED): Use the new macros.
10297 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10298 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10299 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10300 dfa_bubble): New members in gcc_target.sched.
10302 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10303 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10304 (insn_queue): Redefine it as pointer to array.
10305 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10307 (max_insn_queue_index_macro_value): New variable.
10308 (curr_state, dfa_state_size, ready_try): New varaibles for
10309 automaton interface.
10310 (ready_element, ready_remove, max_issue): New function prototypes
10311 for automaton interface.
10312 (choose_ready): New function prototype.
10313 (insn_unit, blockage_range): Add comments.
10314 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10315 FUNCTION_UNITS_SIZE == 0.
10316 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10317 actual_hazard, potential_hazard): Add comments.
10318 (insn_cost): Use cost -1 as undefined value. Remove
10319 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10320 pipeline interface.
10321 (ready_element, ready_remove): New functions for automaton
10323 (schedule_insn): Add new code for automaton pipeline interface.
10324 (queue_to_ready): Add new code for automaton pipeline interface.
10325 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10326 (debug_ready_list): Print newline when the queue is empty.
10327 (max_issue): New function for automaton pipeline interface.
10328 (choose_ready): New function.
10329 (schedule_block): Add new code for automaton pipeline interface.
10330 Print ready list before scheduling each insn.
10331 (sched_init): Add new code for automaton pipeline interface.
10332 Initiate insn cost by -1.
10333 (sched_finish): Free the current automaton state and finalize
10334 automaton pipeline interface.
10336 * sched-rgn.c: Include target.h.
10337 (init_ready_list, new_ready, debug_dependencies): Add new code for
10338 automaton pipeline interface.
10340 * sched-vis.c: Include target.h.
10341 (get_visual_tbl_length): Add code for automaton interface.
10342 (target_units, print_block_visualization): Add comments.
10344 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10345 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10346 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10347 (getruntime.o, genautomata.o): New entries.
10348 (genattrtab.o): Add new dependency file genattrtab.h.
10349 (genattrtab): Add new dependencies. Link it with `libm.a'.
10350 (getruntime.o, hashtab.o): New entries for canadian cross.
10352 * doc/md.texi: Description of automaton based model.
10354 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10356 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10357 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10358 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10359 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10360 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10361 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10362 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10364 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10365 MAX_DFA_ISSUE_RATE): New macro descriptions.
10367 * doc/contrib.texi: Add dfa based scheduler contribution.
10369 * doc/gcc.texi: Add more information about genattrtab.
10371 2001-08-27 Diego Novillo <dnovillo@redhat.com>
10373 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10374 an RTL basic block.
10376 2001-08-27 Richard Henderson <rth@redhat.com>
10378 * function.c (expand_function_end): Don't init arg_pointer_save_area.
10379 (get_arg_pointer_save_area): New. Create an init it here.
10380 (fix_lexical_addr): Use it.
10381 * function.h: Declare it.
10382 * builtins.c (expand_builtin_setjmp_receiver): Use it.
10383 * stmt.c (expand_nl_goto_receiver): Use it.
10385 2001-08-27 Richard Henderson <rth@redhat.com>
10387 * final.c (final_scan_insn): Don't enter APP_ON mode for
10390 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10391 alignment for assemble_integer for DW_EH_PE_aligned.
10392 * except.c (output_function_exception_table): Likewise.
10394 2001-08-26 Andreas Jaeger <aj@suse.de>
10396 * c-tree.h: Add prototyp for c_sizeof_nowarn.
10398 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
10400 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10402 2001-08-27 Alan Modra <amodra@bigpond.net.au>
10404 * config/rs6000/rs6000.c (mask_operand): Rewrite without
10406 (mask64_operand): Likewise.
10407 (rldic_operand): Delete.
10408 (includes_lshift64_p): Delete.
10409 (includes_rldic_lshift_p): New function.
10410 (includes_rldicr_lshift_p): New function.
10411 (print_operand): Don't call rldic_operand in case 'W'.
10412 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10413 (includes_lshift64_p): Remove.
10414 (includes_rldic_lshift_p): Declare.
10415 (includes_rldicr_lshift_p): Declare.
10416 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10417 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10418 Replace match_operand rldic_operand predicate with
10419 const_int_operand. Replace includes_lshift64_p condition with
10420 includes_rldic_lshift_p.
10421 <ashldi3_internal 64 bit rldicr patterns>: New.
10423 2001-08-27 Andreas Jaeger <aj@suse.de>
10425 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10426 * errors.c: Likewise.
10427 * final.c: Likewise.
10428 * dwarf2asm.c: Likewise.
10429 * doprint.c (checkit): Likewise.
10430 * diagnostic.c: Likewise.
10431 * collect2.c: Likewise.
10432 * calls.c: Likewise.
10433 * c-semantics.c (build_stmt): Likewise.
10434 * c-format.c (status_warning): Likewise.
10435 * c-errors.c (pedwarn_c99): Likewise.
10436 * builtins.c (validate_arglist): Likewise.
10437 * config/pj/pj.c (pj_printf): Likewise.
10438 * fix-header.c: Likewise.
10440 * gcov.c (fnotice): Likewise.
10441 * gensupport.c (message_with_line): Likewise.
10442 * mips-tfile.c: Likewise.
10443 * protoize.c (notice): Likewise.
10444 * read-rtl.c (fatal_with_file_and_line): Likewise.
10445 * rtl-error.c: Likewise.
10446 * tradcpp.c: Likewise.
10447 * tree.c: Likewise.
10448 * cp/tree.c (build_min_nt): Likewise.
10449 (build_min): Likewise.
10450 * cp/lex.c: Likewise.
10451 * cp/errfn.c: Likewise.
10452 * cp/rtti.c (create_pseudo_type_info): Likewise.
10454 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
10456 * df.c (df_uses_record): Return after recording all uses
10459 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
10461 * df.c (df_insn_modify): Realloc the INSN table here, if
10462 necessary, here, too.
10464 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
10466 * config/mips/mips.c (mips_function_value): Handle complex return
10469 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
10471 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10473 * reload.c (make_memloc): Copy result if it is still
10474 reg_equiv_memory_loc[regno] on return.
10475 (subst_reloads) [ENABLE_CHECKING]: Check that none of
10476 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10477 reg_equiv_mem are modified by the substitutions.
10479 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10481 * predict.c (expensive_function_p): New.
10482 * rtl.h (expensive_function_p): Declare.
10483 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10484 (use_fast_prologue_epilogue): New static variable.
10485 (expand_prologue): Set it; emit short prologues if unset.
10486 (expand_epilogue): Likewise.
10488 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10490 * config.gcc: Add stormy16-*-elf case.
10491 * config/stormy16/stormy-abi: New file.
10492 * config/stormy16/stormy16-lib2.c: New file.
10493 * config/stormy16/stormy16-protos.h: New file.
10494 * config/stormy16/stormy16.c: New file.
10495 * config/stormy16/stormy16.h: New file.
10496 * config/stormy16/stormy16.md: New file.
10497 * config/stormy16/t-stormy16: New file.
10499 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
10501 * i386.h (no-accumulate-outgoing-args): Use proper mask.
10503 2001-08-24 David Edelsohn <edelsohn@gnu.org>
10505 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10506 descriptor members are pointer size, not constant 4.
10507 * config/rs6000/rs6000.md (define_splits): Remove more unused
10510 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10512 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10514 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
10516 * cp/rtti.c (VPARAMS): Fix parameter.
10518 2001-08-24 Zack Weinberg <zackw@panix.com>
10520 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10522 (mode_for_extraction): No need for #ifdefs. Add default-case abort
10524 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
10525 in if controlling use of insv.
10526 (extract_bit_field): Likewise, for extv and extzv.
10528 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
10530 * i386.md (movcc peep2): Fix load of 0.
10532 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10534 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10535 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10537 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
10539 * c-pragma.h: Move weak_syms and weak_decls...
10540 * varasm.c: ...here. Now static.
10541 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10542 depend on HANDLE_PRAGMA_WEAK.
10544 * c-common.c (c_alignof, c_alignof_expr): Move here...
10545 * c-typeck.c: ...from here.
10546 * c-tree.h, c-common.h: Adjust.
10548 2001-08-23 Bernd Schmidt <bernds@redhat.com>
10550 * config/ia64/ia64.c (rws_update): If !pred, set write_count
10551 instead of incrementing it.
10553 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10554 asm ready, don't try to move them all into the same array element.
10556 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10558 * function.c (thread_prologue_and_epilogue_insns): Avoid
10559 fallthru flag on edge to exit.
10561 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10563 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10566 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10568 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10569 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10570 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10573 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10575 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10576 replace "GNU CC" with "GCC".
10578 2001-08-23 Richard Henderson <rth@redhat.com>
10580 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10581 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
10582 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10583 Need GR between FR and not GR_AND_FR.
10584 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10585 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10586 AR regs before GR regs.
10587 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10588 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10589 (REGISTER_MOVE_COST): Update.
10590 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10592 2001-08-23 Richard Henderson <rth@redhat.com>
10594 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10597 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10599 * reload1.c (emit_reload_insns): Don't look for notes
10600 on a NULL store_insn.
10602 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10604 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10605 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10606 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10607 format specifier warnings.
10608 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10610 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
10612 * config/i386/i386-protos.h: Correct declaration of
10613 i386_pe_asm_named_section.
10615 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10617 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10619 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10621 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10623 * cpperror.c (print_location): Don't show _Pragma.
10624 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10625 and file change callback generation here.
10626 (stack_include_file): Update use of cpp_push_buffer.
10627 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10628 (struct cpp_buffer): Remove type, pfile members.
10629 * cppinit.c (cpp_handle_option): Use free_chain.
10630 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10631 (skip_escaped_newlines, get_effective_char, lex_percent): Take
10632 a cpp_reader rather than a cpp_buffer.
10633 (skip_escaped_newlines, get_effective_char, skip_block_comment,
10634 skip_line_comment, parse_string, lex_percent, lex_dot,
10635 _cpp_lex_token): Update accordingly.
10636 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10638 (cpp_push_buffer): Update prototype.
10639 (run_directive): Update use of cpp_push_buffer.
10640 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10641 handle_assertion): Update use of run_directive.
10642 * cpplib.h (enum cpp_buffer_type): Remove.
10643 (cpp_push_buffer): Update prototype.
10644 * fix-header.c (read_scan_file): Update.
10646 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10648 * gcc.c (struct prefix_list): Change prefix to const char *.
10650 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10652 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10654 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
10656 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10659 * jump.c (squeeze_notes): Take parms by reference. Handle END being
10662 * ifcvt.c (dead_or_predicable): Adjust.
10663 * loop.c (find_and_verify_loops): Adjust.
10664 * stmt.c (expand_end_case): Adjust.
10665 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
10666 head and end insn pointers in the basic block, not just local copies.
10667 (merge_blocks_move_predecessor_nojumps): Likewise.
10669 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
10671 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10672 bitmap.h, builtin-types.def, builtins.c, builtins.def,
10673 c-aux-info.c, c-common.c, c-common.def, c-common.h,
10674 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10675 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10676 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10677 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10678 conditions.h, config.gcc, configure.frag, configure.in,
10679 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10680 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10681 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10682 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10683 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10684 emit-rtl.c, errors.c, errors.h, except.c, except.h,
10685 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10686 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10687 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10688 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10689 gencheck.c, gencodes.c, genconfig.c, genemit.c,
10690 genextract.c, genflags.c, gengenrtl.c, genmultilib,
10691 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10692 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10693 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10694 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10695 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10696 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10697 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10698 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10699 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10700 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10701 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10702 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10703 params.h, predict.c, predict.def, predict.h, prefix.c,
10704 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10705 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10706 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10707 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10708 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10709 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10710 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10711 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10712 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10713 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10714 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10715 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10716 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10717 xcoffout.h: replace "GNU CC" with "GCC".
10719 2001-08-21 Richard Henderson <rth@redhat.com>
10721 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10722 (final_scan_insn): Consider jump tables data even if we have no
10723 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
10725 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10726 (ASM_OUTPUT_CASE_END): Remove.
10727 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10728 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10729 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10731 2001-08-21 Richard Henderson <rth@redhat.com>
10733 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
10734 at barrier insns. Emit stop bits before barriers.
10736 * flow.c (flow_find_cross_jump): Don't consider unconditional
10737 return insns for commoning.
10739 * final.c (compute_alignments): Fix typo.
10741 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
10742 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
10743 (store_bit_field): Use mode_for_extraction more places.
10744 (extract_bit_field): Likewise.
10746 2001-08-21 Zack Weinberg <zackw@panix.com>
10748 * caller-save.c: Don't include insn-codes.h.
10749 (reg_save_code, reg_restore_code): Make arrays of int.
10750 All uses updated to match.
10751 (insert_save, insert_restore): No need to initialize "code"
10752 variable upon declaration.
10753 * Makefile.in: update dependencies; fix typo in clean rule.
10755 2001-08-21 Richard Henderson <rth@redhat.com>
10757 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
10758 (merge_if_block): Handle fallout from same.
10760 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10762 * builtins.c (type_to_class): Fix typo in last change.
10764 2001-08-21 Richard Henderson <rth@redhat.com>
10766 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
10767 ia64_asm_output_label.
10769 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
10770 copy of gp while the real gp register contains garbage.
10772 2001-08-21 Zack Weinberg <zackw@panix.com>
10774 * expmed.c (mode_for_extraction): New function.
10775 (store_bit_field, extract_bit_field): Use it.
10776 * expr.h: Prototype it and provide an enum for its first argument.
10778 * combine.c, function.c, recog.c: Don't include insn-codes.h.
10779 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
10780 and digging through the insn_data tables.
10781 * Makefile.in: Update dependencies.
10783 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10785 * cppfiles.c (stack_include_file): line-map.c now handles include
10787 (handle_missing_handler): Similarly.
10788 (_cpp_execute_include): Similarly.
10789 (_cpp_pop_file_buffer): Similarly.
10790 * cpphash.h (struct cpp_reader): Remove system_include_depth,
10791 buffer_stack_depth and include_depth.
10792 * cpplib.c (do_include_common): line-map.c now handles include depth.
10793 (cpp_push_buffer): Similarly.
10794 (_cpp_pop_buffer): Similarly.
10795 * cppmacro.c (builtin_macro): Update.
10796 * line-map.c (init_line_maps): Set depth.
10797 (add_line_map): Increment "used" earlier. Update and use the
10799 (trace_include): Use the include depth.
10800 * line-map.h (struct line_maps): New member depth.
10802 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10804 * cppfiles.c (stack_include_file): Don't handle -H here.
10805 * cppinit.c (cpp_start_read): Set include tracing after
10806 cpp_post_options and after stacking the main file.
10807 * line-map.c (trace_include): New.
10808 (init_line_maps, add_line_map): Update.
10809 * line-map.h (struct line_maps): New member trace_includes.
10811 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10813 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
10814 * cppfiles.c (stack_include_file): Only stack a file if there
10815 is something to do. Return a boolean indicating whether a
10816 buffer was stacked or not.
10817 (_cpp_execute_include): Similarly.
10818 (_cpp_read_file): Similarly.
10819 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
10821 2001-08-21 Sam Steingold <sds@gnu.org>
10823 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
10824 (RECACHE): keep obufp_before_macroname up to date
10826 2001-08-21 Zack Weinberg <zackw@panix.com>
10828 * stmt.c: Don't include insn-codes.h.
10829 (expand_end_case): Machine specific logic moved to expr.c.
10830 No need to worry about __builtin_classify_type.
10831 (check_for_full_enumeration_handling, emit_case_nodes):
10834 * builtins.o (expand_builtin_classify_type): Split up so code
10835 can be shared with fold_builtin_classify_type.
10836 (type_to_class, fold_builtin_classify_type): New functions.
10837 (fold_builtins): Handle __builtin_classify_type.
10839 * expr.c (do_tablejump): Now static.
10840 (case_values_threshold, try_casesi, try_tablejump): New;
10841 code mostly from stmt.c (expand_end_case).
10842 (expr.h): Update prototypes.
10844 * Makefile.in (stmt.o): Update dependencies.
10846 2001-08-21 Will Cohen <wcohen@redhat.com>
10848 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
10849 declaration of variable i.
10850 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
10851 declaration of variable i.
10853 2001-08-21 Richard Henderson <rth@redhat.com>
10855 * crtstuff.c: Fix thinko last change. Move list tails to start
10856 of CRT_END section. Tidy ifdefs.
10857 (__EH_FRAME_BEGIN__): Always static for ELF.
10858 (__do_global_ctors_1): Rename from __frame_dummy.
10859 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
10860 name change; don't hide __EH_FRAME_BEGIN__.
10862 2001-08-21 Richard Henderson <rth@redhat.com>
10864 * gdbinit.in: Move break on exit after break on fancy_abort.
10866 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
10869 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10871 * cpphash.h (_cpp_push_next_buffer): New.
10872 * cppinit.c (do_includes): Remove.
10873 (push_include, free_chain, _cpp_push_next_buffer): New.
10874 (cpp_start_read): Use them to rework command line option handling.
10875 (cpp_handle_option): Combine handling of -include and -imacros.
10876 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
10877 appropriate. Always insert missing \n at EOF.
10878 * cpplib.c (start_directive): Get the directive position right.
10879 * cppmain.c (cb_file_change): Always print the first line, unless
10882 2001-08-20 Andreas Jaeger <aj@suse.de>
10884 * profile.c (compute_branch_probabilities): Remove extra new-line
10886 * flow.c (verify_flow_info): Likewise.
10888 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10890 * basic-block.h (basic_block): Add new field 'flags'.
10891 (BB_REACHABLE): Define.
10892 (expunge_block): Declare.
10893 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
10894 (EXIT_BLOCK_PTR): Ditto.
10895 (expunge_block): Remove static declaration.
10896 (cleanup_cfg): Clear bb->aux on every basic block.
10897 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
10898 computing reachability.
10899 (delete_unreachable_blocks): Delete block b if b->flags has
10900 BB_REACHABLE unset.
10902 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10904 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
10906 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10908 * sparc.c (sparc_variable_issue): Fix typo in last change.
10910 2001-08-20 Richard Henderson <rth@redhat.com>
10912 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
10914 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
10916 * pa.h (RETURN_IN_MEMORY): Improve comment.
10918 2001-08-20 Janis Johnson <janis187@us.ibm.com>
10920 * doc/invoke.texi (Profiling options): Clarify the interactions
10921 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
10923 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
10925 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
10928 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10930 * gcc.c (make_relative_prefix): Allocate a sufficiently large
10933 2001-08-20 Richard Henderson <rth@redhat.com>
10935 * final.c (end_final): Fix typo last change.
10937 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
10939 * cppinit.c (init_standard_includes): The returned buffer
10940 is already malloc-ed.
10941 * gcc.c (add_prefix): Similarly.
10942 * prefix.c (translate_name): Update to support clear buffer
10944 (update_path): Similarly. Be sure to free any newly allocated
10945 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
10946 (tr): New function.
10947 * prefix.h (update_path): Update prototype and document.
10948 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
10949 up and update to new buffer ownership rules.
10950 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
10952 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
10954 * final.c (compute_alignments): New function.
10955 (init_insn_lengths): Do not care label_align.
10956 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
10957 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
10958 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
10959 (shorted_branches): Realloc label_align array; do
10960 not call init_insn_lengths; Do not care about loop alignments.
10961 * output.h (compute_alignments): Declare.
10962 * toplev.c (rest_of_compilation): Call compute_alignments.
10963 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
10965 * predict.c (block_info_def): Add npredecesors, remove nvisited;
10966 change visited to tovisit.
10967 (propagate_freq): Use faster traversing algorithm.
10968 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
10969 to tovisit; reverse meaning.
10971 * predict.c (struct block_info_def): Remove nvisited.
10972 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
10973 (estimate_bb_frequencies): Call mark_dfs_back_edges.
10975 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
10977 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
10978 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
10979 (TARGET_FUSED_MADD): New.
10980 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
10981 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
10982 the multiply-add instructions.
10984 2001-08-19 Richard Henderson <rth@redhat.com>
10986 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
10987 is aligned to pointer size.
10989 2001-08-19 Richard Henderson <rth@redhat.com>
10991 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
10992 display markers during final schedule.
10994 2001-08-19 Richard Henderson <rth@redhat.com>
10996 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
10998 2001-08-19 Richard Henderson <rth@redhat.com>
11000 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11001 in the same string.
11002 (ASM_NAME_TO_STRING): Remove.
11003 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11004 in the same string. Remove support for expressions.
11006 2001-08-19 Richard Henderson <rth@redhat.com>
11008 * config/i386/i386.md (tablejump): Make an expander; handle
11009 pic relative addressing here.
11010 (tablejump_1): Rename from tablejump_pic.
11013 2001-08-19 Richard Henderson <rth@redhat.com>
11015 * regclass.c (fix_register): Fix typo.
11017 2001-08-18 Richard Henderson <rth@redhat.com>
11019 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11020 (struct _Unwind_Context): Expand br_loc to hold it.
11021 (uw_frame_state_for): Handle leaf functions better.
11022 (uw_update_reg_address): Update for br_loc change.
11024 2001-08-18 Richard Henderson <rth@redhat.com>
11026 * crtstuff.c: Move list heads before code that uses them.
11027 (__JCR_LIST__): Remove initial null.
11028 (frame_dummy, __frame_dummy): Do java registration here ...
11029 (__do_global_ctors_aux): ... not here.
11031 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11032 (__do_global_dtors_aux): Update to match.
11033 (__JCR_LIST__, __do_jv_register_classes): New.
11035 * config/ia64/crtend.asm (__JCR_END__): New.
11036 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11037 instead of an indirect LTOFF22 reloc.
11039 2001-08-18 Richard Henderson <rth@redhat.com>
11041 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11042 * regclass.c (init_reg_sets_1): Fix typo.
11043 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11044 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11045 (ia64_compute_frame_size): Make ar.unat live when in use.
11046 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11047 for ar.pfs; remove ar.unat handling.
11048 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11050 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11051 * config/ia64/ia64-protos.h: Update decls.
11052 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11053 (sibcall_pic): Likewise.
11055 2001-08-18 Richard Henderson <rth@redhat.com>
11057 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11058 pred_rel_mutex when searching for insn_group_barrier.
11059 * config/ia64/ia64.md (cycle_display): Combine the expander
11062 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11063 bit before asm as needed.
11065 2001-08-18 Richard Henderson <rth@redhat.com>
11067 * timevar.def (TV_MACH_DEP): New.
11068 * toplev.c (rest_of_compilation): Use it.
11069 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11071 2001-08-18 Zack Weinberg <zackw@panix.com>
11073 * unwind-dw2.c (execute_stack_op): Add default aborts to
11074 the inner switches to prevent warnings.
11076 2001-08-18 Richard Henderson <rth@redhat.com>
11078 * timevar.h (struct timevar_time_def): Change element type to float.
11079 (ticks_to_msec, clocks_to_msec): Likewise.
11080 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11081 (get_time): Likewise.
11082 (timevar_print): Adjust zero check and printing to match.
11084 2001-08-18 Zack Weinberg <zackw@panix.com>
11086 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11087 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11088 Eliminate overfull or underfull hboxes.
11090 2001-08-18 Zack Weinberg <zackw@panix.com>
11092 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11094 2001-08-18 Zack Weinberg <zackw@panix.com>
11096 * haifa-sched.c: Convert to target hooks. Macros replaced
11097 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11098 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11099 MD_SCHED_FINISH, and HAVE_cycle_display.
11100 * target-def.h (TARGET_SCHED_ADJUST_COST,
11101 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11102 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11103 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11104 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11105 New hook #defines to be overridden.
11106 (TARGET_SCHED): Bring them all together.
11107 (TARGET_INITIALIZER): Update.
11108 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
11109 instead of 'struct rtx_def *' throughout.
11110 (struct sched): New set of hooks for the scheduler.
11111 * Makefile.in (haifa-sched.o): Depend on target.h.
11112 * doc/tm.texi: Document the new scheduler hooks, together in
11113 their own section, instead of scattered around.
11114 Fix a bunch of underfull/overfull hboxes.
11116 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11117 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11118 sparc.h: Don't define any of the old scheduler macros.
11120 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11121 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11122 sparc.c: Create hook functions from code extracted from
11123 corresponding target header, or make existing hooks static, as
11124 appropriate. Set the appropriate entries in targetm.
11126 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11127 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11128 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11129 Remove prototypes for functions which are now static.
11131 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11132 related gunk; the Haifa scheduler is now the only choice.
11134 2001-08-18 Zack Weinberg <zackw@panix.com>
11136 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11137 * genopinit.c: Put floating point divide insns in sdiv_optab.
11138 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11139 * config/gofast.h, config/c4x/c4x.h,
11140 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11141 config/pa/long_double.h, config/rs6000/sysv4.h,
11142 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11143 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11144 (init_optabs): Use init_optabv for overflow-trapping optabs.
11145 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11146 cmp_optab RTX codes so have_insn_for can find them.
11148 * optabs.c (expand_simple_binop, expand_simple_unop,
11149 have_insn_for, gen_sub3_insn): New interfaces.
11150 * expr.h: Prototype new functions.
11151 (enum optab_methods): Move here from optabs.h.
11153 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11154 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11155 Use new functions instead of working directly with optabs.
11156 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11157 unroll.c: Don't include optabs.h.
11158 * caller-save.c, combine.c, function.c, stmt.c: Just include
11159 insn-codes.h, not optabs.h.
11160 * Makefile.in: Update dependencies.
11162 * combine.c (make_compound_operation, simplify_comparison):
11163 Fix typos testing for this or that instruction.
11165 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11167 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11168 generating libgcc.a.
11170 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11172 * except.c (TYPE_HASH): Delete.
11174 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11177 * tree.c (TYPE_HASH): Delete.
11179 * tree.h (TYPE_HASH): Define.
11181 2001-08-18 Graham Stott <grahams@redhat.com>
11183 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11185 (adddi3_internal_2+2): Likewise.
11186 (eh_set_lr_di+1): Likewise.
11188 2001-08-17 Richard Henderson <rth@redhat.com>
11190 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11191 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11192 * dwarf2asm.c: ... here.
11193 * dwarfout.c: Remove them.
11195 * varasm.c (assemble_integer): Add align parameter.
11196 (assemble_real, output_constant, output_constructor): Likewise.
11197 * output.h: Update decls.
11198 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11199 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11200 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11201 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11202 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11203 Update all callers.
11205 * final.c (end_final): Abort profile block generation if we
11206 haven't layed it out properly.
11207 * output.h (assemble_eh_integer): Remove stale decl.
11208 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11210 (assemble_integer): Handle unaligned data.
11211 (assemble_real): Abort on unaligned data.
11212 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11214 (default_dtor_section_asm_out_destructor): Use assemble_align.
11215 (default_named_section_asm_out_constructor): Likewise.
11216 (default_ctor_section_asm_out_constructor): Likewise.
11217 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11218 (machopic_asm_out_destructor): Likewise.
11219 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11220 (nextstep_asm_out_destructor): Likewise.
11221 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11222 (vms_asm_out_destructor): Likewise.
11224 2001-08-17 Richard Henderson <rth@redhat.com>
11226 * config/mips/iris6.h (TARGET_IRIX6): New.
11227 (current_section_name, current_section_flags): New.
11228 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11229 (MAX_OFILE_ALIGNMENT): New.
11230 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11231 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11232 (copy_file_data): Split out from
11233 (mips_asm_file_end): ... here.
11234 (mips_asm_file_start): Remove extra .section directive. Use
11235 tmpfile instead of mips_make_temp_file.
11236 (mips_unique_section): Use const char * as needed for warnings.
11237 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11238 re-add align parameter.
11239 (iris6_asm_named_section): New.
11240 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11241 (iris6_asm_output_align, iris6_section_align_1): New.
11242 (iris6_asm_file_start, iris6_asm_file_end): New.
11243 * config/mips/mips-protos.h: Update decls.
11245 2001-08-17 Janis Johnson <janis187@us.ibm.com>
11247 * doc/install.texi (Install GCC): Add links to build status pages.
11249 (Final install): Ditto; request updates for specific info
11251 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
11253 * cpperror.c (print_location): Don't take a file name; use the
11255 (_cpp_begin_message): Similarly.
11256 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11257 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11258 (cpp_pedwarn_with_file_and_line): Remove.
11259 * cppfiles.c (stack_include_file): Update; set filename to stdin
11260 here when appropriate.
11261 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11262 (_cpp_begin_message): Don't take a file name.
11263 * cppinit.c: Add comment.
11264 * cpplex.c: Fix end-of-directive indicator.
11265 * cpplib.c: Don't include intl.h.
11266 (run_directive, do_diagnostic): Update.
11267 (do_line): Update to not use nominal_fname.
11268 (cpp_push_buffer): Don't take a filename.
11269 * cpplib.h (struct ht): Remove.
11270 (cpp_push_buffer): Don't take a filename.
11271 (cpp_pedwarn_with_file_and_line): Remove.
11272 * cppmacro.c (struct cpp_macro): Remove file.
11273 (builtin_macro): Update.
11274 (_cpp_create_definition): Update.
11275 * cppmain.c: Correct comment.
11276 * fix-header.c (read_scan_file): Update.
11278 2001-08-17 Kazu Hirata <kazu@hxi.com>
11280 * sbitmap.c: Fix comment formatting.
11281 * sched-deps.c: Likewise.
11282 * sibcall.c: Likewise.
11283 * simplify-rtx.c: Likewise.
11285 * ssa-ccp.c: Likewise.
11286 * stor-layout.c: Likewise.
11287 * timevar.c: Likewise.
11288 * toplev.c: Likewise.
11289 * unwind-dw2.c: Likewise.
11290 * unwind-dw2-fde.c: Likewise.
11291 * varasm.c: Likewise.
11293 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
11295 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11296 or larger than an integer in memory.
11298 2001-08-17 Zack Weinberg <zackw@panix.com>
11300 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11301 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
11302 * rtl.h: Don't forward-declare union tree_node here. Don't
11303 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
11304 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11305 and tree respectively.
11306 * tree.h: Don't forward-declare struct rtx_def here. Don't
11307 typedef tree here. Change all uses of struct rtx_def *,
11308 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11309 and tree respectively.
11311 2001-08-17 Richard Henderson <rth@redhat.com>
11313 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11314 config/mips/openbsd.h: Fix typos last change.
11316 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11318 * doc/invoke.texi (Optimize Options): The default for
11319 -finline-limit is 600.
11321 2001-08-17 Richard Henderson <rth@redhat.com>
11323 * varasm.c (text_section): Allow TEXT_SECTION to override the
11324 printing of TEXT_SECTION_ASM_OP.
11325 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11326 (DATA_SECTION, BSS_SECTION): Remove.
11327 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11328 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11329 Rename from s/_NAME//.
11330 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11331 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11332 (TEXT_SECTION): ... here. New.
11333 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11334 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11335 * config/mips/openbsd.h: Likewise.
11336 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11337 (mips_asm_file_end): Likewise test.
11338 (mips_output_function_epilogue): Likewise. Switch back to data
11339 section after emitting the function.
11341 * doc/tm.texi (Sections): Document TEXT_SECTION.
11343 2001-08-17 Richard Henderson <rth@redhat.com>
11345 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11346 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
11348 2001-08-17 Richard Henderson <rth@redhat.com>
11350 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11351 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11352 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11353 Add aligned attribute.
11355 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
11357 * config/sh/sh.md: Add modes to unspecs in first insn to match
11358 those in the second.
11360 * Makefile.in: Fix collect2 copy for Cygwin.
11362 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11364 Install the proper patch.
11365 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11366 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11367 (expand_function_start): Likewise.
11368 * stmt.c (expand_decl): Likewise.
11369 * varasm.c (make_decl_rtx): Likewise.
11371 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11373 * final.c: Undo my previous accidental checkin.
11374 * output.h: Likewise.
11375 * tm.texi: Likewise.
11377 2001-08-16 Richard Henderson <rth@redhat.com>
11379 * varasm.c (named_section_flags): Remove align parameter.
11380 * varasm.c, dwarf2out.c: Update all callers.
11381 * output.h: Update prototypes.
11383 * target.h (target.asm_out.named_section): Remove align parameter.
11384 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11385 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11386 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11387 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11388 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11390 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11391 (get_named_section_flags, set_named_section_flags): New.
11392 (named_section_flags): Use them.
11393 (named_section): Do decl vs section flags check here...
11394 (default_section_type_flags): ... not here.
11395 (init_varasm_once): Create in_named_htab.
11396 (resolve_unique_section): Mark reloc unused.
11398 2001-08-16 Richard Henderson <rth@redhat.com>
11400 * varasm.c (force_const_mem): Keep pool alignment in bits.
11401 (output_constant_pool): Use assemble_align.
11403 2001-08-16 Zack Weinberg <zackw@panix.com>
11405 * doc/tm.texi: Remove extra @table command.
11407 2001-08-16 Zack Weinberg <zackw@panix.com>
11409 * final.c (shorten_branches): Clear the end of the label_align
11410 array only if we made it larger. Break up messy expressions
11413 * diagnostic.c (internal_error): Check for error recursion
11414 before doing ICE suppression.
11416 * timevar.c: Timing variables now count in milliseconds.
11417 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11418 (get_time): Not here.
11419 (timevar_print): Don't print any timer whose user, cpu, and
11420 wall times are all zero as displayed.
11421 * timevar.h: Update comment aboout units. Make timevar
11424 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
11426 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11427 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11428 (expand_function_start): Likewise.
11429 * stmt.c (expand_decl): Likewise.
11430 * varasm.c (make_decl_rtx): Likewise.
11432 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
11434 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11435 (finalize_record_size): Don't set TYPE_USER_ALIGN.
11437 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11439 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11442 2001-08-16 Andreas Jaeger <aj@suse.de>
11444 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11447 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
11449 * rtl.h (only_sets_cc0_p): New prototype.
11450 * jump.c (sets_cc0_p): Handle INSN.
11451 (only_sets_cc0_p): New function.
11452 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11453 (tidy_fallthru_edge): Likewise.
11454 * integrate.c (copy_insn_list): Likewise.
11455 * unroll.c (unroll_loop): Likewise.
11456 (copy_loop_body): Likewise.
11458 2001-08-15 Jason Eckhardt <jle@redhat.com>
11460 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11462 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
11464 * predict.c (struct block_info_def): Remove nvisited.
11465 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11466 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11468 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11469 (ix86_adjust_cost): Teach scheduler that latency to load operand can
11472 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
11474 * predict.def: Update hitrates.
11476 2001-08-15 Richard Henderson <rth@redhat.com>
11478 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11480 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
11482 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11483 note from its associated jump.
11485 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
11487 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11488 also on 64-bit s390x targets.
11490 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
11492 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11494 (arm_expand_prologue): Handled nested functions which take a
11495 variable argument list.
11496 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11497 macro with an invocation of
11498 arm_compute_initial_elimination_offset.
11499 * config/arm/arm-protos.h: Prototype
11500 arm_compute_initial_elimination_offset.
11502 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11504 * doc/install.texi (Specific, avr): Fix markup.
11505 (Specific, c4x): Ditto.
11507 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11509 * predict.c (dump_prediction): Change `bool' parameter to `int'.
11511 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
11513 * Makefile.in (OBJS): Add rtl-error.o
11514 (rtl-error.o): New rule.
11515 (diagnostic.o): Adjust dependency.
11516 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11517 error_for_asm, _fatal_insn, _fatal_insn_not_found,
11518 warning_for_asm): Move to...
11519 rtl-error.c: ...here. New file.
11521 2001-08-14 Richard Henderson <rth@redhat.com>
11523 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11524 if USING_SJLJ_EXCEPTIONS.
11526 2001-08-14 Steve Ellcey <sje@cup.hp.com>
11528 * tlink.c (scan_linker_output): Check string for unsatisfied in
11529 addition to undefined and unresolved.
11531 2001-08-14 Graham Stott <grahams@redhat.com>
11533 * libgcc2.c (*): Replace EH_FRAME_SECTION with
11534 EH_FRAME_SECTION_NAME.
11536 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11538 * genattrtab.c (simplify_test_exp_in_temp): New function.
11539 (simplify_test_exp): Avoid explicit use of temporary obstack.
11540 (simplify_cond, insert_right_side, evaluate_eq_attr,
11541 simplify_and_tree, simplify_or_tree, eliminate_known_true):
11542 Use simplify_test_exp_in_temp.
11543 (optimize_attrs): Iterate until expression stabilizes.
11545 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
11547 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11548 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11550 2001-08-13 Richard Henderson <rth@redhat.com>
11552 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11553 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11554 * config/arm/conix-elf.h: Likewise.
11556 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11558 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11560 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11562 * gcse.c (hash_scan_set): Expressions that are set as part of
11563 jump instructions are not available.
11565 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
11567 * config/s390/s390.c (print_operand, s390_function_prologue,
11568 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11570 2001-08-13 Richard Henderson <rth@redhat.com>
11572 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11573 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11574 * doc/tm.texi (Exception Region Output): Document it.
11576 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11578 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11579 DWARF2 instead of stabs by default.
11581 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11583 * config/rs6000/rs6000.c: Include optabs.h.
11585 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11587 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11588 save/restore routines.
11589 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11591 2001-08-13 Andreas Jaeger <aj@suse.de>
11593 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11594 the english is correct.
11596 2001-08-13 Zack Weinberg <zackw@panix.com>
11598 * expr.h: Split out optab- and libfunc-related code to...
11599 * optabs.h, libfuncs.h: ... these new headers.
11601 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11603 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11605 * mkconfig.sh: Don't include insn-codes.h from config.h.
11607 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11608 enum insn_code is available. Move reload_in_optab and
11609 reload_out_optab array declarations to optabs.h.
11610 * regmove.c (gen_add3_insn): Move to optabs.c, export from
11611 there, prototype in expr.h.
11612 * gencodes.c: Cleanup: zap global variables, don't use
11613 printf where puts will do, don't bother defining MAX_INSN_CODE
11614 which nothing uses, let CODE_FOR_nothing get its value implicitly.
11616 * genemit.c, genopinit.c: Include optabs.h in generated file.
11617 * genoutput.c: Include insn-codes.h in generated file.
11618 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11619 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11620 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11621 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11622 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11623 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11625 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11626 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11627 config/m88k/m88k.c, config/sparc/sparc.c:
11628 Include libfuncs.h.
11629 * reload.c: Include expr.h and optabs.h before reload.h.
11630 * config/alpha/alpha.c: Include tree.h before reload.h.
11631 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11632 and reload.h in that order.
11633 * config/sparc/sparc.c: Include debug.h.
11634 * recog.c: Include insn-codes.h.
11636 2001-08-13 Andreas Jaeger <aj@suse.de>
11638 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11641 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11643 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11644 * gcc.c (init_spec): Fix typo in comment.
11645 * varasm.c (data_section): Fix typo in comment.
11647 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
11649 * predict.c (dump_prediction): New argument "USED".
11650 (combine_predictions_for_insn): Determine the used heuristics,
11651 output the case no heuristic applied.
11652 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11654 2001-08-13 Andreas Jaeger <aj@suse.de>
11656 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11659 2001-08-13 Kazu Hirata <kazu@hxi.com>
11661 * jump.c: Fix formatting.
11663 2001-08-13 Kazu Hirata <kazu@hxi.com>
11665 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11668 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
11670 * loop.c (check_dbra_loop): Use condjump_label to compute
11673 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11674 to better document the files they're in.
11676 2001-08-12 Zack Weinberg <zackw@panix.com>
11678 * recog.h (struct insn_operand_data): Shrink 'mode' field
11681 2001-08-12 Kazu Hirata <kazu@hxi.com>
11683 * gcc.c: Fix comment formatting.
11684 * gccspec.c: Likewise.
11685 * gcov.c: Likewise.
11686 * gcse.c: Likewise.
11687 * genemit.c: Likewise.
11688 * gengenrtl.c: Likewise.
11689 * genrecog.c: Likewise.
11690 * gensupport.c: Likewise.
11691 * ggc-page.c: Likewise.
11692 * global.c: Likewise.
11693 * graph.c: Likewise.
11694 * ifcvt.c: Likewise.
11695 * integrate.c: Likewise.
11697 * libgcc2.c: Likewise.
11698 * loop.c: Likewise.
11699 * mbchar.c: Likewise.
11700 * optabs.c: Likewise.
11701 * predict.c: Likewise.
11702 * prefix.c: Likewise.
11703 * profile.c: Likewise.
11704 * protoize.c: Likewise.
11705 * real.c: Likewise.
11706 * recog.c: Likewise.
11707 * regclass.c: Likewise.
11708 * regmove.c: Likewise.
11709 * reg-stack.c: Likewise.
11710 * reload1.c: Likewise.
11711 * resource.c: Likewise.
11712 * rtlanal.c: Likewise.
11715 2001-08-12 Kazu Hirata <kazu@hxi.com>
11717 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11718 a tree representing a constant is passed to the macro.
11720 2001-08-12 Richard Henderson <rth@redhat.com>
11722 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11723 (rs6000_elf_asm_out_destructor): New.
11724 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11725 (DTORS_SECTION_ASM_OP): Remove.
11726 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11727 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11729 2001-08-12 David Edelsohn <edelsohn@gnu.org>
11732 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11733 * gcc.c (set_collect_gcc_options): New function, split out from
11735 Ignore elided switches.
11736 (do_spec_1): Invoke before executing command.
11737 (set_input): Export.
11738 Move declaration ...
11739 * gcc.h (set_input): ... here.
11740 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11743 2001-08-12 Richard Henderson <rth@redhat.com>
11745 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
11746 thinko wrt TARGET_RELOCATABLE.
11748 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
11750 * fix-header.c (cb_file_change): Update prototype.
11752 2001-08-11 Zack Weinberg <zackw@panix.com>
11754 * toplev.c (set_float_handler): Make static.
11755 * toplev.h: Don't prototype set_float_handler.
11757 * simplify-rtx.c: Don't include setjmp.h.
11758 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
11760 (simplify_unary_operation, simplify_binary_operation): Use them,
11761 via do_float_handler.
11763 * fold-const.c: Don't include setjmp.h.
11764 (exact_real_inverse_1): New function.
11765 (exact_real_inverse): Use it, via do_float_handler.
11767 * varasm.c: Don't include setjmp.h.
11768 (assemble_real_1): New function.
11769 (assemble_real): Use it, via do_float_handler.
11770 Call internal_error if we get a trap here.
11772 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
11773 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
11775 2001-08-11 Zack Weinberg <zackw@panix.com>
11777 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
11778 STACK_BOUNDARY if not already defined.
11780 * calls.c, function.c, reload1.c, explow.c: Don't default
11781 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
11782 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
11784 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
11787 * doc/tm.texi: Document that STACK_BOUNDARY is required;
11788 clarify difference between it and PREFERRED_STACK_BOUNDARY.
11790 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11792 * cppmacro.c (enter_macro_context): Push macro expansions even
11795 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11797 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
11798 (rs6000_elf_section_type_flags): Actually return a value.
11800 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11802 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
11803 Clean up code: add missing comments and prototypes, fix warnings,
11804 remove obsolete code, fix spacing to conform to coding style.
11806 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11808 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
11809 and TARGET_ASM_CLOSE_PAREN.
11810 (regclass_map): CC register belongs to class NO_REGS.
11811 (legitimize_pic_address): Don't generate unnecessary moves
11812 (to avoid confusing loop optimization).
11813 (check_and_change_labels): Replace jump_long by indirect_jump.
11814 (s390_final_chunkify): Don't start a new literal pool on section
11815 switch in 64-bit code.
11816 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
11818 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
11819 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
11820 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
11822 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
11823 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
11824 (CONST_COSTS): Fixed incorrect costs.
11826 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
11827 Use emit_jump instead of emit_jump_insn (gen_jump).
11828 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
11829 (to avoid confusing flow analysis).
11830 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
11831 (casesi, casesi_jump): New.
11832 (jump_long): Removed. Functionality merged into indirect_jump.
11833 (indirect_jump): Accept address_operand, not just register_operand.
11834 (cjump_long, icjump_long): Use same logic as indirect_jump.
11835 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
11836 Fixed broken setjmp/longjmp handling.
11837 (do_builtin_setjmp_setup): Removed.
11839 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
11840 broken GNU as versions that don't accept .quad with large
11841 negative values. Use hexadecimal output instead.
11842 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
11843 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
11844 FUNCTION_EPILOGUE): Removed. Now in targetm.
11846 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
11848 * config/s390/fixdfdi.h: Add missing copyright statement.
11849 Fix type conflicts on 64-bit. Add missing SFmode routines.
11851 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
11854 2001-08-11 Richard Henderson <rth@redhat.com>
11856 * rtl.h (REG_EH_RETHROW): Remove.
11857 * rtl.c (reg_note_name): Update.
11858 * combine.c (distribute_notes): Don't check for it.
11860 2001-08-11 Richard Henderson <rth@redhat.com>
11862 * combine.c (distribute_notes): Place REG_SETJMP.
11864 2001-08-11 Richard Henderson <rth@redhat.com>
11866 * doc/extend.texi (Arrays and pointers implementation): Discourage
11867 relying on sign-extension of pointers.
11869 2001-08-11 H.J. Lu <hjl@gnu.org>
11871 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
11873 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
11874 RDATA_SECTION_ASM_OP.
11876 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11878 * doc/install.texi (Specific, c4x): Fix cross-reference to the
11879 main manual to work both for info and HTML versions.
11881 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11882 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11884 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
11885 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
11886 (struct cpp_pool): New member first.
11887 * cppinit.c (append_include_chain): Plug memory leaks.
11888 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
11889 Allocate pragma structures from the (aligned) macro pool to
11890 avoid leaking memory.
11891 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
11892 so we don't leak memory.
11893 * hashtable.c (ht_destroy): New.
11894 * hashtable.h (ht_destroy): New.
11896 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11897 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11899 * c-lex.c (map): Make const.
11900 (cb_file_change): Update for callback passing a line map.
11901 Don't assume we have a previous map. Remove sanity check
11902 about popping too many files.
11903 * cpperror.c (print_location): Make map const.
11904 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
11905 (cpp_make_system_header): Similarly.
11906 (search_from): Similarly.
11907 (_cpp_execute_include): Don't remember where we came from.
11908 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
11909 (struct cpp_reader): Make map const.
11910 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
11911 * cpplib.c (do_line): Update; line maps now hold sysp.
11912 (cpp_push_buffer): Similarly.
11913 (_cpp_do_file_change): Similarly; callback with map instead.
11914 (cpp_get_line_maps): Constify return value.
11915 (_cpp_pop_buffer): Update.
11916 * cpplib.h (struct cpp_file_change): Remove.
11917 (struct cpp_callbacks): Update.
11918 (cpp_get_line_maps): Constify return value.
11919 * cppmacro.c (_cpp_create_definition): Update.
11920 * cppmain.c (struct printer): Constify map.
11921 (maybe_print_line): Similarly.
11922 (print_line): Similarly. Deduce flags 1 and 2 here.
11923 (cb_file_change): Update.
11924 * line-map.c (free_line_maps): Warn regardless.
11925 (add_line_map): Return pointer to const. When passed NULL to_file
11926 with LC_LEAVE, use the obvious values for the return point so the
11927 caller doesn't have to figure them out.
11928 (lookup_line): Return pointer to const.
11929 (print_containing_files): Take pointer to const.
11930 * line-map.h (struct line_map): New members reason, sysp.
11931 (add_line_map): Return pointer to const.
11932 (lookup_line): Similarly.
11933 (print_containing_files): Take pointer to const.
11935 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
11936 Richard Henderson <rth@redhat.com>
11938 * regmove.c (regmove_optimize): Avoid setting a register twice in
11941 2001-08-10 Richard Henderson <rth@redhat.com>
11943 * doc/extend.texi (Arrays and pointers implementation): Document
11944 behavior of pointer/integer conversion.
11946 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
11948 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
11950 2001-08-10 Richard Henderson <rth@redhat.com>
11952 * doc/extend.texi (C Implementation): New chapter.
11953 * doc/gcc.texi (Top): Link it in.
11955 2001-08-10 Andrew Cagney <ac131313@redhat.com>
11957 * doc/install.texi (Specific): Fix CVS merge botch.
11959 2001-08-10 Richard Henderson <rth@redhat.com>
11961 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
11962 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
11964 2001-08-10 Zack Weinberg <zackw@stanford.edu>
11966 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
11967 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
11968 this macro is now required.
11970 * cselib.c (cselib_process_insn), flow.c (propagate_block),
11971 loop.c (find_and_verify_loops), reload.c (reload): Check
11972 for rtx code of CALL_INSN, not CALL, when deciding if we
11973 need to check for REG_SETJMP note.
11975 * gcse.c (compute_hash_table, compute_store_table): Update
11976 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
11979 * config/avr/avr.c: Fix typo.
11980 * config/convex/convex.c (expand_movstr): Use adjust_address.
11981 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
11983 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
11984 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
11986 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
11987 Do define STACK_BOUNDARY.
11988 * config/i370/i370.c: Include expr.h.
11989 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
11990 config/pa/som.h, config/v850/v850.h: Take in_ctors and
11991 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
11992 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
11993 * config/m88k/m88k.c: Include c-tree.h after expr.h.
11994 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
11995 * config/romp/romp.c: Include expr.h after tree.h.
11997 (output_fpop): Use xmalloc, not oballoc.
11998 * config/we32k/we32k.c: Include expr.h.
12000 2001-08-10 Kazu Hirata <kazu@hxi.com>
12002 * config/h8300/h8300.h: Fix formatting.
12004 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12006 * c-common.h (RETURN_NULLIFIED_P): Lose.
12007 * c-semantics.c (genrtl_return_stmt): Don't check it.
12009 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12011 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12012 (mips_annotate_frame_insn): New function.
12013 (mips_emit_frame_related_store): New function.
12014 (save_restore_insns): Don't mark instructions that set up the base
12015 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
12016 the store instructions instead.
12017 (mips_expand_prologue): If the stack size is moved into a temporary
12018 register, do not mark that move as frame-related. Add a
12019 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12021 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12023 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12024 stack slot as unchanging if current_function_calls_eh_return.
12026 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12028 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12029 access the second half of the TFmode scratch operand.
12031 2001-08-10 Anthony Green <green@redhat.com>
12033 * java/class.c (emit_register_classes): Conditionalize code on
12036 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12038 * doc/install.texi (Specific, avr): Fix cross-reference to the
12039 main manual to work both for info and HTML versions.
12041 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12043 * stmt.c (expand_null_return_1): Remove code to generate simple returns
12044 and "use_goto" argument.
12045 (expand_null_return, expand_value_return): Update all callers.
12046 * function.c (expand_function_end): Remove code to generate simple
12048 * config/vax/vax.md (epilogue): New expander for function return.
12049 * doc/md.texi (epilogue): Remove "if defined".
12051 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12053 * Makefile.in: Partially revert my previous change:
12054 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12055 of the hashtab.o and safe-ctype.o rules.
12057 2001-08-09 Richard Henderson <rth@redhat.com>
12059 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12060 (USE_COLLECT2): Remove duplicate definition.
12061 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12062 (use_collect2): Remove dead code.
12063 * configure.in (use_collect2): Remove will_use_collect2 and
12064 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12065 * configure: Rebuild.
12067 * target.h (targetm.asm_out.constructor): New.
12068 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12069 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12070 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12071 * varasm.c (in_ctors, in_dtors): New.
12072 (assemble_constructor, assemble_destructor): Remove.
12073 (default_stabs_asm_out_destructor): New.
12074 (default_named_section_asm_out_destructor): New.
12075 (dtors_section, default_dtor_section_asm_out_destructor): New.
12076 (default_stabs_asm_out_constructor): New.
12077 (default_named_section_asm_out_constructor): New.
12078 (ctors_section, default_ctor_section_asm_out_constructor): New.
12079 * output.h: Update declarations.
12080 * c-decl.c (c_expand_body): Use target hooks instead of
12081 assemble_constructor and assemble_destructor.
12082 * profile.c (output_func_start_profiler): Likewise.
12083 * objc/objc-act.c (finish_objc): Likewise.
12084 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12085 for the constructor.
12086 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12088 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12089 (DTORS_SECTION_ASM_OP): Likewise.
12090 (__CTOR_LIST__): Use attribute section when possible.
12091 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12093 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12094 ASM_OUTPUT_CONSTRUCTOR.
12096 * config/darwin.c (machopic_asm_out_constructor): New.
12097 (machopic_asm_out_destructor): New.
12098 * config/darwin-protos.h: Update declarations.
12099 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12100 (ASM_OUTPUT_DESTRUCTOR): Remove.
12101 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12102 * config/nextstep.c (nextstep_asm_out_constructor): New.
12103 (nextstep_asm_out_destructor): New.
12104 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12105 (ASM_OUTPUT_DESTRUCTOR): Remove.
12106 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12107 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12108 ASM_OUTPUT_*STRUCTOR.
12109 * config/i386/aix386ng.h: Likewise.
12111 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12112 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12113 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12114 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12115 * config/lynx.h: Likewise.
12116 * config/netware.h: Likewise.
12117 * config/psos.h: Likewise.
12118 * config/alpha/alpha-interix.h: Likewise.
12119 * config/alpha/elf.h: Likewise.
12120 * config/arc/arc.h: Likewise.
12121 * config/arm/aof.h: Likewise.
12122 * config/arm/coff.h: Likewise.
12123 * config/arm/elf.h: Likewise.
12124 * config/c4x/c4x.h: Likewise.
12125 * config/h8300/h8300.h: Likewise.
12126 * config/i386/cygwin.h: Likewise.
12127 * config/i386/djgpp.h: Likewise.
12128 * config/i386/i386-coff.h: Likewise.
12129 * config/i386/i386-interix.h: Likewise.
12130 * config/i386/sco5.h: Likewise.
12131 * config/i386/vsta.h: Likewise.
12132 * config/i386/win32.h: Likewise.
12133 * config/i960/i960-coff.h: Likewise.
12134 * config/ia64/sysv4.h: Likewise.
12135 * config/m68hc11/m68hc11.h: Likewise.
12136 * config/m68k/coff.h: Likewise.
12137 * config/m68k/mot3300.h: Likewise.
12138 * config/m88k/m88k.h: Likewise.
12139 * config/mcore/mcore-pe.h: Likewise.
12140 * config/mcore/mcore.h: Likewise.
12141 * config/mips/elf.h: Likewise.
12142 * config/mips/elf64.h: Likewise.
12143 * config/mips/iris6.h: Likewise.
12144 * config/pa/pa64-hpux.h: Likewise.
12145 * config/rs6000/sysv4.h: Likewise.
12146 * config/sh/sh.h: Likewise.
12147 * config/sparc/litecoff.h: Likewise.
12149 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12150 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12151 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12152 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12153 (ASM_OUTPUT_DESTRUCTOR): Remove.
12154 * config/a29k/a29k.c: Move include of tree.h.
12155 * config/a29k/udi.h: Delete file.
12156 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12157 (vms_asm_out_destructor): New.
12158 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12159 (EXTRA_SECTION_FUNCTIONS): Likewise.
12160 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12161 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12162 * config/c4x/c4x.c: Move include of tree.h.
12163 * config/clipper/clipper.c (clix_asm_out_constructor): New.
12164 (clix_asm_out_destructor): New.
12165 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12166 (ASM_OUTPUT_DESTRUCTOR): Remove.
12167 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12168 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12169 (TARGET_ASM_CONSTRUCTOR): New.
12170 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12171 (sco_asm_out_constructor): New.
12172 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12173 * config/i386/svr3gas.h: Remove stack grows up code.
12174 Remove code duplicated from i386/sysv3.h.
12175 (TARGET_ASM_CONSTRUCTOR): New.
12176 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12177 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12178 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12179 (TARGET_ASM_CONSTRUCTOR): New.
12180 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12181 (m68hc11_asm_out_destructor): New.
12182 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12183 (TARGET_ASM_DESTRUCTOR): New.
12184 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12185 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12186 config/svr3.h pertaining to section manipulation.
12187 * config/m68k/dpx2g.h: Remove #if 0 code.
12188 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12189 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12190 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12191 (TARGET_ASM_CONSTRUCTOR): New.
12192 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12193 (m88k_svr3_asm_out_constructor): New.
12194 (m88k_svr3_asm_out_destructor): New.
12195 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12196 (ASM_OUTPUT_DESTRUCTOR): Remove.
12197 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12198 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12199 * config/rs6000/aix.h: Likewise.
12200 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12201 * config/mips/vxworks.h: Likewise.
12202 * config/rs6000/lynx.h: Likewise.
12203 * config/sh/elf.h: Likewise.
12204 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12205 (DTORS_SECTION_ASM_OP): New.
12206 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12207 (ASM_OUTPUT_DESTRUCTOR): Remove.
12208 * config/sparc/sol2-sld-64.h: Likewise.
12209 * config/vax/vax.c (vms_asm_out_constructor): New.
12210 (vms_asm_out_destructor): New.
12211 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12212 (ASM_OUTPUT_DESTRUCTOR): Remove.
12213 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12215 * doc/tm.texi (@node Initialization): Update.
12217 2001-08-09 Richard Henderson <rth@redhat.com>
12219 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12220 (__do_global_dtors_aux): Use gp-relative static data to avoid
12221 one dynamic relocation.
12222 (__do_frame_setup): Register Java classes.
12223 * config/alpha/crtend.asm (__JCR_END__): New.
12225 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12227 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12228 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12229 (GEN, STAGESTUFF): Add new files.
12230 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12231 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12232 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12233 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12234 as well as insn-codes.h and insn-flags.h in config.h; and no
12235 extra headers in tconfig.h and hconfig.h.
12237 * gencodes.c: Eliminate code to generate predicate declarations
12238 or #defines for md-file constants.
12239 * genconstants.c, genpreds.c: New files.
12241 * i386.md: Re-order guard expressions such that TARGET_64BIT
12242 comes first, when this permits better optimization. Add
12243 TARGET_64BIT to more x86-64 patterns. Add comment explaining
12244 why this is desirable.
12246 2001-08-09 Jakub Jelinek <jakub@redhat.com>
12248 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12249 (find_fde_for_dso): Remove.
12250 (_Unwind_IteratePhdrCallback): New.
12251 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12252 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12254 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12256 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12257 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12259 2001-08-09 Graham Stott <grahams@redhat.com>
12261 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12262 (vis_no_unit): Use it.
12263 (visualize_no_unit): Add the insn only if room exists.
12265 2001-08-09 Graham Stott <grahams@redhat.com>
12267 * predict.c (estimate_probability): Replace magic numbers with
12268 appropriate enumeration.
12270 2001-08-09 Graham Stott <grahams@redhat.com>
12272 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12274 (EXTRACT_FLAGS): Likewise.
12276 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
12278 * config/mips/mips.c (mips_legitimate_address_p): Check for
12279 CONST_INT in last patch.
12281 2001-08-08 Anthony Green <green@redhat.com>
12283 * java/class.c (emit_register_classes): Use assemble_jcr if
12284 possible. Keep the original mechanism as a fallback.
12285 * defaults.h (JCR_SECTION_NAME): Define if we have named section
12286 and weak symbol support.
12287 * crtstuff.c (__JCR_LIST__): Define.
12288 (__JCR_END__): Define.
12289 (_Jv_RegiserClasses): Define weak symbol if possible.
12290 (__do_global_ctors_aux): Register classes for ELF targets with
12291 weak symbol support.
12293 2001-08-08 Kazu Hirata <kazu@hxi.com>
12295 * dbxout.c: Fix comment formatting.
12296 * dependence.c: Likewise.
12298 * diagnostic.c: Likewise.
12299 * dominance.c: Likewise.
12300 * doprint.c: Likewise.
12301 * dwarf2out.c: Likewise.
12302 * dwarfout.c: Likewise.
12303 * emit-rtl.c: Likewise.
12304 * except.c: Likewise.
12305 * explow.c: Likewise.
12306 * expmed.c: Likewise.
12307 * expr.c: Likewise.
12308 * flow.c: Likewise.
12309 * fold-const.c: Likewise.
12310 * function.c: Likewise.
12312 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12314 * global.c (retry_global_alloc): Avoid shadowing allocno.
12316 2001-08-08 Mark Mitchell <mark@codesourcery.com>
12318 * except.c (remove_fixup_regions): Fix typo.
12320 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
12322 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12323 unsigned HOST_WIDE_INT to avoid warning.
12324 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12325 * flow.c (set_block_for_new_insns): Likewise.
12327 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
12329 * sibcall.c (return_value_pseudo): New static variable.
12330 (skip_copy_to_return_value): Handle return_value_pseudo.
12331 (call_ends_block_p): Ensure that return_value_pseudo is set.
12332 (optimize_sibling_and_tail_recursive_call): Discover the
12333 load of pseudo return value in alternate exit block.
12335 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12337 * calls.c (ECF_ALWAYS_RETURN): New constant.
12338 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12339 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12340 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12341 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12342 * rtl.c (reg_note_name): New name.
12343 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12345 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
12347 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12349 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12351 * alias.c (get_alias_set): Return a previously calculated
12352 alias set for a VAR_DECL.
12353 * function.c (gen_mem_addressof): Calculate the alias set before
12356 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
12358 * predict.def: Set hitrates according our experimental run.
12360 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
12362 * i386.h (HARD_REGNO_RENAME_OK): New macro.
12364 2001-08-08 H.J. Lu <hjl@gnu.org>
12366 * config/mips/mips.c (mips_unique_section): New. Copied from
12369 * config/mips/mips-protos.h (mips_unique_section): New
12372 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12374 * config/mips/little.h: New. Generic little endian mips
12375 targets. Only mips*-*-linux* is converted to use it so far.
12377 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12378 (WCHAR_TYPE): Defined
12379 (WCHAR_TYPE_SIZE): Likewise.
12380 (INIT_SUBTARGET_OPTABS): Likewise.
12381 (BSS_SECTION_ASM_OP): Likewise.
12382 (SBSS_SECTION_ASM_OP): Likewise.
12383 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12384 (ASM_DECLARE_OBJECT_NAME): Likewise.
12385 (UNIQUE_SECTION): Likewise.
12386 (EXTRA_SECTIONS): Likewise.
12387 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12388 (ASM_OUTPUT_DESTRUCTOR): Likewise.
12389 (ASM_OUTPUT_DEF): Likewise.
12390 (HANDLE_SYSV_PRAGMA): Removed.
12391 (NO_IMPLICIT_EXTERN_C): Likewise.
12392 (TARGET_MEM_FUNCTIONS): Likewise.
12393 (STARTFILE_SPEC): Likewise.
12394 (ENDFILE_SPEC): Likewise.
12395 (LIB_SPEC): Likewise.
12396 (INVOKE__main): Likewise.
12397 (CTOR_LIST_BEGIN): Likewise.
12398 (CTOR_LIST_END): Likewise.
12399 (DTOR_LIST_BEGIN): Likewise.
12400 (DTOR_LIST_END): Likewise.
12401 (SET_ASM_OP): Likewise.
12402 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12403 (ASM_OUTPUT_DEF): Likewise.
12404 (ASM_OUTPUT_IDENT): Likewise.
12406 * config/mips/mips.h (ASM_SPEC): Undefine before define.
12407 (CPLUSPLUS_CPP_SPEC): Likewise.
12408 (ASM_APP_ON) Redefine only if not defined.
12409 (ASM_APP_OFF): Likewise.
12410 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12411 (ASM_OUTPUT_IDENT): Likewise.
12413 * config.gcc: Update tm_file for Linux/mips.
12415 2001-08-08 Bernd Schmidt <bernds@redhat.com>
12417 * cselib.c (cselib_record_sets): If insn is predicated, turn
12418 sources into IF_THEN_ELSEs.
12420 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12421 Turn into define_insn_and_split.
12423 * sched-deps.c: Include "cselib.h".
12424 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12425 Use cselib to turn memory addresses into VALUEs.
12426 (sched_analyze): Call cselib_init/cselib_finish if necessary.
12427 * sched-int.h (struct sched_info): New member USE_CSELIB.
12428 * sched-ebb.c (ebb_sched_info): Initialize it.
12429 * sched-rgn.c (rgn_sched_info): Likewise.
12430 * Makefile.in (sched-deps.o): Update dependencies.
12432 * cselib.h (cselib_subst_to_values): Declare.
12433 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
12434 that have no value and autoincs to be handled by generating a new
12437 2001-08-08 Graham Stott <grahams@redhat.com>
12439 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12440 within fixed length SEQUENCE.
12442 2001-08-08 Graham Stott <grahams@redhat.com>
12444 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12445 (diagnostic_prefixing_rule): Likewise.
12446 (diagnostic_line_cutoff): Likewise.
12447 (diagnostic_kind_count): Likewise.
12449 2001-08-08 Graham Stott <grahams@redhat.com>
12451 * alias.c (find_base_decl): Delete redundent assignment.
12453 2001-08-08 Graham Stott <grahams@redhat.com>
12455 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12456 (abs): Uppercase and paranthesize macro parameter.
12457 (MEM_DEPENDENCY): Add whitespace.
12459 2001-08-08 Graham Stott <grahams@redhat.com>
12461 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12462 failure check for CONST_INT
12464 2001-08-08 Graham Stott <grahams@redhat.com>
12466 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12467 (libcall_dead_p): Likewise.
12469 (mark_used_regs): Constify fmt.
12470 (find_use_as_address): Likewise.
12472 2001-08-08 Graham Stott <grahams@redhat.com>
12474 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12477 2001-08-08 Graham Stott <grahams@redhat.com>
12479 * combine.c (combine_simplify_rtx): Update comment and
12480 remove erroneous test.
12482 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12484 * cppinit.c (cpp_finish): Pop the final buffer without comment.
12485 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12486 take care to avoid multiple no-newline at EOF warnings in that
12489 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
12491 * calls.c (expand_call): Do not emit INSN_SETJMP note.
12492 (emit_library_call_value_1): Likewise.
12493 (emit_call_1): Emit REG_SETJMP note.
12494 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12496 * cselib.c (cselib_process_insn): Likewise.
12497 * flow.c (propagate_block): Likewise.
12498 * loop.c (find_and_verify_loops): Likewise.
12499 * reload.c (find_equiv_regs): Likewise.
12500 * reload1.c (reload): Likewise.
12501 * resource.c (mark_referenced_resources,
12502 mark_set_resources): Likewise.
12503 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12504 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12505 * haifa-sched.c (unlink_other_notes): Likewise.
12506 (reemit_notes): Likewise.
12507 * sched-ebb.c (sched_ebb): Likewise.
12508 * sched-rgc.c (sched_region): Likewise.
12509 * rtl.c (note_insn_name): Likewise.
12510 (reg_note_name): Add REG_SETJMP
12511 * rtl.h (reg_note): Add REG_SETJMP.
12512 (insn_note): Remove NOTE_INSN_SETJMP.
12514 * profile.c (branch_prob): Add fake edges for setjmp.
12516 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
12518 * config.gcc: Quote target_cpu_default2 correctly for
12519 powerpc*-*-* targets.
12521 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12523 * cpplib.h, line-map.h: Update comments.
12524 * cppmain.c (printer_init): Move inline.
12525 (maybe_print_line, print_line): Take a map pointer.
12526 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12527 (cb_file_change): Don't use prior value of print.map.
12529 2001-08-07 David Edelsohn <edelsohn@gnu.org>
12531 * doc/install.texi: Document fine-grained multilib configuration.
12533 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12535 * rtlanal.c (find_first_parameter_load): Call note_stores
12536 only on the instructions.
12538 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12540 * alias.c (nonlocal_mentioned_p):
12541 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12542 * calls.c (emit_call_1): Likewise.
12543 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12544 * cselib.c (cselib_process_insn): Likewise.
12545 * df.c (df_insns_modify): Likewise.
12546 * flow.c (need_fake_edge_p): Likewise.
12547 (propagate_one_insn): Likewise.
12548 * haifa-sched.c (reemit_notes): Likewise.
12549 * integrate.c (copy_insn_list): Likewise.
12550 * jump.c (delete_prior_computation): Likewise.
12551 * local-alloc.c (validate_equiv_mem): Likewise.
12552 * loop.c (scan_loop): Likewise.
12553 * predict.c (estimate_probability): Likewise.
12554 * reload.c (reload): Likewise.
12555 * sched-deps (sched_analyze): Likewise.
12556 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12557 * gcse.c (compute_hash_table): Likewise.
12558 (mark_call): Likewise.
12559 (store_killed_in_insn): Likewise.
12561 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
12563 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12565 2001-08-06 Richard Henderson <rth@redhat.com>
12567 * varasm.c (assemble_gc_entry): Remove.
12568 * output.h: Likewise.
12570 2001-08-06 Richard Henderson <rth@redhat.com>
12572 * varasm.c (assemble_constructor): Take a symbol_ref and a
12573 priority instead of a bare string. Move priority handling
12574 here from cp/decl2.c.
12575 * output.h: Update decls.
12577 * c-decl.c (c_expand_body): Update calls to assemble_constructor
12578 and assemble_destructor.
12579 * profile.c (output_func_start_profiler): Likewise.
12580 * objc/objc-act.c (finish_objc): Likewise.
12581 (build_module_descriptor): Return the symbol not the symbol name.
12583 2001-08-06 David Edelsohn <edelsohn@gnu.org>
12585 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12586 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12587 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12588 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12589 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12590 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12592 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12594 * cpperror.c (print_containing_files): Moved to line-map.c.
12595 (print_location): line-map.c handles re-listing or otherwise.
12596 * cpphash.h (struct lexer_state): Remove next_bol.
12597 (struct cpp_buffer): Remove include_stack_listed.
12598 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12599 Remove faked buffer handling.
12600 (_cpp_do_file_change): Tweak.
12601 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12602 * cppmain.c (struct printer): Remove filename.
12603 (print_line, cb_file_change): Update accordingly.
12604 * line-map.c: Include intl.h.
12605 (init_line_maps): Initialize last_listed.
12606 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12607 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12608 (print_containing_files): New.
12609 * line-map.h (struct line_maps): New member last_listed.
12610 (print_containing_files, INCLUDED_FROM): New.
12611 * Makefile.in: Update.
12612 * po/POTFILES.in: Add line-map.c.
12614 2001-08-06 Richard Henderson <rth@redhat.com>
12616 * except.c (convert_from_eh_region_ranges_1): Never mark
12617 USE or CLOBBER insns as throwing.
12619 * expr.c (store_constructor): Don't clobber memory targets.
12621 2001-08-06 Andreas Jaeger <aj@suse.de>
12623 * profile.c (branch_prob): Remove unused variable insn.
12625 * Makefile.in (local-alloc.o): Add dependency on except.h.
12627 * local-alloc.c: Include except.h for can_throw_internal prototype.
12629 2001-08-06 Richard Henderson <rth@redhat.com>
12631 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12632 * function.c (expand_main_function): Implement it.
12633 * doc/tm.texi: Document it.
12635 2001-08-06 Stan Shebs <shebs@apple.com>
12637 * doc/install.texi: Document powerpc-*-darwin* details.
12639 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
12641 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12642 (ASM_CPU_SPEC): Move back to rs6000.h
12643 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12645 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12647 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12650 * config/rs6000/linux64.h: Ditto.
12652 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12653 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12656 Remove accidently readded definitions of FUNCTION_PROLOGUE,
12657 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12659 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12662 2001-08-05 Richard Henderson <rth@redhat.com>
12664 * local-alloc.c (update_equiv_regs): Do not move insns that
12667 2001-08-05 Jan Hubicka <jh@suse.cz>
12669 * Makefile.in (reload1.o): Add dedendancy on except.h
12670 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12672 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12673 indicating wehther edges has been cleaned up.
12674 * reload1.c: Inlucde except.h
12675 (fixup_abnormal_edges): Accept deleted insns.
12676 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12679 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12681 * cpplib.c (do_line): Correct line number after pop_buffer.
12683 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12685 PR preprocessor/3824
12686 * line-map.c: Update comments.
12687 * line-map.h: Update comments.
12688 * tradcif.y: Don't consider large numbers unsigned.
12690 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12692 PR preprocessor/3081
12693 * c-lex.c (map): New.
12694 (cb_file_change): Update map and use it.
12695 (cb_def_pragma, cb_define, cb_undef): Use map and line.
12696 (c_lex): Update to use map.
12697 * cpperror.c (print_location): Move to using logical line numbers.
12698 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12699 (cpp_make_system_header): Similarly.
12700 (_cpp_execute_include): Stop line numbering hacks. Store the
12701 line we will return to.
12702 * cpphash.h (CPP_BUF_LINE): Remove.
12703 (struct cpp_buffer): Remove lineno and pseudo_newlines.
12704 Add map and return_to_line.
12705 (_cpp_do_file_change): Update.
12706 * cppinit.c (cpp_start_read): Update line kludge.
12707 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12708 (trigraph_ok): Use logical line numbers for diagnostics.
12709 (skip_block_comment): Likewise.
12710 (skip_whitespace): Likewise.
12711 (skip_line_comment): Use pfile->line instead.
12712 (_cpp_lex_token): Update to use logical line numbering exclusively.
12713 Handle BOL locally. Accept new lines in directives, but keep
12714 pfile->line decremented. Diagnostics use logical lines. Update
12715 directive handling.
12716 * cpplib.c (SEEN_EOL): New.
12717 (skip_rest_of_line, check_eol): Use it.
12718 (end_directive): Increase line number when accepting the newline
12719 at the end of a directive.
12720 (run_directive): Simplify.
12721 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
12722 (_cpp_do_file_change): Update to take buffer line number as an
12723 argument, and store the current map in the cpp_reader. Remove
12724 line number kludges.
12725 (_cpp_do__Pragma): Restore output position after a _Pragma.
12726 (cpp_push_buffer): Don't set output line or lineno.
12727 (_cpp_pop_buffer): Transfer more info from a faked buffer.
12728 Remove line kludge. Set output_line.
12729 * cppmacro.c (builtin_macro): Update handling of __LINE__.
12730 (parse_arg): Use logical lines.
12731 (save_lookahead_token): Save EOFs too now.
12732 * cppmain.c (struct printer): Fix comments.
12733 (printer_init): Simplify, let caller do errors.
12734 (scan_translation_unit, check_multiline_token, dump_macro): Update.
12735 (maybe_print_line): Simplify.
12736 (print_line): Don't print a linemarker if -P.
12737 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
12738 (cb_file_change): Simplify.
12739 * line-map.h (LAST_SOURCE_LINE): Fix.
12740 (CURRENT_LINE_MAP): New.
12742 2001-08-05 Bernd Schmidt <bernds@redhat.com>
12744 * doloop.c (doloop_modify_runtime): Properly compute number of
12745 iterations if loop was unrolled.
12747 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
12748 if their CSELIB_VAL_PTRs are.
12750 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
12751 (setup_spill_pointers): Initialize it.
12752 (spill_restore_mem): Set it.
12753 (do_spill, do_restore): Use it to add REG_INC note.
12754 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
12756 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
12757 asms if other insns are available.
12759 * config/ia64/ia64.c (condop_operator): New predicate.
12760 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
12761 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
12764 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
12765 temporary register than directly using a MEM.
12767 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12769 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
12770 parameter in last change.
12772 2001-08-04 Zack Weinberg <zackw@panix.com>
12774 * sparc.md: Don't use #if inside C test expression.
12776 2001-08-04 Richard Henderson <rth@redhat.com>
12778 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
12780 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
12782 * cpphash.h (struct cpp_reader): New member directive_line.
12783 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
12784 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
12785 do_pragma): Pass line to callbacks.
12786 (start_directive): Record line of directive.
12787 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
12788 cb_include): Similarly.
12789 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
12792 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12794 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
12797 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
12799 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
12801 * reload1.c (fixup_abnormal_edges): New static function.
12804 * flow.c (need_fake_edge_p): New function.
12805 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
12806 avoid call insn to be very last insn in the insn stream.
12808 * profile.c (branch_prob): Call flow_call_edges_add instead of
12809 doing that by hand; cleanup cfg to re-merge basic blocks once
12812 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12814 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
12815 are also on line-map.h.
12816 * cppfiles.c (stack_include_file): Update.
12817 * cpphash.h (struct cpp_buffer): New member return_at_eof.
12818 (_cpp_pop_buffer): New.
12819 * cppinit.c (cpp_destroy, cpp_finish): Update.
12820 (do_includes): Mark each buffer to return at EOF.
12821 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
12822 return as requested.
12823 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
12824 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
12825 * cpplib.h (cpp_pop_buffer): Remove.
12826 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
12827 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
12829 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
12831 (do_preprocessing): Update.
12832 * fix-header.c (read_scan_file): Update. No need to pop buffers.
12833 * c-parse.in (_yylex): Similarly.
12834 * scan-decls.c (scan_decls): Similarly.
12835 * line-map.h: Update comments.
12837 * objc/Make-lang.in (objc-act.o): Update dependencies.
12839 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12841 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
12842 and soft register for operand 0.
12843 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
12845 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12847 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
12848 register for operand 0.
12849 ("bitcmpqi_z_used"): Allow memory for operand 0.
12850 (split "bitcmpqi"): New split to handle address reg as operand 1.
12852 2001-08-04 Andreas Jaeger <aj@suse.de>
12854 * gcse.c: Revert Daniel's last patch.
12856 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12858 * sparc-protos.h: Add prototypes for fp_zero_operand and
12860 * sh-protos.h: Add prototype for fpul_operand.
12862 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12864 * doc/extend.texi (Other Builtins): Fix typo in last change.
12866 2001-08-03 Richard Henderson <rth@redhat.com>
12868 * target.h (gcc_target): Add asm_out.named_section,
12869 section_type_flags, have_named_sections.
12870 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
12871 (TARGET_HAVE_NAMED_SECTIONS): New.
12872 (TARGET_SECTION_TYPE_FLAGS): New.
12874 * Makefile.in (toplev.o): Depend on TARGET_H.
12875 (varasm.o, dbxout.o): Likewise.
12876 * c-common.c (decl_attributes): Check targetm.have_named_sections
12877 instead of ifdef ASM_OUTPUT_SECTION_NAME.
12878 * dbxout.c (dbxout_function_decl): Likewise.
12879 (dbxout_function_end): Likewise.
12880 * toplev.c (compile_file): Likewise.
12881 * varasm.c (exception_section): Likewise.
12882 * cp/decl2.c (finish_objects): Likewise.
12884 * defaults.h (EH_FRAME_SECTION): Remove.
12885 (EH_FRAME_SECTION_ASM_OP): Remove.
12886 (EH_FRAME_SECTION_NAME): New.
12887 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
12888 (UNIQUE_SECTION_P): Remove.
12889 * dwarf2out.c (SECTION_FORMAT): Remove.
12890 (ASM_OUTPUT_SECTION): Remove.
12891 (output_call_frame_info): Use named_section_flags.
12892 (output_comp_unit, dwarf2out_start_source_file): Likewise.
12893 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
12894 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
12895 * varasm.c (in_eh_frame, eh_frame_section): Remove.
12896 (named_section_flags): New.
12897 (named_section): Use it and targetm.section_type_flags.
12898 (resolve_unique_section): New.
12899 (assemble_start_function): Use it.
12900 (asm_emit_uninitialised, assemble_variable): Likewise.
12901 (default_section_type_flags): New.
12902 (default_no_named_section, default_elf_asm_named_section): New.
12903 (default_coff_asm_named_section, default_pe_asm_named_section): New.
12904 * output.h: Update varasm.c decls.
12905 (SECTION_*): New flags.
12907 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
12908 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
12910 * config/elfos.h (UNIQUE_SECTION_P): Remove.
12911 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
12912 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
12913 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12914 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
12915 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
12916 * config/mips/elf.h, config/mips/elf64.h: Likewise.
12917 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
12918 * config/pa/pa64-hpux.h,
12920 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
12921 (TARGET_ASM_NAMED_SECTION): New.
12922 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
12923 * config/alpha/vms.h, config/arm/coff.h: Likewise.
12924 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
12925 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
12926 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
12927 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
12928 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12929 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
12930 * config/i386/sco5.h, config/i386/win32.h: Likewise.
12931 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
12932 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
12933 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
12934 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
12935 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
12936 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
12937 * config/sparc/sysv4.h: Likewise.
12939 * config/nextstep.h: Error until named sections implemented.
12941 * config/a29k/a29k.c (a29k_asm_named_section): New.
12942 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
12943 (vms_section_type_flags, vms_asm_named_section): New.
12944 * config/arm/arm.c (arm_elf_asm_named_section): New.
12945 * config/avr/avr.c (asm_output_section_name): Remove.
12946 * config/avr/avr-protos.h: Update.
12947 * config/c4x/c4x.c (c4x_asm_named_section): New.
12948 * config/h8300/h8300.c (h8300_asm_named_section): New.
12949 * config/i386/i386.c (sco_asm_named_section): New.
12950 * config/i386/winnt.c (SECTION_PE_SHARED): New.
12951 (i386_pe_section_type_flags): New.
12952 (i386_pe_asm_named_section): New.
12953 * config/i386/i386-protos.h: Update.
12954 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
12955 * config/mcore/mcore.c (mcore_asm_named_section): New.
12956 * config/mips/mips.c (iris6_asm_named_section): New.
12957 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
12958 instead of UNIQUE_SECTION_P.
12959 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
12960 (xcoff_asm_named_section): New.
12961 * config/sh/sh.c (sh_asm_named_section): New.
12962 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
12964 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
12965 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
12966 (EH_FRAME_SECTION_NAME): New.
12967 (EXCEPTION_SECTION): New.
12968 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
12969 (DEBUG_*_SECTION): Remove.
12970 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
12971 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
12972 (EH_FRAME_SECTION_ASM_OP): Remove.
12974 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
12975 (ASM_OUTPUT_SECTION_NAME): Remove.
12976 (TARGET_ASM_NAMED_SECTION): New.
12977 (TARGET_HAVE_NAMED_SECTIONS): New.
12978 (TARGET_SECTION_TYPE_FLAGS): New.
12979 (EH_FRAME_SECTION_ASM_OP): Remove.
12980 (EH_FRAME_SECTION_NAME): New.
12982 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12984 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
12985 for complex expressions when cfun == 0.
12986 * doc/extend.texi: Document that __builtin_constant_p can be
12987 used in data initializers as well as functions.
12989 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
12991 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
12992 variable I locally, instead of expecting a declaration in the
12995 2001-08-03 Richard Henderson <rth@redhat.com>
12997 * except.c (collect_one_action_chain): Add an explicit cleanup
12998 action if regions surrounding a catch were encoded entirely
12999 within the call-site entry.
13001 2001-08-03 Richard Henderson <rth@redhat.com>
13003 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13004 don't take REGNO of a non-register.
13006 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13008 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13009 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13010 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13011 (__gthread_mutex_init_function): New function for mutex initialization.
13013 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13015 * Makefile.in: Revert screwed up commit.
13017 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13019 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13020 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13021 merged by linker script to get a final _exit().
13022 (__do_global_dtors): New for destructor handling in specific exit
13024 (__do_global_ctors): New for constructors in specific install section.
13025 (__map_data_section): Map data sections before running constructors.
13026 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13027 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13028 (DTORS_SECTION_ASM_OP): Likewise.
13029 (CTORS_SECTION_FUNCTION): Define to force a reference to
13031 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13033 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13035 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13037 * Makefile.in: Add df.h to gcse.c dependencies.
13039 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13041 * varasm.c (output_constant_def_contents): Use for the length of a
13042 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13043 depending on which is larger.
13045 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13047 * gcse.c: Include df.h for use as a dataflow analyzer.
13049 Declaration of reg_set_info: gone.
13050 New df_analyzer variable used by store motion.
13051 (reg_set_info): Deleted.
13052 (mark_mem_regs): New function, analyze regs used by a mem.
13053 (store_ops_ok): Use dataflow analyzer results to determine if
13054 necessary regs are changed in the block.
13055 (find_moveable_store): Remove check for symbol ref, we can handle
13056 much more complex expressions now.
13057 (compute_store_table): Remove most of the code, it's unnecessary
13058 now that the dataflow analyzer records the info for us.
13059 (store_killed_after): Add parameter to say whether to do the
13060 store_ops_okay test, used to speed up testing when we already know
13061 the answer, and just want to know if the store itself was killed.
13062 (build_store_vector): Largely rewritten to calculate the various
13063 vectors properly, and somewhat optimized.
13064 (store_motion): Init the df_analyzer, get REG_DEF chains.
13065 Also handle trapping expressions (since mems almost always trap)
13066 (simple_mem): Redefine what a simple mem is.
13068 2001-08-03 DJ Delorie <dj@redhat.com>
13070 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13071 set from a constant part of the condition.
13073 2001-08-01 Andrew Cagney <ac131313@redhat.com>
13075 * mkdeps.c (deps_add_default_target): Make local variable
13076 ``start'' a const char pointer.
13077 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13079 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13081 * doc/install.texi (Configuration): Fix markup.
13082 (Specific, i?86-*-udk): Likewise.
13083 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13085 Document --enable-threads and --enable-libgcj status.
13086 (Specific, mips-sgi-irix*): Canonicalize triples.
13087 (Specific, mips-sgi-irix5): Warn about problems with this config.
13088 Mention required GNU as patch.
13089 Native assembler problems are fixed.
13090 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13091 Document --enable-threads and --enable-libgcj status.
13093 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13095 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13098 2001-08-03 Richard Henderson <rth@redhat.com>
13100 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13103 2001-08-03 Richard Henderson <rth@redhat.com>
13105 * rtlanal.c (find_first_parameter_load): Stop if we
13106 reach a CODE_LABEL at BOUNDARY.
13108 2001-08-03 Richard Henderson <rth@redhat.com>
13110 * config/alpha/alpha.md (force_movdi): New insn.
13111 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13112 Tweek FRP marking of VMS prologue insns.
13113 * config/alpha/vms.h (EPILOGUE_USES): New.
13115 2001-08-02 Richard Henderson <rth@redhat.com>
13117 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13119 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13121 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13122 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13123 config/convex/convex.h, config/d30v/d30v.c,
13124 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13125 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13126 config/mips/mips.h, config/mn10200/mn10200.h,
13127 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13128 config/v850/v850.h, config/vax/openbsd.h,
13129 config/vax/openbsd1.h, config/vax/ultrix.h,
13130 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13131 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13132 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13133 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13134 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13135 in comments and documentation.
13137 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13141 * Makefile.in (line-map.o): New.
13142 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13143 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13144 * cpperror.c (print_containing_files): Similarly.
13145 (print_location): Update. Don't output a space before _Pragma.
13146 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13147 (stack_include_filee, cpp_make_system_header): Update.
13148 (_cpp_execute_include): Get logical line number right for calling
13149 as-yet-unterminated #include.
13150 * cpphash.h (struct cpp_reader): Add line_maps.
13151 (_cpp_do_file_change): Update.
13152 * cppinit.c (cpp_create_reader): Initialize line maps.
13153 (cpp_destroy): Destroy line maps.
13154 (cpp_start_read): Get logical line number right.
13155 * cpplex.c (parse_string): Only warn once for multi-line strings.
13156 Use boolean variable for null warning.
13157 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13159 (do_include_common): End the directive early.
13160 (do_line): Don't warn about out-of-range lines in preprocessed
13161 source. Update. Remove unused variables.
13162 (_cpp_do_file_change): Update for new line mapping.
13163 (pragma_cb): New typedef.
13164 (cpp_register_pragma): Stop looking ahead before calling the
13166 (do_pragma_system_header): End directive early.
13167 (cpp_get_line_maps): New.
13168 (cpp_pop_buffer): Fudge logical line. Update.
13169 * cpplib.h: Include line-map.h
13170 (enum cpp_fc_reason): Remove.
13171 (struct cpp_file_change): Update.
13172 (cpp_get_line_maps): New.
13173 * cppmain.c (struct_printer): New member map.
13174 (cb_file_change): Update for new mappings.
13175 * fix-header.c (cb_file_change): Similarly.
13177 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13179 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13180 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13182 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13184 * config/vax/vax.c: include expr.h.
13186 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13188 * Makefile.in ($(srcdir)/configure): Only rebuild in
13190 ($(srcdir)/config.in): Only define in maintainer mode.
13191 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13193 2001-08-02 David Edelsohn <edelsohn@gnu.org>
13195 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13197 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13199 * gcc.c (set_collect_gcc_options): New function, split out from
13201 Ignore elided switches.
13202 (do_spec_1): Invoke before executing command.
13203 (set_input): Export.
13204 Move declaration ...
13205 * gcc.h (set_input): ... here.
13206 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13209 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13212 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13214 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13216 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
13218 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13219 for the unnamed instructions it expands to.
13221 2001-08-02 Richard Henderson <rth@redhat.com>
13223 * regclass.c (call_really_used_regs): Conditionally define.
13224 (init_reg_sets_1): Don't use it if not defined.
13225 (fix_register): Similarly, don't set it.
13227 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13229 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13230 Correct comment that had been missed in the previous change.
13232 2001-08-01 Stan Shebs <shebs@apple.com>
13234 * config/darwin.c (machopic_stub_name): Try matching by name.
13235 (update_stubs): New function.
13236 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
13239 2001-08-01 Richard Henderson <rth@redhat.com>
13241 * except.c (output_function_exception_table): Use assemble_align.
13242 * varasm.c (assemble_eh_label): Remove.
13243 (assemble_eh_align, assemble_eh_integer): Remove.
13245 2001-08-01 Robert Lipe <robertl@caldera.com>
13247 * dwarfout.c: Remove reference to README.DWARF.
13249 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
13251 * regclass.c (call_really_used_regs): New array for registers which
13252 are actually used by a call.
13253 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13255 (fix_register): Set call_really_used too.
13256 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13257 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13259 2001-08-01 Richard Henderson <rth@redhat.com>
13261 * read-rtl.c (read_name): Consider \r whitespace.
13263 2001-07-11 Andrew Cagney <ac131313@redhat.com>
13265 * config.gcc: Recognize powerpc-*-netbsd*.
13267 * doc/install.texi (Host/target specific installation notes for
13268 GCC): Mention powerpc-*-netbsd*.
13270 * config/rs6000/netbsd.h: New file.
13271 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13272 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13273 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13274 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13275 (TARGET_VERSION): Redefine.
13277 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13278 mcall-netbsd as a match for mcall-sysv.
13279 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13280 (ncrti.S, ncrtn.S): New targets.
13281 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13283 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13284 "netbsd' as a V4 ABI.
13285 (ASM_SPEC): Check for -mcall-netbsd.
13286 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13287 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13288 (LIB_SPEC, ENDFILE_SPEC): Ditto.
13289 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13290 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13291 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13292 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13294 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13295 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13297 2001-08-01 Mark Kettenis <kettenis@gnu.org>
13299 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13300 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13301 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13302 including "unwind-pe.h".
13304 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13306 * rs6000.md (define_splits): Kill unused constraints.
13308 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
13309 Jan Hubicka <jh@suse.cz>
13311 * function.c (thread_prologue_and_epilogue_insns): Kill code
13312 dealing with non-existent CFG.
13314 2001-08-01 Kazu Hirata <kazu@hxi.com>
13316 * alias.c: Fix comment formatting.
13317 * bitmap.c: Likewise.
13318 * builtins.c: Likewise.
13319 * calls.c: Likewise.
13320 * c-common.c: Likewise.
13321 * c-decl.c: Likewise.
13322 * c-dump.c: Likewise.
13323 * c-lex.c: Likewise.
13324 * collect2.c: Likewise.
13325 * combine.c: Likewise.
13326 * conflict.c: Likewise.
13327 * cppfiles.c: Likewise.
13328 * cppinit.c: Likewise.
13329 * cpplex.c: Likewise.
13330 * cpplib.c: Likewise.
13331 * cppmacro.c: Likewise.
13332 * cppspec.c: Likewise.
13333 * c-pragma.c: Likewise.
13334 * crtstuff.c: Likewise.
13336 * cselib.c: Likewise.
13337 * c-semantics.c: Likewise.
13338 * c-typeck.c: Likewise.
13340 2001-08-01 H.J. Lu <hjl@gnu.org>
13342 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13344 2001-08-01 H.J. Lu <hjl@gnu.org>
13346 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13348 2001-08-01 Ziemowit Laski <zlaski@apple.com>
13350 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13351 contextualizing Objective-C class name lookup by the lexer.
13352 (typespec_reserved_nonattr): Disable ObjC class name lookup after
13354 (protocoldef): Add support for forward @protocol declarations.
13355 (yylexname): Suppress ObjC class name lookup in certain contexts;
13356 re-enable after lookup is complete.
13357 (_yylex): Re-enable ObjC class name lookup when certain
13358 punctuation marks are seen.
13360 * objc/objc-act.c (check_protocol_recursively): New function used
13361 for finding circular dependencies in protocols.
13362 (objc_declare_protocols): New function for handling forward
13363 @protocol declarations.
13364 (receiver_is_class_object): Detect the case when 'self' is used
13365 inside of a class method.
13366 (build_message_expr): Issue a warning if class method is desired
13367 but instance method is found instead.
13368 (conforms_to_protocol): Streamline.
13369 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13370 protocol Foo, even if 'Bar foo' does not.
13371 (check_protocols): Streamline.
13372 (start_protocol): Add checks for circular and duplicate protocol
13374 (encode_aggregate_within): For typedefs of structs, encode the
13376 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13377 (objc_declare_protocols): New prototype.
13379 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13381 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13382 * cpplex.c (handle_newline): Update prototype. Maintain logical
13384 (skip_escaped_newlines, skip_block_comment, parse_string):
13385 Update accordingly.
13386 (_cpp_lex_token): Update, and store token position within the token.
13387 * cpplib.h (struct cpp_token): Add line and column entries.
13388 * cppmacro.c (replace_args): Position stringified tokens correctly.
13390 2001-08-01 Andreas Jaeger <aj@suse.de>
13392 * basic-block.h: Add prototype for last_loop_beg_note.
13394 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
13396 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13397 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13399 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13400 while handling WITH_CLEANUP_EXPR node. Use second operand calling
13401 expand_decl_cleanup.
13402 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13404 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13405 operand while calling simple_cst_equal.
13406 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13407 operand is the cleanup expression, the third is the RTL_EXPR.
13408 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13410 2001-07-31 Jeff Sturm <jsturm@one-point.com>
13412 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13414 2001-07-31 matthew green <mrg@eterna.com.au>
13416 * config.gcc (i386-*-netbsdelf): New description.
13417 * config/i386/netbsd-elf.h: New file.
13419 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
13421 * loop.c (check_dbra_loop): Use single_set to compute
13424 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
13426 PowerPC reorg and support for powerpc64-*-linux*.
13428 Also fixes emitting of constants on 32 bit and 64 bit
13431 * config.gcc: powerpc64-*-linux* is a new target.
13432 Things that needed aix.h now also include xcoff.h
13434 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13436 Move AIX specific stuff into aix.h.
13437 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13438 with more than just XCOFF now.
13439 (SET_ASM_OP): Remove, now defined where needed.
13440 (FUNCTION_PROLOGUE): New macro definition.
13441 (FUNCTION_EPILOGUE): New macro definition.
13442 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13444 * config/rs6000/xcoff.h: New file.
13446 * config/rs6000/linux64.h: New file.
13448 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13450 2001-07-31 Alan Modra <amodra@bigpond.net.au>
13452 * rs6000.c (print_operand_address): Handle ELF syntax.
13453 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
13454 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13455 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13457 2001-07-31 David Edelsohn <edelsohn@gnu.org>
13459 * rs6000.c (rs6000_override_options): Only disable
13460 flag_function_sections for XCOFF.
13461 (exact_log2_cint_operand): New predicate.
13462 (reg_or_{add,sub}_cint64_operand): New predicates.
13463 (add_operand): Compare CONST_INT with fewer function calls.
13464 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13465 (print_operand, case 'p'): Ensure positive operand.
13466 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13467 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13468 (PREDICATE_CODES): Add new predicates.
13469 * rs6000.md (addsi3): Split 32-bit constants more correctly.
13470 (divsi3, modsi3): Ensure positive power-of-2.
13471 (adddi3): Use new predicate. Split 32-bit constants more
13472 correctly. Re-arrange splitter to handle any constant.
13473 (subdi3): Use new predicate.
13474 (divdi3, moddi3): Ensure positive power-of-2.
13475 (movdi): Use rs6000_emit_set_const.
13476 (load_toc_v4_pic_di): Delete.
13478 2001-07-31 Graham Stott <grahams@redhat.com>
13480 * function.c (pad_below): Revert 2001-07-26 patch.
13482 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13484 * reg-stack (convert_regs_1): Fix best edge condition.
13486 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
13488 * jump.c (duplicate_loop_exit_test): Better test for jumps
13489 entering the loop; create loop pre_header.
13491 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13493 * doc/install.texi: Add s390 and s390x as new targets.
13494 * doc/invoke.texi: Add documentation of S/390 and zSeries
13496 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13498 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13500 * config/m68k/m68k.md: Replace all general_operand with
13501 nonimmediate_operand for all destinations.
13502 * config/m68k/m68k.c (not_sp_operand): Likewise.
13504 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
13506 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13508 2001-07-30 Richard Henderson <rth@redhat.com>
13510 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13511 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13513 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13515 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13516 Add missing doc strings
13517 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13518 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13520 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
13522 * i386.c (ix86_output_main_function_alignment_hack): New function.
13523 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13525 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13526 edges by EDGE_DFS_BACK flag.
13527 (dump_edge_info): Add dfs_back flag.
13528 * basic-block.h (EDGE_DFS_BACK): New constant.
13529 (mark_dfs_back_edges): Declare.
13530 * alias.c (loop_p): Remove.
13531 (mark_constant_function): Use mark_dfs_back_edges.
13533 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13534 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13535 (compensate_edge): Break out from ...
13536 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13537 (convert_regs_2): Set block_done once block is really done;
13538 Do updating of the predecessors counts.
13540 * toplev.c (rest_of_compilation): Recompute block_for_insn
13541 before post-reload cfg_cleanup.
13542 * function.c (thread_prologue_epilogue_insns):
13543 Call set_block_for_new_insns when emitting prologue directly.
13545 2001-07-30 Andreas Jaeger <aj@suse.de>
13547 * jump.c: Add prototype for mark_modified_reg.
13549 * cse.c (set_live_p): Add unused attribute.
13551 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13553 (scan_for_source_files): Use long for count to avoid overflow.
13554 (output_data): Likewise.
13555 (output_data): Don't use string concatatenation to silence gcc
13558 * predict.c: Fix typos and grammar.
13560 * gcse.c (insert_insn_end_bb): Remove unused variables.
13562 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
13564 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13565 (attempt_auto_inc): LIkewise.
13566 (mark_used_reg): Likewise.
13567 (try_pre_increment_1): Likewise.
13568 * regclass.c (regclass): Likewise.
13569 * global.c (allocno_compare): Update comment; change scaling factor.
13570 * local-alloc.c (QTY_CMP_PRI): Likewise.
13571 * regs.h (REG_FREQ_FROM_BB): New.
13572 (REG_FREQ_MAX): Likewise.
13574 2001-07-30 H.J. Lu <hjl@gnu.org>
13576 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13579 2001-07-30 H.J. Lu (hjl@gnu.org)
13581 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13582 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13583 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13585 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
13587 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13588 as -mthumb-interwork when -mcpu=arm7 is specified.
13590 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13592 * predict.def (noreturn, loop branch, loop exit): Mark as first
13595 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
13597 * combine.c (try_combine): Avoid barrier after noop jumps.
13599 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13601 * cpphash.h (struct cpp_reader): Remove import_warning.
13602 * cpplib.c (skip_rest_of_line): Don't bother turning off
13604 (parse_include): Move include handling to...
13605 (do_include_common): ... here. Move import warning from...
13606 (do_import): ... here.
13607 (do_pragma_poison): Don't do a callback for poison identifiers.
13608 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13609 * cppmain.c (setup_callbacks): Similarly.
13611 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13613 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13614 handle multiple sets.
13615 * except.c (sjlj_mark_call_sites): .... here.
13616 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13618 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13620 Suggested by Richard Henderson and Richard Kenner:
13621 * combine.c (recog_for_combine): Use the fake recog
13622 only if instruction does not match.
13623 * rtl.h (NOOP_MOVE_INSN_CODE): New.
13624 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13626 * combine.c (try_combine): Discover noop jump as direct jump.
13628 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
13630 * df.c (df_rd_global_compute): Add successors to worklist, not
13632 (df_ru_global_compute): Ditto.
13634 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
13636 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13637 increment REG_N_SETS.
13639 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
13641 * sbitmap.h: New prototype for sbitmap_a_xor_b.
13643 * sbitmap.c (sbitmap_a_xor_b): New function.
13644 ifdef the basic block stuff on IN_GCC.
13646 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13648 * cppexp.c (parse_defined): Always record the macro name.
13649 (lex): Don't worry about identifiers, or special-case
13651 (_cpp_parse_expr): Figure out at the end of the routine
13652 whether we saw a valid !defined() expression.
13653 * cppfiles.c (stack_include_file): Update for mi_valid.
13654 (_cpp_pop_file_buffer): Similarly.
13655 * cpplex.c (_cpp_lex_token): Similarly.
13656 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13657 mi_if_not_defined, mi_lexed): Remove.
13659 * cpplib.c (do_if): Simplify.
13660 (do_endif, push_conditional, _cpp_handle_directive): Update
13661 for renaming of mi_state to mi_valid.
13663 * cpp.texi: Add index entries for digraphs, and add comment
13664 that C++ refers to them as alternative tokens.
13666 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
13668 * basic-block.h (CLEANUP_PRE_LOOP): New.
13669 * except.c (finish_eh_generation): Update call of cleanup_cfg.
13670 * sibcall.c (optimize_sibling_calls): Likewise.
13671 * toplev.c (rest_of_compilation): Likewise.
13672 * flow.c (try_forward_edges): Take argument MODE;
13673 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13674 (try_optimize_cfg): Update call of try_forward_edges.
13676 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13677 Jan Hubicka <jh@suse.cz>
13679 * (validate_replace_rtx_1): Fix simplification of MINUS.
13681 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
13683 PR preprocessor/3669
13684 * cppinit.c (init_dependency_output): Turn off dump requests
13685 if sending dependencies to stdout.
13687 2001-07-28 Richard Henderson <rth@redhat.com>
13689 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13692 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
13694 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13696 2001-07-28 Kazu Hirata <kazu@hxi.com>
13698 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13699 is VAR_DECL first to prevent an ICE.
13701 2001-07-28 Richard Henderson <rth@redhat.com>
13703 * varasm.c (immed_real_const_1): Don't elide special cases for
13705 (clear_const_double_mem): Clear const_tiny_rtx too.
13707 2001-07-28 Richard Henderson <rth@redhat.com>
13709 * dwarf2out.c (dw_val_class_offset): New.
13710 (struct dw_ranges_struct, dw_ranges_ref): New.
13711 (ranges_table, ranges_table_allocated): New.
13712 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13713 (add_AT_offset, add_ranges, output_ranges): New.
13714 (print_die, output_die): Handle dw_val_class_offset.
13715 (attr_checksum, size_of_die, value_format): Likewise.
13716 (gen_lexical_block_die): Handle non-contiguous blocks.
13717 (gen_block_die): Likewise.
13718 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13719 if needed. Dump the ranges table.
13720 * final.c (final_start_function): Remove unnecessary notes and
13721 rebuild the block tree before numbering the blocks.
13722 * function.c (reorder_blocks_0): Walk the existing block tree
13723 to unmark all blocks.
13724 (reorder_blocks_1): Create block fragments when duplicate block
13726 (reorder_fix_fragments): New.
13727 (reorder_blocks): Call it.
13728 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13730 2001-07-28 Richard Henderson <rth@redhat.com>
13732 * emit-rtl.c (adjust_address): Make a copy of the memory address.
13734 2001-07-28 Richard Henderson <rth@redhat.com>
13736 * flow.c (add_to_mem_set_list): New function.
13737 (init_propagate_block_info): Use it.
13738 (mark_set_1): Likewise.
13739 (insn_dead_p): Canonicalize memory address for dead store
13740 comparison. Allow wider mode stores to kill narrower mode stores.
13741 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
13742 (invalidate_mems_from_set): Don't handle MEMs.
13744 2001-07-28 Kazu Hirata <kazu@hxi.com>
13746 * config/h8300/h8300.h: Fix formatting.
13748 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13750 * basic-block.h (EDGE_FREQUENCY): New macro.
13751 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
13753 * flow.c (find_sub_basic_blocks): Likewise.
13754 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
13755 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
13757 * predict.c (DEF_PREDICTOR): New argument FLAGS.
13758 (HITRATE): New macro.
13759 (PRED_FLAG_FIRST_MATCH): New constant.
13760 (predictor_info): New field flgags.
13761 (combine_predictions_for_insn): Use DS theory to combine
13762 probabilities; set the edge probabilities when finished.
13763 (estimate_probability): Avoid duplicated matches
13764 of LOOP_BRANCH heuristics for nested loops; update comment.
13765 * predict.def: Add flags for each prediction, set probabilities
13766 according to B&L paper.
13767 * predict.h (DEF_PREDICTOR): New argument FLAGS.
13769 * profile.c (compute_branch_probabilities): Cleanup way the edge
13770 probabilities are computed and REG_BR_PROB notes are dropped; if
13771 values does not match, emit error.
13772 (init_branch_prob): Do error instead of warning when profile driven
13773 feedback is missing or corrupt.
13775 2001-07-27 DJ Delorie <dj@redhat.com>
13777 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
13778 against a constant, try to adjust the compare to have the desired
13779 constant in it so that min/max optimizations happen more often.
13781 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13783 * flow.c (last_loop_beg_note): New function.
13784 (redirect_edge_and_branch): Use it.
13785 (split_edge): Likewise.
13787 * alias.c (loop_p): Avoid uninitialized memory access.
13789 * flow.c (try_forward_edges): Avoid accessing freed memory.
13791 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
13794 2001-07-26 Andrew Haley <aph@redhat.com>
13795 Joern Rennecke <amylaar@redhat.com>
13797 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
13798 (SUBTARGET_CPP_ENDIAN_SPEC): New.
13799 (SUBTARGET_CPP_SPEC): New.
13800 (CPP_SPEC): Remove.
13801 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
13802 (SUBTARGET_CPP_PTR_SPEC): New.
13803 (CPP_DEFAULT_CPU_SPEC): New.
13804 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
13805 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13806 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
13807 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13808 (SUBTARGET_CPP_SPEC): Define as an empty string.
13810 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13812 * doc/install.texi (Configuration): Properly link the host
13813 specific instructions also when generating HTML.
13815 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
13817 * flow.c (redirect_edge_and_branch_force): Test
13818 target->global_live_at_start.
13820 2001-07-26 Richard Henderson <rth@redhat.com>
13822 * simplify-rtx.c (avoid_constant_pool_reference): Export.
13823 * rtl.h (avoid_constant_pool_reference): Declare it.
13824 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
13825 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
13827 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13829 * rtl.h (cleanup_barriers): Declare.
13830 * jump.c (cleanup_barriers): New function.
13831 * toplev.c (rest_of_compilation): Call cleanup_barriers
13832 before loop optimizer and after bb_reorder.
13834 * flow.c (back_edge_of_syntactic_loop_p): New.
13835 (split_edge): Use it.
13837 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13839 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
13841 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
13843 * cse.c (cse_process_notes): Replace any registers if the address
13846 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
13848 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
13849 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
13850 (propagate_block): Update prototype.
13851 * flow.c (update_life_info): Simplify the CFG and
13852 recalculate the global regs which are alive when
13853 removing dead code during a global update.
13854 (propagate_block): Return non-zero if an INSN is
13857 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13859 * Makefile.in (LIBICONV): Define.
13861 2001-07-26 Catherine Moore <clm@redhat.com>
13863 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
13864 of conditional to avoid tree checking errors.
13866 2001-07-26 Kazu Hirata <kazu@hxi.com>
13868 * regmove.c (regmove_optimize): Don't replace a reg with
13869 another reg of a different mode.
13871 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
13873 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
13874 limit length of dependency flush list.
13875 * params.h (MAX_PENDING_LIST_LENGTH): Define.
13876 * sched-int.h (struct deps): Add pending_flush_length field.
13877 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
13878 has 1 element in it.
13879 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
13880 (sched_analyze): After a jump, if the pending memory flush list is too
13881 large, flush the pending lists.
13882 (init_deps): Initialize pending_flush_length to 0.
13883 * doc/invoke.texi (max_pending_list_length): Document parameter.
13885 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
13887 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
13888 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
13889 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
13891 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13893 * cpphash.h (struct_lexer_state): Delete was_skipping.
13894 Move skipping here from struct cpp_reader.
13895 * cpplex.c (parse_identifier): Update.
13896 (_cpp_lex_token): Don't skip tokens in a directive.
13897 * cpplib.c (struct if_stack): Update.
13898 (start_directive, end_directive): Don't change skipping state.
13899 (_cpp_handle_directive): Update.
13900 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
13901 (do_else, do_endif): Update; only check for excess tokens if not
13902 in a skipped conditional block.
13903 (push_conditional): Update for new struct if_stack.
13905 2001-07-26 Graham Stott <grahams@redhat.com>
13907 * function.c (locate_and_pad_parm): Also pad initial offset
13908 so that the total argument size also includes the padding.
13910 2001-07-26 Graham Stott <grahams@redhat.com>
13912 * gensupport.c (alter_output_for_insn): Correct enable checking failure
13913 change XSTR to XTMPL.
13915 (process_one_cond_exec): Likewise
13917 2001-07-25 Richard Henderson <rth@redhat.com>
13919 * varasm.c (assemble_variable): Create DECL_RTL before setting
13922 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
13924 * predict.c (estimate_probability): Avoid duplicated predictions.
13926 * loop.c (find_and_verify_loops): Grok multiple barriers.
13928 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13930 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
13932 * dbxout.c: Consistently use putc instead of fputc.
13933 (print_wide_int): New function; call instead of direct fprintf.
13934 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
13935 (dbxout_type_fields, dbxout_type_method_1): Likewise.
13936 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
13937 (print_int_cst_octal): Likewise.
13938 (print_octal): Show we wrote characters.
13939 (dbxout_type): Set have_used_extensions in more places.
13941 2001-07-25 Catherine Moore <clm@redhat.com>
13943 * config/v850/v850.c (v850_va_arg): Use addr
13944 instead of valist to build incr.
13946 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
13948 * flow.c (delete_dead_jumptables): New function.
13949 (life_analyzis): Call it.
13950 * bb-reorder.c (skip_insns_after_block): Handle contradictory
13953 2001-07-25 Richard Henderson <rth@redhat.com>
13955 * except.c (reachable_handlers): Handle a region being removed
13956 out from under a RESX.
13958 2001-07-25 Richard Henderson <rth@redhat.com>
13960 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
13961 swap GE/GT if it is an fp comparison.
13963 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
13965 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
13968 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
13970 * ssa.c (rename_insn_1): Do not wrap an assignment to a
13971 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
13974 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
13975 throw an exception.
13976 (visit_expression): When attempting to simplify an expression,
13977 retrieve any modes for arguments before they are simplified
13980 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
13981 Janis Johnson <janis@us.ibm.com>
13983 * stmt.c (expand_goto): A nonlocal goto can be a call too.
13984 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
13985 pointer parameters to match documented usage of nonlocal_goto.
13986 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
13987 parameters to their correct order.
13988 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
13989 parameters to their correct order.
13991 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
13993 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
13995 2001-07-25 Jan Hubicka <jh@suse.cz>
13996 Richard Henderson <rth@redhat.com>
13998 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14000 (make_edges): New argument update_p; populate the edge cache if set.
14001 (find_basic_blocks): Update make_edges invocation.
14003 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14005 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14007 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14009 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14010 -Acpu and -Amachine.h.
14011 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14012 Corrected header to say ELF not a.out.
14013 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14014 when given -msoft-float.
14016 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14018 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14019 extra multilib parts like arm-elf.
14020 (i960-*-coff*, i960-*-rtems): Should not use collect2.
14021 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14022 crtfini.o as extra multilib parts.
14024 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14026 * configure.in: Add rtems as a supported thread model.
14027 * gthr-rtems.h: Add missing entry point __gthread_active_p.
14028 * configure: Rebuilt.
14030 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
14032 * stor-layout.c (get_mode_alignment): make it work when
14033 BITS_PER_UNIT is not a power of two.
14034 * builtins.c (get_pointer_alignment): Likewise.
14036 2001-07-24 Richard Henderson <rth@redhat.com>
14038 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14039 the retrieved constant into the expected mode.
14041 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14043 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14044 (verify_flow_info): Check for duplicated edges; clarify
14047 * flow.c (block_label): Update basic_block_for_insn.
14048 (commit_edge_insertions): Call compute_bb_for_insn.
14050 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14053 * flow.c (redirect_edge_and_branch,
14054 try_optimize_cfg): Use redirect_edge_succ_nodup
14055 (redirect_edge_succ_nodup): New.
14056 * basic_block.h (redirect_edge_succ_nodup): Declare.
14058 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14061 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14063 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14064 (try_crossjump_to_edge): Update commetns.
14065 (try_crossjump_bb): Likewise.
14067 2001-07-24 Richard Henderson <rth@redhat.com>
14069 * combine.c (distribute_notes): Move set of need_refresh
14070 for noop_move_p down to catch all cases.
14072 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14074 * recog.c (split_all_insns_noflow): New.
14075 * rtl.h (split_all_insns_noflow): Declare.
14076 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14077 * m68hc11.c (m68hc11_reorg): Likewise.
14078 * sh.c (machine_dependent_reorg): Likewise.
14079 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14082 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14084 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14085 (ashlsi3_n splitter): Likewise.
14086 (lshrsi3_n splitter): Likewise.
14088 (GOTaddr2picreg): Make const SImode.
14089 (sym_label2reg): Likewise.
14090 (symGOT2reg): Likewise.
14091 (symGOTOFF2reg) Likewise.
14093 (casesi_worker_0): Make unspec SImode.
14095 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14097 * config/sh/sh.c (barrier_align): Check that an operand really is
14098 an insn before extracting its INSN_CODE.
14100 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14102 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14105 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14106 for SImode to prevent overflow.
14108 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14110 * config/mips/irix6-libc-compat.c: New file.
14111 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14112 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14113 passing workaround.
14115 2001-07-24 lars brinkhoff <lars@nocrew.org>
14117 * rtl.texi (REG_POINTER): Document.
14118 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14119 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14121 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14123 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14125 2001-07-23 Richard Henderson <rth@redhat.com>
14127 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14129 2001-07-23 Kazu Hirata <kazu@hxi.com>
14131 * config/h8300/h8300-protos.h: Add a prototype for
14132 general_operand_dst_push.
14133 * config/h8300/h8300.c (general_operand_dst_push): New.
14134 * config/h8300/h8300.h (OK_FOR_T): New.
14135 (EXTRA_CONSTRAINT): Use it.
14136 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14137 the existing movqi pattern.
14138 (movhi_push): Likewise.
14140 * reload.c: Fix comment typos.
14142 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14144 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14146 2001-07-23 H.J. Lu (hjl@gnu.org)
14148 * doc/extend.texi: Update __builtin_return_address and
14149 __builtin_frame_address.
14151 2001-07-23 Richard Henderson <rth@redhat.com>
14153 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14155 * config/i386/i386.md: New setcc+movzbl peephole2.
14157 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14159 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14160 * objc/objc-act.c: Include debug.h.
14161 (synth_module_prologue): Save and restore debug hooks too.
14163 2001-07-23 lars brinkhoff <lars@nocrew.org>
14165 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14166 and C4X_FLOAT_FORMAT.
14167 (BOOL_TYPE_SIZE): Document.
14169 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14171 * unroll.c (loop_iterations): Fix miscalculation of initial
14174 2001-07-13 Andrew Haley <aph@redhat.com>
14176 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14177 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14178 * config/sh/sh.c (sh_can_redirect_branch): New function.
14179 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14180 * reorg.c (steal_delay_list_from_target): Use
14181 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14183 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14185 * flow.c (try_simplify_condjump): Unlink insn chain on
14186 fallthru edge; use can_fallthru.
14188 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14190 * basic-block.h (find_sub_basic_block): Declare.
14191 * flow.c (make_edges): New arguments MIN and MAX;
14192 (find_sub_basic_blocks): Revamp to use make_edges
14193 and purge_dead_edges.
14194 (find_basic_blocks): Update call of find_sub_basic_block.
14196 * recog.c (split_all_insns): Always expect CFG to be consistent;
14197 call find_sub_basic_blocks in case something has changed.
14198 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14201 * basic-block.h (delete_noop_moves): Declare.
14202 * combine.c (combine_instructions): Call it.
14203 (recog_for_combine): Tolerate noop moves
14204 (distribute_notes): Force refresh when register dies at noop move.
14205 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14207 (life_analysis): Update delete_noop_moves call.
14208 (set_noop_p): Move too ...
14209 * rtlanal.c (noop_move_p): ... here.
14210 * rtl.h (noop_move_p): Declare.
14212 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14213 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14215 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14216 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14218 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14220 * reload.c (push_reload): Fix typo in comment.
14221 (find_reloads_address): Ditto.
14222 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14224 2001-07-22 Richard Henderson <rth@redhat.com>
14226 * flow.c: Grammar check and clarify a lot of comments.
14227 (try_simplify_condjump): Rename variables to be clearer.
14228 (try_forward_edges): Skip complex and fallthru edges.
14229 Rearrange tests to avoid duplicate checks.
14230 (flow_find_cross_jump): Likewise.
14231 (outgoing_edges_match): Allow match if neither branch has
14232 probability data. Loosen probability match to 5%.
14233 (try_crossjump_to_edge): Hoist repeated indirection into
14235 (try_crossjump_bb): Don't check complex edges. Eliminate
14236 redundant crossjump tests.
14237 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
14238 checks before more expensive checks.
14240 2001-07-22 Richard Henderson <rth@redhat.com>
14242 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14243 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14246 2001-07-22 Richard Henderson <rth@redhat.com>
14248 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14249 (const_sint32_operand): Likewise.
14250 * m68k.md (anon mulsi pattern): Use const_int_operand not
14251 const_sint32_operand.
14252 (umulsi3_highpart): Zero extend a constant input.
14253 (smulsi3_highpart): Don't bother checking SImode constant.
14254 (const_umulsi3_highpart): Give op3 DImode.
14255 (const_smulsi3_highpart): Likewise.
14257 2001-07-22 Richard Henderson <rth@redhat.com>
14259 * flow.c (split_block): Make sure bb_note is included in the
14260 new block when splitting before a label.
14262 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
14264 * basic-block.h (redirect_edge_and_branch_force,
14265 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14266 * flow.c (redirect_edge_and_branch_force,
14267 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14268 (redirect_edge_and_branch_force): Fix copying of lifeness information.
14269 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14270 * ifcvt.c (dead_or_predictable): Take BB as an new destination
14271 instead of label; update CFG after transformation.
14272 (find_if_case_1): Update call, use redirect_edge_and_branch_force
14273 for finishing the transformation; handle even case where ELSE
14274 does not follow THEN.
14275 (find_if_case_2): Update call of dead_or_predictable; simplify
14278 * emit-rtl.c (split_branch_probability): New global variable.
14279 (try_split): Take care to set split_branch_probability and
14280 create REG_BR_PROB note for new jump insns.
14281 * md.texi (define_split): Document new feature.
14283 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14285 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14287 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14288 (asm_out_file): Remove redundant declaration.
14289 (assemble_asm): Remove old #if 0 block.
14290 (assemble_variable): Remove end of function; debug output is
14291 now handled with global_decl. Remove old #if 0 block. Update.
14292 Remove saved_in_section and associated no-op code.
14293 * Makefile.in (varasm.o): Correct dependencies.
14295 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
14297 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14298 the definition in defaults.h.
14300 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
14302 * jump.c: Update comments.
14303 (delete_barrier_successors, delete_unreferenced_labels,
14304 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14305 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14306 jump_optimize, jump_optimize_minimal): Kill.
14307 (rebuild_jump_labels): Move code from jump_optimize_1.
14308 (purge_line_number_notes): Likewise.
14309 (copy_loop_headers): Likewise.
14310 * reg-stack.c: Update comment.
14311 * stmt.c: Likewise.
14312 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14313 JUMP_AFTER_REGSCAN): Kill.
14314 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14315 purge_line_number_notes and copy_loop_headers.
14317 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14318 Richard Henderson <rth@redhat.com>
14320 * dbxout.c (dbxout_global_decl): New.
14321 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14322 * sdbout.c (sdbout_finish): New.
14323 (sdbout_debug_hooks): Use it, add comments.
14324 (sdbout_global_decl): Defer initialised public vars to
14326 * varasm.c (assemble_variable): Don't output debug information
14327 for file-scope variables.
14329 2001-07-22 Richard Henderson <rth@redhat.com>
14331 * config/alpha/alpha.c (get_trap_mode_suffix): New.
14332 (get_round_mode_suffix): New.
14333 (print_operand): Use them for [/]. Remove support for [&'`()+].
14334 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14335 * config/alpha/alpha.md (attr round_suffix): New.
14336 (attr trap_suffix): New.
14337 (all insns): Set them appropriately. Use %/ instead of the
14338 myriad punctuators.
14340 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14342 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14344 2001-07-22 Richard Henderson <rth@redhat.com>
14346 * regrename.c (regrename_optimize): Compute nregs for each
14347 potential target register.
14349 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
14350 Richard Henderson <rth@redhat.com>
14352 * dbxout.c (dbxout_global_decl): New.
14353 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14354 * sdbout.c (sdbout_finish): New.
14355 (sdbout_debug_hooks): Use it, add comments.
14356 (sdbout_global_decl): Defer initialised public vars to
14358 * varasm.c (assemble_variable): Don't output debug information
14359 for file-scope variables.
14361 2001-07-21 H.J. Lu (hjl@gnu.org)
14363 * config/mips/mips.c (mips_cpu): Moved into ...
14364 (override_options): Here.
14366 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14368 (mips_cpu): Removed.
14370 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14372 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14373 ("iorqi3"): Likewise.
14374 ("xorqi3"): Likewise.
14375 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14376 ("*subhi3_sp): Likewise.
14377 ("*subhi3"): Likewise.
14378 ("extendhisi2"): Accept D, X and Y as source operand to avoid
14381 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
14383 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14384 * config/freebsd.h: Likewise.
14385 * config/linux.h: Likewise.
14386 * config/openbsd.h: Likewise.
14387 * config/alpha/linux-elf.h: Likewise.
14388 * config/arm/linux-elf.h: Likewise.
14389 * config/d30v/d30v.h: Likewise.
14390 * config/fr30/fr30.h: Likewise.
14391 * config/ia64/aix.h: Likewise.
14392 * config/ia64/ia64.h: Likewise.
14393 * config/mips/linux.h: Likewise.
14394 * config/pj/pj.h: Likewise.
14395 * config/rs6000/linux.h: Likewise.
14396 * config/sparc/linux.h: Likewise.
14397 * config/sparc/linux64.h: Likewise.
14399 2001-07-20 Bruce Korb <bkorb@gnu.org>
14401 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14402 because getc() and char* may disagree on signedness.
14404 2001-07-20 Richard Henderson <rth@redhat.com>
14406 * doc/rtl.texi (REG_DEAD): Update for current semantics.
14408 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14409 insns to delete in the presence of cc0 in a jump insn.
14411 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
14412 Jan Hubicka <jh@suse.cz>
14414 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14415 of doing the change by hand.
14417 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14419 * rtlanal.c (set_noop_p): Return true for noop jumps.
14421 * expr.c (emit_single_push_insn): Add call to push expander.
14422 * expr.h (optab_index): Add OTI_push
14423 (push_optab): New constant.
14424 * genopinit.c (optabs): Add push_optab.
14425 * optabs.c (init_optab): Init push optab.
14426 * md.texi (push??1): Document
14428 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14430 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14431 expand to emit the pattern; put a REG_INC note for push/pop
14433 ("movdf", "movdf_internal"): Likewise.
14434 ("movsi", "movsi_internal"): Likewise.
14435 ("movsf", "movsf_internal"): Likewise.
14436 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14438 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14440 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14443 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
14445 * params.def: Change default max inline insns to 100.
14447 2001-07-20 Diego Novillo <dnovillo@redhat.com>
14449 * combine.c (combine_simplify_rtx): Generate a new shift operation
14450 when simplifying the first operand of a (neg (ashift)) expression.
14452 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14454 * regclass.c (N_REG_INTS): Use only 32 bits per element.
14456 2001-07-20 Kelley Cook <kelley.cook@home.com>
14458 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14459 information. Move rest into ...
14460 (*-*-solaris): ... here. Eliminate redundant information and
14461 reword necessary packages section. Delete 4.x assembler bug info.
14462 (sparc-sun-*): Merge into ...
14463 (sparc-sun-sunos*): here.
14465 2001-07-20 Catherine Moore <clm@redhat.com>
14467 * config/v850/v850.md (casesi): Generate LABEL_REF
14470 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
14472 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14473 * i386.c (ix86_zero_extend_to_Pmode): Make global.
14474 * i386.md (strclrsi expander): Use it.
14476 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14478 * integrate.c (copy_insn_list): handle
14479 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14480 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14481 identically as to CODE_LABEL.
14483 * fold-const (fold): Convert A/B/C to A/(B*C) and
14486 * except.c (connect_post_landing_pads): Delete the RESX insns.
14488 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
14490 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14492 * config/mips/mips.md (nmadd/nmsub): Use macro.
14494 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
14496 * cppinit.c (remove_dup_dir): Make static.
14497 (remove_dup_dirs): Make static. Only warn about preempting a
14498 system directory with a non-system directory.
14500 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14502 * ifcvt.c (noce_try_store_flag_constants): Correct order
14503 of parameters to trunc_int_for_mode.
14505 2001-07-19 Mark Mitchell <mark@codesourcery.com>
14507 * reorg.c (fill_simple_delay_slots): If an instruction might throw
14508 an exception that will be caught within this function, do not fill
14509 its delay slot with any subsequent instruction.
14511 2001-07-19 Steve Ellcey <sje@cup.hp.com>
14513 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14514 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14515 pointer extension instruction.
14516 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14517 * simplify-rtx.c (simplify_unary_operation) Likewise.
14518 * explow.c (convert_memory_address) Check value of
14519 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14521 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14522 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14523 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14524 Add Multilib Support.
14525 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
14526 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14527 Add Multilib Support.
14528 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14530 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14531 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14532 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14534 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
14536 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14537 old and new operands in `<', `3' and `b'.
14539 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14541 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14542 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14543 (toplev.o): Don't depend on xcoffout.h.
14544 * c-decl.c: Include debug.h
14545 (duplicate_decls): Use debug hook.
14546 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14547 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14548 (dbxout_types): Remove.
14549 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14550 * debug.c (do_nothing_debug_hooks): Update.
14551 (debug_true_tree, debug_nothing_rtx): New.
14552 * debug.h (struct rtx_def): New.
14553 (struct gcc_debug_hooks): New hooks ignore_block,
14554 outlining_inline_function and label.
14555 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14556 dwarf2out_frame_finish): New.
14557 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14558 Make static, update prototype.
14559 (dwarf2_debug_hooks): Update.
14560 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14561 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14562 * dwarfout.c (dwarf_debug_hooks): Update.
14563 * emit-rtl.c: Include debug.h.
14564 (remove_unnecessary_notes): Use debug hook.
14565 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14566 (final_scan_insn): Use debug hook.
14567 * integrate.c (output_inline_function): Use debug hook.
14568 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14569 (sdb_debug_hooks): Update.
14570 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14571 * toplev.c: Don't include xcoffout.h.
14572 (note_outlining_of_inline_function, debug_ignore_block): Remove.
14573 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14575 * tree.h (dwarf2out_do_frame): Remove.
14577 2001-07-19 Catherine Moore <clm@cygnus.com>
14579 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14581 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14583 * reload1.c (eliminate_regs_in_insn): When updating a set
14584 to the frame pointer to the hardware frame pointer, perform
14585 the update always not just when REPLACE is set.
14587 * reload1.c (choose_reload_regs): Don't inherit a reload
14588 that crosses multiple registers if registers past the first
14589 don't fit in the desired class.
14591 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14592 when negating constants.
14594 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
14596 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14597 * doc/tree.texi: Ditto.
14599 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
14600 Jakub Jelinek <jakub@redhat.com>
14602 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14603 (extract_cie_info): Handle "eh" augmentation properly,
14605 (struct frame_state, __frame_state_for): New.
14607 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14609 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14610 HANDLE_SYSV_PRAGMA): Define.
14611 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14613 (copy_object): Caller changed.
14615 2001-07-19 Andreas Schwab <schwab@suse.de>
14617 * configure.in (assembler dwarf2 debug_line support): Define nop
14619 * configure: Regenerated.
14621 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14623 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14625 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14626 to conditionally compiled block.
14627 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14628 * dbxout.h (dbxout_function): Remove.
14629 * debug.c (do_nothing_debug_hooks): Update.
14630 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14631 global_decl, deferred_inline_function.
14632 * dwarf2out.c (dwarf2_debug_hooks): Update.
14633 (dwarf2out_global_decl): New.
14634 * dwarfout.c: Don't include dwarfout.h.
14635 (dwarfout_global_decl, dwarfout_function_decl,
14636 dwarfout_deferred_inline_function): New.
14637 (dwarf_debug_hooks): Update.
14638 * dwarfout.h: Remove.
14639 * final.c: Don't include dwarfout.h.
14640 * sdbout.c (sdbout_global_decl): New.
14641 (sdbout_debug_hooks): Update.
14642 * toplev.c: Don't include dwarfout.h.
14643 (check_global_declarations, rest_of_compilation): Use new debug hooks.
14644 (note_deferral_of_defined_inline_function): Remove.
14645 * toplev.h (note_deferral_of_defined_inline_function): Remove.
14646 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14647 * ch/lex.c: Don't include dwarfout.h.
14648 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14649 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14650 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14651 * cp/optimize.c: Include debug.h.
14652 (maybe_clone_body): Use debug hook.
14653 * cp/semantics.c: Include debug.h.
14654 (expand_body): Use debug hook.
14655 * po/POTFILES.in: Remove dwarfout.h.
14657 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14659 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14660 * c-parse.in (yyerror, _yylex): Similarly.
14661 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14662 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14664 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14665 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14667 2001-07-18 Jeff Sturm <jsturm@one-point.com>
14669 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14670 in-class declaration at -g1. Fixes c++/2814.
14672 2001-07-18 Richard Henderson <rth@redhat.com>
14674 * doc/md.texi (reload_in/out): Document restrictions in predicates
14675 and constraints for these patterns. Document empty string matching
14678 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14680 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14682 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14684 * cse.c: Undo my previous patch.
14686 2001-07-18 Tom Tromey <tromey@redhat.com>
14689 * configure: Rebuilt.
14690 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14692 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14694 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
14695 Jan Hubicka <jh@suse.cz>
14697 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14698 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14699 * jump.c (mark_jump_label): Do not forward branches.
14701 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
14703 * cse.c (delete_trivially_dead_insns): Delete the libcall block
14704 when return value is unused.
14706 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14708 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14710 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
14712 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14713 on error. We can't blindly return the result of
14714 pthread_mutex_trylock because it returns a positive number on
14715 error, while we must return -1 on error.
14716 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14718 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14720 2001-07-18 Andreas Jaeger <aj@suse.de>
14722 * integrate.c (output_inline_function): Correct type of debug_hooks.
14724 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
14726 * combine.c (combine_simplify_rtx): DIV can be treated
14727 associatively for floats if unsafe math optimisations are enabled.
14729 2001-07-17 Richard Henderson <rth@redhat.com>
14731 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
14733 2001-07-17 Richard Henderson <rth@redhat.com>
14735 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
14736 don't force the function address into a register.
14737 (expand_call, emit_library_call_value_1): Update callers.
14738 * builtins.c (expand_builtin_apply): Likewise.
14739 * expr.h (prepare_call_address): Update decl.
14741 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
14743 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
14745 * config/i386/chorus.h: Move up.
14746 * config/sparc/chorus.h: Likewise.
14747 * config/rs6000/chorus.h: Likewise.
14748 * config/chorus.h: Moved here.
14750 2001-07-17 Andreas Schwab <schwab@suse.de>
14752 * configure.in (assembler eh_frame optimization): Handle big
14754 * configure: Regenerated.
14756 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
14758 * expr.c (epxand_expr): Convert divisions into multiplications by
14759 reciprocals if -ffast-math.
14761 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
14763 * dbxout.c (dbxout_really_begin_function): Rename to
14764 dbxout_begin_function.
14765 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14766 (dbxout_begin_function): Remove.
14767 (dbxout_function): Update.
14768 (dbxout_source_line): Update prototype.
14769 * dbxout.h (dbxout_begin_function): Remove.
14770 * debug.c (do_nothing_debug_hooks): Update.
14771 (debug_nothing_tree): Update.
14772 (debug_nothing_charstar_rtx): Remove.
14773 * debug.h (union tree_node): Declare.
14774 (struct rtx_def): Remove.
14775 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
14776 begin_function. Change source_line prototype.
14777 (debug_nothing_tree): New.
14778 (debug_nothing_charstar_rtx): Delete.
14779 (dwarf2out_begin_prologue): Moved from ...
14780 * tree.h: ... here.
14781 * dwarf2out.c (dwarf2_debug_hooks): Update.
14782 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
14783 debug info, call dwarf2out_source_line.
14784 (dwarf2out_souce_line): Update prototype.
14785 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
14786 Change prototype, make static.
14787 (dwarfout_source_line): Update prototype.
14788 (dwarf_debug_hooks): Update.
14789 * dwarfout.h (dwarfout_begin_function): Remove.
14790 * final.c (final_start_function, final_scan_insn): Use appropriate
14791 debug hooks, update to use notice_source_line.
14792 (output_source_line): Rename notice_source_line. Don't call the
14793 source_line debug hook.
14794 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
14795 make static, update prototype.
14796 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
14798 (sdbout_end_prologue): New.
14799 (sdbout_source_line): Update prototype.
14800 (sdbout_debug_hooks): Update.
14801 (sdbout_symbol): Remove unused var.
14802 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
14804 * varasm.c: Include debug.h.
14805 (assemble_start_function): Use begin_function debug_hook.
14806 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14807 update with prototype.
14808 (xcoffout_source_line): Update prototype.
14809 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14811 (xcoffout_source_line): Update prototype.
14813 2001-07-17 Richard Henderson <rth@redhat.com>
14815 * c-typeck.c (build_binary_op): Do not shorten unsigned
14816 right shift after sign extension.
14818 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
14820 * combine.c (combine_simplify_rtx): Attempt to simplify
14821 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
14823 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
14824 (simplify_binary_operation, simplify_unary_operation,
14825 simplify_relational_operation): Use it.
14827 * combine.c (combine_simplify_rtx): Don't do associative law
14828 on divisions; allow associative law on floats.
14830 2001-07-17 H.J. Lu <hjl@gnu.org>
14831 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14833 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
14834 ASM_OUTPUT_WEAK_ALIAS are defined.
14835 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
14836 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
14838 * config/mips/iris5.h: ... here.
14839 (HANDLE_SYSV_PRAGMA): Defined as 1.
14840 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
14841 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
14844 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14846 * c-parse.in (all_prefix_attributes): New variable.
14847 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
14848 (maybe_resetattrs): New production.
14849 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
14850 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
14851 notype_initdcl, nested_function, notype_nested_function,
14852 component_decl, components, components_notype,
14853 component_declarator, component_notype_declarator,
14854 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
14855 ivars, mydecl, myparm): Update. Avoid prefix attributes just
14856 after a comma being applied to more than one declarator.
14857 * doc/extend.texi (Attribute Syntax): Update. Remove
14858 documentation of bugs that are no longer present.
14860 2001-07-13 Eric Christopher <echristo@redhat.com>
14862 * config/mips/mips.h: Change TUNE_MIPS* options to use
14864 (EXTRA_SPECS): Add cc1_cpu_spec.
14865 * config/mips/mips.md (muldf3): Fix typo.
14867 2001-07-16 Richard Henderson <rth@redhat.com>
14869 * config/m68k/m68k.c: Include expr.h and reload.h.
14870 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
14871 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
14873 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14874 Richard Henderson <rth@redhat.com>
14876 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
14877 (insn_live_p): Fix fall off end of function.
14878 (dead_libcall_p): Remove COUNTS argument; update callers.
14879 (delete_trivially_dead_insns): Remove unused variables.
14881 2001-07-17 Andreas Jaeger <aj@suse.de>
14883 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
14884 x86-64 pic support.
14886 * lcm.c (optimize_mode_switching): Avoid warning for unused
14887 variable if !NORMAL_MODE.
14889 * flow.c (try_crossjump_to_edge): Remove unused variable.
14891 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
14893 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14894 atexit declaration in stdlib.h.
14896 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
14898 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
14900 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14902 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
14903 * except.c (finish_eh_generation): Update call of cleanup_cfg;
14904 do rebuild_jump_labels instead of jump_optimize
14905 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
14906 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
14907 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
14909 * flow.c: Include timevar.h
14910 (find_basic_block): Push/pop timevar;
14911 (cleanup_cfg): Likewise.
14912 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
14913 * Makefile: Add dependencies on timevar.h
14915 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
14916 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
14918 * rtl.h (delete_trivially_dead_insns): Add new parameter.
14919 * toplev.c (rest_of_compilation): Update calls.
14920 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
14921 (delete_trivially_dead_insns): ... here; accept new argument
14922 preserve_basic_blocks; preserve basic blocks if set.
14924 * reg-stack.c (stack_regs_mentioned): Return 0 if
14925 stack_regs_mentioned_data is not initialized.
14926 (reg_to_stack): Make stack_regs_mentioned survive after the
14927 reg-stack is completted; do not call cleanup_cfg.
14928 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
14929 make cleanup_cfg after bb-reorder to output to debug file.
14931 2001-07-16 Richard Henderson <rth@redhat.com>
14933 * regclass.c (init_reg_sets): Use only 32 bits per initializer
14934 from int_reg_class_contents.
14936 2001-07-16 Richard Henderson <rth@redhat.com>
14938 * hard-reg-set.h (regs_invalidated_by_call): Declare.
14939 * regclass.c (regs_invalidated_by_call): Move from cse.c.
14940 (init_reg_sets_1): Move initialization from cse_main.
14941 * cse.c (regs_invalidated_by_call): Move to regclass.c.
14942 (cse_main): Move its initialization also.
14943 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
14944 * flow.c (propagate_one_insn): Likewise.
14945 * gcse.c (compute_hash_table): Likewise.
14946 (compute_kill_rd, compute_store_table): Likewise.
14947 * sched-deps.c (sched_analyze_1): Likewise.
14949 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
14951 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
14954 2001-07-16 Steve Ellcey <sje@cup.hp.com>
14956 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
14957 in if statement so we don't access undefined memory.
14959 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14961 * gcse.c: Update comment at top.
14962 Update comment on mem handling.
14963 mem_last_set, mem_first_set, mem_set_in_block: gone.
14964 Declaration of reg_set_info: gone.
14965 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
14966 pointless with load_killed_in_block_p (they are *more*
14967 conservative then it, not less, and less accurate).
14968 (oprs_not_set_p): Ditto.
14969 (alloc_gcse_mem): Don't allocate mem_set_in_block
14970 (free_gcse_mem): Don't free it, either.
14971 (record_last_mem_set_info): Update comment in front, remove
14972 mem_*set_* stuff. Note the reason we don't handle stores directly
14974 (compute_hash_table): Update comments to reflect reality. Remove
14975 mem_*set_* references.
14976 (reset_opr_set_tables): Remove mem_*set_* references.
14977 (mark_call): Ditto.
14978 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
14979 (mark_clobber): Ditto (on both parts, we double set here too).
14980 (expr_killed_p): Remove mem_set_in_block test.
14981 (compute_transp): Remove mem_set_in_block test.
14983 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
14984 of edge, and removal of phi alternative to dump file.
14985 (ssa_ccp_substitute_constants): Add note about register now being
14986 constant, and which uses were replaced in what insns to dump file.
14988 2001-07-16 Andreas Jaeger <aj@suse.de>
14990 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
14991 variables of type HOST_WIDEST_INT.
14993 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
14994 (__bb_exit_func): Correct type of count_max to avoid overflow.
14995 (num_digits): Handle long long argument.
14997 * combine.c (gen_lowpart_for_combine): Remove unused variable.
14999 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15001 * output.h (sdb_begin_function_line): Restore as an extern
15003 * sdbout.c (sdb_begin_function_line): Make extern.
15005 2001-07-15 Richard Henderson <rth@redhat.com>
15007 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15008 * genrecog.c (maybe_both_true_mode): New.
15009 (maybe_both_true_2): Use it.
15010 (write_switch): Don't put Pmode in a switch.
15011 * rtl.c (mode arrays): Don't explicitly size them.
15013 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15015 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15016 handling; move unconditional splitting before mode switching.
15018 * i386.md (type): Add fistp type.
15019 (i387, length_attr, scheduling definitions): Handle this type.
15020 (fix_trunc?f?i2): Revamp to use mode switching.
15021 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15022 * i386.h (fp_cw_mode): New enum
15023 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15024 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15026 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15028 * Makefile.in (integrate.o): Add debug.h.
15029 * integrate.c (debug.h): Add.
15030 (output_inline_function): Save, reset, and restore debug_hooks.
15032 2001-07-15 Richard Henderson <rth@redhat.com>
15034 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15035 instead of COMPARE for the EQUIV expression.
15037 2001-07-15 Richard Henderson <rth@redhat.com>
15039 * flow.c (redirect_edge_and_branch_force): Initialize
15040 global_live_at_start and global_live_at_end.
15041 (allocate_bb_life_data): Export.
15042 * basic-block.h (allocate_bb_life_data): Declare.
15043 * toplev.c (rest_of_compilation): Call it.
15045 2001-07-15 Richard Henderson <rth@redhat.com>
15047 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15048 (alpha_tablejump_best_label): New.
15049 * config/alpha/alpha-protos.h: Declare them.
15050 * config/alpha/alpha.md: Use braced strings for code blocks.
15051 (tablejump_osf): Break out add with r29.
15052 (tablejump_osf_internal): Remove.
15053 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15054 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15056 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15058 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15061 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15063 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15064 (ix86_fp_jump_nontrivial_p): New.
15065 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15066 use ix86_fp_jump_nontrivial_p.
15067 * i386.c (ix86_fp_jump_nontrivial_p): New.
15068 (ix86_split_fp_branch): Accept code instead of rtx.
15069 (ix86_expand_compare): Expand comparison early in case
15070 doing so is resonably cheap.
15072 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15074 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15076 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15077 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15079 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15081 * dbxout.c (dbxout_source_line): Make static, update prototype.
15082 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15083 (dbxout_init, dbxout_finish, dbxout_source_line,
15084 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15085 * dbxout.h (dbxout_source_line): Delete.
15086 * debug.c (debug_nothing_file, debug_nothing_file_int,
15087 debug_nothing_file_charstar_rtx): New.
15088 (do_nothing_debug_hooks): Update.
15089 (debug_nothing_void, debug_nothing_charstar_rtx,
15090 dwarf2out_end_epilogue): New.
15091 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15092 * debug.h (struct rtx_def): Declare.
15093 (gcc_debug_hooks): New hooks source_line, end_epilogue
15095 (debug_nothing_void, debug_nothing_charstar_rtx,
15096 dwarf2out_end_epilogue): New.
15097 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15098 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15099 (dwarf2_debug_hooks): Update.
15100 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15101 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15102 * dwarf2out.h (dwarf2out_source_line): Remove.
15103 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15104 Make static, update prototype.
15105 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15106 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15107 (dwarf_debug_hooks): Update.
15108 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15109 dwarfout_end_function): Remove.
15110 * final.c (profile_function): Use debug hooks for ending functions
15112 (output_source_line, final_end_function): Update prototype,
15114 (final_start_function, final_scan_insn): Update.
15115 * output.h (sdb_begin_function_line): Remove.
15116 (final_end_function): Update prototype.
15117 * sdbout.c (sdb_begin_function_line): Make static.
15118 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15119 (sdbout_source_line): New.
15120 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15122 (sdb_debug_hooks): Update.
15123 (sdbout_init, sdbout_source_line,
15124 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15125 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15126 * toplev.c (compile_file, rest_of_compilation): Update.
15127 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15128 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15129 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15130 Update for prototype changes.
15131 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15132 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15134 2001-07-15 Richard Henderson <rth@redhat.com>
15136 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15137 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15138 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15139 * config/alpha/alpha.c: Likewise.
15140 * config/alpha/alpha.md: Likewise.
15141 * config/alpha/alpha32.h: Likewise.
15142 * config/alpha/vms.h: Likewise.
15143 (OPEN_VMS): Remove.
15145 2001-07-14 Richard Henderson <rth@redhat.com>
15147 * config/alpha/alpha.md: Use define_constants for unspec values.
15148 Substitute throughout.
15150 2001-07-14 Tim Josling <tej@melbpc.org.au>
15152 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15154 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15156 * pa.md: Remove unused constraints from define_split's.
15158 2001-04-14 Richard Henderson <rth@redhat.com>
15160 * ifcvt.c (find_cond_trap): Test for exit block.
15162 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15164 Re-install recently reverted patch.
15165 * emit-rtl.c (try_split): Update mark_jump_label call.
15166 * flow.c (find_sub_basic_blocks): Likewise.
15167 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15168 jump_back_p): Kill.
15169 (mark_all_labels): Kill second parameter.
15170 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15171 (rebuild_jump_labels, jump_optimize_minimal): Update call
15172 of jump_optimize_1.
15173 (jump_optimize_1): Kill crossjumping code.
15174 (mark_jump_label): Kill cross_jump parameter.
15175 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15176 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15177 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15179 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15181 (dump_file_info): Likewise.
15182 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15183 reorganize passes to do reg-stack first, bb-reorder second.
15184 * invoke.texi (-d letters doc): Remove the jump2 pass.
15186 2001-07-14 Richard Henderson <rth@redhat.com>
15188 * ifcvt.c (find_cond_trap): New.
15189 (find_if_header): Call it.
15190 (merge_if_block): Relax existing jump sanity check.
15191 * jump.c (jump_optimize_1): Remove conditional trap handling.
15193 2001-07-14 Alan Modra <amodra@bigpond.net.au>
15195 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15197 (insn_refs_are_delayed): Correct comment.
15198 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15199 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15200 instead of r31. Make associated insn !TARGET_64BIT, and
15201 provide an additional 64-bit insn that clobbers r2.
15202 (divsi3): Likewise.
15203 (udivsi3): Likewise.
15204 (modsi3): Likewise.
15205 (umodsi3): Likewise.
15207 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15209 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15211 * flow.c (redirect_edge_and_branch_force, split_edge,
15212 try_crossjump_to_edge): Use set_block_for_new_insns.
15213 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15215 2001-07-13 H.J. Lu (hjl@gnu.org)
15217 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15220 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15222 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15224 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15226 * c-common.c (decl_attributes): Take a pointer to the node to
15227 which attributes are to be attached, and a flags argument.
15228 * c-common.h (enum attribute_flags): New.
15229 (decl_attributes): Update prototype.
15230 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15231 finish_enum, start_function): Update calls to decl_attributes.
15232 * c-parse.in (component_declarator, component_notype_declarator,
15233 label): Update calls to decl_attributes.
15235 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
15237 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15238 * config/avr/avr.c (legitimate_address_p): Return value changed
15239 from letter to register classes. For better debugging.
15241 2001-07-13 Kazu Hirata <kazu@hxi.com>
15243 * jump.c (reversed_comparison_code_parts): Fix comment typos.
15245 2001-07-13 H.J. Lu (hjl@gnu.org)
15247 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15249 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
15251 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
15252 correctly for shared configurations.
15253 * config/t-libgcc-pic: New.
15254 * config/{i386,m68k,sparc}/t-openbsd: New.
15255 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
15256 Support -shared. Support debugging libraries with -g.
15257 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
15258 frame information does not emit pointer diffs.
15259 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
15260 emit pointer diffs.
15262 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15264 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15266 2001-07-13 David Edelsohn <edelsohn@gnu.org>
15268 * combine.c (try_combine): Ensure const_int pow2 is positive.
15270 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
15272 * config.gcc: Add configuration for s/390.
15273 * config/s390/s390.c: New. Subroutines for code generation.
15274 * config/s390/s390.h: New. Definitions for s/390.
15275 * config/s390/s390-protos.h: New. Prototypes.
15276 * config/s390/linux.h: New. Definitions for linux for s/390.
15277 * config/s390/linux64.h: New. Definitions for linux for zSeries.
15278 * config/s390/t-linux: New. Makefile fragment.
15279 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15280 * config/s390/fixdfdi.h: New. Fix L_fix*di.
15282 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
15284 * emit-rtl.c (try_split): Update mark_jump_label call.
15285 * flow.c (find_sub_basic_blocks): Likewise.
15286 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15287 jump_back_p): Kill.
15288 (mark_all_labels): Kill second parameter.
15289 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15290 (rebuild_jump_labels, jump_optimize_minimal): Update call
15291 of jump_optimize_1.
15292 (jump_optimize_1): Kill crossjumping code.
15293 (mark_jump_label): Kill cross_jump parameter.
15294 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15295 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15296 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15298 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15300 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15301 reorganize passes to do reg-stack first, bb-reorder second.
15302 * invoke.texi (-d letters doc): Remove the jump2 pass.
15304 2001-07-12 Steve Ellcey <sje@cup.hp.com>
15306 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15308 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15310 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15312 (verify_flow_info): Make diagnostics prettier.
15314 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
15316 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15318 * flow.c (outgoing_edges_match): Return early if condition reversal
15321 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
15323 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15324 (mips_move_2words): When splitting a move into two instructions,
15325 prefix the second address operand with '%D'.
15327 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
15329 * Makefile.in (final.o): Depend on debug.h.
15330 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15331 (dbx_debug_hooks): Add new hooks.
15332 (xcoff_debug_hooks): New.
15333 * debug.c (debug_nothing_file_int_int): New.
15334 (do_nothing_debug_hooks): Update.
15335 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15336 (debug_nothing_file_int_int): New.
15337 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15338 static, update prototype.
15339 (dwarf2_debug_hooks): Update.
15340 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15341 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15342 static, update prototype.
15343 (dwarf_debug_hooks): Update.
15344 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15345 * final.c: Include debug.h.
15346 (final_scan_insn): Use debug hooks when beginning and ending blocks.
15347 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15348 static, update prototype.
15349 (sdb_debug_hooks): Update.
15350 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15351 * toplev.c: Distinguish between xcoff and dbx.
15353 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15354 Call all debug hooks, not just dwarf ones.
15356 2001-07-11 Timothy Wall <twall@redhat.com>
15358 * config.gcc: Add configuration for AIX5/IA64.
15359 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
15360 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
15361 support prefix/suffix code.
15362 * config/ia64/t-aix: New. Makefile fragment.
15363 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
15365 2001-07-11 Kazu Hirata <kazu@hxi.com>
15367 * recog.c (validate_change): Fix a comment typo.
15369 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
15371 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
15372 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15374 * dbxout.c (dbx_debug_hooks): Add new hooks.
15375 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15377 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15379 * dbxout.h (dbxout_start_new_source_file,
15380 dbxout_resume_previous_source_file): Delete.
15381 * debug.c (do_nothing_debug_hooks): Add new hooks.
15382 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15383 (debug_nothing_int_charstar, debug_nothing_int): New.
15384 * debug.h (gcc_debug_hooks): New hooks define, undef,
15385 start_source_file and end_source_file.
15386 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15387 (debug_nothing_int_charstar, debug_nothing_int): New.
15388 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
15389 the conditionally compiled section.
15390 (dwarf2out_start_source_file, dwarf2out_end_source_file,
15391 dwarf2out_define, dwarf2out_undef): Make static.
15392 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15393 dwarf2out_define, dwarf2out_undef): Remove.
15394 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15395 (dwarfout_start_source_file, dwarfout_end_source_file,
15396 dwarfout_define, dwarfout_undef): Make static.
15397 (dwarfout_start_source_file_check,
15398 dwarfout_end_source_file_check): New.
15399 (dwarfout_define, dwarfout_finish): Update.
15400 * dwarfout.h (dwarfout_start_new_source_file,
15401 dwarfout_resume_previous_source_file, dwarfout_define,
15402 dwarfout_undef): Remove.
15403 * sdbout.c (sdb_debug_hooks): Add new hooks.
15404 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15406 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15407 make static, take an arg.
15408 * sdbout.h (sdbout_start_new_source_file,
15409 sdbout_resume_previous_source_file): Delete.
15410 * toplev.c (debug_start_source_file, debug_end_source_file,
15411 debug_define, debug_undef): Delete.
15412 * toplev.h (debug_start_source_file, debug_end_source_file,
15413 debug_define, debug_undef): Delete.
15415 * java/jcf-parse.c: Include debug.h.
15416 (parse_class_file): Update to use debug hooks directly.
15417 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15419 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15421 * alias.c (set_mem_alias_set): New function.
15422 * rtl.h (set_mem_alias_set): Declare it.
15423 * builtins.c (expand_builtin_return_addr): Call it instead of
15424 using MEM_ALIAS_SET accessor.
15425 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15426 (get_memory_rtx, expand_builtin_va_arg): Likewise.
15427 (expand_builtin_va_copy):Likewise.
15428 * caller-save.c (setup_save_areas): Likewise.
15429 * calls.c (compute_argument_addresses): Likewise.
15430 * explow.c (set_mem_attributes): Likewise.
15431 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15432 (expand_assignment, store_constructor_field, store_field): Likewise.
15433 (expand_expr_unaligned): Likewise.
15434 * function.c (assign_stack_temp_for_type): Likewise.
15435 (put_reg_into_stack, gen_mem_addressof): Likewise.
15436 * ifcvt.c (noce_try_cmove_arith): Likewise.
15437 * reload1.c (reload, alter_reg): Likewise.
15438 * config/alpha/alpha.c (get_aligned_mem): Likewise.
15439 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15440 (alpha_expand_unaligned_store): Likewise
15441 (alpha_expand_unaligned_load_words): Likewise.
15442 (alpha_expand_unaligned_store_words): Likewise.
15443 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15444 (alpha_expand_epilogue): Likewise.
15445 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15446 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15447 * config/i386/i386.c (legitimize_pic_address): Likewise.
15448 * config/i960/i960.c (setup_incoming_varargs): Likewise.
15449 * config/ia64/ia64.c (spill_restore_mem): Likewise.
15450 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15451 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15452 * config/mips/mips.c (mips_va_arg): Likewise.
15453 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15454 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15455 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15456 (setup_incoming_varargs, rs6000_va_arg): Likewise.
15457 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15458 (rs6000_emit_epilogue): Likewise.
15459 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15460 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15461 * config/v850/v850.c (v850_va_arg): Likewise.
15463 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
15465 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15466 when fallthru edge is present.
15467 (mege_blocks): Handle case where creation of jump insn
15470 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15471 CLEANUP_POST_REGSTACK): New constants.
15472 * except.c (finish_eh_generation): Update call of cleanup_cfg,
15473 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15474 * output.h (cleanup_cfg): Update prototype.
15475 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15476 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15477 cleanup_cfg call; kill missleading comment.
15478 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15479 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15480 parameter; control optimizations performed using it.
15481 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15482 try_crossjump_bb): New functions.
15484 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15486 * pa.c (pa_output_function_prologue): Delete prototype. Make function
15488 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15489 pa_output_function_prologue.
15490 * pa-protos.h (pa_output_function_prologue): New prototype.
15492 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15494 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15495 and low to get correct sign extension in low+high test.
15497 2001-07-11 Janis Johnson <janis@us.ibm.com>
15499 * gcov.c (arcdata): Use gcov_type to fix branch percentage
15500 for large hit count.
15502 * profile.c (branch_prob): Fix .bbg info for computed gotos
15505 2001-07-11 Mark Mitchell <mark@codesourcery.com>
15507 * stmt.c (parse_output_constraint): New function, split out
15509 (expand_asm_operands): ... here. Use parse_output_constraint.
15510 * tree.h (parse_output_constraint): Declare it.
15512 2001-07-11 Richard Henderson <rth@redhat.com>
15514 * bitmap.c: Comment some functions; fiddle whitespace.
15515 (bitmap_free): Don't export.
15516 (bitmap_element_allocate): Use memset.
15517 * bitmap.h (bitmap_free): Don't declare.
15519 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
15521 * gcse.c, lcm.c, sched-deps.c:
15522 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15524 * flow.c (flow_loops_find): Free dom if we found no loops, since
15525 we aren't going to save it.
15527 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15530 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
15532 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15534 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15536 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15537 #ifndef DWARF2_DEBUGGING_INFO.
15539 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15541 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15543 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15545 * config/mips/mips.c (gen_int_relational): Tell the caller not to
15546 reverse a branch if a NE comparison is implemented with GTU.
15548 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15549 H.J. Lu <hjl@gnu.org>
15551 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15552 constant addresses.
15553 (call_internal2): Likewise.
15554 (call_value_internal1): Likewise.
15555 (call_value_internal2): Likewise.
15556 (call_value_multiple_internal1): Likewise.
15557 (call_value_multiple_internal2): Likewise.
15559 2001-07-10 Kazu Hirata <kazu@hxi.com>
15561 * calls.c (emit_library_call_value_1): Fix a comment typo.
15562 * dwarf2out.c (mem_loc_descriptor): Likewise.
15563 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15565 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
15567 * simplify-rtx.c (simplify_subreg): Fix typo in comment
15569 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15571 * recog.c (offsettable_address_p): Handle LO_SUM case.
15572 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15573 instead of plus_constant.
15575 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15577 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15578 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15580 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15582 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15583 adjust_address_nv instead of plus_constant.
15585 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
15587 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15588 dwarf2out.o): Depend on debug.h, wrap long lines.
15589 * dbxout.c: Include debug.h.
15590 (dbx_debug_hooks): New.
15591 (dbxout_init): Make static, take just 2 args.
15592 (dbxout_finish): Make static.
15593 * dbxout.h (dbxout_init, dbxout_finish): Delete.
15594 * debug.c: New file.
15595 * debug.h: New file.
15596 * dwarf2out.c: Include debug.h.
15597 (dwarf2_debug_hooks): New.
15598 (dwarf2out_init): Make static.
15599 (dwarf2out_finish): Make static, take 2 args.
15600 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15601 * dwarfout.c: Include debug.h.
15602 (dwarf_debug_hooks): New.
15603 (dwarfout_init): Make static.
15604 (dwarfout_finish): Make static, take 2 args.
15605 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15606 * sdbout.c: Include debug.h.
15607 (sdb_debug_hooks): New.
15608 (sdbout_init): Make static, take 2 args.
15609 * sdbout.h (sdbout_init): Delete.
15610 * toplev.c: Include debug.h.
15611 (debug_hooks): New.
15612 (compile_file): Set deubg_hooks based on command line options.
15613 Use the hooks unconditionally rather than conditional compilation.
15615 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
15617 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
15618 first_insn_after_basic_block_note instead.
15620 * df.c (df_bb_refs_unlink): #if 0 out for now.
15622 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
15624 * ssa.h: Add prototype for ssa_const_prop
15625 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15626 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15627 (ssa_fast_dce): Remove unused variable
15629 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15631 * diagnostic.c (finish_diagnostic): Rename to
15632 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
15635 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
15637 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15640 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15641 (dump_file): Only pad the demangled name with spaces if the
15642 mangled name was padded with spaces.
15644 2001-07-10 Bernd Schmidt <bernds@redhat.com>
15646 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15649 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15651 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15652 extraction if no direct load if either EXPAND_CONST_ADDRESS or
15653 EXPAND_INITIALIZER.
15655 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15656 whether can put offset inside LO_SUM to check mode alignment, not size.
15658 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15660 * doc/tm.texi (Misc): Fix thinko.
15662 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
15664 * regmove.c (replace_in_call_usage): Fix warnings.
15665 * sched-deps.c (add_dependence): Fix warnings.
15666 * simplify-rtx.c (simplify_subreg): Likewise.
15667 Return NULL_RTX instead of NULL.
15669 * reg-stack.c (emit_swap_insn): Eliminate warnings.
15670 (subst_asm_stack_regs): Likewise.
15672 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15675 * dwarf2out.c (output_call_frame_info): Declare i as int.
15676 (build_abbrev_table): Declare n_alloc as int.
15677 (dwarf2out_finish): Initialize die.
15678 * except.c: Declare sjlj_funcdef_number as unsigned.
15679 (connect_post_landing_pads): Declare j as unsigned.
15680 (convert_to_eh_region_ranges): Initialize call_site.
15681 (output_function_exception_table): Initialize tt_format_size.
15682 * expr.c (move_by_pieces_1): Initialize to1.
15683 (store_constructor): Initialize minelt and maxelt.
15684 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15685 * function.c (instantiate_decls): Avoid signed/unsigned warning.
15687 * c-decl.c (combine_parm_decls): Unused, remove.
15688 * c-tree.h: Remove prototype for combine_parm_decls.
15690 * reload.c (push_reload): Fix warning.
15691 (regno_clobbered_p): Likewise.
15692 * reload1.c (replace_pseudos_in_call_usage): Likewise.
15693 (reload_combine): Likewise.
15695 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15696 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15698 * bitmap.c (bitmap_operation): Change user.
15699 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15701 2001-07-10 Eric Christopher <echristo@redhat.com>
15703 * config/mips/mips.c (override_options): Fix typo.
15705 2001-07-09 Stan Shebs <shebs@apple.com>
15707 * target.h (struct gcc_target): New fields init_builtins and
15709 * target-def.h (TARGET_INIT_BUILTINS): New macro.
15710 (TARGET_EXPAND_BUILTIN): New macro.
15711 (TARGET_INITIALIZER): Add them.
15712 * builtins.c: Include target.h.
15713 (expand_builtin): Use targetm.expand_builtin.
15714 (default_init_builtins): New function.
15715 (default_expand_builtin): New function.
15716 * expr.h (default_init_builtins): Declare.
15717 (default_expand_builtin): Declare.
15718 * c-common.c (c_common_nodes_and_builtins): Use
15719 targetm.init_builtins.
15720 * defaults.h (MD_INIT_BUILTINS): Remove.
15721 * Makefile.in (builtins.o): Depend on target.h.
15723 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15724 (TARGET_EXPAND_BUILTIN): Define.
15725 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15726 (MD_EXPAND_BUILTIN): Remove.
15728 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15729 (TARGET_EXPAND_BUILTIN): Define.
15730 (c4x_init_builtins): Make endlink arg a local.
15731 (c4x_print_operand): Fix typos in adjust_address usages.
15732 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
15733 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
15734 (MD_EXPAND_BUILTIN): Remove.
15736 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
15737 (TARGET_EXPAND_BUILTIN): Define.
15738 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
15739 (ix86_init_builtins): Call new function only if TARGET_MMX.
15740 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
15741 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
15742 (MD_EXPAND_BUILTIN): Remove.
15744 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
15745 (TARGET_EXPAND_BUILTIN): Define.
15746 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
15747 (MD_EXPAND_BUILTIN): Remove.
15749 * doc/tm.texi: Document these changes.
15751 2001-07-09 Diego Novillo <dnovillo@redhat.com>
15753 * basic-block.h (tree_node): Forward declare if needed.
15754 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
15755 (BLOCK_HEAD_TREE): Define.
15756 (BLOCK_END_TREE): Define.
15757 (struct loops): Rename field 'tree' to 'tree_root'.
15758 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
15760 (flow_loops_tree_build): Rename reference to field 'tree' to
15762 (flow_loops_level_compute): Ditto.
15763 * predict.c (estimate_bb_frequencies): Ditto.
15764 * tree.h (struct tree_common): Add field 'aux'.
15766 2001-07-09 Stan Shebs <shebs@apple.com>
15768 * config/darwin.c (darwin_encode_section_info): Don't mark any
15769 DECL_EXTERNAL node as defined.
15771 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
15773 * pa.c (pa_init_machine_status, pa_mark_machine_status,
15774 pa_free_machine_status, hppa_init_pic_save): Delete.
15775 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
15776 (hppa_profile_hook): Use hppa_pic_save_rtx.
15777 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
15778 hppa_init_pic_save): Delete.
15779 (hppa_pic_save_rtx): Declare.
15780 * pa.md (call, call_value, sibcall, sibcall_value,
15781 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
15783 2001-07-09 Kazu Hirata <kazu@hxi.com>
15785 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
15786 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
15788 2001-07-09 Andreas Jaeger <aj@suse.de>
15790 * output.h: Add declaration of final_forward_branch_p.
15792 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
15794 * varray.c: Include errors.h for internal_error and trim_filename
15797 * Makefile.in (varray.o): Add errors.h.
15799 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
15801 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
15802 * optabs.c (have_add2_insn): Check whether the add insn chosen
15803 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
15804 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
15806 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
15808 * Makefile.in (OBJS): Add ssa-ccp.o
15809 (ssa-ccp.o): Add dependencies.
15810 * toplev.c (DFI_ssa_ccp): New dump file enum.
15811 (dump_file): Add entry for dumping after SSA CCP.
15812 (flag_ssa_ccp): New flag variable.
15813 (f_options): Add -fssa-ccp.
15814 (rest_of_compilation): Run SSA CCP if requested.
15815 * timevar.def (TV_SSA_CCP): New timevar.
15816 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
15817 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
15818 Fix minor typo in SSA DCE documentation.
15819 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
15820 Add documentation for new dump option. Renumber dump files
15823 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15825 * emit-rtl.c (gen_highpart_mode): New.
15826 * rtl.h (gen_highpart_mode): Declare.
15827 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
15828 operand can be VOIDmode constant.
15830 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
15832 * flow.c (redirect_edge_and_branch_force): New.
15833 (can_fallthru): Ensure that basic blocks are succeeding.
15834 (try_optimize_cfg): Do not delete basic block if it is the last one.
15836 * flow.c (try_redirect_by_replacing_jump): Do not remove
15837 jumps with side effects, unlink chain on fallthru edge;
15838 set block for new jump instruction; avoid basic block to
15839 over by line number note.
15841 * flow.c (try_simplify_condjump): Verify that the condjump
15842 is not always falling through.
15845 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15847 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15848 (try_redirect_by_replacing_jump): Update properly the count
15849 and frequency information.
15851 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15853 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
15854 address that is a LO_SUM specially.
15855 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
15857 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
15859 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
15860 (operand_subword): Use them.
15861 (change_address_1): Renamed from change_address; new arg VALIDATE.
15862 * expr.h: Reflect above changes; change_address now macro.
15863 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
15865 * cselib.c (add_mem_for_addr): Likewise.
15866 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
15867 * regmove.c (try_apply_stack_adjustment): Likewise.
15868 * reload.c (push_reload, make_memloc): Likewise.
15869 * reload1.c (eliminate_regs): Likewise.
15870 * simplify-rtx.c (simplify_replace_rtx): Likewise.
15871 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
15873 * combine.c (make_extraction, simplify_shift_const): Likewise.
15874 (gen_lowpart_for_combine): Likewise.
15875 * cse.c (gen_lowpart_if_possible): Likewise.
15876 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
15877 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
15878 * optabs.c (gen_move_insn): Likewise.
15879 * reload1.c (alter_reg): Likewise.
15880 * simplify-rtx.c (simplify_subreg): Likewise.
15881 * stmt.c (expand_anon_union_decl): Likewise.
15882 * recog.c (validate_replace_rtx_1): Likewise.
15884 * Makefile.in (recog.o): Add $(EXPR_H).
15885 * explow.c (stabilize): Call replace_equiv_address.
15886 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
15887 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
15889 2001-07-03 Andrew Haley <aph@redhat.com>
15891 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
15892 the mode of the memory location.
15894 2001-07-09 Bo Thorsen <bo@suse.co.uk>
15896 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
15898 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
15900 * final.c (output_addr_const): Use target opening and
15901 closing parentheses.
15902 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
15903 defaults, add to TARGET_ASM_OUT.
15904 * target.h (struct gcc_target): Add open_paren and close_paren.
15905 * doc/md.texi: Update.
15906 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
15907 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
15908 TARGET_ASM_CLOSE_PAREN.
15909 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15911 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15913 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
15914 * config/a29k/a29k.h: Similarly.
15915 * config/alpha/alpha.h: Similarly.
15916 * config/arc/arc.h: Similarly.
15917 * config/arm/aof.h: Similarly.
15918 * config/arm/aout.h: Similarly.
15919 * config/avr/avr.h: Similarly.
15920 * config/c4x/c4x.h: Similarly.
15921 * config/clipper/clipper.h: Similarly.
15922 * config/convex/convex.h: Similarly.
15923 * config/d30v/d30v.h: Similarly.
15924 * config/dsp16xx/dsp16xx.h: Similarly.
15925 * config/elxsi/elxsi.h: Similarly.
15926 * config/fr30/fr30.h: Similarly.
15927 * config/h8300/h8300.h: Similarly.
15928 * config/i370/i370.h: Similarly.
15929 * config/i386/i386.h: Similarly.
15930 * config/i860/i860.h: Similarly.
15931 * config/i960/i960.h: Similarly.
15932 * config/ia64/ia64.h: Similarly.
15933 * config/m32r/m32r.h: Similarly.
15934 * config/m68hc11/m68hc11.h: Similarly.
15935 * config/m68k/m68k.h: Similarly.
15936 * config/m88k/m88k.h: Similarly.
15937 * config/mcore/mcore.h: Similarly.
15938 * config/mips/mips.h: Similarly.
15939 * config/mn10200/mn10200.h: Similarly.
15940 * config/mn10300/mn10300.h: Similarly.
15941 * config/ns32k/ns32k.h: Similarly.
15942 * config/pa/pa.h: Similarly.
15943 * config/pdp11/pdp11.h: Similarly.
15944 * config/pj/pj.h: Similarly.
15945 * config/romp/romp.h: Similarly.
15946 * config/rs6000/rs6000.h: Similarly.
15947 * config/sh/sh.h: Similarly.
15948 * config/sparc/sparc.h: Similarly.
15949 * config/v850/v850.h: Similarly.
15950 * config/vax/vax.h: Similarly.
15951 * config/we32k/we32k.h: Similarly.
15953 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
15955 * doc/c-tree.texi: Document representation of attributes.
15957 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
15959 * doc/tm.texi: Update some places for the rename of target to
15962 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
15964 * target.h (struct gcc_target): Add insert_attributes.
15965 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
15966 (TARGET_INITIALIZER): Update.
15967 * tree.c, tree.h (default_insert_attributes): New function.
15968 Update comments on other default functions to refer to targetm,
15970 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
15971 TARGET_INSERT_ATTRIBUTES.
15972 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
15973 * c-common.c (decl_attributes): Use targetm.insert_attributes.
15974 Don't use PRAGMA_INSERT_ATTRIBUTES.
15975 * Makefile.in (c-common.o): Depend on $(TARGET_H).
15976 * c-decl.c (start_decl, start_function): Don't call
15977 SET_DEFAULT_DECL_ATTRIBUTES.
15978 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
15979 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
15981 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
15982 (c4x_check_attribute): Avoid modifying attribute list itself.
15983 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
15985 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
15986 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
15988 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
15989 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
15991 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
15992 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
15994 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
15995 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
15996 Adjust parameters. Make static.
15998 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16000 * c-common.c (decl_attributes): Only take a single attributes
16002 * c-common.h (decl_attributes): Update prototype.
16003 * c-decl.c (start_decl, start_function): Only take a single
16004 attributes parameter. Update calls to decl_attributes.
16005 (finish_struct, finish_enum): Update calls to decl_attributes.
16006 (push_parm_decl): Expect unified list of attributes. Update call
16007 to decl_attributes.
16008 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16009 notype_nested_function, component_declarator,
16010 component_notype_declarator, label): Update calls to
16012 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16013 lists that are passed to push_parm_decl.
16014 * c-tree.h (start_function, start_decl): Update prototypes.
16015 * config/sh/sh-protos.h, config/sh/sh.c
16016 (sh_pragma_insert_attributes): Only take a single attributes
16018 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16019 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16020 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16021 build_module_descriptor, generate_static_references,
16022 generate_strings, build_selector_translation_table,
16023 generate_descriptor_table, generate_protocols,
16024 generate_ivars_list, generate_dispatch_table,
16025 generate_protocol_list, generate_category,
16026 generate_shared_structures, really_start_method, add_objc_decls,
16027 generate_classref_translation_entry): Update calls to start_decl
16028 and start_function.
16029 (build_tmp_function_decl, start_method_def): Unify attribute lists
16030 that are passed to push_parm_decl.
16032 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16034 * final.c (no_asm_to_stream): New.
16035 (final_scan_insn): Use target structures for prologue ends
16036 and epilogue starts.
16037 * output.h (no_asm_to_stream): New.
16038 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16039 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16040 (TARGET_ASM_OUT): Update.
16041 * target.h (struct gcc_target): New members function_end_prologue
16042 and function_begin_epilogue.
16043 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16044 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16045 * config/alpha/alpha.c (output_end_prologue): Rename to
16046 alpha_output_function_end_prologue. Use in target struct
16048 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16049 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16050 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16051 ia64_output_function_end_prologue. Use in target struct
16053 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16054 mistyped prototypes.
16055 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16056 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16058 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16059 an use in target struct, make static.
16060 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16063 2001-07-08 Richard Henderson <rth@redhat.com>
16065 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16067 2001-07-08 Richard Henderson <rth@redhat.com>
16069 * config/i386/i386.md: Remove constraints strings from define_split
16070 and define_peephole2 patterns.
16071 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16072 (eh_return): Use them.
16074 2001-07-08 Richard Henderson <rth@redhat.com>
16076 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16077 Document MD_FALLBACK_FRAME_STATE_FOR.
16079 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16081 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16082 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16084 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16086 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16088 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16089 of the label inside NAME as opposed to just the end of NAME.
16091 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16093 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16094 * config/alpha/alpha.c (alpha_init_machine_status,
16095 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16096 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16097 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16098 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16100 2001-07-06 Stan Shebs <shebs@apple.com>
16102 * target.h (targetm): Rename global from "target", so as not to
16103 conflict with local variables.
16105 * c-typeck.c: Ditto.
16108 * cp/decl.c: Ditto.
16109 * cp/decl2.c: Ditto.
16110 * cp/typeck.c: Ditto.
16111 * 1750a/1750a.c: Ditto.
16112 * a29k/a29k.c: Ditto.
16113 * arc/arc.c: Ditto.
16114 * arm/arm.c: Ditto.
16115 * avr/avr.c: Ditto.
16116 * clipper/clipper.c: Ditto.
16117 * convex/convex.c: Ditto.
16118 * d30v/d30v.c: Ditto.
16119 * dsp16xx/dsp16xx.c: Ditto.
16120 * elxsi/elxsi.c: Ditto.
16121 * fr30/fr30.c: Ditto.
16122 * h8300/h8300.c: Ditto.
16123 * i370/i370.c: Ditto.
16124 * i386/i386.c: Ditto.
16125 * i860/i860.c: Ditto.
16126 * i960/i960.c: Ditto.
16127 * ia64/ia64.c: Ditto.
16128 * m32r/m32r.c: Ditto.
16129 * m68hc11/m68hc11.c: Ditto.
16130 * m68k/m68k.c: Ditto.
16131 * m88k/m88k.c: Ditto.
16132 * mips/mips.c: Ditto.
16133 * ns32k/ns32k.c: Ditto.
16135 * pdp11/pdp11.c: Ditto.
16136 * romp/romp.c: Ditto.
16137 * rs6000/rs6000.c: Ditto.
16139 * sparc/sparc.c: Ditto.
16140 * vax/vax.c: Ditto.
16141 * we32k/we32k.c: Ditto.
16142 * doc/tm.texi: Update the manual to match.
16144 2001-07-06 Richard Henderson <rth@redhat.com>
16146 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16147 DWARF2_UNWIND_INFO not just whether it is defined.
16149 2001-07-06 Diego Novillo <dnovillo@redhat.com>
16151 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16152 call to simplify_binary_operation returns a new pattern.
16154 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16156 * glimits.h (__SHRT_MAX__): New.
16157 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16158 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16160 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16162 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16165 2001-07-06 Richard Henderson <rth@redhat.com>
16167 * bitmap.c (bitmap_release_memory): Move adjacent to the
16168 allocation functions.
16169 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16170 the implementation. Binary search for the set bit.
16171 (bitmap_union_of_diff): Allocate the temporary on the stack
16172 instead of using xmalloc.
16174 2001-07-06 Richard Henderson <rth@redhat.com>
16176 * genrecog.c (validate_pattern): Warn for constraints in
16177 define_{expand,split,peephole2}. Remove strict_low_part
16178 before looking up match_dup.
16180 2001-07-06 DJ Delorie <dj@redhat.com>
16182 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16183 chapter about various build hints and history. Add section
16184 talking about the various types of native and cross builds.
16186 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16188 * Makefile.in (final.o): Depend on target.h.
16189 * final.c: Include target.h.
16190 (default_function_pro_epilogue): New.
16191 (final_start_function): Use target structure for function prologues.
16192 (final_end_function): Use target structure for function epilogues.
16193 * fold-const.c (real_hex_to_f): Constify s and p.
16194 * output.h (default_function_pro_epilogue): New.
16195 * real.h (real_hex_to_f): Update prototype.
16196 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16197 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16198 (TARGET_INITIALIZER): Update.
16199 * target.h (gcc_target): Add struct asm_out.
16200 * doc/tm.texi: Update.
16203 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16204 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16205 in cpu/cpu.c, or rename old functions consistently. Take
16206 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16207 redundant macros and prototypes. Make new functions static.
16209 * 1750a/1750a.c: Similarly.
16210 * 1750a/1750a.h: Similarly.
16211 * a29k/a29k-protos.h: Similarly.
16212 * a29k/a29k.c: Similarly.
16213 * a29k/a29k.h: Similarly.
16214 * arc/arc-protos.h: Similarly.
16215 * arc/arc.c: Similarly.
16216 * arc/arc.h: Similarly.
16217 * arm/arm-protos.h: Similarly.
16218 * arm/arm.c: Similarly.
16219 * arm/arm.h: Similarly.
16220 * avr/avr-protos.h: Similarly.
16221 * avr/avr.c: Similarly.
16222 * avr/avr.h: Similarly.
16223 * clipper/clipper-protos.h: Similarly.
16224 * clipper/clipper.c: Similarly.
16225 * clipper/clipper.h: Similarly.
16226 * convex/convex.c: Similarly.
16227 * convex/convex.h: Similarly.
16228 * d30v/d30v-protos.h: Similarly.
16229 * d30v/d30v.c: Similarly.
16230 * d30v/d30v.h: Similarly.
16231 * d30v/d30v.md: Similarly.
16232 * dsp16xx/dsp16xx-protos.h: Similarly.
16233 * dsp16xx/dsp16xx.c: Similarly.
16234 * dsp16xx/dsp16xx.h: Similarly.
16235 * elxsi/elxsi.c: Similarly.
16236 * elxsi/elxsi.h: Similarly.
16237 * fr30/fr30.c: Similarly.
16238 * fr30/fr30.md: Similarly.
16239 * h8300/h8300-protos.h: Similarly.
16240 * h8300/h8300.c: Similarly.
16241 * h8300/h8300.h: Similarly.
16242 * i370/i370-protos.h: Similarly.
16243 * i370/i370.c: Similarly.
16244 * i370/i370.h: Similarly.
16245 * i386/i386.c: Similarly.
16246 * i386/osf1elf.h: Similarly.
16247 * i386/osfrose.h: Similarly.
16248 * i860/i860-protos.h: Similarly.
16249 * i860/i860.c: Similarly.
16250 * i860/i860.h: Similarly.
16251 * i960/i960-protos.h: Similarly.
16252 * i960/i960.c: Similarly.
16253 * i960/i960.h: Similarly.
16254 * ia64/ia64-protos.h: Similarly.
16255 * ia64/ia64.c: Similarly.
16256 * ia64/ia64.h: Similarly.
16257 * m32r/m32r-protos.h: Similarly.
16258 * m32r/m32r.c: Similarly.
16259 * m32r/m32r.h: Similarly.
16260 * m68hc11/m68hc11-protos.h: Similarly.
16261 * m68hc11/m68hc11.c: Similarly.
16262 * m68hc11/m68hc11.h: Similarly.
16263 * m68k/crds.h: Similarly.
16264 * m68k/dpx2.h: Similarly.
16265 * m68k/m68k-protos.h: Similarly.
16266 * m68k/m68k.c: Similarly.
16267 * m68k/m68k.h: Similarly.
16268 * m68k/news.h: Similarly.
16269 * m88k/m88k-protos.h: Similarly.
16270 * m88k/m88k.c: Similarly.
16271 * m88k/m88k.h: Similarly.
16272 * mips/mips-protos.h: Similarly.
16273 * mips/mips.c: Similarly.
16274 * mips/mips.h: Similarly.
16275 * ns32k/merlin.h: Similarly.
16276 * ns32k/ns32k.c: Similarly.
16277 * ns32k/ns32k.h: Similarly.
16278 * ns32k/tek6000.h: Similarly.
16279 * pa/pa-protos.h: Similarly.
16280 * pa/pa.c: Similarly.
16281 * pa/pa.h: Similarly.
16282 * pdp11/2bsd.h: Similarly.
16283 * pdp11/pdp11-protos.h: Similarly.
16284 * pdp11/pdp11.c: Similarly.
16285 * pdp11/pdp11.h: Similarly.
16286 * romp/romp-protos.h: Similarly.
16287 * romp/romp.c: Similarly.
16288 * romp/romp.h: Similarly.
16289 * rs6000/rs6000-protos.h: Similarly.
16290 * rs6000/rs6000.c: Similarly.
16291 * rs6000/rs6000.h: Similarly.
16292 * rs6000/sysv4.h: Similarly.
16293 * sh/sh-protos.h: Similarly.
16294 * sh/sh.c: Similarly.
16295 * sh/sh.h: Similarly.
16296 * sparc/sparc-protos.h: Similarly.
16297 * sparc/sparc.c: Similarly.
16298 * sparc/sparc.h: Similarly.
16299 * vax/vax.c: Similarly.
16300 * vax/vax.h: Similarly.
16301 * vax/vms.h: Similarly.
16302 * we32k/we32k.c: Similarly.
16303 * we32k/we32k.h: Similarly.
16305 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
16307 * basic-block.h (first_insn_after_basic_block_note): Declare.
16308 * flow.c (first_insn_after_basic_block_note): Define. Moved
16310 * ssa.c (first_insn_after_basic_block_note): Remove.
16311 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16313 (ssa_eliminate_dead_code): Properly update the CFG and PHI
16314 nodes when we find a dead conditional branch. Insert BARRIERs
16315 after any blocks with no successors, but which do not have
16318 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16320 * varray.c (varray_check_failed): Use internal_error.
16322 2001-07-05 Andrew Haley <aph@redhat.com>
16324 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16325 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16326 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16328 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
16330 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16331 reference if the target constant is also a SYMBOL_REF.
16333 2001-07-05 Eric Christopher <echristo@redhat.com>
16335 * config/mips/mips.h (MASK_MIPS3900): Remove.
16336 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16337 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16338 (TARGET_MIPS3900): Change to use mips_arch.
16339 (TARGET_MIPS4000): New.
16340 (TARGET_MIPS4100): New.
16341 (TARGET_MIPS4300): New.
16342 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16343 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16345 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16346 (ISA_HAS_BRANCHLIKELY): To here.
16347 (CC1_CPU_SPEC): New.
16348 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
16349 (mips_arch_string): Declare.
16350 (mips_arch): Declare.
16351 (TARGET_OPTIONS): Add -march and -mtune.
16353 * config/mips/mips.c (mips_arch_string): New.
16355 (override_options): Handle -march for codegen and -mtune
16356 for scheduling. Use mips_arch. Move tx39 target default here.
16357 (mips_parse_cpu): Move error message to override_options.
16359 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16361 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16363 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16364 (MIPS Options): Ditto. Change mcpu entry to historical text.
16366 2001-07-05 H.J. Lu (hjl@gnu.org)
16368 * config/mips/mips.c (mips_parse_cpu): New function to parse
16371 2001-07-05 Jim Wilson <wilson@redhat.com>
16373 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16374 * config/ia64/t-ia64: Likewise.
16375 (LIB1ASMFUNCS): Update comment.
16377 2001-07-05 David Edelsohn <edelsohn@gnu.org>
16379 * doc/install.texi (Install GCC: Binaries): Fix typo.
16381 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16383 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16384 reference using the stack pointer, adjust it since we push Y
16386 ("*ashrsi3"): Likewise.
16387 ("*lshrsi3"): Likewise.
16389 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16391 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16392 when -fomit-frame-pointer is used.
16394 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
16396 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16397 (try_redirect_by_replacing_jump): Reverse updating properly the
16398 count and frequency information. Reverse removing cc0 setter.
16399 (forwarder_block_p): Reverse fixing for fallthru blocks.
16401 2001-07-05 DJ Delorie <dj@redhat.com>
16403 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16404 (translate_options): If the above is defined, use it to map
16405 given options to new options.
16406 * doc/tm.texi: Document it.
16408 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
16409 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16411 * doc/invoke.texi (Optimize Options): Document that -fgcse may
16412 cause programs using computed gotos to run more slowly.
16414 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16416 * doc/install.texi (Specific): Markup, spelling and typo fixes.
16418 Consistently require binutils 2.11.2, not prereleases.
16419 (Specific, decstation-*): Canonicalize as mips-dec-*.
16420 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16422 (Specific, m68k-altos): Removed reference to README.altos, deleted.
16423 (Specific, mips-*): Reword MIPS C compiler requirements.
16424 (Specific, powerpc*-*-*): New, mention --with-cpu once.
16425 (Specific, sunv5): Removed, obsolete.
16427 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
16429 * dwarf2out.c (output_loc_list): Use an all ones mask for
16430 .text asm output and don't rely on long long
16431 literals. Reformat some long lines.
16433 2001-07-05 Andreas Jaeger <aj@suse.de>
16435 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16438 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16440 * dwarf2out.c (dwarf2out_define): Update comment.
16441 (dwarf2out_undef): Ditto.
16442 (dwarf2out_start_source_file): Ditto.
16443 (dwarf2out_end_source_file): Ditto.
16444 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16445 since we never call the start/end debug hook for the primary file.
16447 2001-07-04 Kazu Hirata <kazu@hxi.com>
16449 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16452 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16454 * cppinit.c (remove_dup_dirs): Inform if a system include
16455 directory is being reordered.
16456 * doc/invoke.texi (Directory Options): GCC warns if you hide a
16458 * doc/cpp.texi (Search Paths): Likewise.
16459 * doc/gcc.texi (Interoperation): Remove information about
16462 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16464 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16465 (VARRAY_TOP_CHAR_PTR): Likewise.
16467 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16469 * gcc.c (process_command): Don't assign elements of a const char*.
16471 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16473 * emit-rtl.c (change_address): Don't abort if invalid address while
16474 reload is in progress.
16476 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16478 * c-lex.c (cb_file_change): Pass line number to
16479 debug_start_source_file.
16480 (cb_undefine): Pass correct line number to debug_undef.
16482 * toplev.c (debug_start_source_file): Add line number to
16483 parameters. Pass it along to dwarf2out_start_source_file.
16484 (decode_g_option): Stop resetting debug level back to normal when
16485 we change debug formats, unless the current level is
16486 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16489 * toplev.h (debug_start_source_file): Add line number to
16492 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16495 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16497 Output debug_macinfo data for starting file if requested.
16498 (dwarf2out_end_source_file): Output debug_macinfo data for ending
16500 (dwarf2out_define): Output debug_macinfo data for defining a macro
16502 (dwarf2out_undef): Output debug_macinfo data for undefining a
16503 macro if requested.
16504 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16505 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16506 (macinfo_section_label): New. DWARF2 macro info section label.
16507 (dwarf2out_init): If we want macro info, output the start label
16509 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16510 attribute to the compilation unit die pointing to the macro info.
16512 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16514 * dwarf2out.c (new_loc_list): Move to inside #ifdef
16515 DWARF2_DEBUGGING_INFO.
16516 (add_loc_descr_to_loc_list): Ditto.
16517 (output_loc_list): Ditto.
16518 Also, fix thinko in curr not being initialized.
16519 (gen_internal_sym): Ditto.
16521 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16523 * emit-rtl.c (replace_equiv_address): New function.
16524 * expr.h (replace_equiv_address): New declaration.
16525 * explow.c (validize_mem): Call it instead of change_address and
16526 also call if -fforce-addr and address is constant.
16527 * expr.c: Replace more calls to change_address with adjust_address
16528 and/or replace_equiv_address or to validize_mem.
16529 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16530 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16531 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16532 * config/i370/i370.md, config/i860/i860.md: Likewise.
16533 * config/i960/i960.md, config/mips/mips.c: Likewise.
16534 * config/mips/mips.md, config/pa/pa.md: Likewise.
16535 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16536 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16538 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16540 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16542 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16545 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
16547 * doc/include: New directory.
16548 * doc/fdl.texi: Move to doc/include/fdl.texi.
16549 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16550 * doc/include/funding.texi, doc/include/gpl.texi: New files.
16551 * doc/gcc.texi: Use funding.texi and gpl.texi.
16552 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16553 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16554 Update dependencies and use -I $(docdir)/include.
16556 2001-07-04 Anthony Green <green@redhat.com>
16558 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16560 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16562 * doc/install.texi (sparc64-*-*): Remove garbage.
16564 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
16566 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16567 Fix typo in last change to use adjust_address.
16569 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16571 * doc/install.texi (Specific): Update information for *-*-solaris*.
16573 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16575 * explow.c (plus_constant_wide): Reinitialize Y for restart.
16577 2001-07-03 Stan Shebs <shebs@apple.com>
16579 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16580 case for flag_no_mach_text_sections.
16581 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16582 * config/darwin.c (flag_no_mach_text_sections): Remove.
16583 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16585 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16587 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16588 and avoid checking for constant as first operand.
16589 * recog.c (find_constant_term_loc): No longer static.
16590 (adj_offettable_operand): Delete.
16591 * rtl.h (adj_offsettable_operand): Delete declaration.
16592 (find_constant_term): Add declaration.
16593 * caller-save.c: Replace calls to adj_offsettable_operand with calls
16595 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16596 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16597 * config/i386/i386.c, config/i386/i386.md: Likewise.
16598 * config/i860/i860.c, config/i960/i960.c: Likewise.
16599 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16600 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16601 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16602 * config/mips/mips.c, config/mips/mips.md: Likewise.
16603 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16604 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16605 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16606 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16607 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16608 * config/ns32k/ns32k.md: Likewise.
16610 2001-07-03 Zack Weinberg <zackw@stanford.edu>
16612 * rtl.c (copy_rtx): Handle 'T' format letter.
16613 * gensupport.c (collect_insn_data): Likewise.
16614 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16616 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
16618 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16619 -B option. Use 'dir' not 'foo' as example directory name.
16621 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16623 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16624 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16626 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16628 * doc/cppinternals.texi: Improve formatting and logical markup.
16630 2001-07-03 Andreas Jaeger <aj@suse.de>
16632 * Makefile.in (insn-recog.o): Add dependency on reload.h.
16634 * genrecog.c (write_header): Include reload.h for prototypes in
16637 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
16640 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16641 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16642 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16643 i386_pe_valid_type_attribute_p): Add.
16644 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16645 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16647 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16649 * explow.c (plus_constant_wide, case LO_SUM): New case.
16650 (plus_constant_for_output_wide): Delete.
16651 * rtl.h (plus_constant_for_output): Delete.
16652 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16653 instead of plus_constant_for_output.
16654 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16655 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16656 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16657 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16658 * config/sparc/sparc.md: Likewise.
16659 Convert some change_address calls to adjust_address.
16661 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16663 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16664 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
16665 documentation of -std and -Wwrite-strings.
16667 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16669 * cse.c (canon_hash): Don't register registers in very small
16670 register classes, as extending their lifetime might cause
16673 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16675 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16677 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16678 (try_redirect_by_replacing_jump): Update properly the count
16679 and frequency information.
16681 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
16683 * toplev.c (dump_file_index): Move SSA dumps just after first
16685 (dump_file): Corresponding changes.
16686 (rest_of_compilation): Move SSA path to just after the first
16688 * doc/gcc.texi (Passes): Update due to movement of SSA path.
16689 * doc/invoke.texi: Update dump file #s as they were completely
16690 out of date with reality.
16692 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16694 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16696 * expr.c (emit_move_insn_1): Deal with non-default
16699 * expr.c (emit_single_push_insn): Fix warning.
16701 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
16703 * expr.c (emit_move_insn_1): Avoid modifying
16704 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16706 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16708 * emit-rtl.c (adjust_address): New function.
16709 * expr.h (adjust_address): Add declaration.
16710 * builtins.c: Replace some calls to change_address with calls to it
16711 or to validize_mem.
16712 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16713 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16714 * config/arm/arm.c, config/convex/convex.c: Likewise.
16715 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16716 * config/i386/i386.c, config/i386/i386.md: Likewise.
16717 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16718 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16719 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16720 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16721 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16723 2001-07-02 Jim Wilson <wilson@redhat.com>
16725 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16727 2001-07-02 Steve Ellcey <sje@cup.hp.com>
16729 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16730 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16732 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16734 * cppinit.c (lang_defaults): New table.
16735 (set_lang): Just read from lang_defaults into the live options
16738 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16740 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
16741 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
16742 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
16744 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16746 * doc/install.texi: Various spelling and markup fixes.
16747 (Installing GCC): Component specific installation instructions are
16750 Warn about removing old install dir in the presence of shared libs.
16751 (Configuration): Invoke with options target to match configure
16753 Consistently refer to gas, gld pathnames.
16754 Invert --enable-multilib documentation.
16755 Remove references to old compiler versions.
16757 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16759 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
16761 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16763 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
16765 (Specific, mips*-sgi-irix5): Note IDO download.
16766 Reworded MIPS C hints.
16767 Use GNU as instead of GAS.
16769 Removed SGI Freeware reference, IRIX 6 only.
16770 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
16771 Note N64 library requirement/workaround.
16773 Complete list of structure passing bug victims.
16775 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16777 * doc/install.texi: Remove CVS Id.
16779 2001-07-02 Andreas Jaeger <aj@suse.de>
16781 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
16782 (find_inherently_necessary): Remove unused variable.
16784 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
16786 * c-common.h (TDI_inlined): New ast dump phase.
16787 (dump_flag_name): New function.
16788 * c-dump.c (dump_files): Add inlined phase.
16789 (dump_flag_name): Define.
16790 * doc/invoke.texi (-fdump-ast-inlined): Document.
16792 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16794 * stor-layout.c (layout_decl): Revert change to handling of alignment
16797 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16799 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
16802 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
16804 * doc/tm.texi (FUNCTION_ARG): Document that the last call
16807 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
16809 * tlink.c (recompile_files): Remove COMPILER_PATH and
16810 LIBRARY_PATH from the environment.
16812 2001-07-01 Zack Weinberg <zackw@stanford.edu>
16814 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
16815 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
16817 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
16819 * c-parse.in (OBJC_STRING): Kill.
16820 (objc_string): Decompose to [objc_string] '@' STRING.
16821 (reswords): Take the leading '@' off all the Objective C keywords.
16822 (objc_rid_sans_at): Kill.
16823 (init_reswords): Don't initialize it.
16824 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
16825 (_yylex): Kill reconsider label. Look ahead one token after
16826 an '@'; if we get an identifier, check whether it's an
16827 Objective C @-keyword. If so, return the keyword. Otherwise,
16828 put back the token and return the '@' as a terminal.
16830 * cpplib.c (lex_macro_node): Remove unnecessary check for
16831 leading '@' on identifier. Clarify control flow and commentary.
16833 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16835 * cse.c (new_label_ref): Variable deleted.
16836 (insert): Remove set of new_label_ref.
16837 (check_for_label_ref): New function.
16838 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16840 See ChangeLog.5 for earlier changes.