1 2001-12-28 Hans Bohem <hans_boehm@hp.com>
3 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
4 * config/ia64/unwind-ia64.c (uw_init_context_1): Redo sp, psp,
5 bsp setup. Set pri_unat_loc to something reasonable.
6 (uw_install_context): Add missing cast.
7 (unw_access_gr): Fix off-by-1 indexing error.
9 2001-12-28 Kazu Hirata <kazu@hxi.com>
11 * except.c: Fix comment formatting.
14 * predict.c: Likewise.
15 * simplify-rtx.c: Likewise.
18 * vmsdbgout.c: Likewise.
20 2001-12-28 Kazu Hirata <kazu@hxi.com>
22 * config/h8300/h8300.md: Fix formatting.
24 2001-12-28 Geoff Keating <geoffk@redhat.com>
26 * varasm.c (record_constant_1): Correct parameter to recursive
29 2001-12-28 Jakub Jelinek <jakub@redhat.com>
31 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT,
32 ASM_OUTPUT_DWARF_PCREL): Define.
33 * config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
34 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports
35 .uaword %r_disp32() and linker handles it correctly.
36 * configure, config.in: Rebuilt.
38 2001-12-28 Jakub Jelinek <jakub@redhat.com>
40 * c-typeck.c (store_init_value): If initializing object with array
41 type of unknown size by a compound literal, set object's size from
42 compound literal size.
43 * doc/extend.texi (Compound Literals): Adjust documentation.
45 2001-12-28 Richard Henderson <rth@redhat.com>
47 * real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT.
48 (endian): Clear word 3 for INTEL_EXTENDED_IEEE_FORMAT.
49 (etartdouble): Invoke etoe64 for INTEL_EXTENDED_IEEE_FORMAT.
50 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Don't special case
51 INTEL_EXTENDED_IEEE_FORMAT.
53 2001-12-27 Geoff Keating <geoffk@redhat.com>
55 * combine.c (try_combine): Mask off sign bits when combining
56 stores to the low and high parts of a two-word value.
58 * expr.c (expand_expr): Don't mark memory for non-constants as
61 Thu Dec 27 20:39:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
63 * integrate.c (copy_rtx_and_substitute, case MEM): If inlining
64 and not for LHS, clear RTX_UNCHANGING_P.
66 2001-12-28 Philipp Thomas <pthomas@suse.de>
68 * cppfiles.c (stack_include_file): Don't translate <stdin>.
70 2001-12-27 Roger Sayle <roger@eyesopen.com>
72 * builtins.c (expand_builtin_memcmp): Optimize memcmp built-in
73 when all arguments are known constant. Fixes PR opt/3508.
75 2001-12-27 Kazu Hirata <kazu@hxi.com>
77 * config/h8300/h8300.md (two anonymous patterns): Remove.
79 2001-12-27 Richard Henderson <rth@redhat.com>
81 * haifa-sched.c (reemit_other_notes): New.
82 (schedule_block): Use it.
83 * sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes.
84 * sched-rgn.c (schedule_insns): Likewise.
85 * cfglayout.c (remove_scope_notes): Handle removing note at
86 the end of the insn chain.
87 * function.c (debug_find_var_in_block_tree): New.
89 2001-12-27 Alan Modra <amodra@bigpond.net.au>
90 David Edelsohn <edelsohn@gnu.org>
92 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify.
94 2001-12-27 Jakub Jelinek <jakub@redhat.com>
96 * toplev.c (independent_decode_option): Re-add -aux-info option
99 Thu Dec 27 09:50:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
101 * integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note
104 2001-12-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
106 * collect2.c (is_ctor_dtor): Const-ify.
107 * m88k-protos.h (output_file_start): Likewise.
108 * m88k.c (m88k_lang_independent_options, output_options,
109 output_file_start): Likewise.
110 * fix-header.c (files_to_ignore, std_include_entry, include_entry,
111 std_include_table, main): Likewise.
112 * protoize.c (longopts): Likewise.
113 * regclass.c (int_reg_class_contents): Likewise.
114 * toplev.c (dump_file, f_options, W_options): Make static.
115 (lang_independent_options, f_options, W_options): Const-ify.
116 * tree-dump.c (dump_file_info): Likewise.
117 * unroll.c (_factor): Make static.
119 Wed Dec 26 17:55:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
121 * config/alpha/alpha.c (alpha_align_insns): Remove warning.
123 * config/sparc/sparc.md (call struct patterns): Show starting
126 2001-12-26 David Edelsohn <edelsohn@gnu.org>
128 * rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405.
129 * sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405.
131 2001-12-26 DJ Delorie <dj@redhat.com>
133 * function.c (expand_main_function): Make sure stack adjustments
134 happen before sjlj exception setup.
136 2001-12-26 David Edelsohn <edelsohn@gnu.org>
138 * rs6000.md (indirect_jump): Prefer CTR over LR.
139 * xcoff.h (ASM_DECLARE_FUNCTION_NAME): Handle weak function.
141 Tue Dec 25 12:04:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
143 * dwarf2out.c: Reformatting and minor code rearrangement.
145 2001-12-24 Douglas B. Rupp (rupp@gnat.com)
147 * configure.in (quoted_stage_prefix_set_by_configure): Generate.
148 * configure: Regenerated.
149 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Use
150 quoted_stage_prefix_set_by_configure.
152 Mon Dec 24 10:24:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
154 * rtl.h (in_expr_list_p): New declaration.
155 * rtlanal.c (in_expr_list_p): New function.
156 * cfgcleanup.c: Reformatting and minor code rearrangement.
157 * cfglayout.c, cfgloop.c, cfgrtl.c: Likewise.
159 2001-12-23 Richard Henderson <rth@redhat.com>
162 * c-decl.c (duplicate_decls): As needed, set DECL_INLINE when
163 we have a function body associated. Minor cleanups.
164 (grokdeclarator): Do not set DECL_INLINE without a function body.
166 2001-12-23 Richard Henderson <rth@redhat.com>
168 * stmt.c (resolve_operand_names): Handle operand modifiers.
170 2001-12-23 Richard Henderson <rth@redhat.com>
172 * stmt.c (parse_input_constraint): Break out from ...
173 (expand_asm_operands): ... here. Loop over the operands twice,
174 the first time only calling mark_addressable. Correct and simplify
175 the conditions for spilling an output operand to memory.
177 2001-12-23 Richard Henderson <rth@redhat.com>
179 * config/alpha/alpha.c (call_operand) [OSF]: Disallow virtual regs.
181 * config/alpha/alpha.md (UNSPEC_SIBCALL): New.
182 (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it.
183 (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise.
185 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
187 * c-typeck.c (c_start_case): Don't strip conversions from the
188 controlling expression. Partially fixes PR c/2454.
190 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
192 * Makefile.in (USER_H): Remove proto.h.
193 * config.gcc (c*-convex-*): Set extra_headers=proto.h.
195 2001-12-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197 * arc.c (arc_hard_regno_mode_ok): Const-ify.
198 * arc.h (arc_hard_regno_mode_ok): Likewise.
199 * i386.c (x86_64_reg_class_name): Make static.
200 * m68k.c (regno_reg_class): Const-ify.
201 * m68k.h (regno_reg_class): Likewise.
202 * mcore.c (reg_class_from_letter): Likewise.
203 * mcore.h (reg_class_from_letter): Likewise.
204 * sh.c (reg_class_from_letter, ashiftrt_insns, shift_insns,
205 ext_shift_insns, ext_shift_amounts): Likewise.
206 * sh.h (reg_class_from_letter): Likewise.
207 * sparc.c (hard_regno_mode_classes, hard_32bit_mode_classes,
208 hard_64bit_mode_classes): Likewise.
209 * sparc.h (hard_regno_mode_classes): Likewise.
211 * gcc.c (modify_target): Make static.
212 * gengenrtl.c (defs, formats): Likewise.
213 * reload1.c (elim_table_1, init_elim_table): Const-ify.
214 * tradcpp.c (directive, directive_table, handle_directive,
215 skip_if_group, run_directive): Likewise.
217 2001-12-23 Richard Henderson <rth@redhat.com>
219 * calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for
220 an invalid result register; do end the sequence properly.
221 (emit_library_call_value_1): Likewise.
223 2001-12-22 Aldy Hernandez <aldyh@redhat.com>
225 * config/rs6000/rs6000.h (rs6000_builtins): Add vsldoi variants.
227 * config/rs6000/rs6000.md ("altivec_vsldoi_*"): Same.
229 * config/rs6000/rs6000.c: Clean up some spacing and indentation.
230 (altivec_init_builtins): Add tree types for builtins with 4 bit
232 (bdesc_3arg): Add vsldoi variants.
234 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
236 * 1750a.h (datalbl, jmplbl): Declare array size explicitly.
237 * a29k.h (a29k_debug_reg_map): Likewise.
238 * arc.h (arc_regno_reg_class): Likewise.
239 * c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise.
240 * convex.h (regno_reg_class, reg_class_from_letter): Likewise.
241 * d30v.h (regno_reg_class, reg_class_from_letter): Likewise.
242 * i386.h (regclass_map): Likewise.
243 * m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise.
244 * mcore.h (regno_reg_class): Likewise.
245 * mips.h (mips_print_operand_punct, mips_char_to_class):
247 * ns32k.h (regclass_map): Likewise.
248 * pj.h (pj_debugreg_renumber_vec): Likewise.
249 * s390.h (regclass_map): Likewise.
250 * sh.h (regno_reg_class): Likewise.
251 * sparc.h (sparc_regno_reg_class): Likewise.
253 * hard-reg-set.h (reg_class_contents): Likewise.
254 * machmode.h (class_narrowest_mode): Likewise.
256 2001-12-22 David Edelsohn <edelsohn@gnu.org>
258 * loop.c (scan_loop, move_movables, count_one_set): Do not
259 overlook hard registers when computing statistics.
261 Sun Dec 23 00:49:37 CET 2001 Jan Hubicka <jh@suse.cz>
263 * calls.c (ECF_LIBCALL_BLOCK): New constant.
264 (emit_call_1, initialize_argument_information,
265 precompute_arguments, expand_call,
266 emit_library_call_value_1): Use ECF_LIBCALL_BLOCK
267 instead of ECF_PURE | ECF_CONST. Honnor LCT_CONST/LCT_PURE.
269 2001-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
271 * config.gcc (extra_headers): Move settings to math-68881.h and
272 ppc-asm.h to common code for CPU types. Use math-68881.h on all
274 (header_files): Remove unused setting.
276 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
278 * elxsi.c: Include "hard-reg-set.h" and/or don't declare
279 `call_used_regs' explicitly.
287 Fri Dec 21 23:30:14 CET 2001 Jan Hubicka <jh@suse.cz>
289 * i386.h (TARGET_CPU_DEFAULT_pentium_mmx): New.
290 (TARGET_CPU_DEFAULT_*): Renumber.
292 Sat Dec 22 12:20:20 EST 2001 John Wehle (john@feith.com)
294 * rtl.h (subreg_lsb): Declare.
295 * rtlanal.c (subreg_lsb): Implement.
297 Sat Dec 22 08:59:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
299 * predict.c: Reformatting and minor cleanups.
300 * cfg.c, cfganal.c, cfgbuild.c: Likewise.
302 * expr.c (expand_expr, case ADDR_EXPR): Handling taking address of
304 * function.c (gen_mem_addressof): Add missing tests for SAVE_EXPR.
305 (put_addressof_into_stack): Clarify code in setting of used_p.
307 * calls.c (flags_from_decl_or_type): Move ECF_SP_DEPRESSED here.
308 (expand_call): Delete from here.
309 Do pending stack adjustments if ECF_SP_DEPRESSED.
311 * dwarf2out.c (save_rtx): Deleted.
312 (mem_loc_descriptor): Do equivalent operation.
313 (add_const_value_attribute, case CONST): Likewise.
314 (add_name_and_src_coords_attributes): Likewise.
316 2001-12-21 Kazu Hirata <kazu@hxi.com>
318 * config/h8300/h8300.h: Fix comment formatting.
320 Fri Dec 21 17:30:15 2001 Jeffrey A Law (law@redhat.com)
322 * pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
323 (CPLUSPLUS_CPP_SPEC): Define _INCLUDE_LONGLONG.
325 2001-12-21 Robert Lipe <robertlipe@usa.net>
327 * system.h (PREFETCH): Explictly undefine.
329 2001-12-21 Richard Henderson <rth@redhat.com>
331 * c-parse.in (SAVE_WARN_FLAGS): Save warn_traditional.
332 (RESTORE_WARN_FLAGS): Restore it.
333 (extension): Zero warn_traditional.
335 2001-12-21 Kazu Hirata <kazu@hxi.com>
337 * doc/passes.texi: Fix a typo.
339 2001-12-21 Kazu Hirata <kazu@hxi.com>
341 * config/h8300/h8300.h: Fix a comment typo.
343 2001-12-21 Jakub Jelinek <jakub@redhat.com>
345 * combine.c (nonzero_bits): If using reg_nonzero_bits,
346 we don't know anything about bits outside of X mode.
347 (num_sign_bit_copies): Likewise.
349 2001-12-21 Nick Clifton <nickc@cambridge.redhat.com>
351 * config/arm/arm.md (prefetch): Use 'a' operand code.
353 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
355 * aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in
357 * configure.in: Likewise for perl Pod::Man.
359 * configure: Regenerated.
361 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363 * builtin-attrs.def (__builtin_printf_unlocked,
364 __builtin_fprintf_unlocked, printf_unlocked, fprintf_unlocked):
365 Mark with the __printf__ attribute.
367 * builtins.c (expand_builtin_fputs): Add an `unlocked' parameter
368 and set the replacement function depending on it.
369 (expand_builtin): Skip BUILT_IN_*_UNLOCKED when not optimizing.
370 Handle BUILT_IN_*_UNLOCKED when optimizing.
372 * builtins.def (DEF_EXT_FALLBACK_BUILTIN,
373 DEF_EXT_FRONT_END_LIB_BUILTIN): New macros.
374 Declare the "unlocked" stdio functions.
376 * c-common.c (c_expand_builtin_printf, c_expand_builtin_fprintf):
377 Add an `unlocked' parameter and set the replacement function
379 (c_expand_builtin): Handle BUILT_IN_PRINTF_UNLOCKED and
380 BUILT_IN_FPRINTF_UNLOCKED.
382 * doc/extend.texi (printf_unlocked, fprintf_unlocked,
383 fputs_unlocked): Document.
385 2001-12-20 Josef Zlomek <zlomek@matfyz.cz>
387 * cfgloop.c (flow_loops_find): Use the information of the depth
388 first search order of the CFG correctly when finding natural loops.
390 2001-12-20 Richard Henderson <rth@redhat.com>
392 * config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.
394 2001-12-20 Richard Henderson <rth@redhat.com>
396 * config/alpha/alpha.c (call_operand) [OSF]: Accept pseudos.
397 * config/alpha/alpha.md (call_osf, call_value_osf): Don't force
400 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
402 * configure.in (all_headers, all_lib2funcs): Remove.
403 * configure: Regenerate.
404 * Makefile.in (LANG_EXTRA_HEADERS): Remove.
405 (USER_H): Don't include $(LANG_EXTRA_HEADERS).
406 * config/alpha/t-interix (USER_H): Don't include
407 $(LANG_EXTRA_HEADERS).
408 * config/i386/t-interix: Likewise.
409 * config/t-openbsd: Likewise.
411 2001-12-20 Andreas Jaeger <aj@suse.de>
413 * libgcc2.c (__bb_exit_func): Remove unused variable.
414 (num_digits): Remove unused function.
416 2001-12-20 Alan Shieh <ashieh@hkn.eecs.berkeley.edu>
418 * config/arm/arm.c (arm_output_epilogue): Changed IP restore
419 to use ldmfd instead of ldmea.
420 * config/arm/arm.c (arm_compute_initial_elimination_offset):
421 Modified to reflect behavior of arm_expand_prologue when generating
424 2001-12-20 Nick Clifton <nickc@cambridge.redhat.com>
426 * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): New
427 function. Compute which of registers r0 through r12 should be
428 saved onto the stack during a function's prologue.
429 (arm_compute_save_reg_mask): Use
430 arm_compute_save_reg0_reg12_mask.
431 (arm_compute_initial_elimination_offset): Use
432 arm_compute_save_reg0_reg12_mask.
434 (arm_expand_prologue): Do not mark as save of the IP register
435 for an interrupt handler as being part of the frame creation
438 2001-12-20 Richard Henderson <rth@redhat.com>
440 * varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer
441 to emit floating point values.
442 (assemble_real_1): Remove.
444 * 1750a/1750a.c (real_value_to_target_single): New.
445 (real_value_to_target_double): New.
446 * 1750a/1750a.h (TARGET_FLOAT_FORMAT): New.
447 (REAL_VALUE_TO_TARGET_SINGLE): New.
448 (REAL_VALUE_TO_TARGET_DOUBLE): New.
449 * 1750a/1750a-protos.h: Update.
451 * 1750a/1750a.h, a29k/a29k.h, alpha/alpha.h, alpha/unicosmk.h,
452 alpha/vms.h, arc/arc.h, arm/aof.h, arm/aout.h, avr/avr.c,
453 avr/avr.h, c4x/c4x.h, clipper/clix.h, convex/convex.h, cris/cris.h,
454 d30v/d30v.h, dsp16xx/dsp16xx.c, dsp16xx/dsp16xx.h, elxsi/elxsi.h,
455 fr30/fr30.h, h8300/h8300.h, i370/i370.h, i386/i386.h, i386/i386elf.h,
456 i386/next.h, i386/ptx4-i.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h,
457 i860/paragon.h, i860/sysv4.h, i960/i960-protos.h, i960/i960.c,
458 i960/i960.h, ia64/ia64.h, m32r/m32r.h, m68hc11/m68hc11.c,
459 m68hc11/m68hc11.h, m68k/3b1.h, m68k/altos3068.h, m68k/crds.h,
460 m68k/dpx2.h, m68k/hp320.h, m68k/m68k.h, m68k/mot3300.h, m68k/news.h,
461 m68k/next.h, m68k/next21.h, m68k/sgs.h, m68k/sun2o4.h, m68k/sun3.h,
462 m68k/tower-as.h, m88k/m88k.h, mcore/mcore.h, mips/mips-protos.h,
463 mips/mips.c, mips/mips.h, mmix/mmix-protos.h, mmix/mmix.c,
464 mmix/mmix.h, mn10200/mn10200.h, mn10300/mn10300.h, ns32k/encore.h,
465 ns32k/ns32k.h, pa/long_double.h, pa/pa.h, pdp11/pdp11.h, pj/pj.h,
466 romp/romp.c, romp/romp.h, rs6000/rs6000.h, s390/linux.h, sh/sh.h,
467 sparc/sparc.h, stormy16/stormy16.h, v850/v850.h, vax/vax.h,
468 vax/vaxv.h, we32k/we32k.h, doc/tm.texi: Remove ASM_OUTPUT_FLOAT,
469 ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE_FLOAT,
470 ASM_OUTPUT_SHORT_FLOAT, ASM_OUTPUT_THREE_QUARTER_FLOAT, and all
471 associated support routines.
473 Thu Dec 20 16:58:46 CET 2001 Jan Hubicka <jh@suse.cz>
475 * cfgcleanup.c (flow_find_cross_jump): Avoid incrementing of ninsns
476 if one of block does not contain jump.
477 (outgoing_edge_math): Revert last path; require edges to be noncomplex
478 nonfake to match single exit edge; require conditional jumps to not
481 2001-12-20 Turly O'Connor <turly@apple.com>
483 * tm.texi (ASM_OUTPUT_OPERAND): Change documentation references to
484 "recog_operand" to "recog_data.operand".
487 2001-12-20 Jakub Jelinek <jakub@redhat.com>
489 * simplify-rtx.c (simplifi_binary_operation) [DIV]: If DIV has
490 narrower mode than op0, only return the bits in DIV's mode.
492 2001-12-20 Jakub Jelinek <jakub@redhat.com>
494 * combine.c (distribute_notes): Avoid adding REG_LABEL notes
495 to JUMP_INSNs with JUMP_LABEL.
497 2001-12-19 Aldy Hernandez <aldyh@redhat.com>
499 * doc/install.texi: Add documentation for --enable-altivec.
501 * config.gcc: Add support for --enable-altivec.
503 * config/rs6000/altivec.h: New.
505 * config/rs6000/linuxaltivec.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
508 * config/rs6000/rs6000.c (vrsave_operation): Change unspec to
510 (generate_set_vrsave): Generate the unspec here instead of calling
512 (generate_set_vrsave): Use gen_rtvec.
513 (rs6000_emit_prologue): Replace call to gen_get_vrsave with
516 * config/rs6000/rs6000.md ("*movsi_internal1"): Add constraints
517 for setting special registers.
518 ("*set_vrsave_internal"): Use unspec_volatile.
519 ("set_vrsave"): Remove.
520 ("get_vrsave"): Remove.
522 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add vrsave to
525 2001-12-19 Bruce Korb <bkorb@gnu.org>
527 * gcc/fixinc/inclhack.def: Remove all the fix suppression "fixes".
528 (strict_ansi_not_ctd): accommodate __STDC__ == 0 tests in UW 2.1.2
529 * gcc/fixinc/mkfixinc.sh(i?86-*-sysv4.2uw2*): now uses fixincl program
530 * gcc/fixinc/base/...: adjust for changes in fixes
532 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
534 * po/gcc.pot: Regenerate.
536 * configure.in (all_diff_excludes, diff_excludes): Remove.
537 * configure: Regenerate.
538 * Makefile.in (LANG_DIFF_EXCLUDES): Remove.
539 * objc/config-lang.in (diff_excludes): Remove.
541 2001-12-19 Dan Nicolaescu <dann@ics.uci.edu>
543 * config/sparc/sparc.md (ldd peephole2s): For load peepholes pass
544 the destination register as a parameter to mems_ok_for_ldd_peep.
545 For store peepholes pass NULL_RTX. Move all volatile checks ...
546 * config/sparc/sparc.c (mems_ok_for_ldd_peep): ... here. Add a
547 register parameter, check it's not the same as base for an address.
548 * config/sparc/sparc-protos.h (mems_ok_for_ldd_peep): Update.
550 2001-12-19 Jakub Jelinek <jakub@redhat.com>
552 * config/ia64/ia64.c (ia64_single_set): Return first set for
553 prologue_allocate_stack and epilogue_deallocate_stack instructions.
555 2001-12-19 Dale Johannesen <dalej@apple.com>
557 * config/rs6000/rs6000.h: LEGITIMIZE_RELOAD_ADDRESS:
558 redefine in terms of rs6000_legitimize_reload_address().
559 * config/rs6000/rs6000-protos.h: Add this function.
560 * config/rs6000/rs6000.c: Add this function. Includes
561 handling for Darwin FP constants.
563 Wed Dec 19 11:01:21 2001 Jeffrey A Law (law@redhat.com)
565 * config/pa/t-hpux-shlib: New file.
566 * config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file
567 for 32bit hpux10 & hpux11 configurations.
569 2001-12-19 Nick Clifton <nickc@cambridge.redhat.com>
571 * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Pass
572 -mno-fpu onto gas unless -mhard-float is specified.
573 (MULTILIB_DEFAULTS): Include msoft-float.
575 * config/arm/t-xscale-coff (EXTRA_MULTILIB_PARTS): Remove definition.
577 * config/arm/coff.h (SUPPORTS_INIT_PRIORITY): Define (to false).
578 * config/arm/elf.h (SUPPORTS_INIT_PRIORITY): Define (to true).
580 Wed Dec 19 06:12:34 2001 Douglas B. Rupp <rupp@gnat.com>
582 * dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
585 2001-12-18 Stan Shebs <shebs@apple.com>
587 * rs6000.h (LOCAL_ALIGNMENT): Fix parens.
589 Tue Dec 18 17:02:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
591 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
594 2001-12-18 David Edelsohn <edelsohn@gnu.org>
596 * rs6000.c (rs6000_override_options): Only use DI ops when
597 TARGET_64BIT. Fix typo.
599 Tue Dec 18 16:39:46 CET 2001 Jan Hubicka <jh@suse.cz>
601 * att.h (ASM_FILE_START): Use asm_dialect.
602 * linux.h (ASM_FILE_START): Likewise.
603 * gas.h (ASM_FILE_START): Likewise.
604 * i386.c (ix86_debug_arg_string, ix86_debug_addr_string,
605 ix86_asm_string, ix86_asm_dialect): New.
606 (override_options): Set asm_dialect.
607 * i386.h (MASK_MIX_SSE_I387, MASK_INTEL_SYNTAX, MASK_DEBUG_ARG,
608 MASK_DEBUG_ADDR): Kill.
609 (MASK_64BIT, MASK_NO_RED_ZONE): renumber.
610 (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Use string.
611 (ASSEMBLER_DIALECT): Use asm_dialect.
612 (TARGET_SWITCHES): Undocument deprecated items; deprecate intel-syntax;
613 remove debug-addr and debug-arg.
614 (TARGET_OPTIONS): Add debug-arg, debug-addr, asm.
615 (asm_dialect): New enum.
616 (ix86_debug_arg_string, ix86_debug_addr_string,
617 ix86_asm_string, ix86_asm_dialect): Declare.
618 * invoke.texi (-mintel-syntax): Remove.
621 Tue Dec 18 16:37:42 CET 2001 Jan Hubicka <jh@suse.cz>
623 * libgcc2.c (__bb_exit_func): Kill -ax dumping code.
625 2001-12-18 Jason Merrill <jason@redhat.com>
627 C++ ABI change: destroy value arguments in caller.
628 * calls.c (initialize_argument_information): Pass the address of
629 the TARGET_EXPR temporary rather than storing it into another.
631 Tue Dec 18 07:09:06 2001 Douglas B. Rupp <rupp@gnat.com>
633 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
634 * config/alpha/vms.h (STACK_CHECK_BUILTIN): #define 0 for VMS.
636 2001-12-18 Jakub Jelinek <jakub@redhat.com>
638 * config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
639 * config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
640 * config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
641 (CC1_SPEC): Don't default to -gstabs+ if -m32.
643 2001-12-05 David O'Brien <obrien@FreeBSD.org>
645 * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
647 2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
649 * po/gcc.pot: Regenerate.
651 2001-12-18 Kazu Hirata <kazu@hxi.com>
653 * config/h8300/h8300.c: Fix comment typos.
654 * config/h8300/h8300.h: Fix comment formatting.
656 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
658 * machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
659 mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
660 declaration to NUM_MACHINE_MODES.
661 (mode_size, mode_unit_size): Set array type to unsigned char.
662 (mode_bitsize): Set array type to unsigned short.
664 * rtl.c (rtx_length): Set array type to unsigned char.
665 (rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
667 (mode_bitsize): Set array type to unsigned short.
668 (mode_size, mode_unit_size): Set array type to unsigned char.
669 (mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
670 mode_wider_mode, mode_mask_array): Set array size to
673 * rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
674 size in declaration to NUM_RTX_CODE.
676 2001-12-17 Richard Henderson <rth@redhat.com>
678 * config/alpha/alpha.md (unop): Encode RB as $sp.
680 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
682 * Makefile.in: Update dependencies.
683 * c-lang.c: Remove unnecessary includes.
684 (deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to
686 (finish_file): Move body to c_common_finish_file.
687 * c-objc-common.c: Include varray.h and ggc.h.
688 (deferred_fns, start_cdtor, finish_cdtor, defer_fn,
689 expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c.
690 (c_objc_common_init): Initialize deferred function array.
691 * c-tree.h (c_objc_common_finish_file,
692 static_ctors, static_dtors): New.
694 * Make-lang.in: Update dependencies.
695 * objc/objc-act.c: Don't include varray.h.
696 (defer_fn, deferred_fns): Move to c-objc-common.c.
697 (objc_init): Similarly for initialization of it.
698 (finish_file): Move some to c-objc-common.c, use
699 c_objc_common_finish_file.
701 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
703 * config/rs6000/rs6000.c: Remove is_gpr_return_reg prototype.
705 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
707 * doc/cppinternals.texi: Update.
709 Mon Dec 17 14:21:21 2001 Jeffrey A Law (law@redhat.com)
711 * expmed.c (emit_store_flag): Extract updated comparison code
712 from the return value of compare_from_rtx.
713 * expr.c (do_store_flag): Similarly.
715 2001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
717 * caller-save.c (init_caller_save): Use MODE_BASE_REG_CLASS in
718 preference to BASE_REG_CLASS.
719 * recog.c (preprocess_constraints): Ditto.
720 * regclass.c (record_operand_costs, scan_one_insn, regclass,
721 record_reg_classes, record_address_regs): Ditto.
722 * regrename.c (scan_rtx_address, scan_rtx,
723 replace_oldest_value_addr, replace_oldest_value_mem): Ditto.
724 * reload.c (find_reloads, find_reloads_address,
725 find_reloads_address_1): Ditto.
726 * reload1.c (maybe_fix_stack_asms): Ditto.
727 * defaults.h (MODE_BASE_REG_CLASS): Provide default
729 * doc/tm.texi: Document MODE_BASE_REG_CLASS.
731 * config/arm/arm.h (MODE_BASE_REG_CLASS): Define.
733 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
735 * doc/install.texi2html: Use -I $SOURCEDIR.
737 Separate user and internals manuals.
738 * Makefile.in (info, $(docdir)/gcc.info, dvi, gcc.dvi): Update
740 ($(docdir)/gccint.info, gccint.dvi): New targets.
741 (maintainer-clean, install-info, uninstall): Update.
742 * doc/.cvsignore: Add gccint.info*.
743 * doc/include/gcc-common.texi: New file.
744 * doc/gcc.texi: Use it. Adjust to be a user-only manual. Put
745 copyright notice in a macro. Don't include ISBN unless FSFPRINT
747 * doc/gccint.texi: New file.
748 * doc/configfiles.texi, doc/extend.texi, doc/invoke.texi,
749 doc/md.texi, doc/passes.texi, doc/tm.texi, doc/trouble.texi:
750 Update for separate user and internals manuals.
752 2001-12-17 Dale Johannesen <dalej@apple.com>
754 * config/rs6000/rs6000.h: CPP_CPU_SPEC: add mcpu=7400.
756 RTX_COSTS: Fix timing info for 7450 multiply.
757 * config/rs6000/rs6000.md: Fix timing info for 7450 imul.
758 Allow floats to be kept in int regs in movsf_low,
759 movsf_low_st (Darwin only)
761 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
763 * config/rs6000/rs6000.c (vrsave_operation): Recognize SETs in
765 (is_gpr_return_reg): New.
766 (rs6000_emit_prologue): Call generate_set_vrsave with additional
767 argument. Save only registers in the mask. Attach
768 REG_FRAME_RELATED_EXPR note to altivec offsets. Do not call
769 rs6000_frame_related when saving VRSAVE.
770 (rs6000_emit_epilogue): Call generate_set_vrsave with additional
771 argument. Restore only registers in the mask. Restore altivec
772 registers after we restore CR.
773 (generate_set_vrsave): New parameter epiloguep. Generate unspec
774 sets instead of clobbers for call saved registers.
775 (altivec_frame_fixup): New.
777 2001-12-17 Richard Henderson <rth@redhat.com>
779 * config/sparc/sparc.md (movdi_zero): Remove.
780 (movdi_insn_sp32_v9): New.
782 2001-12-17 Richard Henderson <rth@redhat.com>
784 * cfgcleanup.c (outgoing_edges_match): Check for insn match with
785 a single outgoing edge too.
787 Mon Dec 17 18:27:52 CET 2001 Jan Hubicka <jh@suse.cz>
789 * cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal
790 edges resulting from computed jump
792 Mon Dec 17 17:57:05 CET 2001 Jan Hubicka <jh@suse.cz>
794 * Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
795 * basic-block.h (CLEANUP_THREADING): New constant.
796 * cfgcleanup.c: Include cselib.h
797 (thread_jump, mark_effect): New functions.
798 (try_forward_edges): Do jump threading when asked for.
799 * jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
800 modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
801 * rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
802 * toplev.c (rest_of_compilation): Do now call thread_jumps; use
803 CLEANUP_THREAD instead.
805 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
807 * sparc/linux.h (STARTFILE_SPEC): Fix typo in last change.
809 2001-12-17 Tom Rix <trix@redhat.com>
811 * config/rs6000/rs6000.c (expand_block_move): Fix limits on max size
814 2001-12-17 Richard Sandiford <rsandifo@redhat.com>
816 * target.h (asm_out.byte_op, asm_out.aligned_op, asm_out.unaligned_op,
817 asm_out.integer): New fields.
818 * target-def.h (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_[HSDT]I_OP,
819 TARGET_ASM_UNALIGNED_[HSDT]I_OP, TARGET_ASM_INTEGER): New initialisers.
820 (TARGET_ASM_ALIGNED_INT_OP, TARGET_ASM_UNALIGNED_INT_OP): Collect
821 the individual initialisers together.
822 (TARGET_ASM_OUT): Add the new initialisers.
823 * output.h (assemble_integer): Return bool.
824 (integer_asm_op): Declare.
825 (default_assemble_integer): Declare.
826 (assemble_aligned_integer): New interface to assemble_integer.
827 * varasm.c (integer_asm_op): New function to select pseudo-op.
828 (default_assemble_integer): Default implementation of asm_out.integer.
829 (assemble_integer): Use the new target hook. Split objects into
830 words or bytes if the target hook fails. Return bool.
831 * doc/tm.texi (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_OUTPUT_SHORT,
832 ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_OUTPUT_QUADRUPLE_INT,
833 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
834 UNALIGNED_DOUBLE_INT_ASM_OP): Undocument.
835 Document new target hooks.
837 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Use integer_asm_op.
838 * dwarf2asm.c (unaligned_integer_asm_op): Remove.
839 (dw2_assemble_integer): New.
840 (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
841 dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx,
842 dw2_asm_output_encoded_addr_rtx): Use it.
843 (dw2_asm_output_nstring): Use assemble_integer for the null terminator.
844 (dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Use
845 integer_asm_op to get the byte pseudo-op. Use assemble_integer
847 * dwarf2asm.h (dw2_assemble_integer): Declare.
848 * dwarfout.c: Include dwarf2asm.h. Use dwarf2 functions for the
849 default implementation of most macros.
850 (output_unsigned_leb128): Use dw2_asm_output_data.
851 (output_signed_leb128, dwarfout_source_line): Likewise.
852 (output_reg_number): Use dw2_assemble_integer.
853 (generate_macinfo_entry): Separate the type and offset arguments.
854 Use assemble_integer to write the value.
855 (dwarfout_start_source_file): Update generate_macinfo_entry usage.
856 (dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Likewise.
857 * final.c (output_addr_const): Don't put brackets round a subtracted
859 * halfpic.c (half_pic_finish): Use assemble_aligned_integer.
861 * config/1750a/1750a.c (assemble_integer_1750a): New,
862 * config/alpha/alpha.h (literal_section): Avoid ASM_OUTPUT_INT.
863 * config/arc/arc.c (arc_assemble_integer): New.
864 * config/arc/arc.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
865 * config/arm/arm.c (arm_poke_function_name): Likewise.
866 (arm_assemble_integer): New, extracted from...
867 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): ...here, now removed.
868 (ARM_TRAMPOLINE_TEMPLATE, ARM_FUNCTION_PROFILER): Avoid ASM_OUTPUT_INT.
869 (ARM_FUNCTION_PROFILER): Likewise.
870 * config/avr/avr-protos.h (asm_output_byte): Remove.
871 (asm_output_char, asm_output_short): Remove.
872 * config/avr/avr.c (avr_assemble_integer): New.
873 (asm_output_byte, asm_output_char, asm_output_short): Remove.
874 * config/clipper/clipper.h (ASM_LONG): Remove.
875 * config/dsp16xx/dsp16xx-protos.h (asm_output_long): Remove.
876 * config/dsp16xx/dsp16xx.c (asm_output_long): Remove.
877 * config/elxsi/elxsi.c (elxsi_assemble_integer): New.
878 * config/i370/i370.c (i370_hlasm_assemble_integer): New.
879 * config/i370/i370.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
880 (ASM_BYTE, ASM_SHORT, ASM_LONG): Delete.
881 * config/i386/att.h, (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
882 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
883 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
884 * config/i386/sco5.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
885 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
886 * config/i386/sysv4.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
887 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
888 * config/i860/fx2800.h (ASM_FILE_END): Avoid ASM_LONG.
889 * config/i860/i860.c (i860_output_function_epilogue): Likewise.
890 * config/i860/i860.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
891 (ASM_SHORT, ASM_LONG): Undefine.
892 * config/i860/paragon.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
893 * config/i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
894 * config/i960/i960.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
895 * config/ia64/ia64.c (ia64_assemble_integer): New.
896 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use integer_asm_op.
897 (ASM_OUTPUT_DWARF_PCREL): Likewise.
898 * config/m68hc11/m68hc11.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
899 ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT): Avoid ASM_LONG.
900 (ASM_SHORT, ASM_LONG): Remove.
901 * config/m68k/m68k.h (INT_OP_GROUP): New macro.
902 (INT_OP_STANDARD, INT_OP_DOT_WORD, INT_OP_NO_DOT, INT_OP_DC): New
903 macros, the allowed values for INT_OP_GROUP.
904 * config/m68k/amix.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP
905 * config/m68k/atari.h (ASM_OUTPUT_ASCII): Likewise
906 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Likewise
907 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
908 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
909 * config/m68k/dpx2.h (ASM_LONG): Undefine.
910 (INT_OP_GROUP): Define to INT_OP_DC.
911 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
912 * config/m68k/hp320.h (INT_OP_GROUP): Define to INT_OP_NO_DOT.
913 * config/m68k/lynx.h (ASM_LONG): Undefine.
914 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
915 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
916 * config/m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
917 (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_*.
918 * config/m68k/mot3300.h (INT_OP_GROUP): Define to INT_OP_STANDARD
919 for GAS and INT_OP_NO_DOT otherwise.
920 (ASM_CHAR, ASM_BYTE, ASM_SHORT, ASM_LONG): Remove.
921 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
922 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid ASM_LONG.
923 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
924 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
925 (INT_OP_GROUP): Define to INT_OP_STANDARD.
926 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
927 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid LONG_ASM_OP.
928 (ASM_OUTPUT_ASCII): Avoid BYTE_ASM_OP.
929 * config/m68k/tower-as.h (ASM_LONG): Remove.
930 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
931 * config/m88k/m88k.c (output_tdesc): Avoid ASM_LONG.
932 * config/m88k/m88k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
933 (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid ASM_LONG.
934 * config/mips/iris5.h (TARGET_IRIX5): Define.
935 * config/mips/mips.c (mips_assemble_integer): New.
936 * config/mips/sni-svr4.h (ASM_LONG): Undefine.
937 * config/mmix/mmix-protos.h (mmix_asm_output_double_int): Remove.
938 * config/mmix/mmix.c (mmix_assemble_integer): New.
939 (mmix_asm_output_double_int): Remove.
940 (mmix_print_operand): Call mmix_output_octa directly.
941 * config/mmix/mmix.h (ASM_LONG): Remove.
942 * config/ns32k/ns32k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
943 * config/pa/pa.c (pa_assemble_integer): New.
944 (pa_override_options): Only use aligned DI ops on 64-bit targets.
945 Only use the unaligned ops if TARGET_GAS.
946 * config/pdp11/pdp11.c (pdp11_assemble_integer): New.
947 * config/pdp11/pdp11.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
948 * config/pj/pj.h (ASM_LONG): Undefine.
949 * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Undefine.
950 * config/rs6000/rs6000.c (rs6000_assemble_integer): New, mostly
951 extracted from ASM_OUTPUT_INT in sysv4.h. Use in_text_section()
952 and in_toc_section() rather than the in_section variable.
953 (rs6000_override_options): Only use DI ops when TARGET_POWERPC64.
954 * config/rs6000/sysv4.h (TOC_SECTION_FUNCTION): Add in_toc_section().
955 (RELOCATABLE_NEEDS_FIXUP): Define.
956 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Change space to tab.
957 * config/s390/linux.h (ASM_SHORT, ASM_LONG, ASM_QUAD): Remove.
958 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use integer_asm_op
959 to get the word directive.
960 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
961 * config/s390/s390.c (s390_assemble_integer): New.
962 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use
963 integer_asm_op to get the word directive.
964 * config/sparc/sol2.h (ASM_SHORT, ASM_LONG): Remove.
965 * config/sparc/sparc-protos.h (output_double_int): Remove.
966 * config/sparc/sparc.c (output_double_int): Move to...
967 (sparc_assemble_integer): ...this new function.
968 (sparc_override_options): Only use .uaxword if TARGET_ARCH64.
969 * config/sparc/sparc.h (ASM_SHORT, ASM_LONG, ASM_LONGLONG): Remove.
970 * config/sparc/sysv4.h (ASM_LONG): Remove.
971 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid
973 * config/vax/vax.h (TRAMPOLINE_TEMPLATE): Use assemble_aligned_integer.
974 * config/we32k/we32k.h (TRAMPOLINE_TEMPLATE): Likewise.
976 * config/1750a/1750a.c, config/a29k/a29k.c, config/alpha/alpha.c,
977 config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c,
978 config/clipper/clipper.c, config/convex/convex.c, config/cris/cris.c,
979 config/d30v/d30v.c, config/dsp16xx/dsp16xx.c, config/elxsi/elxsi.c,
980 config/fr30/fr30.c, config/h8300/h8300.c, config/i370/i370.c,
981 config/i386/i386.c, config/i860/i860.c, config/i960/i960.c,
982 config/ia64/ia64.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
983 config/m68k/m68k.c, config/m88k/m88k.c, config/mips/mips.c,
984 config/mmix/mmix.c, config/mn10200/mn10200.c, config/mn10300/mn10300.c,
985 config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
986 config/sh/sh.c, config/sparc/sparc.c, config/stormy16/stormy16.c,
987 config/v850/v850.c, config/vax/vax.c, config/we32k/we32k.c
988 (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_HI_OP,
989 TARGET_ASM_ALIGNED_SI_OP, TARGET_ASM_ALIGNED_DI_OP,
990 TARGET_ASM_UNALIGNED_HI_OP, TARGET_ASM_UNALIGNED_SI_OP,
991 TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_INTEGER): Redefine as
994 * config/defaults.h, config/darwin.h, config/elfos.h, config/svr3.h,
995 config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
996 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
997 config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h,
998 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
999 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1000 config/i386/bsd.h, config/i386/djgpp.h, config/i386/i386.h,
1001 config/i386/sco5.h, config/i386/sol2.h, config/i386/sun386.h,
1002 config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h,
1003 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/auxas.h,
1004 config/m68k/dpx2.h, config/m68k/hp320.h, config/m68k/m68k.h,
1005 config/m68k/mot3300.h, config/m68k/sgs.h, config/m68k/tower-as.h,
1006 config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore.h,
1007 config/mips/iris5.h, config/mips/iris6.h, config/mips/mips.h,
1008 config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h
1009 config/ns32k/encore.h, config/ns32k/ns32k.h, config/pa/pa-64.h,
1010 config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h,
1011 config/romp/romp.h, config/rs6000/linux64.h, config/rs6000/rs6000.h,
1012 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/linux.h,
1013 config/sh/sh.h, config/sparc/linux64.h, config/sparc/sol2.h,
1014 config/sparc/sp64-elf.h, config/sparc/sparc.h, config/sparc/sysv4.h,
1015 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
1016 config/we32k/we32k.h (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_BYTE_OP,
1017 ASM_BYTE, ASM_OUTPUT_SHORT, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT,
1018 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1019 UNALIGNED_DOUBLE_INT_ASM_OP): Undefine, where defined.
1021 2001-12-17 Stan Shebs <shebs@apple.com>
1023 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
1024 (STACK_BOUNDARY): Remove definition.
1025 (CPP_PREDEFINES): Define __POWERPC__.
1027 2001-12-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1029 * doc/c-tree.texi (Trees): Only refer to GCC.
1031 2001-12-17 Andreas Jaeger <aj@suse.de>
1033 * c-common.def: Fix typo in comment.
1035 2001-12-16 David O'Brien <obrien@FreeBSD.org>
1037 * config.gcc (sparc64-*-freebsd*): Add target.
1038 * config/sparc/freebsd.h: New file.
1039 * config/sparc/sparc.h (LIB_SPEC, LINK_SPEC): Don't define.
1040 * config/sparc/sunos4.h (LIB_SPEC, LINK_SPEC): Define.
1041 * config/sparc/sysv4.h (CPP_PREDEFINES): Undefine before defining.
1043 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1045 * config/rs6000/rs6000.c (rs6000_legitimize_address): Force both
1046 PLUS operands into registers for altivec mode.
1048 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1050 * builtins.c (apply_args_size): Change regno to unsigned.
1052 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1054 * config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): Change
1055 ALTIVEC_ARG_MAX_REG to ALTIVEC_ARG_NUM_REG.
1057 2001-12-16 Zack Weinberg <zack@codesourcery.com>
1059 * c-typeck.c (error_init, pedwarn_init, warning_init): Call
1060 gettext on argument before printing.
1062 * fold-const.c (negate_expr): Always call fold on new
1065 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
1067 * c-common.def (COMPOUND_LITERAL_EXPR): Contain a DECL_STMT, not
1069 * c-common.h (COMPOUND_LITERAL_EXPR_DECL_STMT): New.
1070 (COMPOUND_LITERAL_EXPR_DECL): Adjust definition.
1071 * c-decl.c (build_compound_literal): Put the decl inside a
1073 * doc/c-tree.texi (COMPOUND_LITERAL_EXPR): Update documentation.
1076 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1078 * config.gcc: Add powerpc-*-eabisimaltivec*.
1080 2001-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1082 * c-common.c, c-common.h (back_end_hook): Remove.
1083 * c-lang.c (finish_file): Remove back_end_hook.
1085 Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1087 * expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
1090 2001-12-16 Richard Henderson <rth@redhat.com>
1092 * toplev.c (parse_options_and_default_flags): Don't enable
1093 flag_cprop_registers at -O1.
1095 2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1097 * avr.c (avr_simplify_comparision_p, adjust_insn_length,
1098 mask_one_bit_p, output_reload_insisf): Don't use the 'U' suffix.
1099 * avr.h (reg_class): Likewise.
1101 * mcore.c (try_constant_tricks, mcore_byte_offset,
1102 mcore_halfword_offset): Likewise.
1103 * sh.c (shl_sext_kind, gen_block_redirect, split_branches): Likewise.
1104 * v850.c (not_power_of_two_operand): Likewise.
1106 * clipper/clix.h (ASM_OUTPUT_ASCII): Avoid signed/unsigned
1108 * convex.h (ASM_OUTPUT_ASCII): Likewise.
1109 * i370.h (ASM_OUTPUT_ASCII): Likewise.
1110 * i386/att.h (ASM_OUTPUT_ASCII): Likewise.
1111 * i386/i386-interix.h (ASM_OUTPUT_ASCII): Likewise.
1112 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1113 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1114 * i386/sco5.h (ASM_OUTPUT_ASCII): Likewise.
1115 * i386/sun386.h (ASM_OUTPUT_ASCII): Likewise.
1116 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1117 * i860/bsd.h (ASM_OUTPUT_ASCII): Likewise.
1118 * m68k/3b1.h (ASM_OUTPUT_ASCII): Likewise.
1119 * m68k/amix.h (ASM_OUTPUT_ASCII): Likewise.
1120 * m68k/atari.h (ASM_OUTPUT_ASCII): Likewise.
1121 * m68k/crds.h (ASM_OUTPUT_ASCII): Likewise.
1122 * m68k/hp320.h (ASM_OUTPUT_ASCII): Likewise.
1123 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
1124 * m68k/mot3300.h (ASM_OUTPUT_ASCII): Likewise.
1125 * m68k/sgs.h (ASM_OUTPUT_ASCII): Likewise.
1126 * m68k/tower-as.h (ASM_OUTPUT_ASCII): Likewise.
1127 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Likewise.
1128 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
1129 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
1130 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
1131 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
1132 * vax/vaxv.h (ASM_OUTPUT_ASCII): Likewise.
1133 * we32k/we32k.h (ASM_OUTPUT_ASCII): Likewise.
1135 * i386/uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
1136 * interix.h (TARGET_MEM_FUNCTIONS): Likewise.
1137 * psos.h (CPP_PREDEFINES): Likewise.
1138 * rs6000/linux64.h (ROUND_TYPE_ALIGN): Likewise.
1139 * rs6000/xcoff.h (RS6000_MCOUNT, RS6000_ITRUNC, RS6000_UITRUNC,
1140 ASM_OUTPUT_EXTERNAL): Likewise.
1141 * sparc/liteelf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1143 * sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): Likewise.
1144 * sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1146 * sparc/sunos4.h (SUNOS4_SHARED_LIBRARIES): Likewise.
1148 * c-lex.c (lex_number): Use ISXDIGIT/hex_value.
1149 * vax/xm-vms.h (FILE_NAME_NONDIRECTORY): Use ISUPPER/TOLOWER.
1150 * fold-const.c (real_hex_to_f): Use hex_value.
1151 * real.c (asctoeg): Use hex_value & ISXDIGIT.
1152 * toplev.c (toplev_main): Call hex_init.
1153 * tradcpp.c (main): Call hex_init.
1155 * nextstep-protos.h: New file.
1156 * nextstep.c: Include "rtl.h", "output.h" & "tm_p.h".
1157 * nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and
1158 STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause.
1159 (nextstep_asm_out_constructor, nextstep_asm_out_destructor,
1160 handle_pragma): Move prototypes to nextstep-protos.h.
1161 * config.gcc (i[34567]86-next-*, m68k-next-nextstep2*,
1162 m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file.
1164 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1167 * configure.in: Add AC_SUBST(target_alias).
1168 * configure: Regenerated.
1170 2001-12-15 Richard Henderson <rth@redhat.com>
1172 * config/alpha/alpha.md (sibcall_osf_1_er): New.
1173 (sibcall_value_osf_1_er): New.
1175 2001-12-15 Dan Nicolaescu <dann@ics.uci.edu>
1177 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Rename from
1178 addrs_ok_for_ldd_peep_withmem; take MEMs as parameters, not
1179 addrs; eliminate restriction of only using fp and sp as base
1181 * config/sparc/sparc-protos.h: Update.
1182 * config/sparc/sparc.md (movdi): Use TARGET_V9 not TARGET_ARCH64.
1183 (*cmp_cc_set, *cmp_ccx_set64, *movdi_zero): New insns derived
1184 from old define_peepholes.
1185 Convert all the ldd/std peepholes to peephole2.
1187 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1189 * s390.md (prologue, epilogue, *return_si, *return_di): New.
1190 s390.c (find_unused_clobbered_reg, s390_frame_info,
1191 save_fpr, restore_fpr, s390_emit_prologue, s390_emit_epilogue): New.
1192 s390-protos.h (s390_emit_prologue, s390_emit_epilogue): Declare.
1193 s390.c (s390_arg_frame_offset): Use s390_frame_info.
1194 (leaf_function_flag, cur_is_leaf_function,
1195 save_fprs, restore_fprs, force_const_mem_late): Remove.
1196 (s390_function_prologue, s390_function_epilogue): Mostly remove.
1197 s390.md (lit): New. Uses ...
1198 s390.c (s390_output_constant_pool): ... this, so adapt and make global.
1199 s390-protos.h (s390_output_constant_pool): Declare.
1200 s390.md (load_multiple, store_multiple): Allow use after reload.
1201 s390.c (load_multiple_operation, store_multiple_operation): Likewise.
1202 s390.h (INCOMING_FRAME_SP_OFFSET): Define.
1203 s390.h (CALL_REALLY_USED_REGISTERS): Define.
1204 config/s390/linux64.h (CALL_USED_REGISTERS): Remove, now handled ...
1205 s390.h (CONDITIONAL_REGISTER_USAGE): ... here.
1206 s390.c (s390_sr_alias_set): New global variable, initialized ...
1207 (override_options): ... here. New.
1208 s390-protos.h (override_options): Declare.
1209 s390.h (OVERRIDE_OPTIONS): Call it.
1210 s390.c (s390_function_profiler): New.
1211 s390-protos.h (s390_function_profiler): Declare.
1212 s390.h (FUNCTION_PROFILER): Call it.
1213 s390.c (s390_profile): Remove.
1215 * s390.c (reg_used_in_mem_p): PC reload counts as memory access.
1216 (addr_generation_dependency_p): Consider literal pool register loads.
1217 (s390_adjust_priority): Do not schedule load_multiple.
1218 s390.md (attribute "type"): Define some additional types.
1219 (function_unit "integer"): Adapt.
1220 (many insns): Adapt "type" attribute setting.
1222 * s390.c (general_s_operand, s_imm_operand): New.
1223 (s_operand): Remove old definition, call general_s_operand instead.
1224 s390-protos.h (s_imm_operand): Declare.
1225 s390.c (base_n_index_p, r_or_s_operand, r_or_s_or_im8_operand,
1226 r_or_x_or_im16_operand, r_or_im8_operand): Remove.
1227 s390-protos.h (r_or_s_operand, r_or_s_or_im8_operand,
1228 r_or_x_or_im16_operand, r_or_im8_operand): Likewise.
1229 s390.h (PREDICATE_CODES): Add s_imm_operand, remove r_or_s*_operand.
1230 s390.md (many insns): Rework insn predicates.
1232 * s390.c (legitimate_pic_operand_p, legitimate_constant_p): Accept all
1233 non-symbolic constants. Reload will force them because of ...
1234 (s390_preferred_reload_class): ... this. New.
1235 s390-protos.h (s390_preferred_reload_class): Declare.
1236 s390.h (PREFERRED_RELOAD_CLASS): Call it.
1237 s390.md (movdi, movsi, movdf, movsf, *reload_la_64 splitters,
1238 *reload_la_31 splitters): Handle constants after reload.
1239 (many insns): no longer force all constants immediately.
1240 s390.c (legitimate_reload_constant_p): New helper routine.
1241 s390-protos.h (legitimate_reload_constant_p): Declare.
1242 s390.c (print_operand): Clean up CONST_INT case, add CONST_DOUBLE case.
1244 * s390.h (FIRST_PSEUDO_REGISTER, FRAME_POINTER_REGNUM,
1245 HARD_FRAME_POINTER_REGNUM, REGISTER_NAMES): Add virtual frame pointer.
1246 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Update.
1247 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Likewise.
1248 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1249 (DWARF_FRAME_REGISTERS): Define.
1250 s390.c (regclass_map): Add virtual frame pointer.
1251 (legitimate_la_operand_p): Allow use of virtual frame pointer.
1252 s390.md (*la_ccclobber, *addaddr_ccclobber): New.
1253 (addaddr, addsi_64): Delete.
1255 * s390.h (HARD_REGNO_MODE_OK): Allow SImode and DImode values in
1256 floating point registers.
1257 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Define.
1258 (ADDR_FP_REGS, GENERAL_FP_REGS): New register classes.
1259 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
1261 * s390.md (movti): Replace multi-insn output with splitters.
1262 (movdi_31, movdf_31): Likewise.
1263 (movti_ss, movdi_ss, movsi_ss, movdf_ss, movsf_ss): New.
1264 (movdi_lhi, movdi_lli, movdi_larl, movsi_lhi, movsi_lli): New.
1265 (movdi_64, movdi_31, movsi, movdf_64, movdf_31): Adapt.
1266 (movdf_soft_64, movdf_soft_31, movsf_soft): Remove.
1267 (movsf_64, movsf_31): Remove, replace by ...
1269 (movqi_64): Use lhi instead of llill.
1270 (*movstrictqi, *movstricthi): Don't use (strict_low_part (mem)).
1272 * s390.md (extendsidi2, *extendsidi2, extendhidi2, *extendhidi2,
1273 extendqidi2, extendhisi2, *extendhisi2, extendqisi2,
1274 extendqihi2 and associated splitters): Reworked.
1275 (zero_extendsidi2, zero_extendsidi2, *zero_extendsidi2,
1276 zero_extendhidi2, *zero_extendhidi2, zero_extendqidi2,
1277 zero_extendqidi2, *zero_extendqidi2, zero_extendhisi2,
1278 *zero_extendhisi2_64, zero_extendhisi2_31, zero_extendqisi2,
1279 *zero_extendqisi2_64, *zero_extendqisi2_mem_31,
1280 zero_extendqisi2_reg_31, zero_extendqihi2, *zero_extendqisi2_64,
1281 zero_extendqihi2, zero_extendqihi2_64, zero_extendqihi2_31,
1282 and associated splitters): Likewise.
1283 (*sethighqisi, *sethighhisi, *sethighqidi_64, *sethighqidi_31
1284 and associated splitters): New.
1285 (truncdisi2, truncdihi2, truncdiqi2, truncsihi2, do_truncsihi2,
1286 *truncsihi2_64, truncsiqi2, trunchiqi2): Remove.
1287 (ashlhi3, ashrhi3, lshrhi3, abshi3): Remove.
1288 s390.h (PROMOTE_PROTOTYPES): Remove.
1289 config/s390/linux64.h (PROMOTE_PROTOTYPES): Likewise.
1291 * s390.md (muldi3): Delete, use instead ...
1292 (mulsidi3): ... this.
1293 (*muldi3_64): Rename to muldi3.
1294 (mulsi_6432): Fix template.
1295 (divdi3, moddi3): Delete, replace by ...
1296 (divmoddi4): ... this.
1297 (divmodtidi3): Fix template.
1299 (udivdi3, umoddi3): Delete, replace by ...
1300 (udivmoddi4): ... this.
1301 (udivmodtidi3): Fix template.
1302 (divsi3, modsi3): Delete, replace by ...
1303 (divmodsi4): ... this.
1304 (divmoddisi3): Fix template.
1305 (udivsi3, umodsi3): Adapt.
1307 * s390.md (anddi3): Remove SS alternative, use instead ...
1308 (anddi3_ss, anddi3_ss_inv): ... these.
1310 (andsi3*, andhi3*, andqi3*): Likewise.
1311 (iordi3): Remove SS alternative, use instead ...
1312 (iordi3_ss, iordi3_ss_inv): ... these.
1314 (iorsi3*, iorhi3*, iorqi3*): Likewise.
1315 (iordi3_cc, iordi3_cconly, iorsi3_cc, iorsi3_cconly): New.
1316 (xordi3): Remove SS alternative, use instead ...
1317 (xordi3_ss, xordi3_ss_inv): ... these.
1319 (xorsi3*, xorhi3*, xorqi3*): Likewise.
1320 (xordi3_cc, xordi3_cconly, xorsi3_cc, xorsi3_cconly): New.
1321 (one_cmpldi2, one_cmplsi2, one_cmplhi2, one_cmplqi2):
1322 Expand to XOR with -1.
1323 (*one_cmpldi2, *one_cmplsi2, *one_cmplhi2): Remove.
1324 (cmpdi_tm): Delete, replace by ...
1325 (cmpdi_tm_reg, cmpdi_tm_mem): ... these.
1326 (cmpsi_cct): Delete, replace by ...
1327 (cmpsi_tm_reg, cmpsi_tm_mem): ... these.
1328 (cmpdi_tm2, cmpsi_tm2): Improve.
1329 (cmphi_tm_sub, cmpqi_tm_sub, cmpqi_tm2, cmpqi_tm): New.
1330 s390.c (s390_single_hi, s390_extract_hi,
1331 s390_single_qi, s390_extract_qi): New helper routines.
1332 s390-protos.h (s390_single_hi, s390_extract_hi,
1333 s390_single_qi, s390_extract_qi): Declare.
1334 s390.c (tmxx_operand, const1_operand): Remove.
1335 s390-protos.h (tmxx_operand, const1_operand): Likewise.
1336 s390.h (PREDICATE_CODES): Likewise.
1338 * s390.md (sqrtdf2, sqrtsf2): New.
1340 * s390.h (CRT_CALL_STATIC_FUNCTION): Define.
1341 (check_and_change_labels): Remove section-change special case.
1343 * s390.h (RETURN_ADDR_RTX): Fix use of __builtin_return_address
1344 in leaf functions. Needs ...
1345 (DYNAMIC_CHAIN_RTX): ... this. New.
1347 * s390.c (emit_pic_move): Don't generate pseudos if no_new_pseudos.
1349 * s390.md (movstrdix_64, movstrsix_31, movstrdi_64, movstrsi_31,
1350 clrstrsi_64, clrstrsi_31, cmpstr_64, cmpstr_31): Do not clobber
1351 input operands using a match_dup clause.
1352 (movstrdi, movstrsi, clrstrdi, clrstrsi, cmpstrdi, cmpstrsi): Adapt.
1354 * s390.md (floatdidf2, floatdisf2, floatsidf2, floatsidf2_ieee,
1355 floatsisf2, floatsisf2_ieee): Add missing CC clobber.
1357 * s390.md (floatsidf2_ibm): Use correct operand.
1359 * s390.md (fixuns_truncdfdi2, fixuns_truncdfsi2, fix_truncdfsi2,
1360 fixuns_truncsfdi2, fixuns_truncsfsi2, floatsidf2): Remove use of
1361 non-portable constants.
1362 s390.c (s390_gen_rtx_const_DI): New helper routine.
1363 s390-protos.h (s390_gen_rtx_const_DI): Declare.
1365 * s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Fix alignment.
1367 * config/s390/linux.h (ASM_OUTPUT_SHORT, ASM_OUTPUT_CHAR,
1368 ASM_OUTPUT_BYTE): Clean up assembly output.
1369 (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGN): Remove duplicate definitions.
1370 (ASM_OUTPUT_ASCII): Remove.
1372 * config/s390/t-linux (CRTSTUFF_T_CFLAGS_S): Define.
1374 2001-12-15 Zack Weinberg <zack@codesourcery.com>
1376 * unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself
1377 before including unwind-dw2-fde.c, if we are not using the
1378 special code in this file.
1380 2001-12-15 Richard Henderson <rth@redhat.com>
1382 * config/alpha/alpha.h (TARGET_SWITCHES): Turn on
1383 MASK_EXPLICIT_RELOCS if the assembler supports it.
1384 * configure.in (HAVE_AS_EXPLICIT_RELOCS): New.
1385 * configure, config.in: Rebuild.
1387 Sat Dec 15 17:53:03 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1389 * calls.c (emit_call_1): If ECF_SP_DEPRESSED, pretend have adjusted
1390 for rounded_stack_size.
1392 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1394 * c-typeck.c, config/i386/i386.h, config/mcore/mcore.h,
1395 config/ns32k/ns32k.h, config/rs6000/sysv4.h, fold-const.c,
1396 toplev.c, cppinit.c, cppmacro.c, gcc.c: Use "built-in" and
1397 "bit-field" spellings in messages.
1398 * po/gcc.pot: Regenerate.
1400 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1402 * gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
1403 American spelling in messages.
1404 * po/gcc.pot: Regenerate.
1406 2001-12-15 Kazu Hirata <kazu@hxi.com>
1408 * config/h8300/h8300.md: Adjust whitespacing. Remove
1409 constraints from expanders. Replace \@ with @.
1411 2001-12-15 Richard Earnshaw <rearnsha@arm.com>
1413 * arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
1415 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1417 * regrename.c (copyprop_hardreg_forward): Do not keep register
1418 value data live across abnormal call or eh egdes.
1420 Sat Dec 15 08:29:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1422 * expr.c (highest_pow2_factor, case INTEGER_CST): Return
1423 BIGGEST_ALIGNMENT for 0.
1425 Sat Dec 15 14:13:03 CET 2001 Jan Hubicka <jh@suse.cz>
1427 * predict.def (PRED_NORETURN): Make probabilities match reality.
1428 (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL, PRED_ERROR_RETURN):
1431 2001-12-15 Jakub Jelinek <jakub@redhat.com>
1433 * configure.in: Check for ld.
1434 (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
1435 * configure, config.in: Rebuilt.
1436 * config.gcc: Add crtbeginT.o to extra_parts where needed.
1437 * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
1438 frame unwinding on Linux.
1439 * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
1441 * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1442 (LINK_EH_SPEC): Define.
1443 * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1444 * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
1445 * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
1446 iterate further if pc falls into current library, but fde was not
1448 * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
1450 (LINK_EH_SPEC): Define.
1451 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
1452 Use crtbeginT.o for -static.
1453 (LINK_EH_SPEC): Define.
1454 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
1455 * Makefile.in (crtbeginT.o): Add rule.
1456 * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
1457 If neither -static-libgcc nor -shared-libgcc is passed and -shared,
1458 use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
1459 If none of the above switches are passed, use -lgcc -lgcc_eh.
1460 (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
1461 * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
1462 creating libgcc_s.so, put them into separate libgcc_eh.a instead.
1463 * unwind-dw2-fde.c: Don't include any headers if this file
1464 is included from other .c file.
1465 * unwind-dw2-fde-glibc.c: New file.
1466 * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
1467 Use it instead of EH_FRAME_SECTION_NAME where appropriate.
1469 2001-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1471 * builtins.c (expand_builtin_memcmp): Mark parameter with
1473 * cfgcleanup.c (insns_match_p): Likewise.
1474 * regrename.c (mode_change_ok): Likewise.
1475 * gcc.c (execute): Const-ify.
1477 2001-12-14 Aldy Hernandez <aldyh@redhat.com>
1479 * c-parse.in (typename): Do not split attributes.
1480 Remove unsupported attributes warning.
1482 * c-decl.c (groktypename): Apply attributes.
1484 2001-12-14 Richard Henderson <rth@redhat.com>
1486 * config/ia64/ia64.c (spill_restore_mem): Mark iterator
1487 initialization as possibly dead.
1489 2001-12-14 Richard Henderson <rth@redhat.com>
1491 * regrename.c (mode_change_ok): New.
1492 (find_oldest_value_reg): Use it.
1494 2001-12-14 Richard Henderson <rth@redhat.com>
1496 * regrename.c (struct value_data): Add max_value_regs.
1497 (init_value_data): Initialize it.
1498 (kill_value): Kill values that overlap the dying register.
1499 (set_value_regno): New.
1500 (kill_set_value, kill_autoinc_value, copy_value): Use it.
1501 (copyprop_hardreg_forward_1): Kill earlyclobber operands
1502 before looking at inputs.
1504 2001-12-14 David Edelsohn <edelsohn@gnu.org>
1506 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle
1507 DECL_WEAK for function descriptors.
1508 * config/rs6000/xcoff.h (HANDLE_PRAGMA_WEAK): Define if assembler
1509 weak support present.
1510 (ASM_WEAKEN_LABEL): Same.
1512 2001-12-14 Kazu Hirata <kazu@hxi.com>
1514 * config/h8300/h8300.md (anonymous pattern): Add a missing
1517 2001-12-14 Kazu Hirata <kazu@hxi.com>
1519 * config/h8300/h8300.c (h8300_adjust_insn_length): Fix a
1522 2001-12-14 Kazu Hirata <kazu@hxi.com>
1524 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
1525 Remove the initialization requierment.
1526 (h8300_handle_tiny_data_attribute): Likewise.
1528 2001-12-14 Kazu Hirata <kazu@hxi.com>
1530 * config/h8300/h8300.md (udivqi3): Remove.
1532 (udivhi3): Likewise.
1534 (umodqi3): Likewise.
1536 (umodhi3): Likewise.
1539 (divmodqi3): Likewise.
1540 (udivmodhi3): Likewise.
1541 (divmodhi3): Likewise.
1543 Sat Dec 15 01:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
1545 * cfgcleanup.c (flow_find_cross_jump): Replace tests for note
1546 by active_insn_p; count conditional jump as instruction.
1548 2001-12-14 DJ Delorie <dj@redhat.com>
1549 Danny Smith <dannysmith@users.sourceforge.net>
1551 * config/i386/cygwin.h (I386_PE_STRIP_ENCODING): Handle '*'
1552 at SYM_NAME[0] or SYM_NAME[3].
1553 (STRIP_NAME_ENCODING): Don't check for leading '*'.
1555 2001-12-14 Ira Ruben <ira@apple.com>
1557 Add -### option (displays driver-generated commands without
1558 executing and quotes all arguments).
1559 * doc/invoke.texi: Add -###.
1560 * gcc.c (verbose_only_flag) - New flag.
1561 * (execute): If -### write quoted arguments and return.
1562 * (display_help): Print meaning of -###.
1563 * (process_command): Handle -###.
1565 2001-12-14 Ira Ruben <ira@apple.com>
1567 Fix to no allow -save-temps to clobber user's source file.
1568 * gcc.c: Add static globals input_stat and input_stat_set.
1569 (do_spec_1): For 'g', 'u', 'U' case with save_temps_flag
1570 set, check that user's input file is not overwritten.
1571 (set_input): Reset input_stat_set for each new file.
1573 Fri Dec 14 22:14:44 CET 2001 Jan Hubicka <jh@suse.cz>
1575 * predict.c (estimate_probability): Fix LOOP_EXIT heuristic.
1577 2001-12-14 Zack Weinberg <zack@codesourcery.com>
1579 * combine.c (record_dead_and_set_regs): Use
1580 regs_invalidated_by_call. Don't note stores for CALL_INSNs.
1582 2001-12-14 Roger Sayle <roger@eyesopen.com>
1584 * builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
1585 __builtin_fsqrt to __builtin_sqrt.
1587 * builtins.c (expand_builtin_mathfn,expand_builtin): Same.
1588 * doc/extend.texi: Simplify documentation to match patch.
1590 Fri Dec 14 21:23:54 CET 2001 Jan Hubicka <jh@suse.cz>
1592 * config.gcc: Revamp target_cpu_default2 to strings;
1593 support new x86 variants.
1594 * i386.c (override_options): Default x86_cpu_string and x86_arch_string
1595 properly; set prefetch_sse.
1596 * i386.h (x86_prefetch_sse): Declare.
1597 (TARGET_PREFETCH_SSE): New.
1598 (CPP_CPU_DEFAULT_SPEC): Define according to the new macros.
1599 (TARGET_CPU_DEFAULT_*): New.
1601 Thu Dec 13 21:57:13 CET 2001 Janis Johnson <janis187@us.ibm.com>
1602 Jan Hubicka <jh@suse.cz>
1604 * config/i386/i386.h (struct processor_costs): Add new members
1605 prefetch_block and simultaneous_prefetches.
1606 (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
1607 * config/i386/i386.c (processor_costs structs): Add values for
1608 prefetch_block and simultaneous_prefetches.
1609 * config/i386/i386.md (unspec values): Remove values for prefetch
1610 operations, which now use the PREFETCH rtx code.
1611 (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
1612 unified prefetch support.
1614 2001-12-14 Jason Merrill <jason@redhat.com>
1616 * diagnostic.c (sorry): Increment sorrycount before saving the
1619 Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz>
1621 * i386.md (sqrt?f): Fix conditionals.
1623 Fri Dec 14 07:29:52 2001 Douglas B. Rupp <rupp@gnat.com>
1625 * config.gcc (alpha64-dec-*vms*): New case.
1626 * config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files.
1627 * config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise.
1628 * config/alpha/xm-vms64.h: Likewise.
1630 * config/alpha/alpha.c (vms_attribute_table): Add new attributes.
1631 (alpha_write_linkage): Test for null alpha_links.
1632 (SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
1633 (vms_section_type_flags, vms_asm_named_section): Handle them.
1635 Fri Dec 14 12:05:14 CET 2001 Jan Hubicka <jh@suse.cz>
1637 * i386.c (ix86_fpmath, ix86_fpmath_string): New.
1638 (override_option): Set ix86_fpmath.
1639 * i386.h (MASK_MIX_SSE_I387): Remove.
1640 (TARGET_SSE_MATH): New.
1641 (TARGET_MIX_SSE_I387): Use ix86_fpmath.
1642 (TARGET_SWITCHES): Remove "mix-sse-i387".
1643 (fpmath_unit): New enum.
1644 (ix86_fpmath, ix86_fpmath_string): Declare.
1645 * i386.md (swapsf): Fix condition.
1646 (add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
1647 (fp_?f_*_nosse): New.
1648 (fp_*): Use TARGET_SSE_MATH.
1649 * invoke.texi (-mfpmath): Document.
1652 2001-12-14 Jason Merrill <jason@redhat.com>
1654 * dwarf2out.c (output_die): Print the string in the comment for
1657 2001-12-14 Richard Earnshaw <rearnsha@arm.com>
1659 * netbsd.h (COLLECT_SHARED_INIT_FUNC)
1660 (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
1661 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1662 (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
1664 2001-12-13 Richard Henderson <rth@redhat.com>
1666 * regrename.c (kill_value_regno): Simplify chain removal.
1667 (kill_value): Kill all of HARD_REGNO_NREGS.
1668 (kill_set_value): Use kill_value not kill_value_regno.
1669 (kill_autoinc_value): Likewise.
1670 (copyprop_hardreg_forward): Don't collect refresh_blocks.
1671 Call delete_noop_moves.
1673 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1675 * attribs.c (c_common_attribute_table): Swap decl_req and type_req
1676 for the mode attribute.
1677 (handle_mode_attribute): Handle types, not decls.
1679 2001-12-13 Jason Merrill <jason@redhat.com>
1681 * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
1683 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1685 * config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
1686 constraint to base register.
1687 (eh_set_lr_si): Same.
1689 2001-12-13 Hans-Peter Nilsson <hp@axis.com>
1691 * expr.c (expand_expr, case ADDR_EXPR): Don't honor
1692 flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
1693 modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
1695 Thu Dec 13 20:30:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1697 * expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
1698 warning and reformat comments.
1699 (expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
1700 (highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
1703 2001-12-12 Aldy Hernandez <aldyh@redhat.com>
1705 * config/rs6000/rs6000.c (rs6000_override_options): Add
1706 SUBSUBTARGET_OVERRIDE_OPTIONS.
1708 * config/rs6000/eabialtivec.h: New file.
1710 * config/rs6000/linuxaltivec.h: New file.
1712 * config.gcc: Add powerpc-*-eabialtivec and
1713 powerpc-*-linux-gnualtivec.
1715 2001-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1717 * toplev.c (process_options, parse_options_and_default_flags):
1718 Set flag_no_inline before the post_options hook.
1720 2001-12-13 Richard Henderson <rth@redhat.com>
1722 * emit-rtl.c (adjust_address_1): Don't adjust address if adjust
1725 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1727 * collect2.c (COLLECT_SHARED_INIT_FUNC)
1728 (COLLECT_SHARD_FINI_FUNC): Define default values.
1729 (write_c_file_stat): Use them to call construtor and destructor
1730 functions in shared libraries.
1731 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1732 (COLLECT_SHARD_FINI_FUNC): Document them.
1733 * config/netbsd.h (COLLECT_SHARED_INIT_FUNC)
1734 (COLLECT_SHARD_FINI_FUNC): Define.
1736 * config/netbsd.h (LINK_SPEC): Don't pull in estart if creating a
1737 shared library. Pass -shared through to the linker.
1738 * config/arm/netbsd.h (LINK_SPEC): Likewise.
1740 * config/arm/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -fpic.
1741 (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME, SHLIB_OBJS, SHLIB_LINK)
1742 (SHLIB_INSTALL): Define.
1744 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1746 * arm.c (legitimize_pic_address): Handle LABEL_REFs in substantially
1747 the same way as we handle SYMBOL_REFS.
1749 Thu Dec 13 07:47:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1751 * loop.c (remove_constant_addition): Fix prototype and whitespace.
1752 (emit_prefetch_instructions): Remove warnings and whitespace
1755 Thu Dec 13 06:48:38 2001 Douglas B. Rupp <rupp@gnat.com>
1757 * config/alpha/vms-cc.c (preprocess_args): Fix forward
1760 Thu Dec 13 12:31:07 CET 2001 Jan Hubicka <jh@suse.cz>
1762 * predict.c (estimate_probability): Reorganize opcode heuristics.
1763 * predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
1764 PRED_FPOPCODE): New.
1766 * i386.c (override_options): Recognize various CPU variants and set
1767 SSE/MMX/3dNOW flags accordingly.
1768 * i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
1769 MASK_3DNOW_A_SET): New.
1770 (MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
1771 (MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
1773 (TARGET_FLAGS): Use new masks.
1774 (CPP_CPU_SPECS): Recognize new CPU variants.
1775 * invoke.texi (-mcpu): Update documentation.
1777 * flags.h (flag_prefetch_loop_arrays): Declare.
1778 * loop.h (LOOP_PREFETCH): Define new constant.
1779 * loop.c (strength_reduce): Call emit_prefetch_instructions.
1780 (MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
1781 PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
1783 (check_store_data): New structure.
1784 (check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
1786 * toplev.c: Include insn-flags.h.
1787 (flag_prefetch_loop_arrays): New global variable.
1788 (lang_independent_option): Add -fprefetch-loop-arrays.
1789 (rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
1791 * Makefile.in (toplev.c): Depend on insn-flags.h.
1792 * invoke.texi (-fprefetch-loop-arrays): Document.
1794 * predict.c (estimate_probability): Distribute the loop exit
1795 probability according to number of exit edges.
1797 * cfgcleanup.c (insns_match_p): Break out from ...;
1798 (flow_find_cross_jump): ... here;
1799 (outgoing_edges_match): Add parameter MODE; attempt to match everything
1800 except for tablejumps.
1801 (try_crossjump_to_edge): Accept complex edges.
1802 (try_crossjump_bb): Likewise.
1804 2001-11-29 Corey Minyard <minyard@acm.org>
1806 * recog.c (validate_replace_rtx_1): Use simplify_gen_binary
1807 instead of plus_constant.
1808 * simplify-rtx.c (neg_const_int): New.
1809 (simplify_gen_binary, simplify_plus_minus): Use it.
1811 2001-12-12 Roger Sayle <roger@eyesopen.com>
1813 * builtins.c (expand_builtin_memset, expand_builtin_memcpy,
1814 expand_builtin_strcpy): Additional arguments TARGET and MODE.
1815 (expand_builtin_bzero, expand_builtin_strcpy,
1816 expand_builtin_strncpy, expand_builtin_bzero): Pass additional
1817 TARGET and MODE parameters to the above functions.
1818 (expand_builtin_memset, expand_builtin_memcpy): Optimize the
1819 case where the LEN parameter is constant zero.
1820 (expand_builtin_memcmp): No longer conditional on
1821 HAVE_cmpstrsi. Take an additional mode parameter. Optimize
1822 the cases where len is either constant zero or one.
1823 Optimize to call to memcpy, even if the memcpy isn't inlined.
1824 (expand_builtin_strncpy): Optimize to call memcpy, even if the
1825 memcpy isn't inlined.
1826 (expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
1827 to optimize to a call to memcmp.
1828 (expand_builtin): expand_builtin_memcmp can always be called,
1829 and pass the required parameters to expand_builtin_memcmp,
1830 expand_builtin_memset, expand_builtin_memcpy and
1831 expand_builtin_strcpy.
1833 2001-12-12 David O'Brien <obrien@FreeBSD.org>
1835 * config.gcc (arm-*-freebsd*): Add target.
1836 * config/arm/freebsd.h: New file.
1837 * config/arm/arm.h (CPP_PREDEFINES): Do not define.
1838 (CPP_SPEC): #undef before defining.
1839 (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm.
1840 * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm
1842 * config/arm/linux-elf.h: Likewise.
1843 * config/arm/netbsd.h: Likewise.
1844 * config/arm/riscix.h: Likewise.
1845 * config/arm/riscix1-1.h: Likewise.
1846 * config/arm/semiaof.h: Likewise.
1848 2001-12-12 Richard Henderson <rth@redhat.com>
1850 * regrename.c (copyprop_hardreg_forward): New optimization.
1851 (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
1852 kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
1853 replace_oldest_value_reg, replace_oldest_value_addr,
1854 replace_oldest_value_mem, copyprop_hardreg_forward_1,
1855 debug_value_data, validate_value_data): New.
1856 * rtl.h (copyprop_hardreg_forward): Declare.
1857 * toplev.c (flag_cprop_registers): New.
1858 (f_options): Add -fcprop-registers
1859 (rest_of_compilation): Invoke it.
1860 (parse_options_and_default_flags): Set it at -O1.
1861 * doc/invoke.texi: Document it.
1863 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1865 * dwarf2out.c (dw_val_class): Add dw_val_class_range_list.
1866 (DEBUG_RANGES_SECTION_LABEL): Define.
1867 (ranges_section_label): Add.
1868 (add_AT_range_list): New.
1869 (print_die, sizeof_die, value_format): Handle dw_val_class_range_list.
1870 (output_loc_list): Location expression length is always 2-byte.
1871 (output_die): Handle dw_val_class_range_list.
1872 (gen_lexical_block_die): Call add_AT_range_list.
1873 (dwarf2out_init): Initialize ranges_section_label.
1874 (dwarf2out_finish): Emit ranges_section_label.
1876 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1878 * c-typeck.c (digest_init): Allow initializing
1879 static storage duration objects with compound literals.
1880 * doc/extend.texi (Compound literals): Document the extension.
1882 2001-12-12 Richard Henderson <rth@redhat.com>
1884 * emit-rtl.c (adjust_address_1): Always copy address to avoid
1887 Wed Dec 12 07:37:52 2001 Olivier Hainque <hainque@act-europe.fr>
1889 * stmt.c (expand_end_case): Do subtraction of lower bound as trees
1892 Wed Dec 12 07:35:24 2001 Douglas B. Rupp <rupp@gnat.com>
1894 * cppfiles.c (read_include_file): Set buffer size properly when
1895 file is shorter than expected.
1897 Wed Dec 12 08:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
1899 * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
1900 enumeral types - encode them using 'i'.
1902 2001-12-12 Nathan Sidwell <nathan@codesourcery.com>
1904 * doc/extend.texi (Deprecated Features): Deprecate implicit
1905 typename. Document that named return and initializer lists are now
1908 2001-12-11 Roger Sayle <roger@eyesopen.com>
1910 * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
1911 compiler warning about enumeration values not being handled.
1913 2001-12-11 Momchil Velikov <velco@fadata.bg>
1915 * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
1918 2001-12-11 Richard Henderson <rth@redhat.com>
1920 * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
1921 * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
1922 * config/alpha/alpha.md (prefetch): New.
1924 2001-12-11 Richard Henderson <rth@redhat.com>
1926 * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
1927 if C has only low bits set and doesn't intersect with X or Y.
1929 Tue Dec 11 23:58:39 EST 2001 John Wehle (john@feith.com)
1931 * basic-block.h (flow_preorder_transversal_compute): Declare.
1932 * cfganal.c (flow_preorder_transversal_compute): Implement.
1934 Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
1936 * cfganal.c (flow_depth_first_order_compute): Always
1939 2001-11-30 Alan Matsuoka <alanm@redhat.com>
1941 * combine.c (combine_simplify_rtx) : Can't simplify
1942 cases that use mode class MODE_CC.
1944 2001-12-11 Richard Henderson <rth@redhat.com>
1946 * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
1947 which there is no divide expander.
1949 2001-12-11 Richard Henderson <rth@redhat.com>
1951 * except.c (sjlj_find_directly_reachable_regions): Don't
1952 consider RNL_BLOCKED a directly reachable region.
1953 (sjlj_assign_call_site_values): Trust directly_reachable.
1954 (sjlj_emit_dispatch_table): Likewise.
1956 2001-12-11 Richard Henderson <rth@redhat.com>
1958 * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
1959 we represent the address load's dependency on the gp.
1960 (divmoddi_internal_er): Likewise.
1961 (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
1963 2001-12-11 Richard Henderson <rth@redhat.com>
1965 * emit-rtl.c (widen_memory_access): New.
1966 * expr.h (widen_memory_access): Declare it.
1967 * config/alpha/alpha.c (get_aligned_mem): Use it.
1969 2001-12-11 Richard Henderson <rth@redhat.com>
1971 * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
1972 simplification above out of range check.
1974 2001-12-11 Dan Nicolaescu <dann@ics.uci.edu>
1976 * config/sparc/sparc.md (prefetch): New.
1978 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
1980 * output.h (regno_uninitialized): Make argument unsigned.
1982 * flow.c (regno_uninitialized): Make regno unsigned.
1984 2001-12-11 David O'Brien <obrien@FreeBSD.org>
1986 * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
1987 * config/cris/cris.h (ENDFILE_SPEC): Define.
1988 * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
1989 * config/pa/elf.h: Likewise.
1991 2001-12-11 Richard Henderson <rth@redhat.com>
1993 * objc/objc-act.c (build_string_class_template): New.
1994 (build_objc_string_object): Call it.
1996 2001-12-11 Steve Ellcey <sje@cup.hp.com>
1998 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
1999 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
2000 * calls.c (store_unaligned_arguments_into_pseudos): Check
2001 FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
2002 are passed/returned.
2003 * expr.c (move_block_from_reg): Ditto.
2004 (move_block_from_reg): Ditto.
2005 (copy_blkmode_from_reg): Ditto.
2006 * stmt.c (expand_return): Ditto.
2007 * stor-layout.c (compute_record_mode): If
2008 FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
2009 MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
2010 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
2011 so that Structures of one field are still treated as structures.
2012 (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
2013 (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
2014 (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
2015 * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
2016 * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
2017 to special case handling of structure padding.
2019 2001-12-11 Daniel Berlin <dan@cgsoftware.com>
2021 * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
2022 (may_trap_exp): Stores only are risk if they trap, too, not just
2025 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
2027 * flow.c (find_regno_partial): Indent properly. Add a default to
2030 2001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
2032 * c-common.c (combine_strings): Complain if concatenating
2034 * c-parse.in (yylexname): Flag artificial strings.
2035 * tree.h (TREE_ARTIFICIAL_STRING_P): New.
2037 * extend.texi: Update.
2039 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
2041 * c-common.c (type_for_mode): Handle unsigned vectors.
2042 (type_for_mode): Remove redundant calls to TYPE_MODE.
2044 * tree.c (make_vector): New.
2045 (build_common_tree_nodes_2): Use make_vector for vector types.
2046 Add unsigned vector types.
2048 * tree.h (tree_index): Add unsigned types for vectors.
2049 (unsigned_V16QI_type_node): New.
2050 (unsigned_V4SI_type_node): New.
2051 (unsigned_V8QI_type_node): New.
2052 (unsigned_V8HI_type_node): New.
2053 (unsigned_V4HI_type_node): New.
2054 (unsigned_V2SI_type_node): New.
2056 2001-12-11 Stan Shebs <shebs@apple.com>
2058 * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
2059 test of class names.
2061 2001-12-11 David O'Brien <obrien@FreeBSD.org>
2063 * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
2064 cpu configuration headers.
2065 * config/h8300/elf.h: Include dbxelf.h.
2066 * config/m68k/linux.h: Likewise.
2067 * config/m68k/m68020-elf.h: Likewise.
2068 * config/m68k/m68kv4.h: Likewise.
2069 * config/sh/elf.h: Likewise.
2070 * config/m68k/m68kemb.h: Add comment about the its purpose.
2072 2001-12-11 Richard Henderson <rth@redhat.com>
2074 * objc/objc-act.c (build_constructor): Cast initializer values
2075 to the proper field types.
2077 2001-12-11 Jakub Jelinek <jakub@redhat.com>
2079 * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
2081 2001-12-10 Roger Sayle <roger@eyesopen.com>
2083 * builtins.c (expand_builtin): Use a switch statement to list
2084 those functions not expanded without optimizations, instead of a
2085 series of equality tests.
2087 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
2089 * config/alpha/vms.h (LIB_SPEC): Define.
2090 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
2092 * libgcc2.c (_bb): Remove ctime declaration.
2094 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
2095 that works if LN_S = cp.
2097 * config/alpha/x-vms (version): Change "." to "_".
2099 * configure.in: Hardcode that vfork works on VMS host.
2100 * configure: Regenerated.
2102 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
2104 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
2106 (process_command): Modify calls to convert_filename.
2108 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2110 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
2112 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
2114 * combine.c (known_cond): Check mode of each operand to determine
2115 if COND is comparing floating point values.
2117 2001-12-10 David Edelsohn <edelsohn@gnu.org>
2119 * rs6000.h (processor_type): Add PPC405.
2120 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
2121 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
2122 rios1, rs64, and ppc630 processors.
2123 * rs6000.c (processor_target_table): Add PPC405.
2125 2001-12-10 Richard Henderson <rth@redhat.com>
2127 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
2128 instead of hardcoding subregs into the _be and _le patterns.
2130 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
2132 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
2134 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2136 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
2139 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
2141 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
2142 copyright notice formerly conditioned on @ifinfo on @ifnottex
2145 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2147 * vmsdbgout.c (lookup_filename): Remove warning.
2149 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
2151 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
2153 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
2154 (exeext, target_alias, prefix, local_prefix): Define.
2155 * config/alpha/x-vms (USE_COLLECT2): Make empty.
2156 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
2157 file specifications. Remove ".".
2158 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
2159 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
2161 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
2163 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
2165 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
2167 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
2168 Add rules for building [vp]crt0.o
2169 * config/alpha/vms.h (START_FILE_SPEC): Define.
2170 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
2171 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
2172 * doc/invoke.texi: Document special Alpha/VMS options.
2174 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2176 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
2177 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
2180 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2181 Douglas B. Rupp <rupp@gnat.com>
2183 * tree.c (append_random_char): Conditionalize INO for VMS.
2185 2001-12-09 Richard Henderson <rth@redhat.com>
2187 * cfgcleanup.c (label_is_jump_target_p): New function.
2188 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
2189 target of a JUMP_INSN from the preceding block.
2191 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2193 * vmsdbgout.c (lookup_filename): Assign null string instead
2194 of null pointer to fnam.
2196 2001-12-09 Richard Henderson <rth@redhat.com>
2198 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
2199 immediately after a call; insert nops before a call.
2201 2001-12-09 Richard Henderson <rth@redhat.com>
2203 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
2204 not FUNCTION_BOUNDARY.
2205 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
2206 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
2207 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
2209 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
2211 * config/mmix/mmix.c (mmix_function_block_profiler,
2212 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2214 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
2215 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2218 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
2219 Delete obsoleted macros.
2221 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
2223 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
2224 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
2226 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
2227 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
2228 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
2229 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
2230 config/i370/i370.c, config/i386/i386.c,
2231 config/i386/i386-interix.h, config/i386/i386.md,
2232 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
2233 config/m32r/m32r-protos.h, config/mcore/mcore.h,
2234 config/rs6000/rs6000.h, config/sparc/linux64.h,
2235 config/sparc/sparc.c, config/v850/v850-protos.h,
2236 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
2239 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
2241 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
2242 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
2244 * config/rs6000/rs6000.c: Ditto.
2246 * config/rs6000/rs6000.md: Ditto.
2248 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2250 * 1750a.md: Add default case in switch.
2251 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2253 * dsp16xx.c (print_operand_address): Likewise.
2254 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
2255 * ia64.md: Add missing braces.
2256 * rs6000-protos.h (s8bit_cint_operand): Prototype.
2257 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2259 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
2260 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
2261 * dbxout.c (dbxout_source_file): Move a variable into the scope
2263 * final.c (profile_function): Mark parameter with
2265 * genemit.c (gen_expand): Likewise for generated file.
2266 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
2268 * vmsdbg.h: Delete spurious close-comment.
2269 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
2270 * vmsdbgout.c (write_modbeg): Define return type.
2272 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
2273 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2274 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2275 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
2276 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
2277 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
2278 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
2280 2001-12-08 Tom Rix <trix@redhat.com>
2282 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
2283 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
2284 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
2286 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
2287 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
2288 * config/rs6000/rs6000.c (expand_block_move): Do not use
2289 gen_movstrsi_2reg and powerpc64.
2291 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
2293 * c-common.h (rid): Add RID_CHOOSE_EXPR and
2294 RID_TYPES_COMPATIBLE_P.
2296 * c-parse.in (reswords): Add __builtin_choose_expr.
2297 Add __builtin_types_compatible_p.
2298 Add CHOOSE_EXPR token.
2299 Add TYPES_COMPATIBLE_P token.
2300 Add production for CHOOSE_EXPR.
2301 Add production for TYPES_COMPATIBLE_P.
2303 * doc/extend.texi (__builtin_choose_expr): Add documentation.
2304 (__builtin_types_compatible_p): Likewise.
2306 2001-12-08 David Edelsohn <edelsohn@gnu.org>
2308 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
2311 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2313 * c-parse.in: Take string literals in assembler constructs,
2315 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
2316 check the strings are STRING_CSTs.
2318 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2320 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
2321 using combine_strings to do the concatenation.
2322 * c-parse.in: Replace uses of the string non-terminal with STRING.
2323 Don't attempt string concatenation.
2324 (OBJC_STRING): New terminal.
2325 (string): Remove non-terminal.
2326 (_yylex): Call combine_strings on function names. Generate
2327 OBJC_STRING terminals; don't pass '@' on to yacc.
2328 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
2329 (build_asm_stmt): Similarly.
2331 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2333 * rtlanal.c (get_jump_table_offset): Delete unused variable.
2335 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2337 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
2338 (prefetch): Rewrite using PREFETCH RTL primitive.
2339 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
2340 * arm.c (arm_init_builtins): Don't initialize a builtin for
2341 __builtin_prefetch here.
2342 (arm_expand_builtin): Don't expand __builtin_prefetch here.
2344 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2346 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
2347 in test for a subreg.
2349 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2351 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
2354 2001-12-07 Richard Henderson <rth@redhat.com>
2356 * doc/extend.texi: Fix typo last change.
2358 * c-decl.c (c_language): Remove duplicate.
2360 2001-12-07 Dale Johannesen <dalej@apple.com>
2362 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
2363 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
2364 specific codegen, eliminate a register copy.
2365 (print_operand_address): Add support for Darwin's lo16(constant)
2367 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
2368 generation of addresses within very large data objects.
2369 (s8bit_cint_operand): New.
2370 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
2371 Move "mtjmpr" to correct functional unit for 750/7400/7450.
2372 Add imul2 and imul3 insn types for multiplication by 16- and
2374 Change tablejump patterns to strongly discourage using LR
2376 Add %lo16 patterns for Darwin loads and stores.
2378 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2380 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
2382 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
2384 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
2385 with %sp because it can cause the delayed instruction to load
2388 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2390 * alpha.c (alpha_expand_unaligned_store,
2391 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
2392 call to immed_double_const.
2394 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
2396 * doc/extend.texi (Variable Attributes): Document vector_size.
2398 * attribs.c (c_common_attribute_table): Add vector_size.
2399 (handle_vector_size_attribute): New.
2400 (vector_size_helper): New.
2401 (decl_attributes): Relayout the decl after calculating attribs.
2403 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2405 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
2406 description for Trouble section.
2407 * doc/install-old.texi: Adjust for inclusion as chapter of new
2408 installation manual.
2409 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
2410 Adjust to include old installation chapter as chapter of new
2411 installation manual.
2413 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
2415 * rtl.h (get_jump_table_offset): Declare.
2416 * rtlanal.c (get_jump_table_offset): Implement.
2418 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2420 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
2421 Deleted; were used only by BB profiler code.
2422 (sbb_head, sbb_tail, sbb_label_num): Likewise.
2423 (end_final): Delete now-unused vars I, PTR, and SPTR.
2425 * expr.c (store_field): Remove warning.
2426 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
2427 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
2428 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
2429 divisor constant power of 2.
2430 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
2432 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2434 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
2437 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2439 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
2440 (DWARF_FRAME_REGISTERS): Delete.
2442 2001-12-06 Janis Johnson <janis187@us.ibm.com>
2444 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
2445 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
2446 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
2447 with defaults for read prefetch with high degree of locality.
2448 * doc/extend.texi (__builtin_prefetch): Update documentation.
2449 * doc/md.texi (prefetch): Add documentation.
2451 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2453 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
2455 * fixinc/fixincl.x: Regenerate.
2456 Fixes PR libf2c/4826.
2458 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2459 Richard Henderson <rth@redhat.com>
2461 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
2462 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
2464 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
2465 to PRE_GCC3_DWARF_FRAME_REGISTERS.
2466 (frame_state): Same.
2467 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
2469 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2471 * langhooks.c (lhd_staticp): Mark parameter with
2474 2001-12-06 H.J. Lu <hjl@gnu.org>
2476 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
2478 (.po.pox): Likewise.
2479 (o/$(PACKAGE).pot): Likewise.
2481 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
2483 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
2484 * tree-inline.c (expand_call_inline): ... here.
2486 2001-12-06 H.J. Lu <hjl@gnu.org>
2488 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
2489 (.po.pox): Likewise.
2490 (o/$(PACKAGE).pot): Likewise.
2492 2001-12-06 David O'Brien <obrien@FreeBSD.org>
2494 * config.gcc: Include dbxelf.h before elfos.h.
2495 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
2497 2001-12-06 Zack Weinberg <zack@codesourcery.com>
2499 * cppfiles.c (open_file): If we've opened a directory by
2501 (find_include_file): Avoid turning / into // or // into ///.
2503 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2505 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
2506 (STRUCT_VALUE_REGNUM): Restore definition.
2508 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
2510 * flow.c (find_regno_partial): Return register, not the expression
2513 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2515 * function.c (handle_epilogue_set): Check for FP setting case when
2516 SP is set from FP in same insn.
2518 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2520 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
2521 RTX when calling alter_subreg().
2522 (store_multiple_sequence): Pass pointer to RTX when calling
2525 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2527 * function.c (assing_parms): Fix typo in last change.
2528 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
2529 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
2530 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
2531 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
2533 2001-12-06 Alan Modra <amodra@bigpond.net.au>
2535 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
2536 correct code selecting section.
2538 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
2540 * final.c (count_basic_block, add_bb, add_bb_string):
2542 (end_final, final_start_function, final, final_scan_insn,
2543 leaf_function_p): Kill BB profiler related code.
2544 * flags.h (profile_block_flag): Kill.
2545 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
2546 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
2547 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
2548 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
2549 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
2550 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
2551 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
2552 __bb_init_trace_func): Kill.
2553 * toplev.c (profile_block_flag): Kill.
2554 (indepdendent_decode_option, process_options): Kill -a related code.
2555 * alpha.c (direct_call_operand): Likewise.
2556 * arm.c (arm_expand_prologue, thumb_expand_prologue,
2557 thumb_expand_epilogue): Likewise.
2558 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
2559 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2560 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2561 MACHINE_STATE_RESTORE): Kill.
2562 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2563 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2564 MACHINE_STATE_RESTORE): Kill.
2565 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
2566 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
2567 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
2569 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
2570 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2571 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2572 MACHINE_STATE_RESTORE): Kill.
2573 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
2574 * i960.c (i960_output_function_prologue): Kill BB profiler related
2576 * ia64.c (ia64_compute_frame_size): Likewise.
2577 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2578 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2579 MACHINE_STATE_RESTORE): Kill.
2580 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
2581 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2582 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2583 MACHINE_STATE_RESTORE): Kill.
2584 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
2585 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2586 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2587 MACHINE_STATE_RESTORE): Kill.
2588 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
2589 Kill BB profiler related code.
2590 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2591 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2592 MACHINE_STATE_RESTORE): Kill.
2593 * mips.c (mips_expand_prologue): Kill BB profiler related code.
2594 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2595 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2596 MACHINE_STATE_RESTORE): Kill.
2597 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
2598 * s960.c (s390_function_prologue): Kill BB profiler related code.
2599 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2600 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2601 MACHINE_STATE_RESTORE): Kill.
2602 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2603 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2604 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2605 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2606 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
2607 sparc_nonflat_function_epilogue): Kill BB profiler related code.
2608 (sparc_function_block_profiler, sparc_block_profiler,
2609 sparc_function_block_profiler_exit): Kill.
2610 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
2611 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2612 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2613 MACHINE_STATE_RESTORE): Kill.
2614 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2615 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2616 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2617 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2618 MACHINE_STATE_RESTORE): Kill.
2619 * doc/invoke.texi: Kill documentation of -a and -ax.
2620 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2621 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2622 MACHINE_STATE_RESTORE): Kill.
2624 2001-10-26 Steve Christiansen <smc@us.ibm.com>
2626 * doc/rtl.texi: Use a table to display RTL format characters.
2628 2001-12-06 Bo Thorsen <bo@suse.co.uk>
2630 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
2632 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2634 * function.c (keep_stack_depressed): Check global_live_at_start
2635 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
2637 2001-12-05 David O'Brien <obrien@FreeBSD.org>
2639 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
2640 as set by the generic FreeBSD configure framework.
2642 2001-12-04 Jason Merrill <jason@redhat.com>
2644 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
2645 start_inlining, end_inlining.
2646 * tree-inline.c (expand_call_inline): Call them.
2647 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
2648 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
2649 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
2650 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
2651 (lhd_tree_inlining_end_inlining): New fn.
2653 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2655 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
2656 * c-common.h (shadow_warning): New.
2657 * c-decl.c: Include c-common.h.
2658 (warn_if_shadowing): New, broken out of pushdecl.
2659 (pushdecl): Use warn_if_shadowing.
2660 (store_parm_decls): Prevent duplicate -Wshadow warnings.
2662 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
2664 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
2665 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
2668 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2670 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
2671 (QUAL_UNION_TYPE): New type.
2673 * varasm.c (output_constant, case ERROR_MARK): New case.
2675 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
2676 (c_com): Delete its reference.
2677 * builtins.c: Delete memory checking code.
2678 * calls.c, expr.c, function.c, stmt.c: Likewise.
2679 * builtins.c (expand_builtin_arg_info): Remove reference to
2680 EXPAND_MEMORY_USE_* modifiers.
2681 * explow.c (expr_size): Likewise.
2682 * expr.c (expand_expr, expand_increment): Likewise.
2683 * expr.h (ARGS_SIZE_RTX): Likewise.
2684 * function.c (assign_parms, expand_pending_sizeso): Likewise.
2685 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
2686 * expr.c (in_check_memory_usage): Delete.
2687 (get_push_address, get_memory_usage_from_modifier): Delete.
2688 (expand_assigment): Use EXPAND_WRITE on destination.
2689 (expand_expr): Delete ro_modifier.
2690 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
2692 (memory_use_mode): Delete.
2693 * flags.h (flag_check_memory_usage): Deleted.
2694 (flag_prefix_function_name): Likewise.
2695 * function.c (expand_function_start): Don't set
2696 current_function_check_memory_usage.
2697 * function.h (check_memory_usage): Delete.
2698 * libfuncs.h, optabs.c: Delete chkr_* stuff.
2699 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
2701 * toplev.c (flag_check_memory_usage): Deleted.
2702 (flag_prefix_function_name): Likewise.
2703 (f_options, process_options): Delete references to above.
2704 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
2705 * varasm.c (CHKR_PREFIX): Deleted.
2706 (make_decl_rtl): Remove flag_prefix_function_name handling.
2707 (assemble_name): Likewise.
2708 * doc/extend.texi: Remove no_check_memory_usage attribute.
2709 * doc/invoke.texi: Remove -fcheck-memory-usage
2710 and -fprefix-function-name.
2712 2001-12-05 Andreas Schwab <schwab@suse.de>
2714 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
2717 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2719 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
2721 2001-12-05 William Cohen <wcohen@redhat.com>
2723 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
2726 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
2728 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
2731 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
2732 better reflect reality (change from Apple's tree).
2733 Add more of altivec instructions.
2734 Add ftruncv4sf2 pattern.
2735 Remove more unspecs (vector merge instructions, etc).
2737 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
2739 (bdesc_1arg): New, for 1 argument altivec builtins.
2740 (altivec_expand_builtin): Handle unary and ternary ops.
2741 (altivec_init_builtins): Ditto.
2743 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2745 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
2746 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
2748 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2750 * gcse.c (store_killed_in_insn): Consider pure calls
2751 as potential store killers in addition to normal calls.
2753 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2755 * expr.c (expand_expr): When checking promoted value, use
2756 DECL_MODE (exp) and not mode.
2758 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2760 * c-typeck.c (output_init_element): Call digest_init
2761 just once, not in each if branch and check its return value for
2764 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2766 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
2767 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
2768 (finish_struct): Break the loop if n_incomplete went to 0.
2769 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
2771 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
2773 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
2775 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2776 Douglas B. Rupp <rupp@gnat.com>
2778 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
2779 * doc/invoke.texi: Add -gvms.
2780 * doc/passes.texi: Add mention of vmsdbgout.c.
2781 * doc/tm.texi: Document VMS debugging output.
2783 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2785 * function.h (tree, rtx): Remove no-longer-needed definitions.
2787 * function.c (keep_stack_depressed): Refine check for register
2788 clobbered over call.
2790 * expr.c (store_expr): When copying string constant into array,
2791 use functions that update memrefs instead of computations on
2792 addresses to better track MEMs. Also properly handle 32/64 pointers.
2793 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
2794 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
2796 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
2797 underneath COMPONENT_REFs.
2798 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
2800 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2802 * toplev.c (display_target_options): Don't print twice.
2804 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
2806 * emit-rtl.c (set_unique_reg_note): Don't set
2807 a REG_EQUAL or REG_EQUIV note if multiple sets
2810 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2812 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
2815 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2817 * rtl.h (initialize_uninitialized_subregs): New prototype.
2818 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
2819 when optimization is on.
2820 * flow.c (find_regno_partial): Find subregs within an expression.
2821 (initialize_uninitialized_subregs): Initialize live on entry registers
2822 which are used in subreg expressions.
2824 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
2826 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
2828 2001-12-04 DJ Delorie <dj@redhat.com>
2830 * fixinc/fixincl.c (initialize): Avoid problemsome macro
2831 parameter names (PR 3388).
2833 2001-12-05 Alan Modra <amodra@bigpond.net.au>
2835 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
2836 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
2838 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2840 * c-common.def (COMPOUND_LITERAL_EXPR): New.
2841 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
2842 (c_staticp): New function.
2843 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
2844 (c_staticp): Declare.
2845 * c-typeck.c (default_function_array_conversion, build_unary_op):
2846 Don't handle CONSTRUCTOR specially.
2847 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
2848 * c-decl.c (build_compound_literal): New function.
2849 * c-tree.h (build_compound_literal): Declare.
2850 * c-parse.in (primary): Use build_compound_literal.
2851 * c-lang.c (LANG_HOOKS_STATICP): Define.
2852 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
2853 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
2854 * doc/extend.texi: Update documentation of compound literals.
2857 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2859 * langhooks.h (struct lang_hooks): Add staticp.
2860 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
2861 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
2862 * langhooks.c (lhd_staticp): New function.
2863 * tree.c (staticp): Call lang_hooks.staticp for language-specific
2866 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
2868 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
2869 * gcc.c (process_command): Ensure the cpp driver sees
2870 --help and --target-help, and that the help is printed
2873 2001-12-04 David Edelsohn <edelsohn@gnu.org>
2875 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
2877 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
2879 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
2880 flag_strict_aliasing. Use separate assignment statements.
2882 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2884 * build-make, cross-make: Delete file.
2885 * configure.in: Set and substitute CROSS, ALL,
2886 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
2887 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
2888 whether build == host and host == target. Do not
2889 AC_SUBST_FILE build_overrides or cross_overrides. Do not
2890 AC_SUBST cross_defines or extra_c_flags.
2891 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
2892 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
2893 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
2894 partially or completely with autoconf-substituted @variable@
2896 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
2897 @build_overrides@, @extra_c_flags@, all.build, install-build,
2898 install-cross-rest, install-float-h-cross): Deleted.
2899 (install-normal): Rename to install. Delete old "install"
2902 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2904 * stmt.c (expand_return): Clear destination instead of clobbering it
2905 when setting a return value via bitsets.
2907 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
2909 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
2910 it has DECL_SAVED_TREE.
2912 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
2913 is in a different binding level, get its abstract origin to be
2915 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
2917 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
2918 DECL_INITIAL is NULL.
2920 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2922 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
2923 Return correct value if one of the subexpressions was optimized to
2924 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
2925 (and_reg_cond): Similarly.
2927 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2929 * function.c (assign_parms): Set last_named only for last named
2932 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2934 * doc/install.texi: Use the GFDL. Include years from old install
2935 manual in copyright notice. Include copyright and GFDL notice on
2936 HTML index page. Include usual footer on testing.html.
2937 * doc/install.texi2html: Build gfdl.html. Use -I
2939 * doc/include/fdl.texi: Adapt for use in the install manual.
2941 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2943 * doc/install.texi: Document that installed native compiler for
2944 building cross compilers should be GCC 2.95 or later.
2946 2001-12-03 Eric Christopher <echristo@redhat.com>
2948 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
2949 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
2952 2001-12-03 Janis Johnson <janis187@us.ibm.com>
2954 * rtl.def (PREFETCH): New rtx code.
2955 * doc/rtl.texi (PREFETCH): Add documentation.
2956 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
2957 * rtlanal.c (reg_referenced_p): Ditto.
2958 * sched-vis.c (print_exp): Ditto.
2959 * ssa-dce.c (find_inherently_necessary): Ditto.
2961 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
2962 (PREFETCH_BLOCK): Define.
2963 * config/ia64/ia64.md (itanium_class): Add lfetch.
2964 (prefetch, prefetch_internal): New.
2966 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
2967 * builtins.def (BUILT_IN_PREFETCH): New.
2968 * builtins.c (expand_builtin_expect): New.
2969 (expand_builtin): Call it.
2970 * doc/extend.texi: Document __builtin_prefetch.
2972 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
2973 conflicts with new generic prefetch functionality.
2974 * config/i386/i386.c (ix86_expand_builtin): Use new name for
2977 2001-12-02 Ziemowit Laski <zlaski@apple.com>
2979 * objc/Make-lang.in: Update copyright.
2980 (OBJC_OBJS): Add objc-lang.o.
2981 (objc-lang.o): New rule.
2982 * objc/config-lang.in: Fix file description and update
2984 * objc/objc-act.c: Do not include langhooks.h and
2986 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
2987 (objc_post_options): Move to objc-lang.c.
2988 (objc_init_options): Move to objc-lang.c.
2989 (objc_init): Make non-static.
2990 (objc_decode_option): Make non-static.
2991 (HASHFUNCTION): Remove macro.
2992 (hash_func): New function.
2993 (hash_enter): Replace HASHFUNCTION with hash_func.
2994 (hash_lookup): Replace HASHFUNCTION with hash_func.
2995 (maybe_objc_tree_codes): New function.
2996 (init_objc): Move ObjC tree code initialization to
2997 maybe_objc_tree_codes().
2998 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
2999 (objc_init): New public prototype.
3000 (objc_decode_option): New public prototype.
3001 (maybe_add_objc_tree_codes): New public prototype.
3002 * objc/objc-lang.c: New file.
3003 (lang_hooks): Moved from objc-act.c.
3004 (objc_post_options): Moved from objc-act.c.
3005 (objc_init_options): Moved from objc-act.c.
3007 2001-12-03 Geoff Keating <geoffk@redhat.com>
3009 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
3012 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
3015 * gcc.c (process_command): Don't add a preprocessor option for
3016 --help and --target-help; cc1 is enough.
3018 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
3020 * c-decl.c (grokdeclarator): Use ISO word.
3021 * cppinit.c: Remove leading capital from diagnostic messages, as
3022 per GNU coding standards.
3023 * emit-rtl.c: Similarly.
3024 * final.c: Similarly.
3026 * tradcpp.c: Similarly.
3027 * config/arm/arm.c: Similarly.
3028 * config/arm/arm.h: Similarly.
3029 * config/avr/avr.c: Similarly.
3030 * config/avr/avr.h: Similarly.
3031 * config/c4x/c4x.c: Similarly.
3032 * config/cris/cris.c: Similarly.
3033 * config/cris/cris.h: Similarly.
3034 * config/d30v/d30v.c: Similarly.
3035 * config/dsp16xx/dsp16xx.c: Similarly.
3036 * config/dsp16xx/dsp16xx.h: Similarly.
3037 * config/h8300/h8300.c: Similarly.
3038 * config/i386/i386.c: Similarly.
3039 * config/i386/xm-djgpp.h: Similarly.
3040 * config/i960/i960.h: Similarly.
3041 * config/m32r/m32r.c: Similarly.
3042 * config/m68hc11/m68hc11.c: Similarly.
3043 * config/m88k/m88k.c: Similarly.
3044 * config/m88k/m88k.h: Similarly.
3045 * config/mcore/mcore.c: Similarly.
3046 * config/mcore/mcore.h: Similarly.
3047 * config/mips/mips.c: Similarly.
3048 * config/mmix/mmix.c: Similarly.
3049 * config/pa/pa.c: Similarly.
3050 * config/rs6000/rs6000.c: Similarly.
3051 * config/rs6000/sysv4.h: Similarly.
3052 * config/s390/s390.c: Similarly.
3053 * config/sparc/sparc.c: Similarly.
3054 * config/v850/v850-c.c: Similarly.
3055 * config/v850/v850.c: Similarly.
3057 2001-12-03 Zack Weinberg <zack@codesourcery.com>
3059 * rs6000.h (RETURN_IN_MEMORY): Cast result of
3060 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
3062 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
3064 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
3065 bit twiddling constant.
3067 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
3069 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
3070 call purge_dead_edges after removing.
3071 (delete_null_pointer_checks): Do not handle delete_list.
3073 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
3074 (count_basic_blocks): ... here.
3075 (find_basic_blocks, find_bb_boundaries): Cleanup.
3077 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
3078 overflow for types greater then 2 * HOST_WIDE_INT.
3080 * reload.c (find_reloads): Update the duplicates after swapingg.
3082 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
3084 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
3086 2001-12-02 Zack Weinberg <zack@codesourcery.com>
3088 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
3089 MASK_LONG_DOUBLE_128): Delete.
3090 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
3091 TARGET_AIX_STRUCT_RET): New flags.
3092 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
3093 -mlong-double-64. Add entries for -m(no-)aix-struct-return
3094 and -m(no-)svr4-struct-return.
3095 (TARGET_OPTIONS): Add entry for -mlong-double-.
3096 (rs6000_long_double_size_string, rs6000_long_double_type_size,
3097 rs6000_altivec_abi): Declare.
3098 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
3099 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
3100 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
3101 structures of size <= 8 bytes in registers.
3102 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
3104 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
3105 rs6000_long_double_type_size, rs6000_altivec_abi): New
3107 (rs6000_override_options): Set rs6000_long_double_type_size
3108 from rs6000_long_double_size_string, if nonzero. Set the
3109 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
3111 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
3113 (rs6000_init_builtins): This hook now takes no arguments.
3115 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
3116 DRAFT_V4_STRUCT_RET to 1.
3118 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
3120 * c-typeck.c (really_start_incremental_init, push_init_level):
3121 Avoid constructor_max_index being other than an INTEGER_CST.
3123 2001-12-02 David Edelsohn <edelsohn@gnu.org>
3125 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
3127 (ASM_GENERATE_INTERNAL_LABEL): Same.
3128 (UNIQUE_SECTION): Fix typo.
3130 2001-12-02 Richard Henderson <rth@redhat.com>
3132 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
3134 2001-12-02 Richard Henderson <rth@redhat.com>
3136 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
3137 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
3138 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
3139 * expr.h, final.c, reload1.c: Adjust users.
3141 * alias.c (nonoverlapping_component_refs_p): New.
3142 (decl_for_component_ref, adjust_offset_for_component_ref): New.
3143 (nonoverlapping_memrefs_p): Use them.
3144 * emit-rtl.c (component_ref_for_mem_expr): New.
3145 (set_mem_attributes): Use it.
3146 (set_mem_offset): New.
3147 * expr.c (expand_assignment): Call set_mem_attributes for
3148 inner references; adjust the memory offset as needed.
3149 * print-rtl.c (print_mem_expr): New.
3150 (print_rtx): Use it.
3152 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
3154 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
3156 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
3157 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
3158 (ASM_SPEC): Don't redefine.
3159 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
3160 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
3161 * config/alpha/vms-dwarf2.asm: New file.
3163 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
3164 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
3165 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
3166 (vmsdbgout_after_prologue): New declaration.
3167 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
3168 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
3169 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
3170 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
3171 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
3172 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
3173 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
3174 Test VMS_DEBUGGING_INFO.
3175 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
3176 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
3177 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
3178 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
3179 VMS_AND_DWARF2_DEBUG.
3180 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
3181 (decode_g_option): Add "vms" to debug_type_names.
3182 (process_options): Set vmsdbg_debug_hooks if -gvms.
3183 (lang_independent_init): Emit line number for VMS unless -g0.
3184 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
3185 * vmsdbg.h, vmsdbgout.c: New files.
3187 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3189 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
3191 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3193 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
3194 * dwarf2out.c (is_cxx): Prototype.
3195 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
3197 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
3199 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3201 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
3203 2001-12-02 Geoff Keating <geoffk@redhat.com>
3205 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
3206 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
3207 rather than simplify_subreg. Check for volatile-ness. Check that
3208 we're not splitting one slow operation into two slow operations.
3210 2001-12-02 David Edelsohn <edelsohn@gnu.org>
3212 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
3215 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
3217 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
3218 capital from diagnostics.
3219 * c-lex.c (cb_file_change): Similarly.
3220 * c-parse.in : Similarly.
3221 * cfgrtl.c (verify_flow_info): Similarly.
3222 * collect2.c: Similarly.
3223 * cppfiles.c (find_include_file): Similarly.
3224 * cppinit.c (cpp_handle_option): Similarly.
3225 * cpplex.c (cpp_spell_token): Similarly.
3226 * cppmain.c (do_preprocessing): Similarly.
3227 * gcc.c (translate_options, process_command, do_spec1,
3228 main, pfatal_execute): Similarly.
3229 * genattr.c (main): Similarly.
3230 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
3231 write_test_expr, main): Similarly.
3232 * gencodes.c (main): Similarly.
3233 * genconfig.c (main): Similarly.
3234 * genconstants.c (main): Similarly.
3235 * genemit.c (main): Similarly.
3236 * genextract.c (main): Similarly.
3237 * genflags.c (main): Similarly.
3238 * genopinit.c (main): Similarly.
3239 * genoutput.c (process_template, main): Similarly.
3240 * genpeep.c (main): Similarly.
3241 * genrecog.c (main): Similarly.
3242 * gensupport.c (is_predicable, identify_predicable_attribute,
3243 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
3244 * ggc-page.c (alloc_anon): Similarly.
3245 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
3246 parse_begin, parse_bend, parse_def, parse_end, parse_file,
3247 parse_stabs_common, parse_stabs, write_varray, write_object,
3248 read_seek, copy_object, main, error): Similarly.
3249 * profile.c (compute_branch_probabilities): Similarly.
3250 * reg-stack.c (check_asm_stack_operands): Similarly.
3251 * reload.c (find_reloads): Similarly.
3252 * reload1.c (spill_failure, failed_reload): Similarly.
3253 * rtl-error.c (_fatal_insn_not_found): Similarly.
3254 * toplev.c (read_integral_parameter, crash_signal,
3255 decode_f_option, set_target_switch, parse_options_and_default_flags)
3257 * tradcif.y (parse_number, yylex): Similarly.
3258 * tradcpp.c (main, fancy_abort): Similarly.
3259 * tree.c (tree_check_failed): Similarly.
3260 * varray.c (varray_check_failed): Similarly.
3261 * xcoffout.c (xcoff_output_standard_types): Similarly.
3263 * objc-act.c (get_object_ref, lookup_and_install_protocols,
3264 build_objc_string_object, objc_declare_alias, build_ivar_chain,
3265 finish_message_expr, build_protocol_expr, is_public,
3266 start_class): Similarly.
3268 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
3270 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
3271 trailing period from diagnostics.
3272 * c-lex.c (cb_file_change): Similarly.
3273 * cppmacro.c (check_trad_stringification): Similarly.
3274 * gcc.c (do_spec_1): Similarly.
3275 * genattr.c (main): Similarly.
3276 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
3277 * gencodes.c (main): Similarly.
3278 * genconfig.c (main): Similarly.
3279 * genconstants.c (main): Similarly.
3280 * genemit.c (main): Similarly.
3281 * genextract.c (main): Similarly.
3282 * genopinit.c (main): Similarly.
3283 * genoutput.c (main): Similarly.
3284 * genpeep.c (main): Similarly.
3285 * genrecog.c (main): Similarly.
3286 * mips-tfile.c (add_file, error): Similarly.
3287 * profile.c (init_branch_prob): Similarly.
3288 * reload1.c (spill_failure): Similarly.
3289 * stmt.c (parse_output_constraint): Similarly.
3290 * varasm.c (assemble_variable): Similarly.
3292 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3294 * m68k.c (init_FPA_table): Provide static prototype.
3295 * mips/abi64.h (mips_function_value): Move prototype to ...
3296 * mips-protos.h (mips_function_value): ... here.
3297 * mips.c: Include halfpic.h.
3298 * output.h (rdata_section): Prototype.
3300 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3301 * m88k.c (m88k_svr3_asm_out_constructor,
3302 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
3304 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3305 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3306 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3308 2001-12-01 Geoff Keating <geoffk@redhat.com>
3310 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
3311 LO_SUM addresses less than word size are not legitimate,
3312 because they lead to invalid SUBREGs.
3313 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
3315 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
3317 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
3318 while scanning for multiple back edges.
3320 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3322 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
3323 * config/rs6000/tramp.asm: Use it.
3325 2001-12-01 Zack Weinberg <zack@codesourcery.com>
3327 * gencheck.c, gengenrtl.c: Don't define xmalloc.
3328 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
3331 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3333 * pa.c (output_ascii): Cast `p' to unsigned char.
3335 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3337 * config/rs6000/rs6000.c (altivec_expand_builtin): add
3338 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
3339 *_16qi,_8hi, rename existing V4SI ones to *_4si.
3340 (altivec_init_builtins): Ditto.
3341 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
3343 * config/rs6000/rs6000.md: Add attribute types vecsimple,
3344 veccomplex, vecfloat, and vecperm, for altivec instructions.
3345 Modify altivec patterns to use appropriate attribute type.
3346 Modify altivec patterns to match RTL operations where appropriate
3347 (IE no unspec where we can avoid it).
3348 Add vector unit scheduling for ppc7450.
3349 Rename patterns to what they are where appropriate
3350 (altivec_vaddfp->addv4sf3, etc)
3352 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
3353 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
3355 * config/rs6000/sysv4.h: Add -mcpu=7450.
3357 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
3358 _builtin_altivec_ld_interal function.
3360 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3362 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
3363 strchr, strrchr, isascii, gettimeofday.
3364 * config.in, configure: Regenerate.
3366 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3368 * unroll.c (unroll_loop): Correct special exit cases.
3370 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
3372 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
3373 accept DFmode and DImode only.
3375 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3377 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
3378 (STACK_DYNAMIC_OFFSET): Same.
3380 2001-11-30 Richard Henderson <rth@redhat.com>
3382 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
3384 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3386 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
3387 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
3388 the values in call_used_registers.
3390 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
3392 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
3395 2001-11-30 Jason Merrill <jason@redhat.com>
3397 * dwarf2out.c (is_cxx): New fn.
3398 (add_data_member_location_attribute): Check it.
3399 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
3401 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3403 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
3405 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3407 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
3408 MODE_VECTOR_FLOAT as allowed.
3410 2001-11-29 Zack Weinberg <zack@codesourcery.com>
3412 Purge cruft now we have build libiberty.
3414 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
3415 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
3416 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
3417 USE_HOST_STRSTR): Delete variables.
3418 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
3419 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
3420 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3421 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
3422 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
3423 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
3424 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
3425 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
3427 (HOST_RTL): Remove hashtab.o safe-ctype.o.
3428 (OBJS): Remove splay-tree.o.
3429 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
3430 (distclean): No need to delete splay-tree.c obstack.c
3431 hashtab.c safe-ctype.c.
3432 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
3433 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
3434 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
3436 * configure.in: Don't use them.
3437 Set and substitute @FORBUILD@.
3438 * config.in, configure: Regenerate.
3439 * doprint.c: Move to libiberty/_doprnt.c.
3440 * doc/configterms.texi: Document that libiberty is now built
3441 up to three times. Fix typo.
3443 2001-11-30 Jason Merrill <jason@redhat.com>
3445 * dwarf2out.c (add_data_member_location_attribute): Do the
3446 right thing for virtual bases.
3447 * dbxout.c (dbxout_type): For a virtual base, print the offset
3450 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3452 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
3454 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
3456 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
3458 Remove unused attribute for named.
3460 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3462 * genattrtab.c (attr_rtx_1): New function containing the
3463 majority of `attr_rtx'. Move variable declarations into the
3464 scope where they are used. Eliminate unnecessary gotos.
3465 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
3466 VA_FIXEDARG, and VA_CLOSE.
3468 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
3470 * config/cris/cris.c (cris_notice_update_cc): Check first
3471 destination also against overlap with cc_status.value2 and second
3472 destination against overlap with cc_status.value1. For overlaps,
3473 clear overlapped value, don't just CC_STATUS_INIT.
3475 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
3476 Fix typo in comment.
3477 (LINK_SPEC): Remove whitespace at end of line.
3479 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3481 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
3483 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3485 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
3486 macros for the supported debugging types.
3488 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
3491 * config/i386/i386.c (print_operand): Verify that the
3492 argument to %c is a constant and not a conditional which
3493 needs to be reversed.
3495 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
3497 * emit-rtl.c (gen_lowpart_common): Fix conversion of
3498 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
3499 of low part of those arrays for 32bit and 64bit hosts.
3501 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3503 * Makefile.in (insn-output.o): Depend on insn-codes.h.
3505 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3507 * configure.in (target_list): Add generated-manpages.
3508 * configure: Regenerate.
3509 * Makefile.in (generated-manpages): Depend on
3510 lang.generated-manpages.
3511 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
3513 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
3515 * config/arm/crti.asm (_init): Add .thumb_func if compiled
3517 (_fini): Add .thumb_func if compiled with -mthumb.
3519 2001-11-28 Eric Christopher <echristo@redhat.com>
3521 * config/mips/mips.c (override_options): Fix thinko in mips_tune
3522 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
3524 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
3526 * alpha.md (tablejump): Use pic_offset_table_rtx
3527 instead of gen_rtx_REG.
3529 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
3531 * expr.c (store_expr): When copying a string constant into an
3532 array, reset the known alignment of the MEM for the section to
3533 be cleared to BITS_PER_UNIT.
3535 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3537 * config/cris/cris.c: Remove whitespace at end of line.
3539 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
3541 * config.gcc (i[34567]86-*-interix3*): New case.
3542 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
3545 2001-11-28 Richard Henderson <rth@redhat.com>
3547 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
3548 symbolic_operand as the predicate.
3550 2001-11-28 Richard Henderson <rth@redhat.com>
3552 * doloop.c (doloop_modify_runtime): Properly select induction
3553 variable; skip late entry test if biv initializer created by loop.
3555 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3557 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
3558 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
3560 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
3562 * tree.h: Add missing checks on some macros; make formatting more
3565 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
3566 level; only add to pending_sizes if find it.
3568 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
3570 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
3571 Add casts to remove warnings.
3573 * Makefile.in (OBJS): Sort alphabetically.
3575 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
3576 Also minor cleanups.
3578 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
3580 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
3581 (FLAGS_TO_PASS): Add STAGE_PREFIX.
3582 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
3585 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
3587 * cse.c (true_dependence_in_rtx): New function.
3588 (invalidate): Use it.
3590 * c-common.h (GOTO_FAKE_P): New macro.
3591 * tree-inline.c (GOTO_FAKE_P): Set.
3592 * c-tree.texi (GOTO_FAKE_P): Document.
3594 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
3595 containing pointers.
3596 (output_addressed_constants): Check for local/external relocations.
3597 * elfos.h (SELECT_SECTION): Classify data section.
3598 * tm.texi (SELECT_SECTION): Update documentation.
3600 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
3601 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
3603 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3605 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
3606 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
3609 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3611 * config/cris/cris.c: Tweak spacing for prototypes.
3612 (LOSE_AND_RETURN): New macro.
3613 (cris_operand_lossage): New function.
3614 (cris_print_index, cris_print_base): Use cris_operand_lossage
3615 rather than fatal_insn.
3616 (cris_print_operand, cris_print_operand_address): Use
3617 LOSE_AND_RETURN rather than fatal_insn and internal_error.
3618 (cris_output_addr_const): Use LOSE_AND_RETURN and
3619 output_operand_lossage rather than fatal_insn and internal_error
3620 for valid but unexpected rtx expressions.
3622 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
3623 for a SUBREG in src or dest, abort instead.
3625 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3627 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
3630 2001-11-27 Jakub Jelinek <jakub@redhat.com>
3632 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
3633 preprocessor define. If only DBX_DEBUGGING_INFO or only
3634 DWARF2_DEBUGGING_INFO is supported for the target, provide
3635 appropriate definitions.
3637 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3639 * Makefile.in: Update, and add c-objc-common.o dependencies.
3640 * c-lang.c: Remove unnecessary includes.
3641 (c_init): Move bulk of code to c_objc_common_init, and call it.
3642 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
3643 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
3645 * c-objc-common.c: New. Mostly pulled from c-lang.c.
3646 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
3647 c_objc_common_init, c_missing_noreturn_ok_p): New.
3648 * toplev.c: Update comment.
3649 * doc/passes.texi: Update.
3651 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
3652 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
3653 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
3654 (objc_init): Update to use c_objc_common_init.
3656 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3658 * cpphash.c (_cpp_init_hashtable): Update.
3659 * cpphash.h (struct spec_nodes): Remove n_L.
3660 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
3662 2001-11-17 Richard Henderson <rth@redhat.com>
3664 * unroll.c (loop_iterations): Move last change ...
3665 * doloop.c (doloop_modify_runtime): ... here.
3667 2001-11-17 Corey Minyard <minyard@acm.org>
3668 Richard Henderson <rth@redhat.com>
3670 * unroll.c (loop_iterations): Detect one situation in which we
3671 overestimate the number of iterations.
3673 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3675 * gcc.c (set_input): Export.
3676 Move declaration ...
3677 gcc.h (set_input): ... here.
3679 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3681 * gcc.c (set_collect_gcc_options): New function, split out from
3683 Ignore elided switches.
3684 (do_spec): Invoke before executing command.
3685 (do_spec_1): Likewise.
3686 Fixes PR other/3968.
3688 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
3690 * config/cris/cris.h (INT_ASM_OP): Remove.
3692 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3694 * config/i386/sol2.h (WINT_TYPE): Redefine.
3695 (WINT_TYPE_SIZE): Likewise.
3697 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3699 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
3700 (dup2): Make static and add prototype.
3701 * m68k/plexus.h: Don't define NO_DUP2.
3702 * configure.in (AC_CHECK_FUNCS): Add dup2.
3703 * config.in, configure: Regenerate.
3705 * ia64/aix.h (REG_SIZE): Don't #undef.
3706 * sparc.h (REG_SIZE): Delete.
3707 * flow.c (mark_used_regs): Don't use REG_SIZE.
3708 * regs.h (REG_SIZE): Delete.
3710 2001-11-27 Andreas Schwab <schwab@suse.de>
3712 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
3713 PREFERRED_DEBUGGING_TYPE.
3715 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3717 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
3718 (expr.o, varasm.o): Depends on langhooks.h.
3719 * c-common.c (c_safe_from_p): Always declare.
3720 (c_expand_expr): Refine when declared.
3721 * c-lang.c (c-common.h): Now include.
3722 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
3723 (c_init): Don't set lang_safe_from_expr.
3724 * expr.c (langhooks.h): Now include.
3725 (lang_safe_from_p): No longer define.
3726 (safe_from_p): Use lang hook.
3727 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
3728 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
3729 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
3730 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
3731 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
3732 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
3733 * langhooks.h (struct lang_hooks): New fields expand_constant
3735 * output.h (output_constant): Size arg is HOST_WIDE_INT.
3736 * stmt.c (expand_decl_init): No longer need to expand constant
3738 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
3739 * toplev.c (lang_expand_constant): Delete var.
3740 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
3741 operations on SAVE_EXPR.
3742 * varasm.c (langhooks.h): Now include.
3743 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
3744 (record_constant_1, output_addressed_constants): Likewise.
3745 (initializer_constant_valid_p, output_constant): Likewise.
3746 (output_constant_def): Process no-defer of string constant.
3747 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
3748 (output_constant): Strip more conversions.
3749 Track our size and pad for the rest.
3750 (array_size_for_constructor): Remove code for non-byte STRING_CST.
3751 (output_constructor): SIZE now HOST_WIDE_INT.
3753 2001-11-27 Richard Henderson <rth@redhat.com>
3755 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
3758 2001-11-27 Zack Weinberg <zack@codesourcery.com>
3760 * cppfiles.c (read_include_file): Add comment.
3762 2001-11-26 Richard Henderson <rth@redhat.com>
3764 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
3766 2001-11-26 Richard Henderson <rth@redhat.com>
3768 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
3769 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
3770 commented out override.
3772 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3774 * cppfiles.c (stack_include_file): Don't optimize zero-length
3776 (read_include_file): NUL-terminate read files.
3777 * cpplex.c (handle_newline, skip_escaped_newlines,
3778 get_effective_char, skip_whitespace, parse_identifier,
3779 parse_identifier_slow, parse_number, parse_string,
3780 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
3782 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
3783 Be sure buffers are NUL terminated.
3784 * cppmacro.c (warn_of_redefinition): Kill compile warning.
3786 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3788 * c-common.c: Include tree-inline.h.
3789 (c_language): Move separate definitions here.
3790 (c_common_init_options, c_common_post_options): New.
3791 (c_common_lang_init): Rename c_common_init.
3792 * c-common.h (c_common_lang_init): Similarly.
3793 (c_common_init_options, c_common_post_options): New.
3794 * c-lang.c (c_post_options): Move body to c_common_post_options.
3795 (c_init_options): Use c_common_init_options.
3797 * langhooks.def: Rearrange.
3798 * langhooks.h: Rearrange, and improve comments.
3799 * toplev.c (do_compile): New function.
3800 (toplev_main): Use it.
3801 (lang_independent_f_options, parse_options_and_default_flags,
3802 process_options): Remove trailing periods.
3803 * Makefile.in: Update.
3804 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
3806 (ojbc_init): Update.
3808 2001-11-26 Richard Henderson <rth@redhat.com>
3810 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
3812 2001-11-26 DJ Delorie <dj@redhat.com>
3814 * expr.c (store_constructor): Actually use the value computed
3815 if WORD_REGISTER_OPERATIONS.
3817 2001-11-26 Richard Henderson <rth@redhat.com>
3819 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
3822 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3824 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
3825 correct function on AIX.
3827 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
3829 * toplev.c (process_options): Don't force
3830 flag_optimize_sibling_calls to zero just because exceptions are
3833 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
3835 * df.h (transfer_function_sbitmap): Use PARAMS around argument
3836 list in function prototypes.
3837 (transfer_function_bitmap): Likewise.
3839 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
3841 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
3842 * config/i386/netbsd-elf.h: Likewise.
3844 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3846 * doc/trouble.texi: Remove outdated RS/6000 comments.
3848 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
3850 * final.c (walk_alter_subreg): Fix return value.
3852 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
3854 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
3856 * sparc.md (post-reload splitters): Do not call alter_subreg.
3857 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
3859 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
3861 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
3863 2001-11-26 Alan Modra <amodra@bigpond.net.au>
3865 * final.c: (insn_lengths): Make it an int *, so that large jump
3866 tables don't overflow.
3868 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3870 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
3871 (format_types): Use it for scanf.
3872 (dollar_arguments_pointer_p): New.
3873 (init_dollar_format_checking): Store details of which arguments
3875 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
3876 (finish_dollar_format_checking): Take extra parameter
3877 pointer_gap_ok. Treat unused arguments differently if
3878 pointer_gap_ok and the unused arguments are pointers.
3879 (check_format_info_main): Pass extra argument to
3880 finish_dollar_format_checking.
3881 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
3882 unused arguments are present between used arguments with operand
3885 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
3887 * df.c: Add prototypes for hybrid_search_bitmap and
3888 hybrid_search_sbitmap.
3889 (hybrid_search_bitmap): New function.
3890 (hybrid_search_sbitmap): New function.
3891 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
3892 (iterative_dataflow_bitmap): Ditto.
3894 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3896 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
3897 address computations.
3899 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3901 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
3902 register b (low part of d).
3904 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3906 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
3909 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
3911 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
3912 * config/alpha/x-vms: New file, to compile the above.
3913 * config.gcc (alpha*-dec-vms*): Add x-vms.
3915 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
3917 * genextract.c (main): Set ro_loc for peepholes.
3919 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
3921 * fix-header.c (main): Move inf_buffer termination and inf_limit
3922 calculation to after read.
3924 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
3925 (__UNIX_FOPEN): Define.
3927 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3929 * function.c (assign_stack_temp_for_type): Clear alias set before
3932 2001-11-23 David Edelsohn <edelsohn@gnu.org>
3934 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
3936 * rs6000.md (cmptf): Fix typo.
3938 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
3940 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
3941 * varasm.c (output_constructor): Use assemble_integer rather
3942 than ASM_OUTPUT_BYTE.
3944 2001-11-23 Andreas Jaeger <aj@suse.de>
3946 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
3949 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
3951 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
3953 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
3954 (MULTILIB_DEFAULTS): Remove previous definition.
3956 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
3958 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
3959 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
3961 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3963 * cris.h: Revert thinko in last patch.
3965 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
3967 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
3968 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
3969 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
3970 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
3971 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
3972 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
3974 * predict.c, reg-stack.c: Fix spelling errors.
3976 2001-10-09 Andrew Haley <aph@redhat.com>
3978 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
3979 start of stack slot.
3981 2001-11-22 Graham Stott <grahams@redhat.com>
3983 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
3984 replacement jump after original jump.
3986 (verify_flow_info): Remove redundent initialisation.
3987 Handle reaching end of insn list before finding a BARRIER.
3988 Only issue one missing barrier diagnostic.
3990 2001-11-22 Graham Stott <grahams@redhat.com>
3992 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
3994 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3996 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
3999 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
4001 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
4002 Fix typo -mm32rx=> -m32rx.
4004 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
4007 * config.gcc (xscale-coff): Add necessary header files to
4010 2001-11-20 Zack Weinberg <zack@codesourcery.com>
4012 * rs6000.c (output_cbranch): Use $, not %$, in output template.
4014 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4016 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
4017 (lang_type_quals): Declare.
4018 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
4019 retrieve language-specific qualifiers for a type node, instead of
4020 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
4022 * tree-dump.h: Rename from c-dump.h.
4023 * c-common.h (C_TYPE_QUALS): Removed.
4024 Move declarations for tree-dump.c interface to...
4025 * tree.h: ... here. Remove lang_dump_tree.
4026 * langhooks.h (struct lang_hooks_for_tree_dump): New.
4027 (struct lang_hooks): Add tree_dump hooks.
4028 * langhooks.c (lhd_tree_dump_dump_tree): New function.
4029 (lhd_tree_dump_type_quals): New function.
4030 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
4032 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
4033 * Makefile.in: Move tree-dump.o to language-independent back-end.
4035 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4037 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
4038 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
4039 * arc.h (DBX_REGISTER_NUMBER): Likewise.
4040 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
4041 * avr.h (DBX_REGISTER_NUMBER): Likewise.
4042 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
4043 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
4044 * convex.h (DBX_REGISTER_NUMBER): Likewise.
4045 * cris.h (DBX_REGISTER_NUMBER): Likewise.
4046 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
4047 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
4048 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
4049 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
4050 * i370.h (DBX_REGISTER_NUMBER): Likewise.
4051 * i860.h (DBX_REGISTER_NUMBER): Likewise.
4052 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
4053 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
4054 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
4055 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
4056 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
4057 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
4058 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
4059 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
4060 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
4061 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
4062 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
4063 * romp.h (DBX_REGISTER_NUMBER): Likewise.
4064 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
4065 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
4066 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
4067 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
4068 * v850.h (DBX_REGISTER_NUMBER): Likewise.
4069 * vax.h (DBX_REGISTER_NUMBER): Likewise.
4070 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
4072 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
4073 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
4075 2001-11-21 H.J. Lu <hjl@gnu.org>
4077 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
4079 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4081 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
4082 emit_cmp_and_jump_insns.
4084 * stormy16.c (xstormy16_expand_builtin_va_arg,
4085 xstormy16_expand_casesi): Likewise.
4087 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4089 * function.c (keep_stack_depressed): Major rework.
4090 (handle_epilogue_set, emit_equiv_load): New functions.
4091 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
4093 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
4094 * rtl.h (SET_IS_RETURN_P): New macro.
4096 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
4097 and also support TREE_ADDRESSABLE.
4098 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
4100 2001-11-21 David Edelsohn <edelsohn@gnu.org>
4102 * rs6000.md (cmptf_internal1): Replace %$ with $.
4104 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
4106 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
4107 (read_include_file): Use STAT_SIZE_TOO_BIG.
4109 * cppinit.c (INO_T_COPY): Define.
4110 (INO_T_EQ): Uppercase parameters.
4111 (append_include_chain): Use INO_T_COPY.
4113 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
4115 * cfg.c: Fix typos and formatting in the introductory comment.
4117 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
4119 * profile.c (compute_branch_probabilites): Compute probabilities
4120 for entry/exit edges; estimate probabilities for zero counts.
4122 2001-11-21 Jakub Jelinek <jakub@redhat.com>
4124 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
4125 to emit_library_call.
4126 * function.c (expand_main_function, expand_function_start,
4127 expand_function_end): Likewise.
4128 * profile.c (output_func_start_profiler): Likewise.
4129 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
4130 second argument to emit_library_call.
4131 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
4132 as second argument to emit_library_call.
4133 * calls.c (emit_library_call): Update fn_type description.
4135 2001-11-21 Jakub Jelinek <jakub@redhat.com>
4137 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
4138 if fndecl is still DECL_INLINE and has DECL_RESULT.
4140 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4142 * clipper.c (clipper_movstr): Avoid uninitialized warning.
4143 * i960.c (is_mask, legitimize_address): Likewise.
4144 * m88k.c (m88k_expand_prologue): Likewise.
4145 * m88k.md: Likewise.
4146 * mcore.c (emit_new_cond_insn): Likewise.
4147 * stormy16.c (xstormy16_emit_cbranch): Likewise.
4149 2001-11-20 Zack Weinberg <zack@codesourcery.com>
4151 * config.gcc: Delete powerpcle-*-solaris2* stanza.
4152 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
4153 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
4154 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
4155 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
4156 config/rs6000/t-ppcos: Expunge all references to Solaris.
4158 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
4160 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
4162 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
4163 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
4165 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4167 * sh.md: Avoid uninitialized warnings.
4168 * vax.c (vax_rtx_cost): Likewise.
4170 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
4172 * rs6000.c (direct_return): Check if we are saving altivec
4174 (first_altivec_reg_to_save): New.
4175 Updated stack frame layout comments.
4176 (rs6000_stack_info): Calculate altivec register save size.
4177 Save link register if we saved some altivec registers.
4178 (rs6000_stack_info): Align save size to 16 if altivec abi or
4180 (rs6000_stack_info): Calculate altivec register offsets.
4181 (rs6000_stack_info): Add altivec info to save_size.
4182 (debug_stack_info): Add altivec debug info.
4183 (rs6000_emit_prologue): Save altivec registers and vrsave.
4184 (compute_vrsave_mask): New.
4185 (altivec_expand_builtin): Remove unused variables.
4186 (rs6000_parse_abi_options): Add static qualifier.
4187 (rs6000_expand_builtin): Remove unused parameters.
4188 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
4189 (altivec_init_builtins): Same.
4190 (is_altivec_return_reg): New.
4191 (vrsave_operation): New.
4192 (ALTIVEC_REG_BIT): New.
4193 (generate_set_vrsave): New.
4195 * rs6000.md (get_vrsave): New.
4197 (*set_vrsave_internal): New.
4199 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
4200 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
4201 altivec_padding_size, vrsave_mask.
4202 (TOTAL_ALTIVEC_REGS): New.
4203 (EPILOGUE_USES): Add VRSAVE_REGNO.
4205 2001-11-20 Jeff Law <law@redhat.com>
4207 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
4208 exit label as necessary.
4210 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
4212 * reload1.c (elimination_effects): Use function_invariant_p
4213 instead of CONSTANT_P when considering register equivalences.
4215 2001-11-20 David O'Brien <obrien@FreeBSD.org>
4217 * config.gcc: Add FreeBSD/PowerPC target.
4218 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
4219 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
4220 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
4221 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
4222 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
4223 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
4224 freebsd-spec.h to tm_file.
4225 (rs6000-*-lynxos*): Add lynx.h to tm_file.
4226 * config/freebsd.h: Tidy up.
4227 (USING_CONFIG_FREEBSD): Define.
4228 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
4229 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
4230 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
4231 (TARGET_HAS_F_SETLKW): Define.
4232 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
4233 * config/freebsd-spec.h: New file.
4234 * config/rs6000/freebsd.h: New file.
4235 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
4236 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
4237 USING_SVR4_H to know when to turn on ELF support.
4238 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
4239 define only if not already defined.
4240 Add FreeBSD support.
4241 * config/rs6000/aix.h (TARGET_VERSION): Define.
4242 * config/rs6000/beos.h: Likewise.
4243 * config/rs6000/darwin.h: Likewise.
4244 * config/rs6000/mach.h: Likewise.
4245 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
4246 Don't include lynx.h directly.
4248 2001-11-20 Graham Stott <grahams@redhat.com>
4250 * unwind-dw2-fde.c (__deregister_frame_info_bases):
4251 Fix lossage in last change return OB.
4253 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
4255 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
4256 Remove unneeded exit related macros.
4258 2001-11-20 David Edelsohn <edelsohn@gnu.org>
4260 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
4262 * rs6000.c (rs6000_emit_move): Add TFmode case.
4263 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
4264 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
4265 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
4266 * rs6000.h: ... to here.
4267 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
4268 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
4269 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
4271 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4273 * emit-rtl.c (get_mem_attrs): Fix typo.
4275 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4277 * c-lang.c (finish_file): Backout 2001-11-16
4278 changes, instead set DECL_DEFER_OUTPUT for static inline functions
4279 before calling c_expand_deferred_function.
4281 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4283 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
4284 Don't register empty .eh_frame sections.
4285 (__deregister_frame_info_bases, __deregister_frame): Don't
4286 unregister them either.
4288 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4290 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
4291 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
4292 * configure: Regenerate.
4293 * config.in: Add dummy definitions of new flags.
4294 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
4295 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
4296 * gcc.c (ASM_DEBUG_SPEC): New macro.
4297 (asm_debug): New static variable.
4298 (default_compilers): Add asm_debug when assembling from
4300 (static_specs): Add asm_debug.
4302 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
4304 * config.gcc (*-*-freebsd*): Remove configuration block.
4306 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4309 * configure.in: Setup ability to run ./stage[1234]/xgcc in
4310 fixinc *as if* it were a proper lang subdirectory.
4311 * configure: Rebuilt.
4313 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4315 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
4317 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4319 * 1750a.md: Don't use hex format for a const_int.
4321 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4323 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
4325 2001-11-19 Zack Weinberg <zack@codesourcery.com>
4327 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
4328 defined (prevents link errors when gettext isn't in the system
4331 2001-11-19 DJ Delorie <dj@redhat.com>
4333 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
4334 (validate_const_int): New.
4335 (read_rtx): Validate constant integers.
4336 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
4338 2001-11-19 Jakub Jelinek <jakub@redhat.com>
4340 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
4342 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
4344 * toplev.c (DUMPFILE_FORMAT): Define default.
4345 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
4346 (close_dump_file, compile_file): Likewise.
4347 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
4348 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
4350 2001-11-19 Jeff Law <law@redhat.com>
4352 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
4355 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
4357 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
4358 Don't fall off the base token run.
4360 2001-11-19 Jason Wilkins <fenix@io.com>
4362 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
4364 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4366 * tree.def (VIEW_CONVERT_EXPR): New tree code.
4367 * tree.h (handled_component_p): New declaration.
4368 * alias.c (handled_component_p): Move function from here ...
4369 * expr.c (handled_component_p): ... to here and non longer static.
4370 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
4371 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
4372 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
4373 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
4374 (expand_expr, case VIEW_CONVERT_EXPR): New case.
4375 (expand_expr, cse ADDR_EXPR): No need to copy if already
4377 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
4378 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
4379 (output_constant): Handle VIEW_CONVERT_EXPR.
4380 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
4381 Add new case for VIEW_CONVERT_EXPR.
4383 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4385 * a29k/unix.h (ASM_FILE_START): Const-ify.
4386 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
4387 * i386/isc.h (ASM_FILE_START): Const-ify.
4388 * i386/sun386.h (ASM_FILE_START): Likewise.
4389 * m32r.md: Likewise.
4390 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
4391 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
4392 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
4393 * mn10200.md: Initialize variable.
4395 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
4397 * gcse.c (try_replace_reg): Copy RTX before creating note.
4399 * df.h (df_ref_flags): New uenum.
4400 (DF_REF_FLAGS): New macro.
4401 (struct ref): Add field "flags".
4402 * df.c (HANDLE_SUBREG): Remove.
4403 (df_ref_create): Likewise; set flags field of ref.
4404 (df_def_record_1): Strip down read_write subreg; remove
4405 commented out code; set READ_WRITE flag.
4406 (read_modify_subreg_p): New static function.
4407 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
4408 new argument "flags".
4409 (df_insn_refs_record): Update call of df_uses_record.
4410 (df_insn_modify): Avoid #if 0 around comment.
4411 (df_dump): Dump the read/write flag.
4413 * predict.c (propagate_freq): Make cyclic_probability and frequency
4416 * i386.c (ix86_cc_mode): Accept USE.
4418 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
4419 jump is turned into simplejump.
4421 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4423 * doc/fragments.texi, doc/trouble.texi: Remove links to old
4424 installation chapter.
4425 * doc/gcc.texi: Don't claim that this manual documents
4426 installation. Mark Installation menu entry as being out of date.
4428 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
4430 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
4431 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
4432 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
4434 2001-11-19 Jason Merrill <jason@redhat.com>
4436 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
4437 cur_token, not after.
4439 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
4440 Lose ASM_OUTPUT_CONSTRUCTOR.
4441 * system.h: Poison it and INT_ASM_OP.
4442 * c-lang.c (finish_file): Don't check for it.
4443 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
4445 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4447 * mmix.c (mmix_cc1_ignored_option): Const-ify.
4448 (mmix_init_machine_status): Make static to match declaration.
4449 (mmix_unique_section): Const-ify.
4450 (mmix_output_quoted_string): Avoid automatic aggregate
4452 (mmix_output_register_setting): Likewise.
4453 (mmix_output_shiftvalue_op_from_str): Likewise.
4455 * mmix.h (mmix_cc1_ignored_option): Const-ify.
4456 (ASM_OUTPUT_BYTE): Fix format specifier warning.
4457 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4459 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4462 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
4463 name __objc_thread_exit_status so that it matches the
4464 variable defined in objc/thr.h.
4466 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4469 * mklibgcc.in: Add missing semi-colons.
4470 * Makefile.in: Same.
4472 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4474 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
4475 after re-laying out decl in incomplete case.
4476 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
4478 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4480 * doc/install-old.texi: Move some sections out to ...
4481 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
4482 ... here. New files. Make into chapters rather than sections.
4483 * doc/gcc.texi: Include the new files and add menu entries for
4485 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4487 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4489 * tree.h (TYPE_ALIGN_OK): New flag.
4490 * emit-rtl.c (set_mem_attributes): Handle it.
4491 * expr.c (emit_single_push_insn): Only set to alias set 0 if
4492 doing sibcall optimization.
4493 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
4494 when make temporary.
4495 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
4496 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
4498 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
4500 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4502 * c-decl.c (c_decode_option): Give deprecation warning for
4504 * doc/invoke.texi (-traditional): Note that this option is
4507 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
4509 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
4510 arg to HOST_WIDE_INT, not long.
4512 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
4513 (HAS_INIT_SECTION): Define.
4514 (REAL_ARITHMETIC): Don't undefine.
4516 2001-11-18 Egor Duda <deo@logos-m.ru>
4518 * config/i386/cygwin.h: Strip leading '*' from name, if any.
4520 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
4522 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
4523 * c-common.c: Include diagnostic.h.
4524 (c_common_finish): New.
4525 * c-common.h (c_common_finish): New.
4526 * c-lang.c (LANG_HOOKS_FINISH): Override.
4527 * c-parse.in: Don't include diagnostic.h.
4528 (finish_parse): Remove.
4529 * langhooks.h: Update comments.
4530 * toplev.c (lang_dependent_init): New prototype.
4532 (compile_file): Split cleanup code out to finalize.
4533 (lang_dependent_init): Stop if lang_hooks.init fails.
4534 (toplev_main): Update.
4535 * tree.h (finish_parse): Remove.
4537 * objc-act.c (LANG_HOOKS_FINISH): Override.
4539 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
4541 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
4542 * config/alpha/vms_tramp.asm: New file.
4543 * config/alpha/vms-tramp.asm: Removed.
4545 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4547 * c-common.c (struct disabled_builtin, disabled_builtins,
4548 disable_builtin_function, builtin_function_disabled_p): New.
4549 (builtin_function_2): Check for disabled built-in functions.
4550 * c-common.h (disable_builtin_function): Declare.
4551 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
4552 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
4553 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
4555 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
4558 * config.gcc: Remove reference to va-clipper.h.
4560 2001-11-17 Stan Shebs <shebs@apple.com>
4562 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
4563 AltiVec-related bitfields.
4565 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4567 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
4568 (mark_eh_region, case ERT_UKNONW): New case.
4570 2001-11-17 Christopher Faylor <cgf@redhat.com>
4571 Corinna Vinschen <vinschen@redhat.com>
4573 * config/i386/cygwin.h: Search target specific include directory for
4574 w32api stuff, if appropriate.
4576 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
4578 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
4580 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
4582 * config/rs6000/rs6000.md: Change all ldvx to lvx.
4584 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
4586 * gensupport.c (process_rtx): Don't assume filename is the first
4587 argument of any rtl.
4589 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4591 * vax-protos.h (reg_was_0_p): New prototype.
4592 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
4593 * vax.c (follows_p, reg_was_0_p): New functions.
4595 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4597 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
4598 (casesi1): Likewise. Define new pattern which arises by simplification
4599 when operand 1 is a constant int. Correct pattern which arises by
4600 simplification when operand 1 is zero.
4602 2001-11-16 David O'Brien <obrien@FreeBSD.org>
4604 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
4605 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
4606 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
4607 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
4608 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
4609 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
4610 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
4611 * config/arm/aof.h: Don't include arm.h.
4612 * config/arm/aout.h: Likewise.
4613 * config/arm/coff.h: Don't include semi.h and aout.h.
4614 * config/arm/elf.h: Don't include aout.h.
4615 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
4616 (TARGET_VERSION): Undef before defining.
4617 (ARM_OS_NAME): Likewise
4618 (TARGET_DEFAULT): Likewise
4619 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
4620 * config/arm/pe.h: Don't include arm/coff.h.
4621 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
4622 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
4623 * config/arm/riscix1-1.h: Likewise.
4624 * config/arm/rix-gas.h: Don't include riscix.h.
4625 (DBX_CONTIN_LENGTH): Undef before defining.
4626 * config/arm/semi.h: Don't include aout.h.
4627 * config/arm/semiaof.h: Don't include aof.h.
4628 * config/arm/strongarm-coff.h: Don't include coff.h.
4629 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
4630 * config/arm/vxarm.h: Don't include arm/coff.h.
4631 * config/arm/xscale-coff.h: Don't include coff.h.
4633 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4635 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
4638 2001-11-16 Andreas Jaeger <aj@suse.de>
4640 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
4642 (fixup_fallthru_exit_predecessor): ... this.
4643 Change callers and prototype.
4645 2001-11-16 Bernd Schmidt <bernds@redhat.com>
4647 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
4648 hand; don't use gen_setcc_2.
4649 (ix86_expand_builtin): Fix pshufw.
4650 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
4651 case UNORDERED to emit the right assembler instruction.
4652 (mmx_pshufw): Lose operand 2.
4653 (cvtsi2ss): Fix representation.
4655 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
4657 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
4659 * doc/include/linux-and-gnu.texi: Remove.
4660 * doc/gnu.texi: New.
4661 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
4662 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4664 2001-11-16 Kazu Hirata <kazu@hxi.com>
4666 * config/a29k/a29k.c: Fix comment formatting.
4667 * config/a29k/a29k.h: Likewise.
4668 * config/arc/arc.c: Likewise.
4669 * config/arc/arc.h: Likewise.
4670 * config/vax/vax.c: Likewise.
4671 * config/vax/vax.h: Likewise.
4672 * config/we32k/we32k.c: Likewise.
4673 * config/we32k/we32k.h: Likewise.
4675 2001-11-16 Jeff Law <law@redhat.com>
4677 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
4678 creating a new jump insn.
4680 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4682 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
4683 copy misaligned data.
4684 * varasm.c (assemble_variable): Set alignment into MEM when changed.
4686 2001-11-16 Graham Stott <grahams@redhat.com>
4688 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
4691 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
4693 * except.c: Support for catching a list of types with a single handler
4694 (struct eh_region): Change type and filter to lists for catch regions.
4695 (mark_eh_region): Mark the filter list for GC also.
4696 (expand_start_catch): Always build a list if argument not NULL and
4697 register each type of the list through add_type_for_runtime.
4698 (duplicate_eh_region_1): Change type into type_list for catch regions.
4699 (assign_filter_values): Assign a filter to each type associated with a
4700 catch region. Assign filter for NULL types in a unique entry in the
4702 (build_post_landing_pads): Emit compare and jump for each filter of
4703 the list associated with a catch region.
4704 (reachable_next_level): When the type thrown is known, stop the search
4705 as soon as one type within a catch list matches. Also, a handler is
4706 potentially reachable only if at least one of the types it catches
4707 has not been previously caught.
4708 (collect_one_action_chain): Retrieve the filter for a NULL type list
4709 from the first filter list entry. For non NULL type lists, add an
4710 action record for every filter assigned.
4711 * except.h: Reflect changes in comment before expand_start_catch.
4713 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4715 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
4718 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
4720 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
4722 2001-11-16 Jakub Jelinek <jakub@redhat.com>
4724 * c-lang.c (finish_file): Don't emit static inline functions if
4725 they weren't referenced.
4727 2001-11-15 Stan Shebs <shebs@apple.com>
4729 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
4731 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4733 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
4735 * config/i386/i386.md: Likewise.
4737 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4739 * timevar.c (rtl.h): Include so get fancy abort.
4741 2001-11-15 Dale Johannesen <dalej@apple.com>
4743 * config/darwin.h (SELECT_RTX_SECTION): Force address
4744 initializers into 'const' section
4745 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
4746 if_then_else to match result, not operands
4748 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4750 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
4751 * emit-rtl.c (change_address): Fix typo in default alignment.
4752 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
4753 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
4754 * rtl.h (REGNO_PTR_FRAME_P): New macro.
4756 * expr.c (store_field): Pass tree instead of max size; callers changed.
4757 Change handling of alignment.
4758 Only copy to_rtx if is TARGET.
4759 (expand_expr_unaligned): Delete; callers now use expand_expr.
4760 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
4761 (expand_assignment): Change handling of alignment.
4762 Only copy to_rtx if was original.
4763 (get_inner_reference): No longer return alginment; callers changed.
4764 (expand_expr, case COMPONENT_REF): Change handling of alignment.
4765 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
4766 (compare_from_rtx): Delete ALIGN parm; all callers changed.
4767 (do_compare_rtx_and_jump): Likewise.
4768 * expr.h: Reflect above changes.
4770 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
4771 to get_inner_reference.
4772 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
4773 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
4774 * optabs.c: Likewise.
4775 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
4776 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
4777 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
4778 compare_rtx_and_jump, and emit_cmp_jump_insns.
4779 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
4780 * function.c (assign_stack_temp_for_type): No longer static.
4781 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
4782 (prepare_cmp_insn): Delete declaration.
4783 * rtl.h (assign_stack_temp_for_type): Add declaration.
4784 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
4785 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
4786 * config/i386/i386.c,config/mips/mips.c: Likewise.
4787 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
4788 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
4790 2001-11-15 Stan Shebs <shebs@apple.com>
4792 * config/rs6000/rs6000.h: Fix a comment typo.
4793 (RTX_COSTS): Sort processor versions better.
4795 2001-11-15 Kazu Hirata <kazu@hxi.com>
4797 * config/h8300/h8300.md: Fix insn length of bit insns.
4799 2001-11-15 Jason Merrill <jason@redhat.com>
4801 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
4802 DIEs if there were errors in the source.
4804 * config/alpha/alpha-interix.h, config/alpha/elf.h,
4805 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
4806 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
4807 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
4808 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
4809 config/elfos.h, config/lynx.h, config/netware.h,
4810 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
4811 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
4812 uses to use ASM_LONG.
4814 2001-11-15 Alan Matsuoka <alanm@redhat.com>
4816 * gensupport.c process_include : Change call to alloca to
4819 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
4821 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
4824 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4826 * final.c (alter_subreg): If simplify_subreg can't do anything,
4827 handle REG ourselves and abort for others.
4829 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
4831 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
4834 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4836 * fix-header.c (read_scan_file): Update.
4838 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4840 * toplev.c (toplev_main): Don't start timing until after
4841 command-line options are parsed.
4843 2001-11-15 Andreas Schwab <schwab@suse.de>
4845 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
4846 makefile frag, not host makefile frag.
4847 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
4848 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
4850 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
4851 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
4852 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
4853 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
4854 * config/i386/t-dgux (STMP_FIXPROTO): Define.
4855 * config/x-interix: Don't define STMP_FIXPROTO and
4857 * config/t-interix: New file, define STMP_FIXPROTO.
4858 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
4859 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
4860 * config/t-svr4 (FIXPROTO_DEFINES): Define.
4861 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
4862 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
4863 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
4864 * config/m68k/t-hp3200: Renamed from x-hp3200.
4865 * config/i370/t-oe: Renamed from x-oe.
4866 * config/mips/t-iris: Renamed from x-iris.
4867 * config/pa/t-bsd: Renamed from x-pa.
4868 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
4869 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
4870 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
4871 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
4872 config/rs6000/x-cygwin: Remove files.
4874 * configure.in: Check for target objdump and use that in eh_frame
4876 * configure: Regenerated.
4878 2001-11-15 Jakub Jelinek <jakub@redhat.com>
4880 * jump.c (squeeze_notes): Return true if no real insns were found.
4881 * rtl.h (squeeze_notes): Adjust prototype.
4882 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
4883 squeeze_notes finds no real instructions, abort.
4884 (merge_blocks_move_successor_nojumps): Likewise.
4885 * loop.c (find_and_verify_loops): Likewise.
4886 * stmt.c (expand_end_case): Likewise.
4887 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
4888 find any real instructions.
4890 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
4892 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
4893 conditional jump, request updating life into for the block
4894 containing it. Fix a typo which prevented life info update.
4895 Clear blocks bitmap before using it.
4897 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4899 * c-common.c: Include c-lex.h.
4900 (c_common_lang_init): Change prototype. Call init_c_lex and
4901 init_pragma from here.
4902 * c-common.h (c_common_lang_init): Change prototype.
4903 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
4904 * c-lang.c (c_init): Change prototype. Update.
4905 (c_init_options): Update.
4906 * c-lex.c (cpp_filename): Remove.
4907 (init_c_lex): Update. Read the main file, and get the original
4909 (yyparse): Finish the command line options.
4910 * c-parse.in (c_parse_init): Call init_reswords here.
4911 (init_parse): Remove.
4912 * c-tree.h (c_init_decl_processing): New.
4913 * cpphash.c (_cpp_init_hashtable): After initializing the hash
4915 * cppinit.c (read_original_filename, cpp_finish_options): New.
4916 (cpp_create_reader): New prototype. Defer hash table initialization.
4917 (cpp_start_read): Rename cpp_read_main_file. Initialize the
4918 hash table. Get the original filename.
4919 * cpplib.h (cpp_create_reader): Update.
4920 (cpp_start_read): Remove.
4921 (cpp_read_main_file, cpp_finish_options): New.
4922 * cppmain.c (main, do_preprocessing): Update.
4923 * langhooks.h (struct langhooks): Update init prototype.
4924 * toplev.c (general_init, parse_options_and_default_flags,
4925 process_options, lang_indpendent_init, lang_dependent_init,
4926 init_asm_output): New; perform the bulk of initialization.
4927 (compile_file): Move most of initialization to above functions.
4928 (debug_hooks): Initialize statically.
4929 (set_Wunused): Relocate.
4930 (toplev_main): Move most of initialization to other init functions.
4931 Have a clear logic flow.
4932 * tree.h (init_parse, init_decl_processing): Remove.
4934 * objc-act.c (objc_init): Update prototype, combine with old
4936 (objc_init_options): Update.
4939 2001-11-15 Andreas Jaeger <aj@suse.de>
4941 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
4943 * basic-block.h: Adjust prototype.
4945 2001-11-15 Kazu Hirata <kazu@hxi.com>
4947 * config/rs6000/aix31.h: Fix comment formatting.
4948 * config/rs6000/beos.h: Likewise.
4949 * config/rs6000/darwin.h: Likewise.
4950 * config/rs6000/eabi.asm: Likewise.
4951 * config/rs6000/linux.h: Likewise.
4952 * config/rs6000/linux64.h: Likewise.
4953 * config/rs6000/lynx.h: Likewise.
4954 * config/rs6000/netbsd.h: Likewise.
4955 * config/rs6000/rs6000.c: Likewise.
4956 * config/rs6000/rs6000.h: Likewise.
4957 * config/rs6000/rs6000.md: Likewise.
4958 * config/rs6000/sol2.h: Likewise.
4959 * config/rs6000/tramp.asm: Likewise.
4960 * config/rs6000/xcoff.h: Likewise.
4961 * config/rs6000/xm-beos.h: Likewise.
4963 2001-11-14 Alan Matsuoka <alanm@redhat.com>
4965 * rtl.def (INCLUDE) : Define.
4966 * gensupport.c (init_include_reader, process_include,
4967 save_string) : New functions to implement an include facility
4969 * gensupport.h : Add prototype for init_md_reader_args.
4970 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
4971 genextract.c genflags.c genopinit.c genoutput.c
4972 genpeep.c genrecog.c: Change call to init_md_reader to
4973 init_md_reader_args.
4974 * md.texi: Document (include "path") and -I directives for RTL
4977 2001-11-14 DJ Delorie <dj@redhat.com>
4979 * integrate.c (get_hard_reg_initial_reg): New.
4980 * integrate.h (get_hard_reg_initial_reg): Prototype.
4981 * local-alloc.c (block_alloc): Don't tie pseudos that
4982 represent call-saved hard regs' initial values.
4984 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4986 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
4989 2001-11-14 Roger Sayle <roger@eyesopen.com>
4991 * fold-const.c (fold): Optimize strlen comparisons against zero.
4993 2001-11-14 David O'Brien <obrien@FreeBSD.org>
4995 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
4996 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
4997 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
4998 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
4999 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
5000 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
5001 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
5002 Include various CPU headers via tm_file. a.out based platforms now
5003 properly include sparc/aout.h. sol2.h usage now implies including
5004 elfos.h, svr4.h, and sparc/sysv4.h.
5005 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
5007 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
5008 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
5009 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
5010 Remove. They are a.out specific and belong in sparc/aout.h.
5011 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
5012 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5013 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
5015 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
5016 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
5017 Moved here from sparc/sparc.h.
5018 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
5020 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
5021 * config/sparc/lynx.h: Don't include lynx.h.
5022 (SELECT_SECTION): Do not undef.
5023 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
5024 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
5026 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
5027 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
5029 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
5030 Don't undef, there is no need.
5031 * config/sparc/splet.h (CPP_PREDEFINES): Define.
5032 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
5033 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
5034 Don't include sparc/sparc.h.
5035 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
5036 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
5037 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
5039 (TARGET_VERSION): Define.
5040 * config/sparc/vxsim.h (TARGET_VERSION): Define.
5042 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
5044 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
5045 (cfg_layout_finalize): Use it.
5046 * bb-reorder.c (HAVE_epilogue): Remove.
5047 (make_reorder_chain): Do not care special placement of
5050 * predict.c (expected_value_to_br_prob): Delete the note
5053 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
5054 measure integration time separately.
5056 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5058 * function.c (struct temp_slot): ALIGN now unsigned.
5060 2001-11-14 Kazu Hirata <kazu@hxi.com>
5062 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
5063 * config/dsp16xx/dsp16xx.h: Likewise.
5064 * config/dsp16xx/dsp16xx.md: Likewise.
5066 2001-11-14 Kazu Hirata <kazu@hxi.com>
5068 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
5069 that deals with 7-bit shifts in HImode.
5071 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
5073 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
5074 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
5075 (final_scan_insn): Update call of alter_subreg.
5076 (cleanup_subreg_operands): Likewise.
5077 (alter_subreg): Rewrite using simplify_subreg.
5078 (output_address, output_operand): Update call of alter_subreg.
5079 * output.h (alter_subreg): Update prototype.
5080 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
5081 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
5082 * Makefile.in (final.o): Add dependency on expr.h
5084 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5086 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
5088 2001-11-13 Jeff Sturm <jsturm@one-point.com>
5090 * doc/install.texi (sparc-*-linux*): Mention requirements for
5093 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
5095 * Makefile.in (POD2MAN): Don't include --section=1.
5096 (manext): Rename to man1ext. All users changed.
5099 (generated-manpages): Also depend on $(docdir)/gfdl.7,
5100 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
5101 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
5102 --section=1 in calls to $(POD2MAN).
5103 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
5104 (maintainer-clean, install, uninstall): Handle the new man pages.
5105 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
5106 (installdirs): Create man7dir.
5107 * doc/cpp.texi: Include GFDL in this manual. In the man page,
5108 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
5109 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
5110 the SEE ALSO man page section.
5111 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
5112 and fsf-funding(7) in the SEE ALSO man page section.
5113 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
5114 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
5115 * doc/include/fdl.texi, doc/include/funding.texi,
5116 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
5117 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
5119 2001-11-13 Richard Henderson <rth@redhat.com>
5121 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
5122 as appropriate for the artificial decl.
5124 2001-11-13 Richard Henderson <rth@redhat.com>
5126 * loop.c (combine_movables): Turn off combination until
5127 move_movables validation bugs are fixed.
5129 2001-11-13 DJ Delorie <dj@redhat.com>
5131 * config.gcc (powerpc|rs6000): Set default cpp options based
5132 on --with-cpu settings.
5133 * config/rs6000/softfloat.h: New.
5135 2001-11-13 Kazu Hirata <kazu@hxi.com>
5137 * config/h8300/h8300.c (shift_alg_si): Use special code for
5138 25-bit shifts on H8/S.
5139 (get_shift_alg): Generate special code for 25-bit shifts on
5142 2001-11-13 Jakub Jelinek <jakub@redhat.com>
5144 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
5145 (adjust_automodify_address_1): New.
5146 * expr.h (adjust_address, adjust_address_nv): Adjust.
5147 (adjust_automodify_address, adjust_automodify_address_nv): Define.
5148 (adjust_address_1): Update prototype.
5149 (adjust_automodify_address_1): Add prototype.
5150 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
5151 (store_by_pieces_2): Likewise.
5153 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5155 * Makefile.in (explow.o): Now depends on ggc.h.
5156 * explow.c (ggc.h): Include.
5157 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
5159 * Makefile.in (expr.o): Depends on insn-attr.h.
5160 * expr.c (insn-attr.h): New include.
5161 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
5163 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
5164 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
5165 clean up related usage in ADDR_EXPR.
5166 (expand_expr_unaligned): Likewise.
5168 * emit-rtl.c (change_address): Fix typo in alias setting.
5170 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5172 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
5174 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
5177 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
5178 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
5180 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5182 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
5183 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
5184 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
5185 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
5186 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
5187 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
5188 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
5189 sparc64-*-linux*): Include various CPU headers via tm_file.
5190 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
5191 (SELECT_SECTION): Likewise.
5192 (SELECT_RTX_SECTION): Likewise.
5193 * config/sparc/sparc_bi.h: New file.
5194 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
5195 * config/sparc/linux-aout.h: Likewise.
5196 * config/sparc/linux.h: Don't include sparc/sysv4.h.
5197 * config/sparc/linux64.h: Likewise.
5198 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5199 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
5200 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
5202 (ASM_OUTPUT_IDENT): Do not #undef.
5203 (SELECT_SECTION): Likewise.
5204 (SELECT_RTX_SECTION): Likewise.
5205 * config/sparc/liteelf.h: Don't include gofast.h.
5206 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
5207 * config/sparc/lynx.h: Don't include sparc/sparc.h.
5208 * config/sparc/pbd.h: Likewise.
5209 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
5210 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
5211 * config/sparc/rtemself.h: Don't include rtems.h.
5212 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
5213 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
5215 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
5216 * config/sparc/sol2.h: Include sparc/sparc.h directly.
5217 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
5218 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
5219 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
5220 * config/sparc/sp86x-elf.h: Don't include gofast.h.
5221 * config/sparc/splet.h: Don't include sparc/aout.h.
5222 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
5223 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
5224 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
5225 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
5226 * config/sparc/vxsparc64.h: Don't include gofast.h.
5227 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5229 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5231 * doc/standards.texi: Mention C99 TC1.
5233 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5235 * mips-protos.h (mips_output_conditional_branch): Const-ify.
5236 * mips.c (mips_output_conditional_branch): Likewise.
5238 2001-11-12 Kazu Hirata <kazu@hxi.com>
5240 * config/h8300/h8300.c (shift_alg_si): Use special code for
5241 15-bit logical shifts and 31-bit logical shifts.
5242 (get_shift_alg): Generate special code for 15-bit and 31-bit
5245 2001-11-12 Kazu Hirata <kazu@hxi.com>
5247 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
5248 doing 6-bit logical shifts on H8/S.
5249 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
5250 (get_shift_alg): Generate special code for 21-bit shifts on
5253 2001-11-12 Kazu Hirata <kazu@hxi.com>
5255 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
5258 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5260 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
5261 if both size and offset known.
5263 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5265 * config/ia64/freebsd.h: Fix misspelling.
5267 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5269 * doc/gcc.texi: Move several chapters out to ...
5270 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
5271 doc/include/linux-and-gnu.texi, doc/interface.texi,
5272 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
5273 ... here. New files.
5274 * doc/gcc.texi, doc/contrib.texi: Move section headings into
5276 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5278 2001-11-12 Kazu Hirata <kazu@hxi.com>
5280 * config/alpha/alpha-interix.h: Fix comment formatting.
5281 * config/alpha/alpha.c: Likewise.
5282 * config/alpha/alpha.h: Likewise.
5283 * config/alpha/alpha32.h: Likewise.
5284 * config/alpha/freebsd.h: Likewise.
5285 * config/alpha/unicosmk.h: Likewise.
5286 * config/alpha/vms.h: Likewise.
5288 2001-11-12 Kazu Hirata <kazu@hxi.com>
5290 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5292 2001-11-12 Jakub Jelinek <jakub@redhat.com>
5294 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
5297 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5299 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
5301 (replace_equiv_address): Call update_temp_slot_address.
5303 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
5305 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
5307 2001-11-12 Kazu Hirata <kazu@hxi.com>
5309 * config/h8300/h8300.c (shift_alg_qi): New.
5310 (shift_alg_hi): Likewise.
5311 (shift_alg_si): Likewise.
5312 (get_shift_alg): Change the type of count to unsigned int.
5315 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
5317 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
5318 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
5319 to decide whether to defer a function.
5320 (finish_function): Adjust.
5321 (c_expand_deferred_function): New function.
5322 * c-lang.c (deferred_fns): New variable.
5323 (c_init): Initialize it, and mark it as a root.
5324 (defer_fn): New function.
5325 (finish_file): Expand all deferred functions.
5326 * c-tree.h (defer_fn): Declare.
5327 (c_expand_deferred_function): Likewise.
5328 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
5329 * objc-act.c (deferred_fns): New variable.
5330 (objc_init): Initialize it, and mark it as a root.
5331 (defer_fn): New function.
5332 (finish_file): Expand all deferred functions.
5334 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5336 * alpha.c (unicosmk_special_name): Prototype.
5337 (unicosmk_ssib_name): Delete unused variable.
5338 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
5339 * alpha/vms.h (PREFIX): Undef before defining.
5340 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
5341 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
5342 controlling usage. Const-ify.
5343 (alias_number): Delete unused variable.
5344 * m32r/m32r.c (m32r_sched_init): Add missing argument.
5345 (m32r_expand_block_move): Fix uninitialized warnings.
5346 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
5347 always true' warnings.
5348 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
5349 * sh/sh.c: Include "integrate.h".
5350 (output_far_jump): Fix uninitialized warning.
5351 * final.c (shorten_branches): Avoid automatic aggregate
5353 * integrate.c (subst_constants): Likewise.
5355 2001-11-11 Kazu Hirata <kazu@hxi.com>
5357 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
5358 (get_shift_alg): Remove redundant code.
5360 2001-11-11 Kazu Hirata <kazu@hxi.com>
5362 * config/pa/milli64.S: Fix comment formatting.
5363 * config/pa/pa-64.h: Likewise.
5364 * config/pa/pa-linux.h: Likewise.
5365 * config/pa/pa-protos.h: Likewise.
5366 * config/pa/pa.c: Likewise.
5367 * config/pa/pa.h: Likewise.
5368 * config/pa/pa32-linux.h: Likewise.
5369 * config/pa/pa32-regs.h: Likewise.
5370 * config/pa/pa64-hpux.h: Likewise.
5371 * config/pa/pa64-regs.h: Likewise.
5372 * config/pa/som.h: Likewise.
5374 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5376 * doc/gcc.texi: Move several chapters out to ...
5377 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
5378 doc/service.texi, doc/standards.texi, doc/trouble.texi,
5379 doc/vms.texi: ... here. New files.
5380 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5382 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5384 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
5385 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
5386 collect2.c, combine.c, config.in, configure, configure.in,
5387 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
5388 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
5389 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
5392 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5394 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
5395 Adjust operand number in CONST_DOUBLE.
5397 * expmed.c (extract_bit_field): No longer pass in alignment.
5398 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5399 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
5401 * expr.c (store_constructor, store_constructor_field): Likewise.
5402 (store_field, emit_group_load, emit_group_store): Likewise.
5403 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
5404 (store_bit_field, extract_bit_field): Likewise.
5405 * calls.c, expr.c, function.c: Change calls to above functions.
5406 * ifcvt.c, stmt.c: Likewise.
5408 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
5409 constant and one is on frame.
5410 If know memref offset, adjust size from decl.
5412 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5414 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
5415 format specifier warning.
5416 * convex.h (ASM_OUTPUT_BYTE): Likewise.
5417 * elfos.h (ALIGN_ASM_OP): Undef before defining.
5418 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
5420 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5421 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5422 * i386-interix.h (gen_stdcall_suffix): Prototype.
5423 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5424 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5425 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5426 * i386/interix.c (gen_stdcall_suffix): Const-ify.
5427 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5428 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
5430 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5431 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5432 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5433 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5434 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5435 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5436 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5437 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
5438 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
5439 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5440 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5442 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5444 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
5445 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5446 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
5448 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
5450 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5452 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
5453 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5454 * m68k/news.h (PRINT_OPERAND): Likewise.
5455 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
5456 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5457 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5458 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
5460 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5461 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
5462 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
5463 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5464 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
5465 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
5466 PRINT_OPERAND): Likewise.
5467 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5469 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5470 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5471 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
5472 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5473 * mips.c (mips_output_external_libcall): Mark parameter with
5475 (mips_asm_file_start): Move variable into the scope where it's
5477 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5478 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5479 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
5480 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5481 * ns32k.c (print_operand): Likewise.
5482 * pa.c (print_operand, output_div_insn): Likewise.
5483 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
5484 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
5485 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
5486 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5488 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5489 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5490 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
5491 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5493 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5495 * sdbout.c (sdbout_end_epilogue): Mark parameter with
5497 * varasm.c (assemble_global): Likewise.
5499 2001-11-11 H.J. Lu <hjl@gnu.org>
5501 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
5503 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
5505 * final.c (*_MAX_SKIP): Use *_max_skip variables.
5506 * flags.h (align_loops_max_skip, align_jumps_max_skip,
5507 align_labels_max_skip): New global variables.
5508 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
5509 align_labels_max_skip): New global variables.
5510 (toplev_main): Set new variables.
5511 * i386.c (override_options): Set max_skip values.
5513 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
5515 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
5516 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
5517 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
5518 don't print an @fptr for labels either.
5519 (xstormy16_output_addr_vec): Don't print @fptr here.
5520 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
5522 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
5524 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
5525 an ANSI/ISO definitino.
5526 (ssa_const_prop): Likewise.
5528 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
5530 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
5533 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5535 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
5536 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
5537 * cppmain.c (general_init): Call hex_init.
5538 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
5540 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
5542 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
5543 of dgux.c:output_file_start().
5545 * i386/dgux.c: Delete file.
5547 2001-11-09 Richard Henderson <rth@redhat.com>
5549 * config/alpha/alpha.c (decl_in_text_section): New.
5550 (current_file_function_operand): Use it.
5551 (alpha_encode_section_info, alpha_end_function): Likewise.
5553 2001-11-07 David O'Brien <obrien@FreeBSD.org>
5555 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
5556 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
5557 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
5558 so OS specific files and use CPP_PREDEFINES for their needs.
5559 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
5560 target headers to tm_file.
5561 * config/ia64/aix.h (TARGET_VERSION): Likewise.
5562 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
5563 * config/ia64/linux.h (TARGET_VERSION): Likewise.
5564 (FUNCTION_PROFILER): Remove.
5565 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
5566 version in config/ia64/linux.h.
5567 * config/ia64/freebsd.h: New file.
5568 * config/freebsd.h: Tidy up.
5569 (_USING_CONFIG_FREEBSD): Define.
5570 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
5571 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
5572 (FBSD_STARTFILE_SPEC): Likewise.
5573 (FBSD_ENDFILE_SPEC): Likewise.
5574 (FBSD_LIB_SPEC): Likewise.
5575 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
5576 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
5577 set an ELF-improper one.
5579 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5581 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
5582 constant can be loaded in a single instruction to a register. When
5583 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
5584 depdi for insertion of most significant 32-bits on 64-bit hosts.
5585 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
5586 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
5587 * pa.md: New addmove pattern for adding constant_int to HImode
5588 register and moving result to HImode register. Remove HImode HIGH
5589 and LO_SUM patterns.
5591 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5593 * Makefile.in: Update.
5594 * c-decl.c (print_lang_decl, print_lang_type): Remove.
5595 (print_lang_identifier): Rename c_print_identifier.
5596 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5597 (print_lang_statistics, lang_print_xnode): Remove.
5598 * c-parse.in (set_yydebug): Rename c_set_yydebug.
5599 * c-tree.h (c_set_yydebug, c_print_identifier): New.
5600 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
5601 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
5602 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
5603 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5604 (LANG_HOOKS_INITIALIZER): Update.
5605 * langhooks.h (struct lang_hooks): New members.
5606 (lang_print_tree_hook): New.
5607 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
5608 * print-tree.c: Include langhooks.h.
5609 (print_node): Update.
5610 * toplev.c (decode_d_option): Update.
5611 * tree.c: Include langhooks.h.
5612 (dump_tree_statistics): Update.
5613 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
5614 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
5616 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
5617 LANG_HOOKS_SET_YYDEBUG): Override.
5618 (lang_print_xnode, print_lang_statistics): Remove.
5620 2001-11-09 Richard Henderson <rth@redhat.com>
5622 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
5623 on the symbol string.
5625 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5627 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
5628 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
5629 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
5631 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
5633 * tlink.c (recompile_files): Copy strings passed to `putenv'.
5635 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
5637 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
5638 (TYPE_READONLY): Likewise.
5640 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
5642 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
5643 don't pass --gdwarf2 to the assembler if the compiler will also
5646 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
5649 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5651 * alias.c (nonoverlapping_memrefs_p): New function.
5652 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
5654 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
5656 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
5658 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
5659 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
5660 generating altivec code.
5661 (FIXED_REGISTERS): VRSAVE is fixed.
5662 (CALL_USED_REGISTERS): VRSAVE is call used.
5664 2001-11-09 Jason Eckhardt <jle@rice.edu>
5666 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
5667 code the branch target as ".+16/.+12", but rather use labels.
5669 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
5671 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
5672 to work around limitations of certain versions of GAS.
5674 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
5675 (muldi3): Update due to SUBREG_BYTE changes.
5676 (casesi): Similarly.
5678 2001-11-09 Zack Weinberg <zack@codesourcery.com>
5680 * doc/invoke.texi: Remove comment referring to -xf77-version.
5682 2001-11-09 Kazu Hirata <kazu@hxi.com>
5684 * config/convex/convex.c: Fix comment formatting.
5685 * config/convex/convex.h: Likewise.
5687 2001-11-08 Zack Weinberg <zack@codesourcery.com>
5689 * Makefile.in (.po.pox): Look both in srcdir and builddir
5691 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
5692 to the source directory.
5694 2001-11-09 Ben Elliston <bje@redhat.com>
5695 Michael Meissner <meissner@redhat.com>
5696 Andrew MacLeod <amacleod@redhat.com>
5697 Richard Henderson <rth@redhat.com>
5698 Nick Clifton <nickc@redhat.com>
5699 Catherine Moore <clm@redhat.com>
5701 * m32r.c: Add support for m32rx processor.
5705 * m32r-protos.h: Add prototypes for m32rx functions.
5706 * doc/invoke.texi: Document -m32rx option.
5708 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5710 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
5713 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5715 * doc/install.texi2html: Use $MAKEINFO --no-split.
5717 2001-11-09 Andreas Schwab <schwab@suse.de>
5719 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
5720 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
5721 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
5722 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
5723 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
5725 2001-11-09 H.J. Lu <hjl@gnu.org>
5727 * config/mips/mips.c (mips_output_function_prologues): Cast
5728 `tsize' to long for output.
5730 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5732 * c-lang.c (LANG_HOOKS_NAME): New.
5733 (lang_hooks): Constify.
5734 (c_init_options): Update.
5735 (lang_identify): Remove.
5736 * c-parse.in (language_string): Remove.
5737 * dbxout.c: Include langhooks.h.
5738 (dbxout_symbol_location): Update.
5739 * dwarf2out.c: Include langhooks.h.
5740 (gen_compile_unit_die): Update.
5741 * dwarfout.c: Include langhooks.h.
5742 (prototyped_attribute, output_compile_unit_die): Update.
5743 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
5744 (LANG_HOOKS_INITIALIZER): Update.
5745 * langhooks.h (struct lang_hooks): New members. Constify.
5746 * stringpool.c: Don't include toplev.h.
5747 (set_identifier_size): Remove.
5748 * toplev.c (toplev_main): Initialize identifier size.
5749 (print_version): Update.
5750 * tree.h (language_string, init_lex, lang_identify,
5751 set_identifier_size): Remove.
5752 * Makefile.in: Update dependencies.
5753 * config/darwin.c: Include langhooks.h.
5754 (func_name_maybe_scoped): Update.
5755 * config/darwin.h (ASM_END_FILE): Update.
5756 * config/nextstep.h (ASM_END_FILE): Update.
5757 * config/nextstep21.h (ASM_END_FILE): Update.
5758 * config/i386/sun386.h (ASM_END_FILE): Update.
5759 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
5760 (rs6000_output_function_epilogue): Update.
5762 * objc-act.c (LANG_HOOKS_NAME): Override.
5763 (struct lang_hooks): Constify.
5764 (objc_init_options): Update.
5765 (lang_identify): Remove.
5767 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
5769 * fold-const.c (lshift_double): Honor PREC.
5770 (rshift_double): Likewise.
5772 2001-11-08 Kazu Hirata <kazu@hxi.com>
5774 * config/1750a/1750a.c: Fix comment formatting.
5775 * config/1750a/1750a.h: Likewise.
5777 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
5779 * configure.in (--enable-languages): Be more permissive about
5780 syntax. Check for empty lists better. Warn about $LANGUAGES.
5781 * configure: Regenerated.
5783 2001-11-08 Richard Henderson <rth@redhat.com>
5785 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
5787 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
5789 * config.gcc: Rename stormy16 to xstormy16.
5790 * config/stormy16/stormy-abi: Likewise.
5791 * config/stormy16/stormy16-protos.h: Likewise.
5792 * config/stormy16/stormy16.c: Likewise.
5793 * config/stormy16/stormy16.h: Likewise.
5794 * config/stormy16/stormy16.md: Likewise.
5796 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
5798 * tree.h (TYPE_VOLATILE): Add enable-checking code.
5799 (TYPE_READONLY): Likewise.
5801 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5803 * reload1.c (reload): Don't delete equiv insn if can throw.
5805 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
5806 (clear_storage): Likewise, for OBJECT.
5808 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
5810 * pa.c (emit_move_sequence): Fix SUBREG expression to
5811 use proper byte offset when extending a constant from
5814 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5816 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
5819 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5821 * explow.c (convert_memory_address, case SUBREG): Only return
5822 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
5824 2001-11-08 Richard Henderson <rth@redhat.com>
5826 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
5827 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
5828 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
5830 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
5832 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
5834 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5836 * dwarf2out.c (debug_str_hash): New.
5837 (struct indirect_string_node): New.
5838 (struct dw_val_struct): Change type of val_str to it.
5839 (DEBUG_STR_SECTION_FLAGS): Define.
5840 (add_AT_string): Push string into hashtable, increment reference
5842 (AT_string): Return string from ht_identifier.
5843 (AT_string_form): New.
5844 (free_AT): For dw_val_class_str, just decrement reference counter.
5845 (size_of_string): Remove.
5846 (size_of_die): Use AT_string_form to decide what size the string
5848 (size_of_pubnames): Use strlen instead of size_of_string.
5849 (value_format): Use AT_string_form for dw_val_class_str.
5850 (output_die): Output DW_FORM_strp strings using
5851 dw2_asm_output_offset.
5852 (indirect_string_alloc, output_indirect_string): New.
5853 (dwarf2out_finish): Emit .debug_str strings if there are any.
5855 2001-11-08 Andreas Franck <afranck@gmx.de>
5857 * configure.in: Add AC_ARG_PROGRAM to support program name
5858 transformation with --program-prefix, --program-suffix and
5859 --program-transform-name.
5860 * configure: Regenerated.
5861 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
5862 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
5863 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
5864 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
5865 program_transform_name the way suggested by autoconf.
5866 (GCC_TARGET_INSTALL_NAME): Define.
5867 (install-driver): Use the transformed target alias name.
5869 2001-11-08 Richard Henderson <rth@redhat.com>
5871 * config/mips/mips.c (save_restore_insns): Remove GP from the
5872 restore registers mask early instead of special casing it inside
5875 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
5877 * cp/decl.c (shadow_warning): New function.
5878 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
5879 and an error when a block scope decl shadows a parameter.
5881 2001-11-08 Richard Henderson <rth@redhat.com>
5883 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
5886 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
5888 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
5889 to implement floating negation on processors prior to PA 2.0.
5891 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5893 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
5894 (USE_LINKONCE_INDIRECT): Define.
5895 (dw2_output_indirect_constant_1): Try to output indirect constants
5896 into linkonce sections if possible.
5897 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
5898 (dw2_output_indirect_constants): Likewise.
5900 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5902 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
5904 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
5906 * c-decl.c (pushdecl): Remove file and line.
5907 * c-typeck.c (pop_init_level): Remove size.
5909 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5911 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
5914 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
5915 (TARGET_ALTIVEC): New.
5916 (TARGET_SWITCHES): Add altivec.
5917 (FIRST_PSEUDO_REGISTER): Change to 109.
5918 (CALL_USED_REGISTERS): Same.
5919 (FIRST_ALTIVEC_REGNO): New.
5920 (LAST_ALTIVEC_REGNO): New.
5921 (ALTIVEC_REGNO_P): New.
5922 (UNITS_PER_ALTIVEC_WORD): New.
5923 (ALTIVEC_VECTOR_MODE): New.
5924 (FIXED_REGISTERS): Add altivec registers.
5925 (REG_ALLOC_ORDER): Same.
5926 (HARD_REGNO_NREGS): Adjust for altivec registers.
5927 (HARD_REGNO_MODE_OK): Same.
5928 (MODES_TIEABLE_P): Same.
5929 (REGISTER_MOVE_COST): Same.
5930 (REGNO_REG_CLASS): Same.
5931 (reg_class): Add ALTIVEC_REGS.
5932 (REG_CLASS_NAMES): Same.
5933 (REG_CLASS_CONTENTS): Same.
5934 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
5935 (ALTIVEC_ARG_RETURN): New.
5936 (FUNCTION_VALUE): Handle VECTOR_TYPE.
5937 (LIBCALL_VALUE): Handle altivec vector modes.
5938 (VECTOR_MODE_SUPPORTED_P): New.
5939 (ALTIVEC_ARG_MIN_REG): New.
5940 (ALTIVEC_ARG_MAX_REG): New.
5941 (ALTIVEC_ARG_NUM_REG): New.
5942 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
5943 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
5944 (REGISTER_NAMES): Add altivec regs.
5945 (DEBUG_REGISTER_NAMES): Same.
5946 (ADDITIONAL_REGISTER_NAMES): Same.
5947 (rs6000_builtins): New.
5948 (MD_EXPAND_BUILTIN): New.
5949 (MD_INIT_BUILTINS): New.
5950 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
5951 for AltiVec instructions.
5952 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
5953 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
5955 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
5956 (TARGET_SWITCHES): Add no-altivec.
5957 (DATA_ALIGNMENT): Align vectors to 128 bits.
5958 (TARGET_OPTIONS): Add abi= option.
5959 Add rs6000_abi_string extern.
5960 (LOCAL_ALIGNMENT): New.
5961 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
5962 (MASK_ALTIVEC_ABI): New.
5963 (TARGET_ALTIVEC_ABI): New.
5964 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
5966 (STACK_BOUNDARY): Adjust for altivec.
5967 (BIGGEST_ALIGNMENT): Same.
5968 (rs6000_args): Add vregno.
5969 (USE_ALTIVEC_FOR_ARG_P): New.
5970 (FIXED_REGISTERS): Add vrsave register.
5971 (CALL_USED_REGISTERS): Same.
5972 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
5973 (VRSAVE_REGNO): New.
5974 (reg_class): Add VRSAVE_REGS.
5975 (REG_CLASS_NAMES): Same.
5976 (REG_CLASS_CONTENTS): Same.
5977 (REGNO_REG_CLASS): Same.
5979 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
5980 (ABI_STACK_BOUNDARY): Same.
5981 (BIGGEST_ALIGNMENT): Same.
5982 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
5983 (ROUND_TYPE_ALIGN): Same.
5985 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5988 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5991 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5994 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
5995 (altivec_expand_builtin): New.
5996 (altivec_init_builtins): New.
5997 (TARGET_EXPAND_BUILTIN): New.
5998 (TARGET_INIT_BUILTINS): New.
5999 (rs6000_init_builtins): New.
6000 (struct builtin_description): New.
6002 (rs6000_reg_names): Add altivec registers.
6003 (alt_reg_names): Same.
6004 (secondary_reload_class): Altivec regs can hold altivec regs and
6006 (rs6000_emit_move): Force constants into memory for AltiVec moves.
6007 (print_operand): Add 'y' case for printing altivec memory
6009 (rs6000_legitimize_address): Legitimize vector addresses into
6011 (altivec_expand_binop_builtin): New.
6012 New string rs6000_current_abi.
6013 (rs6000_override_options): Call rs6000_parse_abi_options.
6014 (rs6000_parse_abi_options): New.
6015 (function_arg_boundary): Vector arguments must be 16
6017 (function_arg_advance): Handle vector arguments.
6018 (function_arg_partial_nregs): Same.
6019 (init_cumulative_args): Same.
6020 (function_arg): Same.
6022 * config/rs6000/rs6000.md (altivec_lvx): New.
6023 (type): Add altivec attribute.
6025 (*movv4si_internal): New.
6027 (*movv16qi_internal): New.
6029 (*movv8hi_internal1): New.
6031 (*movv4sf_internal1): New.
6032 (altivec_stvx): New.
6148 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
6150 * Makefile.in (df.o): Add fibheap.h to dependencies.
6152 * df.h: Add prototypes for transfer functions, iterative_dataflow
6154 (enum df_flow_dir): New enum.
6155 (enum df_confluence_op): New enum.
6156 (struct df): Add inverse_rts_map.
6158 * df.c: Add sbitmap.h to the list of includes.
6159 (df_rd_global_compute): Removed.
6160 (df_ru_global_compute): Removed.
6161 (df_lr_global_compute): Removed.
6162 (df_rd_transfer_function): New function.
6163 (df_ru_transfer_function): New function.
6164 (df_lr_transfer_function): New function.
6165 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
6166 Use iterative_dataflow_bitmap instead of df_*_global_compute.
6167 (iterative_dataflow_sbitmap): New function.
6168 (iterative_dataflow_bitmap): New function.
6170 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
6172 * doc/gcc.texi: Move terminology and spelling conventions to
6173 htdocs/codingconventions.html.
6175 2001-11-07 Graham Stott <grahams@redhat.com>
6177 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
6179 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
6181 * expmed.c (expand_mult): Force operand to register before computing
6183 * i386.c (x86_decompose_lea): New global vairable.
6184 * i386.h (x86_decompose_lea): Declare.
6185 (TARGET_DECOMPOSE_LEA): New macro.
6186 (RTX_COST): Handle leas properly.
6188 2001-11-06 Richard Henderson <rth@redhat.com>
6190 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
6191 defined for a CONSTRUCTOR; don't check it.
6193 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
6195 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
6196 test for absolute pathnames.
6198 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
6200 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
6201 instructions up to the target pc inclusive.
6203 2001-11-06 Steve Christiansen <smc@us.ibm.com>
6205 * loop.c (loop_regs_scan): Don't invalidate PIC register.
6207 2001-11-06 Eric Christopher <echristo@redhat.com>
6209 * config/mips/mips.md(movdf_internal2): Add constraints for float
6210 to general register move.
6211 * config/mips/elf64.h: Add default ABI.
6213 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6215 * alias.c:: Include langhooks.h.
6216 * emit-rtl.c: Similarly.
6217 * toplev.c: Similarly.
6218 * tree-inline.c: Similarly.
6219 * langhooks-def.h: New, the old langhooks.h. Give the default
6220 hooks a common prefix.
6221 * langhooks.h: Contents extracted from toplev.h.
6222 * toplev.h: Move langhook stuff to langhooks.h.
6223 * langhooks.c: Give default hooks a common prefix.
6225 * c-lang.c: Include langhooks-def.h.
6226 * objc/objc-act.c: Similarly.
6227 * Makefile.in: Update.
6228 * objc/Make-lang.in: Update.
6230 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6232 * doc/install.texi: Document that configure options not listed in
6233 this file are unsupported. Document --with-system-zlib.
6235 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6237 * rtl.h (mem_for_const_double): New declaration.
6238 * varasm.c (mem_for_const_double): New function.
6239 * config/convex/convex.md (movdf): Use it.
6240 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
6241 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
6242 * config/m68k/m68kv4.h: Likewise.
6244 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
6245 of new GP reg classes.
6247 * expr.c (store_field): When making temp object for unaligned
6248 component, set it to alias set 0.
6250 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6252 * c-common.c (c_expand_expr_stmt): Apply default conversions to
6253 non-lvalue arrays if C99.
6254 * c-typeck.c (default_conversion): Split out code handling
6255 array-to-pointer and function-to-pointer conversions into a
6256 separate default_function_array_conversion function.
6257 (default_function_array_conversion): New function. Keep track of
6258 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
6259 arrays unchanged outside C99 mode instead of giving an error for
6261 (build_component_ref): Use pedantic_non_lvalue when handling
6262 COMPOUND_EXPR. Don't handle COND_EXPR specially.
6263 (convert_arguments): Use default_function_array_conversion.
6264 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
6266 (unary_complex_lvalue): Likewise.
6267 (internal_build_compound_expr): Use
6268 default_function_array_conversion. Apply default conversions to
6269 function in compound expression.
6270 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
6271 Use default_function_array_conversion.
6272 * doc/extend.texi: Update documentation of subscripting non-lvalue
6276 2001-11-05 Zack Weinberg <zack@codesourcery.com>
6278 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
6279 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
6280 corresponding to the complete set of .po and .gmo files in
6281 the source directory's po subdir, modified by LINGUAS. Don't
6282 look at ALL_LINGUAS.
6283 * configure.in: Don't set ALL_LINGUAS.
6284 * configure: Regenerate.
6286 * Makefile.in (.po.gmo): Don't move into source directory.
6287 (.po.pox): Clarify comments.
6288 (install-po): Look for .gmo files in both srcdir and objdir;
6289 don't fail if a file is totally missing.
6290 (distclean): rmdir ada subdirectory too.
6292 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6294 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6295 CONSTRUCTORs _correctly_.
6297 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6299 * c-decl.c (delete_block): Remove.
6300 * c-tree.h (delete_block): Remove.
6302 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6304 * cppexp.c (lex, parse_defined): Update warning about defined.
6306 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6308 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6311 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
6313 * config/arm/arm.c (arm_return_in_memory): Cope with
6314 int_size_in_bytes returning -1.
6316 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
6319 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
6321 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
6322 remove unneeded dependencies;
6324 * cfglayout.c, cfglayout.h: New files; break out from ...
6325 * bb-reorder.c: ... here; Remove unneeded includes;
6327 2001-11-04 Alan Modra <amodra@bigpond.net.au>
6329 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
6331 2001-11-04 David Edelsohn <edelsohn@gnu.org>
6333 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
6334 mode as well. Do not explicitly create intermediate regs.
6336 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6338 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
6339 (common_section): Delete unused variable.
6340 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
6341 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
6342 * arm-protos.h (arm_poke_function_name, aof_add_import,
6343 aof_delete_import): Const-ify.
6344 * arm.c (legitimize_pic_address): Wrap variables in the macro
6345 controlling their usage.
6346 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
6347 (arm_poke_function_name, pic_chain, import, aof_add_import,
6348 aof_delete_import): Const-ify.
6349 * i386.c (ix86_osf_output_function_prologue): Const-ify.
6350 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
6351 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
6352 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
6353 * i860/sysv3.h: Add missing comment closure.
6354 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
6355 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
6356 to symbolic_operand.
6358 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
6359 (i960-*-*): Set tmake_file.
6360 (sparc86x-*-elf*): Fix typo in header name.
6362 * sched-rgn.c (schedule_insns): Delete unused variable.
6364 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6367 * c-typeck.c (lookup_field): Rework to return a chain down to
6368 the looked-up field.
6369 (build_component_ref): Use the new lookup_field to handle
6370 nested anonymous entities correctly.
6372 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6374 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
6375 Change parameters to gen_rtx_CONST_DOUBLE.
6376 (GEN_INT64, sparc_emit_set_const64): Likewise.
6377 * config/sparc/sparc.md (movdf split): Likewise.
6379 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
6381 * unroll.c (calculate_giv_inc): Use find_last_value rather
6382 than just hoping the last instruction is the right SET.
6383 [Fixes 990604-1.c on stormy16.]
6385 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
6386 library at all if -T is used.
6388 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
6389 some uses of uninitialized variables in error cases.
6391 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
6392 look at 'temp' if we won't be using it.
6394 * config/stormy16/stormy16.h (CONST_COSTS): Define.
6395 (RTX_COSTS): Define.
6396 (ADDRESS_COST): Define.
6397 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
6399 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
6401 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
6402 stormy16_asm_output_mi_thunk.
6403 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
6405 * config/stormy16/stormy16-protos.h
6406 (stormy16_asm_output_mi_thunk): New prototype.
6408 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
6410 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
6411 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
6412 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
6413 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
6414 sched-int.h, toplev.c, config/alpha/alpha.c,
6415 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
6416 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
6417 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
6418 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
6419 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
6420 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
6421 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
6423 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6425 * Makefile.in (dbxout.o): Depend on function.h.
6426 * collect2.c (is_in_list): Hide unused function.
6427 * dbxout.c: Include function.h.
6428 (source_label_number, dbxout_source_line, dbxout_source_file,
6429 dbxout_function_end, dbxout_begin_function): Wrap/move inside
6430 macros controlling usage.
6431 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
6432 * output.h (exports_section): Prototype.
6434 * convex.c (convex_output_function_prologue): Fix format specifier
6436 (asm_declare_function_name): Fix signed/unsigned warning.
6437 (print_operand): Fix format specifier warning.
6438 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
6439 * dsp16xx-protos.h (uns_comparison_operator,
6440 num_1600_core_shifts): Prototype.
6441 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
6442 (frame_size, frame_pointer_offset): Delete.
6443 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
6444 Make static. Fix format specifier warnings.
6445 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
6446 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
6447 * dsp16xx.md: Add default case in switches.
6448 * fr30.h (IN_RANGE): Delete.
6449 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
6450 * mcore-protos.h (mcore_output_cmov): Const-ify.
6451 * mcore.c (mcore_output_cmov): Likewise.
6452 * mcore.h (switch_to_section): Make static and prototype.
6453 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
6454 unsigned>=0 warnings.
6455 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
6456 * rs6000-protos.h (read_only_data_section,
6457 read_only_private_data_section): Prototype.
6458 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
6459 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
6460 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
6462 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6464 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
6466 * final.c (final_scan_insn): Add brackets around body of if-stmt.
6467 * gcc.c (convert_filename): Add static prototype. Const-ify.
6468 Wrap variable in macros controlling its use.
6469 * output.h (sdata_section): Add prototype.
6471 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6472 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
6473 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
6474 (ASM_FILE_START): Const-ify.
6475 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
6477 * c4x.md: Don't use the 'U' integer suffix.
6478 * clipper.md (clipper_movstr): Delete declaration.
6479 * d30v-protos.h (d30v_move_2words): Const-ify.
6480 (debug_stack_info): Add prototype.
6481 * d30v.c: Include "integrate.h".
6482 (d30v_function_arg_boundary, d30v_function_arg,
6483 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
6484 signed/unsigned warnings.
6485 (d30v_print_operand_memory_reference, d30v_move_2words):
6487 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
6488 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
6489 * fr30.md: Const-ify.
6490 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6491 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
6492 (mvs_get_label_page): Hide unused static function.
6493 * i860.c (current_function_original_name): Const-ify.
6494 * i860/sysv3.h (current_function_original_name): Likewise.
6495 * i860/sysv4.h (current_function_original_name): Likewise.
6496 * i960.md: Add default case in switches. Remove unused variable.
6497 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
6498 * m32r.md: Const-ify.
6499 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
6500 * m68hc11.c: Include "reload.h".
6501 (static_chain_reg, print_options, m68hc11_asm_file_start):
6503 * m68hc11.md: Delete unused variable. Const-ify. Add parens
6504 around & in comparison.
6505 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
6506 * mn10200.c (shift_mode): Remove trailing comma.
6507 * mn10300-protos.h (output_tst): Const-ify.
6508 * mn10300.c (output_tst): Likewise.
6509 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
6511 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
6512 * pa.c (output_ascii): Likewise.
6513 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6514 * pdp11.md (expand_unop): Delete declarations.
6515 * pj-protos.h (pj_output_addsi3): Const-ify.
6516 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
6517 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
6518 unique_src_operand): Add prototypes.
6519 (pj_output_store_into_lval): Make definition static.
6520 (pj_function_incoming_arg): Don't use unary plus.
6521 (pj_output_addsi3): Const-ify.
6522 * romp.md (get_symref): Delete declarations.
6523 * v850-c.c (mark_current_function_as_interrupt): Don't return
6524 value from void function.
6525 * v850.c: Include "integrate.h".
6526 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
6527 * vax-protos.h (const_section): Add prototype.
6529 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
6531 * machmode.def: Add documentation for the seventh argument in
6534 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
6536 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
6538 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
6539 <-melf>: Don't have markup for ELF acronym.
6541 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
6543 * config.gcc (mmix-*-*): New target.
6544 * doc/invoke.texi: Document MMIX options.
6545 * doc/contrib.texi: Add note about MMIX port to my entry.
6546 * config/mmix/t-mmix: New file.
6547 * config/mmix/mmix.h: New file.
6548 * config/mmix/mmix-protos.h: New file.
6549 * config/mmix/mmix.c: New file.
6550 * config/mmix/mmix.md: New file.
6551 * config/mmix/crti.asm: New file.
6552 * config/mmix/crtn.asm: New file.
6554 2001-11-03 Kazu Hirata <kazu@hxi.com>
6556 * config/sparc/linux-aout.h: Fix comment formatting.
6557 * config/sparc/linux.h: Likewise.
6558 * config/sparc/linux64.h: Likewise.
6559 * config/sparc/lynx.h: Likewise.
6560 * config/sparc/pbd.h: Likewise.
6561 * config/sparc/sol2-sld-64.h: Likewise.
6562 * config/sparc/sol2.h: Likewise.
6563 * config/sparc/sparc.c: Likewise.
6564 * config/sparc/sparc.h: Likewise.
6565 * config/sparc/sparc.md: Likewise.
6566 * config/sparc/sunos4.h: Likewise.
6567 * config/sparc/vxsim.h: Likewise.
6568 * config/sparc/vxsparc.h: Likewise.
6569 * config/sparc/vxsparc64.h: Likewise.
6571 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6573 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
6574 reference to CONST_DOUBLE_MEM in comment.
6575 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
6576 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
6577 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
6578 * function.c (pop_function_context_from): Don't call
6579 restore_varasm_status.
6580 * function.h (restore_varasm_status): Delete declaration.
6581 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
6583 * rtl.def (CONST_DOUBLE): Update comment.
6584 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
6585 (CONST_DOUBLE_CHAIN): Likewise.
6586 (CONST_DOUBLE_MEM): Delete.
6587 (gen_rtx_CONST_DOUBLE): Update parameters.
6588 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
6589 Remove reference to CONST_DOUBLE_MEM.
6590 (const_alias_set): New variable.
6591 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
6592 (immed_real_const_1): Adjust tests for 0, 1, and 2.
6593 Don't set CONST_DOUBLE_MEM.
6594 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
6595 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
6596 Put constant in const_alias_set.
6597 (struct pool_constant): ALIGN now unsigned.
6598 OFFSET now HOST_WIDE_INT.
6600 (restore_varasm_status): Deleted.
6601 (mark_pool_constant): Mark desc->rtl.
6602 (force_const_mem): Rework to store rtl in hash table,
6603 not CONST_DOUBLE_MEM.
6604 Put constant in const_alias_set.
6605 (find_pool_constant): Check desc->rtl.
6606 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
6607 (init_varasm_once): Initialize const_alias_set.
6609 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
6612 * reload.c (combine_reloads): Don't combine an output reload if there
6613 are other reloads around for part of the output.
6615 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
6616 constant expression.
6617 (set_mem_decl): New function.
6618 * expr.h (set_mem_decl): New declaration.
6619 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
6620 (output_asm_operand_names): Add tab.
6621 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
6623 * builtins.c (get_memory_rtx): Properly set MEM alias set and
6626 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
6628 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
6629 Use "invalid" instead of "illegal". Use @r in comments in
6632 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
6634 * c-decl.c (pushdecl): Move block inside if conditional to remove
6635 possibility of a segfault. Lookup block-level extern
6636 variables in enclosing scopes correctly.
6638 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
6640 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6642 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
6643 SUBREG so we avoid SUBREGing memory.
6645 * expmed.c (store_bit_field): Same.
6647 2001-11-02 DJ Delorie <dj@redhat.com>
6649 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
6650 using FP registers for DImode mem-mem moves is acceptable.
6652 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6654 * builtins.c (apply_args_size): Handle vector arguments.
6655 (apply_result_size): Same.
6657 * machmode.def: Set WIDER mode field for all vector entries.
6659 2001-11-02 Graham Stott <grahams@redhat.com>
6661 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
6663 2001-11-01 Eric Christopher <echristo@redhat.com>
6665 * config.gcc: Revert part of earlier patch.
6666 * config/mips/linux.h: Ditto.
6667 * df.c: Include tm_p.h to avoid warnings.
6668 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
6670 * config/mips/mips.c: Define mips_abi regardless.
6671 (mips_output_function_prologues): Add long casts for .frame
6673 (override_options): Allow use of ABI_32.
6675 2001-11-01 Kazu Hirata <kazu@hxi.com>
6677 * config/m68hc11/m68hc11.c: Fix comment formatting.
6678 * config/m68hc11/m68hc11.h: Likewise.
6679 * config/m68hc11/m68hc11.md: Likewise.
6681 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
6683 * c-typeck.c (default_conversion): Retain the original expression
6685 * gcc.dg/Wparentheses.c: New tests.
6687 2001-11-01 David S. Miller <davem@redhat.com>
6689 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
6690 64-bit Sparc description more in line with reality.
6692 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
6694 * Makefile.in (GCOV_OBJS): Add version.o.
6695 * gcov.c: Include "version.h" and <getopt.h>.
6696 (gcov_version_string): Remove.
6697 (print_usage): Take a parameter to determine whether this is a
6698 call from --help or an error message. Give fuller output that
6699 follows the GNU Coding Standards for --help.
6700 (print_version): New function.
6702 (process_args): Use getopt_long. Support long options. Follow
6703 GNU Coding Standards for --help and --version.
6704 * doc/gcov.texi: Document long options.
6705 Addresses part of PR other/704.
6707 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
6709 * pa.c (output_move_double): Fix typo in double load.
6711 2001-11-01 Kazu Hirata <kazu@hxi.com>
6713 * config/h8300/h8300.c (h8300_encode_label): Compute a string
6714 before passing it to ggc_alloc_string.
6716 2001-11-01 Kazu Hirata <kazu@hxi.com>
6718 * config/m68k/3b1.h: Fix comment formatting.
6719 * config/m68k/3b1g.h: Likewise.
6720 * config/m68k/a-ux.h: Likewise.
6721 * config/m68k/amix.h: Likewise.
6722 * config/m68k/apollo68.h: Likewise.
6723 * config/m68k/atari.h: Likewise.
6724 * config/m68k/aux-exit.c: Likewise.
6725 * config/m68k/ccur-GAS.h: Likewise.
6726 * config/m68k/crds.h: Likewise.
6727 * config/m68k/dpx2.h: Likewise.
6728 * config/m68k/dpx2g.h: Likewise.
6729 * config/m68k/hp310.h: Likewise.
6730 * config/m68k/hp320.h: Likewise.
6731 * config/m68k/isi.h: Likewise.
6732 * config/m68k/linux.h: Likewise.
6733 * config/m68k/lynx.h: Likewise.
6734 * config/m68k/m68k-psos.h: Likewise.
6735 * config/m68k/m68k.c: Likewise.
6736 * config/m68k/m68k.h: Likewise.
6737 * config/m68k/m68k.md: Likewise.
6738 * config/m68k/m68kelf.h: Likewise.
6739 * config/m68k/m68kv4.h: Likewise.
6740 * config/m68k/mot3300.h: Likewise.
6741 * config/m68k/news.h: Likewise.
6742 * config/m68k/next.h: Likewise.
6743 * config/m68k/pbb.h: Likewise.
6744 * config/m68k/plexus.h: Likewise.
6745 * config/m68k/sgs.h: Likewise.
6746 * config/m68k/sun3.h: Likewise.
6747 * config/m68k/tower.h: Likewise.
6748 * config/m68k/vxm68k.h: Likewise.
6750 2001-10-31 DJ Delorie <dj@redhat.com>
6752 * config/mips/mips.h (mips_cache_flush_func): Prototype.
6753 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
6754 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
6755 * config/mips/mips.c (mips_cache_flush_func): New.
6756 * doc/invoke.texi: Document the new options.
6758 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
6760 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
6761 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
6763 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
6765 * config/cris/cris.c: Include output.h after tree.h but before
6768 2001-10-31 Zack Weinberg <zack@codesourcery.com>
6770 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
6771 (INTL_SUBDIRS): Just intl.
6772 (.SUFFIXES): Add .gmo .po .pox.
6773 (native): Also depend on build-@POSUB@.
6774 (intl.all, intl.install): Depend on config.h and things it includes.
6775 (po-generated): New target; depend on c-parse.c and tradcif.c.
6776 (install-normal): Also depend on install-@POSUB@.
6777 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
6778 (build-, install-, build-po, update-po, install-po,
6779 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
6781 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
6782 * configure.in: Don't munge XGETTEXT. Don't generate
6784 * configure: Regenerate.
6786 * exgettext: Delete.
6787 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
6788 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
6790 2001-10-31 Kazu Hirata <kazu@hxi.com>
6792 * config/h8300/h8300.md (two anonymous patterns): New.
6794 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
6796 * tree.h (tree_index): Add support for V16QI and V8HI.
6797 (V8HI_type_node): New.
6798 (V16QI_type_node): New.
6800 * tree.c (build_common_tree_nodes_2): Same.
6802 * c-common.c (type_for_mode): Same.
6804 2001-10-31 Kazu Hirata <kazu@hxi.com>
6806 * config/i386/att.h: Fix comment formatting.
6807 * config/i386/beos-elf.h: Likewise.
6808 * config/i386/bsd.h: Likewise.
6809 * config/i386/bsd386.h: Likewise.
6810 * config/i386/crtdll.h: Likewise.
6811 * config/i386/cygwin.asm: Likewise.
6812 * config/i386/cygwin.h: Likewise.
6813 * config/i386/djgpp.h: Likewise.
6814 * config/i386/freebsd-aout.h: Likewise.
6815 * config/i386/freebsd.h: Likewise.
6816 * config/i386/gas.h: Likewise.
6817 * config/i386/i386-interix.h: Likewise.
6818 * config/i386/i386-protos.h: Likewise.
6819 * config/i386/i386.c: Likewise.
6820 * config/i386/i386.h: Likewise.
6821 * config/i386/i386.md: Likewise.
6822 * config/i386/i386elf.h: Likewise.
6823 * config/i386/interix.c: Likewise.
6824 * config/i386/isc.h: Likewise.
6825 * config/i386/isccoff.h: Likewise.
6826 * config/i386/iscdbx.h: Likewise.
6827 * config/i386/linux.h: Likewise.
6828 * config/i386/lynx.h: Likewise.
6829 * config/i386/mingw32.h: Likewise.
6830 * config/i386/netbsd-elf.h: Likewise.
6831 * config/i386/next.h: Likewise.
6832 * config/i386/osf1elf.h: Likewise.
6833 * config/i386/osfrose.h: Likewise.
6834 * config/i386/sco5.h: Likewise.
6835 * config/i386/seq-gas.h: Likewise.
6836 * config/i386/seq-sysv3.h: Likewise.
6837 * config/i386/sequent.h: Likewise.
6838 * config/i386/sol2.h: Likewise.
6839 * config/i386/sun386.h: Likewise.
6840 * config/i386/uwin.asm: Likewise.
6841 * config/i386/uwin.h: Likewise.
6842 * config/i386/vxi386.h: Likewise.
6843 * config/i386/win32.h: Likewise.
6844 * config/i386/winnt.c: Likewise.
6845 * config/i386/xm-cygwin.h: Likewise.
6846 * config/i386/xm-mingw32.h: Likewise.
6848 2001-10-31 Kazu Hirata <kazu@hxi.com>
6850 * builtins.def: Fix comment typos.
6851 * config/alpha.c: Likewise.
6852 * config/arm/arm.c: Likewise.
6853 * config/avr/avr.h: Likewise.
6854 * config/d30v/d30v.c: Likewise.
6855 * config/d30v/d30v.h: Likewise.
6856 * config/d30v/d30v.md: Likewise.
6857 * config/dsp16xx/dsp16xx.c: Likewise.
6858 * config/fr30/fr30.c: Likewise.
6859 * config/fr30/fr30.md: Likewise.
6860 * config/i386/i386.c: Likewise.
6861 * config/i860/i860.c: Likewise.
6862 * config/i960/i960.c: Likewise.
6863 * config/ia64/ia64.c: Likewise.
6864 * config/mips/mips.c: Likewise.
6865 * config/pa/pa.c: Likewise.
6866 * config/rs6000/rs6000.c: Likewise.
6867 * config/s390/s390.c: Likewise.
6868 * config/sparc/sparc.c: Likewise.
6870 2001-10-30 Kazu Hirata <kazu@hxi.com>
6872 * config/mips/elf.h: Fix comment formatting.
6873 * config/mips/elf64.h: Likewise.
6874 * config/mips/iris5.h: Likewise.
6875 * config/mips/iris5gas.h: Likewise.
6876 * config/mips/iris6.h: Likewise.
6877 * config/mips/isa3264.h: Likewise.
6878 * config/mips/linux.h: Likewise.
6879 * config/mips/mips.c: Likewise.
6880 * config/mips/mips.h: Likewise.
6881 * config/mips/mips.md: Likewise.
6882 * config/mips/mips16.S: Likewise.
6883 * config/mips/netbsd.h: Likewise.
6884 * config/mips/osfrose.h: Likewise.
6885 * config/mips/r3900.h: Likewise.
6886 * config/mips/sni-svr4.h: Likewise.
6887 * config/mips/svr4-t.h: Likewise.
6888 * config/mips/ultrix.h: Likewise.
6890 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
6892 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
6893 when we update head->current.
6895 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
6897 * tree.c (id_string_size): Remove.
6898 (dump_tree_statistics): Update.
6899 * toplev.c (compile_file): If dumping stats, dump tree stats too.
6901 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
6903 * sched-rgn.c (schedule_insns): Fix comment.
6905 2001-10-30 Zack Weinberg <zack@codesourcery.com>
6907 * configure.in: Correct previous change: don't assume that
6908 gas's version number _isn't_ the last thing on the line, or
6909 isn't the only number on the line, either.
6910 * configure: Regenerate.
6912 2001-10-30 Kazu Hirata <kazu@hxi.com>
6914 * cfgcleanup.c: Fix a comment typo.
6916 2001-10-30 Kazu Hirata <kazu@hxi.com>
6918 * alias.c: Fix comment formatting.
6919 * recog.c: Likewise.
6920 * config/cris/cris.c: Likewise.
6921 * config/cris/cris.h: Likewise.
6922 * config/i960/i960.c: Likewise.
6923 * config/i960/i960.h: Likewise.
6925 2001-10-30 Kazu Hirata <kazu@hxi.com>
6927 * config/arm/arm.c: Fix a comment typo.
6928 * config/arm/arm.h: Likewise.
6929 * config/ia64/ia64.c: Likewise.
6931 2001-10-30 Jakub Jelinek <jakub@redhat.com>
6933 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
6934 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
6935 * rtl.h (set_unique_reg_note): Change return value.
6936 * gcse.c (try_replace_reg): Use set_unique_reg_note.
6937 * cse.c (cse_insn): Likewise.
6938 * expr.c (emit_move_insn): Likewise.
6939 * explow.c (force_reg): Likewise.
6940 * local-alloc (update_equiv_regs): Likewise.
6941 * loop.c (move_moveables, load_mems): Likewise.
6942 * reload (find_reloads): Likewise.
6944 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
6947 * c-decl.c (parmlist_tags_warning, start_struct,
6948 check_for_loop_decls): Separate messages for struct, union and
6949 enum cases to allow for languages in which they have different
6951 * c-format.c (scanf_flag_specs): Separate short and long name of
6952 the assignment suppression feature.
6953 (check_format_types): Localize "pointer" and "different types"
6955 * c-lex.c (lex_number): Localize "an unsigned long int" and
6957 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
6959 * c-typeck.c (build_unary_up): Separate messages for increment and
6960 decrement cases to allow for languages in which they use different
6961 articles. Localize the strings "increment" and "decrement" in one
6964 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
6966 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
6967 when no changes has been made.
6969 * gcse.c (reg_set_bitmap): Turn into reg_set.
6970 (modify_mem_list_set, canon_modify_mem_list_set)
6971 (clear_modify_mem_tables, free_modify_mem_tables): New.
6972 (gcse_main); Use free_modify_mem_tables.
6973 (free_gcse_mem): Likewise; free the bitmaps.
6974 (alloc_gcse_main): Initialize the bitmaps.
6975 (canon_list_insert): Set canon_modify_mem_list_set.
6976 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
6977 (compute_hash_table): Use clear_modify_mem_tables.
6978 (reset_opr_set_tables): Likewise.
6979 (oprs_not_set_p): reg_set_bitmap is regset.
6980 (mark_set, mark_clobber): Likewise.
6982 * df.h (DF_EQUIV_NOTES): New constant.
6983 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
6986 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
6987 (init_regions, schedule_insns): Conditionalize the checking
6988 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
6990 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
6992 * i386.md (movti_rex64 splitter): Fix condition.
6994 2001-10-29 Zack Weinberg <zack@codesourcery.com>
6996 * configure.in: Do not assume that gas's version number is the
6997 last thing on the first line of as --version output.
6998 * configure: Regenerate.
7000 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
7001 MT_WARNING, MT_ERROR, MT_FATAL.
7002 (main): Call gcc_init_libintl.
7003 (v_message): Call gettext on msgid and "warning: "
7004 * tradcif.y: Include intl.h.
7005 (yyerror): Make parameter definition consistent with
7006 prototype. Call gettext on msgid argument.
7008 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7010 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
7013 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
7015 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7017 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
7018 before referencing it.
7020 2001-10-26 DJ Delorie <dj@redhat.com>
7022 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
7023 override -G, and force -G0.
7025 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
7027 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
7028 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
7029 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
7030 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
7032 * loop.h (struct induction): Rename ext_dependant to
7034 * loop.c: Change all uses.
7035 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
7036 All callers changed.
7037 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
7039 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
7041 * c-parse.in (expr_no_commas, primary), c-typeck.c
7042 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
7044 2001-10-29 David Edelsohn <edelsohn@gnu.org>
7046 Undo assemble_name change in earlier patch.
7048 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
7050 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
7051 determining the type of the receiver, do not check that TREE_CODE
7052 of receiver is CALL_EXPR before calling receiver_is_class_object().
7053 (receiver_is_class_object): For the GNU runtime: recognize
7054 the case that the receiver is self in a class method context.
7055 Check that TREE_CODE of receiver is CALL_EXPR when checking that
7056 the receiver is a call to objc_get_class.
7058 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
7060 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
7062 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7064 * Makefile.in (OBJS): Put all files in alphabetical order.
7066 * dwarf2out.c (add_const_value_attribute): Fix error in last
7069 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
7071 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
7072 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
7074 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
7075 (life_analysis): call purge_all_dead_edges after deleting noops.
7076 (delete_noop_move): Do not purge CFG.
7077 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
7079 2001-10-28 David Edelsohn <edelsohn@gnu.org>
7081 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
7082 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
7083 (ASM_GLOBALIZE_LABEL): Use assemble_name.
7084 (ASM_OUTPUT_COMMON): Likewise.
7085 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
7086 (rs6000_output_function_epilogue): Likewise.
7087 (output_mi_thunk): Fix typo.
7088 (rs6000_output_symbol_ref): Use assemble_name.
7089 (output_toc): Likewise.
7090 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
7091 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
7092 assemble_name calls STRIP_NAME_ENCODING.
7093 (ASM_OUTPUT_LABEL): Use assemble_name.
7094 (ASM_GLOBALIZE_LABEL): Likewise.
7095 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7096 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
7097 (ASM_OUTPUT_LOCAL): Likewise.
7099 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7101 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
7102 (expand_builtin_apply, expand_builtin_return): Likewise.
7103 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
7105 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
7107 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
7108 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
7109 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
7110 configure, configure.in, except.c, except.h, flow.c, function.c,
7111 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
7112 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
7113 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
7114 unroll.c: Fix spelling errors.
7116 * doc/extend.texi, doc/invoke.texi: Fix spelling.
7118 * doc/gcc.texi: Document use of "dependent" and American spelling.
7120 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
7122 * expr.c (emit_group_load): Support CONCATs by storing them to memory
7125 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7127 * expr.c (store_constructor_field): Only call adjust_address on MEM.
7129 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
7131 * genrecog.c (write_switch): Output if before switch for
7132 DT_elt_zero_wide_safe.
7134 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7136 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
7137 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
7138 (FUNCTION_PROFILER): Const-ify.
7139 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
7140 (eliminate_constant_term, assemble_name, output_addr_const):
7141 Remove declarations.
7142 (ptr_half_pic_address_p, half_pic_hash): Prototype.
7143 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
7144 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
7145 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
7146 (half_pic_declare, half_pic_external): Const-ify.
7147 * toplev.c: Include "halfpic.h".
7149 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
7151 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
7152 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
7153 config/i386/i386.c, config/i386/i386-interix.h,
7154 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
7155 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
7156 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
7157 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
7158 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
7159 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
7160 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
7163 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
7164 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
7165 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
7166 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
7167 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
7168 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
7169 system.h, toplev.c: Fix spelling errors.
7171 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7173 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
7175 * dwarf2out.c (reg_number): Abort if pseudo.
7176 (reg_loc_descriptor): Return 0 if pseudo.
7177 (is_based_loc): Return 0 if pseudo.
7178 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
7180 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
7181 (loc_descriptor): Return 0 if can't find location and handle 0
7182 return from recursive calls.
7183 (loc_descriptor_from_tree): Likewise.
7184 Fix handling of indirect.
7185 Also return 0 for PLACEHOLDER_EXPR.
7186 Clean up COMPONENT_REF cases.
7187 (add_AT_location_descriptor): Simplify, but handle 0 return from
7189 (add_const_value_attribute): Avoid shift count warning.
7190 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
7191 Set comp_unit_die as context if not in function.
7193 * config/mips/mips-protos.h: Break up long lines.
7194 Remove needless #ifdef/#endif blocks.
7195 Don't declare functions declared in file made by genpreds or recog.h.
7196 * config/mips/mips.c (mips_output_function_prologue): TSIZE
7197 is now HOST_WIDE_INT; delete unneeded casts.
7198 * config/mips/mips.h: Don't use #elif.
7200 * expr.c (stor_constructor_field): Always call adjust_address.
7201 Copy TARGET before changing its alias set.
7202 (store_field): Likewise, for TO_RTX.
7203 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
7205 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
7206 (find_placeholder): Return 0 if can't find object.
7207 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
7210 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7212 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
7214 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
7216 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
7217 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
7218 (merge_blocks): Properly udpate life after making edge nonfallthru.
7219 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
7221 2001-10-26 Kazu Hirata <kazu@hxi.com>
7223 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
7225 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
7227 * c-typeck.c (convert_arguments): When comparing for enumeral
7228 type equality, use TYPE_MAIN_VARIANT.
7229 * gcc.dg/Wconversion.c: New tests.
7231 2001-10-26 Kazu Hirata <kazu@hxi.com>
7233 * s390/s390.c: Fix comment typos.
7234 * s390/s390.h: Likewise.
7235 * s390/s390.md: Likewise.
7237 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7239 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
7240 (walk_tree): Use it for tail calls where appropriate.
7242 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7244 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
7245 non-local label_refs.
7247 2001-10-26 Kazu Hirata <kazu@hxi.com>
7249 * config/h8300/h8300.md (4 anonymous patterns): New.
7251 2001-10-26 Kazu Hirata <kazu@hxi.com>
7253 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
7254 algorithm through the shift_info structure.
7255 (emit_a_shift): Update the use of get_shift_alg.
7257 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
7259 * sched-rgn.c: Remove bitset typedef.
7260 Change bitset to sbitmap in prototypes / variable types.
7262 Remove edgeset_bits.
7263 Remove edgeset_size.
7264 s/BITSET_ADD/SET_BIT/g
7265 s/BITSET_INVERT/sbitmap_ones/g
7266 s/BITSET_INTER/sbitmap_a_and_b/g
7267 s/BITSET_UNION/sbitmap_a_or_b/g
7268 s/BITSET_DIFFER/sbitmap_difference/g
7269 s/bitset_member/TEST_BIT/g
7270 (BITSET_*): Removed.
7271 (bitset_member): Removed.
7272 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
7273 EXECUTE_IF_SET_IN_SBITMAP.
7274 (split_edges): Rewrite, use sbitmap functions instead of bitset
7276 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
7278 2001-10-26 Andreas Schwab <schwab@suse.de>
7280 * reload1.c (emit_input_reload_insns): Fix parens in last
7281 (undocumented) change that was supposed to change only whitespace.
7283 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7285 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
7287 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
7290 2001-10-26 Andreas Jaeger <aj@suse.de>
7292 * flow.c (clear_log_links): Remove unused variable.
7293 * cfgcleanup.c (cleanup_cfg): Likewise.
7295 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7297 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
7298 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
7300 2001-10-26 Richard Henderson <rth@redhat.com>
7302 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
7303 rename PV_REG to R27_REG.
7304 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
7305 (REG_CLASS_FROM_LETTER): Update.
7306 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
7307 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
7308 (udivsi3, modsi3, umodsi3): Likewise.
7309 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
7311 2001-10-26 Richard Henderson <rth@redhat.com>
7313 * cfg.c (clear_aux_for_blocks): Split out of ...
7314 (free_aux_for_blocks): here.
7315 (clear_aux_for_edges): Split from ...
7316 (free_aux_for_edges): here.
7317 * basic-block.h: Declare them.
7318 * lcm.c (compute_antinout_edge): Use them.
7319 (compute_laterin, compute_available, compute_nearerout): Likewise.
7320 (optimize_mode_switching): Likewise.
7322 2001-10-26 Richard Henderson <rth@redhat.com>
7324 * Makefile.in (unstage*): Remove as, ld, collect-ld before
7325 moving everything back to the main build directory.
7327 2001-10-26 Christopher Faylor <cgf@redhat.com>
7329 * config/i386/cygwin.h: Search target specific include directory, if
7332 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7334 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
7335 of macro guards. Fix #endif comment.
7337 * output.h (default_exception_section, default_eh_frame_section):
7338 Move prototypes outside of macro guard.
7340 * crtstuff.c: Fix #endif comment.
7342 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
7344 * doc/md.texi (movMM): Clarify semantics of storing into a
7345 non-paradoxical SUBREG.
7347 2001-10-25 Zack Weinberg <zack@codesourcery.com>
7349 * langhooks.c (lang_hook_default_clear_binding_stack): New.
7350 (lang_hook_default_get_alias_set): Move next to other alias
7352 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
7353 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
7354 (LANG_HOOKS_INITIALIZER): Add it.
7355 * toplev.h (struct lang_hooks): Add clear_binding_stack.
7356 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
7357 instead of a loop calling poplevel.
7359 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
7361 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
7362 occurrences of #elif with #if...#endif.
7364 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7366 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
7368 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7370 * alias.c (can_address_p): No longer static.
7371 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
7372 Return 0 if all parameters are default values.
7373 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
7374 (adjust_address_1): Try harder to compute a size.
7375 * expr.c (expand_assignment, store_constructor): If can't address,
7376 set MEM_KEEP_ALIAS_SET_P.
7377 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
7378 (store_field): Likewise.
7379 (store_constructor): Simplify call to store_constructor_field.
7380 * expr.h (can_address_p): New declaration.
7381 * gensupport.c (gen_rtx_CONST_INT): New function.
7382 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
7383 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
7384 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
7386 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
7388 2001-10-24 Christopher Faylor <cgf@redhat.com>
7390 * config/i386/cygwin.h: Use proper path for mingw crt files when
7393 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7395 * dwarf2out.c (file_info_cmp): Always return consistent results.
7397 2001-10-24 Roger Sayle <roger@eyesopen.com>
7399 * stmt.c (expand_end_case): Index jumptables from zero for
7400 suitably small values of minval.
7402 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7404 * stor-layout.c (place_union_field): If any field was aligned with
7405 attribute aligned, set record type's TYPE_USER_ALIGN.
7406 (place_field): Likewise.
7407 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
7408 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
7410 2001-10-24 Zack Weinberg <zack@codesourcery.com>
7412 * c-common.h (struct c_common_identifier): Remove rid_code field.
7413 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
7415 * c-typeck.c (constructor_designated): New local flag.
7416 (struct constructor_stack): Add "designated" field to match.
7417 (start_init): Clear it.
7418 (really_start_incremental_init, push_init_level): Push and
7420 (pop_init_level): Pop it.
7421 (set_designator): Set it.
7423 (pop_init_level): Suppress "missing initializer" warnings if
7424 constructor_designated is true.
7425 (process_init_element): Suppress warning about union
7426 initialization under traditional C, if constructor_designated
7429 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7431 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
7434 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
7436 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
7438 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
7440 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
7441 the node was already a set to a constant.
7443 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7445 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
7446 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
7448 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7450 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
7451 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
7452 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
7453 * s390.c (s390_final_chunkify): Don't use string concatenation.
7454 (s390_function_prologue, s390_function_epilogue): Const-ify.
7455 * s390.h (FUNCTION_PROFILER): Remove unused variable.
7457 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7459 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
7462 2001-10-23 Stan Shebs <shebs@apple.com>
7464 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
7465 -traditional-cpp in first-stage compilation.
7467 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7469 * gensupport.c (target_flags): Add.
7471 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
7473 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
7475 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
7476 * except.c (expand_builtin_frob_return_addr): Likewise.
7477 (expand_builtin_eh_return): Likewise.
7478 * stmt.c (expand_computed_goto): Likewise.
7479 * explow.c (memory_address): Likewise.
7480 (allocate_dynamic_stack_space): Clean up predicate testing.
7481 (probe_stack_range): Convert SIZE to Pmode.
7482 * calls.c (rtx_for_function_call): Only call convert_memory_address
7484 Pass function call operand as ptr_mode, not Pmode.
7485 * expr.c (expand_assignment): Clean up calls to convert_memory
7486 address by only doing so when needed and making offsets Pmode.
7487 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
7488 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
7489 is in Pmode, not ptr_mode.
7491 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7493 * darwin-protos.h (constructor_section, destructor_section,
7494 mod_init_section, mod_term_section): Prototype.
7495 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
7497 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
7499 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
7500 objc_section_init declaration.
7501 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
7502 (objc_section_init, try_section_alias): Make static.
7503 (alias_section): Make static and hide unused function.
7504 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
7506 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7508 * alias.c (can_address_p): Compnonents are not addressable if
7509 the containing type has alias set 0.
7510 (get_alias_set): Rework to use STRIP_NOPS.
7511 Only call front-end routine on object, type, or object with
7512 NOPs stripped, not inner values.
7513 Use language hook to call front-end routine.
7514 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
7515 (expand_builtin_apply): Call set_mem_align on MEMs we make.
7516 Don't pass alignment to emit_block_move.
7517 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
7518 (expand_builtin_memset): Likewise, but for clear_storage.
7519 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
7520 and remove C++ specific parts.
7521 * c-common.h (c_common_get_alias_set): Add declaration.
7522 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
7523 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
7524 (save_fixed_argument_area): Call set_mem_align.
7525 Remove alignment in call to emit_block_move.
7526 (emit_library_call_value_1, store_one_arg): Likewise.
7527 (target_for_arg): Remove; disabled long ago.
7528 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
7529 once and similar cleanups.
7530 (offset_address): Use proper introductory comment.
7531 * expr.c (emit_block_move): Use alignment from that of MEM args, not
7532 from explicit operand; all callers changed.
7533 (clear_storage): Likewise.
7534 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
7535 (store_field): Remove kludge on alias set used for to_rtx.
7536 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
7537 (expand_expr_unaligned): Call set_mem_attributes instead of
7539 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
7540 * function.c (assign_stack_temp_for_type): Set MEM alignment.
7541 (expand_function_end): Track MEM attributes of trampolines.
7542 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
7543 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
7544 attributes from original.
7545 * langhooks.c (lang_hook_default_get_alias_set): New function.
7546 (hook_get_alias_set_0): New function.
7547 * langhooks.h (hook_get_alias_set_0): New declaration.
7548 (lang_hook_default_get_alias_set): Likewise.
7549 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
7550 * reload1.c (alter_reg): Use adjust_address_nv.
7551 * rtl.c (get_mode_alignment): Moved to here.
7552 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
7553 change default if unknown from 1 to BITS_PER_UNIT.
7554 * stor-layout.c (get_mode_alignment): Remove from here.
7555 * toplev.h (struct lang_hoks): Add get_alias_set field.
7556 * tree.h (lang_get_alias_set): Delete declaration.
7557 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
7558 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
7559 (ix86_va_arg): Likewise.
7560 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
7561 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
7562 * config/sparc/sparc.c (sparc_va_arg): Likewise.
7563 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
7564 (expand_block_move_mem): Remove dead code.
7566 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
7568 * c-common.c (warn_div_by_zero): New.
7569 * c-common.h (warn_div_by_zero): New.
7570 * c-decl.c (c_decode_option): Take it on the command line.
7571 * c-typeck.c (build_binary_op): Warn about division by zero.
7572 * doc/invoke.texi: Document the new command line option, fix
7573 documentation of -Wmultichar.
7574 * testsuite/gcc.dg/divbyzero.c: New tests.
7575 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
7577 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7579 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
7581 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
7582 to avoid update_life_info call.
7583 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
7584 * cfgcleanup.c (bb_flags): New enum.
7585 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
7586 (notice_new_block, update_forwarder_flag): New functions.
7587 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
7588 (try_forward_edges): Likewise; update flags.
7589 (merge_blocks): Likewise.
7590 (outgoing_edges_match): Likewise.
7591 (try_crossjump_to_edge): Likewise.
7592 (try_optimize_cfg): Likewise; initialize and clear the flags;
7593 recompute life info if needed.
7594 (cleanup_cfg): No need to clear aux pointers.
7596 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
7598 * config/i386/i386.c (override_options): Default to minimum
7599 stack alignment when optimizing for code size.
7600 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
7603 * config/i386/i386.c (override_options): Set upper limit of
7604 -mpreferred-stack-boundary to 12.
7606 2001-10-22 Zack Weinberg <zack@codesourcery.com>
7608 * recog.c (peephole2_optimize): Add default case to switch.
7610 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
7612 * doc/gcc.texi (Sending Patches): Remove.
7614 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
7616 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
7617 fields when comparing.
7619 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7621 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
7622 * arm.c (HOST_INT, HOST_UINT): Likewise.
7624 2001-10-22 Stan Shebs <shebs@apple.com>
7626 * config/darwin-protos.h (darwin_exception_section): Declare.
7627 (darwin_eh_frame_section): Declare.
7629 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
7631 * i386.md (movti_rex64): Fix mode.
7633 2001-10-22 Stan Shebs <shebs@apple.com>
7635 * target.h (struct gcc_target): Add asm_out.exception_section,
7636 asm_out.eh_frame_section.
7637 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
7638 (TARGET_ASM_EH_FRAME_SECTION): New.
7639 (TARGET_INITIALIZER): Update.
7640 * output.h (default_exception_section): Declare.
7641 (default_eh_frame_section): Declare.
7642 * dwarf2out.c: Include target.h.
7643 (output_call_frame_info): Call target hook for eh frames.
7644 (default_eh_frame_section): New function.
7645 * except.c: Include target.h.
7646 (output_function_exception_table): Call target hook for exception
7648 * varasm.c (default_exception_section): Rename from
7649 exception_section, remove EXCEPTION_SECTION macro.
7651 * config/darwin.h (darwin_eh_frame_section): New function.
7652 (EXCEPTION_SECTION): Remove.
7653 (TARGET_ASM_EXCEPTION_SECTION): Define.
7654 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
7655 (nextstep_exception_section): New function.
7656 (nextstep_eh_frame_section): New function.
7657 (TARGET_ASM_EXCEPTION_SECTION): Define.
7658 (TARGET_ASM_EH_FRAME_SECTION): Define.
7660 * config/pa/som.h (EXCEPTION_SECTION): Remove.
7661 (TARGET_ASM_EXCEPTION_SECTION): Define.
7662 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
7663 (EXCEPTION_SECTION): Remove.
7664 (TARGET_ASM_EXCEPTION_SECTION): Define.
7665 * config/stormy16/stormy16.h: Remove comments referencing
7666 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
7668 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
7669 TARGET_ASM_EH_FRAME_SECTION.
7671 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
7673 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
7676 * c-format.c: Fix spelling typo in comment.
7678 * sched-int.h: Fix typo in GCC preamble.
7680 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
7683 * doc/invoke.texi: Remove references to -fdump-translation-unit.
7685 2001-10-22 Richard Henderson <rth@redhat.com>
7687 * config/i386/i386.c (ix86_expand_clear): New.
7688 * config/i386/i386-protos.h: Declare it.
7689 * config/i386/i386.md (setcc peep2s): Use it.
7690 (movsi_xor): Unexport.
7692 2001-10-22 Richard Henderson <rth@redhat.com>
7694 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
7695 free_EXPR_LIST_list for LOG_LINKS.
7697 2001-10-21 Robert Lipe <robertlipe@usa.net>
7699 * config/i386/i386.c (sco_asm_named_section): Delete.
7700 (sco_asm_out_constructor): Delete.
7701 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
7702 (ASM_OUTPUT_DOUBLE_INT): Likewise.
7703 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
7704 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
7705 (EXCEPTION_SECTION): Delete EH scn renaming hack.
7707 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7709 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
7710 and/or fold extra calls into fewer ones.
7711 * collect2.c (dump_file): Likewise.
7712 * cppexp.c (parse_number): Likewise.
7713 * cpplex.c (_cpp_lex_direct): Likewise.
7714 * final.c (output_asm_insn, asm_fprintf): Likewise.
7715 * fix-header.c (inf_scan_ident, main): Likewise.
7716 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
7718 * fold-const.c (real_hex_to_f): Likewise.
7719 * gen-protos.c (parse_fn_proto): Likewise.
7720 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
7721 * genrecog.c (change_state, write_action): Likewise.
7722 * gensupport.c (shift_output_template): Likewise.
7723 * local-alloc.c (requires_inout): Likewise.
7724 * mips-tfile.c (IS_ASM_IDENT): Likewise.
7725 * protoize.c (is_id_char, main): Likewise.
7726 * real.c (asctoeg): Likewise.
7727 * recog.c (asm_operand_ok): Likewise.
7728 * reload.c (find_reloads): Likewise.
7729 * scan.c (scan_identget_token): Likewise.
7730 * sched-vis.c (print_value): Likewise.
7731 * stringpool.c (ggc_alloc_string): Likewise.
7732 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
7733 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
7734 * tradcpp.c (rescan): Likewise.
7735 * tree.c (clean_symbol_name): Likewise.
7736 * varasm.c (decode_reg_name): Likewise.
7738 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
7739 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
7740 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
7741 * m88k.c (output_ascii): Likewise.
7742 * m88k.h (OVERRIDE_OPTIONS): Likewise.
7743 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
7744 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
7745 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
7747 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7749 * langhooks.c (lang_hook_default_do_nothing,
7750 lang_hook_default_decode_option): New defaults.
7751 * langhooks.h: Make hooks unconditional and non-NULL.
7752 * toplev.c (compile_file, toplev_main): Update.
7753 * toplev.h: Update comments.
7754 * objc/objc-act.c (lang_hooks): Update to new paradigm.
7756 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7758 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
7760 * system.h (IN_RANGE): New macro.
7762 2001-10-21 Zack Weinberg <zack@codesourcery.com>
7764 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
7765 INTLDEPS variable, which does not include $LIBICONV.
7766 * Makefile.in: Use INTLDEPS in LIBDEPS.
7767 * configure: Regenerate.
7769 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7771 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
7772 * cpplex.c (lex_percent, lex_dot): Remove.
7773 (get_effective_char, skip_block_comment, skip_line_comment,
7774 parse_identifier_slow, parse_number, parse_string, save_comment,
7775 _cpp_lex_direct): Update to do lookback freely.
7776 (IF_NEXT_IS, BACKUP): New macros.
7777 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
7778 * cppmacro.c (paste_tokens): Update.
7780 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
7782 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
7784 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
7786 * reload1.c (reload): Check CONSTANT_P before calling
7787 LEGITIMATE_PIC_OPERAND_P.
7788 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
7789 workaround of 2001-10-13.
7791 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
7793 * i386.c (split_di): Handle splitting of DFmode.
7795 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7797 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
7798 (adjust_address_1, offset_address): Likewise.
7800 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
7801 (output_asm_insn): Call it for each line output.
7802 Don't record an operand more than once.
7804 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
7805 * main.c: Include config.h and system.h, but not ansidecl.h.
7806 * Makefile.in (main.o): Update accordingly.
7808 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
7810 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
7812 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
7814 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
7815 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
7817 (find_sub_basic_blocks): ... here;
7818 (find_many_sub_basic_blocks): New.
7819 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
7821 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
7823 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
7825 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
7827 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
7828 * flow.c (update_life_info): Measure time.
7829 * c-decl.c: Include timevar.h
7830 (c_expand_body): Measure time.
7831 * toplev.c (rest_of_compilation): Measure time of mode switching
7833 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
7835 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
7836 (lang_independent_options): Add asynchronous-unwind-tables
7837 (toplev_main): flag_asynchronous_unwind_tables implies
7839 * flags.h (flag_asynchronous_unwind_tables): Declare.
7840 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
7841 flag_asynchronous_unwind_tables.
7842 (output_call_frame_info): Likewise.
7843 * invoke.texi (-fasynchronous-unwind-tables): Document.
7844 * i386.c (optimization_options): Enable
7845 flag_asynchronous_unwind_tables.
7847 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
7848 * i386.md (s* expanders): Destination is QImode.
7850 * toplev.c (rest_of_compilation): Do not call clear_log_links.
7851 * rtl.h (clear_log_links): Kill.
7852 * flow.c (clear_log_links): Make static; accept blocks parameter;
7853 do no clear life info.
7854 (update_life_info): Call clear_log_links.
7856 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
7858 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
7860 * cpplex.c (handle_newline, skip_escaped_newlines,
7861 get_effective_char, skip_block_comment, skip_line_comment,
7862 parse_identifier_slow, parse_number, parse_string,
7863 _cpp_lex_direct): Update to do more stepping back.
7864 (trigraph_ok): Similarly. Rename trigraph_p.
7865 (SAVE_STATE, RESTORE_STATE): Remove.
7866 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
7868 * cpplib.c (destringize): Rename destringize_and_run, and
7869 call run_directive directly.
7870 (_cpp_do__Pragma): Simplify.
7872 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7874 * pe.c (arm_pe_unique_section): Const-ify.
7875 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
7876 (switch_to_section): Add static prototype.
7878 * output.h (drectve_section): Prototype.
7880 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7882 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
7883 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
7884 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
7885 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
7886 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7887 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
7888 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
7889 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
7890 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
7891 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
7892 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
7893 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
7894 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
7895 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
7896 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
7897 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
7898 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
7899 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
7900 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
7901 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
7902 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
7903 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
7904 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
7905 cris-*-none, cris-*-linux*: Update ${tmfile} list.
7906 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
7907 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
7908 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
7909 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
7910 v850-*-*): Delete superflous ${cpu_type} setting.
7911 * config/linux.h: Delete svr4.h include.
7912 (SET_ASM_OP): Delete.
7913 * config/netware.h (INT_ASM_OP): Undef before define.
7914 * config/ptx4.h: Delete elfos.h include.
7915 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
7916 * config/svr4.h: Delete elfos.h include. Update commentary.
7917 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
7918 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
7919 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
7920 config/v850/v850.h: Delete svr4.h include.
7921 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
7922 config/m68k/m68kv4.h, config/m88k/sysv4.h,
7923 config/sparc/sysv4.h: Update includes.
7924 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
7925 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
7926 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
7927 config/m88k/dguxbcs.h: Delete includes.
7928 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
7929 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
7930 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
7932 * config/m88k/dgux.h: Delete include.
7933 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
7935 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
7936 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
7937 * config/sh/elf.h: Update include.
7938 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
7939 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
7941 2001-10-19 Catherine Moore <clm@redhat.com>
7943 * config/stormy16/stormy-abi: Updates to varargs descriptions.
7944 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
7945 base and count fields.
7946 (stormy16_expand_builtin_va_start): last_reg_count changed to
7947 size_of_reg_args. Use count + size in first comparison.
7949 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7951 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
7952 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
7953 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
7954 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
7955 Set alignment from type if INDIRECT_REF.
7956 (adjust_address_1, offset_address): Simplify alignment compuitation.
7957 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
7958 here; done by set_mem_attributes.
7960 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7962 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
7963 * arm-protos.h (rdata_section, zero_init_section, common_section):
7965 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
7966 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
7967 traditional mode stringification.
7968 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
7969 in macros controling its use.
7970 * rtlanal.c: Include tm_p.h.
7971 * varasm.c (asm_output_aligned_bss): Mark parameter with
7973 (assemble_constant_align, assemble_start_function, assemble_align,
7974 assemble_variable, assemble_trampoline_template,
7975 output_constant_def_contents): Wrap potentially empty if-stmt body
7978 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7980 * a29k-protos.h (literal_section): Prototype.
7981 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
7982 * a29k.md: Ensure function pointers are prototyped.
7983 * genattrtab.c (write_eligible_delay): Mark parameter with
7986 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7988 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7989 * 1750a.c (print_operand): Fix format specifier warning.
7990 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
7991 * 1750a.md: Likewise.
7992 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
7993 * genemit.c (output_add_clobbers): Mark parameter with
7995 * genrecog.c (write_subroutine): Likewise.
7996 * integrate.c (expand_inline_function): Delete unused variable.
7997 * varasm.c (remove_from_pending_weak_list): Wrap with
8000 2001-10-19 Jakub Jelinek <jakub@redhat.com>
8002 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
8003 field is different to previous argument's neg field.
8005 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
8007 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8009 * final.c (get_decl_from_op): New function.
8010 (output_asm_insn): Call it; write "*" when item with decl is address.
8012 2001-10-19 Janis Johnson <janis187@us.ibm.com>
8014 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
8015 about 64-bit support from the 3.0_branch version.
8017 2001-10-19 Zack Weinberg <zack@codesourcery.com>
8019 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
8020 USE_INCLUDED_LIBINTL when appropriate.
8021 * configure, config.in: Regenerate.
8022 * Makefile.in (datadir): Set to @datadir@.
8023 (intl.o): Also depend on $(CONFIG_H) and system.h.
8025 * intl.c: Factor out common gettext initialization sequence.
8026 (gcc_init_libintl): New function.
8027 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
8028 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
8029 off NLS. Add multiple include guard. No need to #ifdef-guard
8030 an #undef. Prototype gcc_init_libintl here.
8032 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
8033 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
8034 Use gcc_init_libintl.
8036 2001-10-19 Catherine Moore <clm@redhat.com>
8038 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
8040 * config/stormy16/stormy16.c (stormy16_split_move): Make
8041 sure that REG_INC notes are present for auto_inc operands.
8043 2001-10-19 Andreas Jaeger <aj@suse.de>
8045 * configure: Regenerated.
8046 * configure.in: Add x86_64 to switch statements.
8048 2001-10-18 Richard Henderson <rth@redhat.com>
8050 * config/alpha/alpha.md (sibcall_osf_1): Load destination
8051 address into $27 explicitly.
8052 (sibcall_value_osf_1): Likewise.
8054 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8056 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
8057 (offset_address): New function.
8058 (free_emit_status): Free regno_decl.
8059 (init_emit): Pass proper number of elements to xcalloc.
8060 Allocate regno_decl.
8061 (mark_emit_status): Mark regno_decl values.
8062 * expr.c (highest_pow2_factor): New function.
8063 (expand_assigment): Use it and offset_address.
8064 Properly handle ptr_mode vs. Pmode in offset calculation.
8065 (store_constructor, expand_expr_unaligned): Likewise.
8066 (expand_expr, case COMPONENT_EXPR): Likewise.
8067 * expr.h (offset_address): New decl.
8068 * function.h (struct emit_status): Add regno_decl.
8069 (REGNO_DECL): New macro.
8070 * final.c (output_asm_name): Move in file and don't conditionalize
8071 on flag_print_asm_name.
8072 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
8073 Output names of operands, if known.
8074 * function.c (assign_parms): Set REGNO_DECL.
8075 * integrate.c (integrate_decl_tree): Likewise.
8076 * stmt.c (expand_decl): Likewise.
8077 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
8079 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
8081 * attribs.c (handle_noinline_attribute): New function.
8082 (handle_used_attribute): Likewise.
8083 (c_common_attribute_table): Added noinline and used.
8084 * doc/extend.texi (Function Attributes): Document them.
8085 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
8086 Warn when merging inline with attribute noinline.
8087 (start_decl, start_function): Warn if inline and attribute
8088 noinline appear in the same declaration.
8090 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
8092 * config.gcc: Update c4x and i370 for C front end-specific
8094 * config/c4x/c4x-c.c: New.
8095 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
8096 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
8098 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
8099 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
8101 (c4x_init_pragma): Remove.
8102 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
8103 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
8104 c4x_pr_ignored): Move to c4x-c.c.
8105 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
8106 * config/c4x/t-c4x: Update.
8107 * config/i370/i370-c.c: New.
8108 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
8109 (i370_pr_map): Move to i370-c.c.
8110 * config/i370/t-i370: New.
8112 * doc/tm.texi: Update.
8114 2001-10-17 Stan Shebs <shebs@apple.com>
8116 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
8117 typo fixes throughout.
8118 (machopic_output_stub): Remove some dead code.
8120 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
8122 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
8125 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8127 * Makefile.in (print-rtl.o): Depend on TREE_H.
8128 * alias.c (get_alias_set): Make two passes over objects to first
8129 see if inner object is access via restricted pointer.
8130 Defer allocating alias set for restricted pointer until here.
8131 Call find_placeholder with second arg nonzero.
8133 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
8134 set for restricted pointer types.
8135 * emit-rtl.c (set_mem_attributes): Set more attributes.
8136 (set_mem_align, change_address, adjust_address_1): New functions.
8137 (change_address_1): Now static.
8138 (adjust_address, adjust_address_nv): Deleted.
8139 (replace_equiv_address): Call change_address_1.
8140 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
8141 (find_placeholder): Get starting point from PLIST arg.
8142 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
8143 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
8144 (adjust_address, adjust_address_nv): New macros.
8145 * print-rtl.c (tree.h): New include.
8146 (print_rtx, case MEM): Print all memory attributes.
8148 2001-10-17 Richard Henderson <rth@redhat.com>
8150 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
8152 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8154 * c-tree.texi: Eliminate duplicated word.
8155 * cpp.texi: Likewise.
8156 * install.texi: Likewise.
8157 * invoke.texi: Likewise.
8158 * tm.texi: Likewise.
8160 2001-10-17 Michael Collison <collison@isisinc.net>
8162 * dsp16xx.c: Fix comment formatting to match GNU standards.
8163 (dsp16xx_output_function_prologue): Change type of 'size'
8164 parameter from 'int' to HOST_WIDE_INT.
8165 (dsp16xx_output_function_epilogue): Change type of 'size'
8166 parameter from 'int' to HOST_WIDE_INT.
8168 2001-10-16 Richard Henderson <rth@redhat.com>
8170 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
8171 * configure, config.in: Rebuild.
8173 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
8174 (ix86_output_addr_diff_elt): New.
8175 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
8176 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
8177 (JUMP_TABLES_IN_TEXT_SECTION): New.
8178 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
8179 * config/i386/i386-protos.h: Update.
8181 * config/i386/386bsd.h, config/i386/beos-elf.h,
8182 config/i386/freebsd-aout.h, config/i386/freebsd.h,
8183 config/i386/i386-interix.h, config/i386/i386elf.h,
8184 config/i386/linux.h, config/i386/netbsd-elf.h,
8185 config/i386/netbsd.h, config/i386/openbsd.h,
8186 config/i386/ptx4-i.h, config/i386/rtemself.h,
8187 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
8188 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
8190 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
8192 * stmt.c (expand_asm_operands): Update commentary.
8194 2001-10-16 Stan Shebs <shebs@apple.com>
8196 * config/darwin.h (GCC_NAME): Remove, no longer used.
8197 (NO_MATH_LIBRARY): Ditto.
8198 (MATH_LIBRARY): Define to emptiness.
8199 (DWARF2_DEBUGGING_INFO): Define.
8200 (PREFERRED_DEBUGGING_TYPE): Define.
8201 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
8202 (EXCEPTION_SECTION): Define.
8203 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8204 * config/darwin.c (darwin_encode_section_info): Handle case of
8205 DECL_INITIAL being error_mark_node.
8207 2001-10-16 Richard Henderson <rth@redhat.com>
8209 * alpha.c (current_file_function_operand): Don't fail for profiling.
8210 (direct_call_operand): New.
8211 * alpha-protos.h: Declare it.
8212 * alpha.h (EXTRA_CONSTRAINT): Use it.
8213 (PREDICATE_CODES): Add it.
8214 (ASM_OUTPUT_MI_THUNK): Remove.
8215 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
8216 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
8218 2001-10-16 Krister Walfridsson <cato@df.lth.se>
8220 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
8221 (JUMP_TABLES_IN_TEXT_SECTION): Define.
8223 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
8225 * cfg.c (free_edge): Break out from ....
8226 (remove_edge): ... here.
8227 (clear_edges): Use free_edge.
8229 * att.h (ASM_QUAD): Add comment.
8230 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
8232 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
8234 * i386.c (split_ti): New function.
8235 (ix86_split_to_parts): Support TImodes.
8236 * i386.h (VALID_INT_MODE_P): Add TImode.
8237 * i386.md (movdi splitter): Fix.
8238 (movti): Support 64bit integer registers.
8239 (movti_rex64): New function and splitter.
8241 * i386.c (*_cost): Add movsx/movzx cost.
8242 * i386.h (struct processor_costs): Add movsx/movzx fields.
8243 (RTX_COSTS): Handle zero/sign extend + avoid believing that
8244 64bit operations require split on 64bit machine.
8245 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
8247 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
8248 (ix86_expand_move): Avoid pushes of memory if size does not match;
8249 move long constants to register.
8250 (x86_initialize_trampoline): Fix mode.
8251 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
8252 Use ASM_QUAD on 64bit.
8253 * i386.md (test pattern): Disallow impossible constants.
8254 (tablejump PIC expander): Fix emitting of sum.
8255 (movdicc_rex64): Rename to movdicc.
8256 * linux64.h (LINK_SPEC): Add missing '%'.
8258 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
8260 * tree-inline.c (inlinable_function_p): Leave it up to the
8261 front-end to turn -finline-functions into DECL_INLINE set for all
8264 2001-10-16 Stan Shebs <shebs@apple.com>
8266 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
8268 2001-10-16 Alan Modra <amodra@bigpond.net.au>
8270 * recog.c: Formatting and comment typo fixes.
8272 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
8273 version in single tree build.
8274 * configure: Regenerate.
8276 2001-10-15 David Edelsohn <edelsohn@gnu.org>
8278 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
8279 MODE arguments to gen_rtx and compare operand with const0_rtx.
8281 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8283 * system.h: Poison old unused target macros.
8284 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
8285 * config/stormy16/stormy16.c: Update references to obsolete macros.
8286 * config/stormy16/stormy16.h: Similarly.
8287 * config/stormy16/stormy16.md: Similarly.
8288 * config/cris/cris.h: Similarly.
8290 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8292 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
8293 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
8294 cpp_register_pragma): Update accordingly.
8296 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
8298 * c-pragma.h (cpp_register_pragma_space): Remove.
8299 * cpplib.h (cpp_register_pragma_space): Remove.
8300 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
8301 (cpp_register_pragma_space): Remove.
8302 (cpp_register_pragma): Simplify using lookup_pragma_entry,
8304 (do_pragma): Similarly.
8305 (_cpp_init_internal_pragmas): Don't register namespaces.
8307 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
8308 Don't register namespaces.
8309 * cp/lex.c (init_cp_pragma): Similarly.
8310 * doc/tm.texi: Update.
8312 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
8315 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
8317 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
8319 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
8320 add scheduling support.
8321 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
8322 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
8323 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
8326 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
8328 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
8329 missing CONSTANT_P test in core GCC.
8331 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
8333 * cppmain.c (struct printer): New member source.
8334 (scan_translation_unit): Fix spacing at start of lines.
8335 (cb_line_change): Update.
8337 * gcc.dg/cpp/spacing2.c: New test.
8339 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
8341 * config/cris/arit.c: Use __builtin_labs, not abs.
8343 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
8345 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
8346 misplaced sprintf and fprintf argument.
8348 2001-10-12 Zack Weinberg <zack@codesourcery.com>
8350 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
8351 * configure.in, Makefile.in: Take out obsolete check-po logic.
8352 * configure, config.in: Regenerate.
8354 2001-10-12 Ziemowit Laski <zlaski@apple.com>
8356 * objc/objc-act.c (finish_objc): Correct precondition for emitting
8357 symtab declarations.
8359 2001-10-12 Stan Shebs <shebs@apple.com>
8361 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
8362 declarations of arguments and local variables.
8364 2001-10-12 Christopher Faylor <cgf@redhat.com>
8366 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
8367 ENDFILE_SPEC definition.
8369 2001-10-12 Kazu Hirata <kazu@hxi.com>
8371 * gthr-dce.h: Fix comment formatting.
8372 * gthr-posix.h: Likewise.
8373 * gthr-single.h: Likewise.
8374 * gthr-solaris.h: Likewise.
8375 * gthr-vxworks.h: Likewise.
8376 * gthr-win32.h: Likewise.
8378 2001-10-12 Jakub Jelinek <jakub@redhat.com>
8380 * final.c (output_asm_insn): Make sure assembly dialects are
8381 terminated, not nested. Output `|' and `}' characters if they
8382 don't appear inside assembly dialect selection.
8383 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
8384 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
8385 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
8386 strsetsi_rex_1): Add {} braces.
8388 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8390 * toplev.c (compile_file): Ignore return value from yyparse.
8391 Always pop any nested binding levels after yyparse returns.
8393 2001-10-11 Richard Henderson <rth@redhat.com>
8395 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
8397 2001-10-11 Richard Henderson <rth@redhat.com>
8399 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
8400 fall back to add_AT_long_long for large CONST_INT.
8402 2001-10-11 Richard Henderson <rth@redhat.com>
8404 * config/i386/i386.md (setcc splitters): Add four splitters to
8405 simplify compound compares that simplify_comparison can't handle.
8407 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8409 * cpplex.c (digraph_spellings, token_spellings): Make static.
8411 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8413 * unroll.c (loop_iterations): Fixup last patch.
8415 2001-10-11 Richard Henderson <rth@redhat.com>
8417 * rtl.h (REG_VTABLE_REF): New.
8418 * rtl.c (reg_note_name): Add it.
8419 * combine.c (distribute_notes): Handle it.
8420 * final.c (final_scan_insn): Handle it.
8421 * tree.def (VTABLE_REF): New.
8422 * expr.c (expand_expr): Handle it.
8423 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
8424 * output.h: Declare them.
8426 2001-10-11 Richard Henderson <rth@redhat.com>
8428 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
8431 2001-10-11 David Edelsohn <edelsohn@gnu.org>
8433 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
8434 available in 64-bit mode.
8436 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8438 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
8439 cris-*-linux* cases.
8440 * config/cris/cris-protos.h: New file.
8441 * config/cris/cris.c: New file.
8442 * config/cris/cris.h: New file.
8443 * config/cris/cris.md: New file.
8444 * config/cris/linux.h: New file.
8445 * config/cris/aout.h: New file.
8446 * config/cris/arit.c: New file.
8447 * config/cris/cris_abi_symbol.c: New file.
8448 * config/cris/mulsi3.asm: New file.
8449 * config/cris/t-aout: New file.
8450 * config/cris/t-cris: New file.
8451 * config/cris/t-elfmulti: New file.
8452 * config/cris/t-linux: New file.
8453 * doc/invoke.texi: Add CRIS options.
8454 * doc/install.texi (Specific): Add blurb for CRIS.
8456 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
8458 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
8460 * config/float/i32.h: Likewise.
8461 * config/float-i386.h: Likewise.
8462 * config/float-i64.h: Likewise.
8463 * config/float-m68k.h: Likewise.
8464 * config/float-sh.h: Likewise.
8465 * config/float-sparc.h: Likewise.
8467 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8469 * doc/contrib.texi: Add note about CRIS port to my entry.
8471 2001-10-11 Kazu Hirata <kazu@hxi.com>
8473 * basic-block.h: Fix formatting.
8474 * bitmap.h: Likewise.
8475 * cpplib.h: Likewise.
8476 * c-tree.h: Likewise.
8477 * diagnostic.h: Likewise.
8478 * flags.h: Likewise.
8480 * longlong.h: Likewise.
8482 * reload.h: Likewise.
8486 2001-10-10 Richard Henderson <rth@redhat.com>
8488 * c-parse.in (asm_operand): Allow named operands.
8489 * genconfig.c (max_recog_operands): Set to 29.
8490 * local-alloc.c (requires_inout): Skip multiple digits.
8491 * recog.c (asm_operand_ok): Likewise.
8492 (preprocess_constraints): Use strtoul for matching constraints.
8493 (constrain_operands): Likewise.
8494 * regmove.c (find_matches): Likewise.
8495 * reload.c (find_reloads): Likewise.
8496 * stmt.c (parse_output_constraint): Don't reject in-out
8497 constraint on operands > 9. Reject '[' in constraint.
8498 (expand_asm_operands): Handle named operands. Use strtoul
8499 for matching constraints.
8500 (check_operand_nalternatives): Split out from expand_asm_operands.
8501 (check_unique_operand_names): New.
8502 (resolve_operand_names, resolve_operand_name_1): New.
8504 * doc/extend.texi (Extended Asm): Document named operands.
8505 * doc/md.texi (Simple Constraints): Document matching constraints
8508 2001-10-10 Richard Henderson <rth@redhat.com>
8510 * combine.c (try_combine): Handle a SEQUENCE of one insn.
8512 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
8513 (jcc splitters): Add two splitters to simplify compound compares
8514 that simplify_comparison can't handle.
8516 2001-10-10 Richard Henderson <rth@redhat.com>
8518 * langhooks.c: Include langhooks.h.
8519 * Makefile.in (langhooks.o): Depend on it.
8521 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
8523 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
8524 should not be considered as a no-op.
8525 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
8527 2001-10-10 Stan Shebs <shebs@apple.com>
8529 * alias.c: Remove uses of "register" specifier in declarations
8530 of arguments and local variables.
8531 * c-common.c: Ditto.
8532 * c-convert.c: Ditto.
8534 * c-format.c: Ditto.
8535 * c-semantics.c: Ditto.
8536 * c-typeck.c: Ditto.
8537 * caller-save.c: Ditto.
8540 * cfgbuild.c: Ditto.
8542 * collect2.c: Ditto.
8546 * cppfiles.c: Ditto.
8549 * defaults.h: Ditto.
8551 * dwarf2out.c: Ditto.
8552 * dwarfout.c: Ditto.
8553 * emit-rtl.c: Ditto.
8558 * fix-header.c: Ditto.
8559 * floatlib.c: Ditto.
8561 * fold-const.c: Ditto.
8562 * function.c: Ditto.
8565 * gen-protos.c: Ditto.
8566 * genattrtab.c: Ditto.
8567 * gencheck.c: Ditto.
8568 * genconfig.c: Ditto.
8570 * genextract.c: Ditto.
8571 * genflags.c: Ditto.
8572 * gengenrtl.c: Ditto.
8573 * genoutput.c: Ditto.
8575 * genrecog.c: Ditto.
8576 * gensupport.c: Ditto.
8580 * haifa-sched.c: Ditto.
8581 * hard-reg-set.h: Ditto.
8583 * integrate.c: Ditto.
8586 * local-alloc.c: Ditto.
8588 * mips-tdump.c: Ditto.
8589 * mips-tfile.c: Ditto.
8592 * print-rtl.c: Ditto.
8593 * read-rtl.c: Ditto.
8596 * reg-stack.c: Ditto.
8597 * regclass.c: Ditto.
8602 * resource.c: Ditto.
8606 * sched-deps.c: Ditto.
8607 * sched-rgn.c: Ditto.
8609 * simplify-rtx.c: Ditto.
8611 * stor-layout.c: Ditto.
8618 * xcoffout.c: Ditto.
8620 2001-10-10 Richard Henderson <rth@redhat.com>
8622 * rtl.h (can_reverse_comparison_p): Remove.
8624 2001-10-10 Christopher Faylor <cgf@redhat.com>
8626 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
8629 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8631 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
8632 (Thanks to Chris Faylor for suggesting macro name).
8633 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
8635 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
8636 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
8637 (MATH_LIBRARY): Undef before definition.
8638 (OUTPUT_QUOTED_STRING): Likewise.
8639 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
8641 2001-10-10 Richard Henderson <rth@redhat.com>
8643 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
8644 (fde_unencoded_compare): Likewise. Don't use subtraction to get
8645 a tristate comparison value.
8646 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
8648 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8651 * unroll.c (loop_iterations): Ignore insns generated by loop
8654 * config.gcc (mips*-*-gnu*): Delete support.
8655 * config/mips/gnu.h: Remove.
8657 2001-10-10 Kazu Hirata <kazu@hxi.com>
8659 * calls.c: Fix formatting.
8660 * c-decl.c: Likewise.
8661 * cfgcleanup.c: Likewise.
8662 * combine.c: Likewise.
8663 * cppfiles.c: Likewise.
8664 * cpplib.c: Likewise.
8665 * cppmacro.c: Likewise.
8666 * crtstuff.c: Likewise.
8668 * dwarf2out.c: Likewise.
8669 * expmed.c: Likewise.
8671 * fold-const.c: Likewise.
8672 * function.c: Likewise.
8674 * genattrtab.c: Likewise.
8675 * ggc-page.c: Likewise.
8676 * integrate.c: Likewise.
8677 * libgcc2.c: Likewise.
8679 * optabs.c: Likewise.
8680 * profile.c: Likewise.
8681 * protoize.c: Likewise.
8683 * recog.c: Likewise.
8684 * reload1.c: Likewise.
8685 * reload.c: Likewise.
8686 * reorg.c: Likewise.
8687 * resource.c: Likewise.
8688 * sched-rgn.c: Likewise.
8689 * sdbout.c: Likewise.
8691 * toplev.c: Likewise.
8692 * varasm.c: Likewise.
8694 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
8696 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
8697 * Makefile.in (langhooks.o): Add dependencies.
8699 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
8701 * rs6000.c (rs6000_emit_load_toc_table): Don't
8702 strdup the toc label.
8703 (create_TOC_reference): Likewise.
8705 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8707 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
8710 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8712 * config/i386/i386.c (ix86_attribute_table): Correct
8713 min_len, max_len fields for dllimport, dllexport and shared.
8715 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
8717 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
8718 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
8719 Consistently use "nonzero" instead of "non-zero".
8721 2001-10-09 Kazu Hirata <kazu@hxi.com>
8723 * acconfig.h: Fix comment formatting.
8724 * c-dump.h: Likewise.
8725 * c-tree.h: Likewise.
8726 * conditions.h: Likewise.
8728 * function.h: Likewise.
8730 * hwint.h: Likewise.
8731 * integrate.h: Likewise.
8734 * optabs.h: Likewise.
8736 2001-10-09 Kazu Hirata <kazu@hxi.com>
8738 * c-common.h: Fix comment formatting.
8739 * c-dump.c: Likewise.
8741 * diagnostic.h: Likewise.
8742 * except.c: Likewise.
8744 * gcov-io.h: Likewise.
8745 * genattrtab.c: Likewise.
8746 * output.h: Likewise.
8747 * predict.h: Likewise.
8748 * reload1.c: Likewise.
8749 * reload.h: Likewise.
8750 * resource.h: Likewise.
8752 * system.h: Likewise.
8754 * tree-inline.c: Likewise.
8755 * tsystem.h: Likewise.
8756 * varasm.c: Likewise.
8757 * xcoffout.h: Likewise.
8759 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8761 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
8763 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8765 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
8766 config/i386/i386elf.h, config/i386/netbsd-elf.h,
8767 config/i386/netware.h, config/mcore/gfloat.h,
8768 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
8769 config/netware.h, gccbug.in: Update FSF address.
8771 2001-10-09 Kazu Hirata <kazu@hxi.com>
8773 * c-common.c: Fix comment typos.
8774 * cfgrtl.c: Likewise.
8775 * collect2.c: Likewise.
8776 * cpplex.c: Likewise.
8777 * doloop.c: Likewise.
8778 * dwarf2out.c: Likewise.
8779 * dwarfout.c: Likewise.
8781 * fold-const.c: Likewise.
8785 * global.c: Likewise.
8786 * ifcvt.c: Likewise.
8788 * optabs.c: Likewise.
8789 * protoize.c: Likewise.
8790 * regclass.c: Likewise.
8791 * reorg.c: Likewise.
8795 * doc/cpp.texi: Likewise.
8796 * doc/c-tree.texi: Likewise.
8797 * doc/extend.texi: Likewise.
8798 * doc/invoke.texi: Likewise.
8799 * doc/objc.texi: Likewise.
8800 * doc/tm.texi: Likewise.
8802 2001-10-08 Richard Henderson <rth@redhat.com>
8804 * varasm.c (set_named_section_flags): Initialize "declared".
8806 2001-10-08 Robert Lipe <robertlipe@usa.net>
8808 * varasm.c (struct in_named_entry): Add declared.
8809 (named_section_first_declaration): New function.
8810 (default_elf_asm_named_section): Use it.
8811 * output.h (named_section_first_declaration): New.
8813 2001-10-08 Richard Henderson <rth@redhat.com>
8815 * i386.md (movsi_xor): Export.
8816 (setcc peep2): Use it when available; add an alternative to
8817 match zero_extendhisi2_and.
8819 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8821 * romp-protos.h (romp_initialize_trampoline): New function.
8822 * romp.c (romp_initialize_trampoline): Likewise.
8823 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
8824 romp_initialize_trampoline.
8826 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8828 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
8829 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8830 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8831 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8833 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8835 * unroll.c (loop_iterations): Extend check for multiple back edges.
8837 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
8839 * langhooks.h: New file.
8840 * Makefile.in (OBJS): Added langhooks.o.
8841 (c-lang.o): Depend on langhooks.h.
8842 (c-common.o): Don't depend on tree-inline.h.
8843 (tree-inline.o): Depend on toplev.h.
8844 (langhooks.o): New rule.
8845 * c-common.c: Don't include tree-inline.h.
8846 (c_mark_lang_decl): Mark argument c as unused.
8847 (c_common_lang_init): Don't initialize hooks here.
8848 * c-lang.c: Include langhooks.h, then override some macros.
8849 (lang_hooks): Initialize with macros in langhooks.h.
8850 (c_init): Don't initialize hooks here.
8851 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
8852 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
8853 * tree-inline.c: Include toplev.h. Don't define hook variables.
8854 * tree-inline.h: Don't define hook types nor declare hook
8855 variables. Move macros to...
8856 * langhooks.c: ... new file, as functions. Adjust all callers.
8858 2001-10-08 Jeffrey A Law <law@cygnus.com>
8860 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
8861 purge_mem_unchanging_flag on all instructions, not just on those
8862 before NOTE_INSN_FUNCTION_BEG.
8864 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8866 * cppmacro.c (_cpp_create_definition): Leave comments off.
8868 * doc/cpp.texi: Update.
8870 2001-10-08 DJ Delorie <dj@redhat.com>
8872 * c-decl.c (grokfield): Make sure the only unnamed fields
8873 we're allowing are either structs or unions.
8874 * doc/extend.texi: Add documentation for the unnamed field
8877 2001-10-08 Zack Weinberg <zack@codesourcery.com>
8879 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
8880 * configure.in: Use it.
8881 * configure: Regenerated.
8882 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
8883 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
8885 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8887 * cppfiles.c (open_file): Don't mark zero-length files
8888 never-reread here. Don't output diagnostics here either.
8889 (stack_include_file): Mark them never-reread here.
8890 (_cpp_read_file): Update.
8892 2001-10-08 Richard Henderson <rth@redhat.com>
8894 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
8896 2001-10-08 Richard Henderson <rth@redhat.com>
8898 * expr.c (store_expr): When converting a CONST_INT for storage
8899 in a SUBREG, convert it to both SUBREG modes before stripping
8902 2001-10-08 Richard Henderson <rth@redhat.com>
8904 * varasm.c (restore_varasm_status): New.
8905 * function.h: Declare it.
8906 * function.c (pop_function_context_from): Call it.
8908 2001-10-08 Richard Henderson <rth@redhat.com>
8910 * c-common.h (struct c_lang_decl): Add declared_inline.
8911 * c-tree.h (DECL_DECLARED_INLINE_P): New.
8912 * c-lang.c (c_disregard_inline_limits): Use it.
8913 * c-decl.c (duplicate_decls): Likewise.
8914 (pushdecl, redeclaration_error_message): Likewise.
8915 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
8916 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
8917 Set DECL_INLINE if -finline-functions.
8918 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
8920 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8922 * cppmacro.c (funlike_invocation_p): Move some logic to caller
8923 in enter_macro_context. Create a padding token in its own context
8924 if necessary when the search for '(' fails.
8925 (enter_macro_context): Update.
8927 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
8929 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
8930 genmultilib, toplev.c: Fix spelling errors of "separate" as
8931 "seperate", and corresponding spelling errors of related words.
8933 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8935 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
8936 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
8938 * c-dump.c (dump_option_value_info): Likewise.
8939 * c-format.c (format_length_info, format_char_info,
8940 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
8941 * collect2.c (names): Likewise.
8942 * cppdefault.h (default_include): Likewise.
8943 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
8944 * flow.c (life_analysis): Likewise.
8945 * gcc.c (dir_separator_str, modify_target, option_map,
8946 target_option_translations, spec_list_1, extra_specs_1,
8947 init_spec): Likewise.
8948 * gcov.c (gcov_version_string): Likewise.
8949 * genattr.c (write_units): Likewise.
8950 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
8951 * gengenrtl.c (rtx_definition, defs): Likewise.
8952 * genrecog.c (pred_table): Likewise.
8953 * global.c (global_alloc): Likewise.
8954 * lcm.c (optimize_mode_switching): Likewise.
8955 * local-alloc.c (find_free_reg): Likewise.
8956 * params.h (param_info): Likewise.
8957 * predict.c (predictor_info): Likewise.
8958 * protoize.c (unexpansion_struct): Likewise.
8959 * real.c (bmask): Likewise.
8960 * recog.h (insn_operand_data, insn_data): Likewise.
8961 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
8962 * stmt.c (expand_nl_goto_receiver): Likewise.
8963 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
8964 target_switches, target_options): Likewise.
8965 * tradcif.y (token, tokentab2, yylex): Likewise.
8966 * tree.h (attribute_spec): Likewise.
8968 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
8970 * arc.c (arc_output_function_epilogue): Likewise.
8971 * arm.c (processors, all_cores, all_architectures,
8972 arm_override_options, isr_attribute_arg, isr_attribute_args,
8973 arm_isr_value): Likewise.
8974 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
8976 * c4x.c (c4x_int_reglist): Likewise.
8977 * d30v.c (override_options): Likewise.
8978 * h8300.c (shift_insn): Likewise.
8979 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
8980 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
8981 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
8982 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
8983 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
8984 * i386.h (processor_costs, ix86_cost): Likewise.
8985 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
8986 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
8987 * m68k.c (codes_68881, codes_FPA): Likewise.
8988 * m88k.c (mode_from_align, max_from_align, all_from_align,
8989 best_from_align, m_options): Likewise.
8990 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
8991 * mcore.c (mode_from_align): Likewise.
8992 * mips/elf64.h (UNIQUE_SECTION): Likewise.
8993 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
8994 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
8995 * mips.h (mips_regno_to_class): Likewise.
8996 * ns32k.c (scales): Likewise.
8997 * pa.c (import_string, magic_milli): Likewise.
8998 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
8999 * sparc.c (leaf_reg_remap, sparc_override_options,
9000 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
9002 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
9004 2001-10-07 Dale Johannesen <dalej@apple.com>
9006 * reload1.c (reload_reg_free_p): Teach register interference
9007 checking that multiple output reloads are emitted in
9009 reload1.c (reload_reg_reaches_end_p): Ditto.
9010 reload1.c (reloads_conflict): Ditto.
9012 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
9014 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
9015 NULL_TREE inside @code.
9017 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
9019 * doc/gcc.texi: Document consistent style of "32-bit",
9020 "Objective-C", and "@code{NULL}".
9022 2001-10-06 Zack Weinberg <zack@codesourcery.com>
9024 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
9025 (cpp_token_len, cpp_spell_token, cpp_output_token,
9026 _cpp_equiv_tokens): Handle it.
9027 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
9028 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
9029 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
9032 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9034 * gcc.c (default_compilers): Remove .ada.
9036 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
9038 * doc/cppinternals.texi: Update.
9040 2001-10-06 Zack Weinberg <zack@codesourcery.com>
9042 * gcc.c (main): Set this_file_error if the appropriate
9043 compiler for a language has not been installed.
9045 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
9047 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
9049 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
9051 * gccbug.in (CATEGORIES): Add ada.
9053 2001-10-05 Catherine Moore <clm@redhat.com>
9055 * config/stormy16/stormy-abi: Document abi changes.
9056 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
9057 (ICALL_REGS): New register class.
9058 (NUM_ARGUMENT_REGISTERS): Now 6.
9059 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
9061 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
9062 * config/stormy16.md (call_internal, call_value_internal,
9063 indirect_jump): Use new 'z' constraint.
9065 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
9067 * doc/cppinternals.texi: Update.
9069 2001-10-05 Richard Henderson <rth@redhat.com>
9071 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
9072 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
9073 the gas section-name-as-label feature.
9075 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
9077 * doc/cppinternals.texi: Update.
9079 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9081 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
9082 to ensure valid SImode constants.
9084 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
9086 * Makefile.in (c-decl.o): Depend on tree-inline.h.
9087 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
9088 * c-decl.c: Include tree-inline.h.
9089 (c_expand_body): Call optimize_inline_calls. Determine whether
9090 a function is inlinable upfront, and only clear
9091 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
9092 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
9093 (c_disregard_inline_limits): New function.
9094 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
9095 (c_post_options): Enable tree inlining if inlining is enabled.
9096 Don't inline trees when instrumenting functions.
9097 (c_init): Initialize lang_disregard_inline_limits and
9098 lang_cannot_inline_tree_fn.
9099 * tree-inline.c (initialize_inlined_parameters): Handle calls
9100 with fewer arguments than declared parameters, and fewer
9101 parameters than passed arguments. Don't assume value is a
9103 (declare_return_variable): Convert return value back to the
9104 original type, if it was promoted.
9105 (tree_inlinable_function_p): New function.
9106 (inlinable_function_p): Don't look at DECL_INLINE if we're
9107 inlining all functions. Make it work with a NULL id.
9108 Re-check DECL_UNINLINABLE after language-specific checks.
9109 * tree-inline.h (tree_inlinable_function_p): Declare it.
9110 * integrate.c (save_for_inline): Don't bother to prepare argvec
9112 * cse.c (check_for_label_ref): Don't check deleted labels.
9114 * Makefile.in (tree-inline.o): Depend on newly-included headers.
9115 * tree-inline.c: Include headers needed for the functions moved in.
9116 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
9117 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
9118 (copy_body, initialize_inlined_parameters): Likewise.
9119 (declare_return_variable, inlinable_function_p): Likewise.
9120 (expand_call_inline, expand_calls_inline): Likewise.
9121 (optimize_inline_calls, clone_body): Likewise.
9122 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
9123 (copy_tree_r, remap_save_expr): Likewise.
9125 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
9127 * Makefile.in (OBJS): Added tree-inline.o.
9128 (c-common.o): Depend on tree-inline.h.
9129 (tree-inline.o): New target.
9130 * c-common.c: Include tree-inline.h.
9131 (c_mark_lang_decl): Don't mark saved_tree.
9132 (c_common_lang_init): Set lang_anon_aggr_type_p.
9133 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
9134 (struct c_lang_decl): Moved saved_tree to tree_decl.
9135 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
9136 * integrate.h (function_attribute_inlinable_p): Declare it.
9137 * integrate.c (function_attribute_inlinable_p): Export it.
9138 * tree-inline.c: New file. Define variables declared in...
9139 * tree-inline.h: New file. Declare functions to be moved to
9140 tree-inline.c. Define macros and declare types and hooks for
9141 language-specific tree inlining.
9142 (flag_inline_trees): Moved definition from cp/decl2.c.
9143 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
9144 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
9145 (struct tree_decl): Moved saved_tree from c_lang_decl and
9146 inlined_fns from C++'s lang_decl.
9148 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
9150 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
9151 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
9153 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
9155 * doc/cppinternals.texi: Update.
9157 2001-10-04 Eric Christopher <echristo@redhat.com>
9159 * config/mips/mips.c (init_cumulative_args): Remember to set
9161 * config.gcc: Redo linux configuration. Add target_cpu_default
9162 of soft-float to all mipsisa32 combinations and tx39.
9163 * config/mips/linux.h: Remove include of mips.h.
9165 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
9167 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
9168 HOST_LDFLAGS and HOST_CPPFLAGS.
9170 2001-10-03 Ziemowit Laski <zlaski@apple.com>
9172 * c-parse.in (objc_inherit_code, objc_pq_context,
9173 objc_public_flag): Make static.
9174 (objc_interface_context, objc_implementation_context,
9175 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
9176 global tree array in objc/objc-act.[ch].
9177 (methoddef): Remove unnecessary code.
9179 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
9180 Hoist struct definitions to objc-act.h.
9181 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
9182 cat_count): Place declaration in objc-act.h.
9183 (objc_tree_index): Move enumeration to objc-act.h.
9184 (objc_global_trees): Place declaration and macro accessors in
9186 (implementation_context): Remove duplicate; use
9187 objc_implementation_context instead:
9188 (method_context): Remove duplicate; use objc_method_context
9190 (objc_ellipsis_node, objc_method_prototype_template,
9191 implemented_classes, function_type): Move global vars to
9193 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
9194 (build_message_expr): Move actual construction of ObjC message
9195 send nodes to finish_message_expr.
9196 (finish_message_expr): New routine, contains code formerly in
9198 * objc/objc-act.h (finish_message_expr): New prototype.
9199 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
9200 declarations; these vars are now part of objc_global_trees.
9201 (objc_tree_index, objc_global_trees): Move definitions from
9203 * objc/objc-tree.def: Update copyright info.
9205 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
9207 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
9209 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
9210 only if TARGET_ARCH64.
9212 2001-10-02 Bernd Schmidt <bernds@redhat.com>
9214 * doc/extend.texi: Fix some problems with previous checkin.
9215 * doc/invoke.texi: Likewise.
9217 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
9219 * cpphash.h: Update comments.
9220 (cpp_context): Update.
9221 (spec_nodes): Remove n__Pragma.
9222 * cppinit.c (cpp_create_reader): Update.
9223 (builtin_array): Add _Pragma.
9224 * cpplib.h: Update comments.
9225 (NODE_DISABLED, BT_PRAGMA): New.
9226 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
9227 * cppmacro.c (struct cpp_macro): Remove disabled.
9228 (builtin_macro): Return int, handle _Pragma, push the new token
9229 on the context stack.
9230 (funlike_invocation_p): Unconstify, update.
9231 (enter_macro_context): Handle builtins here.
9232 (replace_args, push_token_context, push_ptoken_context):
9233 Update for prototype changes.
9234 (_cpp_pop_context): Update.
9235 (cpp_get_token): Don't handle buitins, nor _Pragma here.
9236 (cpp_sys_macro_p): Update.
9237 (_cpp_free_definition): Clear disabled flag.
9238 (_cpp_create_definition): Upate.
9239 * cppmain.c: Update comments.
9241 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
9242 Andreas Jaeger <aj@suse.de>,
9243 Jan Hubicka <jh@suse.cz>
9245 * doc/invoke.texi (i386 Options): Document x86-64 options.
9246 (i386 and x86-64 Options): Rename i386 options section.
9248 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
9249 (TARGET_SWITCHES): Add -munwind-info.
9250 (MASK_NO_UNWIND_INFO): New.
9251 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
9253 (ASM_OUTPUT_DOUBLE_INT): New.
9255 * config/i386/linux64.h: New spec file for Linux x86-64 support.
9256 * config.gcc: Fix tm_file settings for x86-64.
9257 * config/i386/x86-64.h: New file with OS independent x86-64
9259 * config/i386/biarch64.h: New file used to configure compiler
9260 to biarch/64bit compilation.
9262 * config/i386/i386.c: (override_options): Set flags default
9263 for 64bit compilation.
9265 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
9267 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
9268 (ix86_expand_int_movcc): Optimize DImode conditional moves with
9269 constants on x86_64.
9270 (ix86_attr_length_immediate_default): Support MODE_DI.
9271 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
9273 (indirect_jump, tablejump): Turn into expander.
9275 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9277 * c-common.c (c_format_attribute_table): Make format and
9278 format_arg attributes apply to function types rather than to
9280 (is_valid_printf_arglist): Construct an attribute list and pass
9281 that to check_function_format rather than a name.
9282 * c-common.h (check_function_format): Adjust prototype.
9283 * c-decl.c (duplicate_decls): Preserve attributes from type of
9284 built-in decl when allowing for harmless conflict in types.
9285 * c-format.c (record_function_format,
9286 record_international_format, function_format_list,
9287 international_format_info, international_format_list): Remove.
9288 (function_format_info): Remove next, name and assembler_name.
9289 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
9290 (decode_format_attr): New.
9291 (handle_format_attribute): Handle receiving a type rather than a
9292 decl. Call decode_format_attr. Store format information in a
9293 function_format_info.
9294 (handle_format_arg_attribute): Correct comment. Handle receiving
9295 a type rather than a decl. Use unsigned HOST_WIDE_INT for
9297 (check_format_info_recurse, check_format_info_main): Take argument
9298 numbers as unsigned HOST_WIDE_INT.
9299 (check_function_format): Take a list of attributes from the
9300 function type rather than a name or assembler name. Check for
9301 format attributes in that list and the attributes on the type of
9302 the current function rather than looking through
9303 function_format_list.
9304 (check_format_info): Use unsigned HOST_WIDE_INT for argument
9306 (check_format_info_recurse): Take format_arg attributes from the
9307 type of the function calls rather than using
9308 international_format_list. Allow for multiple format_arg
9310 * c-typeck.c (build_function_call): Pass type attributes to
9311 check_function_format rather than name or assembler name. Don't
9312 require there to be a name or assembler name to check formats.
9314 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9316 * attribs.c (decl_attributes): Possibly call
9317 insert_default_attributes to insert default attributes on
9318 functions in a lazy manner.
9319 * builtin-attrs.def: New file; define the default format and
9320 format_arg attributes.
9321 * c-common.c (c_format_attribute_table): Move to earlier in the
9323 (c_common_nodes_and_builtins): Initialize format_attribute_table.
9324 (enum built_in_attribute, built_in_attributes,
9325 c_attrs_initialized, c_init_attributes,
9326 c_common_insert_default_attributes): New.
9327 (c_common_lang_init): Don't initialize format_attribute_table. Do
9328 call c_init_attributes.
9329 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
9330 * c-common.h (init_function_format_info): Don't declare.
9331 (c_common_insert_default_attributes): Declare.
9332 * c-decl.c (implicitly_declare, builtin_function): Call
9334 (init_decl_processing): Don't call init_function_format_info.
9335 (insert_default_attributes): New.
9336 * c-format.c (handle_format_attribute,
9337 handle_format_arg_attribute): Be quiet about inappropriate
9338 declaration when applying default attributes.
9339 (init_function_format_info): Remove.
9340 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
9341 (insert_default_attributes): Declare.
9343 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9345 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
9347 2001-10-01 Jim Wilson <wilson@redhat.com>
9349 * sched-deps.c (add_dependence): When elide conditional dependence,
9350 check that insn doesn't modify cond2.
9352 2001-10-01 Dale Johannesen <dalej@apple.com>
9354 * config/rs6000/rs6000.h (enum processor_type): Add support
9355 for 7400 (G4) and 7450.
9357 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
9358 (rs6000_issue_rate): Ditto.
9359 (rs6000_adjust_cost): Fix cycle counts for compares.
9360 (debug_stack_info): Fix an obvious typo.
9361 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
9362 * doc/invoke.texi: Document.
9363 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
9365 (PROCESSOR_DEFAULT): Ditto.
9367 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
9369 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
9370 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
9371 later recursive make invocation.
9373 2001-10-01 Hans Boehm <boehm@acm.org>
9375 * optabs.c (emit_libcall_block): When using non-call exceptions,
9376 don't add REG_LIBCALL reg notes to trapping calls.
9378 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9380 * flow.c (propagate_block_delete_libcall): Remove unused first arg
9381 (propagate_one_insn): Update for above change
9383 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9385 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
9386 _Unwind_GetTextRelBase): Argument is unused.
9388 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9390 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
9391 Loop through NOPs, placeholders, and components.
9392 Don't go through NOPs if change mode.
9393 (record_alias_subset): Do nothing if SUBSET and SET are the same.
9394 * emit-rtl.c (set_mem_alias_set): Enable check.
9395 * expr.c (find_placeholder): New function.
9396 (expand_expr, case PLACEHOLDER_EXPR): Use it.
9397 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
9398 to modify it and avoid unneeded copies.
9399 * expr.h (expand_expr): Always define.
9400 (find_placeholder): New declaration.
9402 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9404 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
9405 operand 2 is the stack pointer.
9406 ("addr-peephole"): Fix address computation peephole when operand 2
9407 is the stack pointer.
9409 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9411 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
9412 (ix86_setup_incoming_varargs): Likewise.
9414 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
9416 * stor-layout.c (layout_type): Don't complain about too-large
9419 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9421 * function.c (keep_stack_depressed): Don't use delete_insn.
9423 * expr.h (set_mem_alias_set): Move decl to here.
9424 * rtl.h (mem_attrs): New typedef and struct.
9425 (union rtunion_def): Add field for mem_attrs.
9426 (X0MEMATTR, MEM_ATTRS): New macros.
9427 (MEM_ALIAS_SET): Use MEM_ATTRS.
9428 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
9429 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
9430 (set_mem_alias_set): Delete decl from here.
9432 * alias.c (set_mem_alias_set): Delete from here.
9433 * emit-rtl.c (mem_attrs_htab): New variable.
9434 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
9435 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
9436 (mem_attrs_mark, get_mem_attrs): Likewise.
9437 (gen_rtx_MEM): Clear MEM_ATTRS.
9438 (set_mem_attributes): Move to here.
9439 (set_mem_alias_set): Likewise, and call get_mem_attrs.
9440 (init_emit_once): const_int_htab now deletable htab.
9441 Initialize mem_attrs_htab.
9442 * explow.c (set_mem_attributes): Delete from here.
9443 * function.c (put_var_into_stack): Clear MEM_ATTRS.
9444 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
9445 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
9446 * reload1.c (reload): Rework changing REG to MEM.
9448 2001-09-30 H.J. Lu <hjl@gnu.org>
9450 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
9451 * config.in: Rebuild.
9453 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9455 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
9456 ("tsthi_1"): Avoid allocation in register y.
9457 ("*movqi_68hc12"): Reorganize and fix constraints.
9458 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
9459 ("addqi3"): Likewise.
9460 ("addhi3"): Fix constraints.
9461 ("*logicalhi3_zexthi"): Disparage soft registers.
9463 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9465 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
9468 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9470 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
9471 that we use setjmp/longjmp exceptions.
9473 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
9475 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
9476 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
9477 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9478 _cpp_pool_alloc, _cpp_next_chunk): Remove.
9479 (_cpp_extend_buff, BUFF_ROOM): Update.
9480 (_cpp_append_extend_buff): New.
9481 (struct cpp_reader): Remove macro_pool, add a_buff.
9482 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
9484 (cpp_destroy): Free a_buff instead of macro_pool.
9485 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
9486 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9487 _cpp_pool_alloc, ): Remove.
9488 (parse_number, parse_string): Update use of _cpp_extend_buff.
9489 (_cpp_extend_buff): Update.
9490 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
9491 * cpplib.c (glue_header_name, parse_answer):
9492 Update use of _cpp_extend_buff.
9493 (cpp_register_pragma, cpp_register_pragma_space): Use
9495 (do_assert, do_unassert): Check for EOL, update.
9496 * cppmacro.c (stringify_arg, collect_args): Update to use
9497 _cpp_extend_buff and _cpp_append_extend_buff.
9498 (save_parameter, parse_params, alloc_expansion_token,
9499 _cpp_create_definition): Rework memory management.
9501 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
9503 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
9504 update md_exec_prefix.
9505 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
9508 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
9510 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
9511 (SELECT_CC_MODE): Use s390_select_ccmode.
9512 * config/s390/s390-protos.h (s390_select_ccmode): Add.
9513 * config/s390/s390.c (s390_select_ccmode): New.
9514 (s390_match_ccmode): Add CCLmode.
9515 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
9516 (output_branch_condition, output_inverse_branch_condition): Removed.
9517 (print_operand): Use s390_branch_condition_mnemonic.
9518 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
9519 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
9520 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
9522 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
9523 when converting conditional branches to far branches.
9524 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
9525 cmpint_di): Use CCSmode instead of CCUmode.
9527 * config/s390/s390.c (legitimate_la_operand_p): New.
9528 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
9529 * config/s390/s390.md (movsi): Convert load address patterns to
9530 arithmetic operations when necessary.
9531 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
9532 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
9533 (*do_la_reg_0): Don't use before reload.
9535 * config/s390/s390.c (legitimize_address): Make more efficient
9536 use of two-register addressing mode.
9538 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
9539 with -mno-backchain in some corner cases.
9541 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
9543 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
9545 * reload.c (find_reloads): Mark new USE insns with QImode.
9546 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
9547 find_reloads_subreg_address): Likewise.
9548 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
9550 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
9552 (reload): Make sure there are no USEs with mode other than
9553 VOIDmode. At the end, remove those marked with QImode.
9555 2001-09-29 Per Bothner <per@bothner.com>
9557 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
9558 * Makefile.in (includedir): Rename to local_includedir.
9559 (includedir): Define as $(prefix)/include.
9560 * config.in (PREFIX_INCLUDE_DIR): New variable.
9561 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
9563 2001-09-29 Bernd Schmidt <bernds@redhat.com>
9565 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
9567 * doc/extend.texi (Vector Extensions): New node.
9568 * doc/invoke.texi (Machine Dependent Options): Add documentation for
9569 i386 -mmmx, -msse, -m3dnow.
9571 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9573 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
9575 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
9577 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
9579 * doc/invoke.texi (Optimize Options): Delete spurious @table.
9581 2001-09-28 Richard Henderson <rth@redhat.com>
9583 * varasm.c (assemble_integer): Bound alignment check by
9586 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
9588 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9590 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
9592 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9594 Mostly from Graham Stott <grahams@redhat.com>
9595 * c-common.c (type_for_mode): Add support for V2SFmode.
9596 * tree.c (build_common_tree_nodes_2): Likewise.
9597 * tree.h (enum tree_index, global_trees): Likewise.
9598 * config/i386/i386.c (x86_3dnow_a): New variable.
9599 (override_options): Support 3Dnow extensions.
9600 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
9601 Athlon's version of 3Dnow.
9602 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
9603 (ix86_expand_builtin): Handle them.
9604 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
9605 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
9606 TARGET_3DNOW_A): New macros.
9607 (TARGET_SWITCHES): Add 3Dnow switches.
9608 (VALID_MMX_REG_MODE_3DNOW): New macro.
9609 (VECTOR_MODE_SUPPORTED_P): Use it.
9610 (enum ix86_builtins): Add entries for 3Dnow builtins.
9611 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
9612 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
9613 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
9614 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
9615 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
9616 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
9617 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
9618 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
9619 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
9620 sfence_insn, prefetch): Make these available if TARGET_SSE or
9623 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
9625 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
9626 ix86_va_start, ix86_build_va_list): Declare.
9627 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
9628 ix86_va_start, ix86_build_va_list): New global functions.
9629 * i386.md (sse_prologue_save_insn): New insn.
9630 (sse_prologue_save): New expander.
9631 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
9632 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
9634 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9636 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
9637 Use size_t everywhere, make definitions consistent with
9640 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
9642 * gcse.c (replace_store_insn): Use delete_insn.
9643 * loop.c (move_movables): Likewise; avoid delete_insn
9644 from clobbering notes moved elsewhere.
9645 (check_dbra_loop): Use delete_insn.
9646 * ssa.c (convert_from_ssa): Likewise.
9647 * cse.c (cse_insn): Use delete_insn.
9649 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9651 * cpphash.h (struct cpp_buff): Make unsigned.
9652 (_cpp_get_buff): Take length of size_t.
9653 (_cpp_unaligned_alloc): New.
9654 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
9655 (struct cpp_reader): Remove ident_pool. Add u_buff.
9656 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
9657 (cpp_destroy): Destroy u_buff, not ident_pool.
9658 * cpplex.c (parse_number, parse_string, save_comment,
9659 cpp_token_as_text): Update to use the unaligned buffer.
9660 (new_buff): Make unsigned.
9661 (_cpp_unaligned_alloc): New.
9662 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
9663 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
9665 (collect_args): Make unsigned.
9667 2001-09-27 Zack Weinberg <zack@codesourcery.com>
9669 * cpplex.c (cpp_output_token): Use a putc loop for
9670 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
9672 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
9673 * configure, config.in: Regenerate.
9674 * system.h: Replace fwrite and fprintf with their unlocked
9675 variants if available.
9677 2001-09-27 Richard Henderson <rth@redhat.com>
9679 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
9680 in favour of .eh_frame.
9682 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
9684 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
9686 (LIBCALL_VALUE): Likewise.
9688 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9690 * cpphash.h: Update comment.
9691 * cpplex.c: Update comments.
9692 (_cpp_can_paste): Remove.
9693 * cpplib.h (_cpp_can_paste): Remove.
9694 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
9695 lexer rather than _cpp_can_paste.
9697 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9699 * doc/cppinternals.texi: Update.
9701 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9703 * cpphash.h (struct cpp_pool): Remove locks and locked.
9704 (struct cpp_context): Add member buff.
9705 (struct cpp_reader): Remove member argument_pool.
9706 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9707 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
9708 * cpplex.c (chunk_suitable): Remove pool argument.
9709 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
9710 (new_buff, _cpp_extend_buff): Update.
9711 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
9712 which buffer is returned.
9713 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
9714 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9715 * cppmacro.c (lock_pools, unlock_pools): Remove.
9716 (push_ptoken_context): Take a _cpp_buff.
9717 (enter_macro_context): Pool locking removed.
9718 (replace_args): Use a _cpp_buff for the replacement list with
9720 (push_token_context): Clear buff.
9721 (expand_arg): Use _cpp_pop_context.
9722 (_cpp_pop_context): Free a context's buffer, if any.
9724 2001-09-26 DJ Delorie <dj@redhat.com>
9726 * c-typeck.c (digest_init): Check for sizeless arrays.
9728 2001-09-26 Richard Henderson <rth@redhat.com>
9730 * optabs.c (init_one_libfunc): Create a dummy function type
9731 instead of using error_mark_node.
9733 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9735 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
9736 _cpp_extend_buff, _cpp_free_buff): New.
9737 (struct cpp_reader): New member free_buffs.
9738 * cppinit.c (cpp_destroy): Free buffers.
9739 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
9740 _cpp_extend_buff, _cpp_free_buff): New.
9741 * cpplib.h (struct cpp_options): Remove unused member.
9742 * cppmacro.c (collect_args): New. Combines the old parse_arg
9743 and parse_args. Use _cpp_buff for memory allocation.
9744 (funlike_invocation_p, replace_args): Update.
9746 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
9748 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
9750 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
9752 * except.c (sjlj_mark_call_sites): Change address inside sequence.
9754 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
9756 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
9759 2001-09-25 Janis Johnson <janis187@us.ibm.com>
9760 Jim Wilson <wilson@redhat.com>
9762 * doc/install.texi (Specific, ia64-*-linux): Document.
9764 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
9766 * Makefile.in (cfgrtl.o): Add.
9767 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9768 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9769 free_aux_for_edge): Declare.
9771 (HAVE_return): Undefine.
9772 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9773 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9774 free_aux_for_edge): New global functions.
9775 (first_delete_block): New static variable.
9776 (init_flow): Clear first_delete_block.
9777 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
9778 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
9779 try_redirect_by_replacing_jump, last_loop_beg_note,
9780 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
9781 delete_insn, delete_insn_chain, create_basic_block_structure,
9782 create_basic_block, flow_delete_block, compute_bb_for_insn,
9783 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
9784 set_block_for_new_insns, split_block, merge_blocks_nomove,
9785 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
9786 redirect_edge_and_branch, force_nonfallthru_and_redirect,
9787 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
9788 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
9789 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
9790 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
9791 purge_all_dead_edges): Move to ....
9792 * cfgrtl.c: New file; .... Here.
9794 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
9795 (reroder_basic_block): Use alloc_aux_for_blocks.
9796 * predict.c (estimate_bb_frequencies): Likewise; use
9797 alloc_aux_for_edges.
9798 * profile.c (compute_branch_probabilities): Likewise.
9799 (branch_prob): Likewise.
9800 * reg-stack.c (reg_to_stack): Likewise.
9802 * emit-rtl.c (emit_insns_after): Never return NULL.
9804 * basic-block.h (set_block_for_new_insns): Delete.
9805 * cfgrtl.c (set_block_for_new_insns): Delete.
9807 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
9808 calls when crossjumping.
9810 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
9811 * unroll.c (copy_loop_body): Use delete_insn.
9813 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
9814 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
9815 keep_stack_depressed): Likewise.
9816 * gcse.c (cprop_cc0_jump): Likewise.
9817 * local-alloc.c (update_equiv_regs): Likewise.
9818 * loop.c (scan_loop, loop_delete_insns): Likewise.
9819 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
9820 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
9821 delete_output_reload, delete_address_reloads_1,
9822 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
9824 * sibcall.c (replace_call_placeholder): Likewise.
9825 * cse.c (cse_insn): Likewise.
9827 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9829 From Graham Stott <grahams@redhat.com>
9830 (def_builtin): Only define builtins appropriate for target_flags. All
9832 (builtin_decsription): Add new field mask which is used to determine
9833 when to define the builtin via the macro def_builtin.
9835 (bdesc_comi): Initialise new mask fields.
9836 (bdesc_2srg): Likewise.
9837 (bdesc_1arg): Likewise.
9839 * config/i386/i386.c (ix86_init_builtins): Correct return type
9840 building v4hi_ftype_v4hi_int_int tree node.
9841 (ix86_expand_sse_comi): Fix typo swapping operands.
9842 Don't swap comparision condition, it is already swapped.
9843 (ix86_expand_sse_compare): Before swapping operands
9844 move operand 1 into new rtx and not the target rtx.
9845 Don't swap comparison condition, it is already swapped.
9846 Always check whether we need to create a new TARGET.
9848 * config/i386/i386.md: (sse_comi) Fix typos.
9849 (sse_ucomi): Likewise.
9850 (cvtss2si): Fix operand 0 contraint.
9851 (cvttss2si): Likewise.
9852 (sse_unpckhps): Fix mode for operand 2.
9853 (sse_unpcklps): Likewise.
9855 2001-09-25 Graham Stott <grahams@redhat.com>
9857 * sibcall.c (skip_copy_to_return_value): Tighten return value
9860 2001-09-24 David Edelsohn <edelsohn@gnu.org>
9862 * rs6000.c (lwa_operand): Address must be word aligned.
9864 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9866 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
9867 number has been set.
9868 (type_hash_mark): Mark type itself.
9870 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
9872 * c-lex.c (cb_def_pragma): Update.
9873 (c_lex): Update, and skip padding.
9874 * cppexp.c (lex, parse_defined): Update, remove unused variable.
9875 * cpphash.h (struct toklist): Delete.
9876 (union utoken): New.
9877 (struct cpp_context): Update.
9878 (struct cpp_reader): New members eof, avoid_paste.
9879 (_cpp_temp_token): New.
9880 * cppinit.c (cpp_create_reader): Update.
9881 * cpplex.c (_cpp_temp_token): New.
9882 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
9883 (cpp_output_token): Don't print leading whitespace.
9884 (cpp_output_line): Update.
9885 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
9886 do_include_common, do_line, do_ident, do_pragma,
9887 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
9888 parse_assertion): Update.
9889 (get_token_no_padding): New.
9890 * cpplib.h (CPP_PADDING): New.
9891 (AVOID_LPASTE): Delete.
9892 (struct cpp_token): New union member source.
9893 (cpp_get_token): Update.
9894 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
9895 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
9896 replace_args, quote_string, stringify_arg, parse_arg, next_context,
9897 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
9898 _cpp_backup_tokens, _cpp_create_definition): Update.
9899 (push_arg_context): Delete.
9900 (padding_token, push_token_context, push_ptoken_context): New.
9901 (make_string_token, make_number_token): Update, rename.
9902 (cpp_get_token): Update to handle tokens as pointers to const,
9903 and insert padding appropriately.
9904 * cppmain.c (struct printer): New member prev.
9905 (check_multiline_token): Constify.
9906 (do_preprocessing, cb_line_change): Update.
9907 (scan_translation_unit): Update to handle spacing.
9908 * scan-decls.c (get_a_token): New.
9909 (skip_to_closing_brace, scan_decls): Update.
9910 * fix-header.c (read_scan_file): Update.
9912 * doc/cpp.texi: Update.
9914 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9916 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
9917 leak by passing malloc'ed pointer to reconcat, not concat.
9919 2001-09-24 DJ Delorie <dj@redhat.com>
9921 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
9923 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
9925 * flow.c (delete_dead_jumptables): Delete jumptable if the only
9926 reference is from the literal pool.
9928 2001-09-24 Janis Johnson <janis187@us.ibm.com>
9930 * doc/install.texi (Final install): Request additional information
9931 in mail about successful builds.
9933 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9935 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
9936 initial value of return pointer register instead of value in frame-20.
9939 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9941 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
9942 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
9943 the libcall if there isn't a referenced identifier for the symbol.
9945 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9947 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
9948 non 64-bit machines. Use these as a plabel for the trampoline.
9949 (TRAMPOLINE_SIZE): Adjust size for new words.
9950 (INITIALIZE_TRAMPOLINE): Initialize new words.
9951 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
9952 pointer to the plabel in the trampoline.
9954 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9956 * pa.c (function_arg): Pass floating arguments in both general and
9957 floating registers in indirect (dynamic) calls when generating code
9958 for the 32 bit ABI and the HP assembler.
9960 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9962 * doc/install.texi: Markup fixes.
9963 Use Solaris 2, SunOS 4 as appropriate.
9964 (Specific, *-*-solaris2*): Explain this.
9965 Unconditionally warn against /usr/ucb tools.
9966 Remove Sun as warning, obsolete.
9967 Move X11 header bug workaround here, update patches.
9968 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
9969 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
9971 2001-09-23 Zack Weinberg <zack@codesourcery.com>
9973 * errors.h (warning, error, fatal, internal_error): Don't mark
9974 with ATTRIBUTE_PRINTF_n.
9975 * toplev.h (internal_error, fatal_io_error, warning, error,
9976 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
9977 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
9980 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9982 * function.c (pop_function_context_from): var_refs_queue
9983 and temp slots now in GC memory.
9984 (mark_function_status, free_after_compilation): Likewise;
9985 also struct function now in GC memory.
9986 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
9987 (combine_temp_slots): Likewise.
9988 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
9989 (prepare_function_start): Use GC memory for struct function.
9990 (mark_temp_slot): Deleted.
9991 (gcc_mark_struct_function): struct function now in GC memory.
9993 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
9994 code for division, not modulus.
9996 * rtl.def (MEM): Remove obsolete part of comment.
9998 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
10000 * c-format.c (init_function_format_info): Check __builtin_printf
10001 and __builtin_fprintf even if -ffreestanding. Check C99 functions
10004 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10006 * c-common.c (format_attribute_table): Remove decl.
10007 * tree.h (format_attribute_table, lang_attribute_table): New decls.
10008 (lang_attribute_common): Likewise.
10010 * function.c (fix_lexical_address): Use set_mem_alias_set.
10011 (expand_function_start): Likewise.
10012 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
10014 * varasm.c (output_constant): Fix unused variable warning.
10016 * attribs.c: New file, from c-common.c.
10017 (attribute_tables): Now four elements.
10018 (format_attribute_table, lang_attribute_common): New variables.
10019 (init_attributes): Reflect above changes.
10020 (handle_mode_attribute): Delete check for wider than uintmax.
10021 * c-common.c: Delete parts moved to attribs.c.
10022 (enum attrs): Deleted; unused.
10023 (c_format_attribute_table): New variable.
10024 (c_common_lang_init): Initialize format_attribute_table with it.
10025 * c-common.h (decl_attributes): Remove decl.
10026 * tree.h (decl_attribute): Move it to here.
10027 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
10028 (attribs.o): New rule.
10030 2001-09-22 Andreas Jaeger <aj@suse.de>
10032 * builtins.c (c_getstr): Remove unused variable.
10034 2001-09-21 Richard Henderson <rth@redhat.com>
10036 * reload1.c (reload): Use delete_insn instead of splatting
10039 2001-09-21 Richard Henderson <rth@redhat.com>
10041 * reload.c (push_secondary_reload): Don't check for "=" in output
10042 constraint after ""->ALL_REGS check.
10044 2001-09-21 Richard Henderson <rth@redhat.com>
10046 * predict.c (expected_value_to_br_prob): Use pc_set.
10048 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
10049 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
10051 2001-09-21 Richard Henderson <rth@redhat.com>
10053 * rtl.h (LCT_RETURNS_TWICE): New.
10054 * calls.c (emit_call_1): Set current_function_calls_setjmp for
10056 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
10057 to ECF_RETURNS_TWICE.
10058 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
10061 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
10063 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
10064 (JMP_BUF_SIZE): New.
10066 2001-09-21 Richard Henderson <rth@redhat.com>
10068 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
10071 2001-09-21 Richard Henderson <rth@redhat.com>
10073 * tree.def (FDESC_EXPR): New.
10074 * expr.c (expand_expr): Handle it.
10075 * varasm.c (initializer_constant_valid_p): Likewise.
10076 (output_constant): Likewise.
10077 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
10078 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
10079 (ASM_OUTPUT_FDESC): New.
10080 * doc/tm.texi: Document the new macros.
10082 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
10084 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
10085 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
10086 once merging is complete.
10088 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10090 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
10092 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
10094 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
10095 that would be invalid after a merge.
10097 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
10099 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
10100 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
10101 remove some labels.
10102 (flow_delete_insn): This one.
10103 (delete_insn_chain): Rename from ...; do not care labels.
10104 (flow_delete_insn_chain): ... this one.
10105 (flow_delete_block): Remove the insns one BB has been expunged.
10106 (merge_blocks_nomove): Likewise.
10107 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
10108 updating BB boundaries.
10109 (tidy_fallthru_edge): Likewise.
10110 (commit_one_edge_insertion): Likewise.
10111 * cfgbuild.c (find_basic_block): Likewise.
10112 (find_basic_blocks_1): Likewise.
10113 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
10114 (try_crossjump_to_edge): Likewise.
10115 (try_optimize_cfg): Likewise.
10116 * cse.c (delete_trivially_dead_insns): Likewise.
10117 * df.c (df_insn_delete): Likewise.
10118 * doloop.c (doloop_modify): Use delete_related_insns.
10119 * emit-rtl.c (try_split): Likewise.
10120 (remove_insn): Update BB boundaries.
10121 * expect.c (connect_post_landing_pads): Use delete_related_insns.
10122 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
10123 updating BB boundaries.
10124 (propagate_block_delete_insn): Likewise.
10125 (propagate_block_delete_libcall): Likewise.
10126 * function.c (delete_handlers): Use delete_related_insns.
10127 (thread_prologue_and_epilogue_insns): Likewise.
10128 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
10129 * genpeep.c (gen_peephole): Use delete_related_insns.
10130 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
10132 (find_cond_trap): Likewise.
10133 * integrate.c (save_for_inline): Use delete_related_insns.
10134 (copy_insn_list): Likewise.
10135 * jump.c (pruge_linie_number_notes): Likewise.
10136 (duplicate_loop_exit_test): Likewise.
10137 (delete_computation): Likewise.
10138 (delete_related_insn): Rename from ...; use delete_insn
10139 (delete_insn): ... this one.
10140 (redirect_jump): Use delete_related_insns.
10141 * loop.c (scan_loop): Likewise.
10142 (move_movables): Likewise.
10143 (find_and_verify_loops): Likewise.
10144 (check_dbra_loop): Likewise.
10145 * recog.c (peephole2_optimize): Likewise.
10146 * reg-stack.c (delete_insn_for_stacker): Remove.
10147 (move_for_stack_reg): Use delete_insn.
10148 * regmove.c (combine_stack_adjustments_for_block): Likewise.
10149 * reload1.c (delete_address_reloads): Use delete_related_insns.
10150 (fixup_abnormal_edges): Use delete_insn.
10151 * recog.c (emit_delay_sequence): Use delete_related_insns.
10152 (delete_from-delay_slot): Likewise.
10153 (delete_scheduled_jump): likewise.
10154 (optimize_skip): Likewise.
10155 (try_merge_delay_insns): Likewise.
10156 (full_simple_delay_slots): Likewise.
10157 (fill_slots_from_thread): Likewise.
10158 (relax_delay_slots): Likewise.
10159 (make_return_insns): Likewise.
10160 (dbr_schedule): Likewise.
10161 * rtl.h (delete_insn): Rename to delete_related_insns.
10162 (delete_insn, delete_insn_chain): New prototypes.
10163 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
10164 by df_insn_delete already.
10165 * ssa-dce.c (delete_insn_bb): Use delete_insn.
10166 * ssa.c (convert_from_ssa): Use delete_related_insns.
10167 * unroll.c (unroll_loop): Likewise.
10168 (calculate_giv_inc): Likewise.
10169 (copy_loop_body): Likewise.
10171 * i386-protos.h (ix86_libcall_value, ix86_function_value,
10172 ix86_function_arg_regno_p, ix86_function_arg_boundary,
10173 ix86_return_in_memory, ix86_function_value): Declare.
10174 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
10175 new static valurables.
10176 (x86_64_reg_class): New enum
10177 (x86_64_reg_class_name): New array.
10178 (classify_argument, examine_argument, construct_container,
10179 merge_classes): New static functions.
10180 (optimization_options): Enable flag_omit_frame_pointer and disable
10181 flag_pcc_struct_return on 64bit.
10182 (ix86_libcall_value, ix86_function_value,
10183 ix86_function_arg_regno_p, ix86_function_arg_boundary,
10184 ix86_return_in_memory, ix86_function_value): New global functions.
10185 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
10186 (function_arg_advance): Handle x86_64 passing conventions.
10187 (function_arg): Likewise.
10188 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
10189 (RETURN_IN_MEMORY): Move offline.
10190 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
10191 (FUNCTION_VALUE_REGNO_P): New macro.
10192 (FUNCTION_ARG_REGNO_P): Move offline.
10193 (struct ix86_args): Add maybe_vaarg.
10194 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
10195 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
10197 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
10199 * s390.md: Changed attributes for scheduling.
10200 * s390.c: (s390_adjust_cost, s390_adjust_priority)
10203 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
10205 Table-driven attributes.
10206 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
10207 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
10208 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
10209 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
10210 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
10211 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
10212 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
10213 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
10214 * tree.h (struct tree_decl): Change machine_attributes to
10216 * doc/c-tree.texi: Document that all attributes are now attached
10217 to decls and types.
10218 * c-common.c (add_attribute, attrtab, attrtab_idx,
10219 default_valid_lang_attribute, valid_lang_attribute): Remove.
10220 (attribute_tables, attributes_initialized,
10221 c_common_attribute_table, default_lang_attribute_table): New
10223 (handle_packed_attribute, handle_nocommon_attribute,
10224 handle_common_attribute, handle_noreturn_attribute,
10225 handle_unused_attribute, handle_const_attribute,
10226 handle_transparent_union_attribute, handle_constructor_attribute,
10227 handle_destructor_attribute, handle_mode_attribute,
10228 handle_section_attribute, handle_aligned_attribute,
10229 handle_weak_attribute, handle_alias_attribute,
10230 handle_no_instrument_function_attribute,
10231 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
10232 handle_no_limit_stack_attribute, handle_pure_attribute): New
10234 (init_attributes, decl_attributes): Rewrite to implement
10235 table-driven attributes.
10236 * c-common.h (enum attribute_flags): Move to tree.h.
10237 * c-format.c (decl_handle_format_attribute,
10238 decl_handle_format_arg_attribute): Rename to
10239 handle_format_attribute and handle_format_arg_attribute. Update
10240 for table-driven attributes.
10241 * c-common.h (decl_handle_format_attribute,
10242 decl_handle_format_arg_attribute): Remove prototypes.
10243 (handle_format_attribute, handle_format_arg_attribute): Add
10245 * c-decl.c (grokdeclarator): Handle attributes nested inside
10247 * c-parse.in (setattrs, maybe_setattrs): Remove.
10248 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
10249 Update to handle nested attributes properly.
10250 (maybe_resetattrs, after_type_declarator,
10251 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
10252 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
10254 (make_pointer_declarator): Update to handle nested attributes
10256 * doc/extend.texi: Update documentation of limits of attributes
10257 syntax. Warn about problems with attribute semantics in C++.
10258 * target.h (struct target): Remove valid_decl_attribute and
10259 valid_type_attribute. Add attribute_table and
10260 function_attribute_inlinable_p.
10261 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
10262 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
10263 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
10265 (TARGET_INITIALIZER): Update.
10266 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
10268 (function_attribute_inlinable_p): New function. Check for the
10269 presence of any machine attributes before using
10270 targetm.function_attribute_inlinable_p.
10271 (function_cannot_inline_p): Update.
10272 * Makefile.in (integrate.o): Update dependencies.
10273 * doc/tm.texi: Update documentation of target attributes and
10274 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
10275 * tree.c (default_valid_attribute_p, valid_machine_attribute):
10277 (default_target_attribute_table,
10278 default_function_attribute_inlinable_p): New.
10279 (lookup_attribute): Update comment to clarify handling of multiple
10280 attributes with the same name.
10281 (merge_attributes, attribute_list_contained): Allow multiple
10282 attributes with the same name but different arguments to appear in
10283 the same attribute list.
10284 * tree.h (default_valid_attribute_p): Remove prototype.
10285 (struct attribute_spec): New.
10286 (default_target_attribute_table): Declare.
10287 (enum attribute_flags): Move from c-common.h. Add
10288 ATTR_FLAG_TYPE_IN_PLACE.
10289 (default_function_attribute_inlinable_p): Declare.
10290 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
10291 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10292 (TARGET_ATTRIBUTE_TABLE): Define.
10293 (vms_attribute_table): New.
10294 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
10295 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10296 (TARGET_ATTRIBUTE_TABLE): Define.
10297 (arc_attribute_table, arc_handle_interrupt_attribute): New.
10298 * config/arm/arm.c (arm_valid_type_attribute_p,
10299 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
10301 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10303 (TARGET_ATTRIBUTE_TABLE): Define.
10304 (arm_attribute_table, arm_handle_fndecl_attribute,
10305 arm_handle_isr_attribute): New.
10306 * config/avr/avr.c (avr_valid_type_attribute,
10307 avr_valid_decl_attribute): Remove.
10308 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
10310 (TARGET_ATTRIBUTE_TABLE): Define.
10311 (avr_attribute_table, avr_handle_progmem_attribute,
10312 avr_handle_fndecl_attribute): New.
10313 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
10314 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10315 (TARGET_ATTRIBUTE_TABLE): Define.
10316 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
10317 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
10318 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10319 (TARGET_ATTRIBUTE_TABLE): Define.
10320 (h8300_attribute_table, h8300_handle_fndecl_attribute,
10321 h8300_handle_eightbit_data_attribute,
10322 h8300_handle_tiny_data_attribute): New.
10323 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
10324 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
10326 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
10328 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
10329 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10331 (TARGET_ATTRIBUTE_TABLE): Define.
10332 (ix86_attribute_table, ix86_handle_cdecl_attribute,
10333 ix86_handle_regparm_attribute): New.
10334 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
10335 i386_pe_valid_type_attribute_p): Remove.
10336 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
10337 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
10338 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10339 (TARGET_ATTRIBUTE_TABLE): Define.
10340 (ia64_attribute_table): New.
10341 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
10342 interrupt_ident2, model_ident1, model_ident2): Remove.
10343 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10344 (TARGET_ATTRIBUTE_TABLE): Define.
10345 (init_idents): Update.
10346 (m32r_attribute_table, m32r_handle_model_attribute): New.
10347 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
10349 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10350 (TARGET_ATTRIBUTE_TABLE): Define.
10351 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
10352 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
10353 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10354 (TARGET_ATTRIBUTE_TABLE): Define.
10355 (mcore_attribute_table, mcore_handle_naked_attribute): New.
10356 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
10357 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10358 (TARGET_ATTRIBUTE_TABLE): Define.
10359 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
10360 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
10361 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10362 (TARGET_ATTRIBUTE_TABLE): Define.
10363 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
10364 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
10365 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10366 (TARGET_ATTRIBUTE_TABLE): Define.
10367 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
10368 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
10370 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
10372 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
10373 (TARGET_ATTRIBUTE_TABLE): Define.
10374 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
10376 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
10377 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10378 (TARGET_ATTRIBUTE_TABLE): Define.
10379 (v850_attribute_table, v850_handle_interrupt_attribute,
10380 v850_handle_data_area_attribute): New.
10381 * config/v850/v850-c.c (mark_current_function_as_interrupt):
10382 Return void. Call decl_attributes instead of
10383 valid_machine_attribute.
10385 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
10387 * sh-protos.h (sh_pr_n_sets): Declare.
10388 * sh.c (calc_live_regs): If the initial value for PR has been copied,
10389 look at the copy to determine if PR needs to be saved.
10390 sh_pr_n_sets: New function.
10391 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
10392 (ALLOCATE_INITIAL_VALUE): Define.
10394 * sh.c (initial_elimination_offset):
10395 Fix RETURN_ADDRESS_POINTER_REGNUM case.
10397 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
10399 * integrate.c (allocate_initial_values): New function.
10400 * integrate.h (allocate_initial_values): Declare.
10401 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
10403 * reload1.c (reload): And initialization of reg_equiv_memory_loc
10405 * toplev.c (rest_of_compilation): To here.
10406 Call allocate_initial_values.
10407 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
10409 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10411 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
10413 2001-09-20 DJ Delorie <dj@redhat.com>
10415 * c-typeck.c (really_start_incremental_init): Discriminate
10416 between zero-length arrays and flexible arrays.
10417 (push_init_level): Detect zero-length arrays and handle them
10418 like fixed-sized arrays.
10419 * expr.c (store_constructor): Handle zero-length arrays and
10420 flexible arrays correctly.
10421 * doc/extend.texi: Update zero-length array notes.
10423 2001-09-20 Jim Wilson <wilson@redhat.com>
10425 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
10426 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
10427 for issue port conflicts.
10428 (cycle_end_fill_slots): TYPE_L instructions take two slots.
10430 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
10432 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
10435 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10437 * fold-const.c (hashtab.h): Include.
10438 (int_const_binop): Remove FORSIZE arg and compute from type; all
10440 Call size_int_type_wide for all single-word constants.
10441 (size_htab_hash, size_htab_eq): New functions.
10442 (size_int_type_wide): Rework to use hash table.
10443 * ggc-common.c (hashtab.h): Include.
10444 (struct d_htab_root): New struct.
10445 (d_htab_roots): New variable.
10446 (ggc_add_deletable_htab, ggc_htab_delete): New functions
10447 (ggc_mark_roots): Handle deletable htabs.
10448 * ggc-page.c (ggc_marked_p): New function.
10449 * ggc-simple.c (ggc_marked_p): Likewise.
10450 * ggc.h: Reformatting throughout.
10451 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
10452 * tree.c (init_obstacks): Make type_hash_table a deletable root.
10453 (type_hash_add): Allocate struct type_hash from GC memory.
10454 (mark_hash_entry, mark_type_hash): Deleted.
10455 (type_hash_marked_p, type_hash_mark): New functions.
10456 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
10458 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
10460 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
10463 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10465 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
10466 array-too-large test for signed sizetype.
10468 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
10470 * i386.md (indirect_jump): Allow Pmode operand.
10471 (tablejump): LIkewise; perform expansion to 64bit mode.
10472 * i386.c (symbolic_operand): Allow 64bit PIC references.
10473 (pic_symbolic_operand): Likewise.
10474 (ix86_find_base_term): Strip the 64bit PIC references.
10475 (legitimate_pic_address_disp_p): Handle 64bit PIC.
10476 (legitimize_pic_address): Likewise.
10477 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
10478 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
10480 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
10482 * stringpool.c (get_identifier_with_length): New function.
10483 * tree.h (get_identifier_with_length): New prototype.
10485 2001-09-19 Alan Modra <amodra@bigpond.net.au>
10486 David Edelsohn <edelsohn@gnu.org>
10489 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
10490 already sign-extended.
10492 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
10493 * config/rs6000/rs6000.c (logical_operand): Always compare op as
10495 (rs6000_emit_set_long_const): Avoid unnecessary shift.
10496 (output_profile_hook): Declare label_name const.
10497 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
10498 to match constraints.
10500 2001-09-19 Stan Shebs <shebs@apple.com>
10502 * alias.c: Fix typos in comments.
10503 * sched-rgn.c (init_ready_list): Ditto.
10504 * unwind-dw2.c (uw_frame_state_for): Ditto.
10505 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
10506 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
10507 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
10509 2001-09-19 Richard Henderson <rth@redhat.com>
10511 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
10513 * Makefile.in (cfg.o): Depend on TM_P_H.
10515 2001-09-19 Richard Henderson <rth@redhat.com>
10517 * config/alpha/alpha.c (local_symbol_p): Split out from ...
10518 (local_symbolic_operand): ... here.
10519 (small_symbolic_operand): Check mode.
10520 (global_symbolic_operand): New.
10521 (input_operand): Reject symbolics if explicit relocs.
10522 (call_operand): Tidy.
10523 (alpha_legitimize_address): Use movdi_er_high_g.
10524 (alpha_expand_mov): Likewise.
10525 * config/alpha/alpha-protos.h: Update.
10526 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10527 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
10528 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
10529 (UNSPECV_LDGP2): Remove.
10530 (all call patterns): Use 's' not 'i' for symbolic constraint.
10531 (call_osf call_value_osf): Use call_operand.
10532 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
10533 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
10534 (prologue_ldgp_1_er): Remove.
10535 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
10536 (builtin_setjmp_receiver_er patterns): Use them.
10537 (exception_receiver_er): Likewise.
10539 2001-09-19 Richard Henderson <rth@redhat.com>
10541 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
10543 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
10544 and NON_LOCAL_GOTO notes.
10545 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
10546 copy over CALL_INSN_FUNCTION_USAGE.
10548 2001-09-18 Catherine Moore <clm@redhat.com>
10550 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
10553 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
10555 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
10556 new-style tm_file specification. Specify correct tm_p_file,
10557 md_file, and out_file for s390x.
10559 * config/s390/linux.h, linux64.h: Don't include other target
10560 macro header files. Now handled via tm_file.
10562 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
10563 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
10564 are defined before use.
10566 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
10568 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
10569 code generation only for Gnu assembler.
10571 2001-09-18 Catherine Moore <clm@redhat.com>
10573 * config/stormy16 (LIB_SPEC): Remove -lnosys.
10575 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
10577 * config/mips/mips.c (mips_frame_set): New.
10578 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
10579 a parallel frame-related expression with a set for each register.
10581 2001-09-18 Philip Blundell <philb@gnu.org>
10583 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
10586 2001-09-17 Dale Johannesen <dalej@apple.com>
10588 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
10589 * config/rs6000/aix.h (FIXED_R2): Define.
10590 * config/rs6000/darwin.h (FIXED_R2): Define.
10591 * config/rs6000/sysv4.h (FIXED_R2): Define.
10593 2001-09-17 Jeff Sturm <jsturm@one-point.com>
10595 * except.c (dw2_build_landing_pads): New local
10596 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
10597 barrier after clobbers. Fixes c++/4012.
10599 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10601 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
10603 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
10605 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
10606 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
10608 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10610 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
10613 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
10615 * cpphash.h (_cpp_lex_direct): New.
10616 * cpplex.c (_cpp_lex_token): Update.
10617 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
10618 and increment that pointer.
10619 * cppmacro.c (alloc_expansion_token): New.
10620 (lex_expansion_token): Lex macro expansion directly into
10623 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
10625 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
10627 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
10629 * basic-block.h (free_bb_for_insn): Declare.
10630 * bb-reorder.c (label_for_bb): Use block_label.
10631 (emit_jump_to_block_after): Remove.
10632 (insert_intra_1): Do not update block_for_insn.
10633 (insert_inter_bb_scope_notes): Likewise; update bb->end
10634 * cfg.c (free_bb_for_insn): New.
10635 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
10636 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
10637 (commit_one_edge_insertion): Likewise.
10638 (commit_one_edge_insertion): Do not update BB boundary.
10639 (commit_edge_insertions): Do not call compute_bb_for_insn.
10640 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
10641 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
10642 (merge_blocks_move_successor_nojumps): Likewise.
10643 (try_crossjump_to_edge): Do not update block_for_insn.
10644 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
10645 * df.c (df_pattern_emit_later): Do not update BB boundary.
10646 (df_jump_pattern_emit_after): Likewise.
10647 (df_insn_move_before): Use emit_insn_before.
10648 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
10650 (add_insn_after, add_insn_before, emit_insns_after): Update BB
10651 boundaries and basic_block_for_insn.
10652 (reorder_insns_nobb): Rename from reorder_insns.
10653 (reorder_insns): New.
10654 (emit_block_insn_before, emit_block_insn_after): Kill.
10655 * flow.c (check_function_return_warnings): Do not call
10656 compute_bb_for_insn; Do not free basic_block_for_insn.
10657 (attempt_auto_inc): Do not update basic_block_for_insn.
10658 * function.c (emit_return_into_block): Likewise;
10659 do not update BB boundaries.
10660 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
10661 (insert_insn_end_bb): Use emit_insn_before; Likewise.
10662 (pre_insert_copy_insn): Likewise.
10663 (update_ld_motion_notes): Likewise.
10664 (insert_insn_start_bb): Likewise.
10665 (replace_store_insn): Likewise.
10666 * ifcvt.c (noce_process_if_block): Likewise.
10667 (if_convert): Do not call compute_bb_for_insn.
10668 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
10669 Use emit_insn_before and emit_insn_after.
10670 * recog.c (split_all_insns): Do not update BB boundaries;
10671 Do not call compute_bb_for_insn.
10672 (peephole2_optimize): Do not update BB boundaries.
10673 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
10675 (emit_swap_insn): Likewise.
10676 (convert_regs_1): Likewise.
10677 * reload1.c (reload): Call compute_bb_for_insn.
10678 * rtl.h (reorder_insns_nobb): Declare.
10679 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
10680 * toplev.c (rest_of_compilation): Call free_bb_for_insn
10681 at places CFG is invalidated; do not call compute_bb_for_insn.
10683 * cfg.c (expunge_block): Invalidate BB structure.
10685 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
10688 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
10690 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10692 * cpphash.h (_cpp_lex_token): Update prototype.
10693 * cpplex.c (_cpp_lex_token): New prototype.
10694 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
10695 lex_macro_node, read_flag, do_pragma_poison): Update.
10696 * cppmacro.c (cpp_get_token, parse_params,
10697 lex_expansion_token): Update.
10699 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10701 * cppmain.c (scan_translation_unit): Don't worry about
10702 putting a space after hashes.
10703 * cpplib.c (directive_diagnostics): New.
10704 (_cpp_handle_directive): Update to use directive_diagnostics.
10705 (run_directive): Don't toggle prevent_expansion.
10706 (do_line): Backup in case of the line extension.
10707 * cpplib.h (cpp_lexer_pos): Remove.
10708 * cppmacro.c (_cpp_create_definition): Precede a leading #
10711 2001-09-15 Richard Henderson <rth@redhat.com>
10713 * c-typeck.c (comptypes): Handle zero-length arrays properly.
10715 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10717 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
10719 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10721 PR preprocessor/3571
10722 * tradcpp.c (handle_directive): Skip non-vertical space.
10724 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10726 * cppmain.c (setup_callbacks): Set line callback only
10727 if outputting preprocessed source.
10729 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10731 * collect2.c (main): Const-ification.
10732 * gcc.c (translate_options, process_command): Use xstrdup in
10733 lieu of xmalloc/strcpy.
10734 (main): Use concat in lieu of xmalloc/strcpy/strcat.
10736 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10738 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
10741 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10743 * scan-decls.c (scan_decls): Fix typo.
10745 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10747 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
10748 Split mlstring_pos into mls_line and mls_col.
10749 * cppinit.c (cpp_create_reader): Initialize line to 1.
10750 (cpp_destroy): Free tokenruns.
10751 (push_include): Don't update lexer_pos.
10752 * cpplex.c (unterminated, parse_string): Update.
10753 (lex_token): Don't update lexer_pos, update.
10754 * cpplib.c (if_stack): Save line instead of line + col.
10755 (start_directive, _cpp_do__Pragma, do_else, do_elif,
10756 push_conditional, _cpp_pop_buffer): Update.
10757 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
10758 (_cpp_create_definition): Update.
10760 2001-09-15 Eric Christopher <echristo@redhat.com>
10762 * config/mips/abi64.h: Add support for MEABI.
10764 2001-09-15 Eric Christopher <echristo@redhat.com>
10766 * config/mips/mips.md: Add unspec #2.
10767 (reload_indi): Use.
10768 (reload_outdi): Ditto.
10769 (reload_outsi): Ditto.
10772 2001-09-15 Eric Christopher <echristo@redhat.com>
10773 Jason Eckhardt <jle@redhat.com>
10775 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
10776 * config/mips/isa32-linux.h: New file.
10777 * config/mips/isa3264.h: Ditto.
10778 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
10779 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
10780 (output_block_mode): Support MEABI.
10781 (function_arg): Ditto. Fix floating point arg passing.
10782 (mips_va_start): Ditto.
10783 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
10785 (mips_asm_file_start): Add new section to pass abi to gdb.
10786 (function_arg_pass_by_reference): Support MEABI.
10787 (mips_parse_cpu): Support mips32 and mips64 processors.
10788 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
10789 TARGET_MIPS5KC. Support isa32 and isa64.
10790 (processor_type): Add r4kc, r5kc, r20kc.
10791 (GENERATE_MULT3_SI): New.
10792 (GENERATE_MULT3_DI): Ditto.
10793 (GENERATE_MULT3): Remove.
10794 (ISA_HAS_64BIT_REGS): Add isa == 64.
10795 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
10796 (ISA_HAS_MADD_MSUB): New.
10797 (ISA_HAS_CLZ_CLO): Ditto.
10798 (ISA_HAS_DCLZ_DCLO): Ditto.
10799 (ABI_GAS_ASM_SPEC): New.
10800 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
10802 (LINK_SPEC): Ditto.
10803 (SUBTARGET_CC1_SPEC): Ditto.
10804 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
10805 (PAD_VARARGS_DOWN): Support MEABI.
10806 (HARD_REGNO_NREGS): Move to mips.c.
10807 (ASM_OUTPUT_IDENT): Add #undef.
10808 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
10809 (mulsi3): Use GENERATE_MULT3_SI.
10810 (mulsi3_mult3): Ditto. Support mips32, mips64.
10811 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
10812 (mul_sub_si): New pattern.
10813 (unnamed splitters): New.
10814 (muldi3): Use GENERATE_MULT3_DI.
10815 (muldi3_internal2): Ditto.
10816 (movdicc): Support mips32.
10817 * config/mips/t-isa3264: New file.
10819 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
10821 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
10822 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
10823 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
10825 * reorg.c (fill_slots_from_thread): After call to
10826 steal_delay_list_from_target, update own_thread as new_thread may
10829 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
10831 * cpperror.c (print_location): Take line and column, for
10832 default positioning use the previously lexed token.
10833 (_cpp_begin_message): Take line and column.
10834 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
10835 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
10836 * cpphash.h (_cpp_begin_message): Update prototype.
10837 * cppinit.c (push_include): Don't set output line.
10838 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
10839 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
10840 (do_pragma): Kludge for front ends. Don't expand macros at all.
10841 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
10842 (struct cpp_token): Remove output_line.
10843 (struct cpp_callbacks): New member line_change.
10844 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
10845 cpp_get_token): Preserve BOL flag.
10846 (cpp_get_line): Remove.
10847 (_cpp_backup_tokens): Remove useless abort().
10848 * cppmain.c (cb_line_change): New.
10849 (scan_translation_unit): Don't worry about starting new lines here.
10850 * scan-decls.c (scan_decls): Update.
10851 * c-lex.c (c_lex, init_c_lex): Update.
10852 (cb_line_change, src_lineno): New.
10854 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
10856 * tree.c (append_random_chars): Generate the random
10857 characters in a reproducable fashion.
10859 2001-09-14 Richard Henderson <rth@redhat.com>
10861 * config/i386/i386.c (internal_label_prefix): New.
10862 (internal_label_prefix_len): New.
10863 (override_options): Set them.
10864 (local_symbolic_operand): New.
10865 (legitimate_pic_address_disp_p): Use it.
10866 (legitimize_pic_address): Likewise.
10868 2001-09-14 Marc Espie <espie@openbsd.org>
10870 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
10873 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10875 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
10876 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
10878 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10880 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
10881 invocation of SUBREG_REGNO_OFFSET.
10883 * haifa-sched.c: Fix typo in FSF copyright statement.
10884 * sched-deps.c: Fix typo in FSF copyright statement.
10885 * sched-ebb.c: Fix typo in FSF copyright statement.
10886 * sched-rgn.c: Fix typo in FSF copyright statement.
10887 * sched-vis.c: Fix typo in FSF copyright statement.
10889 * config.gcc: Move inclusion of arm elf specific header files
10890 from the files themselves into the tm_file variable. Make
10891 sure that elfos.h is included before target specific elf
10893 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
10895 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
10896 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
10897 ASM_OUTPUT_CASE_LABEL): Protect definition.
10898 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
10899 not already defined.
10900 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
10901 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
10902 Remove duplicate definition.
10903 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
10904 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
10905 (RDATA_SECTION_FUNCTION): Remove redundant definition.
10906 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
10907 Remove inclusion of arm/elf.h.
10908 * config/arm/unknown-elf.h: as for conix-elf.h.
10909 (STARTFILE_SPEC): Include crti.o and crtn.o.
10910 * config/arm/linux-elf.h: as for conix-elf.h.
10911 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
10912 * config/arm/strongarm-elf.h: Remove inclusion of
10914 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
10915 * config/arm/unknown-elf-oabi.h: Remove inclusion of
10916 unknown-elf.h and elf.h.
10917 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
10918 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
10919 ASM_WEAKEN_LABEL): Remove redundant definition.
10920 * config/arm/elf.h: Test for inclusion of elfos.h
10921 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
10922 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
10923 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
10924 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
10925 redundant definition.
10926 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
10927 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
10928 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
10929 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
10930 Add rules to build crti.o and crtn.o
10931 * crti.asm: New file.
10932 * crtn.asm: New file.
10934 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
10936 * c-parse.in (_yylex): Use _cpp_backup_tokens.
10937 * cpphash.h (struct tokenrun): Add prev.
10938 (struct lexer_state): Remove bol.
10939 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
10940 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
10942 * cppinit.c (cpp_create_reader): Don't set bol.
10943 (cpp_destroy): Don't free lookaheads.
10944 * cpplex.c (lex_directive): Remove.
10945 (next_tokenrun): Update.
10946 (_cpp_lex_token): Clean up logic.
10947 (lex_token): Update to return a pointer to lexed token, since it
10948 can move to the start of the buffer. Simpify newline handling.
10949 * cpplib.c (SEEN_EOL): Update.
10950 (skip_rest_of_line): Remove lookahead stuff.
10951 (end_directive): Line numbers are already incremented. Revert
10952 to start of lexed token buffer if we can.
10953 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
10954 parse_answer): Use _cpp_backup_tokens.
10955 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
10956 instead. Don't check for EOL.
10957 (do_include_common, do_line, do_pragma_system_header): Use
10959 * cpplib.h (BOL, _cpp_backup_tokens): New.
10960 * cppmacro.c (save_lookahead_token, take_lookahead_token,
10961 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
10962 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
10963 (builtin_macro): Don't use cpp_get_line.
10964 (cpp_get_line): Short term kludge.
10965 (parse_arg): Handle directives in arguments here. Back up when
10966 appropriate. Store EOF at end of argument list.
10967 (funlike_invocation_p): Use _cpp_backup_tokens.
10968 (push_arg_context): Account for EOF at end of list.
10969 (cpp_get_token): Remove lookahead stuff. Update.
10971 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10973 * c-parse.in (yyerror): Const-ification and/or static-ization.
10974 * c-typeck.c (push_member_name): Likewise.
10975 * collect2.c (main): Likewise.
10976 * dbxout.c (dbxout_parms): Likewise.
10977 * diagnostic.c (format_with_decl): Likewise.
10978 * dwarf2out.c (output_ranges): Likewise.
10979 * dwarfout.c (fundamental_type_code): Likewise.
10980 * except.c (dw2_output_call_site_table): Likewise.
10981 * gcc.c (do_spec_1): Likewise.
10982 * genopinit.c (optabs): Likewise.
10983 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
10984 gen_declaration_1, handle_impent): Likewise.
10985 * protoize.c (default_include, in_system_include_dir, abspath):
10987 * sched-vis.c (visualize_stall_cycles): Likewise.
10988 * sdbout.c (plain_type_1, sdbout_end_function,
10989 sdbout_end_epilogue): Likewise.
10990 * varasm.c (decode_reg_name): Likewise.
10992 * 1750a.c (mod_regno_adjust): Likewise.
10993 * alpha.c (alpha_write_one_linkage,
10994 unicosmk_output_default_externs): Likewise.
10995 * arm.c (arm_condition_codes): Likewise.
10996 * arm.h (arm_condition_codes): Likewise.
10997 * avr.c (output_movsisf, encode_section_info): Likewise.
10998 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
11000 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
11001 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
11002 * m88k.c (output_function_profiler): Likewise.
11003 * mips.c (mips_output_conditional_branch): Likewise.
11004 * ns32k.c (ns32k_out_reg_names): Likewise.
11005 * ns32k.h (ns32k_out_reg_names): Likewise.
11006 * pj.c (pj_output_rval): Likewise.
11007 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
11008 * sparc.c (sparc_flat_function_prologue,
11009 sparc_flat_function_epilogue): Likewise.
11011 2001-09-13 Markus Werle <numerical.simulation@web.de>
11012 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11014 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
11015 Aachen University of Technology".
11017 2001-09-13 Andreas Schwab <schwab@suse.de>
11019 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
11022 2001-09-13 Richard Henderson <rth@redhat.com>
11024 * config/alpha/alpha.c (small_symbolic_operand): New.
11025 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
11026 (some_operand, input_operand): Don't handle HIGH.
11027 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
11028 (alpha_expand_mov): Likewise.
11029 (print_operand) [H]: Just print HIGH symbol.
11030 (print_operand_address): Handle small data.
11031 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
11032 (TARGET_SWITCHES): Add -msmall-data/large-data.
11033 (PIC_OFFSET_TABLE_REGNUM): New.
11034 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
11035 (PREDICATE_COES): Update.
11036 * config/alpha/alpha.md (adddi_er_high): New.
11037 (adddi_er_low): Handle small data.
11038 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
11039 prefer .sdata to .rodata.
11040 (SELECT_RTX_SECTION): Likewise.
11042 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
11044 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
11045 defining __size_t and leaving size_t undefined.
11047 2001-09-12 Diego Novillo <dnovillo@redhat.com>
11049 * basic-block.h (expunge_block): Declare.
11050 * cfg.c (expunge_block): Remove static declaration.
11052 2001-09-12 Richard Henderson <rth@redhat.com>
11054 * integrate.c (copy_insn_list): Copy label name from
11055 NOTE_INSN_DELETED_LABEL.
11057 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11059 * c-common.c (c_tree_code_name): Const-ification.
11060 * c-decl.c (c_decode_option): Likewise.
11061 * c-typeck.c (warn_for_assignment): Likewise.
11062 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
11064 * cppinit.c (output_deps): Likewise.
11065 * dependence.c (dependence_string, direction_string): Likewise.
11066 * dwarf2out.c (output_ranges): Likewise.
11067 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
11068 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
11069 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
11070 standard_startfile_prefix, standard_startfile_prefix_1,
11071 standard_startfile_prefix_2, tooldir_base_prefix,
11072 standard_bindir_prefix, find_a_file): Likewise.
11073 * genattrtab.c (make_length_attrs): Likewise.
11074 * gencheck.c (tree_codes): Likewise.
11075 * genemit.c (gen_split): Likewise.
11076 * genrecog.c (special_mode_pred_table): Likewise.
11077 * graph.c (graph_ext): Likewise.
11078 * protoize (default_include): Likewise.
11079 * reload.c (reload_when_needed_name): Likewise.
11080 * sched-vis.c (visualize_stall_cycles): Likewise.
11081 * tlink.c (recompile_files): Likewise.
11082 * toplev.c (decode_g_option): Likewise.
11083 * tradcpp.c (output_deps): Likewise.
11084 * varasm.c (decode_reg_name): Likewise.
11086 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
11088 * arm.md: Likewise.
11089 * avr.c (avr_regnames, encode_section_info): Likewise.
11090 * c4x.c (float_reg_names): Likewise.
11091 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
11092 * elfos.h (const_section): Likewise.
11093 * i386.c (ix86_comp_type_attributes): Likewise.
11094 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
11095 * ia64/aix.h (UNIQUE_SECTION): Likewise.
11096 * ia64.c (type_names): Likewise.
11097 * m68hc11.c (reg_class_names): Likewise.
11098 * m88k.c (m_options): Likewise.
11099 * mips.c (mips_output_conditional_branch, mips_unique_section):
11101 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11102 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
11103 ultra_code_names): Likewise.
11104 * sparc.h (OVERRIDE_OPTIONS): Likewise.
11106 2001-09-12 Jakub Jelinek <jakub@redhat.com>
11108 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
11109 Use --fatal-warnings option for gas.
11110 * configure: Rebuilt.
11112 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11114 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
11116 2001-09-11 Jim Wilson <wilson@redhat.com>
11118 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
11120 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11122 * builtins.c (c_strlen): Treat an offset too large for a
11123 HOST_WIDE_INT as out of range.
11125 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
11127 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
11128 (EDGE_CRITICAL_P): New predicate.
11129 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
11131 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
11132 (dump_edge_info): Remove "crit".
11133 * cfganal.c (mark_critical_edges): Kill.
11134 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
11135 * cfgcleanup.c (cleanup_cfg): Likewise.
11136 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
11137 (find_spanning_tree): Likewise.
11138 * reg-stack.c (convert_regs_1): Likewise.
11139 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
11141 * basic-block.h (create_basic_block_structure): New.
11142 (create_basic_block): Update prototype.
11143 (force_nonfallthru): New.
11144 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
11145 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
11146 handle updating of block_for_insn, creating of empty BBs and BBs at
11147 the end of INSN chain.
11148 (create_basic_block): New function.
11149 (split_block): Use create_basic_block.
11150 (force_nonfallthru_and_redirect): Break out from ...; cleanup
11151 (redirect_edge_and_branch_force): ... here.
11152 (force_nonfallthru): New.
11153 (split_edge): Rewrite to use force_nonfallthru and create_block.
11154 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
11155 (find_basic_blocks): Free basic_block_for_insn.
11156 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
11158 * cfg.c: Fix formating.
11159 * cfgcleanup.c: Fix formating.
11160 (merge_blocks, tail_recursion_label_p): Return bool.
11161 (merge_blocks_move_predecessor_nojumps,
11162 merge_blocks_move_successor_nojumps): Return void.
11164 2001-09-11 Jakub Jelinek <jakub@redhat.com>
11166 * configure.in: Check whether assembler supports section merging.
11167 * config.in: Rebuilt.
11168 * configure: Rebuilt.
11169 * varasm.c (variable_section, output_constant_pool): Pass alignment
11170 to SELECT_SECTION and SELECT_RTX_SECTION.
11171 (mergeable_string_section): New.
11172 (mergeable_constant_section): New.
11173 (default_elf_asm_named_section): Output SECTION_MERGE and
11174 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
11175 * output.h (mergeable_string_section): New.
11176 (mergeable_constant_section): New.
11177 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
11178 * toplev.c (flag_merge_constants): New.
11179 (f_options): Add -fmerge-constants and -fmerge-all-constants
11181 (toplev_main): Default to -fno-merge-constants if not optimizing.
11182 * flags.h (flag_merge_constants): Add extern.
11183 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
11184 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
11186 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
11187 Define if assembler has working .subsection -1 support.
11188 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
11189 Put constant into special SHF_MERGE sections if the linker should
11190 attempt to merge duplicates.
11191 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
11193 Put constant into special SHF_MERGE sections if the linker should
11194 attempt to merge duplicates.
11195 * config/alpha/elf.h: Likewise.
11196 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
11197 has working .subsection -1 support.
11198 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
11200 * config/svr3.h: Likewise.
11201 * config/darwin.h: Likewise.
11202 * config/arm/aof.h: Likewise.
11203 * config/arm/linux-elf.h: Likewise.
11204 * config/avr/avr.h: Likewise.
11205 * config/c4x/c4x.h: Likewise.
11206 * config/d30v/d30v.h: Likewise.
11207 * config/i386/dgux.h: Likewise.
11208 * config/i386/osfrose.h: Likewise.
11209 * config/i386/sco5.h: Likewise.
11210 * config/i386/svr3gas.h: Likewise.
11211 * config/ia64/aix.h: Likewise.
11212 * config/m32r/m32r.h: Likewise.
11213 * config/m68k/m68k.h: Likewise.
11214 * config/m88k/dgux.h: Likewise.
11215 * config/m88k/m88k.h: Likewise.
11216 * config/mcore/mcore-pe.h: Likewise.
11217 * config/mips/mips.h: Likewise.
11218 * config/pa/pa.h: Likewise.
11219 * config/pa/pa-linux.h: Likewise.
11220 * config/romp/romp.h: Likewise.
11221 * config/rs6000/sysv4.h: Likewise.
11222 * config/rs6000/xcoff.h: Likewise.
11223 * config/s390/linux.h: Likewise.
11224 * config/sparc/sparc.h: Likewise.
11225 * config/sparc/sysv4.h: Likewise.
11226 * config/stormy16/stormy16.h: Likewise.
11227 * config/v850/v850.h: Likewise.
11228 * config/vax/vms.h: Likewise.
11229 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
11230 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
11231 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
11232 default_elf_asm_named_section for SHF_MERGE sections.
11234 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11236 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
11239 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
11241 * c-common.c (split_specs_attrs): Allow for empty attributes with
11242 empty TREE_PURPOSE. Fixes PR c/4294.
11244 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
11246 * basic-block.h (cached_make_edge, make_single_succ): New.
11247 (make_edge): Remove first parameter.
11248 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
11249 * cfg.c (cached_make_edge): Rename from make_edge; return newly
11250 created edge; use obstack allocation.
11251 (make_edge, make_single_succ_edge): New.
11252 (first_removed_edge): New static variable.
11253 (init_flow): Initialize first_removed_edge and n_edges.
11254 (clear_edges): Use remove_edge.
11255 (flow_delete_block): Likewise.
11256 (remove_edge): Add removed edges to the removed edges list.
11257 (split_block, redirect_edge_and_branch_force, split_edge):
11259 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
11260 (add_noreturn_fake_exit_edges): Likewise.
11261 (connect_infinite_loops_to_exit): Liekwise.
11262 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
11263 Use cached_make_edge.
11264 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
11265 * profile.c (branch_prob): Update make_edge call.
11266 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
11268 2001-09-11 Richard Henderson <rth@redhat.com>
11270 * config/alpha/alpha.c: Tidy formatting.
11271 (local_symbolic_operand): Verify mode.
11272 (alpha_sa_mask): Ignore unicos for eh_return.
11273 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
11274 * config/alpha/alpha.md (umk divsi patterns): Remove.
11275 (extendsfdf2): Remove unicos check.
11276 (tablejump): Merge vms and unicos code; always use direct set
11277 plus label_ref use.
11279 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11281 * config.gcc (alpha*-*-unicosmk*): New target.
11283 * config/alpha/alpha-protos.h (symbolic_operand,
11284 unicosmk_add_call_info_word, unicosmk_add_extern,
11285 unicosmk_defer_case_vector, unicosmk_unique_section,
11286 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
11287 unicosmk_asm_file_start, unicosmk_asm_file_end,
11288 unicosmk_output_common): Declare.
11290 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
11291 direct_return, function_arg, alpha_va_start, alpha_va_arg,
11292 alpha_does_function_need_gp, alpha_end_function): Support Cray
11294 (alpha_init_machine_status, alpha_mark_machine_status,
11295 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
11296 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
11297 unicosmk_asm_named_section, unicosmk_insert_attributes,
11298 unicosmk_section_type_flags, symbolic_operand,
11299 unicosmk_output_module_name, unicosmk_output_default_externs,
11300 unicosmk_output_dex, unicosmk_output_externs,
11301 unicosmk_output_addr_vec, unicosmk_ssib_name,
11302 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
11303 unicosmk_asm_file_end, unicosmk_output_common,
11304 unicosmk_section_type_flags, unicosmk_unique_section,
11305 unicosmk_add_call_info_word, unicosmk_text_section,
11306 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
11307 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
11308 unicosmk_dex_count, unicosmk_special_name): New.
11309 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
11310 TARGET_ABI_UNICOSMK.
11311 (get_aligned_mem, alpha_expand_unaligned_load,
11312 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
11313 alpha_expand_unaligned_store_words): Support big-endian mode.
11314 (print_operand): Likewise. New format specifier 't'. Use
11315 TARGET_AS_SLASH_BEFORE_SUFFIX.
11316 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
11317 (alpha_pv_save_size): Update with above change.
11318 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
11319 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
11322 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
11323 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
11324 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
11325 (EXTRA_CONSTRAINT): New constraint 'U'.
11326 (PREDICATE_CODES): Add symbolic_operand.
11328 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
11329 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
11330 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
11331 (integer division and modulus patterns): Split in default and
11332 Unicos/Mk versions.
11333 (*divmodsi_internal, *divmoddi_internal): Disable for
11334 TARGET_ABI_UNICOSMK.
11335 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
11336 little-endian and big-endian versions.
11337 (ext, ins, msk): Likewise.
11338 (extv, extzv, insv): Support big-endian mode.
11339 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
11340 (call_umk, call_value_umk, *call_umk, tablejump_umk,
11341 *tablejump_umk_internal, *call_value_umk): New.
11342 (*movdi_nofix): Add pattern for loading an address into a register on
11343 TARGET_ABI_UNICOSMK.
11344 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
11345 (umk_mismatch_args, arg_home_umk): New.
11346 (various insns): Don't use mov, fmov, nop, fnop and unop.
11347 (realign): Support TARGET_ABI_UNICOSMK.
11349 * config/alpha/unicosmk.h: New file.
11350 * config/alpha/t-unicosmk: New file.
11352 * fixinc/inclhack.def (unicosmk_restrict): New.
11353 * fixinc/fixincl.x: Regenerate.
11355 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
11356 (wchar_t): Check for and define __WCHAR_T__.
11358 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
11360 * combine.c (simplify_shift_const): Treat shifts by the mode
11363 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
11365 * cpphash.h (struct tokenrun): New.
11366 (struct cpp_context): New member bol.
11367 (struct cpp_reader): New members.
11368 (_cpp_init_tokenrun): New.
11369 * cppinit.c (cpp_create_reader): Set up the token runs.
11370 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
11371 (lex_token): New internalised version of _cpp_lex_token. Don't
11372 handle directives or the multiple include optimization here any
11373 more. Simply lex a token.
11374 * cpplib.c (run_directive): Clear bol.
11375 (_cpp_pop_buffer): Set bol.
11376 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
11379 2001-09-11 Michael Meissner <meissner@redhat.com>
11381 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
11382 give an error if the user uses -mfp32.
11383 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
11385 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
11386 floating point register size.
11387 (EXTRA_SPECS): Add CPP_FPR_SPEC.
11389 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
11390 HOST_WIDE_INT_PRINT_DEC to properly print the result of
11392 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11393 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11395 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
11397 * dbxout.c (dbxout_parms): Fix typo in comment.
11398 * unroll.c (loop_find_equiv_value): Ditto.
11399 * toplev.c (rest_of_compilation): Ditto.
11400 * loop.c (scan_loop): Ditto.
11401 * dwarf2out.c (struct dw_fde_struct): Ditto.
11403 2001-09-10 Zack Weinberg <zackw@panix.com>
11405 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
11406 copying identifier when we're just going to throw it away.
11407 (parse_identifier_slow): New routine to handle abnormal cases.
11408 (_cpp_lex_token): Update call site.
11410 * hashtable.c (ht_lookup): Don't assume that the string we've
11411 been given is NUL-terminated.
11412 * system.h: #define __builtin_expect(a, b) to (a) if not
11415 2001-09-10 Michael Meissner <meissner@redhat.com>
11417 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
11420 2001-09-10 David Edelsohn <edelsohn@gnu.org>
11422 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
11424 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11426 * builtins.c (c_getstr): Correct thinko in last change and further
11429 2001-09-10 Tim Freeman <tim@fungibole.com>
11431 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
11432 into varray's and register them as roots with the garbage
11433 collector so they are not collected too soon.
11435 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
11437 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
11439 * basic-block.h (flow_obstack, label_value_list,
11440 tail_recursion_label_list): Declare
11441 (tidy_fallthru_edges): Declare.
11442 (expunge_block, last_loop_beg_note): Delete.
11443 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
11445 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
11446 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
11447 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
11448 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
11449 expunge_block, flow_delete_block, compute_bb_for_insn,
11450 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
11451 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
11452 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
11453 try_redirect_by_replacing_jump, last_loop_beg_note,
11454 redirect_edge_and_branch, redirect_edge_and_branch_force,
11455 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
11456 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
11457 commit_edge_insertions, dump_flow_info, debug_flow_info,
11458 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
11459 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
11460 Move here from flow.c
11461 * cfganal.c: New file.
11462 (forwarder_block_p, can_fallthru, mark_critical_edges,
11463 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
11464 find_unreachable_blocks, create_edge_list, free_edge_list,
11465 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
11466 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
11467 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
11468 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
11469 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
11470 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
11471 Move here from flow.c
11472 * cfgbuild.c: New file
11473 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
11474 make_edges, find_basic_blocks_1, find_basic_blocks,
11475 find_sub_basic_blocks): Move here from flow.c
11476 * cfgcleanup.c: New file.
11477 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
11478 merge_blocks_move_predecessor_nojumps,
11479 merge_blocks_move_successor_nojumps, merge_blocks,
11480 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
11481 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
11482 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
11484 * cfgloop.c: New file
11485 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
11486 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
11487 flow_loop_exit_edges_find, flow_loop_nodes_find,
11488 flow_loop_pre_header_scan, flow_loop_pre_header_find,
11489 flow_loop_tree_node_add, flow_loops_tree_build,
11490 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
11491 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
11492 Move here from flow.c
11493 * flow.c: Remove everything moved elsewhere
11494 * output.h (cleanup_cfg): Return bool.
11496 * bb-reorder.c (reorder_block_def): Remove 'index'.
11497 (insert_intra_1): Add argument BB, set block for new note.
11498 (make_reorder_chain): Do not depdent on BB indexes.
11499 (make_reorder_chain_1): Do not use BB indexes.
11500 (label_for_bb): Likewise; set BB for new insn.
11501 (emit_jump_to_block_after): Likewise.
11502 (fixup_reorder_chain): Sanity check that all basic blocks
11503 are chained; verify newly created insn chain; remove
11504 undocnitional jump simplifying; Do not use BB indexes;
11505 properly initialize count and frequency information;
11506 dump reordered sequence.
11507 (insert_intra_bb_scope_notes): update call of insert_intra_1.
11508 (insert_inter_bb_scope_notes): Set block for new insn.
11509 (reorder_basic_blocks): Dump flow info before reoredering.
11511 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11513 * alias.c (clear_reg_alias_info): Use K&R format definition.
11514 Avoid unsigned warning.
11515 * builtins.c: Use "unsigned int", not "unsigned".
11516 (target_char_cast): Use host_integerp and tree_low_cst.
11517 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
11518 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
11519 (c_getstr): Likewise.
11520 (std_expand_builtin_va_arg): Use int_size_in_bytes.
11521 (builtin_memcpy_read_str): Avoid unsigned warning.
11522 (expand_builtin_memcpy): Alignments are unsigned.
11523 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
11524 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
11525 * predict.c (expensive_function_p): LIMIT now unsigned.
11526 * resource.c (mark_target_live_regs): Make some vars unsigned.
11527 * sdbout.c: Use "unsigned int", not "unsigned".
11528 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
11529 (sdbout_source_line): Likewise.
11530 (sdbout_record_type_name): Remove "const" for NAME declaration.
11531 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
11533 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
11535 * calls.c (store_one_arg): Expand comment.
11537 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11539 * calls.c (store_one_arg): Make sure that the entire argument is
11540 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
11542 2001-09-09 Richard Henderson <rth@redhat.com>
11544 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
11546 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
11548 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
11550 2001-09-09 Richard Henderson <rth@redhat.com>
11552 * config/alpha/alpha.c (alpha_next_sequence_number): New.
11553 (alpha_this_literal_sequence_number): New.
11554 (alpha_this_gpdisp_sequence_number): New.
11555 (some_operand, input_operand): Add HIGH.
11556 (local_symbolic_operand): New.
11557 (alpha_encode_section_info): New.
11558 (alpha_legitimate_address_p): Allow LO_SUM.
11559 (alpha_legitimize_address): Generate HIGH+LO_SUM.
11560 (alpha_expand_mov): Likewise.
11561 (secondary_reload_class): Check memory_operand not general_operand
11563 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
11564 (alpha_expand_unaligned_store): Likewise.
11565 (alpha_expand_unaligned_load_words): Likewise.
11566 (alpha_expand_unaligned_store_words): Likewise.
11567 (alpha_expand_block_clear): Likewise.
11568 (print_operand): Handle %#, %*, %H.
11569 (print_operand_address): Handle LO_SUM.
11570 (find_lo_sum): New.
11571 (alpha_does_function_need_gp): Use it.
11572 (alpha_expand_block_move): Fix signed compare warnings.
11573 (alpha_sa_mask, alpha_align_insns): Likewise.
11574 * config/alpha/alpha-protos.h: Update.
11575 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
11576 (MASK_EXPLICIT_RELOCS): New.
11577 (TARGET_SWITCHES): Add -mexplicit-relocs.
11578 (EXTRA_CONSTRAINT): Add 'T'.
11579 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
11580 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
11581 (ENCODE_SECTION_INFO): Out line.
11582 (REDO_SECTION_INFO_P): New.
11583 (STRIP_NAME_ENCODING): New.
11584 (ASM_OUTPUT_LABELREF): New.
11585 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
11586 (PREDICATE_CODES): Update.
11587 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
11588 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
11589 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
11590 builtin_setjmp_receiver_er, exception_receiver_1_er,
11591 call_value_osf_1_er): New patterns.
11592 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
11593 (movqi, movhi, movsi): Add explicit $31 base register to lda.
11594 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
11595 (FINAL_PRESCAN_INSN): New.
11597 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
11599 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
11601 2001-09-08 Andreas Jaeger <aj@suse.de>
11603 * i386.h (TARGET_SWITCHES): Fix description.
11605 2001-09-07 David Edelsohn <edelsohn@gnu.org>
11607 * rs6000.c (num_insns_constant): Compute number of instructions
11610 * doc/install.texi: Explain AIX exception handling work-around.
11611 Update URL for AIX fixes.
11613 2001-09-07 Jim Wilson <wilson@redhat.com>
11615 * alias.c (clear_reg_alias_info): New.
11616 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
11617 * rtl.h (clear_reg_alias_info): Declare.
11619 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11621 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
11623 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
11624 (m16m,edivm,emulm): Change declaration to match definition.
11626 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11628 * reload.c (push_reload): Check for subreg_lowpart_p instead of
11629 SUBREG_BYTE being 0 when determining if the inner part of a subreg
11632 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11634 * c-common.c (signed_or_unsigned_type): Handle machine mode types
11635 which have no corresponding C type.
11636 * fold_const.c (target_isinf,target_isnan,target_negative): Update
11637 the representation of 64-bit doubles to work with 64-bit ints.
11639 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
11641 * config/mips/mips.c (override_options): Do not override ISA when ABI
11642 specified if MIPS_CPU_STRING_DEFAULT was specified.
11644 2001-09-07 Richard Henderson <rth@redhat.com>
11646 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
11647 (express_from_1): Wrap lines.
11648 * rtlanal.c (commutative_operand_precedence): Rename from
11649 operand_preference; export.
11650 * rtl.h: Declare it.
11651 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
11652 (simplify_binary_operation): Invoke simplify_plus_minus on
11653 (CONST (PLUS ...)) as well.
11654 (struct simplify_plus_minus_op_data): New.
11655 (simplify_plus_minus_op_data_cmp): New.
11656 (simplify_plus_minus): Use them. Avoid infinite recursion with
11657 simplify_binary_operation wrt CONST.
11659 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
11661 * h8300-protos.h (general_operand_dst_push): Remove.
11662 * h8300.c (general_operand_dst_push): Likewise.
11663 * h8300.h (OK_FOR_T): Likewise.
11664 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
11665 * h8300.md (pushqi_h8300): New.
11666 (pushqi_h8300hs): Likewise.
11667 (pushqi): Likewise.
11668 (pushhi_h8300): Likewise.
11669 (pushhi_h8300hs): Likewise.
11670 (pushhi): Likewise.
11672 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11674 * genattrtab.c (attr_printf): First arg is unsigned.
11675 Clean up formatting of callers.
11677 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
11679 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
11682 2001-09-07 Andreas Jaeger <aj@suse.de>
11684 * i386.h (TARGET_SWITCHES): Fix descriptions.
11686 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11688 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
11690 2001-09-06 Ira Ruben <ira@apple.com>
11692 Remove OP_IDENTIFIER.
11693 * tree.def (OP_IDENTIFIER): Remove.
11694 * tree.c (tree_node_kind enum): Remove op_id_kind.
11695 (tree_node_kind_names): Remove "op_identifiers".
11696 (make_node): Remove OP_IDENTIFIER test.
11697 (build_op_identifier): Removed because it isn't being used.
11698 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
11699 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
11701 2001-09-06 Richard Henderson <rth@redhat.com>
11703 * simplify-rtx.c (simplify_binary_operation): Revert last change.
11705 2001-09-06 Richard Henderson <rth@redhat.com>
11707 * simplify-rtx.c (simplify_binary_operation): Simplify contents
11710 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11712 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
11713 number used for CR register.
11715 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11716 Joern Rennecke (amylaar@cygnus.com)
11718 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
11719 * h8300.c (initial_offset): Handle offset between RP and FP.
11720 (h8300_return_addr_rtx): New function.
11721 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
11723 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
11724 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
11725 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
11726 (CAN_ELIMINATE, REGISTER_NAMES):
11727 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
11729 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
11731 Remove TYPE_NONCOPIED_PARTS.
11732 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
11733 (struct tree_type): Remove noncopied_parts.
11734 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
11735 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
11736 (fixed_type_p): Remove.
11737 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
11738 (expand_expr, MODIFY_EXPR): Likewise.
11739 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
11740 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
11742 2001-09-06 Alan Modra <amodra@bigpond.net.au>
11744 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
11746 (mask64_operand): Likewise.
11747 (includes_rldic_lshift_p): Likewise.
11748 (includes_rldicr_lshift_p): Likewise.
11750 2001-09-05 Ziemowit Laski <zlaski@apple.com>
11752 * objc/objc-act.c (build_message_expr): If a class method cannot
11753 be found, do not issue a warning if a corresponding instance
11754 method exists in the root class.
11756 2001-09-05 Richard Henderson <rth@redhat.com>
11758 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
11760 2001-09-05 Zack Weinberg <zack@codesourcery.com>
11762 * function.c (ggc_mark_struct_function): Mark f->outer.
11763 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
11764 * integrate.c (output_inline_function): ... not here.
11766 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
11768 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
11770 * i386.c (size_cost): New static variable.
11771 (override_function): Use size_cost when -Os is specified.
11773 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
11774 properly; Use current_function_calls_eh_return.
11775 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
11776 use leave to avoid dependency chain.
11778 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
11779 get BB loop_depth instead of computing it from LOOP notes.
11781 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
11783 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11785 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
11786 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11787 UNALIGNED_DOUBLE_INT_ASM_OP): Define
11789 2001-09-05 Jeffrey A Law (law@cygnus.com)
11790 Jason Merrill (jason@redhat.com)
11792 * stor-layout.c (layout_type): Complain if an array's size can
11793 not be represented in a size_t.
11795 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
11797 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
11799 * gcc.c: (process_command) Add parentheses around assignment
11800 used as truth value.
11802 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11804 * config/mips/mips.c (save_restore_insns): Don't mark any register
11805 save slots as unchanging if current_function_calls_eh_return.
11807 2001-09-05 Richard Henderson <rth@redhat.com>
11809 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
11810 * config/alpha/alpha-protos.h: Declare it.
11811 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
11812 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
11813 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
11814 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
11815 (REG_OK_FOR_BASE_P): Select one of the above.
11817 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11819 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
11820 (crti.o): Prefix name of object file with $(T).
11821 (crtn.o): Likewise.
11823 2001-09-05 David S. Miller <davem@redhat.com>
11825 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
11826 * config/sparc/linux64.h: Likewise.
11828 2001-09-05 Andreas Jaeger <aj@suse.de>
11830 * doc/invoke.texi (i386 Options): -mwide-multiply is not
11831 available anymore, remove the documentation.
11832 (i386 Options): Fix typo, cleanup index entries.
11834 * prefix.c (concat): Remove, we can use the version from liberty.
11836 2001-09-05 Richard Henderson <rth@redhat.com>
11838 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
11839 New functions split out of md file expanders.
11840 * config/alpha/alpha-protos.h: Declare them.
11841 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
11843 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
11845 * cppmacro.c (funlike_invocation_p): No need to restore context.
11847 2001-09-04 Richard Henderson <rth@redhat.com>
11849 * reload.c (push_reload): Export.
11850 * reload.h (push_reload): Declare it.
11852 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
11853 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
11854 * config/alpha/alpha.c (alpha_legitimize_address): New.
11855 (alpha_legitimize_reload_address): Likewise.
11856 * config/alpha/alpha-protos.h: Declare them.
11858 2001-09-04 Stan Shebs <shebs@apple.com>
11860 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
11861 * config/darwin.c (machopic_stub_name): Account for internally
11862 generated lib calls such as memcpy.
11864 2001-09-04 Richard Henderson <rth@redhat.com>
11866 * unwind.h (_UA_END_OF_STACK): New flag.
11867 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
11869 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11871 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
11873 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
11875 * config/mips/mips.c (save_restore_insns): Change base_offset to
11876 fp_offset in second call to mips_emit_frame_related_store.
11878 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
11880 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
11881 sometimes be represented as a NOTE of type
11882 NOTE_INSN_DELETED_LABEL.
11883 (Insns): Document NOTE_INSN_DELETED_LABEL.
11885 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
11887 * c-common.h (tree_dump_index): Add more comments.
11888 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
11889 (dump_option_value_info): New struct.
11890 (dump_options): New array.
11891 (dump_switch_p): Parse switch options symbolically.
11892 * doc/invoke.texi (-fdump-ast): Rename to ...
11893 (-fdump-tree): ... here. Document that options are symbolic, and
11894 not all are applicable.
11896 2001-09-04 David S. Miller <davem@redhat.com>
11898 * config/sparc/sparc.md (define_splits): Kill constraints.
11900 Cleanup redundant and unused insn attributes.
11901 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
11902 binary, and move. Mark ialu as default.
11903 (commented out define_function_unit "alu"): Kill.
11904 (define_attr "use_clobbered"): Kill.
11905 (whole file): Kill address insn type references. Replace
11906 all unary/binary/move references with ialu.
11907 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
11908 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
11911 Simplify length insn attribute and make more judicious use
11912 of insn attribute defaulting.
11913 * config/sparc/sparc.md (all insns with length > one): Mark as
11914 insn type multi if real instructions, else use default if
11915 it is a forced splitter.
11916 (all insns with length == one): Use default insn length.
11917 (all insns of type ialu): Use default insn type.
11919 Fix erroneous insn attribute settings.
11920 (addx): Set insn type to misc.
11921 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
11922 const_umulsidi3_sp64): Set insn type to imul.
11924 Track SFmode vs DFmode insns according to UltraSPARC
11926 * config/sparc/sparc.md ("fptype"): New attribute, default
11928 (all DFmode single insns): Mark as fptype "double".
11930 2001-09-03 Jakub Jelinek <jakub@redhat.com>
11932 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
11934 2001-09-03 Richard Henderson <rth@redhat.com>
11936 * function.h (struct function): Add arg_pointer_save_area_init.
11937 * function.c (expand_function_end): Init arg_pointer_save_area.
11938 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
11939 when called from a nested function.
11941 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
11943 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
11946 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11948 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
11950 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
11952 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
11953 (emit_push_insn): Use specified padding direction when
11954 STACK_PUSH_CODE is POST_INC.
11956 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
11958 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11960 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
11962 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
11964 * cppinit.c (cpp_start_read): Free the imacros list as we
11965 traverse it. Don't free the chains before returning.
11966 (_cpp_push_next_buffer): Only try pushing buffers if we've
11967 completed -imacros handling.
11969 2001-08-31 Eric Christopher <echristo@redhat.com>
11971 * gcc.c (handle_braces): Add explaination for abort.
11973 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
11975 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
11976 move adjustment of bitpos instead.
11978 2001-08-31 Zack Weinberg <zack@codesourcery.com>
11980 * function.c: Remove all_functions. Make outer_function_chain
11982 (init_function_start): Don't add new function structure to
11984 (find_function_data, push_function_context_to,
11985 pop_function_context_from, put_var_into_stack,
11986 trampoline_address): Update for changed structure element names.
11987 (push_function_context_to): Disentangle.
11988 (free_after_compilation): Also free F.
11989 (expand_dummy_function_end): Don't free cfun here.
11990 (put_var_into_stack): Comment why we can't use find_function_data here.
11991 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
11992 (mark_function_chain): Split into maybe_mark_struct_function and
11993 ggc_mark_struct_function. Export the latter.
11994 (init_function_once): Mark from cfun and outer_function_chain;
11997 * function.h (struct function): Kill next_global. Rename next
11998 to outer. All users updated to match.
11999 (all_functions, outer_function_chain): Don't declare.
12001 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
12002 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
12003 don't touch f->inlinable, after calling rest_of_compilation.
12005 * tree.h: Forward-declare struct function. Prototype
12006 ggc_mark_struct_function.
12008 2001-08-31 Kazu Hirata <kazu@hxi.com>
12010 * config/h8300/h8300.md (*andorhi3): Fix typos.
12012 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12014 * calls.c (emit_library_call_value): Don't use a fixed
12015 argument after VA_CLOSE, i.e. out of scope in traditional C.
12017 * emit-rtl.c (gen_rtvec): Likewise.
12019 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12021 * Makefile.in (c-pragma.o): Depend on output.h.
12022 (reorg.o): Depend on except.h.
12024 * c-pragma.c: Include output.h.
12026 * reorg.c: Include except.h.
12028 * unwind-dw2.c: Call __builtin_alloca, not alloca.
12030 2001-08-31 Richard Henderson <rth@redhat.com>
12032 * sched-deps.c (add_dependence): Don't elide dependency if the
12033 conditional used by insn is modified in elem.
12035 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
12037 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
12039 2001-08-31 Diego Novillo <dnovillo@redhat.com>
12041 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
12044 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
12046 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
12048 (stormy16_asm_out_constructor): New function.
12049 (TARGET_ASM_CONSTRUCTOR): Define.
12050 (TARGET_ASM_DESTRUCTOR): Define.
12052 2001-08-31 Andreas Jaeger <aj@suse.de>
12054 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
12055 * loop.c (add_label_notes): Likewise.
12056 * reload.c (find_reloads): Likewise.
12057 * config/sh/sh.c (machine_dependent_reorg): Likewise.
12059 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
12061 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
12062 code here. Take _Unwind_{W,Sw}ord*.
12063 (read_encoded_value_with_base): Use them.
12064 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
12066 (extract_cie_info): Simplify read_?leb128 handling.
12067 (execute_stack_op, execute_cfa_program): Likewise.
12068 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
12070 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
12072 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
12073 the frame pointer to pop the stack if convenient.
12075 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
12076 Don't use post-increment before combine.
12077 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
12078 a call-saved register.
12080 2001-08-31 Andreas Jaeger <aj@suse.de>
12082 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
12085 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
12087 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
12088 not DIV/MOD, of course.
12090 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
12092 * rtl.def: Undo my patch commited 2001-08-27.
12094 * genattrtab.c: Ditto.
12098 * sched-int.h: Ditto.
12100 * target-def.h: Ditto.
12104 * haifa-sched.c: Ditto.
12106 * sched-rgn.c: Ditto.
12108 * sched-vis.c: Ditto.
12110 * Makefile.in: Ditto.
12112 * doc/md.texi: Ditto.
12114 * doc/tm.texi: Ditto.
12116 * doc/contrib.texi: Ditto.
12118 * doc/gcc.texi: Ditto.
12120 * genattrtab.h: Remove it.
12122 * genautomata.c: Remove it.
12124 * genattr.c: Undo my patch and Richard Henderson's patch commited
12127 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
12129 * config.gcc (h8300-*-elf*): New case.
12130 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
12131 (SUBTARGET_CPP_SPEC): Define.
12132 (EXTRA_SPECS): Define.
12133 (SUBTARGET_EXTRA_SPECS): Define.
12134 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
12135 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
12137 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
12139 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
12140 (LIB2FUNCS_EXTRA): Define.
12141 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
12142 config/h8300/fixunssfsi.c: New file.
12144 2001-08-30 Kazu Hirata <kazu@hxi.com>
12146 * config/h8300/h8300.md (zero_extendqihi2): Changes to
12147 define_expand to accommodate target-specific attributes.
12148 (anonymous zero_extendqihi2 patterns): New.
12150 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
12152 * h8300.md (*andorhi3): New pattern.
12154 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
12156 * h8300.c (dosize): Fix test for "sub".
12158 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
12160 * c-typeck.c (pointer_diff): Try to eliminate common term before
12163 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
12165 * config/arm/arm.c (arm_compute_initial_elimination_offset):
12166 Account for the saves of the FP registers.
12168 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
12169 (TEXT_SECTION_ASM_OP): Define.
12170 (INIT_SECTION_ASM_OP): Define.
12171 (FINI_SECTION_ASM_OP): Define.
12172 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
12173 (RDATA_SECTION_FUNCITON): Provide prototype.
12175 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
12177 * reload1.c (move2add_note_store): Correct typo checking for
12180 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
12182 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
12183 note should not be considered outside the libcall block.
12185 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12187 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
12189 2001-08-29 Kazu Hirata <kazu@hxi.com>
12191 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
12193 2001-08-29 Kazu Hirata <kazu@hxi.com>
12195 * config/h8300/h8300-protos.h: Add a prototype for
12197 * config/h8300/h8300.c (emit_logical_op): New.
12198 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
12199 (andsi3): Likewise.
12200 (iorhi3): Likewise.
12201 (iorsi3): Likewise.
12202 (xorhi3): Likewise.
12203 (xorsi3): Likewise.
12205 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12207 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
12208 comparison with rtx INTVAL.
12209 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
12211 * pa.h (FUNCTION_ARG_SIZE): Likewise.
12213 2001-08-29 Kazu Hirata <kazu@hxi.com>
12215 * config/h8300/lib1funcs.asm: Update the copyright. Fix
12218 2001-08-29 Kazu Hirata <kazu@hxi.com>
12220 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
12221 (reg n) to (mem (pre_dec (reg n))
12222 (anonymous movsi pattern): Likewise.
12224 2001-08-29 Kazu Hirata <kazu@hxi.com>
12226 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
12228 2001-08-29 Kazu Hirata <kazu@hxi.com>
12230 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
12231 several special constants.
12233 2001-08-29 Kazu Hirata <kazu@hxi.com>
12235 * config/h8300/lib1funcs.asm: Fix comment typos.
12237 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12239 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
12240 Fix format specifier warnings.
12242 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
12243 inet_makeaddr, semctl): Prototype.
12245 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
12246 (save_restore_insns): Use base_offset, not gp_offset.
12248 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
12249 (ASM_OUTPUT_BYTE): Fix format specifier warning.
12251 2001-08-29 Richard Henderson <rth@redhat.com>
12253 * bb-reorder.c (function_tail_eff_head): New.
12254 (record_effective_endpoints): Set it.
12255 (fixup_reorder_chain): Use it.
12257 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12259 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
12261 2001-08-28 Dale Johannesen <dalej@apple.com>
12263 * config/darwin.c (machopic_function_base_name): Add const
12264 qualifier to a string.
12265 (darwin_encode_section_info): Ditto.
12267 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12269 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
12270 function definition.
12272 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12274 * df.h (struct df): Add rts_order variable.
12276 * df.c (df_visit_next_rts): New function.
12277 (df_visit_next): Renamed to df_visit_next_rc
12278 (df_analyse_1): Allocate/compute/free rts_order as well.
12279 (df_rd_global_compute): Use df_visit_next_rc instead of
12281 (df_ru_global_compute): Use df_visit_next_rts instead of
12284 * flow.c (flow_reverse_top_sort_order_compute): New function.
12286 * basic-block.h: Add prototype.
12288 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12290 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
12291 blocks, the BB_REACHABLE is now set, rather than aux being
12292 non-NULL. Update the test to reflect this.
12294 2001-08-28 Eric Christopher <echristo@redhat.com>
12296 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
12297 config/mips/crti.asm: Ditto.
12299 2001-08-28 Eric Christopher <echristo@redhat.com>
12300 Richard Henderson <rth@redhat.com>
12302 * c-pragma.h (add_weak): Move prototype from here...
12303 * output.h (add_weak): ... to here.
12304 * varasm.c (add_weak): Fix typo.
12305 * config/mips/crti.asm: New file.
12306 * config/mips/crtn.asm: Ditto.
12307 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
12308 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
12309 (INVOKE__main): Ditto.
12310 (INIT_SECTION_ASM_OP): New.
12311 (FINI_SECTION_ASM_OP): Ditto.
12312 (STARTFILE_SPEC): Add crti.
12313 (ENDFILE_SPEC): Add crtn.
12314 * config/mips/elf64.h: Same.
12315 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
12317 * config/mips/vxworks.h: Ditto.
12318 * config/mips/t-elf: Support crti and crtn.
12320 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
12322 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
12325 2001-08-28 Richard Henderson <rth@redhat.com>
12327 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
12328 (one_cmplbi2 splitter): Remove redundant test.
12330 2001-08-28 Dale Johannesen <dalej@apple.com>
12332 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
12334 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
12336 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
12338 2001-08-28 Stan Shebs <shebs@apple.com>
12340 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
12341 (UNALIGNED_SHORT_ASM_OP): Define.
12342 (UNALIGNED_INT_ASM_OP): Define.
12344 2001-08-28 Will Cohen <wcohen@redhat.com>
12346 * config/rs6000/rs6000.md (store_multiple): Correct RTL
12347 generation for first set.
12349 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12351 * flow.c (redirect_edge_succ_nodup): Return new edge.
12352 (try_simplify_condjump): Use new edge.
12353 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
12355 * cse.c (cse_basic_block): Skip note instructions.
12357 2001-08-27 Richard Henderson <rth@redhat.com>
12359 * combine.c (combine_simplify_rtx): Don't reverse condition
12360 if there is no reverse for the condition.
12361 (simplify_comparison): Don't simplify subregs from INT to FP.
12363 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
12364 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
12365 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
12366 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
12367 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
12368 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
12370 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12372 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
12373 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
12375 (adddi_dilshr32, adddi_dishl32): Only data register can be
12376 source for mem destination.
12378 * expmed.c (store_bit_field): Ignore adjustment to bitpos
12379 and use bitnum to decide about register move.
12381 2001-08-27 Richard Henderson <rth@redhat.com>
12383 * genattr.c (main): Emit state_t even when not doing scheduling.
12385 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12386 Richard Henderson <rth@redhat.com>
12388 * gcse.c (reg_first_set, reg_last_set): Replace with ...
12389 (reg_avail_info, current_bb): ... these.
12390 (oprs_unchanged_p, record_last_reg_set_info): Use them.
12391 (compute_hash_table): Likewise.
12393 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12395 * flow.c (verify_flow_info): Use checksums to verify edges.
12397 2001-08-27 Richard Henderson <rth@redhat.com>
12399 * genautomata.c (expand_automata): Always create a description.
12401 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12403 * optabs.c (expand_binop): Correctly handle the carry in multiword
12404 add/subtract operations.
12406 2001-08-27 Fred Fish <fnf@be.com>
12408 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
12411 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12413 * reload.c (find_reloads_toplev): Back out this change:
12415 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
12417 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
12418 mem if the address is a mode_dependent_address_p.
12420 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
12422 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
12423 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
12424 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
12427 * genattr.c (main): New variable num_insn_reservations. Increase
12428 it if there is DEFINE_INSN_RESERVATION. Output automaton based
12429 pipeline hazard recognizer interface.
12431 * genattrtab.h: New file.
12433 * genattrtab.c: Include genattrtab.h.
12434 (attr_printf, check_attr_test, make_internal_attr,
12435 make_numeric_value): Move protypes into genattrtab.h. Define them
12437 (num_dfa_decls): New global variable.
12438 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
12439 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
12440 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
12441 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
12443 * genautomata.c: New file.
12445 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
12447 * sched-int.h: (curr_state): Add the external definition for
12448 automaton pipeline interface.
12449 (haifa_insn_data): Add comments for members blockage and units.
12451 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12452 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12453 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12454 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12455 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12456 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12457 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
12459 (TARGET_SCHED): Use the new macros.
12461 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
12462 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
12463 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
12464 dfa_bubble): New members in gcc_target.sched.
12466 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
12467 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
12468 (insn_queue): Redefine it as pointer to array.
12469 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
12471 (max_insn_queue_index_macro_value): New variable.
12472 (curr_state, dfa_state_size, ready_try): New varaibles for
12473 automaton interface.
12474 (ready_element, ready_remove, max_issue): New function prototypes
12475 for automaton interface.
12476 (choose_ready): New function prototype.
12477 (insn_unit, blockage_range): Add comments.
12478 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
12479 FUNCTION_UNITS_SIZE == 0.
12480 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
12481 actual_hazard, potential_hazard): Add comments.
12482 (insn_cost): Use cost -1 as undefined value. Remove
12483 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
12484 pipeline interface.
12485 (ready_element, ready_remove): New functions for automaton
12487 (schedule_insn): Add new code for automaton pipeline interface.
12488 (queue_to_ready): Add new code for automaton pipeline interface.
12489 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
12490 (debug_ready_list): Print newline when the queue is empty.
12491 (max_issue): New function for automaton pipeline interface.
12492 (choose_ready): New function.
12493 (schedule_block): Add new code for automaton pipeline interface.
12494 Print ready list before scheduling each insn.
12495 (sched_init): Add new code for automaton pipeline interface.
12496 Initiate insn cost by -1.
12497 (sched_finish): Free the current automaton state and finalize
12498 automaton pipeline interface.
12500 * sched-rgn.c: Include target.h.
12501 (init_ready_list, new_ready, debug_dependencies): Add new code for
12502 automaton pipeline interface.
12504 * sched-vis.c: Include target.h.
12505 (get_visual_tbl_length): Add code for automaton interface.
12506 (target_units, print_block_visualization): Add comments.
12508 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
12509 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
12510 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
12511 (getruntime.o, genautomata.o): New entries.
12512 (genattrtab.o): Add new dependency file genattrtab.h.
12513 (genattrtab): Add new dependencies. Link it with `libm.a'.
12514 (getruntime.o, hashtab.o): New entries for canadian cross.
12516 * doc/md.texi: Description of automaton based model.
12518 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
12520 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12521 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12522 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12523 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12524 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12525 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12526 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
12528 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
12529 MAX_DFA_ISSUE_RATE): New macro descriptions.
12531 * doc/contrib.texi: Add dfa based scheduler contribution.
12533 * doc/gcc.texi: Add more information about genattrtab.
12535 2001-08-27 Diego Novillo <dnovillo@redhat.com>
12537 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
12538 an RTL basic block.
12540 2001-08-27 Richard Henderson <rth@redhat.com>
12542 * function.c (expand_function_end): Don't init arg_pointer_save_area.
12543 (get_arg_pointer_save_area): New. Create an init it here.
12544 (fix_lexical_addr): Use it.
12545 * function.h: Declare it.
12546 * builtins.c (expand_builtin_setjmp_receiver): Use it.
12547 * stmt.c (expand_nl_goto_receiver): Use it.
12549 2001-08-27 Richard Henderson <rth@redhat.com>
12551 * final.c (final_scan_insn): Don't enter APP_ON mode for
12554 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
12555 alignment for assemble_integer for DW_EH_PE_aligned.
12556 * except.c (output_function_exception_table): Likewise.
12558 2001-08-26 Andreas Jaeger <aj@suse.de>
12560 * c-tree.h: Add prototyp for c_sizeof_nowarn.
12562 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
12564 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
12566 2001-08-27 Alan Modra <amodra@bigpond.net.au>
12568 * config/rs6000/rs6000.c (mask_operand): Rewrite without
12570 (mask64_operand): Likewise.
12571 (rldic_operand): Delete.
12572 (includes_lshift64_p): Delete.
12573 (includes_rldic_lshift_p): New function.
12574 (includes_rldicr_lshift_p): New function.
12575 (print_operand): Don't call rldic_operand in case 'W'.
12576 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
12577 (includes_lshift64_p): Remove.
12578 (includes_rldic_lshift_p): Declare.
12579 (includes_rldicr_lshift_p): Declare.
12580 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
12581 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
12582 Replace match_operand rldic_operand predicate with
12583 const_int_operand. Replace includes_lshift64_p condition with
12584 includes_rldic_lshift_p.
12585 <ashldi3_internal 64 bit rldicr patterns>: New.
12587 2001-08-27 Andreas Jaeger <aj@suse.de>
12589 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
12590 * errors.c: Likewise.
12591 * final.c: Likewise.
12592 * dwarf2asm.c: Likewise.
12593 * doprint.c (checkit): Likewise.
12594 * diagnostic.c: Likewise.
12595 * collect2.c: Likewise.
12596 * calls.c: Likewise.
12597 * c-semantics.c (build_stmt): Likewise.
12598 * c-format.c (status_warning): Likewise.
12599 * c-errors.c (pedwarn_c99): Likewise.
12600 * builtins.c (validate_arglist): Likewise.
12601 * config/pj/pj.c (pj_printf): Likewise.
12602 * fix-header.c: Likewise.
12604 * gcov.c (fnotice): Likewise.
12605 * gensupport.c (message_with_line): Likewise.
12606 * mips-tfile.c: Likewise.
12607 * protoize.c (notice): Likewise.
12608 * read-rtl.c (fatal_with_file_and_line): Likewise.
12609 * rtl-error.c: Likewise.
12610 * tradcpp.c: Likewise.
12611 * tree.c: Likewise.
12612 * cp/tree.c (build_min_nt): Likewise.
12613 (build_min): Likewise.
12614 * cp/lex.c: Likewise.
12615 * cp/errfn.c: Likewise.
12616 * cp/rtti.c (create_pseudo_type_info): Likewise.
12618 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
12620 * df.c (df_uses_record): Return after recording all uses
12623 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
12625 * df.c (df_insn_modify): Realloc the INSN table here, if
12626 necessary, here, too.
12628 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
12630 * config/mips/mips.c (mips_function_value): Handle complex return
12633 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
12635 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
12637 * reload.c (make_memloc): Copy result if it is still
12638 reg_equiv_memory_loc[regno] on return.
12639 (subst_reloads) [ENABLE_CHECKING]: Check that none of
12640 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
12641 reg_equiv_mem are modified by the substitutions.
12643 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12645 * predict.c (expensive_function_p): New.
12646 * rtl.h (expensive_function_p): Declare.
12647 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
12648 (use_fast_prologue_epilogue): New static variable.
12649 (expand_prologue): Set it; emit short prologues if unset.
12650 (expand_epilogue): Likewise.
12652 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12654 * config.gcc: Add stormy16-*-elf case.
12655 * config/stormy16/stormy-abi: New file.
12656 * config/stormy16/stormy16-lib2.c: New file.
12657 * config/stormy16/stormy16-protos.h: New file.
12658 * config/stormy16/stormy16.c: New file.
12659 * config/stormy16/stormy16.h: New file.
12660 * config/stormy16/stormy16.md: New file.
12661 * config/stormy16/t-stormy16: New file.
12663 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
12665 * i386.h (no-accumulate-outgoing-args): Use proper mask.
12667 2001-08-24 David Edelsohn <edelsohn@gnu.org>
12669 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
12670 descriptor members are pointer size, not constant 4.
12671 * config/rs6000/rs6000.md (define_splits): Remove more unused
12674 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12676 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
12678 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
12680 * cp/rtti.c (VPARAMS): Fix parameter.
12682 2001-08-24 Zack Weinberg <zackw@panix.com>
12684 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
12686 (mode_for_extraction): No need for #ifdefs. Add default-case abort
12688 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
12689 in if controlling use of insv.
12690 (extract_bit_field): Likewise, for extv and extzv.
12692 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
12694 * i386.md (movcc peep2): Fix load of 0.
12696 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12698 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
12699 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
12701 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
12703 * c-pragma.h: Move weak_syms and weak_decls...
12704 * varasm.c: ...here. Now static.
12705 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
12706 depend on HANDLE_PRAGMA_WEAK.
12708 * c-common.c (c_alignof, c_alignof_expr): Move here...
12709 * c-typeck.c: ...from here.
12710 * c-tree.h, c-common.h: Adjust.
12712 2001-08-23 Bernd Schmidt <bernds@redhat.com>
12714 * config/ia64/ia64.c (rws_update): If !pred, set write_count
12715 instead of incrementing it.
12717 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
12718 asm ready, don't try to move them all into the same array element.
12720 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12722 * function.c (thread_prologue_and_epilogue_insns): Avoid
12723 fallthru flag on edge to exit.
12725 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
12727 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
12730 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12732 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
12733 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
12734 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
12737 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12739 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
12740 replace "GNU CC" with "GCC".
12742 2001-08-23 Richard Henderson <rth@redhat.com>
12744 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
12745 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
12746 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
12747 Need GR between FR and not GR_AND_FR.
12748 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
12749 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
12750 AR regs before GR regs.
12751 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
12752 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
12753 (REGISTER_MOVE_COST): Update.
12754 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
12756 2001-08-23 Richard Henderson <rth@redhat.com>
12758 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
12761 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12763 * reload1.c (emit_reload_insns): Don't look for notes
12764 on a NULL store_insn.
12766 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12768 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
12769 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
12770 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
12771 format specifier warnings.
12772 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
12774 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
12776 * config/i386/i386-protos.h: Correct declaration of
12777 i386_pe_asm_named_section.
12779 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
12781 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
12783 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
12785 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12787 * cpperror.c (print_location): Don't show _Pragma.
12788 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
12789 and file change callback generation here.
12790 (stack_include_file): Update use of cpp_push_buffer.
12791 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
12792 (struct cpp_buffer): Remove type, pfile members.
12793 * cppinit.c (cpp_handle_option): Use free_chain.
12794 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
12795 (skip_escaped_newlines, get_effective_char, lex_percent): Take
12796 a cpp_reader rather than a cpp_buffer.
12797 (skip_escaped_newlines, get_effective_char, skip_block_comment,
12798 skip_line_comment, parse_string, lex_percent, lex_dot,
12799 _cpp_lex_token): Update accordingly.
12800 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
12802 (cpp_push_buffer): Update prototype.
12803 (run_directive): Update use of cpp_push_buffer.
12804 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
12805 handle_assertion): Update use of run_directive.
12806 * cpplib.h (enum cpp_buffer_type): Remove.
12807 (cpp_push_buffer): Update prototype.
12808 * fix-header.c (read_scan_file): Update.
12810 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12812 * gcc.c (struct prefix_list): Change prefix to const char *.
12814 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12816 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
12818 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
12820 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
12823 * jump.c (squeeze_notes): Take parms by reference. Handle END being
12826 * ifcvt.c (dead_or_predicable): Adjust.
12827 * loop.c (find_and_verify_loops): Adjust.
12828 * stmt.c (expand_end_case): Adjust.
12829 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
12830 head and end insn pointers in the basic block, not just local copies.
12831 (merge_blocks_move_predecessor_nojumps): Likewise.
12833 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
12835 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
12836 bitmap.h, builtin-types.def, builtins.c, builtins.def,
12837 c-aux-info.c, c-common.c, c-common.def, c-common.h,
12838 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
12839 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
12840 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
12841 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
12842 conditions.h, config.gcc, configure.frag, configure.in,
12843 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
12844 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
12845 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
12846 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
12847 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
12848 emit-rtl.c, errors.c, errors.h, except.c, except.h,
12849 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
12850 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
12851 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
12852 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
12853 gencheck.c, gencodes.c, genconfig.c, genemit.c,
12854 genextract.c, genflags.c, gengenrtl.c, genmultilib,
12855 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
12856 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
12857 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
12858 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
12859 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
12860 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
12861 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
12862 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
12863 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
12864 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
12865 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
12866 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
12867 params.h, predict.c, predict.def, predict.h, prefix.c,
12868 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
12869 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
12870 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
12871 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
12872 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
12873 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
12874 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
12875 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
12876 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
12877 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
12878 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
12879 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
12880 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
12881 xcoffout.h: replace "GNU CC" with "GCC".
12883 2001-08-21 Richard Henderson <rth@redhat.com>
12885 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
12886 (final_scan_insn): Consider jump tables data even if we have no
12887 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
12889 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
12890 (ASM_OUTPUT_CASE_END): Remove.
12891 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
12892 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
12893 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
12895 2001-08-21 Richard Henderson <rth@redhat.com>
12897 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
12898 at barrier insns. Emit stop bits before barriers.
12900 * flow.c (flow_find_cross_jump): Don't consider unconditional
12901 return insns for commoning.
12903 * final.c (compute_alignments): Fix typo.
12905 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
12906 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
12907 (store_bit_field): Use mode_for_extraction more places.
12908 (extract_bit_field): Likewise.
12910 2001-08-21 Zack Weinberg <zackw@panix.com>
12912 * caller-save.c: Don't include insn-codes.h.
12913 (reg_save_code, reg_restore_code): Make arrays of int.
12914 All uses updated to match.
12915 (insert_save, insert_restore): No need to initialize "code"
12916 variable upon declaration.
12917 * Makefile.in: update dependencies; fix typo in clean rule.
12919 2001-08-21 Richard Henderson <rth@redhat.com>
12921 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
12922 (merge_if_block): Handle fallout from same.
12924 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12926 * builtins.c (type_to_class): Fix typo in last change.
12928 2001-08-21 Richard Henderson <rth@redhat.com>
12930 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
12931 ia64_asm_output_label.
12933 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
12934 copy of gp while the real gp register contains garbage.
12936 2001-08-21 Zack Weinberg <zackw@panix.com>
12938 * expmed.c (mode_for_extraction): New function.
12939 (store_bit_field, extract_bit_field): Use it.
12940 * expr.h: Prototype it and provide an enum for its first argument.
12942 * combine.c, function.c, recog.c: Don't include insn-codes.h.
12943 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
12944 and digging through the insn_data tables.
12945 * Makefile.in: Update dependencies.
12947 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12949 * cppfiles.c (stack_include_file): line-map.c now handles include
12951 (handle_missing_handler): Similarly.
12952 (_cpp_execute_include): Similarly.
12953 (_cpp_pop_file_buffer): Similarly.
12954 * cpphash.h (struct cpp_reader): Remove system_include_depth,
12955 buffer_stack_depth and include_depth.
12956 * cpplib.c (do_include_common): line-map.c now handles include depth.
12957 (cpp_push_buffer): Similarly.
12958 (_cpp_pop_buffer): Similarly.
12959 * cppmacro.c (builtin_macro): Update.
12960 * line-map.c (init_line_maps): Set depth.
12961 (add_line_map): Increment "used" earlier. Update and use the
12963 (trace_include): Use the include depth.
12964 * line-map.h (struct line_maps): New member depth.
12966 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12968 * cppfiles.c (stack_include_file): Don't handle -H here.
12969 * cppinit.c (cpp_start_read): Set include tracing after
12970 cpp_post_options and after stacking the main file.
12971 * line-map.c (trace_include): New.
12972 (init_line_maps, add_line_map): Update.
12973 * line-map.h (struct line_maps): New member trace_includes.
12975 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12977 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
12978 * cppfiles.c (stack_include_file): Only stack a file if there
12979 is something to do. Return a boolean indicating whether a
12980 buffer was stacked or not.
12981 (_cpp_execute_include): Similarly.
12982 (_cpp_read_file): Similarly.
12983 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
12985 2001-08-21 Sam Steingold <sds@gnu.org>
12987 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
12988 (RECACHE): keep obufp_before_macroname up to date
12990 2001-08-21 Zack Weinberg <zackw@panix.com>
12992 * stmt.c: Don't include insn-codes.h.
12993 (expand_end_case): Machine specific logic moved to expr.c.
12994 No need to worry about __builtin_classify_type.
12995 (check_for_full_enumeration_handling, emit_case_nodes):
12998 * builtins.o (expand_builtin_classify_type): Split up so code
12999 can be shared with fold_builtin_classify_type.
13000 (type_to_class, fold_builtin_classify_type): New functions.
13001 (fold_builtins): Handle __builtin_classify_type.
13003 * expr.c (do_tablejump): Now static.
13004 (case_values_threshold, try_casesi, try_tablejump): New;
13005 code mostly from stmt.c (expand_end_case).
13006 (expr.h): Update prototypes.
13008 * Makefile.in (stmt.o): Update dependencies.
13010 2001-08-21 Will Cohen <wcohen@redhat.com>
13012 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
13013 declaration of variable i.
13014 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
13015 declaration of variable i.
13017 2001-08-21 Richard Henderson <rth@redhat.com>
13019 * crtstuff.c: Fix thinko last change. Move list tails to start
13020 of CRT_END section. Tidy ifdefs.
13021 (__EH_FRAME_BEGIN__): Always static for ELF.
13022 (__do_global_ctors_1): Rename from __frame_dummy.
13023 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
13024 name change; don't hide __EH_FRAME_BEGIN__.
13026 2001-08-21 Richard Henderson <rth@redhat.com>
13028 * gdbinit.in: Move break on exit after break on fancy_abort.
13030 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
13033 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
13035 * cpphash.h (_cpp_push_next_buffer): New.
13036 * cppinit.c (do_includes): Remove.
13037 (push_include, free_chain, _cpp_push_next_buffer): New.
13038 (cpp_start_read): Use them to rework command line option handling.
13039 (cpp_handle_option): Combine handling of -include and -imacros.
13040 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
13041 appropriate. Always insert missing \n at EOF.
13042 * cpplib.c (start_directive): Get the directive position right.
13043 * cppmain.c (cb_file_change): Always print the first line, unless
13046 2001-08-20 Andreas Jaeger <aj@suse.de>
13048 * profile.c (compute_branch_probabilities): Remove extra new-line
13050 * flow.c (verify_flow_info): Likewise.
13052 2001-08-20 Diego Novillo <dnovillo@redhat.com>
13054 * basic-block.h (basic_block): Add new field 'flags'.
13055 (BB_REACHABLE): Define.
13056 (expunge_block): Declare.
13057 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
13058 (EXIT_BLOCK_PTR): Ditto.
13059 (expunge_block): Remove static declaration.
13060 (cleanup_cfg): Clear bb->aux on every basic block.
13061 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
13062 computing reachability.
13063 (delete_unreachable_blocks): Delete block b if b->flags has
13064 BB_REACHABLE unset.
13066 2001-08-20 Diego Novillo <dnovillo@redhat.com>
13068 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
13070 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13072 * sparc.c (sparc_variable_issue): Fix typo in last change.
13074 2001-08-20 Richard Henderson <rth@redhat.com>
13076 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
13078 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
13080 * pa.h (RETURN_IN_MEMORY): Improve comment.
13082 2001-08-20 Janis Johnson <janis187@us.ibm.com>
13084 * doc/invoke.texi (Profiling options): Clarify the interactions
13085 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
13087 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
13089 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
13092 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13094 * gcc.c (make_relative_prefix): Allocate a sufficiently large
13097 2001-08-20 Richard Henderson <rth@redhat.com>
13099 * final.c (end_final): Fix typo last change.
13101 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
13103 * cppinit.c (init_standard_includes): The returned buffer
13104 is already malloc-ed.
13105 * gcc.c (add_prefix): Similarly.
13106 * prefix.c (translate_name): Update to support clear buffer
13108 (update_path): Similarly. Be sure to free any newly allocated
13109 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
13110 (tr): New function.
13111 * prefix.h (update_path): Update prototype and document.
13112 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
13113 up and update to new buffer ownership rules.
13114 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
13116 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13118 * final.c (compute_alignments): New function.
13119 (init_insn_lengths): Do not care label_align.
13120 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
13121 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
13122 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
13123 (shorted_branches): Realloc label_align array; do
13124 not call init_insn_lengths; Do not care about loop alignments.
13125 * output.h (compute_alignments): Declare.
13126 * toplev.c (rest_of_compilation): Call compute_alignments.
13127 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
13129 * predict.c (block_info_def): Add npredecesors, remove nvisited;
13130 change visited to tovisit.
13131 (propagate_freq): Use faster traversing algorithm.
13132 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
13133 to tovisit; reverse meaning.
13135 * predict.c (struct block_info_def): Remove nvisited.
13136 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
13137 (estimate_bb_frequencies): Call mark_dfs_back_edges.
13139 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
13141 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
13142 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
13143 (TARGET_FUSED_MADD): New.
13144 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
13145 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
13146 the multiply-add instructions.
13148 2001-08-19 Richard Henderson <rth@redhat.com>
13150 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
13151 is aligned to pointer size.
13153 2001-08-19 Richard Henderson <rth@redhat.com>
13155 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
13156 display markers during final schedule.
13158 2001-08-19 Richard Henderson <rth@redhat.com>
13160 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
13162 2001-08-19 Richard Henderson <rth@redhat.com>
13164 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
13165 in the same string.
13166 (ASM_NAME_TO_STRING): Remove.
13167 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
13168 in the same string. Remove support for expressions.
13170 2001-08-19 Richard Henderson <rth@redhat.com>
13172 * config/i386/i386.md (tablejump): Make an expander; handle
13173 pic relative addressing here.
13174 (tablejump_1): Rename from tablejump_pic.
13177 2001-08-19 Richard Henderson <rth@redhat.com>
13179 * regclass.c (fix_register): Fix typo.
13181 2001-08-18 Richard Henderson <rth@redhat.com>
13183 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
13184 (struct _Unwind_Context): Expand br_loc to hold it.
13185 (uw_frame_state_for): Handle leaf functions better.
13186 (uw_update_reg_address): Update for br_loc change.
13188 2001-08-18 Richard Henderson <rth@redhat.com>
13190 * crtstuff.c: Move list heads before code that uses them.
13191 (__JCR_LIST__): Remove initial null.
13192 (frame_dummy, __frame_dummy): Do java registration here ...
13193 (__do_global_ctors_aux): ... not here.
13195 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
13196 (__do_global_dtors_aux): Update to match.
13197 (__JCR_LIST__, __do_jv_register_classes): New.
13199 * config/ia64/crtend.asm (__JCR_END__): New.
13200 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
13201 instead of an indirect LTOFF22 reloc.
13203 2001-08-18 Richard Henderson <rth@redhat.com>
13205 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
13206 * regclass.c (init_reg_sets_1): Fix typo.
13207 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
13208 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
13209 (ia64_compute_frame_size): Make ar.unat live when in use.
13210 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
13211 for ar.pfs; remove ar.unat handling.
13212 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
13214 (PREDICATE_CODES): Add ar_pfs_reg_operand.
13215 * config/ia64/ia64-protos.h: Update decls.
13216 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
13217 (sibcall_pic): Likewise.
13219 2001-08-18 Richard Henderson <rth@redhat.com>
13221 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
13222 pred_rel_mutex when searching for insn_group_barrier.
13223 * config/ia64/ia64.md (cycle_display): Combine the expander
13226 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
13227 bit before asm as needed.
13229 2001-08-18 Richard Henderson <rth@redhat.com>
13231 * timevar.def (TV_MACH_DEP): New.
13232 * toplev.c (rest_of_compilation): Use it.
13233 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
13235 2001-08-18 Zack Weinberg <zackw@panix.com>
13237 * unwind-dw2.c (execute_stack_op): Add default aborts to
13238 the inner switches to prevent warnings.
13240 2001-08-18 Richard Henderson <rth@redhat.com>
13242 * timevar.h (struct timevar_time_def): Change element type to float.
13243 (ticks_to_msec, clocks_to_msec): Likewise.
13244 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
13245 (get_time): Likewise.
13246 (timevar_print): Adjust zero check and printing to match.
13248 2001-08-18 Zack Weinberg <zackw@panix.com>
13250 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
13251 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
13252 Eliminate overfull or underfull hboxes.
13254 2001-08-18 Zack Weinberg <zackw@panix.com>
13256 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
13258 2001-08-18 Zack Weinberg <zackw@panix.com>
13260 * haifa-sched.c: Convert to target hooks. Macros replaced
13261 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
13262 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
13263 MD_SCHED_FINISH, and HAVE_cycle_display.
13264 * target-def.h (TARGET_SCHED_ADJUST_COST,
13265 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
13266 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
13267 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
13268 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
13269 New hook #defines to be overridden.
13270 (TARGET_SCHED): Bring them all together.
13271 (TARGET_INITIALIZER): Update.
13272 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
13273 instead of 'struct rtx_def *' throughout.
13274 (struct sched): New set of hooks for the scheduler.
13275 * Makefile.in (haifa-sched.o): Depend on target.h.
13276 * doc/tm.texi: Document the new scheduler hooks, together in
13277 their own section, instead of scattered around.
13278 Fix a bunch of underfull/overfull hboxes.
13280 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
13281 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
13282 sparc.h: Don't define any of the old scheduler macros.
13284 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
13285 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
13286 sparc.c: Create hook functions from code extracted from
13287 corresponding target header, or make existing hooks static, as
13288 appropriate. Set the appropriate entries in targetm.
13290 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
13291 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
13292 rs6000-protos.h, s390-protos.h, sparc-protos.h:
13293 Remove prototypes for functions which are now static.
13295 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
13296 related gunk; the Haifa scheduler is now the only choice.
13298 2001-08-18 Zack Weinberg <zackw@panix.com>
13300 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
13301 * genopinit.c: Put floating point divide insns in sdiv_optab.
13302 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
13303 * config/gofast.h, config/c4x/c4x.h,
13304 config/ia64/hpux_longdouble.h, config/mips/mips.h,
13305 config/pa/long_double.h, config/rs6000/sysv4.h,
13306 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
13307 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
13308 (init_optabs): Use init_optabv for overflow-trapping optabs.
13309 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
13310 cmp_optab RTX codes so have_insn_for can find them.
13312 * optabs.c (expand_simple_binop, expand_simple_unop,
13313 have_insn_for, gen_sub3_insn): New interfaces.
13314 * expr.h: Prototype new functions.
13315 (enum optab_methods): Move here from optabs.h.
13317 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
13318 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
13319 Use new functions instead of working directly with optabs.
13320 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
13321 unroll.c: Don't include optabs.h.
13322 * caller-save.c, combine.c, function.c, stmt.c: Just include
13323 insn-codes.h, not optabs.h.
13324 * Makefile.in: Update dependencies.
13326 * combine.c (make_compound_operation, simplify_comparison):
13327 Fix typos testing for this or that instruction.
13329 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13331 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
13332 generating libgcc.a.
13334 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13336 * except.c (TYPE_HASH): Delete.
13338 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
13341 * tree.c (TYPE_HASH): Delete.
13343 * tree.h (TYPE_HASH): Define.
13345 2001-08-18 Graham Stott <grahams@redhat.com>
13347 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
13349 (adddi3_internal_2+2): Likewise.
13350 (eh_set_lr_di+1): Likewise.
13352 2001-08-17 Richard Henderson <rth@redhat.com>
13354 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
13355 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
13356 * dwarf2asm.c: ... here.
13357 * dwarfout.c: Remove them.
13359 * varasm.c (assemble_integer): Add align parameter.
13360 (assemble_real, output_constant, output_constructor): Likewise.
13361 * output.h: Update decls.
13362 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
13363 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
13364 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
13365 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
13366 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
13367 Update all callers.
13369 * final.c (end_final): Abort profile block generation if we
13370 haven't layed it out properly.
13371 * output.h (assemble_eh_integer): Remove stale decl.
13372 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
13374 (assemble_integer): Handle unaligned data.
13375 (assemble_real): Abort on unaligned data.
13376 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
13378 (default_dtor_section_asm_out_destructor): Use assemble_align.
13379 (default_named_section_asm_out_constructor): Likewise.
13380 (default_ctor_section_asm_out_constructor): Likewise.
13381 * config/darwin.c (machopic_asm_out_constructor): Likewise.
13382 (machopic_asm_out_destructor): Likewise.
13383 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
13384 (nextstep_asm_out_destructor): Likewise.
13385 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
13386 (vms_asm_out_destructor): Likewise.
13388 2001-08-17 Richard Henderson <rth@redhat.com>
13390 * config/mips/iris6.h (TARGET_IRIX6): New.
13391 (current_section_name, current_section_flags): New.
13392 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
13393 (MAX_OFILE_ALIGNMENT): New.
13394 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
13395 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
13396 (copy_file_data): Split out from
13397 (mips_asm_file_end): ... here.
13398 (mips_asm_file_start): Remove extra .section directive. Use
13399 tmpfile instead of mips_make_temp_file.
13400 (mips_unique_section): Use const char * as needed for warnings.
13401 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
13402 re-add align parameter.
13403 (iris6_asm_named_section): New.
13404 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
13405 (iris6_asm_output_align, iris6_section_align_1): New.
13406 (iris6_asm_file_start, iris6_asm_file_end): New.
13407 * config/mips/mips-protos.h: Update decls.
13409 2001-08-17 Janis Johnson <janis187@us.ibm.com>
13411 * doc/install.texi (Install GCC): Add links to build status pages.
13413 (Final install): Ditto; request updates for specific info
13415 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
13417 * cpperror.c (print_location): Don't take a file name; use the
13419 (_cpp_begin_message): Similarly.
13420 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
13421 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
13422 (cpp_pedwarn_with_file_and_line): Remove.
13423 * cppfiles.c (stack_include_file): Update; set filename to stdin
13424 here when appropriate.
13425 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
13426 (_cpp_begin_message): Don't take a file name.
13427 * cppinit.c: Add comment.
13428 * cpplex.c: Fix end-of-directive indicator.
13429 * cpplib.c: Don't include intl.h.
13430 (run_directive, do_diagnostic): Update.
13431 (do_line): Update to not use nominal_fname.
13432 (cpp_push_buffer): Don't take a filename.
13433 * cpplib.h (struct ht): Remove.
13434 (cpp_push_buffer): Don't take a filename.
13435 (cpp_pedwarn_with_file_and_line): Remove.
13436 * cppmacro.c (struct cpp_macro): Remove file.
13437 (builtin_macro): Update.
13438 (_cpp_create_definition): Update.
13439 * cppmain.c: Correct comment.
13440 * fix-header.c (read_scan_file): Update.
13442 2001-08-17 Kazu Hirata <kazu@hxi.com>
13444 * sbitmap.c: Fix comment formatting.
13445 * sched-deps.c: Likewise.
13446 * sibcall.c: Likewise.
13447 * simplify-rtx.c: Likewise.
13449 * ssa-ccp.c: Likewise.
13450 * stor-layout.c: Likewise.
13451 * timevar.c: Likewise.
13452 * toplev.c: Likewise.
13453 * unwind-dw2.c: Likewise.
13454 * unwind-dw2-fde.c: Likewise.
13455 * varasm.c: Likewise.
13457 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
13459 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
13460 or larger than an integer in memory.
13462 2001-08-17 Zack Weinberg <zackw@panix.com>
13464 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
13465 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
13466 * rtl.h: Don't forward-declare union tree_node here. Don't
13467 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
13468 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13469 and tree respectively.
13470 * tree.h: Don't forward-declare struct rtx_def here. Don't
13471 typedef tree here. Change all uses of struct rtx_def *,
13472 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13473 and tree respectively.
13475 2001-08-17 Richard Henderson <rth@redhat.com>
13477 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
13478 config/mips/openbsd.h: Fix typos last change.
13480 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13482 * doc/invoke.texi (Optimize Options): The default for
13483 -finline-limit is 600.
13485 2001-08-17 Richard Henderson <rth@redhat.com>
13487 * varasm.c (text_section): Allow TEXT_SECTION to override the
13488 printing of TEXT_SECTION_ASM_OP.
13489 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
13490 (DATA_SECTION, BSS_SECTION): Remove.
13491 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
13492 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
13493 Rename from s/_NAME//.
13494 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
13495 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
13496 (TEXT_SECTION): ... here. New.
13497 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
13498 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
13499 * config/mips/openbsd.h: Likewise.
13500 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
13501 (mips_asm_file_end): Likewise test.
13502 (mips_output_function_epilogue): Likewise. Switch back to data
13503 section after emitting the function.
13505 * doc/tm.texi (Sections): Document TEXT_SECTION.
13507 2001-08-17 Richard Henderson <rth@redhat.com>
13509 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
13510 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
13512 2001-08-17 Richard Henderson <rth@redhat.com>
13514 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
13515 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
13516 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
13517 Add aligned attribute.
13519 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
13521 * config/sh/sh.md: Add modes to unspecs in first insn to match
13522 those in the second.
13524 * Makefile.in: Fix collect2 copy for Cygwin.
13526 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
13528 Install the proper patch.
13529 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13530 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13531 (expand_function_start): Likewise.
13532 * stmt.c (expand_decl): Likewise.
13533 * varasm.c (make_decl_rtx): Likewise.
13535 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13537 * final.c: Undo my previous accidental checkin.
13538 * output.h: Likewise.
13539 * tm.texi: Likewise.
13541 2001-08-16 Richard Henderson <rth@redhat.com>
13543 * varasm.c (named_section_flags): Remove align parameter.
13544 * varasm.c, dwarf2out.c: Update all callers.
13545 * output.h: Update prototypes.
13547 * target.h (target.asm_out.named_section): Remove align parameter.
13548 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
13549 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
13550 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
13551 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
13552 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
13554 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
13555 (get_named_section_flags, set_named_section_flags): New.
13556 (named_section_flags): Use them.
13557 (named_section): Do decl vs section flags check here...
13558 (default_section_type_flags): ... not here.
13559 (init_varasm_once): Create in_named_htab.
13560 (resolve_unique_section): Mark reloc unused.
13562 2001-08-16 Richard Henderson <rth@redhat.com>
13564 * varasm.c (force_const_mem): Keep pool alignment in bits.
13565 (output_constant_pool): Use assemble_align.
13567 2001-08-16 Zack Weinberg <zackw@panix.com>
13569 * doc/tm.texi: Remove extra @table command.
13571 2001-08-16 Zack Weinberg <zackw@panix.com>
13573 * final.c (shorten_branches): Clear the end of the label_align
13574 array only if we made it larger. Break up messy expressions
13577 * diagnostic.c (internal_error): Check for error recursion
13578 before doing ICE suppression.
13580 * timevar.c: Timing variables now count in milliseconds.
13581 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
13582 (get_time): Not here.
13583 (timevar_print): Don't print any timer whose user, cpu, and
13584 wall times are all zero as displayed.
13585 * timevar.h: Update comment aboout units. Make timevar
13588 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13590 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13591 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13592 (expand_function_start): Likewise.
13593 * stmt.c (expand_decl): Likewise.
13594 * varasm.c (make_decl_rtx): Likewise.
13596 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
13598 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
13599 (finalize_record_size): Don't set TYPE_USER_ALIGN.
13601 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13603 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
13606 2001-08-16 Andreas Jaeger <aj@suse.de>
13608 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
13611 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
13613 * rtl.h (only_sets_cc0_p): New prototype.
13614 * jump.c (sets_cc0_p): Handle INSN.
13615 (only_sets_cc0_p): New function.
13616 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
13617 (tidy_fallthru_edge): Likewise.
13618 * integrate.c (copy_insn_list): Likewise.
13619 * unroll.c (unroll_loop): Likewise.
13620 (copy_loop_body): Likewise.
13622 2001-08-15 Jason Eckhardt <jle@redhat.com>
13624 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
13626 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13628 * predict.c (struct block_info_def): Remove nvisited.
13629 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
13630 (estimate_bb_frequencies): Call mark_dfs_back_edges.
13632 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
13633 (ix86_adjust_cost): Teach scheduler that latency to load operand can
13636 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
13638 * predict.def: Update hitrates.
13640 2001-08-15 Richard Henderson <rth@redhat.com>
13642 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
13644 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
13646 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
13647 note from its associated jump.
13649 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
13651 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
13652 also on 64-bit s390x targets.
13654 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
13656 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
13658 (arm_expand_prologue): Handled nested functions which take a
13659 variable argument list.
13660 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
13661 macro with an invocation of
13662 arm_compute_initial_elimination_offset.
13663 * config/arm/arm-protos.h: Prototype
13664 arm_compute_initial_elimination_offset.
13666 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13668 * doc/install.texi (Specific, avr): Fix markup.
13669 (Specific, c4x): Ditto.
13671 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13673 * predict.c (dump_prediction): Change `bool' parameter to `int'.
13675 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
13677 * Makefile.in (OBJS): Add rtl-error.o
13678 (rtl-error.o): New rule.
13679 (diagnostic.o): Adjust dependency.
13680 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
13681 error_for_asm, _fatal_insn, _fatal_insn_not_found,
13682 warning_for_asm): Move to...
13683 rtl-error.c: ...here. New file.
13685 2001-08-14 Richard Henderson <rth@redhat.com>
13687 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
13688 if USING_SJLJ_EXCEPTIONS.
13690 2001-08-14 Steve Ellcey <sje@cup.hp.com>
13692 * tlink.c (scan_linker_output): Check string for unsatisfied in
13693 addition to undefined and unresolved.
13695 2001-08-14 Graham Stott <grahams@redhat.com>
13697 * libgcc2.c (*): Replace EH_FRAME_SECTION with
13698 EH_FRAME_SECTION_NAME.
13700 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
13702 * genattrtab.c (simplify_test_exp_in_temp): New function.
13703 (simplify_test_exp): Avoid explicit use of temporary obstack.
13704 (simplify_cond, insert_right_side, evaluate_eq_attr,
13705 simplify_and_tree, simplify_or_tree, eliminate_known_true):
13706 Use simplify_test_exp_in_temp.
13707 (optimize_attrs): Iterate until expression stabilizes.
13709 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
13711 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
13712 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
13714 2001-08-13 Richard Henderson <rth@redhat.com>
13716 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
13717 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
13718 * config/arm/conix-elf.h: Likewise.
13720 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13722 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
13724 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
13726 * gcse.c (hash_scan_set): Expressions that are set as part of
13727 jump instructions are not available.
13729 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
13731 * config/s390/s390.c (print_operand, s390_function_prologue,
13732 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
13734 2001-08-13 Richard Henderson <rth@redhat.com>
13736 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
13737 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
13738 * doc/tm.texi (Exception Region Output): Document it.
13740 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13742 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
13743 DWARF2 instead of stabs by default.
13745 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13747 * config/rs6000/rs6000.c: Include optabs.h.
13749 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13751 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
13752 save/restore routines.
13753 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
13755 2001-08-13 Andreas Jaeger <aj@suse.de>
13757 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
13758 the english is correct.
13760 2001-08-13 Zack Weinberg <zackw@panix.com>
13762 * expr.h: Split out optab- and libfunc-related code to...
13763 * optabs.h, libfuncs.h: ... these new headers.
13765 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
13767 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
13769 * mkconfig.sh: Don't include insn-codes.h from config.h.
13771 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
13772 enum insn_code is available. Move reload_in_optab and
13773 reload_out_optab array declarations to optabs.h.
13774 * regmove.c (gen_add3_insn): Move to optabs.c, export from
13775 there, prototype in expr.h.
13776 * gencodes.c: Cleanup: zap global variables, don't use
13777 printf where puts will do, don't bother defining MAX_INSN_CODE
13778 which nothing uses, let CODE_FOR_nothing get its value implicitly.
13780 * genemit.c, genopinit.c: Include optabs.h in generated file.
13781 * genoutput.c: Include insn-codes.h in generated file.
13782 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
13783 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
13784 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
13785 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
13786 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
13787 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
13789 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
13790 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
13791 config/m88k/m88k.c, config/sparc/sparc.c:
13792 Include libfuncs.h.
13793 * reload.c: Include expr.h and optabs.h before reload.h.
13794 * config/alpha/alpha.c: Include tree.h before reload.h.
13795 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
13796 and reload.h in that order.
13797 * config/sparc/sparc.c: Include debug.h.
13798 * recog.c: Include insn-codes.h.
13800 2001-08-13 Andreas Jaeger <aj@suse.de>
13802 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
13805 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
13807 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
13808 * gcc.c (init_spec): Fix typo in comment.
13809 * varasm.c (data_section): Fix typo in comment.
13811 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
13813 * predict.c (dump_prediction): New argument "USED".
13814 (combine_predictions_for_insn): Determine the used heuristics,
13815 output the case no heuristic applied.
13816 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
13818 2001-08-13 Andreas Jaeger <aj@suse.de>
13820 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
13823 2001-08-13 Kazu Hirata <kazu@hxi.com>
13825 * jump.c: Fix formatting.
13827 2001-08-13 Kazu Hirata <kazu@hxi.com>
13829 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
13832 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
13834 * loop.c (check_dbra_loop): Use condjump_label to compute
13837 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
13838 to better document the files they're in.
13840 2001-08-12 Zack Weinberg <zackw@panix.com>
13842 * recog.h (struct insn_operand_data): Shrink 'mode' field
13845 2001-08-12 Kazu Hirata <kazu@hxi.com>
13847 * gcc.c: Fix comment formatting.
13848 * gccspec.c: Likewise.
13849 * gcov.c: Likewise.
13850 * gcse.c: Likewise.
13851 * genemit.c: Likewise.
13852 * gengenrtl.c: Likewise.
13853 * genrecog.c: Likewise.
13854 * gensupport.c: Likewise.
13855 * ggc-page.c: Likewise.
13856 * global.c: Likewise.
13857 * graph.c: Likewise.
13858 * ifcvt.c: Likewise.
13859 * integrate.c: Likewise.
13861 * libgcc2.c: Likewise.
13862 * loop.c: Likewise.
13863 * mbchar.c: Likewise.
13864 * optabs.c: Likewise.
13865 * predict.c: Likewise.
13866 * prefix.c: Likewise.
13867 * profile.c: Likewise.
13868 * protoize.c: Likewise.
13869 * real.c: Likewise.
13870 * recog.c: Likewise.
13871 * regclass.c: Likewise.
13872 * regmove.c: Likewise.
13873 * reg-stack.c: Likewise.
13874 * reload1.c: Likewise.
13875 * resource.c: Likewise.
13876 * rtlanal.c: Likewise.
13879 2001-08-12 Kazu Hirata <kazu@hxi.com>
13881 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
13882 a tree representing a constant is passed to the macro.
13884 2001-08-12 Richard Henderson <rth@redhat.com>
13886 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
13887 (rs6000_elf_asm_out_destructor): New.
13888 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
13889 (DTORS_SECTION_ASM_OP): Remove.
13890 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
13891 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
13893 2001-08-12 David Edelsohn <edelsohn@gnu.org>
13896 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13897 * gcc.c (set_collect_gcc_options): New function, split out from
13899 Ignore elided switches.
13900 (do_spec_1): Invoke before executing command.
13901 (set_input): Export.
13902 Move declaration ...
13903 * gcc.h (set_input): ... here.
13904 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13907 2001-08-12 Richard Henderson <rth@redhat.com>
13909 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
13910 thinko wrt TARGET_RELOCATABLE.
13912 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
13914 * fix-header.c (cb_file_change): Update prototype.
13916 2001-08-11 Zack Weinberg <zackw@panix.com>
13918 * toplev.c (set_float_handler): Make static.
13919 * toplev.h: Don't prototype set_float_handler.
13921 * simplify-rtx.c: Don't include setjmp.h.
13922 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
13924 (simplify_unary_operation, simplify_binary_operation): Use them,
13925 via do_float_handler.
13927 * fold-const.c: Don't include setjmp.h.
13928 (exact_real_inverse_1): New function.
13929 (exact_real_inverse): Use it, via do_float_handler.
13931 * varasm.c: Don't include setjmp.h.
13932 (assemble_real_1): New function.
13933 (assemble_real): Use it, via do_float_handler.
13934 Call internal_error if we get a trap here.
13936 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
13937 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
13939 2001-08-11 Zack Weinberg <zackw@panix.com>
13941 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
13942 STACK_BOUNDARY if not already defined.
13944 * calls.c, function.c, reload1.c, explow.c: Don't default
13945 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
13946 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
13948 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
13951 * doc/tm.texi: Document that STACK_BOUNDARY is required;
13952 clarify difference between it and PREFERRED_STACK_BOUNDARY.
13954 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
13956 * cppmacro.c (enter_macro_context): Push macro expansions even
13959 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13961 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
13962 (rs6000_elf_section_type_flags): Actually return a value.
13964 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13966 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
13967 Clean up code: add missing comments and prototypes, fix warnings,
13968 remove obsolete code, fix spacing to conform to coding style.
13970 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13972 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
13973 and TARGET_ASM_CLOSE_PAREN.
13974 (regclass_map): CC register belongs to class NO_REGS.
13975 (legitimize_pic_address): Don't generate unnecessary moves
13976 (to avoid confusing loop optimization).
13977 (check_and_change_labels): Replace jump_long by indirect_jump.
13978 (s390_final_chunkify): Don't start a new literal pool on section
13979 switch in 64-bit code.
13980 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
13982 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
13983 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
13984 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
13986 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
13987 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
13988 (CONST_COSTS): Fixed incorrect costs.
13990 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
13991 Use emit_jump instead of emit_jump_insn (gen_jump).
13992 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
13993 (to avoid confusing flow analysis).
13994 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
13995 (casesi, casesi_jump): New.
13996 (jump_long): Removed. Functionality merged into indirect_jump.
13997 (indirect_jump): Accept address_operand, not just register_operand.
13998 (cjump_long, icjump_long): Use same logic as indirect_jump.
13999 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
14000 Fixed broken setjmp/longjmp handling.
14001 (do_builtin_setjmp_setup): Removed.
14003 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
14004 broken GNU as versions that don't accept .quad with large
14005 negative values. Use hexadecimal output instead.
14006 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
14007 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
14008 FUNCTION_EPILOGUE): Removed. Now in targetm.
14010 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
14012 * config/s390/fixdfdi.h: Add missing copyright statement.
14013 Fix type conflicts on 64-bit. Add missing SFmode routines.
14015 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
14018 2001-08-11 Richard Henderson <rth@redhat.com>
14020 * rtl.h (REG_EH_RETHROW): Remove.
14021 * rtl.c (reg_note_name): Update.
14022 * combine.c (distribute_notes): Don't check for it.
14024 2001-08-11 Richard Henderson <rth@redhat.com>
14026 * combine.c (distribute_notes): Place REG_SETJMP.
14028 2001-08-11 Richard Henderson <rth@redhat.com>
14030 * doc/extend.texi (Arrays and pointers implementation): Discourage
14031 relying on sign-extension of pointers.
14033 2001-08-11 H.J. Lu <hjl@gnu.org>
14035 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
14037 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
14038 RDATA_SECTION_ASM_OP.
14040 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14042 * doc/install.texi (Specific, c4x): Fix cross-reference to the
14043 main manual to work both for info and HTML versions.
14045 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
14046 Matt Kraai <kraai@alumni.carnegiemellon.edu>
14048 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
14049 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
14050 (struct cpp_pool): New member first.
14051 * cppinit.c (append_include_chain): Plug memory leaks.
14052 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
14053 Allocate pragma structures from the (aligned) macro pool to
14054 avoid leaking memory.
14055 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
14056 so we don't leak memory.
14057 * hashtable.c (ht_destroy): New.
14058 * hashtable.h (ht_destroy): New.
14060 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
14061 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14063 * c-lex.c (map): Make const.
14064 (cb_file_change): Update for callback passing a line map.
14065 Don't assume we have a previous map. Remove sanity check
14066 about popping too many files.
14067 * cpperror.c (print_location): Make map const.
14068 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
14069 (cpp_make_system_header): Similarly.
14070 (search_from): Similarly.
14071 (_cpp_execute_include): Don't remember where we came from.
14072 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
14073 (struct cpp_reader): Make map const.
14074 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
14075 * cpplib.c (do_line): Update; line maps now hold sysp.
14076 (cpp_push_buffer): Similarly.
14077 (_cpp_do_file_change): Similarly; callback with map instead.
14078 (cpp_get_line_maps): Constify return value.
14079 (_cpp_pop_buffer): Update.
14080 * cpplib.h (struct cpp_file_change): Remove.
14081 (struct cpp_callbacks): Update.
14082 (cpp_get_line_maps): Constify return value.
14083 * cppmacro.c (_cpp_create_definition): Update.
14084 * cppmain.c (struct printer): Constify map.
14085 (maybe_print_line): Similarly.
14086 (print_line): Similarly. Deduce flags 1 and 2 here.
14087 (cb_file_change): Update.
14088 * line-map.c (free_line_maps): Warn regardless.
14089 (add_line_map): Return pointer to const. When passed NULL to_file
14090 with LC_LEAVE, use the obvious values for the return point so the
14091 caller doesn't have to figure them out.
14092 (lookup_line): Return pointer to const.
14093 (print_containing_files): Take pointer to const.
14094 * line-map.h (struct line_map): New members reason, sysp.
14095 (add_line_map): Return pointer to const.
14096 (lookup_line): Similarly.
14097 (print_containing_files): Take pointer to const.
14099 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
14100 Richard Henderson <rth@redhat.com>
14102 * regmove.c (regmove_optimize): Avoid setting a register twice in
14105 2001-08-10 Richard Henderson <rth@redhat.com>
14107 * doc/extend.texi (Arrays and pointers implementation): Document
14108 behavior of pointer/integer conversion.
14110 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
14112 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
14114 2001-08-10 Richard Henderson <rth@redhat.com>
14116 * doc/extend.texi (C Implementation): New chapter.
14117 * doc/gcc.texi (Top): Link it in.
14119 2001-08-10 Andrew Cagney <ac131313@redhat.com>
14121 * doc/install.texi (Specific): Fix CVS merge botch.
14123 2001-08-10 Richard Henderson <rth@redhat.com>
14125 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
14126 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
14128 2001-08-10 Zack Weinberg <zackw@stanford.edu>
14130 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
14131 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
14132 this macro is now required.
14134 * cselib.c (cselib_process_insn), flow.c (propagate_block),
14135 loop.c (find_and_verify_loops), reload.c (reload): Check
14136 for rtx code of CALL_INSN, not CALL, when deciding if we
14137 need to check for REG_SETJMP note.
14139 * gcse.c (compute_hash_table, compute_store_table): Update
14140 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
14143 * config/avr/avr.c: Fix typo.
14144 * config/convex/convex.c (expand_movstr): Use adjust_address.
14145 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
14147 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
14148 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
14150 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
14151 Do define STACK_BOUNDARY.
14152 * config/i370/i370.c: Include expr.h.
14153 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
14154 config/pa/som.h, config/v850/v850.h: Take in_ctors and
14155 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
14156 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
14157 * config/m88k/m88k.c: Include c-tree.h after expr.h.
14158 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
14159 * config/romp/romp.c: Include expr.h after tree.h.
14161 (output_fpop): Use xmalloc, not oballoc.
14162 * config/we32k/we32k.c: Include expr.h.
14164 2001-08-10 Kazu Hirata <kazu@hxi.com>
14166 * config/h8300/h8300.h: Fix formatting.
14168 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
14170 * c-common.h (RETURN_NULLIFIED_P): Lose.
14171 * c-semantics.c (genrtl_return_stmt): Don't check it.
14173 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14175 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
14176 (mips_annotate_frame_insn): New function.
14177 (mips_emit_frame_related_store): New function.
14178 (save_restore_insns): Don't mark instructions that set up the base
14179 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
14180 the store instructions instead.
14181 (mips_expand_prologue): If the stack size is moved into a temporary
14182 register, do not mark that move as frame-related. Add a
14183 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
14185 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14187 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
14188 stack slot as unchanging if current_function_calls_eh_return.
14190 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14192 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
14193 access the second half of the TFmode scratch operand.
14195 2001-08-10 Anthony Green <green@redhat.com>
14197 * java/class.c (emit_register_classes): Conditionalize code on
14200 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14202 * doc/install.texi (Specific, avr): Fix cross-reference to the
14203 main manual to work both for info and HTML versions.
14205 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14207 * stmt.c (expand_null_return_1): Remove code to generate simple returns
14208 and "use_goto" argument.
14209 (expand_null_return, expand_value_return): Update all callers.
14210 * function.c (expand_function_end): Remove code to generate simple
14212 * config/vax/vax.md (epilogue): New expander for function return.
14213 * doc/md.texi (epilogue): Remove "if defined".
14215 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14217 * Makefile.in: Partially revert my previous change:
14218 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
14219 of the hashtab.o and safe-ctype.o rules.
14221 2001-08-09 Richard Henderson <rth@redhat.com>
14223 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
14224 (USE_COLLECT2): Remove duplicate definition.
14225 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
14226 (use_collect2): Remove dead code.
14227 * configure.in (use_collect2): Remove will_use_collect2 and
14228 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
14229 * configure: Rebuild.
14231 * target.h (targetm.asm_out.constructor): New.
14232 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
14233 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
14234 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
14235 * varasm.c (in_ctors, in_dtors): New.
14236 (assemble_constructor, assemble_destructor): Remove.
14237 (default_stabs_asm_out_destructor): New.
14238 (default_named_section_asm_out_destructor): New.
14239 (dtors_section, default_dtor_section_asm_out_destructor): New.
14240 (default_stabs_asm_out_constructor): New.
14241 (default_named_section_asm_out_constructor): New.
14242 (ctors_section, default_ctor_section_asm_out_constructor): New.
14243 * output.h: Update declarations.
14244 * c-decl.c (c_expand_body): Use target hooks instead of
14245 assemble_constructor and assemble_destructor.
14246 * profile.c (output_func_start_profiler): Likewise.
14247 * objc/objc-act.c (finish_objc): Likewise.
14248 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
14249 for the constructor.
14250 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
14252 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
14253 (DTORS_SECTION_ASM_OP): Likewise.
14254 (__CTOR_LIST__): Use attribute section when possible.
14255 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
14257 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
14258 ASM_OUTPUT_CONSTRUCTOR.
14260 * config/darwin.c (machopic_asm_out_constructor): New.
14261 (machopic_asm_out_destructor): New.
14262 * config/darwin-protos.h: Update declarations.
14263 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14264 (ASM_OUTPUT_DESTRUCTOR): Remove.
14265 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14266 * config/nextstep.c (nextstep_asm_out_constructor): New.
14267 (nextstep_asm_out_destructor): New.
14268 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14269 (ASM_OUTPUT_DESTRUCTOR): Remove.
14270 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14271 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
14272 ASM_OUTPUT_*STRUCTOR.
14273 * config/i386/aix386ng.h: Likewise.
14275 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
14276 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
14277 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14278 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14279 * config/lynx.h: Likewise.
14280 * config/netware.h: Likewise.
14281 * config/psos.h: Likewise.
14282 * config/alpha/alpha-interix.h: Likewise.
14283 * config/alpha/elf.h: Likewise.
14284 * config/arc/arc.h: Likewise.
14285 * config/arm/aof.h: Likewise.
14286 * config/arm/coff.h: Likewise.
14287 * config/arm/elf.h: Likewise.
14288 * config/c4x/c4x.h: Likewise.
14289 * config/h8300/h8300.h: Likewise.
14290 * config/i386/cygwin.h: Likewise.
14291 * config/i386/djgpp.h: Likewise.
14292 * config/i386/i386-coff.h: Likewise.
14293 * config/i386/i386-interix.h: Likewise.
14294 * config/i386/sco5.h: Likewise.
14295 * config/i386/vsta.h: Likewise.
14296 * config/i386/win32.h: Likewise.
14297 * config/i960/i960-coff.h: Likewise.
14298 * config/ia64/sysv4.h: Likewise.
14299 * config/m68hc11/m68hc11.h: Likewise.
14300 * config/m68k/coff.h: Likewise.
14301 * config/m68k/mot3300.h: Likewise.
14302 * config/m88k/m88k.h: Likewise.
14303 * config/mcore/mcore-pe.h: Likewise.
14304 * config/mcore/mcore.h: Likewise.
14305 * config/mips/elf.h: Likewise.
14306 * config/mips/elf64.h: Likewise.
14307 * config/mips/iris6.h: Likewise.
14308 * config/pa/pa64-hpux.h: Likewise.
14309 * config/rs6000/sysv4.h: Likewise.
14310 * config/sh/sh.h: Likewise.
14311 * config/sparc/litecoff.h: Likewise.
14313 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
14314 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14315 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14316 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14317 (ASM_OUTPUT_DESTRUCTOR): Remove.
14318 * config/a29k/a29k.c: Move include of tree.h.
14319 * config/a29k/udi.h: Delete file.
14320 * config/alpha/alpha.c (vms_asm_out_constructor): New.
14321 (vms_asm_out_destructor): New.
14322 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
14323 (EXTRA_SECTION_FUNCTIONS): Likewise.
14324 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14325 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14326 * config/c4x/c4x.c: Move include of tree.h.
14327 * config/clipper/clipper.c (clix_asm_out_constructor): New.
14328 (clix_asm_out_destructor): New.
14329 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14330 (ASM_OUTPUT_DESTRUCTOR): Remove.
14331 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14332 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14333 (TARGET_ASM_CONSTRUCTOR): New.
14334 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
14335 (sco_asm_out_constructor): New.
14336 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
14337 * config/i386/svr3gas.h: Remove stack grows up code.
14338 Remove code duplicated from i386/sysv3.h.
14339 (TARGET_ASM_CONSTRUCTOR): New.
14340 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14341 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
14342 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14343 (TARGET_ASM_CONSTRUCTOR): New.
14344 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
14345 (m68hc11_asm_out_destructor): New.
14346 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
14347 (TARGET_ASM_DESTRUCTOR): New.
14348 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
14349 * config/m68k/dpx2.h: Properly undef all the bits inherited from
14350 config/svr3.h pertaining to section manipulation.
14351 * config/m68k/dpx2g.h: Remove #if 0 code.
14352 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
14353 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
14354 (ASM_OUTPUT_CONSTRUCTOR): Remove.
14355 (TARGET_ASM_CONSTRUCTOR): New.
14356 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
14357 (m88k_svr3_asm_out_constructor): New.
14358 (m88k_svr3_asm_out_destructor): New.
14359 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14360 (ASM_OUTPUT_DESTRUCTOR): Remove.
14361 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14362 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
14363 * config/rs6000/aix.h: Likewise.
14364 * config/mips/rtems64.h: Don't undef removed constructor related bits.
14365 * config/mips/vxworks.h: Likewise.
14366 * config/rs6000/lynx.h: Likewise.
14367 * config/sh/elf.h: Likewise.
14368 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
14369 (DTORS_SECTION_ASM_OP): New.
14370 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14371 (ASM_OUTPUT_DESTRUCTOR): Remove.
14372 * config/sparc/sol2-sld-64.h: Likewise.
14373 * config/vax/vax.c (vms_asm_out_constructor): New.
14374 (vms_asm_out_destructor): New.
14375 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14376 (ASM_OUTPUT_DESTRUCTOR): Remove.
14377 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14379 * doc/tm.texi (@node Initialization): Update.
14381 2001-08-09 Richard Henderson <rth@redhat.com>
14383 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
14384 (__do_global_dtors_aux): Use gp-relative static data to avoid
14385 one dynamic relocation.
14386 (__do_frame_setup): Register Java classes.
14387 * config/alpha/crtend.asm (__JCR_END__): New.
14389 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14391 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
14392 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
14393 (GEN, STAGESTUFF): Add new files.
14394 (insn-constants.h, s-constants, tm-preds.h, s-preds,
14395 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
14396 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
14397 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
14398 as well as insn-codes.h and insn-flags.h in config.h; and no
14399 extra headers in tconfig.h and hconfig.h.
14401 * gencodes.c: Eliminate code to generate predicate declarations
14402 or #defines for md-file constants.
14403 * genconstants.c, genpreds.c: New files.
14405 * i386.md: Re-order guard expressions such that TARGET_64BIT
14406 comes first, when this permits better optimization. Add
14407 TARGET_64BIT to more x86-64 patterns. Add comment explaining
14408 why this is desirable.
14410 2001-08-09 Jakub Jelinek <jakub@redhat.com>
14412 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
14413 (find_fde_for_dso): Remove.
14414 (_Unwind_IteratePhdrCallback): New.
14415 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
14416 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
14418 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14420 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
14421 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
14423 2001-08-09 Graham Stott <grahams@redhat.com>
14425 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
14426 (vis_no_unit): Use it.
14427 (visualize_no_unit): Add the insn only if room exists.
14429 2001-08-09 Graham Stott <grahams@redhat.com>
14431 * predict.c (estimate_probability): Replace magic numbers with
14432 appropriate enumeration.
14434 2001-08-09 Graham Stott <grahams@redhat.com>
14436 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
14438 (EXTRACT_FLAGS): Likewise.
14440 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
14442 * config/mips/mips.c (mips_legitimate_address_p): Check for
14443 CONST_INT in last patch.
14445 2001-08-08 Anthony Green <green@redhat.com>
14447 * java/class.c (emit_register_classes): Use assemble_jcr if
14448 possible. Keep the original mechanism as a fallback.
14449 * defaults.h (JCR_SECTION_NAME): Define if we have named section
14450 and weak symbol support.
14451 * crtstuff.c (__JCR_LIST__): Define.
14452 (__JCR_END__): Define.
14453 (_Jv_RegiserClasses): Define weak symbol if possible.
14454 (__do_global_ctors_aux): Register classes for ELF targets with
14455 weak symbol support.
14457 2001-08-08 Kazu Hirata <kazu@hxi.com>
14459 * dbxout.c: Fix comment formatting.
14460 * dependence.c: Likewise.
14462 * diagnostic.c: Likewise.
14463 * dominance.c: Likewise.
14464 * doprint.c: Likewise.
14465 * dwarf2out.c: Likewise.
14466 * dwarfout.c: Likewise.
14467 * emit-rtl.c: Likewise.
14468 * except.c: Likewise.
14469 * explow.c: Likewise.
14470 * expmed.c: Likewise.
14471 * expr.c: Likewise.
14472 * flow.c: Likewise.
14473 * fold-const.c: Likewise.
14474 * function.c: Likewise.
14476 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14478 * global.c (retry_global_alloc): Avoid shadowing allocno.
14480 2001-08-08 Mark Mitchell <mark@codesourcery.com>
14482 * except.c (remove_fixup_regions): Fix typo.
14484 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
14486 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
14487 unsigned HOST_WIDE_INT to avoid warning.
14488 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
14489 * flow.c (set_block_for_new_insns): Likewise.
14491 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
14493 * sibcall.c (return_value_pseudo): New static variable.
14494 (skip_copy_to_return_value): Handle return_value_pseudo.
14495 (call_ends_block_p): Ensure that return_value_pseudo is set.
14496 (optimize_sibling_and_tail_recursive_call): Discover the
14497 load of pseudo return value in alternate exit block.
14499 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
14501 * calls.c (ECF_ALWAYS_RETURN): New constant.
14502 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
14503 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
14504 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
14505 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
14506 * rtl.c (reg_note_name): New name.
14507 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
14509 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
14511 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
14513 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
14515 * alias.c (get_alias_set): Return a previously calculated
14516 alias set for a VAR_DECL.
14517 * function.c (gen_mem_addressof): Calculate the alias set before
14520 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
14522 * predict.def: Set hitrates according our experimental run.
14524 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
14526 * i386.h (HARD_REGNO_RENAME_OK): New macro.
14528 2001-08-08 H.J. Lu <hjl@gnu.org>
14530 * config/mips/mips.c (mips_unique_section): New. Copied from
14533 * config/mips/mips-protos.h (mips_unique_section): New
14536 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
14538 * config/mips/little.h: New. Generic little endian mips
14539 targets. Only mips*-*-linux* is converted to use it so far.
14541 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
14542 (WCHAR_TYPE): Defined
14543 (WCHAR_TYPE_SIZE): Likewise.
14544 (INIT_SUBTARGET_OPTABS): Likewise.
14545 (BSS_SECTION_ASM_OP): Likewise.
14546 (SBSS_SECTION_ASM_OP): Likewise.
14547 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
14548 (ASM_DECLARE_OBJECT_NAME): Likewise.
14549 (UNIQUE_SECTION): Likewise.
14550 (EXTRA_SECTIONS): Likewise.
14551 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
14552 (ASM_OUTPUT_DESTRUCTOR): Likewise.
14553 (ASM_OUTPUT_DEF): Likewise.
14554 (HANDLE_SYSV_PRAGMA): Removed.
14555 (NO_IMPLICIT_EXTERN_C): Likewise.
14556 (TARGET_MEM_FUNCTIONS): Likewise.
14557 (STARTFILE_SPEC): Likewise.
14558 (ENDFILE_SPEC): Likewise.
14559 (LIB_SPEC): Likewise.
14560 (INVOKE__main): Likewise.
14561 (CTOR_LIST_BEGIN): Likewise.
14562 (CTOR_LIST_END): Likewise.
14563 (DTOR_LIST_BEGIN): Likewise.
14564 (DTOR_LIST_END): Likewise.
14565 (SET_ASM_OP): Likewise.
14566 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14567 (ASM_OUTPUT_DEF): Likewise.
14568 (ASM_OUTPUT_IDENT): Likewise.
14570 * config/mips/mips.h (ASM_SPEC): Undefine before define.
14571 (CPLUSPLUS_CPP_SPEC): Likewise.
14572 (ASM_APP_ON) Redefine only if not defined.
14573 (ASM_APP_OFF): Likewise.
14574 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14575 (ASM_OUTPUT_IDENT): Likewise.
14577 * config.gcc: Update tm_file for Linux/mips.
14579 2001-08-08 Bernd Schmidt <bernds@redhat.com>
14581 * cselib.c (cselib_record_sets): If insn is predicated, turn
14582 sources into IF_THEN_ELSEs.
14584 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
14585 Turn into define_insn_and_split.
14587 * sched-deps.c: Include "cselib.h".
14588 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
14589 Use cselib to turn memory addresses into VALUEs.
14590 (sched_analyze): Call cselib_init/cselib_finish if necessary.
14591 * sched-int.h (struct sched_info): New member USE_CSELIB.
14592 * sched-ebb.c (ebb_sched_info): Initialize it.
14593 * sched-rgn.c (rgn_sched_info): Likewise.
14594 * Makefile.in (sched-deps.o): Update dependencies.
14596 * cselib.h (cselib_subst_to_values): Declare.
14597 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
14598 that have no value and autoincs to be handled by generating a new
14601 2001-08-08 Graham Stott <grahams@redhat.com>
14603 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
14604 within fixed length SEQUENCE.
14606 2001-08-08 Graham Stott <grahams@redhat.com>
14608 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
14609 (diagnostic_prefixing_rule): Likewise.
14610 (diagnostic_line_cutoff): Likewise.
14611 (diagnostic_kind_count): Likewise.
14613 2001-08-08 Graham Stott <grahams@redhat.com>
14615 * alias.c (find_base_decl): Delete redundent assignment.
14617 2001-08-08 Graham Stott <grahams@redhat.com>
14619 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
14620 (abs): Uppercase and paranthesize macro parameter.
14621 (MEM_DEPENDENCY): Add whitespace.
14623 2001-08-08 Graham Stott <grahams@redhat.com>
14625 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
14626 failure check for CONST_INT
14628 2001-08-08 Graham Stott <grahams@redhat.com>
14630 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
14631 (libcall_dead_p): Likewise.
14633 (mark_used_regs): Constify fmt.
14634 (find_use_as_address): Likewise.
14636 2001-08-08 Graham Stott <grahams@redhat.com>
14638 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
14641 2001-08-08 Graham Stott <grahams@redhat.com>
14643 * combine.c (combine_simplify_rtx): Update comment and
14644 remove erroneous test.
14646 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14648 * cppinit.c (cpp_finish): Pop the final buffer without comment.
14649 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
14650 take care to avoid multiple no-newline at EOF warnings in that
14653 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
14655 * calls.c (expand_call): Do not emit INSN_SETJMP note.
14656 (emit_library_call_value_1): Likewise.
14657 (emit_call_1): Emit REG_SETJMP note.
14658 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
14660 * cselib.c (cselib_process_insn): Likewise.
14661 * flow.c (propagate_block): Likewise.
14662 * loop.c (find_and_verify_loops): Likewise.
14663 * reload.c (find_equiv_regs): Likewise.
14664 * reload1.c (reload): Likewise.
14665 * resource.c (mark_referenced_resources,
14666 mark_set_resources): Likewise.
14667 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
14668 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
14669 * haifa-sched.c (unlink_other_notes): Likewise.
14670 (reemit_notes): Likewise.
14671 * sched-ebb.c (sched_ebb): Likewise.
14672 * sched-rgc.c (sched_region): Likewise.
14673 * rtl.c (note_insn_name): Likewise.
14674 (reg_note_name): Add REG_SETJMP
14675 * rtl.h (reg_note): Add REG_SETJMP.
14676 (insn_note): Remove NOTE_INSN_SETJMP.
14678 * profile.c (branch_prob): Add fake edges for setjmp.
14680 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
14682 * config.gcc: Quote target_cpu_default2 correctly for
14683 powerpc*-*-* targets.
14685 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14687 * cpplib.h, line-map.h: Update comments.
14688 * cppmain.c (printer_init): Move inline.
14689 (maybe_print_line, print_line): Take a map pointer.
14690 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
14691 (cb_file_change): Don't use prior value of print.map.
14693 2001-08-07 David Edelsohn <edelsohn@gnu.org>
14695 * doc/install.texi: Document fine-grained multilib configuration.
14697 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
14699 * rtlanal.c (find_first_parameter_load): Call note_stores
14700 only on the instructions.
14702 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14704 * alias.c (nonlocal_mentioned_p):
14705 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
14706 * calls.c (emit_call_1): Likewise.
14707 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
14708 * cselib.c (cselib_process_insn): Likewise.
14709 * df.c (df_insns_modify): Likewise.
14710 * flow.c (need_fake_edge_p): Likewise.
14711 (propagate_one_insn): Likewise.
14712 * haifa-sched.c (reemit_notes): Likewise.
14713 * integrate.c (copy_insn_list): Likewise.
14714 * jump.c (delete_prior_computation): Likewise.
14715 * local-alloc.c (validate_equiv_mem): Likewise.
14716 * loop.c (scan_loop): Likewise.
14717 * predict.c (estimate_probability): Likewise.
14718 * reload.c (reload): Likewise.
14719 * sched-deps (sched_analyze): Likewise.
14720 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
14721 * gcse.c (compute_hash_table): Likewise.
14722 (mark_call): Likewise.
14723 (store_killed_in_insn): Likewise.
14725 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
14727 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
14729 2001-08-06 Richard Henderson <rth@redhat.com>
14731 * varasm.c (assemble_gc_entry): Remove.
14732 * output.h: Likewise.
14734 2001-08-06 Richard Henderson <rth@redhat.com>
14736 * varasm.c (assemble_constructor): Take a symbol_ref and a
14737 priority instead of a bare string. Move priority handling
14738 here from cp/decl2.c.
14739 * output.h: Update decls.
14741 * c-decl.c (c_expand_body): Update calls to assemble_constructor
14742 and assemble_destructor.
14743 * profile.c (output_func_start_profiler): Likewise.
14744 * objc/objc-act.c (finish_objc): Likewise.
14745 (build_module_descriptor): Return the symbol not the symbol name.
14747 2001-08-06 David Edelsohn <edelsohn@gnu.org>
14749 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
14750 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
14751 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
14752 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
14753 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
14754 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
14756 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14758 * cpperror.c (print_containing_files): Moved to line-map.c.
14759 (print_location): line-map.c handles re-listing or otherwise.
14760 * cpphash.h (struct lexer_state): Remove next_bol.
14761 (struct cpp_buffer): Remove include_stack_listed.
14762 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
14763 Remove faked buffer handling.
14764 (_cpp_do_file_change): Tweak.
14765 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
14766 * cppmain.c (struct printer): Remove filename.
14767 (print_line, cb_file_change): Update accordingly.
14768 * line-map.c: Include intl.h.
14769 (init_line_maps): Initialize last_listed.
14770 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
14771 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
14772 (print_containing_files): New.
14773 * line-map.h (struct line_maps): New member last_listed.
14774 (print_containing_files, INCLUDED_FROM): New.
14775 * Makefile.in: Update.
14776 * po/POTFILES.in: Add line-map.c.
14778 2001-08-06 Richard Henderson <rth@redhat.com>
14780 * except.c (convert_from_eh_region_ranges_1): Never mark
14781 USE or CLOBBER insns as throwing.
14783 * expr.c (store_constructor): Don't clobber memory targets.
14785 2001-08-06 Andreas Jaeger <aj@suse.de>
14787 * profile.c (branch_prob): Remove unused variable insn.
14789 * Makefile.in (local-alloc.o): Add dependency on except.h.
14791 * local-alloc.c: Include except.h for can_throw_internal prototype.
14793 2001-08-06 Richard Henderson <rth@redhat.com>
14795 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
14796 * function.c (expand_main_function): Implement it.
14797 * doc/tm.texi: Document it.
14799 2001-08-06 Stan Shebs <shebs@apple.com>
14801 * doc/install.texi: Document powerpc-*-darwin* details.
14803 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
14805 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
14806 (ASM_CPU_SPEC): Move back to rs6000.h
14807 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
14809 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
14811 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
14814 * config/rs6000/linux64.h: Ditto.
14816 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14817 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
14820 Remove accidently readded definitions of FUNCTION_PROLOGUE,
14821 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
14823 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14826 2001-08-05 Richard Henderson <rth@redhat.com>
14828 * local-alloc.c (update_equiv_regs): Do not move insns that
14831 2001-08-05 Jan Hubicka <jh@suse.cz>
14833 * Makefile.in (reload1.o): Add dedendancy on except.h
14834 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
14836 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
14837 indicating wehther edges has been cleaned up.
14838 * reload1.c: Inlucde except.h
14839 (fixup_abnormal_edges): Accept deleted insns.
14840 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
14843 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14845 * cpplib.c (do_line): Correct line number after pop_buffer.
14847 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14849 PR preprocessor/3824
14850 * line-map.c: Update comments.
14851 * line-map.h: Update comments.
14852 * tradcif.y: Don't consider large numbers unsigned.
14854 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14856 PR preprocessor/3081
14857 * c-lex.c (map): New.
14858 (cb_file_change): Update map and use it.
14859 (cb_def_pragma, cb_define, cb_undef): Use map and line.
14860 (c_lex): Update to use map.
14861 * cpperror.c (print_location): Move to using logical line numbers.
14862 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
14863 (cpp_make_system_header): Similarly.
14864 (_cpp_execute_include): Stop line numbering hacks. Store the
14865 line we will return to.
14866 * cpphash.h (CPP_BUF_LINE): Remove.
14867 (struct cpp_buffer): Remove lineno and pseudo_newlines.
14868 Add map and return_to_line.
14869 (_cpp_do_file_change): Update.
14870 * cppinit.c (cpp_start_read): Update line kludge.
14871 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
14872 (trigraph_ok): Use logical line numbers for diagnostics.
14873 (skip_block_comment): Likewise.
14874 (skip_whitespace): Likewise.
14875 (skip_line_comment): Use pfile->line instead.
14876 (_cpp_lex_token): Update to use logical line numbering exclusively.
14877 Handle BOL locally. Accept new lines in directives, but keep
14878 pfile->line decremented. Diagnostics use logical lines. Update
14879 directive handling.
14880 * cpplib.c (SEEN_EOL): New.
14881 (skip_rest_of_line, check_eol): Use it.
14882 (end_directive): Increase line number when accepting the newline
14883 at the end of a directive.
14884 (run_directive): Simplify.
14885 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
14886 (_cpp_do_file_change): Update to take buffer line number as an
14887 argument, and store the current map in the cpp_reader. Remove
14888 line number kludges.
14889 (_cpp_do__Pragma): Restore output position after a _Pragma.
14890 (cpp_push_buffer): Don't set output line or lineno.
14891 (_cpp_pop_buffer): Transfer more info from a faked buffer.
14892 Remove line kludge. Set output_line.
14893 * cppmacro.c (builtin_macro): Update handling of __LINE__.
14894 (parse_arg): Use logical lines.
14895 (save_lookahead_token): Save EOFs too now.
14896 * cppmain.c (struct printer): Fix comments.
14897 (printer_init): Simplify, let caller do errors.
14898 (scan_translation_unit, check_multiline_token, dump_macro): Update.
14899 (maybe_print_line): Simplify.
14900 (print_line): Don't print a linemarker if -P.
14901 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
14902 (cb_file_change): Simplify.
14903 * line-map.h (LAST_SOURCE_LINE): Fix.
14904 (CURRENT_LINE_MAP): New.
14906 2001-08-05 Bernd Schmidt <bernds@redhat.com>
14908 * doloop.c (doloop_modify_runtime): Properly compute number of
14909 iterations if loop was unrolled.
14911 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
14912 if their CSELIB_VAL_PTRs are.
14914 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
14915 (setup_spill_pointers): Initialize it.
14916 (spill_restore_mem): Set it.
14917 (do_spill, do_restore): Use it to add REG_INC note.
14918 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
14920 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
14921 asms if other insns are available.
14923 * config/ia64/ia64.c (condop_operator): New predicate.
14924 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
14925 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
14928 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
14929 temporary register than directly using a MEM.
14931 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14933 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
14934 parameter in last change.
14936 2001-08-04 Zack Weinberg <zackw@panix.com>
14938 * sparc.md: Don't use #if inside C test expression.
14940 2001-08-04 Richard Henderson <rth@redhat.com>
14942 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
14944 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
14946 * cpphash.h (struct cpp_reader): New member directive_line.
14947 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
14948 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
14949 do_pragma): Pass line to callbacks.
14950 (start_directive): Record line of directive.
14951 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
14952 cb_include): Similarly.
14953 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
14956 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14958 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
14961 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14963 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
14965 * reload1.c (fixup_abnormal_edges): New static function.
14968 * flow.c (need_fake_edge_p): New function.
14969 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
14970 avoid call insn to be very last insn in the insn stream.
14972 * profile.c (branch_prob): Call flow_call_edges_add instead of
14973 doing that by hand; cleanup cfg to re-merge basic blocks once
14976 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14978 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
14979 are also on line-map.h.
14980 * cppfiles.c (stack_include_file): Update.
14981 * cpphash.h (struct cpp_buffer): New member return_at_eof.
14982 (_cpp_pop_buffer): New.
14983 * cppinit.c (cpp_destroy, cpp_finish): Update.
14984 (do_includes): Mark each buffer to return at EOF.
14985 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
14986 return as requested.
14987 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
14988 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
14989 * cpplib.h (cpp_pop_buffer): Remove.
14990 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
14991 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
14993 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
14995 (do_preprocessing): Update.
14996 * fix-header.c (read_scan_file): Update. No need to pop buffers.
14997 * c-parse.in (_yylex): Similarly.
14998 * scan-decls.c (scan_decls): Similarly.
14999 * line-map.h: Update comments.
15001 * objc/Make-lang.in (objc-act.o): Update dependencies.
15003 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15005 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
15006 and soft register for operand 0.
15007 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
15009 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15011 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
15012 register for operand 0.
15013 ("bitcmpqi_z_used"): Allow memory for operand 0.
15014 (split "bitcmpqi"): New split to handle address reg as operand 1.
15016 2001-08-04 Andreas Jaeger <aj@suse.de>
15018 * gcse.c: Revert Daniel's last patch.
15020 2001-08-03 Zack Weinberg <zackw@stanford.edu>
15022 * sparc-protos.h: Add prototypes for fp_zero_operand and
15024 * sh-protos.h: Add prototype for fpul_operand.
15026 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
15028 * doc/extend.texi (Other Builtins): Fix typo in last change.
15030 2001-08-03 Richard Henderson <rth@redhat.com>
15032 * target.h (gcc_target): Add asm_out.named_section,
15033 section_type_flags, have_named_sections.
15034 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
15035 (TARGET_HAVE_NAMED_SECTIONS): New.
15036 (TARGET_SECTION_TYPE_FLAGS): New.
15038 * Makefile.in (toplev.o): Depend on TARGET_H.
15039 (varasm.o, dbxout.o): Likewise.
15040 * c-common.c (decl_attributes): Check targetm.have_named_sections
15041 instead of ifdef ASM_OUTPUT_SECTION_NAME.
15042 * dbxout.c (dbxout_function_decl): Likewise.
15043 (dbxout_function_end): Likewise.
15044 * toplev.c (compile_file): Likewise.
15045 * varasm.c (exception_section): Likewise.
15046 * cp/decl2.c (finish_objects): Likewise.
15048 * defaults.h (EH_FRAME_SECTION): Remove.
15049 (EH_FRAME_SECTION_ASM_OP): Remove.
15050 (EH_FRAME_SECTION_NAME): New.
15051 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
15052 (UNIQUE_SECTION_P): Remove.
15053 * dwarf2out.c (SECTION_FORMAT): Remove.
15054 (ASM_OUTPUT_SECTION): Remove.
15055 (output_call_frame_info): Use named_section_flags.
15056 (output_comp_unit, dwarf2out_start_source_file): Likewise.
15057 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
15058 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
15059 * varasm.c (in_eh_frame, eh_frame_section): Remove.
15060 (named_section_flags): New.
15061 (named_section): Use it and targetm.section_type_flags.
15062 (resolve_unique_section): New.
15063 (assemble_start_function): Use it.
15064 (asm_emit_uninitialised, assemble_variable): Likewise.
15065 (default_section_type_flags): New.
15066 (default_no_named_section, default_elf_asm_named_section): New.
15067 (default_coff_asm_named_section, default_pe_asm_named_section): New.
15068 * output.h: Update varasm.c decls.
15069 (SECTION_*): New flags.
15071 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
15072 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
15074 * config/elfos.h (UNIQUE_SECTION_P): Remove.
15075 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
15076 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
15077 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
15078 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
15079 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
15080 * config/mips/elf.h, config/mips/elf64.h: Likewise.
15081 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
15082 * config/pa/pa64-hpux.h,
15084 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
15085 (TARGET_ASM_NAMED_SECTION): New.
15086 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
15087 * config/alpha/vms.h, config/arm/coff.h: Likewise.
15088 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
15089 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
15090 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
15091 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
15092 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
15093 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
15094 * config/i386/sco5.h, config/i386/win32.h: Likewise.
15095 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
15096 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
15097 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
15098 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
15099 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
15100 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
15101 * config/sparc/sysv4.h: Likewise.
15103 * config/nextstep.h: Error until named sections implemented.
15105 * config/a29k/a29k.c (a29k_asm_named_section): New.
15106 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
15107 (vms_section_type_flags, vms_asm_named_section): New.
15108 * config/arm/arm.c (arm_elf_asm_named_section): New.
15109 * config/avr/avr.c (asm_output_section_name): Remove.
15110 * config/avr/avr-protos.h: Update.
15111 * config/c4x/c4x.c (c4x_asm_named_section): New.
15112 * config/h8300/h8300.c (h8300_asm_named_section): New.
15113 * config/i386/i386.c (sco_asm_named_section): New.
15114 * config/i386/winnt.c (SECTION_PE_SHARED): New.
15115 (i386_pe_section_type_flags): New.
15116 (i386_pe_asm_named_section): New.
15117 * config/i386/i386-protos.h: Update.
15118 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
15119 * config/mcore/mcore.c (mcore_asm_named_section): New.
15120 * config/mips/mips.c (iris6_asm_named_section): New.
15121 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
15122 instead of UNIQUE_SECTION_P.
15123 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
15124 (xcoff_asm_named_section): New.
15125 * config/sh/sh.c (sh_asm_named_section): New.
15126 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
15128 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
15129 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
15130 (EH_FRAME_SECTION_NAME): New.
15131 (EXCEPTION_SECTION): New.
15132 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
15133 (DEBUG_*_SECTION): Remove.
15134 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
15135 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
15136 (EH_FRAME_SECTION_ASM_OP): Remove.
15138 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
15139 (ASM_OUTPUT_SECTION_NAME): Remove.
15140 (TARGET_ASM_NAMED_SECTION): New.
15141 (TARGET_HAVE_NAMED_SECTIONS): New.
15142 (TARGET_SECTION_TYPE_FLAGS): New.
15143 (EH_FRAME_SECTION_ASM_OP): Remove.
15144 (EH_FRAME_SECTION_NAME): New.
15146 2001-08-03 Zack Weinberg <zackw@stanford.edu>
15148 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
15149 for complex expressions when cfun == 0.
15150 * doc/extend.texi: Document that __builtin_constant_p can be
15151 used in data initializers as well as functions.
15153 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
15155 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
15156 variable I locally, instead of expecting a declaration in the
15159 2001-08-03 Richard Henderson <rth@redhat.com>
15161 * except.c (collect_one_action_chain): Add an explicit cleanup
15162 action if regions surrounding a catch were encoded entirely
15163 within the call-site entry.
15165 2001-08-03 Richard Henderson <rth@redhat.com>
15167 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
15168 don't take REGNO of a non-register.
15170 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15172 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
15173 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
15174 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
15175 (__gthread_mutex_init_function): New function for mutex initialization.
15177 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15179 * Makefile.in: Revert screwed up commit.
15181 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15183 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
15184 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
15185 merged by linker script to get a final _exit().
15186 (__do_global_dtors): New for destructor handling in specific exit
15188 (__do_global_ctors): New for constructors in specific install section.
15189 (__map_data_section): Map data sections before running constructors.
15190 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
15191 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
15192 (DTORS_SECTION_ASM_OP): Likewise.
15193 (CTORS_SECTION_FUNCTION): Define to force a reference to
15195 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
15197 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15199 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
15201 * Makefile.in: Add df.h to gcse.c dependencies.
15203 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15205 * varasm.c (output_constant_def_contents): Use for the length of a
15206 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
15207 depending on which is larger.
15209 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15211 * gcse.c: Include df.h for use as a dataflow analyzer.
15213 Declaration of reg_set_info: gone.
15214 New df_analyzer variable used by store motion.
15215 (reg_set_info): Deleted.
15216 (mark_mem_regs): New function, analyze regs used by a mem.
15217 (store_ops_ok): Use dataflow analyzer results to determine if
15218 necessary regs are changed in the block.
15219 (find_moveable_store): Remove check for symbol ref, we can handle
15220 much more complex expressions now.
15221 (compute_store_table): Remove most of the code, it's unnecessary
15222 now that the dataflow analyzer records the info for us.
15223 (store_killed_after): Add parameter to say whether to do the
15224 store_ops_okay test, used to speed up testing when we already know
15225 the answer, and just want to know if the store itself was killed.
15226 (build_store_vector): Largely rewritten to calculate the various
15227 vectors properly, and somewhat optimized.
15228 (store_motion): Init the df_analyzer, get REG_DEF chains.
15229 Also handle trapping expressions (since mems almost always trap)
15230 (simple_mem): Redefine what a simple mem is.
15232 2001-08-03 DJ Delorie <dj@redhat.com>
15234 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
15235 set from a constant part of the condition.
15237 2001-08-01 Andrew Cagney <ac131313@redhat.com>
15239 * mkdeps.c (deps_add_default_target): Make local variable
15240 ``start'' a const char pointer.
15241 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
15243 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15245 * doc/install.texi (Configuration): Fix markup.
15246 (Specific, i?86-*-udk): Likewise.
15247 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
15249 Document --enable-threads and --enable-libgcj status.
15250 (Specific, mips-sgi-irix*): Canonicalize triples.
15251 (Specific, mips-sgi-irix5): Warn about problems with this config.
15252 Mention required GNU as patch.
15253 Native assembler problems are fixed.
15254 (Specific, mips-sgi-irix6): Update O32 ABI support status.
15255 Document --enable-threads and --enable-libgcj status.
15257 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15259 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
15262 2001-08-03 Richard Henderson <rth@redhat.com>
15264 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
15267 2001-08-03 Richard Henderson <rth@redhat.com>
15269 * rtlanal.c (find_first_parameter_load): Stop if we
15270 reach a CODE_LABEL at BOUNDARY.
15272 2001-08-03 Richard Henderson <rth@redhat.com>
15274 * config/alpha/alpha.md (force_movdi): New insn.
15275 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
15276 Tweek FRP marking of VMS prologue insns.
15277 * config/alpha/vms.h (EPILOGUE_USES): New.
15279 2001-08-02 Richard Henderson <rth@redhat.com>
15281 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
15283 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15285 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
15286 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
15287 config/convex/convex.h, config/d30v/d30v.c,
15288 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15289 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
15290 config/mips/mips.h, config/mn10200/mn10200.h,
15291 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
15292 config/v850/v850.h, config/vax/openbsd.h,
15293 config/vax/openbsd1.h, config/vax/ultrix.h,
15294 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
15295 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
15296 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
15297 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
15298 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
15299 in comments and documentation.
15301 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15305 * Makefile.in (line-map.o): New.
15306 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
15307 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
15308 * cpperror.c (print_containing_files): Similarly.
15309 (print_location): Update. Don't output a space before _Pragma.
15310 * cppfiles.c (stack_include_file): Set to line 1 immediately.
15311 (stack_include_filee, cpp_make_system_header): Update.
15312 (_cpp_execute_include): Get logical line number right for calling
15313 as-yet-unterminated #include.
15314 * cpphash.h (struct cpp_reader): Add line_maps.
15315 (_cpp_do_file_change): Update.
15316 * cppinit.c (cpp_create_reader): Initialize line maps.
15317 (cpp_destroy): Destroy line maps.
15318 (cpp_start_read): Get logical line number right.
15319 * cpplex.c (parse_string): Only warn once for multi-line strings.
15320 Use boolean variable for null warning.
15321 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
15323 (do_include_common): End the directive early.
15324 (do_line): Don't warn about out-of-range lines in preprocessed
15325 source. Update. Remove unused variables.
15326 (_cpp_do_file_change): Update for new line mapping.
15327 (pragma_cb): New typedef.
15328 (cpp_register_pragma): Stop looking ahead before calling the
15330 (do_pragma_system_header): End directive early.
15331 (cpp_get_line_maps): New.
15332 (cpp_pop_buffer): Fudge logical line. Update.
15333 * cpplib.h: Include line-map.h
15334 (enum cpp_fc_reason): Remove.
15335 (struct cpp_file_change): Update.
15336 (cpp_get_line_maps): New.
15337 * cppmain.c (struct_printer): New member map.
15338 (cb_file_change): Update for new mappings.
15339 * fix-header.c (cb_file_change): Similarly.
15341 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15343 * Makefile.in (libgcc.mk): Define mkinstalldirs.
15344 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
15346 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15348 * config/vax/vax.c: include expr.h.
15350 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15352 * Makefile.in ($(srcdir)/configure): Only rebuild in
15354 ($(srcdir)/config.in): Only define in maintainer mode.
15355 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
15357 2001-08-02 David Edelsohn <edelsohn@gnu.org>
15359 * doc/install.texi (Install GCC: Binaries): Update Bull info.
15361 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15363 * gcc.c (set_collect_gcc_options): New function, split out from
15365 Ignore elided switches.
15366 (do_spec_1): Invoke before executing command.
15367 (set_input): Export.
15368 Move declaration ...
15369 * gcc.h (set_input): ... here.
15370 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
15373 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
15376 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
15378 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
15380 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
15382 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
15383 for the unnamed instructions it expands to.
15385 2001-08-02 Richard Henderson <rth@redhat.com>
15387 * regclass.c (call_really_used_regs): Conditionally define.
15388 (init_reg_sets_1): Don't use it if not defined.
15389 (fix_register): Similarly, don't set it.
15391 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15393 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
15394 Correct comment that had been missed in the previous change.
15396 2001-08-01 Stan Shebs <shebs@apple.com>
15398 * config/darwin.c (machopic_stub_name): Try matching by name.
15399 (update_stubs): New function.
15400 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
15403 2001-08-01 Richard Henderson <rth@redhat.com>
15405 * except.c (output_function_exception_table): Use assemble_align.
15406 * varasm.c (assemble_eh_label): Remove.
15407 (assemble_eh_align, assemble_eh_integer): Remove.
15409 2001-08-01 Robert Lipe <robertl@caldera.com>
15411 * dwarfout.c: Remove reference to README.DWARF.
15413 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
15415 * regclass.c (call_really_used_regs): New array for registers which
15416 are actually used by a call.
15417 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
15419 (fix_register): Set call_really_used too.
15420 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
15421 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
15423 2001-08-01 Richard Henderson <rth@redhat.com>
15425 * read-rtl.c (read_name): Consider \r whitespace.
15427 2001-07-11 Andrew Cagney <ac131313@redhat.com>
15429 * config.gcc: Recognize powerpc-*-netbsd*.
15431 * doc/install.texi (Host/target specific installation notes for
15432 GCC): Mention powerpc-*-netbsd*.
15434 * config/rs6000/netbsd.h: New file.
15435 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
15436 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
15437 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
15438 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
15439 (TARGET_VERSION): Redefine.
15441 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
15442 mcall-netbsd as a match for mcall-sysv.
15443 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
15444 (ncrti.S, ncrtn.S): New targets.
15445 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
15447 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
15448 "netbsd' as a V4 ABI.
15449 (ASM_SPEC): Check for -mcall-netbsd.
15450 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
15451 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
15452 (LIB_SPEC, ENDFILE_SPEC): Ditto.
15453 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
15454 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
15455 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
15456 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
15458 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
15459 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
15461 2001-08-01 Mark Kettenis <kettenis@gnu.org>
15463 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
15464 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
15465 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
15466 including "unwind-pe.h".
15468 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
15470 * rs6000.md (define_splits): Kill unused constraints.
15472 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
15473 Jan Hubicka <jh@suse.cz>
15475 * function.c (thread_prologue_and_epilogue_insns): Kill code
15476 dealing with non-existent CFG.
15478 2001-08-01 Kazu Hirata <kazu@hxi.com>
15480 * alias.c: Fix comment formatting.
15481 * bitmap.c: Likewise.
15482 * builtins.c: Likewise.
15483 * calls.c: Likewise.
15484 * c-common.c: Likewise.
15485 * c-decl.c: Likewise.
15486 * c-dump.c: Likewise.
15487 * c-lex.c: Likewise.
15488 * collect2.c: Likewise.
15489 * combine.c: Likewise.
15490 * conflict.c: Likewise.
15491 * cppfiles.c: Likewise.
15492 * cppinit.c: Likewise.
15493 * cpplex.c: Likewise.
15494 * cpplib.c: Likewise.
15495 * cppmacro.c: Likewise.
15496 * cppspec.c: Likewise.
15497 * c-pragma.c: Likewise.
15498 * crtstuff.c: Likewise.
15500 * cselib.c: Likewise.
15501 * c-semantics.c: Likewise.
15502 * c-typeck.c: Likewise.
15504 2001-08-01 H.J. Lu <hjl@gnu.org>
15506 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
15508 2001-08-01 H.J. Lu <hjl@gnu.org>
15510 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
15512 2001-08-01 Ziemowit Laski <zlaski@apple.com>
15514 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
15515 contextualizing Objective-C class name lookup by the lexer.
15516 (typespec_reserved_nonattr): Disable ObjC class name lookup after
15518 (protocoldef): Add support for forward @protocol declarations.
15519 (yylexname): Suppress ObjC class name lookup in certain contexts;
15520 re-enable after lookup is complete.
15521 (_yylex): Re-enable ObjC class name lookup when certain
15522 punctuation marks are seen.
15524 * objc/objc-act.c (check_protocol_recursively): New function used
15525 for finding circular dependencies in protocols.
15526 (objc_declare_protocols): New function for handling forward
15527 @protocol declarations.
15528 (receiver_is_class_object): Detect the case when 'self' is used
15529 inside of a class method.
15530 (build_message_expr): Issue a warning if class method is desired
15531 but instance method is found instead.
15532 (conforms_to_protocol): Streamline.
15533 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
15534 protocol Foo, even if 'Bar foo' does not.
15535 (check_protocols): Streamline.
15536 (start_protocol): Add checks for circular and duplicate protocol
15538 (encode_aggregate_within): For typedefs of structs, encode the
15540 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
15541 (objc_declare_protocols): New prototype.
15543 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15545 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
15546 * cpplex.c (handle_newline): Update prototype. Maintain logical
15548 (skip_escaped_newlines, skip_block_comment, parse_string):
15549 Update accordingly.
15550 (_cpp_lex_token): Update, and store token position within the token.
15551 * cpplib.h (struct cpp_token): Add line and column entries.
15552 * cppmacro.c (replace_args): Position stringified tokens correctly.
15554 2001-08-01 Andreas Jaeger <aj@suse.de>
15556 * basic-block.h: Add prototype for last_loop_beg_note.
15558 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
15560 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
15561 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
15563 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
15564 while handling WITH_CLEANUP_EXPR node. Use second operand calling
15565 expand_decl_cleanup.
15566 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
15568 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
15569 operand while calling simple_cst_equal.
15570 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
15571 operand is the cleanup expression, the third is the RTL_EXPR.
15572 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
15574 2001-07-31 Jeff Sturm <jsturm@one-point.com>
15576 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
15578 2001-07-31 matthew green <mrg@eterna.com.au>
15580 * config.gcc (i386-*-netbsdelf): New description.
15581 * config/i386/netbsd-elf.h: New file.
15583 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
15585 * loop.c (check_dbra_loop): Use single_set to compute
15588 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
15590 PowerPC reorg and support for powerpc64-*-linux*.
15592 Also fixes emitting of constants on 32 bit and 64 bit
15595 * config.gcc: powerpc64-*-linux* is a new target.
15596 Things that needed aix.h now also include xcoff.h
15598 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
15600 Move AIX specific stuff into aix.h.
15601 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
15602 with more than just XCOFF now.
15603 (SET_ASM_OP): Remove, now defined where needed.
15604 (FUNCTION_PROLOGUE): New macro definition.
15605 (FUNCTION_EPILOGUE): New macro definition.
15606 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
15608 * config/rs6000/xcoff.h: New file.
15610 * config/rs6000/linux64.h: New file.
15612 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
15614 2001-07-31 Alan Modra <amodra@bigpond.net.au>
15616 * rs6000.c (print_operand_address): Handle ELF syntax.
15617 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
15618 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
15619 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
15621 2001-07-31 David Edelsohn <edelsohn@gnu.org>
15623 * rs6000.c (rs6000_override_options): Only disable
15624 flag_function_sections for XCOFF.
15625 (exact_log2_cint_operand): New predicate.
15626 (reg_or_{add,sub}_cint64_operand): New predicates.
15627 (add_operand): Compare CONST_INT with fewer function calls.
15628 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
15629 (print_operand, case 'p'): Ensure positive operand.
15630 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
15631 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
15632 (PREDICATE_CODES): Add new predicates.
15633 * rs6000.md (addsi3): Split 32-bit constants more correctly.
15634 (divsi3, modsi3): Ensure positive power-of-2.
15635 (adddi3): Use new predicate. Split 32-bit constants more
15636 correctly. Re-arrange splitter to handle any constant.
15637 (subdi3): Use new predicate.
15638 (divdi3, moddi3): Ensure positive power-of-2.
15639 (movdi): Use rs6000_emit_set_const.
15640 (load_toc_v4_pic_di): Delete.
15642 2001-07-31 Graham Stott <grahams@redhat.com>
15644 * function.c (pad_below): Revert 2001-07-26 patch.
15646 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15648 * reg-stack (convert_regs_1): Fix best edge condition.
15650 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
15652 * jump.c (duplicate_loop_exit_test): Better test for jumps
15653 entering the loop; create loop pre_header.
15655 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
15657 * doc/install.texi: Add s390 and s390x as new targets.
15658 * doc/invoke.texi: Add documentation of S/390 and zSeries
15660 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
15662 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15664 * config/m68k/m68k.md: Replace all general_operand with
15665 nonimmediate_operand for all destinations.
15666 * config/m68k/m68k.c (not_sp_operand): Likewise.
15668 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
15670 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
15672 2001-07-30 Richard Henderson <rth@redhat.com>
15674 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
15675 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
15677 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15679 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
15680 Add missing doc strings
15681 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
15682 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
15684 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
15686 * i386.c (ix86_output_main_function_alignment_hack): New function.
15687 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
15689 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
15690 edges by EDGE_DFS_BACK flag.
15691 (dump_edge_info): Add dfs_back flag.
15692 * basic-block.h (EDGE_DFS_BACK): New constant.
15693 (mark_dfs_back_edges): Declare.
15694 * alias.c (loop_p): Remove.
15695 (mark_constant_function): Use mark_dfs_back_edges.
15697 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
15698 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
15699 (compensate_edge): Break out from ...
15700 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
15701 (convert_regs_2): Set block_done once block is really done;
15702 Do updating of the predecessors counts.
15704 * toplev.c (rest_of_compilation): Recompute block_for_insn
15705 before post-reload cfg_cleanup.
15706 * function.c (thread_prologue_epilogue_insns):
15707 Call set_block_for_new_insns when emitting prologue directly.
15709 2001-07-30 Andreas Jaeger <aj@suse.de>
15711 * jump.c: Add prototype for mark_modified_reg.
15713 * cse.c (set_live_p): Add unused attribute.
15715 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
15717 (scan_for_source_files): Use long for count to avoid overflow.
15718 (output_data): Likewise.
15719 (output_data): Don't use string concatatenation to silence gcc
15722 * predict.c: Fix typos and grammar.
15724 * gcse.c (insert_insn_end_bb): Remove unused variables.
15726 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
15728 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
15729 (attempt_auto_inc): LIkewise.
15730 (mark_used_reg): Likewise.
15731 (try_pre_increment_1): Likewise.
15732 * regclass.c (regclass): Likewise.
15733 * global.c (allocno_compare): Update comment; change scaling factor.
15734 * local-alloc.c (QTY_CMP_PRI): Likewise.
15735 * regs.h (REG_FREQ_FROM_BB): New.
15736 (REG_FREQ_MAX): Likewise.
15738 2001-07-30 H.J. Lu <hjl@gnu.org>
15740 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
15743 2001-07-30 H.J. Lu (hjl@gnu.org)
15745 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
15746 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15747 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
15749 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
15751 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
15752 as -mthumb-interwork when -mcpu=arm7 is specified.
15754 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
15756 * predict.def (noreturn, loop branch, loop exit): Mark as first
15759 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
15761 * combine.c (try_combine): Avoid barrier after noop jumps.
15763 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15765 * cpphash.h (struct cpp_reader): Remove import_warning.
15766 * cpplib.c (skip_rest_of_line): Don't bother turning off
15768 (parse_include): Move include handling to...
15769 (do_include_common): ... here. Move import warning from...
15770 (do_import): ... here.
15771 (do_pragma_poison): Don't do a callback for poison identifiers.
15772 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
15773 * cppmain.c (setup_callbacks): Similarly.
15775 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
15777 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
15778 handle multiple sets.
15779 * except.c (sjlj_mark_call_sites): .... here.
15780 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
15782 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
15784 Suggested by Richard Henderson and Richard Kenner:
15785 * combine.c (recog_for_combine): Use the fake recog
15786 only if instruction does not match.
15787 * rtl.h (NOOP_MOVE_INSN_CODE): New.
15788 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
15790 * combine.c (try_combine): Discover noop jump as direct jump.
15792 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
15794 * df.c (df_rd_global_compute): Add successors to worklist, not
15796 (df_ru_global_compute): Ditto.
15798 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
15800 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
15801 increment REG_N_SETS.
15803 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
15805 * sbitmap.h: New prototype for sbitmap_a_xor_b.
15807 * sbitmap.c (sbitmap_a_xor_b): New function.
15808 ifdef the basic block stuff on IN_GCC.
15810 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15812 * cppexp.c (parse_defined): Always record the macro name.
15813 (lex): Don't worry about identifiers, or special-case
15815 (_cpp_parse_expr): Figure out at the end of the routine
15816 whether we saw a valid !defined() expression.
15817 * cppfiles.c (stack_include_file): Update for mi_valid.
15818 (_cpp_pop_file_buffer): Similarly.
15819 * cpplex.c (_cpp_lex_token): Similarly.
15820 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
15821 mi_if_not_defined, mi_lexed): Remove.
15823 * cpplib.c (do_if): Simplify.
15824 (do_endif, push_conditional, _cpp_handle_directive): Update
15825 for renaming of mi_state to mi_valid.
15827 * cpp.texi: Add index entries for digraphs, and add comment
15828 that C++ refers to them as alternative tokens.
15830 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
15832 * basic-block.h (CLEANUP_PRE_LOOP): New.
15833 * except.c (finish_eh_generation): Update call of cleanup_cfg.
15834 * sibcall.c (optimize_sibling_calls): Likewise.
15835 * toplev.c (rest_of_compilation): Likewise.
15836 * flow.c (try_forward_edges): Take argument MODE;
15837 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
15838 (try_optimize_cfg): Update call of try_forward_edges.
15840 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
15841 Jan Hubicka <jh@suse.cz>
15843 * (validate_replace_rtx_1): Fix simplification of MINUS.
15845 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
15847 PR preprocessor/3669
15848 * cppinit.c (init_dependency_output): Turn off dump requests
15849 if sending dependencies to stdout.
15851 2001-07-28 Richard Henderson <rth@redhat.com>
15853 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
15856 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
15858 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
15860 2001-07-28 Kazu Hirata <kazu@hxi.com>
15862 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
15863 is VAR_DECL first to prevent an ICE.
15865 2001-07-28 Richard Henderson <rth@redhat.com>
15867 * varasm.c (immed_real_const_1): Don't elide special cases for
15869 (clear_const_double_mem): Clear const_tiny_rtx too.
15871 2001-07-28 Richard Henderson <rth@redhat.com>
15873 * dwarf2out.c (dw_val_class_offset): New.
15874 (struct dw_ranges_struct, dw_ranges_ref): New.
15875 (ranges_table, ranges_table_allocated): New.
15876 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
15877 (add_AT_offset, add_ranges, output_ranges): New.
15878 (print_die, output_die): Handle dw_val_class_offset.
15879 (attr_checksum, size_of_die, value_format): Likewise.
15880 (gen_lexical_block_die): Handle non-contiguous blocks.
15881 (gen_block_die): Likewise.
15882 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
15883 if needed. Dump the ranges table.
15884 * final.c (final_start_function): Remove unnecessary notes and
15885 rebuild the block tree before numbering the blocks.
15886 * function.c (reorder_blocks_0): Walk the existing block tree
15887 to unmark all blocks.
15888 (reorder_blocks_1): Create block fragments when duplicate block
15890 (reorder_fix_fragments): New.
15891 (reorder_blocks): Call it.
15892 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
15894 2001-07-28 Richard Henderson <rth@redhat.com>
15896 * emit-rtl.c (adjust_address): Make a copy of the memory address.
15898 2001-07-28 Richard Henderson <rth@redhat.com>
15900 * flow.c (add_to_mem_set_list): New function.
15901 (init_propagate_block_info): Use it.
15902 (mark_set_1): Likewise.
15903 (insn_dead_p): Canonicalize memory address for dead store
15904 comparison. Allow wider mode stores to kill narrower mode stores.
15905 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
15906 (invalidate_mems_from_set): Don't handle MEMs.
15908 2001-07-28 Kazu Hirata <kazu@hxi.com>
15910 * config/h8300/h8300.h: Fix formatting.
15912 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15914 * basic-block.h (EDGE_FREQUENCY): New macro.
15915 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
15917 * flow.c (find_sub_basic_blocks): Likewise.
15918 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
15919 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
15921 * predict.c (DEF_PREDICTOR): New argument FLAGS.
15922 (HITRATE): New macro.
15923 (PRED_FLAG_FIRST_MATCH): New constant.
15924 (predictor_info): New field flgags.
15925 (combine_predictions_for_insn): Use DS theory to combine
15926 probabilities; set the edge probabilities when finished.
15927 (estimate_probability): Avoid duplicated matches
15928 of LOOP_BRANCH heuristics for nested loops; update comment.
15929 * predict.def: Add flags for each prediction, set probabilities
15930 according to B&L paper.
15931 * predict.h (DEF_PREDICTOR): New argument FLAGS.
15933 * profile.c (compute_branch_probabilities): Cleanup way the edge
15934 probabilities are computed and REG_BR_PROB notes are dropped; if
15935 values does not match, emit error.
15936 (init_branch_prob): Do error instead of warning when profile driven
15937 feedback is missing or corrupt.
15939 2001-07-27 DJ Delorie <dj@redhat.com>
15941 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
15942 against a constant, try to adjust the compare to have the desired
15943 constant in it so that min/max optimizations happen more often.
15945 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15947 * flow.c (last_loop_beg_note): New function.
15948 (redirect_edge_and_branch): Use it.
15949 (split_edge): Likewise.
15951 * alias.c (loop_p): Avoid uninitialized memory access.
15953 * flow.c (try_forward_edges): Avoid accessing freed memory.
15955 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
15958 2001-07-26 Andrew Haley <aph@redhat.com>
15959 Joern Rennecke <amylaar@redhat.com>
15961 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
15962 (SUBTARGET_CPP_ENDIAN_SPEC): New.
15963 (SUBTARGET_CPP_SPEC): New.
15964 (CPP_SPEC): Remove.
15965 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
15966 (SUBTARGET_CPP_PTR_SPEC): New.
15967 (CPP_DEFAULT_CPU_SPEC): New.
15968 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
15969 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15970 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
15971 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15972 (SUBTARGET_CPP_SPEC): Define as an empty string.
15974 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15976 * doc/install.texi (Configuration): Properly link the host
15977 specific instructions also when generating HTML.
15979 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
15981 * flow.c (redirect_edge_and_branch_force): Test
15982 target->global_live_at_start.
15984 2001-07-26 Richard Henderson <rth@redhat.com>
15986 * simplify-rtx.c (avoid_constant_pool_reference): Export.
15987 * rtl.h (avoid_constant_pool_reference): Declare it.
15988 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
15989 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
15991 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15993 * rtl.h (cleanup_barriers): Declare.
15994 * jump.c (cleanup_barriers): New function.
15995 * toplev.c (rest_of_compilation): Call cleanup_barriers
15996 before loop optimizer and after bb_reorder.
15998 * flow.c (back_edge_of_syntactic_loop_p): New.
15999 (split_edge): Use it.
16001 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16003 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
16005 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
16007 * cse.c (cse_process_notes): Replace any registers if the address
16010 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
16012 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
16013 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
16014 (propagate_block): Update prototype.
16015 * flow.c (update_life_info): Simplify the CFG and
16016 recalculate the global regs which are alive when
16017 removing dead code during a global update.
16018 (propagate_block): Return non-zero if an INSN is
16021 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16023 * Makefile.in (LIBICONV): Define.
16025 2001-07-26 Catherine Moore <clm@redhat.com>
16027 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
16028 of conditional to avoid tree checking errors.
16030 2001-07-26 Kazu Hirata <kazu@hxi.com>
16032 * regmove.c (regmove_optimize): Don't replace a reg with
16033 another reg of a different mode.
16035 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
16037 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
16038 limit length of dependency flush list.
16039 * params.h (MAX_PENDING_LIST_LENGTH): Define.
16040 * sched-int.h (struct deps): Add pending_flush_length field.
16041 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
16042 has 1 element in it.
16043 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
16044 (sched_analyze): After a jump, if the pending memory flush list is too
16045 large, flush the pending lists.
16046 (init_deps): Initialize pending_flush_length to 0.
16047 * doc/invoke.texi (max_pending_list_length): Document parameter.
16049 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
16051 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
16052 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
16053 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
16055 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16057 * cpphash.h (struct_lexer_state): Delete was_skipping.
16058 Move skipping here from struct cpp_reader.
16059 * cpplex.c (parse_identifier): Update.
16060 (_cpp_lex_token): Don't skip tokens in a directive.
16061 * cpplib.c (struct if_stack): Update.
16062 (start_directive, end_directive): Don't change skipping state.
16063 (_cpp_handle_directive): Update.
16064 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
16065 (do_else, do_endif): Update; only check for excess tokens if not
16066 in a skipped conditional block.
16067 (push_conditional): Update for new struct if_stack.
16069 2001-07-26 Graham Stott <grahams@redhat.com>
16071 * function.c (locate_and_pad_parm): Also pad initial offset
16072 so that the total argument size also includes the padding.
16074 2001-07-26 Graham Stott <grahams@redhat.com>
16076 * gensupport.c (alter_output_for_insn): Correct enable checking failure
16077 change XSTR to XTMPL.
16079 (process_one_cond_exec): Likewise
16081 2001-07-25 Richard Henderson <rth@redhat.com>
16083 * varasm.c (assemble_variable): Create DECL_RTL before setting
16086 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
16088 * predict.c (estimate_probability): Avoid duplicated predictions.
16090 * loop.c (find_and_verify_loops): Grok multiple barriers.
16092 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16094 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
16096 * dbxout.c: Consistently use putc instead of fputc.
16097 (print_wide_int): New function; call instead of direct fprintf.
16098 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
16099 (dbxout_type_fields, dbxout_type_method_1): Likewise.
16100 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
16101 (print_int_cst_octal): Likewise.
16102 (print_octal): Show we wrote characters.
16103 (dbxout_type): Set have_used_extensions in more places.
16105 2001-07-25 Catherine Moore <clm@redhat.com>
16107 * config/v850/v850.c (v850_va_arg): Use addr
16108 instead of valist to build incr.
16110 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
16112 * flow.c (delete_dead_jumptables): New function.
16113 (life_analyzis): Call it.
16114 * bb-reorder.c (skip_insns_after_block): Handle contradictory
16117 2001-07-25 Richard Henderson <rth@redhat.com>
16119 * except.c (reachable_handlers): Handle a region being removed
16120 out from under a RESX.
16122 2001-07-25 Richard Henderson <rth@redhat.com>
16124 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
16125 swap GE/GT if it is an fp comparison.
16127 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
16129 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
16132 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
16134 * ssa.c (rename_insn_1): Do not wrap an assignment to a
16135 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
16138 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
16139 throw an exception.
16140 (visit_expression): When attempting to simplify an expression,
16141 retrieve any modes for arguments before they are simplified
16144 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
16145 Janis Johnson <janis@us.ibm.com>
16147 * stmt.c (expand_goto): A nonlocal goto can be a call too.
16148 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
16149 pointer parameters to match documented usage of nonlocal_goto.
16150 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
16151 parameters to their correct order.
16152 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
16153 parameters to their correct order.
16155 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
16157 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
16159 2001-07-25 Jan Hubicka <jh@suse.cz>
16160 Richard Henderson <rth@redhat.com>
16162 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
16164 (make_edges): New argument update_p; populate the edge cache if set.
16165 (find_basic_blocks): Update make_edges invocation.
16167 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16169 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
16171 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16173 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
16174 -Acpu and -Amachine.h.
16175 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
16176 Corrected header to say ELF not a.out.
16177 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
16178 when given -msoft-float.
16180 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16182 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
16183 extra multilib parts like arm-elf.
16184 (i960-*-coff*, i960-*-rtems): Should not use collect2.
16185 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
16186 crtfini.o as extra multilib parts.
16188 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16190 * configure.in: Add rtems as a supported thread model.
16191 * gthr-rtems.h: Add missing entry point __gthread_active_p.
16192 * configure: Rebuilt.
16194 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
16196 * stor-layout.c (get_mode_alignment): make it work when
16197 BITS_PER_UNIT is not a power of two.
16198 * builtins.c (get_pointer_alignment): Likewise.
16200 2001-07-24 Richard Henderson <rth@redhat.com>
16202 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
16203 the retrieved constant into the expected mode.
16205 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
16207 * flow.c (try_simplify_condjump): Avoid duplicated edges.
16208 (verify_flow_info): Check for duplicated edges; clarify
16211 * flow.c (block_label): Update basic_block_for_insn.
16212 (commit_edge_insertions): Call compute_bb_for_insn.
16214 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
16217 * flow.c (redirect_edge_and_branch,
16218 try_optimize_cfg): Use redirect_edge_succ_nodup
16219 (redirect_edge_succ_nodup): New.
16220 * basic_block.h (redirect_edge_succ_nodup): Declare.
16222 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
16225 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
16227 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
16228 (try_crossjump_to_edge): Update commetns.
16229 (try_crossjump_bb): Likewise.
16231 2001-07-24 Richard Henderson <rth@redhat.com>
16233 * combine.c (distribute_notes): Move set of need_refresh
16234 for noop_move_p down to catch all cases.
16236 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
16238 * recog.c (split_all_insns_noflow): New.
16239 * rtl.h (split_all_insns_noflow): Declare.
16240 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
16241 * m68hc11.c (m68hc11_reorg): Likewise.
16242 * sh.c (machine_dependent_reorg): Likewise.
16243 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
16246 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16248 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
16249 (ashlsi3_n splitter): Likewise.
16250 (lshrsi3_n splitter): Likewise.
16252 (GOTaddr2picreg): Make const SImode.
16253 (sym_label2reg): Likewise.
16254 (symGOT2reg): Likewise.
16255 (symGOTOFF2reg) Likewise.
16257 (casesi_worker_0): Make unspec SImode.
16259 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16261 * config/sh/sh.c (barrier_align): Check that an operand really is
16262 an insn before extracting its INSN_CODE.
16264 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
16266 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
16269 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
16270 for SImode to prevent overflow.
16272 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16274 * config/mips/irix6-libc-compat.c: New file.
16275 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
16276 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
16277 passing workaround.
16279 2001-07-24 lars brinkhoff <lars@nocrew.org>
16281 * rtl.texi (REG_POINTER): Document.
16282 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
16283 QFmode, HFmode, TQFmode, QCmode, and HCmode.
16285 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
16287 * flow.c (delete_noop_moves): Do not confuse libcall regions.
16289 2001-07-23 Richard Henderson <rth@redhat.com>
16291 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
16293 2001-07-23 Kazu Hirata <kazu@hxi.com>
16295 * config/h8300/h8300-protos.h: Add a prototype for
16296 general_operand_dst_push.
16297 * config/h8300/h8300.c (general_operand_dst_push): New.
16298 * config/h8300/h8300.h (OK_FOR_T): New.
16299 (EXTRA_CONSTRAINT): Use it.
16300 * config/h8300/h8300.md (movqi_push): Remove and integrate into
16301 the existing movqi pattern.
16302 (movhi_push): Likewise.
16304 * reload.c: Fix comment typos.
16306 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
16308 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
16310 2001-07-23 H.J. Lu (hjl@gnu.org)
16312 * doc/extend.texi: Update __builtin_return_address and
16313 __builtin_frame_address.
16315 2001-07-23 Richard Henderson <rth@redhat.com>
16317 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
16319 * config/i386/i386.md: New setcc+movzbl peephole2.
16321 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16323 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
16324 * objc/objc-act.c: Include debug.h.
16325 (synth_module_prologue): Save and restore debug hooks too.
16327 2001-07-23 lars brinkhoff <lars@nocrew.org>
16329 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
16330 and C4X_FLOAT_FORMAT.
16331 (BOOL_TYPE_SIZE): Document.
16333 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
16335 * unroll.c (loop_iterations): Fix miscalculation of initial
16338 2001-07-13 Andrew Haley <aph@redhat.com>
16340 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
16341 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
16342 * config/sh/sh.c (sh_can_redirect_branch): New function.
16343 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
16344 * reorg.c (steal_delay_list_from_target): Use
16345 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
16347 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
16349 * flow.c (try_simplify_condjump): Unlink insn chain on
16350 fallthru edge; use can_fallthru.
16352 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
16354 * basic-block.h (find_sub_basic_block): Declare.
16355 * flow.c (make_edges): New arguments MIN and MAX;
16356 (find_sub_basic_blocks): Revamp to use make_edges
16357 and purge_dead_edges.
16358 (find_basic_blocks): Update call of find_sub_basic_block.
16360 * recog.c (split_all_insns): Always expect CFG to be consistent;
16361 call find_sub_basic_blocks in case something has changed.
16362 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
16365 * basic-block.h (delete_noop_moves): Declare.
16366 * combine.c (combine_instructions): Call it.
16367 (recog_for_combine): Tolerate noop moves
16368 (distribute_notes): Force refresh when register dies at noop move.
16369 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
16371 (life_analysis): Update delete_noop_moves call.
16372 (set_noop_p): Move too ...
16373 * rtlanal.c (noop_move_p): ... here.
16374 * rtl.h (noop_move_p): Declare.
16376 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
16377 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
16379 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
16380 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
16382 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
16384 * reload.c (push_reload): Fix typo in comment.
16385 (find_reloads_address): Ditto.
16386 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
16388 2001-07-22 Richard Henderson <rth@redhat.com>
16390 * flow.c: Grammar check and clarify a lot of comments.
16391 (try_simplify_condjump): Rename variables to be clearer.
16392 (try_forward_edges): Skip complex and fallthru edges.
16393 Rearrange tests to avoid duplicate checks.
16394 (flow_find_cross_jump): Likewise.
16395 (outgoing_edges_match): Allow match if neither branch has
16396 probability data. Loosen probability match to 5%.
16397 (try_crossjump_to_edge): Hoist repeated indirection into
16399 (try_crossjump_bb): Don't check complex edges. Eliminate
16400 redundant crossjump tests.
16401 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
16402 checks before more expensive checks.
16404 2001-07-22 Richard Henderson <rth@redhat.com>
16406 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
16407 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
16410 2001-07-22 Richard Henderson <rth@redhat.com>
16412 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
16413 (const_sint32_operand): Likewise.
16414 * m68k.md (anon mulsi pattern): Use const_int_operand not
16415 const_sint32_operand.
16416 (umulsi3_highpart): Zero extend a constant input.
16417 (smulsi3_highpart): Don't bother checking SImode constant.
16418 (const_umulsi3_highpart): Give op3 DImode.
16419 (const_smulsi3_highpart): Likewise.
16421 2001-07-22 Richard Henderson <rth@redhat.com>
16423 * flow.c (split_block): Make sure bb_note is included in the
16424 new block when splitting before a label.
16426 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
16428 * basic-block.h (redirect_edge_and_branch_force,
16429 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
16430 * flow.c (redirect_edge_and_branch_force,
16431 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
16432 (redirect_edge_and_branch_force): Fix copying of lifeness information.
16433 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
16434 * ifcvt.c (dead_or_predictable): Take BB as an new destination
16435 instead of label; update CFG after transformation.
16436 (find_if_case_1): Update call, use redirect_edge_and_branch_force
16437 for finishing the transformation; handle even case where ELSE
16438 does not follow THEN.
16439 (find_if_case_2): Update call of dead_or_predictable; simplify
16442 * emit-rtl.c (split_branch_probability): New global variable.
16443 (try_split): Take care to set split_branch_probability and
16444 create REG_BR_PROB note for new jump insns.
16445 * md.texi (define_split): Document new feature.
16447 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
16449 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16451 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
16452 (asm_out_file): Remove redundant declaration.
16453 (assemble_asm): Remove old #if 0 block.
16454 (assemble_variable): Remove end of function; debug output is
16455 now handled with global_decl. Remove old #if 0 block. Update.
16456 Remove saved_in_section and associated no-op code.
16457 * Makefile.in (varasm.o): Correct dependencies.
16459 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
16461 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
16462 the definition in defaults.h.
16464 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
16466 * jump.c: Update comments.
16467 (delete_barrier_successors, delete_unreferenced_labels,
16468 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
16469 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
16470 jump_optimize, jump_optimize_minimal): Kill.
16471 (rebuild_jump_labels): Move code from jump_optimize_1.
16472 (purge_line_number_notes): Likewise.
16473 (copy_loop_headers): Likewise.
16474 * reg-stack.c: Update comment.
16475 * stmt.c: Likewise.
16476 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
16477 JUMP_AFTER_REGSCAN): Kill.
16478 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
16479 purge_line_number_notes and copy_loop_headers.
16481 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16482 Richard Henderson <rth@redhat.com>
16484 * dbxout.c (dbxout_global_decl): New.
16485 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16486 * sdbout.c (sdbout_finish): New.
16487 (sdbout_debug_hooks): Use it, add comments.
16488 (sdbout_global_decl): Defer initialised public vars to
16490 * varasm.c (assemble_variable): Don't output debug information
16491 for file-scope variables.
16493 2001-07-22 Richard Henderson <rth@redhat.com>
16495 * config/alpha/alpha.c (get_trap_mode_suffix): New.
16496 (get_round_mode_suffix): New.
16497 (print_operand): Use them for [/]. Remove support for [&'`()+].
16498 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
16499 * config/alpha/alpha.md (attr round_suffix): New.
16500 (attr trap_suffix): New.
16501 (all insns): Set them appropriately. Use %/ instead of the
16502 myriad punctuators.
16504 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16506 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
16508 2001-07-22 Richard Henderson <rth@redhat.com>
16510 * regrename.c (regrename_optimize): Compute nregs for each
16511 potential target register.
16513 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
16514 Richard Henderson <rth@redhat.com>
16516 * dbxout.c (dbxout_global_decl): New.
16517 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16518 * sdbout.c (sdbout_finish): New.
16519 (sdbout_debug_hooks): Use it, add comments.
16520 (sdbout_global_decl): Defer initialised public vars to
16522 * varasm.c (assemble_variable): Don't output debug information
16523 for file-scope variables.
16525 2001-07-21 H.J. Lu (hjl@gnu.org)
16527 * config/mips/mips.c (mips_cpu): Moved into ...
16528 (override_options): Here.
16530 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
16532 (mips_cpu): Removed.
16534 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16536 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
16537 ("iorqi3"): Likewise.
16538 ("xorqi3"): Likewise.
16539 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
16540 ("*subhi3_sp): Likewise.
16541 ("*subhi3"): Likewise.
16542 ("extendhisi2"): Accept D, X and Y as source operand to avoid
16545 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
16547 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
16548 * config/freebsd.h: Likewise.
16549 * config/linux.h: Likewise.
16550 * config/openbsd.h: Likewise.
16551 * config/alpha/linux-elf.h: Likewise.
16552 * config/arm/linux-elf.h: Likewise.
16553 * config/d30v/d30v.h: Likewise.
16554 * config/fr30/fr30.h: Likewise.
16555 * config/ia64/aix.h: Likewise.
16556 * config/ia64/ia64.h: Likewise.
16557 * config/mips/linux.h: Likewise.
16558 * config/pj/pj.h: Likewise.
16559 * config/rs6000/linux.h: Likewise.
16560 * config/sparc/linux.h: Likewise.
16561 * config/sparc/linux64.h: Likewise.
16563 2001-07-20 Bruce Korb <bkorb@gnu.org>
16565 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
16566 because getc() and char* may disagree on signedness.
16568 2001-07-20 Richard Henderson <rth@redhat.com>
16570 * doc/rtl.texi (REG_DEAD): Update for current semantics.
16572 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
16573 insns to delete in the presence of cc0 in a jump insn.
16575 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
16576 Jan Hubicka <jh@suse.cz>
16578 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
16579 of doing the change by hand.
16581 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
16583 * rtlanal.c (set_noop_p): Return true for noop jumps.
16585 * expr.c (emit_single_push_insn): Add call to push expander.
16586 * expr.h (optab_index): Add OTI_push
16587 (push_optab): New constant.
16588 * genopinit.c (optabs): Add push_optab.
16589 * optabs.c (init_optab): Init push optab.
16590 * md.texi (push??1): Document
16592 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16594 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
16595 expand to emit the pattern; put a REG_INC note for push/pop
16597 ("movdf", "movdf_internal"): Likewise.
16598 ("movsi", "movsi_internal"): Likewise.
16599 ("movsf", "movsf_internal"): Likewise.
16600 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
16602 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16604 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
16607 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
16609 * params.def: Change default max inline insns to 100.
16611 2001-07-20 Diego Novillo <dnovillo@redhat.com>
16613 * combine.c (combine_simplify_rtx): Generate a new shift operation
16614 when simplifying the first operand of a (neg (ashift)) expression.
16616 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16618 * regclass.c (N_REG_INTS): Use only 32 bits per element.
16620 2001-07-20 Kelley Cook <kelley.cook@home.com>
16622 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
16623 information. Move rest into ...
16624 (*-*-solaris): ... here. Eliminate redundant information and
16625 reword necessary packages section. Delete 4.x assembler bug info.
16626 (sparc-sun-*): Merge into ...
16627 (sparc-sun-sunos*): here.
16629 2001-07-20 Catherine Moore <clm@redhat.com>
16631 * config/v850/v850.md (casesi): Generate LABEL_REF
16634 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
16636 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
16637 * i386.c (ix86_zero_extend_to_Pmode): Make global.
16638 * i386.md (strclrsi expander): Use it.
16640 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16642 * integrate.c (copy_insn_list): handle
16643 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
16644 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
16645 identically as to CODE_LABEL.
16647 * fold-const (fold): Convert A/B/C to A/(B*C) and
16650 * except.c (connect_post_landing_pads): Delete the RESX insns.
16652 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
16654 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
16656 * config/mips/mips.md (nmadd/nmsub): Use macro.
16658 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
16660 * cppinit.c (remove_dup_dir): Make static.
16661 (remove_dup_dirs): Make static. Only warn about preempting a
16662 system directory with a non-system directory.
16664 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16666 * ifcvt.c (noce_try_store_flag_constants): Correct order
16667 of parameters to trunc_int_for_mode.
16669 2001-07-19 Mark Mitchell <mark@codesourcery.com>
16671 * reorg.c (fill_simple_delay_slots): If an instruction might throw
16672 an exception that will be caught within this function, do not fill
16673 its delay slot with any subsequent instruction.
16675 2001-07-19 Steve Ellcey <sje@cup.hp.com>
16677 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
16678 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
16679 pointer extension instruction.
16680 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
16681 * simplify-rtx.c (simplify_unary_operation) Likewise.
16682 * explow.c (convert_memory_address) Check value of
16683 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
16685 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
16686 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
16687 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
16688 Add Multilib Support.
16689 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
16690 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
16691 Add Multilib Support.
16692 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
16694 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
16695 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
16696 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
16698 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
16700 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
16701 old and new operands in `<', `3' and `b'.
16703 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16705 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
16706 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
16707 (toplev.o): Don't depend on xcoffout.h.
16708 * c-decl.c: Include debug.h
16709 (duplicate_decls): Use debug hook.
16710 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
16711 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16712 (dbxout_types): Remove.
16713 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
16714 * debug.c (do_nothing_debug_hooks): Update.
16715 (debug_true_tree, debug_nothing_rtx): New.
16716 * debug.h (struct rtx_def): New.
16717 (struct gcc_debug_hooks): New hooks ignore_block,
16718 outlining_inline_function and label.
16719 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
16720 dwarf2out_frame_finish): New.
16721 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
16722 Make static, update prototype.
16723 (dwarf2_debug_hooks): Update.
16724 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
16725 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
16726 * dwarfout.c (dwarf_debug_hooks): Update.
16727 * emit-rtl.c: Include debug.h.
16728 (remove_unnecessary_notes): Use debug hook.
16729 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
16730 (final_scan_insn): Use debug hook.
16731 * integrate.c (output_inline_function): Use debug hook.
16732 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
16733 (sdb_debug_hooks): Update.
16734 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
16735 * toplev.c: Don't include xcoffout.h.
16736 (note_outlining_of_inline_function, debug_ignore_block): Remove.
16737 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
16739 * tree.h (dwarf2out_do_frame): Remove.
16741 2001-07-19 Catherine Moore <clm@cygnus.com>
16743 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
16745 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16747 * reload1.c (eliminate_regs_in_insn): When updating a set
16748 to the frame pointer to the hardware frame pointer, perform
16749 the update always not just when REPLACE is set.
16751 * reload1.c (choose_reload_regs): Don't inherit a reload
16752 that crosses multiple registers if registers past the first
16753 don't fit in the desired class.
16755 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
16756 when negating constants.
16758 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
16760 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
16761 * doc/tree.texi: Ditto.
16763 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
16764 Jakub Jelinek <jakub@redhat.com>
16766 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
16767 (extract_cie_info): Handle "eh" augmentation properly,
16769 (struct frame_state, __frame_state_for): New.
16771 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16773 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
16774 HANDLE_SYSV_PRAGMA): Define.
16775 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
16777 (copy_object): Caller changed.
16779 2001-07-19 Andreas Schwab <schwab@suse.de>
16781 * configure.in (assembler dwarf2 debug_line support): Define nop
16783 * configure: Regenerated.
16785 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16787 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
16789 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
16790 to conditionally compiled block.
16791 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16792 * dbxout.h (dbxout_function): Remove.
16793 * debug.c (do_nothing_debug_hooks): Update.
16794 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
16795 global_decl, deferred_inline_function.
16796 * dwarf2out.c (dwarf2_debug_hooks): Update.
16797 (dwarf2out_global_decl): New.
16798 * dwarfout.c: Don't include dwarfout.h.
16799 (dwarfout_global_decl, dwarfout_function_decl,
16800 dwarfout_deferred_inline_function): New.
16801 (dwarf_debug_hooks): Update.
16802 * dwarfout.h: Remove.
16803 * final.c: Don't include dwarfout.h.
16804 * sdbout.c (sdbout_global_decl): New.
16805 (sdbout_debug_hooks): Update.
16806 * toplev.c: Don't include dwarfout.h.
16807 (check_global_declarations, rest_of_compilation): Use new debug hooks.
16808 (note_deferral_of_defined_inline_function): Remove.
16809 * toplev.h (note_deferral_of_defined_inline_function): Remove.
16810 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
16811 * ch/lex.c: Don't include dwarfout.h.
16812 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
16813 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
16814 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
16815 * cp/optimize.c: Include debug.h.
16816 (maybe_clone_body): Use debug hook.
16817 * cp/semantics.c: Include debug.h.
16818 (expand_body): Use debug hook.
16819 * po/POTFILES.in: Remove dwarfout.h.
16821 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16823 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
16824 * c-parse.in (yyerror, _yylex): Similarly.
16825 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
16826 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
16828 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
16829 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
16831 2001-07-18 Jeff Sturm <jsturm@one-point.com>
16833 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
16834 in-class declaration at -g1. Fixes c++/2814.
16836 2001-07-18 Richard Henderson <rth@redhat.com>
16838 * doc/md.texi (reload_in/out): Document restrictions in predicates
16839 and constraints for these patterns. Document empty string matching
16842 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16844 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
16846 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
16848 * cse.c: Undo my previous patch.
16850 2001-07-18 Tom Tromey <tromey@redhat.com>
16853 * configure: Rebuilt.
16854 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
16856 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
16858 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
16859 Jan Hubicka <jh@suse.cz>
16861 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
16862 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
16863 * jump.c (mark_jump_label): Do not forward branches.
16865 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
16867 * cse.c (delete_trivially_dead_insns): Delete the libcall block
16868 when return value is unused.
16870 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16872 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
16874 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
16876 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
16877 on error. We can't blindly return the result of
16878 pthread_mutex_trylock because it returns a positive number on
16879 error, while we must return -1 on error.
16880 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
16882 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
16884 2001-07-18 Andreas Jaeger <aj@suse.de>
16886 * integrate.c (output_inline_function): Correct type of debug_hooks.
16888 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
16890 * combine.c (combine_simplify_rtx): DIV can be treated
16891 associatively for floats if unsafe math optimisations are enabled.
16893 2001-07-17 Richard Henderson <rth@redhat.com>
16895 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
16897 2001-07-17 Richard Henderson <rth@redhat.com>
16899 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
16900 don't force the function address into a register.
16901 (expand_call, emit_library_call_value_1): Update callers.
16902 * builtins.c (expand_builtin_apply): Likewise.
16903 * expr.h (prepare_call_address): Update decl.
16905 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
16907 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
16909 * config/i386/chorus.h: Move up.
16910 * config/sparc/chorus.h: Likewise.
16911 * config/rs6000/chorus.h: Likewise.
16912 * config/chorus.h: Moved here.
16914 2001-07-17 Andreas Schwab <schwab@suse.de>
16916 * configure.in (assembler eh_frame optimization): Handle big
16918 * configure: Regenerated.
16920 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
16922 * expr.c (epxand_expr): Convert divisions into multiplications by
16923 reciprocals if -ffast-math.
16925 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
16927 * dbxout.c (dbxout_really_begin_function): Rename to
16928 dbxout_begin_function.
16929 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16930 (dbxout_begin_function): Remove.
16931 (dbxout_function): Update.
16932 (dbxout_source_line): Update prototype.
16933 * dbxout.h (dbxout_begin_function): Remove.
16934 * debug.c (do_nothing_debug_hooks): Update.
16935 (debug_nothing_tree): Update.
16936 (debug_nothing_charstar_rtx): Remove.
16937 * debug.h (union tree_node): Declare.
16938 (struct rtx_def): Remove.
16939 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
16940 begin_function. Change source_line prototype.
16941 (debug_nothing_tree): New.
16942 (debug_nothing_charstar_rtx): Delete.
16943 (dwarf2out_begin_prologue): Moved from ...
16944 * tree.h: ... here.
16945 * dwarf2out.c (dwarf2_debug_hooks): Update.
16946 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
16947 debug info, call dwarf2out_source_line.
16948 (dwarf2out_souce_line): Update prototype.
16949 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
16950 Change prototype, make static.
16951 (dwarfout_source_line): Update prototype.
16952 (dwarf_debug_hooks): Update.
16953 * dwarfout.h (dwarfout_begin_function): Remove.
16954 * final.c (final_start_function, final_scan_insn): Use appropriate
16955 debug hooks, update to use notice_source_line.
16956 (output_source_line): Rename notice_source_line. Don't call the
16957 source_line debug hook.
16958 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
16959 make static, update prototype.
16960 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
16962 (sdbout_end_prologue): New.
16963 (sdbout_source_line): Update prototype.
16964 (sdbout_debug_hooks): Update.
16965 (sdbout_symbol): Remove unused var.
16966 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
16968 * varasm.c: Include debug.h.
16969 (assemble_start_function): Use begin_function debug_hook.
16970 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16971 update with prototype.
16972 (xcoffout_source_line): Update prototype.
16973 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16975 (xcoffout_source_line): Update prototype.
16977 2001-07-17 Richard Henderson <rth@redhat.com>
16979 * c-typeck.c (build_binary_op): Do not shorten unsigned
16980 right shift after sign extension.
16982 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
16984 * combine.c (combine_simplify_rtx): Attempt to simplify
16985 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
16987 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
16988 (simplify_binary_operation, simplify_unary_operation,
16989 simplify_relational_operation): Use it.
16991 * combine.c (combine_simplify_rtx): Don't do associative law
16992 on divisions; allow associative law on floats.
16994 2001-07-17 H.J. Lu <hjl@gnu.org>
16995 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16997 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
16998 ASM_OUTPUT_WEAK_ALIAS are defined.
16999 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
17000 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
17002 * config/mips/iris5.h: ... here.
17003 (HANDLE_SYSV_PRAGMA): Defined as 1.
17004 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
17005 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
17008 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
17010 * c-parse.in (all_prefix_attributes): New variable.
17011 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
17012 (maybe_resetattrs): New production.
17013 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
17014 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
17015 notype_initdcl, nested_function, notype_nested_function,
17016 component_decl, components, components_notype,
17017 component_declarator, component_notype_declarator,
17018 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
17019 ivars, mydecl, myparm): Update. Avoid prefix attributes just
17020 after a comma being applied to more than one declarator.
17021 * doc/extend.texi (Attribute Syntax): Update. Remove
17022 documentation of bugs that are no longer present.
17024 2001-07-13 Eric Christopher <echristo@redhat.com>
17026 * config/mips/mips.h: Change TUNE_MIPS* options to use
17028 (EXTRA_SPECS): Add cc1_cpu_spec.
17029 * config/mips/mips.md (muldf3): Fix typo.
17031 2001-07-16 Richard Henderson <rth@redhat.com>
17033 * config/m68k/m68k.c: Include expr.h and reload.h.
17034 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
17035 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
17037 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
17038 Richard Henderson <rth@redhat.com>
17040 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
17041 (insn_live_p): Fix fall off end of function.
17042 (dead_libcall_p): Remove COUNTS argument; update callers.
17043 (delete_trivially_dead_insns): Remove unused variables.
17045 2001-07-17 Andreas Jaeger <aj@suse.de>
17047 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
17048 x86-64 pic support.
17050 * lcm.c (optimize_mode_switching): Avoid warning for unused
17051 variable if !NORMAL_MODE.
17053 * flow.c (try_crossjump_to_edge): Remove unused variable.
17055 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
17057 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
17058 atexit declaration in stdlib.h.
17060 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
17062 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
17064 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17066 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
17067 * except.c (finish_eh_generation): Update call of cleanup_cfg;
17068 do rebuild_jump_labels instead of jump_optimize
17069 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
17070 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
17071 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
17073 * flow.c: Include timevar.h
17074 (find_basic_block): Push/pop timevar;
17075 (cleanup_cfg): Likewise.
17076 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
17077 * Makefile: Add dependencies on timevar.h
17079 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
17080 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
17082 * rtl.h (delete_trivially_dead_insns): Add new parameter.
17083 * toplev.c (rest_of_compilation): Update calls.
17084 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
17085 (delete_trivially_dead_insns): ... here; accept new argument
17086 preserve_basic_blocks; preserve basic blocks if set.
17088 * reg-stack.c (stack_regs_mentioned): Return 0 if
17089 stack_regs_mentioned_data is not initialized.
17090 (reg_to_stack): Make stack_regs_mentioned survive after the
17091 reg-stack is completted; do not call cleanup_cfg.
17092 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
17093 make cleanup_cfg after bb-reorder to output to debug file.
17095 2001-07-16 Richard Henderson <rth@redhat.com>
17097 * regclass.c (init_reg_sets): Use only 32 bits per initializer
17098 from int_reg_class_contents.
17100 2001-07-16 Richard Henderson <rth@redhat.com>
17102 * hard-reg-set.h (regs_invalidated_by_call): Declare.
17103 * regclass.c (regs_invalidated_by_call): Move from cse.c.
17104 (init_reg_sets_1): Move initialization from cse_main.
17105 * cse.c (regs_invalidated_by_call): Move to regclass.c.
17106 (cse_main): Move its initialization also.
17107 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
17108 * flow.c (propagate_one_insn): Likewise.
17109 * gcse.c (compute_hash_table): Likewise.
17110 (compute_kill_rd, compute_store_table): Likewise.
17111 * sched-deps.c (sched_analyze_1): Likewise.
17113 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
17115 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
17118 2001-07-16 Steve Ellcey <sje@cup.hp.com>
17120 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
17121 in if statement so we don't access undefined memory.
17123 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
17125 * gcse.c: Update comment at top.
17126 Update comment on mem handling.
17127 mem_last_set, mem_first_set, mem_set_in_block: gone.
17128 Declaration of reg_set_info: gone.
17129 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
17130 pointless with load_killed_in_block_p (they are *more*
17131 conservative then it, not less, and less accurate).
17132 (oprs_not_set_p): Ditto.
17133 (alloc_gcse_mem): Don't allocate mem_set_in_block
17134 (free_gcse_mem): Don't free it, either.
17135 (record_last_mem_set_info): Update comment in front, remove
17136 mem_*set_* stuff. Note the reason we don't handle stores directly
17138 (compute_hash_table): Update comments to reflect reality. Remove
17139 mem_*set_* references.
17140 (reset_opr_set_tables): Remove mem_*set_* references.
17141 (mark_call): Ditto.
17142 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
17143 (mark_clobber): Ditto (on both parts, we double set here too).
17144 (expr_killed_p): Remove mem_set_in_block test.
17145 (compute_transp): Remove mem_set_in_block test.
17147 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
17148 of edge, and removal of phi alternative to dump file.
17149 (ssa_ccp_substitute_constants): Add note about register now being
17150 constant, and which uses were replaced in what insns to dump file.
17152 2001-07-16 Andreas Jaeger <aj@suse.de>
17154 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
17155 variables of type HOST_WIDEST_INT.
17157 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
17158 (__bb_exit_func): Correct type of count_max to avoid overflow.
17159 (num_digits): Handle long long argument.
17161 * combine.c (gen_lowpart_for_combine): Remove unused variable.
17163 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
17165 * output.h (sdb_begin_function_line): Restore as an extern
17167 * sdbout.c (sdb_begin_function_line): Make extern.
17169 2001-07-15 Richard Henderson <rth@redhat.com>
17171 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
17172 * genrecog.c (maybe_both_true_mode): New.
17173 (maybe_both_true_2): Use it.
17174 (write_switch): Don't put Pmode in a switch.
17175 * rtl.c (mode arrays): Don't explicitly size them.
17177 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
17179 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
17180 handling; move unconditional splitting before mode switching.
17182 * i386.md (type): Add fistp type.
17183 (i387, length_attr, scheduling definitions): Handle this type.
17184 (fix_trunc?f?i2): Revamp to use mode switching.
17185 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
17186 * i386.h (fp_cw_mode): New enum
17187 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
17188 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
17190 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17192 * Makefile.in (integrate.o): Add debug.h.
17193 * integrate.c (debug.h): Add.
17194 (output_inline_function): Save, reset, and restore debug_hooks.
17196 2001-07-15 Richard Henderson <rth@redhat.com>
17198 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
17199 instead of COMPARE for the EQUIV expression.
17201 2001-07-15 Richard Henderson <rth@redhat.com>
17203 * flow.c (redirect_edge_and_branch_force): Initialize
17204 global_live_at_start and global_live_at_end.
17205 (allocate_bb_life_data): Export.
17206 * basic-block.h (allocate_bb_life_data): Declare.
17207 * toplev.c (rest_of_compilation): Call it.
17209 2001-07-15 Richard Henderson <rth@redhat.com>
17211 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
17212 (alpha_tablejump_best_label): New.
17213 * config/alpha/alpha-protos.h: Declare them.
17214 * config/alpha/alpha.md: Use braced strings for code blocks.
17215 (tablejump_osf): Break out add with r29.
17216 (tablejump_osf_internal): Remove.
17217 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
17218 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
17220 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
17222 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
17225 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
17227 * i386-protos.h (ix86_split_fp_branch): Update prototype.
17228 (ix86_fp_jump_nontrivial_p): New.
17229 * i386.md (fp_jcc_?): Update call of split_fp_branch;
17230 use ix86_fp_jump_nontrivial_p.
17231 * i386.c (ix86_fp_jump_nontrivial_p): New.
17232 (ix86_split_fp_branch): Accept code instead of rtx.
17233 (ix86_expand_compare): Expand comparison early in case
17234 doing so is resonably cheap.
17236 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
17238 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
17240 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
17241 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
17243 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
17245 * dbxout.c (dbxout_source_line): Make static, update prototype.
17246 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
17247 (dbxout_init, dbxout_finish, dbxout_source_line,
17248 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
17249 * dbxout.h (dbxout_source_line): Delete.
17250 * debug.c (debug_nothing_file, debug_nothing_file_int,
17251 debug_nothing_file_charstar_rtx): New.
17252 (do_nothing_debug_hooks): Update.
17253 (debug_nothing_void, debug_nothing_charstar_rtx,
17254 dwarf2out_end_epilogue): New.
17255 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17256 * debug.h (struct rtx_def): Declare.
17257 (gcc_debug_hooks): New hooks source_line, end_epilogue
17259 (debug_nothing_void, debug_nothing_charstar_rtx,
17260 dwarf2out_end_epilogue): New.
17261 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17262 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
17263 (dwarf2_debug_hooks): Update.
17264 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
17265 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
17266 * dwarf2out.h (dwarf2out_source_line): Remove.
17267 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
17268 Make static, update prototype.
17269 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
17270 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
17271 (dwarf_debug_hooks): Update.
17272 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
17273 dwarfout_end_function): Remove.
17274 * final.c (profile_function): Use debug hooks for ending functions
17276 (output_source_line, final_end_function): Update prototype,
17278 (final_start_function, final_scan_insn): Update.
17279 * output.h (sdb_begin_function_line): Remove.
17280 (final_end_function): Update prototype.
17281 * sdbout.c (sdb_begin_function_line): Make static.
17282 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
17283 (sdbout_source_line): New.
17284 (sdbout_end_epilogue, sdbout_end_function): Make static, update
17286 (sdb_debug_hooks): Update.
17287 (sdbout_init, sdbout_source_line,
17288 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
17289 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
17290 * toplev.c (compile_file, rest_of_compilation): Update.
17291 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
17292 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
17293 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
17294 Update for prototype changes.
17295 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
17296 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
17298 2001-07-15 Richard Henderson <rth@redhat.com>
17300 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
17301 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
17302 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
17303 * config/alpha/alpha.c: Likewise.
17304 * config/alpha/alpha.md: Likewise.
17305 * config/alpha/alpha32.h: Likewise.
17306 * config/alpha/vms.h: Likewise.
17307 (OPEN_VMS): Remove.
17309 2001-07-14 Richard Henderson <rth@redhat.com>
17311 * config/alpha/alpha.md: Use define_constants for unspec values.
17312 Substitute throughout.
17314 2001-07-14 Tim Josling <tej@melbpc.org.au>
17316 * tree.def (EXPON_EXPR) remove. Never supported anyway.
17318 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
17320 * pa.md: Remove unused constraints from define_split's.
17322 2001-04-14 Richard Henderson <rth@redhat.com>
17324 * ifcvt.c (find_cond_trap): Test for exit block.
17326 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
17328 Re-install recently reverted patch.
17329 * emit-rtl.c (try_split): Update mark_jump_label call.
17330 * flow.c (find_sub_basic_blocks): Likewise.
17331 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17332 jump_back_p): Kill.
17333 (mark_all_labels): Kill second parameter.
17334 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17335 (rebuild_jump_labels, jump_optimize_minimal): Update call
17336 of jump_optimize_1.
17337 (jump_optimize_1): Kill crossjumping code.
17338 (mark_jump_label): Kill cross_jump parameter.
17339 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17340 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17341 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17343 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17345 (dump_file_info): Likewise.
17346 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17347 reorganize passes to do reg-stack first, bb-reorder second.
17348 * invoke.texi (-d letters doc): Remove the jump2 pass.
17350 2001-07-14 Richard Henderson <rth@redhat.com>
17352 * ifcvt.c (find_cond_trap): New.
17353 (find_if_header): Call it.
17354 (merge_if_block): Relax existing jump sanity check.
17355 * jump.c (jump_optimize_1): Remove conditional trap handling.
17357 2001-07-14 Alan Modra <amodra@bigpond.net.au>
17359 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
17361 (insn_refs_are_delayed): Correct comment.
17362 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
17363 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
17364 instead of r31. Make associated insn !TARGET_64BIT, and
17365 provide an additional 64-bit insn that clobbers r2.
17366 (divsi3): Likewise.
17367 (udivsi3): Likewise.
17368 (modsi3): Likewise.
17369 (umodsi3): Likewise.
17371 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
17373 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
17375 * flow.c (redirect_edge_and_branch_force, split_edge,
17376 try_crossjump_to_edge): Use set_block_for_new_insns.
17377 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
17379 2001-07-13 H.J. Lu (hjl@gnu.org)
17381 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
17384 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17386 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
17388 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
17390 * c-common.c (decl_attributes): Take a pointer to the node to
17391 which attributes are to be attached, and a flags argument.
17392 * c-common.h (enum attribute_flags): New.
17393 (decl_attributes): Update prototype.
17394 * c-decl.c (start_decl, push_parm_decl, finish_struct,
17395 finish_enum, start_function): Update calls to decl_attributes.
17396 * c-parse.in (component_declarator, component_notype_declarator,
17397 label): Update calls to decl_attributes.
17399 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
17401 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
17402 * config/avr/avr.c (legitimate_address_p): Return value changed
17403 from letter to register classes. For better debugging.
17405 2001-07-13 Kazu Hirata <kazu@hxi.com>
17407 * jump.c (reversed_comparison_code_parts): Fix comment typos.
17409 2001-07-13 H.J. Lu (hjl@gnu.org)
17411 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
17413 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
17415 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
17416 correctly for shared configurations.
17417 * config/t-libgcc-pic: New.
17418 * config/{i386,m68k,sparc}/t-openbsd: New.
17419 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
17420 Support -shared. Support debugging libraries with -g.
17421 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
17422 frame information does not emit pointer diffs.
17423 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
17424 emit pointer diffs.
17426 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17428 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
17430 2001-07-13 David Edelsohn <edelsohn@gnu.org>
17432 * combine.c (try_combine): Ensure const_int pow2 is positive.
17434 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
17436 * config.gcc: Add configuration for s/390.
17437 * config/s390/s390.c: New. Subroutines for code generation.
17438 * config/s390/s390.h: New. Definitions for s/390.
17439 * config/s390/s390-protos.h: New. Prototypes.
17440 * config/s390/linux.h: New. Definitions for linux for s/390.
17441 * config/s390/linux64.h: New. Definitions for linux for zSeries.
17442 * config/s390/t-linux: New. Makefile fragment.
17443 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
17444 * config/s390/fixdfdi.h: New. Fix L_fix*di.
17446 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
17448 * emit-rtl.c (try_split): Update mark_jump_label call.
17449 * flow.c (find_sub_basic_blocks): Likewise.
17450 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17451 jump_back_p): Kill.
17452 (mark_all_labels): Kill second parameter.
17453 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17454 (rebuild_jump_labels, jump_optimize_minimal): Update call
17455 of jump_optimize_1.
17456 (jump_optimize_1): Kill crossjumping code.
17457 (mark_jump_label): Kill cross_jump parameter.
17458 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17459 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17460 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17462 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17464 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17465 reorganize passes to do reg-stack first, bb-reorder second.
17466 * invoke.texi (-d letters doc): Remove the jump2 pass.
17468 2001-07-12 Steve Ellcey <sje@cup.hp.com>
17470 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
17472 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
17474 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
17476 (verify_flow_info): Make diagnostics prettier.
17478 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
17480 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
17482 * flow.c (outgoing_edges_match): Return early if condition reversal
17485 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
17487 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
17488 (mips_move_2words): When splitting a move into two instructions,
17489 prefix the second address operand with '%D'.
17491 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
17493 * Makefile.in (final.o): Depend on debug.h.
17494 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
17495 (dbx_debug_hooks): Add new hooks.
17496 (xcoff_debug_hooks): New.
17497 * debug.c (debug_nothing_file_int_int): New.
17498 (do_nothing_debug_hooks): Update.
17499 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
17500 (debug_nothing_file_int_int): New.
17501 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
17502 static, update prototype.
17503 (dwarf2_debug_hooks): Update.
17504 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
17505 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
17506 static, update prototype.
17507 (dwarf_debug_hooks): Update.
17508 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
17509 * final.c: Include debug.h.
17510 (final_scan_insn): Use debug hooks when beginning and ending blocks.
17511 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
17512 static, update prototype.
17513 (sdb_debug_hooks): Update.
17514 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
17515 * toplev.c: Distinguish between xcoff and dbx.
17517 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
17518 Call all debug hooks, not just dwarf ones.
17520 2001-07-11 Timothy Wall <twall@redhat.com>
17522 * config.gcc: Add configuration for AIX5/IA64.
17523 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
17524 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
17525 support prefix/suffix code.
17526 * config/ia64/t-aix: New. Makefile fragment.
17527 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
17529 2001-07-11 Kazu Hirata <kazu@hxi.com>
17531 * recog.c (validate_change): Fix a comment typo.
17533 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
17535 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
17536 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
17538 * dbxout.c (dbx_debug_hooks): Add new hooks.
17539 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
17541 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
17543 * dbxout.h (dbxout_start_new_source_file,
17544 dbxout_resume_previous_source_file): Delete.
17545 * debug.c (do_nothing_debug_hooks): Add new hooks.
17546 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17547 (debug_nothing_int_charstar, debug_nothing_int): New.
17548 * debug.h (gcc_debug_hooks): New hooks define, undef,
17549 start_source_file and end_source_file.
17550 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17551 (debug_nothing_int_charstar, debug_nothing_int): New.
17552 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
17553 the conditionally compiled section.
17554 (dwarf2out_start_source_file, dwarf2out_end_source_file,
17555 dwarf2out_define, dwarf2out_undef): Make static.
17556 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
17557 dwarf2out_define, dwarf2out_undef): Remove.
17558 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
17559 (dwarfout_start_source_file, dwarfout_end_source_file,
17560 dwarfout_define, dwarfout_undef): Make static.
17561 (dwarfout_start_source_file_check,
17562 dwarfout_end_source_file_check): New.
17563 (dwarfout_define, dwarfout_finish): Update.
17564 * dwarfout.h (dwarfout_start_new_source_file,
17565 dwarfout_resume_previous_source_file, dwarfout_define,
17566 dwarfout_undef): Remove.
17567 * sdbout.c (sdb_debug_hooks): Add new hooks.
17568 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
17570 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
17571 make static, take an arg.
17572 * sdbout.h (sdbout_start_new_source_file,
17573 sdbout_resume_previous_source_file): Delete.
17574 * toplev.c (debug_start_source_file, debug_end_source_file,
17575 debug_define, debug_undef): Delete.
17576 * toplev.h (debug_start_source_file, debug_end_source_file,
17577 debug_define, debug_undef): Delete.
17579 * java/jcf-parse.c: Include debug.h.
17580 (parse_class_file): Update to use debug hooks directly.
17581 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
17583 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17585 * alias.c (set_mem_alias_set): New function.
17586 * rtl.h (set_mem_alias_set): Declare it.
17587 * builtins.c (expand_builtin_return_addr): Call it instead of
17588 using MEM_ALIAS_SET accessor.
17589 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
17590 (get_memory_rtx, expand_builtin_va_arg): Likewise.
17591 (expand_builtin_va_copy):Likewise.
17592 * caller-save.c (setup_save_areas): Likewise.
17593 * calls.c (compute_argument_addresses): Likewise.
17594 * explow.c (set_mem_attributes): Likewise.
17595 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
17596 (expand_assignment, store_constructor_field, store_field): Likewise.
17597 (expand_expr_unaligned): Likewise.
17598 * function.c (assign_stack_temp_for_type): Likewise.
17599 (put_reg_into_stack, gen_mem_addressof): Likewise.
17600 * ifcvt.c (noce_try_cmove_arith): Likewise.
17601 * reload1.c (reload, alter_reg): Likewise.
17602 * config/alpha/alpha.c (get_aligned_mem): Likewise.
17603 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
17604 (alpha_expand_unaligned_store): Likewise
17605 (alpha_expand_unaligned_load_words): Likewise.
17606 (alpha_expand_unaligned_store_words): Likewise.
17607 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
17608 (alpha_expand_epilogue): Likewise.
17609 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
17610 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
17611 * config/i386/i386.c (legitimize_pic_address): Likewise.
17612 * config/i960/i960.c (setup_incoming_varargs): Likewise.
17613 * config/ia64/ia64.c (spill_restore_mem): Likewise.
17614 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
17615 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
17616 * config/mips/mips.c (mips_va_arg): Likewise.
17617 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
17618 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
17619 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
17620 (setup_incoming_varargs, rs6000_va_arg): Likewise.
17621 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
17622 (rs6000_emit_epilogue): Likewise.
17623 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
17624 * config/sparc/sparc.c (sparc_va_arg): Likewise.
17625 * config/v850/v850.c (v850_va_arg): Likewise.
17627 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
17629 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
17630 when fallthru edge is present.
17631 (mege_blocks): Handle case where creation of jump insn
17634 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
17635 CLEANUP_POST_REGSTACK): New constants.
17636 * except.c (finish_eh_generation): Update call of cleanup_cfg,
17637 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
17638 * output.h (cleanup_cfg): Update prototype.
17639 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
17640 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
17641 cleanup_cfg call; kill missleading comment.
17642 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
17643 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
17644 parameter; control optimizations performed using it.
17645 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
17646 try_crossjump_bb): New functions.
17648 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17650 * pa.c (pa_output_function_prologue): Delete prototype. Make function
17652 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
17653 pa_output_function_prologue.
17654 * pa-protos.h (pa_output_function_prologue): New prototype.
17656 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17658 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
17659 and low to get correct sign extension in low+high test.
17661 2001-07-11 Janis Johnson <janis@us.ibm.com>
17663 * gcov.c (arcdata): Use gcov_type to fix branch percentage
17664 for large hit count.
17666 * profile.c (branch_prob): Fix .bbg info for computed gotos
17669 2001-07-11 Mark Mitchell <mark@codesourcery.com>
17671 * stmt.c (parse_output_constraint): New function, split out
17673 (expand_asm_operands): ... here. Use parse_output_constraint.
17674 * tree.h (parse_output_constraint): Declare it.
17676 2001-07-11 Richard Henderson <rth@redhat.com>
17678 * bitmap.c: Comment some functions; fiddle whitespace.
17679 (bitmap_free): Don't export.
17680 (bitmap_element_allocate): Use memset.
17681 * bitmap.h (bitmap_free): Don't declare.
17683 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
17685 * gcse.c, lcm.c, sched-deps.c:
17686 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
17688 * flow.c (flow_loops_find): Free dom if we found no loops, since
17689 we aren't going to save it.
17691 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
17694 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
17696 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
17698 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17700 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
17701 #ifndef DWARF2_DEBUGGING_INFO.
17703 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17705 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
17707 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17709 * config/mips/mips.c (gen_int_relational): Tell the caller not to
17710 reverse a branch if a NE comparison is implemented with GTU.
17712 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17713 H.J. Lu <hjl@gnu.org>
17715 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
17716 constant addresses.
17717 (call_internal2): Likewise.
17718 (call_value_internal1): Likewise.
17719 (call_value_internal2): Likewise.
17720 (call_value_multiple_internal1): Likewise.
17721 (call_value_multiple_internal2): Likewise.
17723 2001-07-10 Kazu Hirata <kazu@hxi.com>
17725 * calls.c (emit_library_call_value_1): Fix a comment typo.
17726 * dwarf2out.c (mem_loc_descriptor): Likewise.
17727 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
17729 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
17731 * simplify-rtx.c (simplify_subreg): Fix typo in comment
17733 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17735 * recog.c (offsettable_address_p): Handle LO_SUM case.
17736 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
17737 instead of plus_constant.
17739 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17741 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
17742 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
17744 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17746 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
17747 adjust_address_nv instead of plus_constant.
17749 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
17751 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
17752 dwarf2out.o): Depend on debug.h, wrap long lines.
17753 * dbxout.c: Include debug.h.
17754 (dbx_debug_hooks): New.
17755 (dbxout_init): Make static, take just 2 args.
17756 (dbxout_finish): Make static.
17757 * dbxout.h (dbxout_init, dbxout_finish): Delete.
17758 * debug.c: New file.
17759 * debug.h: New file.
17760 * dwarf2out.c: Include debug.h.
17761 (dwarf2_debug_hooks): New.
17762 (dwarf2out_init): Make static.
17763 (dwarf2out_finish): Make static, take 2 args.
17764 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
17765 * dwarfout.c: Include debug.h.
17766 (dwarf_debug_hooks): New.
17767 (dwarfout_init): Make static.
17768 (dwarfout_finish): Make static, take 2 args.
17769 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
17770 * sdbout.c: Include debug.h.
17771 (sdb_debug_hooks): New.
17772 (sdbout_init): Make static, take 2 args.
17773 * sdbout.h (sdbout_init): Delete.
17774 * toplev.c: Include debug.h.
17775 (debug_hooks): New.
17776 (compile_file): Set deubg_hooks based on command line options.
17777 Use the hooks unconditionally rather than conditional compilation.
17779 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
17781 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
17782 first_insn_after_basic_block_note instead.
17784 * df.c (df_bb_refs_unlink): #if 0 out for now.
17786 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
17788 * ssa.h: Add prototype for ssa_const_prop
17789 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
17790 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
17791 (ssa_fast_dce): Remove unused variable
17793 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17795 * diagnostic.c (finish_diagnostic): Rename to
17796 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
17799 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
17801 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
17804 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
17805 (dump_file): Only pad the demangled name with spaces if the
17806 mangled name was padded with spaces.
17808 2001-07-10 Bernd Schmidt <bernds@redhat.com>
17810 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
17813 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17815 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
17816 extraction if no direct load if either EXPAND_CONST_ADDRESS or
17817 EXPAND_INITIALIZER.
17819 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
17820 whether can put offset inside LO_SUM to check mode alignment, not size.
17822 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17824 * doc/tm.texi (Misc): Fix thinko.
17826 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
17828 * regmove.c (replace_in_call_usage): Fix warnings.
17829 * sched-deps.c (add_dependence): Fix warnings.
17830 * simplify-rtx.c (simplify_subreg): Likewise.
17831 Return NULL_RTX instead of NULL.
17833 * reg-stack.c (emit_swap_insn): Eliminate warnings.
17834 (subst_asm_stack_regs): Likewise.
17836 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
17839 * dwarf2out.c (output_call_frame_info): Declare i as int.
17840 (build_abbrev_table): Declare n_alloc as int.
17841 (dwarf2out_finish): Initialize die.
17842 * except.c: Declare sjlj_funcdef_number as unsigned.
17843 (connect_post_landing_pads): Declare j as unsigned.
17844 (convert_to_eh_region_ranges): Initialize call_site.
17845 (output_function_exception_table): Initialize tt_format_size.
17846 * expr.c (move_by_pieces_1): Initialize to1.
17847 (store_constructor): Initialize minelt and maxelt.
17848 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
17849 * function.c (instantiate_decls): Avoid signed/unsigned warning.
17851 * c-decl.c (combine_parm_decls): Unused, remove.
17852 * c-tree.h: Remove prototype for combine_parm_decls.
17854 * reload.c (push_reload): Fix warning.
17855 (regno_clobbered_p): Likewise.
17856 * reload1.c (replace_pseudos_in_call_usage): Likewise.
17857 (reload_combine): Likewise.
17859 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
17860 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
17862 * bitmap.c (bitmap_operation): Change user.
17863 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
17865 2001-07-10 Eric Christopher <echristo@redhat.com>
17867 * config/mips/mips.c (override_options): Fix typo.
17869 2001-07-09 Stan Shebs <shebs@apple.com>
17871 * target.h (struct gcc_target): New fields init_builtins and
17873 * target-def.h (TARGET_INIT_BUILTINS): New macro.
17874 (TARGET_EXPAND_BUILTIN): New macro.
17875 (TARGET_INITIALIZER): Add them.
17876 * builtins.c: Include target.h.
17877 (expand_builtin): Use targetm.expand_builtin.
17878 (default_init_builtins): New function.
17879 (default_expand_builtin): New function.
17880 * expr.h (default_init_builtins): Declare.
17881 (default_expand_builtin): Declare.
17882 * c-common.c (c_common_nodes_and_builtins): Use
17883 targetm.init_builtins.
17884 * defaults.h (MD_INIT_BUILTINS): Remove.
17885 * Makefile.in (builtins.o): Depend on target.h.
17887 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
17888 (TARGET_EXPAND_BUILTIN): Define.
17889 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
17890 (MD_EXPAND_BUILTIN): Remove.
17892 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
17893 (TARGET_EXPAND_BUILTIN): Define.
17894 (c4x_init_builtins): Make endlink arg a local.
17895 (c4x_print_operand): Fix typos in adjust_address usages.
17896 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
17897 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
17898 (MD_EXPAND_BUILTIN): Remove.
17900 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
17901 (TARGET_EXPAND_BUILTIN): Define.
17902 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
17903 (ix86_init_builtins): Call new function only if TARGET_MMX.
17904 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
17905 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
17906 (MD_EXPAND_BUILTIN): Remove.
17908 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
17909 (TARGET_EXPAND_BUILTIN): Define.
17910 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
17911 (MD_EXPAND_BUILTIN): Remove.
17913 * doc/tm.texi: Document these changes.
17915 2001-07-09 Diego Novillo <dnovillo@redhat.com>
17917 * basic-block.h (tree_node): Forward declare if needed.
17918 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
17919 (BLOCK_HEAD_TREE): Define.
17920 (BLOCK_END_TREE): Define.
17921 (struct loops): Rename field 'tree' to 'tree_root'.
17922 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
17924 (flow_loops_tree_build): Rename reference to field 'tree' to
17926 (flow_loops_level_compute): Ditto.
17927 * predict.c (estimate_bb_frequencies): Ditto.
17928 * tree.h (struct tree_common): Add field 'aux'.
17930 2001-07-09 Stan Shebs <shebs@apple.com>
17932 * config/darwin.c (darwin_encode_section_info): Don't mark any
17933 DECL_EXTERNAL node as defined.
17935 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
17937 * pa.c (pa_init_machine_status, pa_mark_machine_status,
17938 pa_free_machine_status, hppa_init_pic_save): Delete.
17939 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
17940 (hppa_profile_hook): Use hppa_pic_save_rtx.
17941 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
17942 hppa_init_pic_save): Delete.
17943 (hppa_pic_save_rtx): Declare.
17944 * pa.md (call, call_value, sibcall, sibcall_value,
17945 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
17947 2001-07-09 Kazu Hirata <kazu@hxi.com>
17949 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
17950 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
17952 2001-07-09 Andreas Jaeger <aj@suse.de>
17954 * output.h: Add declaration of final_forward_branch_p.
17956 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
17958 * varray.c: Include errors.h for internal_error and trim_filename
17961 * Makefile.in (varray.o): Add errors.h.
17963 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
17965 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
17966 * optabs.c (have_add2_insn): Check whether the add insn chosen
17967 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
17968 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
17970 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
17972 * Makefile.in (OBJS): Add ssa-ccp.o
17973 (ssa-ccp.o): Add dependencies.
17974 * toplev.c (DFI_ssa_ccp): New dump file enum.
17975 (dump_file): Add entry for dumping after SSA CCP.
17976 (flag_ssa_ccp): New flag variable.
17977 (f_options): Add -fssa-ccp.
17978 (rest_of_compilation): Run SSA CCP if requested.
17979 * timevar.def (TV_SSA_CCP): New timevar.
17980 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
17981 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
17982 Fix minor typo in SSA DCE documentation.
17983 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
17984 Add documentation for new dump option. Renumber dump files
17987 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17989 * emit-rtl.c (gen_highpart_mode): New.
17990 * rtl.h (gen_highpart_mode): Declare.
17991 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
17992 operand can be VOIDmode constant.
17994 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
17996 * flow.c (redirect_edge_and_branch_force): New.
17997 (can_fallthru): Ensure that basic blocks are succeeding.
17998 (try_optimize_cfg): Do not delete basic block if it is the last one.
18000 * flow.c (try_redirect_by_replacing_jump): Do not remove
18001 jumps with side effects, unlink chain on fallthru edge;
18002 set block for new jump instruction; avoid basic block to
18003 over by line number note.
18005 * flow.c (try_simplify_condjump): Verify that the condjump
18006 is not always falling through.
18009 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
18011 * flow.c (forwarder_block_p): Fix for fallthru blocks.
18012 (try_redirect_by_replacing_jump): Update properly the count
18013 and frequency information.
18015 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18017 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
18018 address that is a LO_SUM specially.
18019 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
18021 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
18023 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
18024 (operand_subword): Use them.
18025 (change_address_1): Renamed from change_address; new arg VALIDATE.
18026 * expr.h: Reflect above changes; change_address now macro.
18027 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
18029 * cselib.c (add_mem_for_addr): Likewise.
18030 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
18031 * regmove.c (try_apply_stack_adjustment): Likewise.
18032 * reload.c (push_reload, make_memloc): Likewise.
18033 * reload1.c (eliminate_regs): Likewise.
18034 * simplify-rtx.c (simplify_replace_rtx): Likewise.
18035 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
18037 * combine.c (make_extraction, simplify_shift_const): Likewise.
18038 (gen_lowpart_for_combine): Likewise.
18039 * cse.c (gen_lowpart_if_possible): Likewise.
18040 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
18041 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
18042 * optabs.c (gen_move_insn): Likewise.
18043 * reload1.c (alter_reg): Likewise.
18044 * simplify-rtx.c (simplify_subreg): Likewise.
18045 * stmt.c (expand_anon_union_decl): Likewise.
18046 * recog.c (validate_replace_rtx_1): Likewise.
18048 * Makefile.in (recog.o): Add $(EXPR_H).
18049 * explow.c (stabilize): Call replace_equiv_address.
18050 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
18051 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
18053 2001-07-03 Andrew Haley <aph@redhat.com>
18055 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
18056 the mode of the memory location.
18058 2001-07-09 Bo Thorsen <bo@suse.co.uk>
18060 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
18062 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
18064 * final.c (output_addr_const): Use target opening and
18065 closing parentheses.
18066 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
18067 defaults, add to TARGET_ASM_OUT.
18068 * target.h (struct gcc_target): Add open_paren and close_paren.
18069 * doc/md.texi: Update.
18070 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
18071 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
18072 TARGET_ASM_CLOSE_PAREN.
18073 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
18075 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
18077 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
18078 * config/a29k/a29k.h: Similarly.
18079 * config/alpha/alpha.h: Similarly.
18080 * config/arc/arc.h: Similarly.
18081 * config/arm/aof.h: Similarly.
18082 * config/arm/aout.h: Similarly.
18083 * config/avr/avr.h: Similarly.
18084 * config/c4x/c4x.h: Similarly.
18085 * config/clipper/clipper.h: Similarly.
18086 * config/convex/convex.h: Similarly.
18087 * config/d30v/d30v.h: Similarly.
18088 * config/dsp16xx/dsp16xx.h: Similarly.
18089 * config/elxsi/elxsi.h: Similarly.
18090 * config/fr30/fr30.h: Similarly.
18091 * config/h8300/h8300.h: Similarly.
18092 * config/i370/i370.h: Similarly.
18093 * config/i386/i386.h: Similarly.
18094 * config/i860/i860.h: Similarly.
18095 * config/i960/i960.h: Similarly.
18096 * config/ia64/ia64.h: Similarly.
18097 * config/m32r/m32r.h: Similarly.
18098 * config/m68hc11/m68hc11.h: Similarly.
18099 * config/m68k/m68k.h: Similarly.
18100 * config/m88k/m88k.h: Similarly.
18101 * config/mcore/mcore.h: Similarly.
18102 * config/mips/mips.h: Similarly.
18103 * config/mn10200/mn10200.h: Similarly.
18104 * config/mn10300/mn10300.h: Similarly.
18105 * config/ns32k/ns32k.h: Similarly.
18106 * config/pa/pa.h: Similarly.
18107 * config/pdp11/pdp11.h: Similarly.
18108 * config/pj/pj.h: Similarly.
18109 * config/romp/romp.h: Similarly.
18110 * config/rs6000/rs6000.h: Similarly.
18111 * config/sh/sh.h: Similarly.
18112 * config/sparc/sparc.h: Similarly.
18113 * config/v850/v850.h: Similarly.
18114 * config/vax/vax.h: Similarly.
18115 * config/we32k/we32k.h: Similarly.
18117 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
18119 * doc/c-tree.texi: Document representation of attributes.
18121 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18123 * doc/tm.texi: Update some places for the rename of target to
18126 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18128 * target.h (struct gcc_target): Add insert_attributes.
18129 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
18130 (TARGET_INITIALIZER): Update.
18131 * tree.c, tree.h (default_insert_attributes): New function.
18132 Update comments on other default functions to refer to targetm,
18134 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
18135 TARGET_INSERT_ATTRIBUTES.
18136 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
18137 * c-common.c (decl_attributes): Use targetm.insert_attributes.
18138 Don't use PRAGMA_INSERT_ATTRIBUTES.
18139 * Makefile.in (c-common.o): Depend on $(TARGET_H).
18140 * c-decl.c (start_decl, start_function): Don't call
18141 SET_DEFAULT_DECL_ATTRIBUTES.
18142 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
18143 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
18145 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
18146 (c4x_check_attribute): Avoid modifying attribute list itself.
18147 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
18149 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
18150 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
18152 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
18153 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
18155 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
18156 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
18158 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
18159 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
18160 Adjust parameters. Make static.
18162 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18164 * c-common.c (decl_attributes): Only take a single attributes
18166 * c-common.h (decl_attributes): Update prototype.
18167 * c-decl.c (start_decl, start_function): Only take a single
18168 attributes parameter. Update calls to decl_attributes.
18169 (finish_struct, finish_enum): Update calls to decl_attributes.
18170 (push_parm_decl): Expect unified list of attributes. Update call
18171 to decl_attributes.
18172 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
18173 notype_nested_function, component_declarator,
18174 component_notype_declarator, label): Update calls to
18176 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
18177 lists that are passed to push_parm_decl.
18178 * c-tree.h (start_function, start_decl): Update prototypes.
18179 * config/sh/sh-protos.h, config/sh/sh.c
18180 (sh_pragma_insert_attributes): Only take a single attributes
18182 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
18183 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
18184 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
18185 build_module_descriptor, generate_static_references,
18186 generate_strings, build_selector_translation_table,
18187 generate_descriptor_table, generate_protocols,
18188 generate_ivars_list, generate_dispatch_table,
18189 generate_protocol_list, generate_category,
18190 generate_shared_structures, really_start_method, add_objc_decls,
18191 generate_classref_translation_entry): Update calls to start_decl
18192 and start_function.
18193 (build_tmp_function_decl, start_method_def): Unify attribute lists
18194 that are passed to push_parm_decl.
18196 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
18198 * final.c (no_asm_to_stream): New.
18199 (final_scan_insn): Use target structures for prologue ends
18200 and epilogue starts.
18201 * output.h (no_asm_to_stream): New.
18202 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
18203 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
18204 (TARGET_ASM_OUT): Update.
18205 * target.h (struct gcc_target): New members function_end_prologue
18206 and function_begin_epilogue.
18207 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
18208 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
18209 * config/alpha/alpha.c (output_end_prologue): Rename to
18210 alpha_output_function_end_prologue. Use in target struct
18212 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
18213 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
18214 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
18215 ia64_output_function_end_prologue. Use in target struct
18217 (ia64_function_prologue, ia64_funciton_epilogue): Rename
18218 mistyped prototypes.
18219 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
18220 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
18222 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
18223 an use in target struct, make static.
18224 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
18227 2001-07-08 Richard Henderson <rth@redhat.com>
18229 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
18231 2001-07-08 Richard Henderson <rth@redhat.com>
18233 * config/i386/i386.md: Remove constraints strings from define_split
18234 and define_peephole2 patterns.
18235 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
18236 (eh_return): Use them.
18238 2001-07-08 Richard Henderson <rth@redhat.com>
18240 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
18241 Document MD_FALLBACK_FRAME_STATE_FOR.
18243 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18245 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
18246 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
18248 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
18250 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
18252 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
18253 of the label inside NAME as opposed to just the end of NAME.
18255 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
18257 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
18258 * config/alpha/alpha.c (alpha_init_machine_status,
18259 alpha_mark_machine_status, alpha_free_machine_status): Delete.
18260 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
18261 (vms_valid_decl_attribute_p): Make static, conditionally compile.
18262 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
18264 2001-07-06 Stan Shebs <shebs@apple.com>
18266 * target.h (targetm): Rename global from "target", so as not to
18267 conflict with local variables.
18269 * c-typeck.c: Ditto.
18272 * cp/decl.c: Ditto.
18273 * cp/decl2.c: Ditto.
18274 * cp/typeck.c: Ditto.
18275 * 1750a/1750a.c: Ditto.
18276 * a29k/a29k.c: Ditto.
18277 * arc/arc.c: Ditto.
18278 * arm/arm.c: Ditto.
18279 * avr/avr.c: Ditto.
18280 * clipper/clipper.c: Ditto.
18281 * convex/convex.c: Ditto.
18282 * d30v/d30v.c: Ditto.
18283 * dsp16xx/dsp16xx.c: Ditto.
18284 * elxsi/elxsi.c: Ditto.
18285 * fr30/fr30.c: Ditto.
18286 * h8300/h8300.c: Ditto.
18287 * i370/i370.c: Ditto.
18288 * i386/i386.c: Ditto.
18289 * i860/i860.c: Ditto.
18290 * i960/i960.c: Ditto.
18291 * ia64/ia64.c: Ditto.
18292 * m32r/m32r.c: Ditto.
18293 * m68hc11/m68hc11.c: Ditto.
18294 * m68k/m68k.c: Ditto.
18295 * m88k/m88k.c: Ditto.
18296 * mips/mips.c: Ditto.
18297 * ns32k/ns32k.c: Ditto.
18299 * pdp11/pdp11.c: Ditto.
18300 * romp/romp.c: Ditto.
18301 * rs6000/rs6000.c: Ditto.
18303 * sparc/sparc.c: Ditto.
18304 * vax/vax.c: Ditto.
18305 * we32k/we32k.c: Ditto.
18306 * doc/tm.texi: Update the manual to match.
18308 2001-07-06 Richard Henderson <rth@redhat.com>
18310 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
18311 DWARF2_UNWIND_INFO not just whether it is defined.
18313 2001-07-06 Diego Novillo <dnovillo@redhat.com>
18315 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
18316 call to simplify_binary_operation returns a new pattern.
18318 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
18320 * glimits.h (__SHRT_MAX__): New.
18321 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
18322 (SHRT_MAX): Define in terms of __SHRT_MAX__.
18324 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
18326 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
18329 2001-07-06 Richard Henderson <rth@redhat.com>
18331 * bitmap.c (bitmap_release_memory): Move adjacent to the
18332 allocation functions.
18333 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
18334 the implementation. Binary search for the set bit.
18335 (bitmap_union_of_diff): Allocate the temporary on the stack
18336 instead of using xmalloc.
18338 2001-07-06 Richard Henderson <rth@redhat.com>
18340 * genrecog.c (validate_pattern): Warn for constraints in
18341 define_{expand,split,peephole2}. Remove strict_low_part
18342 before looking up match_dup.
18344 2001-07-06 DJ Delorie <dj@redhat.com>
18346 * doc/gcc.texi (Makefile): Rename to be a more general purpose
18347 chapter about various build hints and history. Add section
18348 talking about the various types of native and cross builds.
18350 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
18352 * Makefile.in (final.o): Depend on target.h.
18353 * final.c: Include target.h.
18354 (default_function_pro_epilogue): New.
18355 (final_start_function): Use target structure for function prologues.
18356 (final_end_function): Use target structure for function epilogues.
18357 * fold-const.c (real_hex_to_f): Constify s and p.
18358 * output.h (default_function_pro_epilogue): New.
18359 * real.h (real_hex_to_f): Update prototype.
18360 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
18361 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
18362 (TARGET_INITIALIZER): Update.
18363 * target.h (gcc_target): Add struct asm_out.
18364 * doc/tm.texi: Update.
18367 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
18368 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
18369 in cpu/cpu.c, or rename old functions consistently. Take
18370 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
18371 redundant macros and prototypes. Make new functions static.
18373 * 1750a/1750a.c: Similarly.
18374 * 1750a/1750a.h: Similarly.
18375 * a29k/a29k-protos.h: Similarly.
18376 * a29k/a29k.c: Similarly.
18377 * a29k/a29k.h: Similarly.
18378 * arc/arc-protos.h: Similarly.
18379 * arc/arc.c: Similarly.
18380 * arc/arc.h: Similarly.
18381 * arm/arm-protos.h: Similarly.
18382 * arm/arm.c: Similarly.
18383 * arm/arm.h: Similarly.
18384 * avr/avr-protos.h: Similarly.
18385 * avr/avr.c: Similarly.
18386 * avr/avr.h: Similarly.
18387 * clipper/clipper-protos.h: Similarly.
18388 * clipper/clipper.c: Similarly.
18389 * clipper/clipper.h: Similarly.
18390 * convex/convex.c: Similarly.
18391 * convex/convex.h: Similarly.
18392 * d30v/d30v-protos.h: Similarly.
18393 * d30v/d30v.c: Similarly.
18394 * d30v/d30v.h: Similarly.
18395 * d30v/d30v.md: Similarly.
18396 * dsp16xx/dsp16xx-protos.h: Similarly.
18397 * dsp16xx/dsp16xx.c: Similarly.
18398 * dsp16xx/dsp16xx.h: Similarly.
18399 * elxsi/elxsi.c: Similarly.
18400 * elxsi/elxsi.h: Similarly.
18401 * fr30/fr30.c: Similarly.
18402 * fr30/fr30.md: Similarly.
18403 * h8300/h8300-protos.h: Similarly.
18404 * h8300/h8300.c: Similarly.
18405 * h8300/h8300.h: Similarly.
18406 * i370/i370-protos.h: Similarly.
18407 * i370/i370.c: Similarly.
18408 * i370/i370.h: Similarly.
18409 * i386/i386.c: Similarly.
18410 * i386/osf1elf.h: Similarly.
18411 * i386/osfrose.h: Similarly.
18412 * i860/i860-protos.h: Similarly.
18413 * i860/i860.c: Similarly.
18414 * i860/i860.h: Similarly.
18415 * i960/i960-protos.h: Similarly.
18416 * i960/i960.c: Similarly.
18417 * i960/i960.h: Similarly.
18418 * ia64/ia64-protos.h: Similarly.
18419 * ia64/ia64.c: Similarly.
18420 * ia64/ia64.h: Similarly.
18421 * m32r/m32r-protos.h: Similarly.
18422 * m32r/m32r.c: Similarly.
18423 * m32r/m32r.h: Similarly.
18424 * m68hc11/m68hc11-protos.h: Similarly.
18425 * m68hc11/m68hc11.c: Similarly.
18426 * m68hc11/m68hc11.h: Similarly.
18427 * m68k/crds.h: Similarly.
18428 * m68k/dpx2.h: Similarly.
18429 * m68k/m68k-protos.h: Similarly.
18430 * m68k/m68k.c: Similarly.
18431 * m68k/m68k.h: Similarly.
18432 * m68k/news.h: Similarly.
18433 * m88k/m88k-protos.h: Similarly.
18434 * m88k/m88k.c: Similarly.
18435 * m88k/m88k.h: Similarly.
18436 * mips/mips-protos.h: Similarly.
18437 * mips/mips.c: Similarly.
18438 * mips/mips.h: Similarly.
18439 * ns32k/merlin.h: Similarly.
18440 * ns32k/ns32k.c: Similarly.
18441 * ns32k/ns32k.h: Similarly.
18442 * ns32k/tek6000.h: Similarly.
18443 * pa/pa-protos.h: Similarly.
18444 * pa/pa.c: Similarly.
18445 * pa/pa.h: Similarly.
18446 * pdp11/2bsd.h: Similarly.
18447 * pdp11/pdp11-protos.h: Similarly.
18448 * pdp11/pdp11.c: Similarly.
18449 * pdp11/pdp11.h: Similarly.
18450 * romp/romp-protos.h: Similarly.
18451 * romp/romp.c: Similarly.
18452 * romp/romp.h: Similarly.
18453 * rs6000/rs6000-protos.h: Similarly.
18454 * rs6000/rs6000.c: Similarly.
18455 * rs6000/rs6000.h: Similarly.
18456 * rs6000/sysv4.h: Similarly.
18457 * sh/sh-protos.h: Similarly.
18458 * sh/sh.c: Similarly.
18459 * sh/sh.h: Similarly.
18460 * sparc/sparc-protos.h: Similarly.
18461 * sparc/sparc.c: Similarly.
18462 * sparc/sparc.h: Similarly.
18463 * vax/vax.c: Similarly.
18464 * vax/vax.h: Similarly.
18465 * vax/vms.h: Similarly.
18466 * we32k/we32k.c: Similarly.
18467 * we32k/we32k.h: Similarly.
18469 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
18471 * basic-block.h (first_insn_after_basic_block_note): Declare.
18472 * flow.c (first_insn_after_basic_block_note): Define. Moved
18474 * ssa.c (first_insn_after_basic_block_note): Remove.
18475 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
18477 (ssa_eliminate_dead_code): Properly update the CFG and PHI
18478 nodes when we find a dead conditional branch. Insert BARRIERs
18479 after any blocks with no successors, but which do not have
18482 2001-07-06 Zack Weinberg <zackw@stanford.edu>
18484 * varray.c (varray_check_failed): Use internal_error.
18486 2001-07-05 Andrew Haley <aph@redhat.com>
18488 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
18489 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
18490 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
18492 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
18494 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
18495 reference if the target constant is also a SYMBOL_REF.
18497 2001-07-05 Eric Christopher <echristo@redhat.com>
18499 * config/mips/mips.h (MASK_MIPS3900): Remove.
18500 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
18501 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
18502 (TARGET_MIPS3900): Change to use mips_arch.
18503 (TARGET_MIPS4000): New.
18504 (TARGET_MIPS4100): New.
18505 (TARGET_MIPS4300): New.
18506 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
18507 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
18509 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
18510 (ISA_HAS_BRANCHLIKELY): To here.
18511 (CC1_CPU_SPEC): New.
18512 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
18513 (mips_arch_string): Declare.
18514 (mips_arch): Declare.
18515 (TARGET_OPTIONS): Add -march and -mtune.
18517 * config/mips/mips.c (mips_arch_string): New.
18519 (override_options): Handle -march for codegen and -mtune
18520 for scheduling. Use mips_arch. Move tx39 target default here.
18521 (mips_parse_cpu): Move error message to override_options.
18523 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
18525 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
18527 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
18528 (MIPS Options): Ditto. Change mcpu entry to historical text.
18530 2001-07-05 H.J. Lu (hjl@gnu.org)
18532 * config/mips/mips.c (mips_parse_cpu): New function to parse
18535 2001-07-05 Jim Wilson <wilson@redhat.com>
18537 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
18538 * config/ia64/t-ia64: Likewise.
18539 (LIB1ASMFUNCS): Update comment.
18541 2001-07-05 David Edelsohn <edelsohn@gnu.org>
18543 * doc/install.texi (Install GCC: Binaries): Fix typo.
18545 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18547 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
18548 reference using the stack pointer, adjust it since we push Y
18550 ("*ashrsi3"): Likewise.
18551 ("*lshrsi3"): Likewise.
18553 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18555 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
18556 when -fomit-frame-pointer is used.
18558 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
18560 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
18561 (try_redirect_by_replacing_jump): Reverse updating properly the
18562 count and frequency information. Reverse removing cc0 setter.
18563 (forwarder_block_p): Reverse fixing for fallthru blocks.
18565 2001-07-05 DJ Delorie <dj@redhat.com>
18567 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
18568 (translate_options): If the above is defined, use it to map
18569 given options to new options.
18570 * doc/tm.texi: Document it.
18572 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
18573 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18575 * doc/invoke.texi (Optimize Options): Document that -fgcse may
18576 cause programs using computed gotos to run more slowly.
18578 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18580 * doc/install.texi (Specific): Markup, spelling and typo fixes.
18582 Consistently require binutils 2.11.2, not prereleases.
18583 (Specific, decstation-*): Canonicalize as mips-dec-*.
18584 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
18586 (Specific, m68k-altos): Removed reference to README.altos, deleted.
18587 (Specific, mips-*): Reword MIPS C compiler requirements.
18588 (Specific, powerpc*-*-*): New, mention --with-cpu once.
18589 (Specific, sunv5): Removed, obsolete.
18591 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
18593 * dwarf2out.c (output_loc_list): Use an all ones mask for
18594 .text asm output and don't rely on long long
18595 literals. Reformat some long lines.
18597 2001-07-05 Andreas Jaeger <aj@suse.de>
18599 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
18602 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18604 * dwarf2out.c (dwarf2out_define): Update comment.
18605 (dwarf2out_undef): Ditto.
18606 (dwarf2out_start_source_file): Ditto.
18607 (dwarf2out_end_source_file): Ditto.
18608 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
18609 since we never call the start/end debug hook for the primary file.
18611 2001-07-04 Kazu Hirata <kazu@hxi.com>
18613 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
18616 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18618 * cppinit.c (remove_dup_dirs): Inform if a system include
18619 directory is being reordered.
18620 * doc/invoke.texi (Directory Options): GCC warns if you hide a
18622 * doc/cpp.texi (Search Paths): Likewise.
18623 * doc/gcc.texi (Interoperation): Remove information about
18626 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18628 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
18629 (VARRAY_TOP_CHAR_PTR): Likewise.
18631 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18633 * gcc.c (process_command): Don't assign elements of a const char*.
18635 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18637 * emit-rtl.c (change_address): Don't abort if invalid address while
18638 reload is in progress.
18640 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18642 * c-lex.c (cb_file_change): Pass line number to
18643 debug_start_source_file.
18644 (cb_undefine): Pass correct line number to debug_undef.
18646 * toplev.c (debug_start_source_file): Add line number to
18647 parameters. Pass it along to dwarf2out_start_source_file.
18648 (decode_g_option): Stop resetting debug level back to normal when
18649 we change debug formats, unless the current level is
18650 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
18653 * toplev.h (debug_start_source_file): Add line number to
18656 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
18659 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
18661 Output debug_macinfo data for starting file if requested.
18662 (dwarf2out_end_source_file): Output debug_macinfo data for ending
18664 (dwarf2out_define): Output debug_macinfo data for defining a macro
18666 (dwarf2out_undef): Output debug_macinfo data for undefining a
18667 macro if requested.
18668 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
18669 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
18670 (macinfo_section_label): New. DWARF2 macro info section label.
18671 (dwarf2out_init): If we want macro info, output the start label
18673 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
18674 attribute to the compilation unit die pointing to the macro info.
18676 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18678 * dwarf2out.c (new_loc_list): Move to inside #ifdef
18679 DWARF2_DEBUGGING_INFO.
18680 (add_loc_descr_to_loc_list): Ditto.
18681 (output_loc_list): Ditto.
18682 Also, fix thinko in curr not being initialized.
18683 (gen_internal_sym): Ditto.
18685 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18687 * emit-rtl.c (replace_equiv_address): New function.
18688 * expr.h (replace_equiv_address): New declaration.
18689 * explow.c (validize_mem): Call it instead of change_address and
18690 also call if -fforce-addr and address is constant.
18691 * expr.c: Replace more calls to change_address with adjust_address
18692 and/or replace_equiv_address or to validize_mem.
18693 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
18694 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
18695 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18696 * config/i370/i370.md, config/i860/i860.md: Likewise.
18697 * config/i960/i960.md, config/mips/mips.c: Likewise.
18698 * config/mips/mips.md, config/pa/pa.md: Likewise.
18699 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
18700 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
18702 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18704 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
18706 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
18709 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
18711 * doc/include: New directory.
18712 * doc/fdl.texi: Move to doc/include/fdl.texi.
18713 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
18714 * doc/include/funding.texi, doc/include/gpl.texi: New files.
18715 * doc/gcc.texi: Use funding.texi and gpl.texi.
18716 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
18717 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
18718 Update dependencies and use -I $(docdir)/include.
18720 2001-07-04 Anthony Green <green@redhat.com>
18722 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
18724 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18726 * doc/install.texi (sparc64-*-*): Remove garbage.
18728 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
18730 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
18731 Fix typo in last change to use adjust_address.
18733 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18735 * doc/install.texi (Specific): Update information for *-*-solaris*.
18737 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18739 * explow.c (plus_constant_wide): Reinitialize Y for restart.
18741 2001-07-03 Stan Shebs <shebs@apple.com>
18743 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
18744 case for flag_no_mach_text_sections.
18745 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
18746 * config/darwin.c (flag_no_mach_text_sections): Remove.
18747 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
18749 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18751 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
18752 and avoid checking for constant as first operand.
18753 * recog.c (find_constant_term_loc): No longer static.
18754 (adj_offettable_operand): Delete.
18755 * rtl.h (adj_offsettable_operand): Delete declaration.
18756 (find_constant_term): Add declaration.
18757 * caller-save.c: Replace calls to adj_offsettable_operand with calls
18759 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
18760 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
18761 * config/i386/i386.c, config/i386/i386.md: Likewise.
18762 * config/i860/i860.c, config/i960/i960.c: Likewise.
18763 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
18764 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
18765 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
18766 * config/mips/mips.c, config/mips/mips.md: Likewise.
18767 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
18768 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
18769 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
18770 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
18771 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
18772 * config/ns32k/ns32k.md: Likewise.
18774 2001-07-03 Zack Weinberg <zackw@stanford.edu>
18776 * rtl.c (copy_rtx): Handle 'T' format letter.
18777 * gensupport.c (collect_insn_data): Likewise.
18778 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
18780 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
18782 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
18783 -B option. Use 'dir' not 'foo' as example directory name.
18785 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18787 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
18788 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
18790 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18792 * doc/cppinternals.texi: Improve formatting and logical markup.
18794 2001-07-03 Andreas Jaeger <aj@suse.de>
18796 * Makefile.in (insn-recog.o): Add dependency on reload.h.
18798 * genrecog.c (write_header): Include reload.h for prototypes in
18801 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
18804 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
18805 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
18806 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
18807 i386_pe_valid_type_attribute_p): Add.
18808 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
18809 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
18811 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18813 * explow.c (plus_constant_wide, case LO_SUM): New case.
18814 (plus_constant_for_output_wide): Delete.
18815 * rtl.h (plus_constant_for_output): Delete.
18816 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
18817 instead of plus_constant_for_output.
18818 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
18819 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
18820 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
18821 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
18822 * config/sparc/sparc.md: Likewise.
18823 Convert some change_address calls to adjust_address.
18825 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18827 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
18828 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
18829 documentation of -std and -Wwrite-strings.
18831 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18833 * cse.c (canon_hash): Don't register registers in very small
18834 register classes, as extending their lifetime might cause
18837 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
18839 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
18841 * flow.c (forwarder_block_p): Fix for fallthru blocks.
18842 (try_redirect_by_replacing_jump): Update properly the count
18843 and frequency information.
18845 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
18847 * toplev.c (dump_file_index): Move SSA dumps just after first
18849 (dump_file): Corresponding changes.
18850 (rest_of_compilation): Move SSA path to just after the first
18852 * doc/gcc.texi (Passes): Update due to movement of SSA path.
18853 * doc/invoke.texi: Update dump file #s as they were completely
18854 out of date with reality.
18856 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18858 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
18860 * expr.c (emit_move_insn_1): Deal with non-default
18863 * expr.c (emit_single_push_insn): Fix warning.
18865 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
18867 * expr.c (emit_move_insn_1): Avoid modifying
18868 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
18870 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18872 * emit-rtl.c (adjust_address): New function.
18873 * expr.h (adjust_address): Add declaration.
18874 * builtins.c: Replace some calls to change_address with calls to it
18875 or to validize_mem.
18876 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
18877 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
18878 * config/arm/arm.c, config/convex/convex.c: Likewise.
18879 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18880 * config/i386/i386.c, config/i386/i386.md: Likewise.
18881 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
18882 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
18883 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
18884 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
18885 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
18887 2001-07-02 Jim Wilson <wilson@redhat.com>
18889 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
18891 2001-07-02 Steve Ellcey <sje@cup.hp.com>
18893 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
18894 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
18896 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18898 * cppinit.c (lang_defaults): New table.
18899 (set_lang): Just read from lang_defaults into the live options
18902 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18904 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
18905 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
18906 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
18908 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18910 * doc/install.texi: Various spelling and markup fixes.
18911 (Installing GCC): Component specific installation instructions are
18914 Warn about removing old install dir in the presence of shared libs.
18915 (Configuration): Invoke with options target to match configure
18917 Consistently refer to gas, gld pathnames.
18918 Invert --enable-multilib documentation.
18919 Remove references to old compiler versions.
18921 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18923 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
18925 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18927 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
18929 (Specific, mips*-sgi-irix5): Note IDO download.
18930 Reworded MIPS C hints.
18931 Use GNU as instead of GAS.
18933 Removed SGI Freeware reference, IRIX 6 only.
18934 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
18935 Note N64 library requirement/workaround.
18937 Complete list of structure passing bug victims.
18939 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18941 * doc/install.texi: Remove CVS Id.
18943 2001-07-02 Andreas Jaeger <aj@suse.de>
18945 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
18946 (find_inherently_necessary): Remove unused variable.
18948 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
18950 * c-common.h (TDI_inlined): New ast dump phase.
18951 (dump_flag_name): New function.
18952 * c-dump.c (dump_files): Add inlined phase.
18953 (dump_flag_name): Define.
18954 * doc/invoke.texi (-fdump-ast-inlined): Document.
18956 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18958 * stor-layout.c (layout_decl): Revert change to handling of alignment
18961 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18963 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
18966 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
18968 * doc/tm.texi (FUNCTION_ARG): Document that the last call
18971 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
18973 * tlink.c (recompile_files): Remove COMPILER_PATH and
18974 LIBRARY_PATH from the environment.
18976 2001-07-01 Zack Weinberg <zackw@stanford.edu>
18978 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
18979 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
18981 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
18983 * c-parse.in (OBJC_STRING): Kill.
18984 (objc_string): Decompose to [objc_string] '@' STRING.
18985 (reswords): Take the leading '@' off all the Objective C keywords.
18986 (objc_rid_sans_at): Kill.
18987 (init_reswords): Don't initialize it.
18988 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
18989 (_yylex): Kill reconsider label. Look ahead one token after
18990 an '@'; if we get an identifier, check whether it's an
18991 Objective C @-keyword. If so, return the keyword. Otherwise,
18992 put back the token and return the '@' as a terminal.
18994 * cpplib.c (lex_macro_node): Remove unnecessary check for
18995 leading '@' on identifier. Clarify control flow and commentary.
18997 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18999 * cse.c (new_label_ref): Variable deleted.
19000 (insert): Remove set of new_label_ref.
19001 (check_for_label_ref): New function.
19002 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
19004 See ChangeLog.5 for earlier changes.