1 2001-12-28 Kazu Hirata <kazu@hxi.com>
3 * except.c: Fix comment formatting.
7 * simplify-rtx.c: Likewise.
10 * vmsdbgout.c: Likewise.
12 2001-12-28 Kazu Hirata <kazu@hxi.com>
14 * config/h8300/h8300.md: Fix formatting.
16 2001-12-28 Geoff Keating <geoffk@redhat.com>
18 * varasm.c (record_constant_1): Correct parameter to recursive
21 2001-12-28 Jakub Jelinek <jakub@redhat.com>
23 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT,
24 ASM_OUTPUT_DWARF_PCREL): Define.
25 * config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
26 * configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports
27 .uaword %r_disp32() and linker handles it correctly.
28 * configure, config.in: Rebuilt.
30 2001-12-28 Jakub Jelinek <jakub@redhat.com>
32 * c-typeck.c (store_init_value): If initializing object with array
33 type of unknown size by a compound literal, set object's size from
34 compound literal size.
35 * doc/extend.texi (Compound Literals): Adjust documentation.
37 2001-12-28 Richard Henderson <rth@redhat.com>
39 * real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT.
40 (endian): Clear word 3 for INTEL_EXTENDED_IEEE_FORMAT.
41 (etartdouble): Invoke etoe64 for INTEL_EXTENDED_IEEE_FORMAT.
42 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Don't special case
43 INTEL_EXTENDED_IEEE_FORMAT.
45 2001-12-27 Geoff Keating <geoffk@redhat.com>
47 * combine.c (try_combine): Mask off sign bits when combining
48 stores to the low and high parts of a two-word value.
50 * expr.c (expand_expr): Don't mark memory for non-constants as
53 Thu Dec 27 20:39:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
55 * integrate.c (copy_rtx_and_substitute, case MEM): If inlining
56 and not for LHS, clear RTX_UNCHANGING_P.
58 2001-12-28 Philipp Thomas <pthomas@suse.de>
60 * cppfiles.c (stack_include_file): Don't translate <stdin>.
62 2001-12-27 Roger Sayle <roger@eyesopen.com>
64 * builtins.c (expand_builtin_memcmp): Optimize memcmp built-in
65 when all arguments are known constant. Fixes PR opt/3508.
67 2001-12-27 Kazu Hirata <kazu@hxi.com>
69 * config/h8300/h8300.md (two anonymous patterns): Remove.
71 2001-12-27 Richard Henderson <rth@redhat.com>
73 * haifa-sched.c (reemit_other_notes): New.
74 (schedule_block): Use it.
75 * sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes.
76 * sched-rgn.c (schedule_insns): Likewise.
77 * cfglayout.c (remove_scope_notes): Handle removing note at
78 the end of the insn chain.
79 * function.c (debug_find_var_in_block_tree): New.
81 2001-12-27 Alan Modra <amodra@bigpond.net.au>
82 David Edelsohn <edelsohn@gnu.org>
84 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify.
86 2001-12-27 Jakub Jelinek <jakub@redhat.com>
88 * toplev.c (independent_decode_option): Re-add -aux-info option
91 Thu Dec 27 09:50:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
93 * integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note
96 2001-12-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
98 * collect2.c (is_ctor_dtor): Const-ify.
99 * m88k-protos.h (output_file_start): Likewise.
100 * m88k.c (m88k_lang_independent_options, output_options,
101 output_file_start): Likewise.
102 * fix-header.c (files_to_ignore, std_include_entry, include_entry,
103 std_include_table, main): Likewise.
104 * protoize.c (longopts): Likewise.
105 * regclass.c (int_reg_class_contents): Likewise.
106 * toplev.c (dump_file, f_options, W_options): Make static.
107 (lang_independent_options, f_options, W_options): Const-ify.
108 * tree-dump.c (dump_file_info): Likewise.
109 * unroll.c (_factor): Make static.
111 Wed Dec 26 17:55:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
113 * config/alpha/alpha.c (alpha_align_insns): Remove warning.
115 * config/sparc/sparc.md (call struct patterns): Show starting
118 2001-12-26 David Edelsohn <edelsohn@gnu.org>
120 * rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405.
121 * sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405.
123 2001-12-26 DJ Delorie <dj@redhat.com>
125 * function.c (expand_main_function): Make sure stack adjustments
126 happen before sjlj exception setup.
128 2001-12-26 David Edelsohn <edelsohn@gnu.org>
130 * rs6000.md (indirect_jump): Prefer CTR over LR.
131 * xcoff.h (ASM_DECLARE_FUNCTION_NAME): Handle weak function.
133 Tue Dec 25 12:04:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
135 * dwarf2out.c: Reformatting and minor code rearrangement.
137 2001-12-24 Douglas B. Rupp (rupp@gnat.com)
139 * configure.in (quoted_stage_prefix_set_by_configure): Generate.
140 * configure: Regenerated.
141 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Use
142 quoted_stage_prefix_set_by_configure.
144 Mon Dec 24 10:24:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
146 * rtl.h (in_expr_list_p): New declaration.
147 * rtlanal.c (in_expr_list_p): New function.
148 * cfgcleanup.c: Reformatting and minor code rearrangement.
149 * cfglayout.c, cfgloop.c, cfgrtl.c: Likewise.
151 2001-12-23 Richard Henderson <rth@redhat.com>
154 * c-decl.c (duplicate_decls): As needed, set DECL_INLINE when
155 we have a function body associated. Minor cleanups.
156 (grokdeclarator): Do not set DECL_INLINE without a function body.
158 2001-12-23 Richard Henderson <rth@redhat.com>
160 * stmt.c (resolve_operand_names): Handle operand modifiers.
162 2001-12-23 Richard Henderson <rth@redhat.com>
164 * stmt.c (parse_input_constraint): Break out from ...
165 (expand_asm_operands): ... here. Loop over the operands twice,
166 the first time only calling mark_addressable. Correct and simplify
167 the conditions for spilling an output operand to memory.
169 2001-12-23 Richard Henderson <rth@redhat.com>
171 * config/alpha/alpha.c (call_operand) [OSF]: Disallow virtual regs.
173 * config/alpha/alpha.md (UNSPEC_SIBCALL): New.
174 (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it.
175 (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise.
177 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
179 * c-typeck.c (c_start_case): Don't strip conversions from the
180 controlling expression. Partially fixes PR c/2454.
182 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
184 * Makefile.in (USER_H): Remove proto.h.
185 * config.gcc (c*-convex-*): Set extra_headers=proto.h.
187 2001-12-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
189 * arc.c (arc_hard_regno_mode_ok): Const-ify.
190 * arc.h (arc_hard_regno_mode_ok): Likewise.
191 * i386.c (x86_64_reg_class_name): Make static.
192 * m68k.c (regno_reg_class): Const-ify.
193 * m68k.h (regno_reg_class): Likewise.
194 * mcore.c (reg_class_from_letter): Likewise.
195 * mcore.h (reg_class_from_letter): Likewise.
196 * sh.c (reg_class_from_letter, ashiftrt_insns, shift_insns,
197 ext_shift_insns, ext_shift_amounts): Likewise.
198 * sh.h (reg_class_from_letter): Likewise.
199 * sparc.c (hard_regno_mode_classes, hard_32bit_mode_classes,
200 hard_64bit_mode_classes): Likewise.
201 * sparc.h (hard_regno_mode_classes): Likewise.
203 * gcc.c (modify_target): Make static.
204 * gengenrtl.c (defs, formats): Likewise.
205 * reload1.c (elim_table_1, init_elim_table): Const-ify.
206 * tradcpp.c (directive, directive_table, handle_directive,
207 skip_if_group, run_directive): Likewise.
209 2001-12-23 Richard Henderson <rth@redhat.com>
211 * calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for
212 an invalid result register; do end the sequence properly.
213 (emit_library_call_value_1): Likewise.
215 2001-12-22 Aldy Hernandez <aldyh@redhat.com>
217 * config/rs6000/rs6000.h (rs6000_builtins): Add vsldoi variants.
219 * config/rs6000/rs6000.md ("altivec_vsldoi_*"): Same.
221 * config/rs6000/rs6000.c: Clean up some spacing and indentation.
222 (altivec_init_builtins): Add tree types for builtins with 4 bit
224 (bdesc_3arg): Add vsldoi variants.
226 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
228 * 1750a.h (datalbl, jmplbl): Declare array size explicitly.
229 * a29k.h (a29k_debug_reg_map): Likewise.
230 * arc.h (arc_regno_reg_class): Likewise.
231 * c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise.
232 * convex.h (regno_reg_class, reg_class_from_letter): Likewise.
233 * d30v.h (regno_reg_class, reg_class_from_letter): Likewise.
234 * i386.h (regclass_map): Likewise.
235 * m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise.
236 * mcore.h (regno_reg_class): Likewise.
237 * mips.h (mips_print_operand_punct, mips_char_to_class):
239 * ns32k.h (regclass_map): Likewise.
240 * pj.h (pj_debugreg_renumber_vec): Likewise.
241 * s390.h (regclass_map): Likewise.
242 * sh.h (regno_reg_class): Likewise.
243 * sparc.h (sparc_regno_reg_class): Likewise.
245 * hard-reg-set.h (reg_class_contents): Likewise.
246 * machmode.h (class_narrowest_mode): Likewise.
248 2001-12-22 David Edelsohn <edelsohn@gnu.org>
250 * loop.c (scan_loop, move_movables, count_one_set): Do not
251 overlook hard registers when computing statistics.
253 Sun Dec 23 00:49:37 CET 2001 Jan Hubicka <jh@suse.cz>
255 * calls.c (ECF_LIBCALL_BLOCK): New constant.
256 (emit_call_1, initialize_argument_information,
257 precompute_arguments, expand_call,
258 emit_library_call_value_1): Use ECF_LIBCALL_BLOCK
259 instead of ECF_PURE | ECF_CONST. Honnor LCT_CONST/LCT_PURE.
261 2001-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
263 * config.gcc (extra_headers): Move settings to math-68881.h and
264 ppc-asm.h to common code for CPU types. Use math-68881.h on all
266 (header_files): Remove unused setting.
268 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
270 * elxsi.c: Include "hard-reg-set.h" and/or don't declare
271 `call_used_regs' explicitly.
279 Fri Dec 21 23:30:14 CET 2001 Jan Hubicka <jh@suse.cz>
281 * i386.h (TARGET_CPU_DEFAULT_pentium_mmx): New.
282 (TARGET_CPU_DEFAULT_*): Renumber.
284 Sat Dec 22 12:20:20 EST 2001 John Wehle (john@feith.com)
286 * rtl.h (subreg_lsb): Declare.
287 * rtlanal.c (subreg_lsb): Implement.
289 Sat Dec 22 08:59:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
291 * predict.c: Reformatting and minor cleanups.
292 * cfg.c, cfganal.c, cfgbuild.c: Likewise.
294 * expr.c (expand_expr, case ADDR_EXPR): Handling taking address of
296 * function.c (gen_mem_addressof): Add missing tests for SAVE_EXPR.
297 (put_addressof_into_stack): Clarify code in setting of used_p.
299 * calls.c (flags_from_decl_or_type): Move ECF_SP_DEPRESSED here.
300 (expand_call): Delete from here.
301 Do pending stack adjustments if ECF_SP_DEPRESSED.
303 * dwarf2out.c (save_rtx): Deleted.
304 (mem_loc_descriptor): Do equivalent operation.
305 (add_const_value_attribute, case CONST): Likewise.
306 (add_name_and_src_coords_attributes): Likewise.
308 2001-12-21 Kazu Hirata <kazu@hxi.com>
310 * config/h8300/h8300.h: Fix comment formatting.
312 Fri Dec 21 17:30:15 2001 Jeffrey A Law (law@redhat.com)
314 * pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
315 (CPLUSPLUS_CPP_SPEC): Define _INCLUDE_LONGLONG.
317 2001-12-21 Robert Lipe <robertlipe@usa.net>
319 * system.h (PREFETCH): Explictly undefine.
321 2001-12-21 Richard Henderson <rth@redhat.com>
323 * c-parse.in (SAVE_WARN_FLAGS): Save warn_traditional.
324 (RESTORE_WARN_FLAGS): Restore it.
325 (extension): Zero warn_traditional.
327 2001-12-21 Kazu Hirata <kazu@hxi.com>
329 * doc/passes.texi: Fix a typo.
331 2001-12-21 Kazu Hirata <kazu@hxi.com>
333 * config/h8300/h8300.h: Fix a comment typo.
335 2001-12-21 Jakub Jelinek <jakub@redhat.com>
337 * combine.c (nonzero_bits): If using reg_nonzero_bits,
338 we don't know anything about bits outside of X mode.
339 (num_sign_bit_copies): Likewise.
341 2001-12-21 Nick Clifton <nickc@cambridge.redhat.com>
343 * config/arm/arm.md (prefetch): Use 'a' operand code.
345 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
347 * aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in
349 * configure.in: Likewise for perl Pod::Man.
351 * configure: Regenerated.
353 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
355 * builtin-attrs.def (__builtin_printf_unlocked,
356 __builtin_fprintf_unlocked, printf_unlocked, fprintf_unlocked):
357 Mark with the __printf__ attribute.
359 * builtins.c (expand_builtin_fputs): Add an `unlocked' parameter
360 and set the replacement function depending on it.
361 (expand_builtin): Skip BUILT_IN_*_UNLOCKED when not optimizing.
362 Handle BUILT_IN_*_UNLOCKED when optimizing.
364 * builtins.def (DEF_EXT_FALLBACK_BUILTIN,
365 DEF_EXT_FRONT_END_LIB_BUILTIN): New macros.
366 Declare the "unlocked" stdio functions.
368 * c-common.c (c_expand_builtin_printf, c_expand_builtin_fprintf):
369 Add an `unlocked' parameter and set the replacement function
371 (c_expand_builtin): Handle BUILT_IN_PRINTF_UNLOCKED and
372 BUILT_IN_FPRINTF_UNLOCKED.
374 * doc/extend.texi (printf_unlocked, fprintf_unlocked,
375 fputs_unlocked): Document.
377 2001-12-20 Josef Zlomek <zlomek@matfyz.cz>
379 * cfgloop.c (flow_loops_find): Use the information of the depth
380 first search order of the CFG correctly when finding natural loops.
382 2001-12-20 Richard Henderson <rth@redhat.com>
384 * config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.
386 2001-12-20 Richard Henderson <rth@redhat.com>
388 * config/alpha/alpha.c (call_operand) [OSF]: Accept pseudos.
389 * config/alpha/alpha.md (call_osf, call_value_osf): Don't force
392 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
394 * configure.in (all_headers, all_lib2funcs): Remove.
395 * configure: Regenerate.
396 * Makefile.in (LANG_EXTRA_HEADERS): Remove.
397 (USER_H): Don't include $(LANG_EXTRA_HEADERS).
398 * config/alpha/t-interix (USER_H): Don't include
399 $(LANG_EXTRA_HEADERS).
400 * config/i386/t-interix: Likewise.
401 * config/t-openbsd: Likewise.
403 2001-12-20 Andreas Jaeger <aj@suse.de>
405 * libgcc2.c (__bb_exit_func): Remove unused variable.
406 (num_digits): Remove unused function.
408 2001-12-20 Alan Shieh <ashieh@hkn.eecs.berkeley.edu>
410 * config/arm/arm.c (arm_output_epilogue): Changed IP restore
411 to use ldmfd instead of ldmea.
412 * config/arm/arm.c (arm_compute_initial_elimination_offset):
413 Modified to reflect behavior of arm_expand_prologue when generating
416 2001-12-20 Nick Clifton <nickc@cambridge.redhat.com>
418 * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): New
419 function. Compute which of registers r0 through r12 should be
420 saved onto the stack during a function's prologue.
421 (arm_compute_save_reg_mask): Use
422 arm_compute_save_reg0_reg12_mask.
423 (arm_compute_initial_elimination_offset): Use
424 arm_compute_save_reg0_reg12_mask.
426 (arm_expand_prologue): Do not mark as save of the IP register
427 for an interrupt handler as being part of the frame creation
430 2001-12-20 Richard Henderson <rth@redhat.com>
432 * varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer
433 to emit floating point values.
434 (assemble_real_1): Remove.
436 * 1750a/1750a.c (real_value_to_target_single): New.
437 (real_value_to_target_double): New.
438 * 1750a/1750a.h (TARGET_FLOAT_FORMAT): New.
439 (REAL_VALUE_TO_TARGET_SINGLE): New.
440 (REAL_VALUE_TO_TARGET_DOUBLE): New.
441 * 1750a/1750a-protos.h: Update.
443 * 1750a/1750a.h, a29k/a29k.h, alpha/alpha.h, alpha/unicosmk.h,
444 alpha/vms.h, arc/arc.h, arm/aof.h, arm/aout.h, avr/avr.c,
445 avr/avr.h, c4x/c4x.h, clipper/clix.h, convex/convex.h, cris/cris.h,
446 d30v/d30v.h, dsp16xx/dsp16xx.c, dsp16xx/dsp16xx.h, elxsi/elxsi.h,
447 fr30/fr30.h, h8300/h8300.h, i370/i370.h, i386/i386.h, i386/i386elf.h,
448 i386/next.h, i386/ptx4-i.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h,
449 i860/paragon.h, i860/sysv4.h, i960/i960-protos.h, i960/i960.c,
450 i960/i960.h, ia64/ia64.h, m32r/m32r.h, m68hc11/m68hc11.c,
451 m68hc11/m68hc11.h, m68k/3b1.h, m68k/altos3068.h, m68k/crds.h,
452 m68k/dpx2.h, m68k/hp320.h, m68k/m68k.h, m68k/mot3300.h, m68k/news.h,
453 m68k/next.h, m68k/next21.h, m68k/sgs.h, m68k/sun2o4.h, m68k/sun3.h,
454 m68k/tower-as.h, m88k/m88k.h, mcore/mcore.h, mips/mips-protos.h,
455 mips/mips.c, mips/mips.h, mmix/mmix-protos.h, mmix/mmix.c,
456 mmix/mmix.h, mn10200/mn10200.h, mn10300/mn10300.h, ns32k/encore.h,
457 ns32k/ns32k.h, pa/long_double.h, pa/pa.h, pdp11/pdp11.h, pj/pj.h,
458 romp/romp.c, romp/romp.h, rs6000/rs6000.h, s390/linux.h, sh/sh.h,
459 sparc/sparc.h, stormy16/stormy16.h, v850/v850.h, vax/vax.h,
460 vax/vaxv.h, we32k/we32k.h, doc/tm.texi: Remove ASM_OUTPUT_FLOAT,
461 ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE_FLOAT,
462 ASM_OUTPUT_SHORT_FLOAT, ASM_OUTPUT_THREE_QUARTER_FLOAT, and all
463 associated support routines.
465 Thu Dec 20 16:58:46 CET 2001 Jan Hubicka <jh@suse.cz>
467 * cfgcleanup.c (flow_find_cross_jump): Avoid incrementing of ninsns
468 if one of block does not contain jump.
469 (outgoing_edge_math): Revert last path; require edges to be noncomplex
470 nonfake to match single exit edge; require conditional jumps to not
473 2001-12-20 Turly O'Connor <turly@apple.com>
475 * tm.texi (ASM_OUTPUT_OPERAND): Change documentation references to
476 "recog_operand" to "recog_data.operand".
479 2001-12-20 Jakub Jelinek <jakub@redhat.com>
481 * simplify-rtx.c (simplifi_binary_operation) [DIV]: If DIV has
482 narrower mode than op0, only return the bits in DIV's mode.
484 2001-12-20 Jakub Jelinek <jakub@redhat.com>
486 * combine.c (distribute_notes): Avoid adding REG_LABEL notes
487 to JUMP_INSNs with JUMP_LABEL.
489 2001-12-19 Aldy Hernandez <aldyh@redhat.com>
491 * doc/install.texi: Add documentation for --enable-altivec.
493 * config.gcc: Add support for --enable-altivec.
495 * config/rs6000/altivec.h: New.
497 * config/rs6000/linuxaltivec.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
500 * config/rs6000/rs6000.c (vrsave_operation): Change unspec to
502 (generate_set_vrsave): Generate the unspec here instead of calling
504 (generate_set_vrsave): Use gen_rtvec.
505 (rs6000_emit_prologue): Replace call to gen_get_vrsave with
508 * config/rs6000/rs6000.md ("*movsi_internal1"): Add constraints
509 for setting special registers.
510 ("*set_vrsave_internal"): Use unspec_volatile.
511 ("set_vrsave"): Remove.
512 ("get_vrsave"): Remove.
514 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add vrsave to
517 2001-12-19 Bruce Korb <bkorb@gnu.org>
519 * gcc/fixinc/inclhack.def: Remove all the fix suppression "fixes".
520 (strict_ansi_not_ctd): accommodate __STDC__ == 0 tests in UW 2.1.2
521 * gcc/fixinc/mkfixinc.sh(i?86-*-sysv4.2uw2*): now uses fixincl program
522 * gcc/fixinc/base/...: adjust for changes in fixes
524 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
526 * po/gcc.pot: Regenerate.
528 * configure.in (all_diff_excludes, diff_excludes): Remove.
529 * configure: Regenerate.
530 * Makefile.in (LANG_DIFF_EXCLUDES): Remove.
531 * objc/config-lang.in (diff_excludes): Remove.
533 2001-12-19 Dan Nicolaescu <dann@ics.uci.edu>
535 * config/sparc/sparc.md (ldd peephole2s): For load peepholes pass
536 the destination register as a parameter to mems_ok_for_ldd_peep.
537 For store peepholes pass NULL_RTX. Move all volatile checks ...
538 * config/sparc/sparc.c (mems_ok_for_ldd_peep): ... here. Add a
539 register parameter, check it's not the same as base for an address.
540 * config/sparc/sparc-protos.h (mems_ok_for_ldd_peep): Update.
542 2001-12-19 Jakub Jelinek <jakub@redhat.com>
544 * config/ia64/ia64.c (ia64_single_set): Return first set for
545 prologue_allocate_stack and epilogue_deallocate_stack instructions.
547 2001-12-19 Dale Johannesen <dalej@apple.com>
549 * config/rs6000/rs6000.h: LEGITIMIZE_RELOAD_ADDRESS:
550 redefine in terms of rs6000_legitimize_reload_address().
551 * config/rs6000/rs6000-protos.h: Add this function.
552 * config/rs6000/rs6000.c: Add this function. Includes
553 handling for Darwin FP constants.
555 Wed Dec 19 11:01:21 2001 Jeffrey A Law (law@redhat.com)
557 * config/pa/t-hpux-shlib: New file.
558 * config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file
559 for 32bit hpux10 & hpux11 configurations.
561 2001-12-19 Nick Clifton <nickc@cambridge.redhat.com>
563 * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Pass
564 -mno-fpu onto gas unless -mhard-float is specified.
565 (MULTILIB_DEFAULTS): Include msoft-float.
567 * config/arm/t-xscale-coff (EXTRA_MULTILIB_PARTS): Remove definition.
569 * config/arm/coff.h (SUPPORTS_INIT_PRIORITY): Define (to false).
570 * config/arm/elf.h (SUPPORTS_INIT_PRIORITY): Define (to true).
572 Wed Dec 19 06:12:34 2001 Douglas B. Rupp <rupp@gnat.com>
574 * dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
577 2001-12-18 Stan Shebs <shebs@apple.com>
579 * rs6000.h (LOCAL_ALIGNMENT): Fix parens.
581 Tue Dec 18 17:02:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
583 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
586 2001-12-18 David Edelsohn <edelsohn@gnu.org>
588 * rs6000.c (rs6000_override_options): Only use DI ops when
589 TARGET_64BIT. Fix typo.
591 Tue Dec 18 16:39:46 CET 2001 Jan Hubicka <jh@suse.cz>
593 * att.h (ASM_FILE_START): Use asm_dialect.
594 * linux.h (ASM_FILE_START): Likewise.
595 * gas.h (ASM_FILE_START): Likewise.
596 * i386.c (ix86_debug_arg_string, ix86_debug_addr_string,
597 ix86_asm_string, ix86_asm_dialect): New.
598 (override_options): Set asm_dialect.
599 * i386.h (MASK_MIX_SSE_I387, MASK_INTEL_SYNTAX, MASK_DEBUG_ARG,
600 MASK_DEBUG_ADDR): Kill.
601 (MASK_64BIT, MASK_NO_RED_ZONE): renumber.
602 (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Use string.
603 (ASSEMBLER_DIALECT): Use asm_dialect.
604 (TARGET_SWITCHES): Undocument deprecated items; deprecate intel-syntax;
605 remove debug-addr and debug-arg.
606 (TARGET_OPTIONS): Add debug-arg, debug-addr, asm.
607 (asm_dialect): New enum.
608 (ix86_debug_arg_string, ix86_debug_addr_string,
609 ix86_asm_string, ix86_asm_dialect): Declare.
610 * invoke.texi (-mintel-syntax): Remove.
613 Tue Dec 18 16:37:42 CET 2001 Jan Hubicka <jh@suse.cz>
615 * libgcc2.c (__bb_exit_func): Kill -ax dumping code.
617 2001-12-18 Jason Merrill <jason@redhat.com>
619 C++ ABI change: destroy value arguments in caller.
620 * calls.c (initialize_argument_information): Pass the address of
621 the TARGET_EXPR temporary rather than storing it into another.
623 Tue Dec 18 07:09:06 2001 Douglas B. Rupp <rupp@gnat.com>
625 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
626 * config/alpha/vms.h (STACK_CHECK_BUILTIN): #define 0 for VMS.
628 2001-12-18 Jakub Jelinek <jakub@redhat.com>
630 * config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
631 * config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
632 * config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
633 (CC1_SPEC): Don't default to -gstabs+ if -m32.
635 2001-12-05 David O'Brien <obrien@FreeBSD.org>
637 * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
639 2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
641 * po/gcc.pot: Regenerate.
643 2001-12-18 Kazu Hirata <kazu@hxi.com>
645 * config/h8300/h8300.c: Fix comment typos.
646 * config/h8300/h8300.h: Fix comment formatting.
648 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
650 * machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
651 mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
652 declaration to NUM_MACHINE_MODES.
653 (mode_size, mode_unit_size): Set array type to unsigned char.
654 (mode_bitsize): Set array type to unsigned short.
656 * rtl.c (rtx_length): Set array type to unsigned char.
657 (rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
659 (mode_bitsize): Set array type to unsigned short.
660 (mode_size, mode_unit_size): Set array type to unsigned char.
661 (mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
662 mode_wider_mode, mode_mask_array): Set array size to
665 * rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
666 size in declaration to NUM_RTX_CODE.
668 2001-12-17 Richard Henderson <rth@redhat.com>
670 * config/alpha/alpha.md (unop): Encode RB as $sp.
672 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
674 * Makefile.in: Update dependencies.
675 * c-lang.c: Remove unnecessary includes.
676 (deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to
678 (finish_file): Move body to c_common_finish_file.
679 * c-objc-common.c: Include varray.h and ggc.h.
680 (deferred_fns, start_cdtor, finish_cdtor, defer_fn,
681 expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c.
682 (c_objc_common_init): Initialize deferred function array.
683 * c-tree.h (c_objc_common_finish_file,
684 static_ctors, static_dtors): New.
686 * Make-lang.in: Update dependencies.
687 * objc/objc-act.c: Don't include varray.h.
688 (defer_fn, deferred_fns): Move to c-objc-common.c.
689 (objc_init): Similarly for initialization of it.
690 (finish_file): Move some to c-objc-common.c, use
691 c_objc_common_finish_file.
693 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
695 * config/rs6000/rs6000.c: Remove is_gpr_return_reg prototype.
697 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
699 * doc/cppinternals.texi: Update.
701 Mon Dec 17 14:21:21 2001 Jeffrey A Law (law@redhat.com)
703 * expmed.c (emit_store_flag): Extract updated comparison code
704 from the return value of compare_from_rtx.
705 * expr.c (do_store_flag): Similarly.
707 2001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
709 * caller-save.c (init_caller_save): Use MODE_BASE_REG_CLASS in
710 preference to BASE_REG_CLASS.
711 * recog.c (preprocess_constraints): Ditto.
712 * regclass.c (record_operand_costs, scan_one_insn, regclass,
713 record_reg_classes, record_address_regs): Ditto.
714 * regrename.c (scan_rtx_address, scan_rtx,
715 replace_oldest_value_addr, replace_oldest_value_mem): Ditto.
716 * reload.c (find_reloads, find_reloads_address,
717 find_reloads_address_1): Ditto.
718 * reload1.c (maybe_fix_stack_asms): Ditto.
719 * defaults.h (MODE_BASE_REG_CLASS): Provide default
721 * doc/tm.texi: Document MODE_BASE_REG_CLASS.
723 * config/arm/arm.h (MODE_BASE_REG_CLASS): Define.
725 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
727 * doc/install.texi2html: Use -I $SOURCEDIR.
729 Separate user and internals manuals.
730 * Makefile.in (info, $(docdir)/gcc.info, dvi, gcc.dvi): Update
732 ($(docdir)/gccint.info, gccint.dvi): New targets.
733 (maintainer-clean, install-info, uninstall): Update.
734 * doc/.cvsignore: Add gccint.info*.
735 * doc/include/gcc-common.texi: New file.
736 * doc/gcc.texi: Use it. Adjust to be a user-only manual. Put
737 copyright notice in a macro. Don't include ISBN unless FSFPRINT
739 * doc/gccint.texi: New file.
740 * doc/configfiles.texi, doc/extend.texi, doc/invoke.texi,
741 doc/md.texi, doc/passes.texi, doc/tm.texi, doc/trouble.texi:
742 Update for separate user and internals manuals.
744 2001-12-17 Dale Johannesen <dalej@apple.com>
746 * config/rs6000/rs6000.h: CPP_CPU_SPEC: add mcpu=7400.
748 RTX_COSTS: Fix timing info for 7450 multiply.
749 * config/rs6000/rs6000.md: Fix timing info for 7450 imul.
750 Allow floats to be kept in int regs in movsf_low,
751 movsf_low_st (Darwin only)
753 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
755 * config/rs6000/rs6000.c (vrsave_operation): Recognize SETs in
757 (is_gpr_return_reg): New.
758 (rs6000_emit_prologue): Call generate_set_vrsave with additional
759 argument. Save only registers in the mask. Attach
760 REG_FRAME_RELATED_EXPR note to altivec offsets. Do not call
761 rs6000_frame_related when saving VRSAVE.
762 (rs6000_emit_epilogue): Call generate_set_vrsave with additional
763 argument. Restore only registers in the mask. Restore altivec
764 registers after we restore CR.
765 (generate_set_vrsave): New parameter epiloguep. Generate unspec
766 sets instead of clobbers for call saved registers.
767 (altivec_frame_fixup): New.
769 2001-12-17 Richard Henderson <rth@redhat.com>
771 * config/sparc/sparc.md (movdi_zero): Remove.
772 (movdi_insn_sp32_v9): New.
774 2001-12-17 Richard Henderson <rth@redhat.com>
776 * cfgcleanup.c (outgoing_edges_match): Check for insn match with
777 a single outgoing edge too.
779 Mon Dec 17 18:27:52 CET 2001 Jan Hubicka <jh@suse.cz>
781 * cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal
782 edges resulting from computed jump
784 Mon Dec 17 17:57:05 CET 2001 Jan Hubicka <jh@suse.cz>
786 * Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
787 * basic-block.h (CLEANUP_THREADING): New constant.
788 * cfgcleanup.c: Include cselib.h
789 (thread_jump, mark_effect): New functions.
790 (try_forward_edges): Do jump threading when asked for.
791 * jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
792 modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
793 * rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
794 * toplev.c (rest_of_compilation): Do now call thread_jumps; use
795 CLEANUP_THREAD instead.
797 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
799 * sparc/linux.h (STARTFILE_SPEC): Fix typo in last change.
801 2001-12-17 Tom Rix <trix@redhat.com>
803 * config/rs6000/rs6000.c (expand_block_move): Fix limits on max size
806 2001-12-17 Richard Sandiford <rsandifo@redhat.com>
808 * target.h (asm_out.byte_op, asm_out.aligned_op, asm_out.unaligned_op,
809 asm_out.integer): New fields.
810 * target-def.h (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_[HSDT]I_OP,
811 TARGET_ASM_UNALIGNED_[HSDT]I_OP, TARGET_ASM_INTEGER): New initialisers.
812 (TARGET_ASM_ALIGNED_INT_OP, TARGET_ASM_UNALIGNED_INT_OP): Collect
813 the individual initialisers together.
814 (TARGET_ASM_OUT): Add the new initialisers.
815 * output.h (assemble_integer): Return bool.
816 (integer_asm_op): Declare.
817 (default_assemble_integer): Declare.
818 (assemble_aligned_integer): New interface to assemble_integer.
819 * varasm.c (integer_asm_op): New function to select pseudo-op.
820 (default_assemble_integer): Default implementation of asm_out.integer.
821 (assemble_integer): Use the new target hook. Split objects into
822 words or bytes if the target hook fails. Return bool.
823 * doc/tm.texi (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_OUTPUT_SHORT,
824 ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_OUTPUT_QUADRUPLE_INT,
825 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
826 UNALIGNED_DOUBLE_INT_ASM_OP): Undocument.
827 Document new target hooks.
829 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Use integer_asm_op.
830 * dwarf2asm.c (unaligned_integer_asm_op): Remove.
831 (dw2_assemble_integer): New.
832 (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
833 dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx,
834 dw2_asm_output_encoded_addr_rtx): Use it.
835 (dw2_asm_output_nstring): Use assemble_integer for the null terminator.
836 (dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Use
837 integer_asm_op to get the byte pseudo-op. Use assemble_integer
839 * dwarf2asm.h (dw2_assemble_integer): Declare.
840 * dwarfout.c: Include dwarf2asm.h. Use dwarf2 functions for the
841 default implementation of most macros.
842 (output_unsigned_leb128): Use dw2_asm_output_data.
843 (output_signed_leb128, dwarfout_source_line): Likewise.
844 (output_reg_number): Use dw2_assemble_integer.
845 (generate_macinfo_entry): Separate the type and offset arguments.
846 Use assemble_integer to write the value.
847 (dwarfout_start_source_file): Update generate_macinfo_entry usage.
848 (dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Likewise.
849 * final.c (output_addr_const): Don't put brackets round a subtracted
851 * halfpic.c (half_pic_finish): Use assemble_aligned_integer.
853 * config/1750a/1750a.c (assemble_integer_1750a): New,
854 * config/alpha/alpha.h (literal_section): Avoid ASM_OUTPUT_INT.
855 * config/arc/arc.c (arc_assemble_integer): New.
856 * config/arc/arc.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
857 * config/arm/arm.c (arm_poke_function_name): Likewise.
858 (arm_assemble_integer): New, extracted from...
859 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): ...here, now removed.
860 (ARM_TRAMPOLINE_TEMPLATE, ARM_FUNCTION_PROFILER): Avoid ASM_OUTPUT_INT.
861 (ARM_FUNCTION_PROFILER): Likewise.
862 * config/avr/avr-protos.h (asm_output_byte): Remove.
863 (asm_output_char, asm_output_short): Remove.
864 * config/avr/avr.c (avr_assemble_integer): New.
865 (asm_output_byte, asm_output_char, asm_output_short): Remove.
866 * config/clipper/clipper.h (ASM_LONG): Remove.
867 * config/dsp16xx/dsp16xx-protos.h (asm_output_long): Remove.
868 * config/dsp16xx/dsp16xx.c (asm_output_long): Remove.
869 * config/elxsi/elxsi.c (elxsi_assemble_integer): New.
870 * config/i370/i370.c (i370_hlasm_assemble_integer): New.
871 * config/i370/i370.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
872 (ASM_BYTE, ASM_SHORT, ASM_LONG): Delete.
873 * config/i386/att.h, (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
874 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
875 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
876 * config/i386/sco5.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
877 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
878 * config/i386/sysv4.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
879 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
880 * config/i860/fx2800.h (ASM_FILE_END): Avoid ASM_LONG.
881 * config/i860/i860.c (i860_output_function_epilogue): Likewise.
882 * config/i860/i860.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
883 (ASM_SHORT, ASM_LONG): Undefine.
884 * config/i860/paragon.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
885 * config/i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
886 * config/i960/i960.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
887 * config/ia64/ia64.c (ia64_assemble_integer): New.
888 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use integer_asm_op.
889 (ASM_OUTPUT_DWARF_PCREL): Likewise.
890 * config/m68hc11/m68hc11.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
891 ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT): Avoid ASM_LONG.
892 (ASM_SHORT, ASM_LONG): Remove.
893 * config/m68k/m68k.h (INT_OP_GROUP): New macro.
894 (INT_OP_STANDARD, INT_OP_DOT_WORD, INT_OP_NO_DOT, INT_OP_DC): New
895 macros, the allowed values for INT_OP_GROUP.
896 * config/m68k/amix.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP
897 * config/m68k/atari.h (ASM_OUTPUT_ASCII): Likewise
898 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Likewise
899 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
900 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
901 * config/m68k/dpx2.h (ASM_LONG): Undefine.
902 (INT_OP_GROUP): Define to INT_OP_DC.
903 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
904 * config/m68k/hp320.h (INT_OP_GROUP): Define to INT_OP_NO_DOT.
905 * config/m68k/lynx.h (ASM_LONG): Undefine.
906 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
907 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
908 * config/m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
909 (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_*.
910 * config/m68k/mot3300.h (INT_OP_GROUP): Define to INT_OP_STANDARD
911 for GAS and INT_OP_NO_DOT otherwise.
912 (ASM_CHAR, ASM_BYTE, ASM_SHORT, ASM_LONG): Remove.
913 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
914 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid ASM_LONG.
915 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
916 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
917 (INT_OP_GROUP): Define to INT_OP_STANDARD.
918 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
919 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid LONG_ASM_OP.
920 (ASM_OUTPUT_ASCII): Avoid BYTE_ASM_OP.
921 * config/m68k/tower-as.h (ASM_LONG): Remove.
922 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
923 * config/m88k/m88k.c (output_tdesc): Avoid ASM_LONG.
924 * config/m88k/m88k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
925 (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid ASM_LONG.
926 * config/mips/iris5.h (TARGET_IRIX5): Define.
927 * config/mips/mips.c (mips_assemble_integer): New.
928 * config/mips/sni-svr4.h (ASM_LONG): Undefine.
929 * config/mmix/mmix-protos.h (mmix_asm_output_double_int): Remove.
930 * config/mmix/mmix.c (mmix_assemble_integer): New.
931 (mmix_asm_output_double_int): Remove.
932 (mmix_print_operand): Call mmix_output_octa directly.
933 * config/mmix/mmix.h (ASM_LONG): Remove.
934 * config/ns32k/ns32k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
935 * config/pa/pa.c (pa_assemble_integer): New.
936 (pa_override_options): Only use aligned DI ops on 64-bit targets.
937 Only use the unaligned ops if TARGET_GAS.
938 * config/pdp11/pdp11.c (pdp11_assemble_integer): New.
939 * config/pdp11/pdp11.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
940 * config/pj/pj.h (ASM_LONG): Undefine.
941 * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Undefine.
942 * config/rs6000/rs6000.c (rs6000_assemble_integer): New, mostly
943 extracted from ASM_OUTPUT_INT in sysv4.h. Use in_text_section()
944 and in_toc_section() rather than the in_section variable.
945 (rs6000_override_options): Only use DI ops when TARGET_POWERPC64.
946 * config/rs6000/sysv4.h (TOC_SECTION_FUNCTION): Add in_toc_section().
947 (RELOCATABLE_NEEDS_FIXUP): Define.
948 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Change space to tab.
949 * config/s390/linux.h (ASM_SHORT, ASM_LONG, ASM_QUAD): Remove.
950 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use integer_asm_op
951 to get the word directive.
952 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
953 * config/s390/s390.c (s390_assemble_integer): New.
954 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use
955 integer_asm_op to get the word directive.
956 * config/sparc/sol2.h (ASM_SHORT, ASM_LONG): Remove.
957 * config/sparc/sparc-protos.h (output_double_int): Remove.
958 * config/sparc/sparc.c (output_double_int): Move to...
959 (sparc_assemble_integer): ...this new function.
960 (sparc_override_options): Only use .uaxword if TARGET_ARCH64.
961 * config/sparc/sparc.h (ASM_SHORT, ASM_LONG, ASM_LONGLONG): Remove.
962 * config/sparc/sysv4.h (ASM_LONG): Remove.
963 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid
965 * config/vax/vax.h (TRAMPOLINE_TEMPLATE): Use assemble_aligned_integer.
966 * config/we32k/we32k.h (TRAMPOLINE_TEMPLATE): Likewise.
968 * config/1750a/1750a.c, config/a29k/a29k.c, config/alpha/alpha.c,
969 config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c,
970 config/clipper/clipper.c, config/convex/convex.c, config/cris/cris.c,
971 config/d30v/d30v.c, config/dsp16xx/dsp16xx.c, config/elxsi/elxsi.c,
972 config/fr30/fr30.c, config/h8300/h8300.c, config/i370/i370.c,
973 config/i386/i386.c, config/i860/i860.c, config/i960/i960.c,
974 config/ia64/ia64.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
975 config/m68k/m68k.c, config/m88k/m88k.c, config/mips/mips.c,
976 config/mmix/mmix.c, config/mn10200/mn10200.c, config/mn10300/mn10300.c,
977 config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
978 config/sh/sh.c, config/sparc/sparc.c, config/stormy16/stormy16.c,
979 config/v850/v850.c, config/vax/vax.c, config/we32k/we32k.c
980 (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_HI_OP,
981 TARGET_ASM_ALIGNED_SI_OP, TARGET_ASM_ALIGNED_DI_OP,
982 TARGET_ASM_UNALIGNED_HI_OP, TARGET_ASM_UNALIGNED_SI_OP,
983 TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_INTEGER): Redefine as
986 * config/defaults.h, config/darwin.h, config/elfos.h, config/svr3.h,
987 config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
988 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
989 config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h,
990 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
991 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
992 config/i386/bsd.h, config/i386/djgpp.h, config/i386/i386.h,
993 config/i386/sco5.h, config/i386/sol2.h, config/i386/sun386.h,
994 config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h,
995 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/auxas.h,
996 config/m68k/dpx2.h, config/m68k/hp320.h, config/m68k/m68k.h,
997 config/m68k/mot3300.h, config/m68k/sgs.h, config/m68k/tower-as.h,
998 config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore.h,
999 config/mips/iris5.h, config/mips/iris6.h, config/mips/mips.h,
1000 config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h
1001 config/ns32k/encore.h, config/ns32k/ns32k.h, config/pa/pa-64.h,
1002 config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h,
1003 config/romp/romp.h, config/rs6000/linux64.h, config/rs6000/rs6000.h,
1004 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/linux.h,
1005 config/sh/sh.h, config/sparc/linux64.h, config/sparc/sol2.h,
1006 config/sparc/sp64-elf.h, config/sparc/sparc.h, config/sparc/sysv4.h,
1007 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
1008 config/we32k/we32k.h (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_BYTE_OP,
1009 ASM_BYTE, ASM_OUTPUT_SHORT, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT,
1010 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1011 UNALIGNED_DOUBLE_INT_ASM_OP): Undefine, where defined.
1013 2001-12-17 Stan Shebs <shebs@apple.com>
1015 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
1016 (STACK_BOUNDARY): Remove definition.
1017 (CPP_PREDEFINES): Define __POWERPC__.
1019 2001-12-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1021 * doc/c-tree.texi (Trees): Only refer to GCC.
1023 2001-12-17 Andreas Jaeger <aj@suse.de>
1025 * c-common.def: Fix typo in comment.
1027 2001-12-16 David O'Brien <obrien@FreeBSD.org>
1029 * config.gcc (sparc64-*-freebsd*): Add target.
1030 * config/sparc/freebsd.h: New file.
1031 * config/sparc/sparc.h (LIB_SPEC, LINK_SPEC): Don't define.
1032 * config/sparc/sunos4.h (LIB_SPEC, LINK_SPEC): Define.
1033 * config/sparc/sysv4.h (CPP_PREDEFINES): Undefine before defining.
1035 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1037 * config/rs6000/rs6000.c (rs6000_legitimize_address): Force both
1038 PLUS operands into registers for altivec mode.
1040 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1042 * builtins.c (apply_args_size): Change regno to unsigned.
1044 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1046 * config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): Change
1047 ALTIVEC_ARG_MAX_REG to ALTIVEC_ARG_NUM_REG.
1049 2001-12-16 Zack Weinberg <zack@codesourcery.com>
1051 * c-typeck.c (error_init, pedwarn_init, warning_init): Call
1052 gettext on argument before printing.
1054 * fold-const.c (negate_expr): Always call fold on new
1057 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
1059 * c-common.def (COMPOUND_LITERAL_EXPR): Contain a DECL_STMT, not
1061 * c-common.h (COMPOUND_LITERAL_EXPR_DECL_STMT): New.
1062 (COMPOUND_LITERAL_EXPR_DECL): Adjust definition.
1063 * c-decl.c (build_compound_literal): Put the decl inside a
1065 * doc/c-tree.texi (COMPOUND_LITERAL_EXPR): Update documentation.
1068 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
1070 * config.gcc: Add powerpc-*-eabisimaltivec*.
1072 2001-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1074 * c-common.c, c-common.h (back_end_hook): Remove.
1075 * c-lang.c (finish_file): Remove back_end_hook.
1077 Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1079 * expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
1082 2001-12-16 Richard Henderson <rth@redhat.com>
1084 * toplev.c (parse_options_and_default_flags): Don't enable
1085 flag_cprop_registers at -O1.
1087 2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1089 * avr.c (avr_simplify_comparision_p, adjust_insn_length,
1090 mask_one_bit_p, output_reload_insisf): Don't use the 'U' suffix.
1091 * avr.h (reg_class): Likewise.
1093 * mcore.c (try_constant_tricks, mcore_byte_offset,
1094 mcore_halfword_offset): Likewise.
1095 * sh.c (shl_sext_kind, gen_block_redirect, split_branches): Likewise.
1096 * v850.c (not_power_of_two_operand): Likewise.
1098 * clipper/clix.h (ASM_OUTPUT_ASCII): Avoid signed/unsigned
1100 * convex.h (ASM_OUTPUT_ASCII): Likewise.
1101 * i370.h (ASM_OUTPUT_ASCII): Likewise.
1102 * i386/att.h (ASM_OUTPUT_ASCII): Likewise.
1103 * i386/i386-interix.h (ASM_OUTPUT_ASCII): Likewise.
1104 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1105 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1106 * i386/sco5.h (ASM_OUTPUT_ASCII): Likewise.
1107 * i386/sun386.h (ASM_OUTPUT_ASCII): Likewise.
1108 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1109 * i860/bsd.h (ASM_OUTPUT_ASCII): Likewise.
1110 * m68k/3b1.h (ASM_OUTPUT_ASCII): Likewise.
1111 * m68k/amix.h (ASM_OUTPUT_ASCII): Likewise.
1112 * m68k/atari.h (ASM_OUTPUT_ASCII): Likewise.
1113 * m68k/crds.h (ASM_OUTPUT_ASCII): Likewise.
1114 * m68k/hp320.h (ASM_OUTPUT_ASCII): Likewise.
1115 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
1116 * m68k/mot3300.h (ASM_OUTPUT_ASCII): Likewise.
1117 * m68k/sgs.h (ASM_OUTPUT_ASCII): Likewise.
1118 * m68k/tower-as.h (ASM_OUTPUT_ASCII): Likewise.
1119 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Likewise.
1120 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
1121 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
1122 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
1123 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
1124 * vax/vaxv.h (ASM_OUTPUT_ASCII): Likewise.
1125 * we32k/we32k.h (ASM_OUTPUT_ASCII): Likewise.
1127 * i386/uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
1128 * interix.h (TARGET_MEM_FUNCTIONS): Likewise.
1129 * psos.h (CPP_PREDEFINES): Likewise.
1130 * rs6000/linux64.h (ROUND_TYPE_ALIGN): Likewise.
1131 * rs6000/xcoff.h (RS6000_MCOUNT, RS6000_ITRUNC, RS6000_UITRUNC,
1132 ASM_OUTPUT_EXTERNAL): Likewise.
1133 * sparc/liteelf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1135 * sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): Likewise.
1136 * sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1138 * sparc/sunos4.h (SUNOS4_SHARED_LIBRARIES): Likewise.
1140 * c-lex.c (lex_number): Use ISXDIGIT/hex_value.
1141 * vax/xm-vms.h (FILE_NAME_NONDIRECTORY): Use ISUPPER/TOLOWER.
1142 * fold-const.c (real_hex_to_f): Use hex_value.
1143 * real.c (asctoeg): Use hex_value & ISXDIGIT.
1144 * toplev.c (toplev_main): Call hex_init.
1145 * tradcpp.c (main): Call hex_init.
1147 * nextstep-protos.h: New file.
1148 * nextstep.c: Include "rtl.h", "output.h" & "tm_p.h".
1149 * nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and
1150 STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause.
1151 (nextstep_asm_out_constructor, nextstep_asm_out_destructor,
1152 handle_pragma): Move prototypes to nextstep-protos.h.
1153 * config.gcc (i[34567]86-next-*, m68k-next-nextstep2*,
1154 m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file.
1156 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
1159 * configure.in: Add AC_SUBST(target_alias).
1160 * configure: Regenerated.
1162 2001-12-15 Richard Henderson <rth@redhat.com>
1164 * config/alpha/alpha.md (sibcall_osf_1_er): New.
1165 (sibcall_value_osf_1_er): New.
1167 2001-12-15 Dan Nicolaescu <dann@ics.uci.edu>
1169 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Rename from
1170 addrs_ok_for_ldd_peep_withmem; take MEMs as parameters, not
1171 addrs; eliminate restriction of only using fp and sp as base
1173 * config/sparc/sparc-protos.h: Update.
1174 * config/sparc/sparc.md (movdi): Use TARGET_V9 not TARGET_ARCH64.
1175 (*cmp_cc_set, *cmp_ccx_set64, *movdi_zero): New insns derived
1176 from old define_peepholes.
1177 Convert all the ldd/std peepholes to peephole2.
1179 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1181 * s390.md (prologue, epilogue, *return_si, *return_di): New.
1182 s390.c (find_unused_clobbered_reg, s390_frame_info,
1183 save_fpr, restore_fpr, s390_emit_prologue, s390_emit_epilogue): New.
1184 s390-protos.h (s390_emit_prologue, s390_emit_epilogue): Declare.
1185 s390.c (s390_arg_frame_offset): Use s390_frame_info.
1186 (leaf_function_flag, cur_is_leaf_function,
1187 save_fprs, restore_fprs, force_const_mem_late): Remove.
1188 (s390_function_prologue, s390_function_epilogue): Mostly remove.
1189 s390.md (lit): New. Uses ...
1190 s390.c (s390_output_constant_pool): ... this, so adapt and make global.
1191 s390-protos.h (s390_output_constant_pool): Declare.
1192 s390.md (load_multiple, store_multiple): Allow use after reload.
1193 s390.c (load_multiple_operation, store_multiple_operation): Likewise.
1194 s390.h (INCOMING_FRAME_SP_OFFSET): Define.
1195 s390.h (CALL_REALLY_USED_REGISTERS): Define.
1196 config/s390/linux64.h (CALL_USED_REGISTERS): Remove, now handled ...
1197 s390.h (CONDITIONAL_REGISTER_USAGE): ... here.
1198 s390.c (s390_sr_alias_set): New global variable, initialized ...
1199 (override_options): ... here. New.
1200 s390-protos.h (override_options): Declare.
1201 s390.h (OVERRIDE_OPTIONS): Call it.
1202 s390.c (s390_function_profiler): New.
1203 s390-protos.h (s390_function_profiler): Declare.
1204 s390.h (FUNCTION_PROFILER): Call it.
1205 s390.c (s390_profile): Remove.
1207 * s390.c (reg_used_in_mem_p): PC reload counts as memory access.
1208 (addr_generation_dependency_p): Consider literal pool register loads.
1209 (s390_adjust_priority): Do not schedule load_multiple.
1210 s390.md (attribute "type"): Define some additional types.
1211 (function_unit "integer"): Adapt.
1212 (many insns): Adapt "type" attribute setting.
1214 * s390.c (general_s_operand, s_imm_operand): New.
1215 (s_operand): Remove old definition, call general_s_operand instead.
1216 s390-protos.h (s_imm_operand): Declare.
1217 s390.c (base_n_index_p, r_or_s_operand, r_or_s_or_im8_operand,
1218 r_or_x_or_im16_operand, r_or_im8_operand): Remove.
1219 s390-protos.h (r_or_s_operand, r_or_s_or_im8_operand,
1220 r_or_x_or_im16_operand, r_or_im8_operand): Likewise.
1221 s390.h (PREDICATE_CODES): Add s_imm_operand, remove r_or_s*_operand.
1222 s390.md (many insns): Rework insn predicates.
1224 * s390.c (legitimate_pic_operand_p, legitimate_constant_p): Accept all
1225 non-symbolic constants. Reload will force them because of ...
1226 (s390_preferred_reload_class): ... this. New.
1227 s390-protos.h (s390_preferred_reload_class): Declare.
1228 s390.h (PREFERRED_RELOAD_CLASS): Call it.
1229 s390.md (movdi, movsi, movdf, movsf, *reload_la_64 splitters,
1230 *reload_la_31 splitters): Handle constants after reload.
1231 (many insns): no longer force all constants immediately.
1232 s390.c (legitimate_reload_constant_p): New helper routine.
1233 s390-protos.h (legitimate_reload_constant_p): Declare.
1234 s390.c (print_operand): Clean up CONST_INT case, add CONST_DOUBLE case.
1236 * s390.h (FIRST_PSEUDO_REGISTER, FRAME_POINTER_REGNUM,
1237 HARD_FRAME_POINTER_REGNUM, REGISTER_NAMES): Add virtual frame pointer.
1238 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Update.
1239 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Likewise.
1240 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1241 (DWARF_FRAME_REGISTERS): Define.
1242 s390.c (regclass_map): Add virtual frame pointer.
1243 (legitimate_la_operand_p): Allow use of virtual frame pointer.
1244 s390.md (*la_ccclobber, *addaddr_ccclobber): New.
1245 (addaddr, addsi_64): Delete.
1247 * s390.h (HARD_REGNO_MODE_OK): Allow SImode and DImode values in
1248 floating point registers.
1249 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Define.
1250 (ADDR_FP_REGS, GENERAL_FP_REGS): New register classes.
1251 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
1253 * s390.md (movti): Replace multi-insn output with splitters.
1254 (movdi_31, movdf_31): Likewise.
1255 (movti_ss, movdi_ss, movsi_ss, movdf_ss, movsf_ss): New.
1256 (movdi_lhi, movdi_lli, movdi_larl, movsi_lhi, movsi_lli): New.
1257 (movdi_64, movdi_31, movsi, movdf_64, movdf_31): Adapt.
1258 (movdf_soft_64, movdf_soft_31, movsf_soft): Remove.
1259 (movsf_64, movsf_31): Remove, replace by ...
1261 (movqi_64): Use lhi instead of llill.
1262 (*movstrictqi, *movstricthi): Don't use (strict_low_part (mem)).
1264 * s390.md (extendsidi2, *extendsidi2, extendhidi2, *extendhidi2,
1265 extendqidi2, extendhisi2, *extendhisi2, extendqisi2,
1266 extendqihi2 and associated splitters): Reworked.
1267 (zero_extendsidi2, zero_extendsidi2, *zero_extendsidi2,
1268 zero_extendhidi2, *zero_extendhidi2, zero_extendqidi2,
1269 zero_extendqidi2, *zero_extendqidi2, zero_extendhisi2,
1270 *zero_extendhisi2_64, zero_extendhisi2_31, zero_extendqisi2,
1271 *zero_extendqisi2_64, *zero_extendqisi2_mem_31,
1272 zero_extendqisi2_reg_31, zero_extendqihi2, *zero_extendqisi2_64,
1273 zero_extendqihi2, zero_extendqihi2_64, zero_extendqihi2_31,
1274 and associated splitters): Likewise.
1275 (*sethighqisi, *sethighhisi, *sethighqidi_64, *sethighqidi_31
1276 and associated splitters): New.
1277 (truncdisi2, truncdihi2, truncdiqi2, truncsihi2, do_truncsihi2,
1278 *truncsihi2_64, truncsiqi2, trunchiqi2): Remove.
1279 (ashlhi3, ashrhi3, lshrhi3, abshi3): Remove.
1280 s390.h (PROMOTE_PROTOTYPES): Remove.
1281 config/s390/linux64.h (PROMOTE_PROTOTYPES): Likewise.
1283 * s390.md (muldi3): Delete, use instead ...
1284 (mulsidi3): ... this.
1285 (*muldi3_64): Rename to muldi3.
1286 (mulsi_6432): Fix template.
1287 (divdi3, moddi3): Delete, replace by ...
1288 (divmoddi4): ... this.
1289 (divmodtidi3): Fix template.
1291 (udivdi3, umoddi3): Delete, replace by ...
1292 (udivmoddi4): ... this.
1293 (udivmodtidi3): Fix template.
1294 (divsi3, modsi3): Delete, replace by ...
1295 (divmodsi4): ... this.
1296 (divmoddisi3): Fix template.
1297 (udivsi3, umodsi3): Adapt.
1299 * s390.md (anddi3): Remove SS alternative, use instead ...
1300 (anddi3_ss, anddi3_ss_inv): ... these.
1302 (andsi3*, andhi3*, andqi3*): Likewise.
1303 (iordi3): Remove SS alternative, use instead ...
1304 (iordi3_ss, iordi3_ss_inv): ... these.
1306 (iorsi3*, iorhi3*, iorqi3*): Likewise.
1307 (iordi3_cc, iordi3_cconly, iorsi3_cc, iorsi3_cconly): New.
1308 (xordi3): Remove SS alternative, use instead ...
1309 (xordi3_ss, xordi3_ss_inv): ... these.
1311 (xorsi3*, xorhi3*, xorqi3*): Likewise.
1312 (xordi3_cc, xordi3_cconly, xorsi3_cc, xorsi3_cconly): New.
1313 (one_cmpldi2, one_cmplsi2, one_cmplhi2, one_cmplqi2):
1314 Expand to XOR with -1.
1315 (*one_cmpldi2, *one_cmplsi2, *one_cmplhi2): Remove.
1316 (cmpdi_tm): Delete, replace by ...
1317 (cmpdi_tm_reg, cmpdi_tm_mem): ... these.
1318 (cmpsi_cct): Delete, replace by ...
1319 (cmpsi_tm_reg, cmpsi_tm_mem): ... these.
1320 (cmpdi_tm2, cmpsi_tm2): Improve.
1321 (cmphi_tm_sub, cmpqi_tm_sub, cmpqi_tm2, cmpqi_tm): New.
1322 s390.c (s390_single_hi, s390_extract_hi,
1323 s390_single_qi, s390_extract_qi): New helper routines.
1324 s390-protos.h (s390_single_hi, s390_extract_hi,
1325 s390_single_qi, s390_extract_qi): Declare.
1326 s390.c (tmxx_operand, const1_operand): Remove.
1327 s390-protos.h (tmxx_operand, const1_operand): Likewise.
1328 s390.h (PREDICATE_CODES): Likewise.
1330 * s390.md (sqrtdf2, sqrtsf2): New.
1332 * s390.h (CRT_CALL_STATIC_FUNCTION): Define.
1333 (check_and_change_labels): Remove section-change special case.
1335 * s390.h (RETURN_ADDR_RTX): Fix use of __builtin_return_address
1336 in leaf functions. Needs ...
1337 (DYNAMIC_CHAIN_RTX): ... this. New.
1339 * s390.c (emit_pic_move): Don't generate pseudos if no_new_pseudos.
1341 * s390.md (movstrdix_64, movstrsix_31, movstrdi_64, movstrsi_31,
1342 clrstrsi_64, clrstrsi_31, cmpstr_64, cmpstr_31): Do not clobber
1343 input operands using a match_dup clause.
1344 (movstrdi, movstrsi, clrstrdi, clrstrsi, cmpstrdi, cmpstrsi): Adapt.
1346 * s390.md (floatdidf2, floatdisf2, floatsidf2, floatsidf2_ieee,
1347 floatsisf2, floatsisf2_ieee): Add missing CC clobber.
1349 * s390.md (floatsidf2_ibm): Use correct operand.
1351 * s390.md (fixuns_truncdfdi2, fixuns_truncdfsi2, fix_truncdfsi2,
1352 fixuns_truncsfdi2, fixuns_truncsfsi2, floatsidf2): Remove use of
1353 non-portable constants.
1354 s390.c (s390_gen_rtx_const_DI): New helper routine.
1355 s390-protos.h (s390_gen_rtx_const_DI): Declare.
1357 * s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Fix alignment.
1359 * config/s390/linux.h (ASM_OUTPUT_SHORT, ASM_OUTPUT_CHAR,
1360 ASM_OUTPUT_BYTE): Clean up assembly output.
1361 (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGN): Remove duplicate definitions.
1362 (ASM_OUTPUT_ASCII): Remove.
1364 * config/s390/t-linux (CRTSTUFF_T_CFLAGS_S): Define.
1366 2001-12-15 Zack Weinberg <zack@codesourcery.com>
1368 * unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself
1369 before including unwind-dw2-fde.c, if we are not using the
1370 special code in this file.
1372 2001-12-15 Richard Henderson <rth@redhat.com>
1374 * config/alpha/alpha.h (TARGET_SWITCHES): Turn on
1375 MASK_EXPLICIT_RELOCS if the assembler supports it.
1376 * configure.in (HAVE_AS_EXPLICIT_RELOCS): New.
1377 * configure, config.in: Rebuild.
1379 Sat Dec 15 17:53:03 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1381 * calls.c (emit_call_1): If ECF_SP_DEPRESSED, pretend have adjusted
1382 for rounded_stack_size.
1384 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1386 * c-typeck.c, config/i386/i386.h, config/mcore/mcore.h,
1387 config/ns32k/ns32k.h, config/rs6000/sysv4.h, fold-const.c,
1388 toplev.c, cppinit.c, cppmacro.c, gcc.c: Use "built-in" and
1389 "bit-field" spellings in messages.
1390 * po/gcc.pot: Regenerate.
1392 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1394 * gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
1395 American spelling in messages.
1396 * po/gcc.pot: Regenerate.
1398 2001-12-15 Kazu Hirata <kazu@hxi.com>
1400 * config/h8300/h8300.md: Adjust whitespacing. Remove
1401 constraints from expanders. Replace \@ with @.
1403 2001-12-15 Richard Earnshaw <rearnsha@arm.com>
1405 * arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
1407 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1409 * regrename.c (copyprop_hardreg_forward): Do not keep register
1410 value data live across abnormal call or eh egdes.
1412 Sat Dec 15 08:29:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1414 * expr.c (highest_pow2_factor, case INTEGER_CST): Return
1415 BIGGEST_ALIGNMENT for 0.
1417 Sat Dec 15 14:13:03 CET 2001 Jan Hubicka <jh@suse.cz>
1419 * predict.def (PRED_NORETURN): Make probabilities match reality.
1420 (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL, PRED_ERROR_RETURN):
1423 2001-12-15 Jakub Jelinek <jakub@redhat.com>
1425 * configure.in: Check for ld.
1426 (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
1427 * configure, config.in: Rebuilt.
1428 * config.gcc: Add crtbeginT.o to extra_parts where needed.
1429 * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
1430 frame unwinding on Linux.
1431 * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
1433 * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1434 (LINK_EH_SPEC): Define.
1435 * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1436 * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
1437 * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
1438 iterate further if pc falls into current library, but fde was not
1440 * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
1442 (LINK_EH_SPEC): Define.
1443 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
1444 Use crtbeginT.o for -static.
1445 (LINK_EH_SPEC): Define.
1446 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
1447 * Makefile.in (crtbeginT.o): Add rule.
1448 * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
1449 If neither -static-libgcc nor -shared-libgcc is passed and -shared,
1450 use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
1451 If none of the above switches are passed, use -lgcc -lgcc_eh.
1452 (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
1453 * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
1454 creating libgcc_s.so, put them into separate libgcc_eh.a instead.
1455 * unwind-dw2-fde.c: Don't include any headers if this file
1456 is included from other .c file.
1457 * unwind-dw2-fde-glibc.c: New file.
1458 * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
1459 Use it instead of EH_FRAME_SECTION_NAME where appropriate.
1461 2001-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1463 * builtins.c (expand_builtin_memcmp): Mark parameter with
1465 * cfgcleanup.c (insns_match_p): Likewise.
1466 * regrename.c (mode_change_ok): Likewise.
1467 * gcc.c (execute): Const-ify.
1469 2001-12-14 Aldy Hernandez <aldyh@redhat.com>
1471 * c-parse.in (typename): Do not split attributes.
1472 Remove unsupported attributes warning.
1474 * c-decl.c (groktypename): Apply attributes.
1476 2001-12-14 Richard Henderson <rth@redhat.com>
1478 * config/ia64/ia64.c (spill_restore_mem): Mark iterator
1479 initialization as possibly dead.
1481 2001-12-14 Richard Henderson <rth@redhat.com>
1483 * regrename.c (mode_change_ok): New.
1484 (find_oldest_value_reg): Use it.
1486 2001-12-14 Richard Henderson <rth@redhat.com>
1488 * regrename.c (struct value_data): Add max_value_regs.
1489 (init_value_data): Initialize it.
1490 (kill_value): Kill values that overlap the dying register.
1491 (set_value_regno): New.
1492 (kill_set_value, kill_autoinc_value, copy_value): Use it.
1493 (copyprop_hardreg_forward_1): Kill earlyclobber operands
1494 before looking at inputs.
1496 2001-12-14 David Edelsohn <edelsohn@gnu.org>
1498 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle
1499 DECL_WEAK for function descriptors.
1500 * config/rs6000/xcoff.h (HANDLE_PRAGMA_WEAK): Define if assembler
1501 weak support present.
1502 (ASM_WEAKEN_LABEL): Same.
1504 2001-12-14 Kazu Hirata <kazu@hxi.com>
1506 * config/h8300/h8300.md (anonymous pattern): Add a missing
1509 2001-12-14 Kazu Hirata <kazu@hxi.com>
1511 * config/h8300/h8300.c (h8300_adjust_insn_length): Fix a
1514 2001-12-14 Kazu Hirata <kazu@hxi.com>
1516 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
1517 Remove the initialization requierment.
1518 (h8300_handle_tiny_data_attribute): Likewise.
1520 2001-12-14 Kazu Hirata <kazu@hxi.com>
1522 * config/h8300/h8300.md (udivqi3): Remove.
1524 (udivhi3): Likewise.
1526 (umodqi3): Likewise.
1528 (umodhi3): Likewise.
1531 (divmodqi3): Likewise.
1532 (udivmodhi3): Likewise.
1533 (divmodhi3): Likewise.
1535 Sat Dec 15 01:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
1537 * cfgcleanup.c (flow_find_cross_jump): Replace tests for note
1538 by active_insn_p; count conditional jump as instruction.
1540 2001-12-14 DJ Delorie <dj@redhat.com>
1541 Danny Smith <dannysmith@users.sourceforge.net>
1543 * config/i386/cygwin.h (I386_PE_STRIP_ENCODING): Handle '*'
1544 at SYM_NAME[0] or SYM_NAME[3].
1545 (STRIP_NAME_ENCODING): Don't check for leading '*'.
1547 2001-12-14 Ira Ruben <ira@apple.com>
1549 Add -### option (displays driver-generated commands without
1550 executing and quotes all arguments).
1551 * doc/invoke.texi: Add -###.
1552 * gcc.c (verbose_only_flag) - New flag.
1553 * (execute): If -### write quoted arguments and return.
1554 * (display_help): Print meaning of -###.
1555 * (process_command): Handle -###.
1557 2001-12-14 Ira Ruben <ira@apple.com>
1559 Fix to no allow -save-temps to clobber user's source file.
1560 * gcc.c: Add static globals input_stat and input_stat_set.
1561 (do_spec_1): For 'g', 'u', 'U' case with save_temps_flag
1562 set, check that user's input file is not overwritten.
1563 (set_input): Reset input_stat_set for each new file.
1565 Fri Dec 14 22:14:44 CET 2001 Jan Hubicka <jh@suse.cz>
1567 * predict.c (estimate_probability): Fix LOOP_EXIT heuristic.
1569 2001-12-14 Zack Weinberg <zack@codesourcery.com>
1571 * combine.c (record_dead_and_set_regs): Use
1572 regs_invalidated_by_call. Don't note stores for CALL_INSNs.
1574 2001-12-14 Roger Sayle <roger@eyesopen.com>
1576 * builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
1577 __builtin_fsqrt to __builtin_sqrt.
1579 * builtins.c (expand_builtin_mathfn,expand_builtin): Same.
1580 * doc/extend.texi: Simplify documentation to match patch.
1582 Fri Dec 14 21:23:54 CET 2001 Jan Hubicka <jh@suse.cz>
1584 * config.gcc: Revamp target_cpu_default2 to strings;
1585 support new x86 variants.
1586 * i386.c (override_options): Default x86_cpu_string and x86_arch_string
1587 properly; set prefetch_sse.
1588 * i386.h (x86_prefetch_sse): Declare.
1589 (TARGET_PREFETCH_SSE): New.
1590 (CPP_CPU_DEFAULT_SPEC): Define according to the new macros.
1591 (TARGET_CPU_DEFAULT_*): New.
1593 Thu Dec 13 21:57:13 CET 2001 Janis Johnson <janis187@us.ibm.com>
1594 Jan Hubicka <jh@suse.cz>
1596 * config/i386/i386.h (struct processor_costs): Add new members
1597 prefetch_block and simultaneous_prefetches.
1598 (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
1599 * config/i386/i386.c (processor_costs structs): Add values for
1600 prefetch_block and simultaneous_prefetches.
1601 * config/i386/i386.md (unspec values): Remove values for prefetch
1602 operations, which now use the PREFETCH rtx code.
1603 (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
1604 unified prefetch support.
1606 2001-12-14 Jason Merrill <jason@redhat.com>
1608 * diagnostic.c (sorry): Increment sorrycount before saving the
1611 Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz>
1613 * i386.md (sqrt?f): Fix conditionals.
1615 Fri Dec 14 07:29:52 2001 Douglas B. Rupp <rupp@gnat.com>
1617 * config.gcc (alpha64-dec-*vms*): New case.
1618 * config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files.
1619 * config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise.
1620 * config/alpha/xm-vms64.h: Likewise.
1622 * config/alpha/alpha.c (vms_attribute_table): Add new attributes.
1623 (alpha_write_linkage): Test for null alpha_links.
1624 (SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
1625 (vms_section_type_flags, vms_asm_named_section): Handle them.
1627 Fri Dec 14 12:05:14 CET 2001 Jan Hubicka <jh@suse.cz>
1629 * i386.c (ix86_fpmath, ix86_fpmath_string): New.
1630 (override_option): Set ix86_fpmath.
1631 * i386.h (MASK_MIX_SSE_I387): Remove.
1632 (TARGET_SSE_MATH): New.
1633 (TARGET_MIX_SSE_I387): Use ix86_fpmath.
1634 (TARGET_SWITCHES): Remove "mix-sse-i387".
1635 (fpmath_unit): New enum.
1636 (ix86_fpmath, ix86_fpmath_string): Declare.
1637 * i386.md (swapsf): Fix condition.
1638 (add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
1639 (fp_?f_*_nosse): New.
1640 (fp_*): Use TARGET_SSE_MATH.
1641 * invoke.texi (-mfpmath): Document.
1644 2001-12-14 Jason Merrill <jason@redhat.com>
1646 * dwarf2out.c (output_die): Print the string in the comment for
1649 2001-12-14 Richard Earnshaw <rearnsha@arm.com>
1651 * netbsd.h (COLLECT_SHARED_INIT_FUNC)
1652 (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
1653 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1654 (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
1656 2001-12-13 Richard Henderson <rth@redhat.com>
1658 * regrename.c (kill_value_regno): Simplify chain removal.
1659 (kill_value): Kill all of HARD_REGNO_NREGS.
1660 (kill_set_value): Use kill_value not kill_value_regno.
1661 (kill_autoinc_value): Likewise.
1662 (copyprop_hardreg_forward): Don't collect refresh_blocks.
1663 Call delete_noop_moves.
1665 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1667 * attribs.c (c_common_attribute_table): Swap decl_req and type_req
1668 for the mode attribute.
1669 (handle_mode_attribute): Handle types, not decls.
1671 2001-12-13 Jason Merrill <jason@redhat.com>
1673 * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
1675 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1677 * config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
1678 constraint to base register.
1679 (eh_set_lr_si): Same.
1681 2001-12-13 Hans-Peter Nilsson <hp@axis.com>
1683 * expr.c (expand_expr, case ADDR_EXPR): Don't honor
1684 flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
1685 modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
1687 Thu Dec 13 20:30:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1689 * expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
1690 warning and reformat comments.
1691 (expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
1692 (highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
1695 2001-12-12 Aldy Hernandez <aldyh@redhat.com>
1697 * config/rs6000/rs6000.c (rs6000_override_options): Add
1698 SUBSUBTARGET_OVERRIDE_OPTIONS.
1700 * config/rs6000/eabialtivec.h: New file.
1702 * config/rs6000/linuxaltivec.h: New file.
1704 * config.gcc: Add powerpc-*-eabialtivec and
1705 powerpc-*-linux-gnualtivec.
1707 2001-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1709 * toplev.c (process_options, parse_options_and_default_flags):
1710 Set flag_no_inline before the post_options hook.
1712 2001-12-13 Richard Henderson <rth@redhat.com>
1714 * emit-rtl.c (adjust_address_1): Don't adjust address if adjust
1717 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1719 * collect2.c (COLLECT_SHARED_INIT_FUNC)
1720 (COLLECT_SHARD_FINI_FUNC): Define default values.
1721 (write_c_file_stat): Use them to call construtor and destructor
1722 functions in shared libraries.
1723 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1724 (COLLECT_SHARD_FINI_FUNC): Document them.
1725 * config/netbsd.h (COLLECT_SHARED_INIT_FUNC)
1726 (COLLECT_SHARD_FINI_FUNC): Define.
1728 * config/netbsd.h (LINK_SPEC): Don't pull in estart if creating a
1729 shared library. Pass -shared through to the linker.
1730 * config/arm/netbsd.h (LINK_SPEC): Likewise.
1732 * config/arm/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -fpic.
1733 (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME, SHLIB_OBJS, SHLIB_LINK)
1734 (SHLIB_INSTALL): Define.
1736 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1738 * arm.c (legitimize_pic_address): Handle LABEL_REFs in substantially
1739 the same way as we handle SYMBOL_REFS.
1741 Thu Dec 13 07:47:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1743 * loop.c (remove_constant_addition): Fix prototype and whitespace.
1744 (emit_prefetch_instructions): Remove warnings and whitespace
1747 Thu Dec 13 06:48:38 2001 Douglas B. Rupp <rupp@gnat.com>
1749 * config/alpha/vms-cc.c (preprocess_args): Fix forward
1752 Thu Dec 13 12:31:07 CET 2001 Jan Hubicka <jh@suse.cz>
1754 * predict.c (estimate_probability): Reorganize opcode heuristics.
1755 * predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
1756 PRED_FPOPCODE): New.
1758 * i386.c (override_options): Recognize various CPU variants and set
1759 SSE/MMX/3dNOW flags accordingly.
1760 * i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
1761 MASK_3DNOW_A_SET): New.
1762 (MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
1763 (MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
1765 (TARGET_FLAGS): Use new masks.
1766 (CPP_CPU_SPECS): Recognize new CPU variants.
1767 * invoke.texi (-mcpu): Update documentation.
1769 * flags.h (flag_prefetch_loop_arrays): Declare.
1770 * loop.h (LOOP_PREFETCH): Define new constant.
1771 * loop.c (strength_reduce): Call emit_prefetch_instructions.
1772 (MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
1773 PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
1775 (check_store_data): New structure.
1776 (check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
1778 * toplev.c: Include insn-flags.h.
1779 (flag_prefetch_loop_arrays): New global variable.
1780 (lang_independent_option): Add -fprefetch-loop-arrays.
1781 (rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
1783 * Makefile.in (toplev.c): Depend on insn-flags.h.
1784 * invoke.texi (-fprefetch-loop-arrays): Document.
1786 * predict.c (estimate_probability): Distribute the loop exit
1787 probability according to number of exit edges.
1789 * cfgcleanup.c (insns_match_p): Break out from ...;
1790 (flow_find_cross_jump): ... here;
1791 (outgoing_edges_match): Add parameter MODE; attempt to match everything
1792 except for tablejumps.
1793 (try_crossjump_to_edge): Accept complex edges.
1794 (try_crossjump_bb): Likewise.
1796 2001-11-29 Corey Minyard <minyard@acm.org>
1798 * recog.c (validate_replace_rtx_1): Use simplify_gen_binary
1799 instead of plus_constant.
1800 * simplify-rtx.c (neg_const_int): New.
1801 (simplify_gen_binary, simplify_plus_minus): Use it.
1803 2001-12-12 Roger Sayle <roger@eyesopen.com>
1805 * builtins.c (expand_builtin_memset, expand_builtin_memcpy,
1806 expand_builtin_strcpy): Additional arguments TARGET and MODE.
1807 (expand_builtin_bzero, expand_builtin_strcpy,
1808 expand_builtin_strncpy, expand_builtin_bzero): Pass additional
1809 TARGET and MODE parameters to the above functions.
1810 (expand_builtin_memset, expand_builtin_memcpy): Optimize the
1811 case where the LEN parameter is constant zero.
1812 (expand_builtin_memcmp): No longer conditional on
1813 HAVE_cmpstrsi. Take an additional mode parameter. Optimize
1814 the cases where len is either constant zero or one.
1815 Optimize to call to memcpy, even if the memcpy isn't inlined.
1816 (expand_builtin_strncpy): Optimize to call memcpy, even if the
1817 memcpy isn't inlined.
1818 (expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
1819 to optimize to a call to memcmp.
1820 (expand_builtin): expand_builtin_memcmp can always be called,
1821 and pass the required parameters to expand_builtin_memcmp,
1822 expand_builtin_memset, expand_builtin_memcpy and
1823 expand_builtin_strcpy.
1825 2001-12-12 David O'Brien <obrien@FreeBSD.org>
1827 * config.gcc (arm-*-freebsd*): Add target.
1828 * config/arm/freebsd.h: New file.
1829 * config/arm/arm.h (CPP_PREDEFINES): Do not define.
1830 (CPP_SPEC): #undef before defining.
1831 (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm.
1832 * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm
1834 * config/arm/linux-elf.h: Likewise.
1835 * config/arm/netbsd.h: Likewise.
1836 * config/arm/riscix.h: Likewise.
1837 * config/arm/riscix1-1.h: Likewise.
1838 * config/arm/semiaof.h: Likewise.
1840 2001-12-12 Richard Henderson <rth@redhat.com>
1842 * regrename.c (copyprop_hardreg_forward): New optimization.
1843 (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
1844 kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
1845 replace_oldest_value_reg, replace_oldest_value_addr,
1846 replace_oldest_value_mem, copyprop_hardreg_forward_1,
1847 debug_value_data, validate_value_data): New.
1848 * rtl.h (copyprop_hardreg_forward): Declare.
1849 * toplev.c (flag_cprop_registers): New.
1850 (f_options): Add -fcprop-registers
1851 (rest_of_compilation): Invoke it.
1852 (parse_options_and_default_flags): Set it at -O1.
1853 * doc/invoke.texi: Document it.
1855 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1857 * dwarf2out.c (dw_val_class): Add dw_val_class_range_list.
1858 (DEBUG_RANGES_SECTION_LABEL): Define.
1859 (ranges_section_label): Add.
1860 (add_AT_range_list): New.
1861 (print_die, sizeof_die, value_format): Handle dw_val_class_range_list.
1862 (output_loc_list): Location expression length is always 2-byte.
1863 (output_die): Handle dw_val_class_range_list.
1864 (gen_lexical_block_die): Call add_AT_range_list.
1865 (dwarf2out_init): Initialize ranges_section_label.
1866 (dwarf2out_finish): Emit ranges_section_label.
1868 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1870 * c-typeck.c (digest_init): Allow initializing
1871 static storage duration objects with compound literals.
1872 * doc/extend.texi (Compound literals): Document the extension.
1874 2001-12-12 Richard Henderson <rth@redhat.com>
1876 * emit-rtl.c (adjust_address_1): Always copy address to avoid
1879 Wed Dec 12 07:37:52 2001 Olivier Hainque <hainque@act-europe.fr>
1881 * stmt.c (expand_end_case): Do subtraction of lower bound as trees
1884 Wed Dec 12 07:35:24 2001 Douglas B. Rupp <rupp@gnat.com>
1886 * cppfiles.c (read_include_file): Set buffer size properly when
1887 file is shorter than expected.
1889 Wed Dec 12 08:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
1891 * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
1892 enumeral types - encode them using 'i'.
1894 2001-12-12 Nathan Sidwell <nathan@codesourcery.com>
1896 * doc/extend.texi (Deprecated Features): Deprecate implicit
1897 typename. Document that named return and initializer lists are now
1900 2001-12-11 Roger Sayle <roger@eyesopen.com>
1902 * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
1903 compiler warning about enumeration values not being handled.
1905 2001-12-11 Momchil Velikov <velco@fadata.bg>
1907 * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
1910 2001-12-11 Richard Henderson <rth@redhat.com>
1912 * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
1913 * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
1914 * config/alpha/alpha.md (prefetch): New.
1916 2001-12-11 Richard Henderson <rth@redhat.com>
1918 * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
1919 if C has only low bits set and doesn't intersect with X or Y.
1921 Tue Dec 11 23:58:39 EST 2001 John Wehle (john@feith.com)
1923 * basic-block.h (flow_preorder_transversal_compute): Declare.
1924 * cfganal.c (flow_preorder_transversal_compute): Implement.
1926 Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
1928 * cfganal.c (flow_depth_first_order_compute): Always
1931 2001-11-30 Alan Matsuoka <alanm@redhat.com>
1933 * combine.c (combine_simplify_rtx) : Can't simplify
1934 cases that use mode class MODE_CC.
1936 2001-12-11 Richard Henderson <rth@redhat.com>
1938 * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
1939 which there is no divide expander.
1941 2001-12-11 Richard Henderson <rth@redhat.com>
1943 * except.c (sjlj_find_directly_reachable_regions): Don't
1944 consider RNL_BLOCKED a directly reachable region.
1945 (sjlj_assign_call_site_values): Trust directly_reachable.
1946 (sjlj_emit_dispatch_table): Likewise.
1948 2001-12-11 Richard Henderson <rth@redhat.com>
1950 * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
1951 we represent the address load's dependency on the gp.
1952 (divmoddi_internal_er): Likewise.
1953 (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
1955 2001-12-11 Richard Henderson <rth@redhat.com>
1957 * emit-rtl.c (widen_memory_access): New.
1958 * expr.h (widen_memory_access): Declare it.
1959 * config/alpha/alpha.c (get_aligned_mem): Use it.
1961 2001-12-11 Richard Henderson <rth@redhat.com>
1963 * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
1964 simplification above out of range check.
1966 2001-12-11 Dan Nicolaescu <dann@ics.uci.edu>
1968 * config/sparc/sparc.md (prefetch): New.
1970 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
1972 * output.h (regno_uninitialized): Make argument unsigned.
1974 * flow.c (regno_uninitialized): Make regno unsigned.
1976 2001-12-11 David O'Brien <obrien@FreeBSD.org>
1978 * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
1979 * config/cris/cris.h (ENDFILE_SPEC): Define.
1980 * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
1981 * config/pa/elf.h: Likewise.
1983 2001-12-11 Richard Henderson <rth@redhat.com>
1985 * objc/objc-act.c (build_string_class_template): New.
1986 (build_objc_string_object): Call it.
1988 2001-12-11 Steve Ellcey <sje@cup.hp.com>
1990 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
1991 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
1992 * calls.c (store_unaligned_arguments_into_pseudos): Check
1993 FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
1994 are passed/returned.
1995 * expr.c (move_block_from_reg): Ditto.
1996 (move_block_from_reg): Ditto.
1997 (copy_blkmode_from_reg): Ditto.
1998 * stmt.c (expand_return): Ditto.
1999 * stor-layout.c (compute_record_mode): If
2000 FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
2001 MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
2002 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
2003 so that Structures of one field are still treated as structures.
2004 (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
2005 (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
2006 (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
2007 * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
2008 * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
2009 to special case handling of structure padding.
2011 2001-12-11 Daniel Berlin <dan@cgsoftware.com>
2013 * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
2014 (may_trap_exp): Stores only are risk if they trap, too, not just
2017 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
2019 * flow.c (find_regno_partial): Indent properly. Add a default to
2022 2001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
2024 * c-common.c (combine_strings): Complain if concatenating
2026 * c-parse.in (yylexname): Flag artificial strings.
2027 * tree.h (TREE_ARTIFICIAL_STRING_P): New.
2029 * extend.texi: Update.
2031 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
2033 * c-common.c (type_for_mode): Handle unsigned vectors.
2034 (type_for_mode): Remove redundant calls to TYPE_MODE.
2036 * tree.c (make_vector): New.
2037 (build_common_tree_nodes_2): Use make_vector for vector types.
2038 Add unsigned vector types.
2040 * tree.h (tree_index): Add unsigned types for vectors.
2041 (unsigned_V16QI_type_node): New.
2042 (unsigned_V4SI_type_node): New.
2043 (unsigned_V8QI_type_node): New.
2044 (unsigned_V8HI_type_node): New.
2045 (unsigned_V4HI_type_node): New.
2046 (unsigned_V2SI_type_node): New.
2048 2001-12-11 Stan Shebs <shebs@apple.com>
2050 * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
2051 test of class names.
2053 2001-12-11 David O'Brien <obrien@FreeBSD.org>
2055 * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
2056 cpu configuration headers.
2057 * config/h8300/elf.h: Include dbxelf.h.
2058 * config/m68k/linux.h: Likewise.
2059 * config/m68k/m68020-elf.h: Likewise.
2060 * config/m68k/m68kv4.h: Likewise.
2061 * config/sh/elf.h: Likewise.
2062 * config/m68k/m68kemb.h: Add comment about the its purpose.
2064 2001-12-11 Richard Henderson <rth@redhat.com>
2066 * objc/objc-act.c (build_constructor): Cast initializer values
2067 to the proper field types.
2069 2001-12-11 Jakub Jelinek <jakub@redhat.com>
2071 * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
2073 2001-12-10 Roger Sayle <roger@eyesopen.com>
2075 * builtins.c (expand_builtin): Use a switch statement to list
2076 those functions not expanded without optimizations, instead of a
2077 series of equality tests.
2079 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
2081 * config/alpha/vms.h (LIB_SPEC): Define.
2082 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
2084 * libgcc2.c (_bb): Remove ctime declaration.
2086 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
2087 that works if LN_S = cp.
2089 * config/alpha/x-vms (version): Change "." to "_".
2091 * configure.in: Hardcode that vfork works on VMS host.
2092 * configure: Regenerated.
2094 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
2096 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
2098 (process_command): Modify calls to convert_filename.
2100 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2102 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
2104 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
2106 * combine.c (known_cond): Check mode of each operand to determine
2107 if COND is comparing floating point values.
2109 2001-12-10 David Edelsohn <edelsohn@gnu.org>
2111 * rs6000.h (processor_type): Add PPC405.
2112 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
2113 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
2114 rios1, rs64, and ppc630 processors.
2115 * rs6000.c (processor_target_table): Add PPC405.
2117 2001-12-10 Richard Henderson <rth@redhat.com>
2119 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
2120 instead of hardcoding subregs into the _be and _le patterns.
2122 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
2124 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
2126 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2128 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
2131 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
2133 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
2134 copyright notice formerly conditioned on @ifinfo on @ifnottex
2137 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2139 * vmsdbgout.c (lookup_filename): Remove warning.
2141 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
2143 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
2145 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
2146 (exeext, target_alias, prefix, local_prefix): Define.
2147 * config/alpha/x-vms (USE_COLLECT2): Make empty.
2148 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
2149 file specifications. Remove ".".
2150 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
2151 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
2153 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
2155 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
2157 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
2159 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
2160 Add rules for building [vp]crt0.o
2161 * config/alpha/vms.h (START_FILE_SPEC): Define.
2162 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
2163 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
2164 * doc/invoke.texi: Document special Alpha/VMS options.
2166 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2168 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
2169 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
2172 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2173 Douglas B. Rupp <rupp@gnat.com>
2175 * tree.c (append_random_char): Conditionalize INO for VMS.
2177 2001-12-09 Richard Henderson <rth@redhat.com>
2179 * cfgcleanup.c (label_is_jump_target_p): New function.
2180 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
2181 target of a JUMP_INSN from the preceding block.
2183 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2185 * vmsdbgout.c (lookup_filename): Assign null string instead
2186 of null pointer to fnam.
2188 2001-12-09 Richard Henderson <rth@redhat.com>
2190 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
2191 immediately after a call; insert nops before a call.
2193 2001-12-09 Richard Henderson <rth@redhat.com>
2195 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
2196 not FUNCTION_BOUNDARY.
2197 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
2198 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
2199 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
2201 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
2203 * config/mmix/mmix.c (mmix_function_block_profiler,
2204 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2206 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
2207 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2210 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
2211 Delete obsoleted macros.
2213 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
2215 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
2216 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
2218 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
2219 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
2220 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
2221 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
2222 config/i370/i370.c, config/i386/i386.c,
2223 config/i386/i386-interix.h, config/i386/i386.md,
2224 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
2225 config/m32r/m32r-protos.h, config/mcore/mcore.h,
2226 config/rs6000/rs6000.h, config/sparc/linux64.h,
2227 config/sparc/sparc.c, config/v850/v850-protos.h,
2228 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
2231 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
2233 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
2234 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
2236 * config/rs6000/rs6000.c: Ditto.
2238 * config/rs6000/rs6000.md: Ditto.
2240 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2242 * 1750a.md: Add default case in switch.
2243 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2245 * dsp16xx.c (print_operand_address): Likewise.
2246 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
2247 * ia64.md: Add missing braces.
2248 * rs6000-protos.h (s8bit_cint_operand): Prototype.
2249 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2251 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
2252 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
2253 * dbxout.c (dbxout_source_file): Move a variable into the scope
2255 * final.c (profile_function): Mark parameter with
2257 * genemit.c (gen_expand): Likewise for generated file.
2258 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
2260 * vmsdbg.h: Delete spurious close-comment.
2261 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
2262 * vmsdbgout.c (write_modbeg): Define return type.
2264 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
2265 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2266 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2267 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
2268 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
2269 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
2270 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
2272 2001-12-08 Tom Rix <trix@redhat.com>
2274 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
2275 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
2276 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
2278 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
2279 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
2280 * config/rs6000/rs6000.c (expand_block_move): Do not use
2281 gen_movstrsi_2reg and powerpc64.
2283 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
2285 * c-common.h (rid): Add RID_CHOOSE_EXPR and
2286 RID_TYPES_COMPATIBLE_P.
2288 * c-parse.in (reswords): Add __builtin_choose_expr.
2289 Add __builtin_types_compatible_p.
2290 Add CHOOSE_EXPR token.
2291 Add TYPES_COMPATIBLE_P token.
2292 Add production for CHOOSE_EXPR.
2293 Add production for TYPES_COMPATIBLE_P.
2295 * doc/extend.texi (__builtin_choose_expr): Add documentation.
2296 (__builtin_types_compatible_p): Likewise.
2298 2001-12-08 David Edelsohn <edelsohn@gnu.org>
2300 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
2303 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2305 * c-parse.in: Take string literals in assembler constructs,
2307 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
2308 check the strings are STRING_CSTs.
2310 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2312 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
2313 using combine_strings to do the concatenation.
2314 * c-parse.in: Replace uses of the string non-terminal with STRING.
2315 Don't attempt string concatenation.
2316 (OBJC_STRING): New terminal.
2317 (string): Remove non-terminal.
2318 (_yylex): Call combine_strings on function names. Generate
2319 OBJC_STRING terminals; don't pass '@' on to yacc.
2320 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
2321 (build_asm_stmt): Similarly.
2323 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2325 * rtlanal.c (get_jump_table_offset): Delete unused variable.
2327 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2329 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
2330 (prefetch): Rewrite using PREFETCH RTL primitive.
2331 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
2332 * arm.c (arm_init_builtins): Don't initialize a builtin for
2333 __builtin_prefetch here.
2334 (arm_expand_builtin): Don't expand __builtin_prefetch here.
2336 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2338 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
2339 in test for a subreg.
2341 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2343 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
2346 2001-12-07 Richard Henderson <rth@redhat.com>
2348 * doc/extend.texi: Fix typo last change.
2350 * c-decl.c (c_language): Remove duplicate.
2352 2001-12-07 Dale Johannesen <dalej@apple.com>
2354 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
2355 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
2356 specific codegen, eliminate a register copy.
2357 (print_operand_address): Add support for Darwin's lo16(constant)
2359 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
2360 generation of addresses within very large data objects.
2361 (s8bit_cint_operand): New.
2362 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
2363 Move "mtjmpr" to correct functional unit for 750/7400/7450.
2364 Add imul2 and imul3 insn types for multiplication by 16- and
2366 Change tablejump patterns to strongly discourage using LR
2368 Add %lo16 patterns for Darwin loads and stores.
2370 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2372 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
2374 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
2376 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
2377 with %sp because it can cause the delayed instruction to load
2380 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2382 * alpha.c (alpha_expand_unaligned_store,
2383 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
2384 call to immed_double_const.
2386 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
2388 * doc/extend.texi (Variable Attributes): Document vector_size.
2390 * attribs.c (c_common_attribute_table): Add vector_size.
2391 (handle_vector_size_attribute): New.
2392 (vector_size_helper): New.
2393 (decl_attributes): Relayout the decl after calculating attribs.
2395 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2397 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
2398 description for Trouble section.
2399 * doc/install-old.texi: Adjust for inclusion as chapter of new
2400 installation manual.
2401 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
2402 Adjust to include old installation chapter as chapter of new
2403 installation manual.
2405 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
2407 * rtl.h (get_jump_table_offset): Declare.
2408 * rtlanal.c (get_jump_table_offset): Implement.
2410 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2412 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
2413 Deleted; were used only by BB profiler code.
2414 (sbb_head, sbb_tail, sbb_label_num): Likewise.
2415 (end_final): Delete now-unused vars I, PTR, and SPTR.
2417 * expr.c (store_field): Remove warning.
2418 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
2419 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
2420 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
2421 divisor constant power of 2.
2422 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
2424 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2426 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
2429 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2431 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
2432 (DWARF_FRAME_REGISTERS): Delete.
2434 2001-12-06 Janis Johnson <janis187@us.ibm.com>
2436 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
2437 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
2438 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
2439 with defaults for read prefetch with high degree of locality.
2440 * doc/extend.texi (__builtin_prefetch): Update documentation.
2441 * doc/md.texi (prefetch): Add documentation.
2443 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2445 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
2447 * fixinc/fixincl.x: Regenerate.
2448 Fixes PR libf2c/4826.
2450 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2451 Richard Henderson <rth@redhat.com>
2453 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
2454 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
2456 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
2457 to PRE_GCC3_DWARF_FRAME_REGISTERS.
2458 (frame_state): Same.
2459 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
2461 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2463 * langhooks.c (lhd_staticp): Mark parameter with
2466 2001-12-06 H.J. Lu <hjl@gnu.org>
2468 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
2470 (.po.pox): Likewise.
2471 (o/$(PACKAGE).pot): Likewise.
2473 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
2475 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
2476 * tree-inline.c (expand_call_inline): ... here.
2478 2001-12-06 H.J. Lu <hjl@gnu.org>
2480 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
2481 (.po.pox): Likewise.
2482 (o/$(PACKAGE).pot): Likewise.
2484 2001-12-06 David O'Brien <obrien@FreeBSD.org>
2486 * config.gcc: Include dbxelf.h before elfos.h.
2487 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
2489 2001-12-06 Zack Weinberg <zack@codesourcery.com>
2491 * cppfiles.c (open_file): If we've opened a directory by
2493 (find_include_file): Avoid turning / into // or // into ///.
2495 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2497 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
2498 (STRUCT_VALUE_REGNUM): Restore definition.
2500 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
2502 * flow.c (find_regno_partial): Return register, not the expression
2505 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2507 * function.c (handle_epilogue_set): Check for FP setting case when
2508 SP is set from FP in same insn.
2510 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2512 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
2513 RTX when calling alter_subreg().
2514 (store_multiple_sequence): Pass pointer to RTX when calling
2517 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2519 * function.c (assing_parms): Fix typo in last change.
2520 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
2521 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
2522 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
2523 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
2525 2001-12-06 Alan Modra <amodra@bigpond.net.au>
2527 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
2528 correct code selecting section.
2530 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
2532 * final.c (count_basic_block, add_bb, add_bb_string):
2534 (end_final, final_start_function, final, final_scan_insn,
2535 leaf_function_p): Kill BB profiler related code.
2536 * flags.h (profile_block_flag): Kill.
2537 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
2538 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
2539 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
2540 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
2541 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
2542 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
2543 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
2544 __bb_init_trace_func): Kill.
2545 * toplev.c (profile_block_flag): Kill.
2546 (indepdendent_decode_option, process_options): Kill -a related code.
2547 * alpha.c (direct_call_operand): Likewise.
2548 * arm.c (arm_expand_prologue, thumb_expand_prologue,
2549 thumb_expand_epilogue): Likewise.
2550 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
2551 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2552 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2553 MACHINE_STATE_RESTORE): Kill.
2554 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2555 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2556 MACHINE_STATE_RESTORE): Kill.
2557 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
2558 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
2559 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
2561 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
2562 * i386.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 * i960.c (i960_output_function_prologue): Kill BB profiler related
2568 * ia64.c (ia64_compute_frame_size): Likewise.
2569 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2570 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2571 MACHINE_STATE_RESTORE): Kill.
2572 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
2573 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2574 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2575 MACHINE_STATE_RESTORE): Kill.
2576 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
2577 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2578 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2579 MACHINE_STATE_RESTORE): Kill.
2580 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
2581 Kill BB profiler related code.
2582 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2583 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2584 MACHINE_STATE_RESTORE): Kill.
2585 * mips.c (mips_expand_prologue): Kill BB profiler related code.
2586 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2587 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2588 MACHINE_STATE_RESTORE): Kill.
2589 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
2590 * s960.c (s390_function_prologue): Kill BB profiler related code.
2591 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2592 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2593 MACHINE_STATE_RESTORE): Kill.
2594 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2595 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2596 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2597 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2598 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
2599 sparc_nonflat_function_epilogue): Kill BB profiler related code.
2600 (sparc_function_block_profiler, sparc_block_profiler,
2601 sparc_function_block_profiler_exit): Kill.
2602 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
2603 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2604 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2605 MACHINE_STATE_RESTORE): Kill.
2606 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2607 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2608 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2609 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2610 MACHINE_STATE_RESTORE): Kill.
2611 * doc/invoke.texi: Kill documentation of -a and -ax.
2612 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2613 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2614 MACHINE_STATE_RESTORE): Kill.
2616 2001-10-26 Steve Christiansen <smc@us.ibm.com>
2618 * doc/rtl.texi: Use a table to display RTL format characters.
2620 2001-12-06 Bo Thorsen <bo@suse.co.uk>
2622 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
2624 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2626 * function.c (keep_stack_depressed): Check global_live_at_start
2627 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
2629 2001-12-05 David O'Brien <obrien@FreeBSD.org>
2631 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
2632 as set by the generic FreeBSD configure framework.
2634 2001-12-04 Jason Merrill <jason@redhat.com>
2636 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
2637 start_inlining, end_inlining.
2638 * tree-inline.c (expand_call_inline): Call them.
2639 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
2640 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
2641 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
2642 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
2643 (lhd_tree_inlining_end_inlining): New fn.
2645 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2647 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
2648 * c-common.h (shadow_warning): New.
2649 * c-decl.c: Include c-common.h.
2650 (warn_if_shadowing): New, broken out of pushdecl.
2651 (pushdecl): Use warn_if_shadowing.
2652 (store_parm_decls): Prevent duplicate -Wshadow warnings.
2654 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
2656 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
2657 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
2660 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2662 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
2663 (QUAL_UNION_TYPE): New type.
2665 * varasm.c (output_constant, case ERROR_MARK): New case.
2667 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
2668 (c_com): Delete its reference.
2669 * builtins.c: Delete memory checking code.
2670 * calls.c, expr.c, function.c, stmt.c: Likewise.
2671 * builtins.c (expand_builtin_arg_info): Remove reference to
2672 EXPAND_MEMORY_USE_* modifiers.
2673 * explow.c (expr_size): Likewise.
2674 * expr.c (expand_expr, expand_increment): Likewise.
2675 * expr.h (ARGS_SIZE_RTX): Likewise.
2676 * function.c (assign_parms, expand_pending_sizeso): Likewise.
2677 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
2678 * expr.c (in_check_memory_usage): Delete.
2679 (get_push_address, get_memory_usage_from_modifier): Delete.
2680 (expand_assigment): Use EXPAND_WRITE on destination.
2681 (expand_expr): Delete ro_modifier.
2682 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
2684 (memory_use_mode): Delete.
2685 * flags.h (flag_check_memory_usage): Deleted.
2686 (flag_prefix_function_name): Likewise.
2687 * function.c (expand_function_start): Don't set
2688 current_function_check_memory_usage.
2689 * function.h (check_memory_usage): Delete.
2690 * libfuncs.h, optabs.c: Delete chkr_* stuff.
2691 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
2693 * toplev.c (flag_check_memory_usage): Deleted.
2694 (flag_prefix_function_name): Likewise.
2695 (f_options, process_options): Delete references to above.
2696 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
2697 * varasm.c (CHKR_PREFIX): Deleted.
2698 (make_decl_rtl): Remove flag_prefix_function_name handling.
2699 (assemble_name): Likewise.
2700 * doc/extend.texi: Remove no_check_memory_usage attribute.
2701 * doc/invoke.texi: Remove -fcheck-memory-usage
2702 and -fprefix-function-name.
2704 2001-12-05 Andreas Schwab <schwab@suse.de>
2706 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
2709 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2711 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
2713 2001-12-05 William Cohen <wcohen@redhat.com>
2715 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
2718 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
2720 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
2723 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
2724 better reflect reality (change from Apple's tree).
2725 Add more of altivec instructions.
2726 Add ftruncv4sf2 pattern.
2727 Remove more unspecs (vector merge instructions, etc).
2729 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
2731 (bdesc_1arg): New, for 1 argument altivec builtins.
2732 (altivec_expand_builtin): Handle unary and ternary ops.
2733 (altivec_init_builtins): Ditto.
2735 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2737 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
2738 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
2740 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2742 * gcse.c (store_killed_in_insn): Consider pure calls
2743 as potential store killers in addition to normal calls.
2745 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2747 * expr.c (expand_expr): When checking promoted value, use
2748 DECL_MODE (exp) and not mode.
2750 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2752 * c-typeck.c (output_init_element): Call digest_init
2753 just once, not in each if branch and check its return value for
2756 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2758 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
2759 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
2760 (finish_struct): Break the loop if n_incomplete went to 0.
2761 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
2763 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
2765 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
2767 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2768 Douglas B. Rupp <rupp@gnat.com>
2770 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
2771 * doc/invoke.texi: Add -gvms.
2772 * doc/passes.texi: Add mention of vmsdbgout.c.
2773 * doc/tm.texi: Document VMS debugging output.
2775 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2777 * function.h (tree, rtx): Remove no-longer-needed definitions.
2779 * function.c (keep_stack_depressed): Refine check for register
2780 clobbered over call.
2782 * expr.c (store_expr): When copying string constant into array,
2783 use functions that update memrefs instead of computations on
2784 addresses to better track MEMs. Also properly handle 32/64 pointers.
2785 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
2786 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
2788 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
2789 underneath COMPONENT_REFs.
2790 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
2792 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2794 * toplev.c (display_target_options): Don't print twice.
2796 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
2798 * emit-rtl.c (set_unique_reg_note): Don't set
2799 a REG_EQUAL or REG_EQUIV note if multiple sets
2802 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2804 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
2807 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2809 * rtl.h (initialize_uninitialized_subregs): New prototype.
2810 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
2811 when optimization is on.
2812 * flow.c (find_regno_partial): Find subregs within an expression.
2813 (initialize_uninitialized_subregs): Initialize live on entry registers
2814 which are used in subreg expressions.
2816 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
2818 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
2820 2001-12-04 DJ Delorie <dj@redhat.com>
2822 * fixinc/fixincl.c (initialize): Avoid problemsome macro
2823 parameter names (PR 3388).
2825 2001-12-05 Alan Modra <amodra@bigpond.net.au>
2827 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
2828 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
2830 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2832 * c-common.def (COMPOUND_LITERAL_EXPR): New.
2833 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
2834 (c_staticp): New function.
2835 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
2836 (c_staticp): Declare.
2837 * c-typeck.c (default_function_array_conversion, build_unary_op):
2838 Don't handle CONSTRUCTOR specially.
2839 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
2840 * c-decl.c (build_compound_literal): New function.
2841 * c-tree.h (build_compound_literal): Declare.
2842 * c-parse.in (primary): Use build_compound_literal.
2843 * c-lang.c (LANG_HOOKS_STATICP): Define.
2844 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
2845 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
2846 * doc/extend.texi: Update documentation of compound literals.
2849 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2851 * langhooks.h (struct lang_hooks): Add staticp.
2852 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
2853 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
2854 * langhooks.c (lhd_staticp): New function.
2855 * tree.c (staticp): Call lang_hooks.staticp for language-specific
2858 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
2860 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
2861 * gcc.c (process_command): Ensure the cpp driver sees
2862 --help and --target-help, and that the help is printed
2865 2001-12-04 David Edelsohn <edelsohn@gnu.org>
2867 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
2869 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
2871 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
2872 flag_strict_aliasing. Use separate assignment statements.
2874 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2876 * build-make, cross-make: Delete file.
2877 * configure.in: Set and substitute CROSS, ALL,
2878 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
2879 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
2880 whether build == host and host == target. Do not
2881 AC_SUBST_FILE build_overrides or cross_overrides. Do not
2882 AC_SUBST cross_defines or extra_c_flags.
2883 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
2884 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
2885 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
2886 partially or completely with autoconf-substituted @variable@
2888 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
2889 @build_overrides@, @extra_c_flags@, all.build, install-build,
2890 install-cross-rest, install-float-h-cross): Deleted.
2891 (install-normal): Rename to install. Delete old "install"
2894 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2896 * stmt.c (expand_return): Clear destination instead of clobbering it
2897 when setting a return value via bitsets.
2899 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
2901 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
2902 it has DECL_SAVED_TREE.
2904 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
2905 is in a different binding level, get its abstract origin to be
2907 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
2909 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
2910 DECL_INITIAL is NULL.
2912 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2914 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
2915 Return correct value if one of the subexpressions was optimized to
2916 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
2917 (and_reg_cond): Similarly.
2919 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2921 * function.c (assign_parms): Set last_named only for last named
2924 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2926 * doc/install.texi: Use the GFDL. Include years from old install
2927 manual in copyright notice. Include copyright and GFDL notice on
2928 HTML index page. Include usual footer on testing.html.
2929 * doc/install.texi2html: Build gfdl.html. Use -I
2931 * doc/include/fdl.texi: Adapt for use in the install manual.
2933 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2935 * doc/install.texi: Document that installed native compiler for
2936 building cross compilers should be GCC 2.95 or later.
2938 2001-12-03 Eric Christopher <echristo@redhat.com>
2940 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
2941 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
2944 2001-12-03 Janis Johnson <janis187@us.ibm.com>
2946 * rtl.def (PREFETCH): New rtx code.
2947 * doc/rtl.texi (PREFETCH): Add documentation.
2948 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
2949 * rtlanal.c (reg_referenced_p): Ditto.
2950 * sched-vis.c (print_exp): Ditto.
2951 * ssa-dce.c (find_inherently_necessary): Ditto.
2953 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
2954 (PREFETCH_BLOCK): Define.
2955 * config/ia64/ia64.md (itanium_class): Add lfetch.
2956 (prefetch, prefetch_internal): New.
2958 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
2959 * builtins.def (BUILT_IN_PREFETCH): New.
2960 * builtins.c (expand_builtin_expect): New.
2961 (expand_builtin): Call it.
2962 * doc/extend.texi: Document __builtin_prefetch.
2964 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
2965 conflicts with new generic prefetch functionality.
2966 * config/i386/i386.c (ix86_expand_builtin): Use new name for
2969 2001-12-02 Ziemowit Laski <zlaski@apple.com>
2971 * objc/Make-lang.in: Update copyright.
2972 (OBJC_OBJS): Add objc-lang.o.
2973 (objc-lang.o): New rule.
2974 * objc/config-lang.in: Fix file description and update
2976 * objc/objc-act.c: Do not include langhooks.h and
2978 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
2979 (objc_post_options): Move to objc-lang.c.
2980 (objc_init_options): Move to objc-lang.c.
2981 (objc_init): Make non-static.
2982 (objc_decode_option): Make non-static.
2983 (HASHFUNCTION): Remove macro.
2984 (hash_func): New function.
2985 (hash_enter): Replace HASHFUNCTION with hash_func.
2986 (hash_lookup): Replace HASHFUNCTION with hash_func.
2987 (maybe_objc_tree_codes): New function.
2988 (init_objc): Move ObjC tree code initialization to
2989 maybe_objc_tree_codes().
2990 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
2991 (objc_init): New public prototype.
2992 (objc_decode_option): New public prototype.
2993 (maybe_add_objc_tree_codes): New public prototype.
2994 * objc/objc-lang.c: New file.
2995 (lang_hooks): Moved from objc-act.c.
2996 (objc_post_options): Moved from objc-act.c.
2997 (objc_init_options): Moved from objc-act.c.
2999 2001-12-03 Geoff Keating <geoffk@redhat.com>
3001 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
3004 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
3007 * gcc.c (process_command): Don't add a preprocessor option for
3008 --help and --target-help; cc1 is enough.
3010 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
3012 * c-decl.c (grokdeclarator): Use ISO word.
3013 * cppinit.c: Remove leading capital from diagnostic messages, as
3014 per GNU coding standards.
3015 * emit-rtl.c: Similarly.
3016 * final.c: Similarly.
3018 * tradcpp.c: Similarly.
3019 * config/arm/arm.c: Similarly.
3020 * config/arm/arm.h: Similarly.
3021 * config/avr/avr.c: Similarly.
3022 * config/avr/avr.h: Similarly.
3023 * config/c4x/c4x.c: Similarly.
3024 * config/cris/cris.c: Similarly.
3025 * config/cris/cris.h: Similarly.
3026 * config/d30v/d30v.c: Similarly.
3027 * config/dsp16xx/dsp16xx.c: Similarly.
3028 * config/dsp16xx/dsp16xx.h: Similarly.
3029 * config/h8300/h8300.c: Similarly.
3030 * config/i386/i386.c: Similarly.
3031 * config/i386/xm-djgpp.h: Similarly.
3032 * config/i960/i960.h: Similarly.
3033 * config/m32r/m32r.c: Similarly.
3034 * config/m68hc11/m68hc11.c: Similarly.
3035 * config/m88k/m88k.c: Similarly.
3036 * config/m88k/m88k.h: Similarly.
3037 * config/mcore/mcore.c: Similarly.
3038 * config/mcore/mcore.h: Similarly.
3039 * config/mips/mips.c: Similarly.
3040 * config/mmix/mmix.c: Similarly.
3041 * config/pa/pa.c: Similarly.
3042 * config/rs6000/rs6000.c: Similarly.
3043 * config/rs6000/sysv4.h: Similarly.
3044 * config/s390/s390.c: Similarly.
3045 * config/sparc/sparc.c: Similarly.
3046 * config/v850/v850-c.c: Similarly.
3047 * config/v850/v850.c: Similarly.
3049 2001-12-03 Zack Weinberg <zack@codesourcery.com>
3051 * rs6000.h (RETURN_IN_MEMORY): Cast result of
3052 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
3054 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
3056 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
3057 bit twiddling constant.
3059 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
3061 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
3062 call purge_dead_edges after removing.
3063 (delete_null_pointer_checks): Do not handle delete_list.
3065 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
3066 (count_basic_blocks): ... here.
3067 (find_basic_blocks, find_bb_boundaries): Cleanup.
3069 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
3070 overflow for types greater then 2 * HOST_WIDE_INT.
3072 * reload.c (find_reloads): Update the duplicates after swapingg.
3074 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
3076 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
3078 2001-12-02 Zack Weinberg <zack@codesourcery.com>
3080 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
3081 MASK_LONG_DOUBLE_128): Delete.
3082 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
3083 TARGET_AIX_STRUCT_RET): New flags.
3084 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
3085 -mlong-double-64. Add entries for -m(no-)aix-struct-return
3086 and -m(no-)svr4-struct-return.
3087 (TARGET_OPTIONS): Add entry for -mlong-double-.
3088 (rs6000_long_double_size_string, rs6000_long_double_type_size,
3089 rs6000_altivec_abi): Declare.
3090 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
3091 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
3092 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
3093 structures of size <= 8 bytes in registers.
3094 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
3096 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
3097 rs6000_long_double_type_size, rs6000_altivec_abi): New
3099 (rs6000_override_options): Set rs6000_long_double_type_size
3100 from rs6000_long_double_size_string, if nonzero. Set the
3101 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
3103 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
3105 (rs6000_init_builtins): This hook now takes no arguments.
3107 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
3108 DRAFT_V4_STRUCT_RET to 1.
3110 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
3112 * c-typeck.c (really_start_incremental_init, push_init_level):
3113 Avoid constructor_max_index being other than an INTEGER_CST.
3115 2001-12-02 David Edelsohn <edelsohn@gnu.org>
3117 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
3119 (ASM_GENERATE_INTERNAL_LABEL): Same.
3120 (UNIQUE_SECTION): Fix typo.
3122 2001-12-02 Richard Henderson <rth@redhat.com>
3124 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
3126 2001-12-02 Richard Henderson <rth@redhat.com>
3128 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
3129 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
3130 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
3131 * expr.h, final.c, reload1.c: Adjust users.
3133 * alias.c (nonoverlapping_component_refs_p): New.
3134 (decl_for_component_ref, adjust_offset_for_component_ref): New.
3135 (nonoverlapping_memrefs_p): Use them.
3136 * emit-rtl.c (component_ref_for_mem_expr): New.
3137 (set_mem_attributes): Use it.
3138 (set_mem_offset): New.
3139 * expr.c (expand_assignment): Call set_mem_attributes for
3140 inner references; adjust the memory offset as needed.
3141 * print-rtl.c (print_mem_expr): New.
3142 (print_rtx): Use it.
3144 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
3146 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
3148 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
3149 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
3150 (ASM_SPEC): Don't redefine.
3151 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
3152 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
3153 * config/alpha/vms-dwarf2.asm: New file.
3155 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
3156 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
3157 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
3158 (vmsdbgout_after_prologue): New declaration.
3159 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
3160 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
3161 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
3162 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
3163 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
3164 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
3165 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
3166 Test VMS_DEBUGGING_INFO.
3167 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
3168 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
3169 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
3170 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
3171 VMS_AND_DWARF2_DEBUG.
3172 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
3173 (decode_g_option): Add "vms" to debug_type_names.
3174 (process_options): Set vmsdbg_debug_hooks if -gvms.
3175 (lang_independent_init): Emit line number for VMS unless -g0.
3176 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
3177 * vmsdbg.h, vmsdbgout.c: New files.
3179 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3181 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
3183 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3185 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
3186 * dwarf2out.c (is_cxx): Prototype.
3187 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
3189 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
3191 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3193 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
3195 2001-12-02 Geoff Keating <geoffk@redhat.com>
3197 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
3198 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
3199 rather than simplify_subreg. Check for volatile-ness. Check that
3200 we're not splitting one slow operation into two slow operations.
3202 2001-12-02 David Edelsohn <edelsohn@gnu.org>
3204 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
3207 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
3209 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
3210 capital from diagnostics.
3211 * c-lex.c (cb_file_change): Similarly.
3212 * c-parse.in : Similarly.
3213 * cfgrtl.c (verify_flow_info): Similarly.
3214 * collect2.c: Similarly.
3215 * cppfiles.c (find_include_file): Similarly.
3216 * cppinit.c (cpp_handle_option): Similarly.
3217 * cpplex.c (cpp_spell_token): Similarly.
3218 * cppmain.c (do_preprocessing): Similarly.
3219 * gcc.c (translate_options, process_command, do_spec1,
3220 main, pfatal_execute): Similarly.
3221 * genattr.c (main): Similarly.
3222 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
3223 write_test_expr, main): Similarly.
3224 * gencodes.c (main): Similarly.
3225 * genconfig.c (main): Similarly.
3226 * genconstants.c (main): Similarly.
3227 * genemit.c (main): Similarly.
3228 * genextract.c (main): Similarly.
3229 * genflags.c (main): Similarly.
3230 * genopinit.c (main): Similarly.
3231 * genoutput.c (process_template, main): Similarly.
3232 * genpeep.c (main): Similarly.
3233 * genrecog.c (main): Similarly.
3234 * gensupport.c (is_predicable, identify_predicable_attribute,
3235 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
3236 * ggc-page.c (alloc_anon): Similarly.
3237 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
3238 parse_begin, parse_bend, parse_def, parse_end, parse_file,
3239 parse_stabs_common, parse_stabs, write_varray, write_object,
3240 read_seek, copy_object, main, error): Similarly.
3241 * profile.c (compute_branch_probabilities): Similarly.
3242 * reg-stack.c (check_asm_stack_operands): Similarly.
3243 * reload.c (find_reloads): Similarly.
3244 * reload1.c (spill_failure, failed_reload): Similarly.
3245 * rtl-error.c (_fatal_insn_not_found): Similarly.
3246 * toplev.c (read_integral_parameter, crash_signal,
3247 decode_f_option, set_target_switch, parse_options_and_default_flags)
3249 * tradcif.y (parse_number, yylex): Similarly.
3250 * tradcpp.c (main, fancy_abort): Similarly.
3251 * tree.c (tree_check_failed): Similarly.
3252 * varray.c (varray_check_failed): Similarly.
3253 * xcoffout.c (xcoff_output_standard_types): Similarly.
3255 * objc-act.c (get_object_ref, lookup_and_install_protocols,
3256 build_objc_string_object, objc_declare_alias, build_ivar_chain,
3257 finish_message_expr, build_protocol_expr, is_public,
3258 start_class): Similarly.
3260 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
3262 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
3263 trailing period from diagnostics.
3264 * c-lex.c (cb_file_change): Similarly.
3265 * cppmacro.c (check_trad_stringification): Similarly.
3266 * gcc.c (do_spec_1): Similarly.
3267 * genattr.c (main): Similarly.
3268 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
3269 * gencodes.c (main): Similarly.
3270 * genconfig.c (main): Similarly.
3271 * genconstants.c (main): Similarly.
3272 * genemit.c (main): Similarly.
3273 * genextract.c (main): Similarly.
3274 * genopinit.c (main): Similarly.
3275 * genoutput.c (main): Similarly.
3276 * genpeep.c (main): Similarly.
3277 * genrecog.c (main): Similarly.
3278 * mips-tfile.c (add_file, error): Similarly.
3279 * profile.c (init_branch_prob): Similarly.
3280 * reload1.c (spill_failure): Similarly.
3281 * stmt.c (parse_output_constraint): Similarly.
3282 * varasm.c (assemble_variable): Similarly.
3284 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3286 * m68k.c (init_FPA_table): Provide static prototype.
3287 * mips/abi64.h (mips_function_value): Move prototype to ...
3288 * mips-protos.h (mips_function_value): ... here.
3289 * mips.c: Include halfpic.h.
3290 * output.h (rdata_section): Prototype.
3292 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3293 * m88k.c (m88k_svr3_asm_out_constructor,
3294 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
3296 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3297 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3298 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3300 2001-12-01 Geoff Keating <geoffk@redhat.com>
3302 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
3303 LO_SUM addresses less than word size are not legitimate,
3304 because they lead to invalid SUBREGs.
3305 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
3307 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
3309 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
3310 while scanning for multiple back edges.
3312 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3314 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
3315 * config/rs6000/tramp.asm: Use it.
3317 2001-12-01 Zack Weinberg <zack@codesourcery.com>
3319 * gencheck.c, gengenrtl.c: Don't define xmalloc.
3320 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
3323 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3325 * pa.c (output_ascii): Cast `p' to unsigned char.
3327 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3329 * config/rs6000/rs6000.c (altivec_expand_builtin): add
3330 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
3331 *_16qi,_8hi, rename existing V4SI ones to *_4si.
3332 (altivec_init_builtins): Ditto.
3333 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
3335 * config/rs6000/rs6000.md: Add attribute types vecsimple,
3336 veccomplex, vecfloat, and vecperm, for altivec instructions.
3337 Modify altivec patterns to use appropriate attribute type.
3338 Modify altivec patterns to match RTL operations where appropriate
3339 (IE no unspec where we can avoid it).
3340 Add vector unit scheduling for ppc7450.
3341 Rename patterns to what they are where appropriate
3342 (altivec_vaddfp->addv4sf3, etc)
3344 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
3345 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
3347 * config/rs6000/sysv4.h: Add -mcpu=7450.
3349 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
3350 _builtin_altivec_ld_interal function.
3352 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3354 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
3355 strchr, strrchr, isascii, gettimeofday.
3356 * config.in, configure: Regenerate.
3358 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3360 * unroll.c (unroll_loop): Correct special exit cases.
3362 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
3364 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
3365 accept DFmode and DImode only.
3367 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3369 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
3370 (STACK_DYNAMIC_OFFSET): Same.
3372 2001-11-30 Richard Henderson <rth@redhat.com>
3374 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
3376 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3378 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
3379 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
3380 the values in call_used_registers.
3382 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
3384 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
3387 2001-11-30 Jason Merrill <jason@redhat.com>
3389 * dwarf2out.c (is_cxx): New fn.
3390 (add_data_member_location_attribute): Check it.
3391 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
3393 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3395 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
3397 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3399 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
3400 MODE_VECTOR_FLOAT as allowed.
3402 2001-11-29 Zack Weinberg <zack@codesourcery.com>
3404 Purge cruft now we have build libiberty.
3406 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
3407 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
3408 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
3409 USE_HOST_STRSTR): Delete variables.
3410 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
3411 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
3412 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3413 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
3414 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
3415 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
3416 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
3417 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
3419 (HOST_RTL): Remove hashtab.o safe-ctype.o.
3420 (OBJS): Remove splay-tree.o.
3421 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
3422 (distclean): No need to delete splay-tree.c obstack.c
3423 hashtab.c safe-ctype.c.
3424 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
3425 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
3426 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
3428 * configure.in: Don't use them.
3429 Set and substitute @FORBUILD@.
3430 * config.in, configure: Regenerate.
3431 * doprint.c: Move to libiberty/_doprnt.c.
3432 * doc/configterms.texi: Document that libiberty is now built
3433 up to three times. Fix typo.
3435 2001-11-30 Jason Merrill <jason@redhat.com>
3437 * dwarf2out.c (add_data_member_location_attribute): Do the
3438 right thing for virtual bases.
3439 * dbxout.c (dbxout_type): For a virtual base, print the offset
3442 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3444 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
3446 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
3448 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
3450 Remove unused attribute for named.
3452 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3454 * genattrtab.c (attr_rtx_1): New function containing the
3455 majority of `attr_rtx'. Move variable declarations into the
3456 scope where they are used. Eliminate unnecessary gotos.
3457 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
3458 VA_FIXEDARG, and VA_CLOSE.
3460 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
3462 * config/cris/cris.c (cris_notice_update_cc): Check first
3463 destination also against overlap with cc_status.value2 and second
3464 destination against overlap with cc_status.value1. For overlaps,
3465 clear overlapped value, don't just CC_STATUS_INIT.
3467 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
3468 Fix typo in comment.
3469 (LINK_SPEC): Remove whitespace at end of line.
3471 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3473 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
3475 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3477 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
3478 macros for the supported debugging types.
3480 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
3483 * config/i386/i386.c (print_operand): Verify that the
3484 argument to %c is a constant and not a conditional which
3485 needs to be reversed.
3487 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
3489 * emit-rtl.c (gen_lowpart_common): Fix conversion of
3490 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
3491 of low part of those arrays for 32bit and 64bit hosts.
3493 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3495 * Makefile.in (insn-output.o): Depend on insn-codes.h.
3497 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3499 * configure.in (target_list): Add generated-manpages.
3500 * configure: Regenerate.
3501 * Makefile.in (generated-manpages): Depend on
3502 lang.generated-manpages.
3503 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
3505 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
3507 * config/arm/crti.asm (_init): Add .thumb_func if compiled
3509 (_fini): Add .thumb_func if compiled with -mthumb.
3511 2001-11-28 Eric Christopher <echristo@redhat.com>
3513 * config/mips/mips.c (override_options): Fix thinko in mips_tune
3514 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
3516 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
3518 * alpha.md (tablejump): Use pic_offset_table_rtx
3519 instead of gen_rtx_REG.
3521 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
3523 * expr.c (store_expr): When copying a string constant into an
3524 array, reset the known alignment of the MEM for the section to
3525 be cleared to BITS_PER_UNIT.
3527 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3529 * config/cris/cris.c: Remove whitespace at end of line.
3531 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
3533 * config.gcc (i[34567]86-*-interix3*): New case.
3534 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
3537 2001-11-28 Richard Henderson <rth@redhat.com>
3539 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
3540 symbolic_operand as the predicate.
3542 2001-11-28 Richard Henderson <rth@redhat.com>
3544 * doloop.c (doloop_modify_runtime): Properly select induction
3545 variable; skip late entry test if biv initializer created by loop.
3547 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3549 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
3550 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
3552 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
3554 * tree.h: Add missing checks on some macros; make formatting more
3557 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
3558 level; only add to pending_sizes if find it.
3560 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
3562 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
3563 Add casts to remove warnings.
3565 * Makefile.in (OBJS): Sort alphabetically.
3567 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
3568 Also minor cleanups.
3570 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
3572 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
3573 (FLAGS_TO_PASS): Add STAGE_PREFIX.
3574 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
3577 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
3579 * cse.c (true_dependence_in_rtx): New function.
3580 (invalidate): Use it.
3582 * c-common.h (GOTO_FAKE_P): New macro.
3583 * tree-inline.c (GOTO_FAKE_P): Set.
3584 * c-tree.texi (GOTO_FAKE_P): Document.
3586 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
3587 containing pointers.
3588 (output_addressed_constants): Check for local/external relocations.
3589 * elfos.h (SELECT_SECTION): Classify data section.
3590 * tm.texi (SELECT_SECTION): Update documentation.
3592 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
3593 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
3595 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3597 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
3598 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
3601 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3603 * config/cris/cris.c: Tweak spacing for prototypes.
3604 (LOSE_AND_RETURN): New macro.
3605 (cris_operand_lossage): New function.
3606 (cris_print_index, cris_print_base): Use cris_operand_lossage
3607 rather than fatal_insn.
3608 (cris_print_operand, cris_print_operand_address): Use
3609 LOSE_AND_RETURN rather than fatal_insn and internal_error.
3610 (cris_output_addr_const): Use LOSE_AND_RETURN and
3611 output_operand_lossage rather than fatal_insn and internal_error
3612 for valid but unexpected rtx expressions.
3614 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
3615 for a SUBREG in src or dest, abort instead.
3617 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3619 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
3622 2001-11-27 Jakub Jelinek <jakub@redhat.com>
3624 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
3625 preprocessor define. If only DBX_DEBUGGING_INFO or only
3626 DWARF2_DEBUGGING_INFO is supported for the target, provide
3627 appropriate definitions.
3629 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3631 * Makefile.in: Update, and add c-objc-common.o dependencies.
3632 * c-lang.c: Remove unnecessary includes.
3633 (c_init): Move bulk of code to c_objc_common_init, and call it.
3634 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
3635 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
3637 * c-objc-common.c: New. Mostly pulled from c-lang.c.
3638 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
3639 c_objc_common_init, c_missing_noreturn_ok_p): New.
3640 * toplev.c: Update comment.
3641 * doc/passes.texi: Update.
3643 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
3644 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
3645 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
3646 (objc_init): Update to use c_objc_common_init.
3648 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3650 * cpphash.c (_cpp_init_hashtable): Update.
3651 * cpphash.h (struct spec_nodes): Remove n_L.
3652 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
3654 2001-11-17 Richard Henderson <rth@redhat.com>
3656 * unroll.c (loop_iterations): Move last change ...
3657 * doloop.c (doloop_modify_runtime): ... here.
3659 2001-11-17 Corey Minyard <minyard@acm.org>
3660 Richard Henderson <rth@redhat.com>
3662 * unroll.c (loop_iterations): Detect one situation in which we
3663 overestimate the number of iterations.
3665 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3667 * gcc.c (set_input): Export.
3668 Move declaration ...
3669 gcc.h (set_input): ... here.
3671 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3673 * gcc.c (set_collect_gcc_options): New function, split out from
3675 Ignore elided switches.
3676 (do_spec): Invoke before executing command.
3677 (do_spec_1): Likewise.
3678 Fixes PR other/3968.
3680 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
3682 * config/cris/cris.h (INT_ASM_OP): Remove.
3684 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3686 * config/i386/sol2.h (WINT_TYPE): Redefine.
3687 (WINT_TYPE_SIZE): Likewise.
3689 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3691 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
3692 (dup2): Make static and add prototype.
3693 * m68k/plexus.h: Don't define NO_DUP2.
3694 * configure.in (AC_CHECK_FUNCS): Add dup2.
3695 * config.in, configure: Regenerate.
3697 * ia64/aix.h (REG_SIZE): Don't #undef.
3698 * sparc.h (REG_SIZE): Delete.
3699 * flow.c (mark_used_regs): Don't use REG_SIZE.
3700 * regs.h (REG_SIZE): Delete.
3702 2001-11-27 Andreas Schwab <schwab@suse.de>
3704 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
3705 PREFERRED_DEBUGGING_TYPE.
3707 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3709 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
3710 (expr.o, varasm.o): Depends on langhooks.h.
3711 * c-common.c (c_safe_from_p): Always declare.
3712 (c_expand_expr): Refine when declared.
3713 * c-lang.c (c-common.h): Now include.
3714 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
3715 (c_init): Don't set lang_safe_from_expr.
3716 * expr.c (langhooks.h): Now include.
3717 (lang_safe_from_p): No longer define.
3718 (safe_from_p): Use lang hook.
3719 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
3720 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
3721 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
3722 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
3723 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
3724 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
3725 * langhooks.h (struct lang_hooks): New fields expand_constant
3727 * output.h (output_constant): Size arg is HOST_WIDE_INT.
3728 * stmt.c (expand_decl_init): No longer need to expand constant
3730 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
3731 * toplev.c (lang_expand_constant): Delete var.
3732 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
3733 operations on SAVE_EXPR.
3734 * varasm.c (langhooks.h): Now include.
3735 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
3736 (record_constant_1, output_addressed_constants): Likewise.
3737 (initializer_constant_valid_p, output_constant): Likewise.
3738 (output_constant_def): Process no-defer of string constant.
3739 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
3740 (output_constant): Strip more conversions.
3741 Track our size and pad for the rest.
3742 (array_size_for_constructor): Remove code for non-byte STRING_CST.
3743 (output_constructor): SIZE now HOST_WIDE_INT.
3745 2001-11-27 Richard Henderson <rth@redhat.com>
3747 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
3750 2001-11-27 Zack Weinberg <zack@codesourcery.com>
3752 * cppfiles.c (read_include_file): Add comment.
3754 2001-11-26 Richard Henderson <rth@redhat.com>
3756 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
3758 2001-11-26 Richard Henderson <rth@redhat.com>
3760 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
3761 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
3762 commented out override.
3764 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3766 * cppfiles.c (stack_include_file): Don't optimize zero-length
3768 (read_include_file): NUL-terminate read files.
3769 * cpplex.c (handle_newline, skip_escaped_newlines,
3770 get_effective_char, skip_whitespace, parse_identifier,
3771 parse_identifier_slow, parse_number, parse_string,
3772 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
3774 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
3775 Be sure buffers are NUL terminated.
3776 * cppmacro.c (warn_of_redefinition): Kill compile warning.
3778 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3780 * c-common.c: Include tree-inline.h.
3781 (c_language): Move separate definitions here.
3782 (c_common_init_options, c_common_post_options): New.
3783 (c_common_lang_init): Rename c_common_init.
3784 * c-common.h (c_common_lang_init): Similarly.
3785 (c_common_init_options, c_common_post_options): New.
3786 * c-lang.c (c_post_options): Move body to c_common_post_options.
3787 (c_init_options): Use c_common_init_options.
3789 * langhooks.def: Rearrange.
3790 * langhooks.h: Rearrange, and improve comments.
3791 * toplev.c (do_compile): New function.
3792 (toplev_main): Use it.
3793 (lang_independent_f_options, parse_options_and_default_flags,
3794 process_options): Remove trailing periods.
3795 * Makefile.in: Update.
3796 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
3798 (ojbc_init): Update.
3800 2001-11-26 Richard Henderson <rth@redhat.com>
3802 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
3804 2001-11-26 DJ Delorie <dj@redhat.com>
3806 * expr.c (store_constructor): Actually use the value computed
3807 if WORD_REGISTER_OPERATIONS.
3809 2001-11-26 Richard Henderson <rth@redhat.com>
3811 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
3814 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3816 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
3817 correct function on AIX.
3819 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
3821 * toplev.c (process_options): Don't force
3822 flag_optimize_sibling_calls to zero just because exceptions are
3825 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
3827 * df.h (transfer_function_sbitmap): Use PARAMS around argument
3828 list in function prototypes.
3829 (transfer_function_bitmap): Likewise.
3831 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
3833 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
3834 * config/i386/netbsd-elf.h: Likewise.
3836 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3838 * doc/trouble.texi: Remove outdated RS/6000 comments.
3840 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
3842 * final.c (walk_alter_subreg): Fix return value.
3844 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
3846 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
3848 * sparc.md (post-reload splitters): Do not call alter_subreg.
3849 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
3851 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
3853 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
3855 2001-11-26 Alan Modra <amodra@bigpond.net.au>
3857 * final.c: (insn_lengths): Make it an int *, so that large jump
3858 tables don't overflow.
3860 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3862 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
3863 (format_types): Use it for scanf.
3864 (dollar_arguments_pointer_p): New.
3865 (init_dollar_format_checking): Store details of which arguments
3867 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
3868 (finish_dollar_format_checking): Take extra parameter
3869 pointer_gap_ok. Treat unused arguments differently if
3870 pointer_gap_ok and the unused arguments are pointers.
3871 (check_format_info_main): Pass extra argument to
3872 finish_dollar_format_checking.
3873 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
3874 unused arguments are present between used arguments with operand
3877 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
3879 * df.c: Add prototypes for hybrid_search_bitmap and
3880 hybrid_search_sbitmap.
3881 (hybrid_search_bitmap): New function.
3882 (hybrid_search_sbitmap): New function.
3883 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
3884 (iterative_dataflow_bitmap): Ditto.
3886 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3888 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
3889 address computations.
3891 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3893 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
3894 register b (low part of d).
3896 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3898 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
3901 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
3903 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
3904 * config/alpha/x-vms: New file, to compile the above.
3905 * config.gcc (alpha*-dec-vms*): Add x-vms.
3907 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
3909 * genextract.c (main): Set ro_loc for peepholes.
3911 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
3913 * fix-header.c (main): Move inf_buffer termination and inf_limit
3914 calculation to after read.
3916 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
3917 (__UNIX_FOPEN): Define.
3919 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3921 * function.c (assign_stack_temp_for_type): Clear alias set before
3924 2001-11-23 David Edelsohn <edelsohn@gnu.org>
3926 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
3928 * rs6000.md (cmptf): Fix typo.
3930 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
3932 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
3933 * varasm.c (output_constructor): Use assemble_integer rather
3934 than ASM_OUTPUT_BYTE.
3936 2001-11-23 Andreas Jaeger <aj@suse.de>
3938 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
3941 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
3943 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
3945 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
3946 (MULTILIB_DEFAULTS): Remove previous definition.
3948 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
3950 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
3951 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
3953 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3955 * cris.h: Revert thinko in last patch.
3957 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
3959 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
3960 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
3961 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
3962 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
3963 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
3964 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
3966 * predict.c, reg-stack.c: Fix spelling errors.
3968 2001-10-09 Andrew Haley <aph@redhat.com>
3970 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
3971 start of stack slot.
3973 2001-11-22 Graham Stott <grahams@redhat.com>
3975 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
3976 replacement jump after original jump.
3978 (verify_flow_info): Remove redundent initialisation.
3979 Handle reaching end of insn list before finding a BARRIER.
3980 Only issue one missing barrier diagnostic.
3982 2001-11-22 Graham Stott <grahams@redhat.com>
3984 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
3986 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3988 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
3991 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
3993 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
3994 Fix typo -mm32rx=> -m32rx.
3996 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
3999 * config.gcc (xscale-coff): Add necessary header files to
4002 2001-11-20 Zack Weinberg <zack@codesourcery.com>
4004 * rs6000.c (output_cbranch): Use $, not %$, in output template.
4006 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4008 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
4009 (lang_type_quals): Declare.
4010 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
4011 retrieve language-specific qualifiers for a type node, instead of
4012 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
4014 * tree-dump.h: Rename from c-dump.h.
4015 * c-common.h (C_TYPE_QUALS): Removed.
4016 Move declarations for tree-dump.c interface to...
4017 * tree.h: ... here. Remove lang_dump_tree.
4018 * langhooks.h (struct lang_hooks_for_tree_dump): New.
4019 (struct lang_hooks): Add tree_dump hooks.
4020 * langhooks.c (lhd_tree_dump_dump_tree): New function.
4021 (lhd_tree_dump_type_quals): New function.
4022 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
4024 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
4025 * Makefile.in: Move tree-dump.o to language-independent back-end.
4027 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4029 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
4030 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
4031 * arc.h (DBX_REGISTER_NUMBER): Likewise.
4032 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
4033 * avr.h (DBX_REGISTER_NUMBER): Likewise.
4034 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
4035 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
4036 * convex.h (DBX_REGISTER_NUMBER): Likewise.
4037 * cris.h (DBX_REGISTER_NUMBER): Likewise.
4038 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
4039 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
4040 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
4041 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
4042 * i370.h (DBX_REGISTER_NUMBER): Likewise.
4043 * i860.h (DBX_REGISTER_NUMBER): Likewise.
4044 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
4045 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
4046 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
4047 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
4048 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
4049 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
4050 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
4051 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
4052 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
4053 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
4054 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
4055 * romp.h (DBX_REGISTER_NUMBER): Likewise.
4056 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
4057 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
4058 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
4059 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
4060 * v850.h (DBX_REGISTER_NUMBER): Likewise.
4061 * vax.h (DBX_REGISTER_NUMBER): Likewise.
4062 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
4064 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
4065 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
4067 2001-11-21 H.J. Lu <hjl@gnu.org>
4069 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
4071 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4073 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
4074 emit_cmp_and_jump_insns.
4076 * stormy16.c (xstormy16_expand_builtin_va_arg,
4077 xstormy16_expand_casesi): Likewise.
4079 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4081 * function.c (keep_stack_depressed): Major rework.
4082 (handle_epilogue_set, emit_equiv_load): New functions.
4083 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
4085 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
4086 * rtl.h (SET_IS_RETURN_P): New macro.
4088 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
4089 and also support TREE_ADDRESSABLE.
4090 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
4092 2001-11-21 David Edelsohn <edelsohn@gnu.org>
4094 * rs6000.md (cmptf_internal1): Replace %$ with $.
4096 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
4098 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
4099 (read_include_file): Use STAT_SIZE_TOO_BIG.
4101 * cppinit.c (INO_T_COPY): Define.
4102 (INO_T_EQ): Uppercase parameters.
4103 (append_include_chain): Use INO_T_COPY.
4105 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
4107 * cfg.c: Fix typos and formatting in the introductory comment.
4109 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
4111 * profile.c (compute_branch_probabilites): Compute probabilities
4112 for entry/exit edges; estimate probabilities for zero counts.
4114 2001-11-21 Jakub Jelinek <jakub@redhat.com>
4116 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
4117 to emit_library_call.
4118 * function.c (expand_main_function, expand_function_start,
4119 expand_function_end): Likewise.
4120 * profile.c (output_func_start_profiler): Likewise.
4121 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
4122 second argument to emit_library_call.
4123 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
4124 as second argument to emit_library_call.
4125 * calls.c (emit_library_call): Update fn_type description.
4127 2001-11-21 Jakub Jelinek <jakub@redhat.com>
4129 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
4130 if fndecl is still DECL_INLINE and has DECL_RESULT.
4132 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4134 * clipper.c (clipper_movstr): Avoid uninitialized warning.
4135 * i960.c (is_mask, legitimize_address): Likewise.
4136 * m88k.c (m88k_expand_prologue): Likewise.
4137 * m88k.md: Likewise.
4138 * mcore.c (emit_new_cond_insn): Likewise.
4139 * stormy16.c (xstormy16_emit_cbranch): Likewise.
4141 2001-11-20 Zack Weinberg <zack@codesourcery.com>
4143 * config.gcc: Delete powerpcle-*-solaris2* stanza.
4144 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
4145 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
4146 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
4147 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
4148 config/rs6000/t-ppcos: Expunge all references to Solaris.
4150 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
4152 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
4154 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
4155 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
4157 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4159 * sh.md: Avoid uninitialized warnings.
4160 * vax.c (vax_rtx_cost): Likewise.
4162 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
4164 * rs6000.c (direct_return): Check if we are saving altivec
4166 (first_altivec_reg_to_save): New.
4167 Updated stack frame layout comments.
4168 (rs6000_stack_info): Calculate altivec register save size.
4169 Save link register if we saved some altivec registers.
4170 (rs6000_stack_info): Align save size to 16 if altivec abi or
4172 (rs6000_stack_info): Calculate altivec register offsets.
4173 (rs6000_stack_info): Add altivec info to save_size.
4174 (debug_stack_info): Add altivec debug info.
4175 (rs6000_emit_prologue): Save altivec registers and vrsave.
4176 (compute_vrsave_mask): New.
4177 (altivec_expand_builtin): Remove unused variables.
4178 (rs6000_parse_abi_options): Add static qualifier.
4179 (rs6000_expand_builtin): Remove unused parameters.
4180 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
4181 (altivec_init_builtins): Same.
4182 (is_altivec_return_reg): New.
4183 (vrsave_operation): New.
4184 (ALTIVEC_REG_BIT): New.
4185 (generate_set_vrsave): New.
4187 * rs6000.md (get_vrsave): New.
4189 (*set_vrsave_internal): New.
4191 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
4192 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
4193 altivec_padding_size, vrsave_mask.
4194 (TOTAL_ALTIVEC_REGS): New.
4195 (EPILOGUE_USES): Add VRSAVE_REGNO.
4197 2001-11-20 Jeff Law <law@redhat.com>
4199 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
4200 exit label as necessary.
4202 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
4204 * reload1.c (elimination_effects): Use function_invariant_p
4205 instead of CONSTANT_P when considering register equivalences.
4207 2001-11-20 David O'Brien <obrien@FreeBSD.org>
4209 * config.gcc: Add FreeBSD/PowerPC target.
4210 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
4211 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
4212 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
4213 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
4214 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
4215 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
4216 freebsd-spec.h to tm_file.
4217 (rs6000-*-lynxos*): Add lynx.h to tm_file.
4218 * config/freebsd.h: Tidy up.
4219 (USING_CONFIG_FREEBSD): Define.
4220 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
4221 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
4222 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
4223 (TARGET_HAS_F_SETLKW): Define.
4224 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
4225 * config/freebsd-spec.h: New file.
4226 * config/rs6000/freebsd.h: New file.
4227 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
4228 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
4229 USING_SVR4_H to know when to turn on ELF support.
4230 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
4231 define only if not already defined.
4232 Add FreeBSD support.
4233 * config/rs6000/aix.h (TARGET_VERSION): Define.
4234 * config/rs6000/beos.h: Likewise.
4235 * config/rs6000/darwin.h: Likewise.
4236 * config/rs6000/mach.h: Likewise.
4237 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
4238 Don't include lynx.h directly.
4240 2001-11-20 Graham Stott <grahams@redhat.com>
4242 * unwind-dw2-fde.c (__deregister_frame_info_bases):
4243 Fix lossage in last change return OB.
4245 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
4247 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
4248 Remove unneeded exit related macros.
4250 2001-11-20 David Edelsohn <edelsohn@gnu.org>
4252 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
4254 * rs6000.c (rs6000_emit_move): Add TFmode case.
4255 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
4256 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
4257 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
4258 * rs6000.h: ... to here.
4259 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
4260 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
4261 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
4263 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4265 * emit-rtl.c (get_mem_attrs): Fix typo.
4267 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4269 * c-lang.c (finish_file): Backout 2001-11-16
4270 changes, instead set DECL_DEFER_OUTPUT for static inline functions
4271 before calling c_expand_deferred_function.
4273 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4275 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
4276 Don't register empty .eh_frame sections.
4277 (__deregister_frame_info_bases, __deregister_frame): Don't
4278 unregister them either.
4280 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4282 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
4283 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
4284 * configure: Regenerate.
4285 * config.in: Add dummy definitions of new flags.
4286 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
4287 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
4288 * gcc.c (ASM_DEBUG_SPEC): New macro.
4289 (asm_debug): New static variable.
4290 (default_compilers): Add asm_debug when assembling from
4292 (static_specs): Add asm_debug.
4294 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
4296 * config.gcc (*-*-freebsd*): Remove configuration block.
4298 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4301 * configure.in: Setup ability to run ./stage[1234]/xgcc in
4302 fixinc *as if* it were a proper lang subdirectory.
4303 * configure: Rebuilt.
4305 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4307 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
4309 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4311 * 1750a.md: Don't use hex format for a const_int.
4313 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4315 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
4317 2001-11-19 Zack Weinberg <zack@codesourcery.com>
4319 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
4320 defined (prevents link errors when gettext isn't in the system
4323 2001-11-19 DJ Delorie <dj@redhat.com>
4325 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
4326 (validate_const_int): New.
4327 (read_rtx): Validate constant integers.
4328 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
4330 2001-11-19 Jakub Jelinek <jakub@redhat.com>
4332 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
4334 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
4336 * toplev.c (DUMPFILE_FORMAT): Define default.
4337 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
4338 (close_dump_file, compile_file): Likewise.
4339 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
4340 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
4342 2001-11-19 Jeff Law <law@redhat.com>
4344 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
4347 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
4349 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
4350 Don't fall off the base token run.
4352 2001-11-19 Jason Wilkins <fenix@io.com>
4354 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
4356 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4358 * tree.def (VIEW_CONVERT_EXPR): New tree code.
4359 * tree.h (handled_component_p): New declaration.
4360 * alias.c (handled_component_p): Move function from here ...
4361 * expr.c (handled_component_p): ... to here and non longer static.
4362 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
4363 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
4364 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
4365 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
4366 (expand_expr, case VIEW_CONVERT_EXPR): New case.
4367 (expand_expr, cse ADDR_EXPR): No need to copy if already
4369 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
4370 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
4371 (output_constant): Handle VIEW_CONVERT_EXPR.
4372 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
4373 Add new case for VIEW_CONVERT_EXPR.
4375 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4377 * a29k/unix.h (ASM_FILE_START): Const-ify.
4378 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
4379 * i386/isc.h (ASM_FILE_START): Const-ify.
4380 * i386/sun386.h (ASM_FILE_START): Likewise.
4381 * m32r.md: Likewise.
4382 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
4383 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
4384 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
4385 * mn10200.md: Initialize variable.
4387 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
4389 * gcse.c (try_replace_reg): Copy RTX before creating note.
4391 * df.h (df_ref_flags): New uenum.
4392 (DF_REF_FLAGS): New macro.
4393 (struct ref): Add field "flags".
4394 * df.c (HANDLE_SUBREG): Remove.
4395 (df_ref_create): Likewise; set flags field of ref.
4396 (df_def_record_1): Strip down read_write subreg; remove
4397 commented out code; set READ_WRITE flag.
4398 (read_modify_subreg_p): New static function.
4399 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
4400 new argument "flags".
4401 (df_insn_refs_record): Update call of df_uses_record.
4402 (df_insn_modify): Avoid #if 0 around comment.
4403 (df_dump): Dump the read/write flag.
4405 * predict.c (propagate_freq): Make cyclic_probability and frequency
4408 * i386.c (ix86_cc_mode): Accept USE.
4410 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
4411 jump is turned into simplejump.
4413 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4415 * doc/fragments.texi, doc/trouble.texi: Remove links to old
4416 installation chapter.
4417 * doc/gcc.texi: Don't claim that this manual documents
4418 installation. Mark Installation menu entry as being out of date.
4420 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
4422 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
4423 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
4424 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
4426 2001-11-19 Jason Merrill <jason@redhat.com>
4428 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
4429 cur_token, not after.
4431 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
4432 Lose ASM_OUTPUT_CONSTRUCTOR.
4433 * system.h: Poison it and INT_ASM_OP.
4434 * c-lang.c (finish_file): Don't check for it.
4435 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
4437 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4439 * mmix.c (mmix_cc1_ignored_option): Const-ify.
4440 (mmix_init_machine_status): Make static to match declaration.
4441 (mmix_unique_section): Const-ify.
4442 (mmix_output_quoted_string): Avoid automatic aggregate
4444 (mmix_output_register_setting): Likewise.
4445 (mmix_output_shiftvalue_op_from_str): Likewise.
4447 * mmix.h (mmix_cc1_ignored_option): Const-ify.
4448 (ASM_OUTPUT_BYTE): Fix format specifier warning.
4449 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4451 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4454 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
4455 name __objc_thread_exit_status so that it matches the
4456 variable defined in objc/thr.h.
4458 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4461 * mklibgcc.in: Add missing semi-colons.
4462 * Makefile.in: Same.
4464 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4466 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
4467 after re-laying out decl in incomplete case.
4468 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
4470 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4472 * doc/install-old.texi: Move some sections out to ...
4473 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
4474 ... here. New files. Make into chapters rather than sections.
4475 * doc/gcc.texi: Include the new files and add menu entries for
4477 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4479 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4481 * tree.h (TYPE_ALIGN_OK): New flag.
4482 * emit-rtl.c (set_mem_attributes): Handle it.
4483 * expr.c (emit_single_push_insn): Only set to alias set 0 if
4484 doing sibcall optimization.
4485 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
4486 when make temporary.
4487 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
4488 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
4490 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
4492 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4494 * c-decl.c (c_decode_option): Give deprecation warning for
4496 * doc/invoke.texi (-traditional): Note that this option is
4499 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
4501 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
4502 arg to HOST_WIDE_INT, not long.
4504 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
4505 (HAS_INIT_SECTION): Define.
4506 (REAL_ARITHMETIC): Don't undefine.
4508 2001-11-18 Egor Duda <deo@logos-m.ru>
4510 * config/i386/cygwin.h: Strip leading '*' from name, if any.
4512 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
4514 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
4515 * c-common.c: Include diagnostic.h.
4516 (c_common_finish): New.
4517 * c-common.h (c_common_finish): New.
4518 * c-lang.c (LANG_HOOKS_FINISH): Override.
4519 * c-parse.in: Don't include diagnostic.h.
4520 (finish_parse): Remove.
4521 * langhooks.h: Update comments.
4522 * toplev.c (lang_dependent_init): New prototype.
4524 (compile_file): Split cleanup code out to finalize.
4525 (lang_dependent_init): Stop if lang_hooks.init fails.
4526 (toplev_main): Update.
4527 * tree.h (finish_parse): Remove.
4529 * objc-act.c (LANG_HOOKS_FINISH): Override.
4531 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
4533 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
4534 * config/alpha/vms_tramp.asm: New file.
4535 * config/alpha/vms-tramp.asm: Removed.
4537 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4539 * c-common.c (struct disabled_builtin, disabled_builtins,
4540 disable_builtin_function, builtin_function_disabled_p): New.
4541 (builtin_function_2): Check for disabled built-in functions.
4542 * c-common.h (disable_builtin_function): Declare.
4543 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
4544 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
4545 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
4547 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
4550 * config.gcc: Remove reference to va-clipper.h.
4552 2001-11-17 Stan Shebs <shebs@apple.com>
4554 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
4555 AltiVec-related bitfields.
4557 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4559 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
4560 (mark_eh_region, case ERT_UKNONW): New case.
4562 2001-11-17 Christopher Faylor <cgf@redhat.com>
4563 Corinna Vinschen <vinschen@redhat.com>
4565 * config/i386/cygwin.h: Search target specific include directory for
4566 w32api stuff, if appropriate.
4568 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
4570 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
4572 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
4574 * config/rs6000/rs6000.md: Change all ldvx to lvx.
4576 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
4578 * gensupport.c (process_rtx): Don't assume filename is the first
4579 argument of any rtl.
4581 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4583 * vax-protos.h (reg_was_0_p): New prototype.
4584 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
4585 * vax.c (follows_p, reg_was_0_p): New functions.
4587 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4589 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
4590 (casesi1): Likewise. Define new pattern which arises by simplification
4591 when operand 1 is a constant int. Correct pattern which arises by
4592 simplification when operand 1 is zero.
4594 2001-11-16 David O'Brien <obrien@FreeBSD.org>
4596 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
4597 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
4598 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
4599 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
4600 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
4601 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
4602 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
4603 * config/arm/aof.h: Don't include arm.h.
4604 * config/arm/aout.h: Likewise.
4605 * config/arm/coff.h: Don't include semi.h and aout.h.
4606 * config/arm/elf.h: Don't include aout.h.
4607 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
4608 (TARGET_VERSION): Undef before defining.
4609 (ARM_OS_NAME): Likewise
4610 (TARGET_DEFAULT): Likewise
4611 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
4612 * config/arm/pe.h: Don't include arm/coff.h.
4613 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
4614 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
4615 * config/arm/riscix1-1.h: Likewise.
4616 * config/arm/rix-gas.h: Don't include riscix.h.
4617 (DBX_CONTIN_LENGTH): Undef before defining.
4618 * config/arm/semi.h: Don't include aout.h.
4619 * config/arm/semiaof.h: Don't include aof.h.
4620 * config/arm/strongarm-coff.h: Don't include coff.h.
4621 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
4622 * config/arm/vxarm.h: Don't include arm/coff.h.
4623 * config/arm/xscale-coff.h: Don't include coff.h.
4625 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4627 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
4630 2001-11-16 Andreas Jaeger <aj@suse.de>
4632 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
4634 (fixup_fallthru_exit_predecessor): ... this.
4635 Change callers and prototype.
4637 2001-11-16 Bernd Schmidt <bernds@redhat.com>
4639 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
4640 hand; don't use gen_setcc_2.
4641 (ix86_expand_builtin): Fix pshufw.
4642 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
4643 case UNORDERED to emit the right assembler instruction.
4644 (mmx_pshufw): Lose operand 2.
4645 (cvtsi2ss): Fix representation.
4647 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
4649 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
4651 * doc/include/linux-and-gnu.texi: Remove.
4652 * doc/gnu.texi: New.
4653 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
4654 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4656 2001-11-16 Kazu Hirata <kazu@hxi.com>
4658 * config/a29k/a29k.c: Fix comment formatting.
4659 * config/a29k/a29k.h: Likewise.
4660 * config/arc/arc.c: Likewise.
4661 * config/arc/arc.h: Likewise.
4662 * config/vax/vax.c: Likewise.
4663 * config/vax/vax.h: Likewise.
4664 * config/we32k/we32k.c: Likewise.
4665 * config/we32k/we32k.h: Likewise.
4667 2001-11-16 Jeff Law <law@redhat.com>
4669 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
4670 creating a new jump insn.
4672 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4674 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
4675 copy misaligned data.
4676 * varasm.c (assemble_variable): Set alignment into MEM when changed.
4678 2001-11-16 Graham Stott <grahams@redhat.com>
4680 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
4683 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
4685 * except.c: Support for catching a list of types with a single handler
4686 (struct eh_region): Change type and filter to lists for catch regions.
4687 (mark_eh_region): Mark the filter list for GC also.
4688 (expand_start_catch): Always build a list if argument not NULL and
4689 register each type of the list through add_type_for_runtime.
4690 (duplicate_eh_region_1): Change type into type_list for catch regions.
4691 (assign_filter_values): Assign a filter to each type associated with a
4692 catch region. Assign filter for NULL types in a unique entry in the
4694 (build_post_landing_pads): Emit compare and jump for each filter of
4695 the list associated with a catch region.
4696 (reachable_next_level): When the type thrown is known, stop the search
4697 as soon as one type within a catch list matches. Also, a handler is
4698 potentially reachable only if at least one of the types it catches
4699 has not been previously caught.
4700 (collect_one_action_chain): Retrieve the filter for a NULL type list
4701 from the first filter list entry. For non NULL type lists, add an
4702 action record for every filter assigned.
4703 * except.h: Reflect changes in comment before expand_start_catch.
4705 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4707 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
4710 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
4712 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
4714 2001-11-16 Jakub Jelinek <jakub@redhat.com>
4716 * c-lang.c (finish_file): Don't emit static inline functions if
4717 they weren't referenced.
4719 2001-11-15 Stan Shebs <shebs@apple.com>
4721 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
4723 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4725 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
4727 * config/i386/i386.md: Likewise.
4729 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4731 * timevar.c (rtl.h): Include so get fancy abort.
4733 2001-11-15 Dale Johannesen <dalej@apple.com>
4735 * config/darwin.h (SELECT_RTX_SECTION): Force address
4736 initializers into 'const' section
4737 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
4738 if_then_else to match result, not operands
4740 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4742 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
4743 * emit-rtl.c (change_address): Fix typo in default alignment.
4744 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
4745 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
4746 * rtl.h (REGNO_PTR_FRAME_P): New macro.
4748 * expr.c (store_field): Pass tree instead of max size; callers changed.
4749 Change handling of alignment.
4750 Only copy to_rtx if is TARGET.
4751 (expand_expr_unaligned): Delete; callers now use expand_expr.
4752 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
4753 (expand_assignment): Change handling of alignment.
4754 Only copy to_rtx if was original.
4755 (get_inner_reference): No longer return alginment; callers changed.
4756 (expand_expr, case COMPONENT_REF): Change handling of alignment.
4757 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
4758 (compare_from_rtx): Delete ALIGN parm; all callers changed.
4759 (do_compare_rtx_and_jump): Likewise.
4760 * expr.h: Reflect above changes.
4762 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
4763 to get_inner_reference.
4764 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
4765 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
4766 * optabs.c: Likewise.
4767 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
4768 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
4769 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
4770 compare_rtx_and_jump, and emit_cmp_jump_insns.
4771 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
4772 * function.c (assign_stack_temp_for_type): No longer static.
4773 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
4774 (prepare_cmp_insn): Delete declaration.
4775 * rtl.h (assign_stack_temp_for_type): Add declaration.
4776 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
4777 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
4778 * config/i386/i386.c,config/mips/mips.c: Likewise.
4779 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
4780 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
4782 2001-11-15 Stan Shebs <shebs@apple.com>
4784 * config/rs6000/rs6000.h: Fix a comment typo.
4785 (RTX_COSTS): Sort processor versions better.
4787 2001-11-15 Kazu Hirata <kazu@hxi.com>
4789 * config/h8300/h8300.md: Fix insn length of bit insns.
4791 2001-11-15 Jason Merrill <jason@redhat.com>
4793 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
4794 DIEs if there were errors in the source.
4796 * config/alpha/alpha-interix.h, config/alpha/elf.h,
4797 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
4798 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
4799 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
4800 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
4801 config/elfos.h, config/lynx.h, config/netware.h,
4802 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
4803 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
4804 uses to use ASM_LONG.
4806 2001-11-15 Alan Matsuoka <alanm@redhat.com>
4808 * gensupport.c process_include : Change call to alloca to
4811 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
4813 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
4816 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4818 * final.c (alter_subreg): If simplify_subreg can't do anything,
4819 handle REG ourselves and abort for others.
4821 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
4823 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
4826 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4828 * fix-header.c (read_scan_file): Update.
4830 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4832 * toplev.c (toplev_main): Don't start timing until after
4833 command-line options are parsed.
4835 2001-11-15 Andreas Schwab <schwab@suse.de>
4837 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
4838 makefile frag, not host makefile frag.
4839 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
4840 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
4842 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
4843 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
4844 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
4845 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
4846 * config/i386/t-dgux (STMP_FIXPROTO): Define.
4847 * config/x-interix: Don't define STMP_FIXPROTO and
4849 * config/t-interix: New file, define STMP_FIXPROTO.
4850 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
4851 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
4852 * config/t-svr4 (FIXPROTO_DEFINES): Define.
4853 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
4854 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
4855 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
4856 * config/m68k/t-hp3200: Renamed from x-hp3200.
4857 * config/i370/t-oe: Renamed from x-oe.
4858 * config/mips/t-iris: Renamed from x-iris.
4859 * config/pa/t-bsd: Renamed from x-pa.
4860 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
4861 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
4862 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
4863 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
4864 config/rs6000/x-cygwin: Remove files.
4866 * configure.in: Check for target objdump and use that in eh_frame
4868 * configure: Regenerated.
4870 2001-11-15 Jakub Jelinek <jakub@redhat.com>
4872 * jump.c (squeeze_notes): Return true if no real insns were found.
4873 * rtl.h (squeeze_notes): Adjust prototype.
4874 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
4875 squeeze_notes finds no real instructions, abort.
4876 (merge_blocks_move_successor_nojumps): Likewise.
4877 * loop.c (find_and_verify_loops): Likewise.
4878 * stmt.c (expand_end_case): Likewise.
4879 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
4880 find any real instructions.
4882 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
4884 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
4885 conditional jump, request updating life into for the block
4886 containing it. Fix a typo which prevented life info update.
4887 Clear blocks bitmap before using it.
4889 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4891 * c-common.c: Include c-lex.h.
4892 (c_common_lang_init): Change prototype. Call init_c_lex and
4893 init_pragma from here.
4894 * c-common.h (c_common_lang_init): Change prototype.
4895 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
4896 * c-lang.c (c_init): Change prototype. Update.
4897 (c_init_options): Update.
4898 * c-lex.c (cpp_filename): Remove.
4899 (init_c_lex): Update. Read the main file, and get the original
4901 (yyparse): Finish the command line options.
4902 * c-parse.in (c_parse_init): Call init_reswords here.
4903 (init_parse): Remove.
4904 * c-tree.h (c_init_decl_processing): New.
4905 * cpphash.c (_cpp_init_hashtable): After initializing the hash
4907 * cppinit.c (read_original_filename, cpp_finish_options): New.
4908 (cpp_create_reader): New prototype. Defer hash table initialization.
4909 (cpp_start_read): Rename cpp_read_main_file. Initialize the
4910 hash table. Get the original filename.
4911 * cpplib.h (cpp_create_reader): Update.
4912 (cpp_start_read): Remove.
4913 (cpp_read_main_file, cpp_finish_options): New.
4914 * cppmain.c (main, do_preprocessing): Update.
4915 * langhooks.h (struct langhooks): Update init prototype.
4916 * toplev.c (general_init, parse_options_and_default_flags,
4917 process_options, lang_indpendent_init, lang_dependent_init,
4918 init_asm_output): New; perform the bulk of initialization.
4919 (compile_file): Move most of initialization to above functions.
4920 (debug_hooks): Initialize statically.
4921 (set_Wunused): Relocate.
4922 (toplev_main): Move most of initialization to other init functions.
4923 Have a clear logic flow.
4924 * tree.h (init_parse, init_decl_processing): Remove.
4926 * objc-act.c (objc_init): Update prototype, combine with old
4928 (objc_init_options): Update.
4931 2001-11-15 Andreas Jaeger <aj@suse.de>
4933 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
4935 * basic-block.h: Adjust prototype.
4937 2001-11-15 Kazu Hirata <kazu@hxi.com>
4939 * config/rs6000/aix31.h: Fix comment formatting.
4940 * config/rs6000/beos.h: Likewise.
4941 * config/rs6000/darwin.h: Likewise.
4942 * config/rs6000/eabi.asm: Likewise.
4943 * config/rs6000/linux.h: Likewise.
4944 * config/rs6000/linux64.h: Likewise.
4945 * config/rs6000/lynx.h: Likewise.
4946 * config/rs6000/netbsd.h: Likewise.
4947 * config/rs6000/rs6000.c: Likewise.
4948 * config/rs6000/rs6000.h: Likewise.
4949 * config/rs6000/rs6000.md: Likewise.
4950 * config/rs6000/sol2.h: Likewise.
4951 * config/rs6000/tramp.asm: Likewise.
4952 * config/rs6000/xcoff.h: Likewise.
4953 * config/rs6000/xm-beos.h: Likewise.
4955 2001-11-14 Alan Matsuoka <alanm@redhat.com>
4957 * rtl.def (INCLUDE) : Define.
4958 * gensupport.c (init_include_reader, process_include,
4959 save_string) : New functions to implement an include facility
4961 * gensupport.h : Add prototype for init_md_reader_args.
4962 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
4963 genextract.c genflags.c genopinit.c genoutput.c
4964 genpeep.c genrecog.c: Change call to init_md_reader to
4965 init_md_reader_args.
4966 * md.texi: Document (include "path") and -I directives for RTL
4969 2001-11-14 DJ Delorie <dj@redhat.com>
4971 * integrate.c (get_hard_reg_initial_reg): New.
4972 * integrate.h (get_hard_reg_initial_reg): Prototype.
4973 * local-alloc.c (block_alloc): Don't tie pseudos that
4974 represent call-saved hard regs' initial values.
4976 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4978 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
4981 2001-11-14 Roger Sayle <roger@eyesopen.com>
4983 * fold-const.c (fold): Optimize strlen comparisons against zero.
4985 2001-11-14 David O'Brien <obrien@FreeBSD.org>
4987 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
4988 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
4989 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
4990 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
4991 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
4992 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
4993 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
4994 Include various CPU headers via tm_file. a.out based platforms now
4995 properly include sparc/aout.h. sol2.h usage now implies including
4996 elfos.h, svr4.h, and sparc/sysv4.h.
4997 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
4999 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
5000 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
5001 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
5002 Remove. They are a.out specific and belong in sparc/aout.h.
5003 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
5004 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5005 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
5007 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
5008 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
5009 Moved here from sparc/sparc.h.
5010 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
5012 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
5013 * config/sparc/lynx.h: Don't include lynx.h.
5014 (SELECT_SECTION): Do not undef.
5015 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
5016 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
5018 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
5019 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
5021 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
5022 Don't undef, there is no need.
5023 * config/sparc/splet.h (CPP_PREDEFINES): Define.
5024 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
5025 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
5026 Don't include sparc/sparc.h.
5027 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
5028 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
5029 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
5031 (TARGET_VERSION): Define.
5032 * config/sparc/vxsim.h (TARGET_VERSION): Define.
5034 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
5036 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
5037 (cfg_layout_finalize): Use it.
5038 * bb-reorder.c (HAVE_epilogue): Remove.
5039 (make_reorder_chain): Do not care special placement of
5042 * predict.c (expected_value_to_br_prob): Delete the note
5045 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
5046 measure integration time separately.
5048 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5050 * function.c (struct temp_slot): ALIGN now unsigned.
5052 2001-11-14 Kazu Hirata <kazu@hxi.com>
5054 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
5055 * config/dsp16xx/dsp16xx.h: Likewise.
5056 * config/dsp16xx/dsp16xx.md: Likewise.
5058 2001-11-14 Kazu Hirata <kazu@hxi.com>
5060 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
5061 that deals with 7-bit shifts in HImode.
5063 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
5065 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
5066 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
5067 (final_scan_insn): Update call of alter_subreg.
5068 (cleanup_subreg_operands): Likewise.
5069 (alter_subreg): Rewrite using simplify_subreg.
5070 (output_address, output_operand): Update call of alter_subreg.
5071 * output.h (alter_subreg): Update prototype.
5072 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
5073 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
5074 * Makefile.in (final.o): Add dependency on expr.h
5076 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5078 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
5080 2001-11-13 Jeff Sturm <jsturm@one-point.com>
5082 * doc/install.texi (sparc-*-linux*): Mention requirements for
5085 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
5087 * Makefile.in (POD2MAN): Don't include --section=1.
5088 (manext): Rename to man1ext. All users changed.
5091 (generated-manpages): Also depend on $(docdir)/gfdl.7,
5092 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
5093 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
5094 --section=1 in calls to $(POD2MAN).
5095 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
5096 (maintainer-clean, install, uninstall): Handle the new man pages.
5097 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
5098 (installdirs): Create man7dir.
5099 * doc/cpp.texi: Include GFDL in this manual. In the man page,
5100 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
5101 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
5102 the SEE ALSO man page section.
5103 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
5104 and fsf-funding(7) in the SEE ALSO man page section.
5105 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
5106 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
5107 * doc/include/fdl.texi, doc/include/funding.texi,
5108 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
5109 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
5111 2001-11-13 Richard Henderson <rth@redhat.com>
5113 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
5114 as appropriate for the artificial decl.
5116 2001-11-13 Richard Henderson <rth@redhat.com>
5118 * loop.c (combine_movables): Turn off combination until
5119 move_movables validation bugs are fixed.
5121 2001-11-13 DJ Delorie <dj@redhat.com>
5123 * config.gcc (powerpc|rs6000): Set default cpp options based
5124 on --with-cpu settings.
5125 * config/rs6000/softfloat.h: New.
5127 2001-11-13 Kazu Hirata <kazu@hxi.com>
5129 * config/h8300/h8300.c (shift_alg_si): Use special code for
5130 25-bit shifts on H8/S.
5131 (get_shift_alg): Generate special code for 25-bit shifts on
5134 2001-11-13 Jakub Jelinek <jakub@redhat.com>
5136 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
5137 (adjust_automodify_address_1): New.
5138 * expr.h (adjust_address, adjust_address_nv): Adjust.
5139 (adjust_automodify_address, adjust_automodify_address_nv): Define.
5140 (adjust_address_1): Update prototype.
5141 (adjust_automodify_address_1): Add prototype.
5142 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
5143 (store_by_pieces_2): Likewise.
5145 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5147 * Makefile.in (explow.o): Now depends on ggc.h.
5148 * explow.c (ggc.h): Include.
5149 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
5151 * Makefile.in (expr.o): Depends on insn-attr.h.
5152 * expr.c (insn-attr.h): New include.
5153 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
5155 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
5156 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
5157 clean up related usage in ADDR_EXPR.
5158 (expand_expr_unaligned): Likewise.
5160 * emit-rtl.c (change_address): Fix typo in alias setting.
5162 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5164 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
5166 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
5169 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
5170 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
5172 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5174 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
5175 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
5176 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
5177 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
5178 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
5179 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
5180 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
5181 sparc64-*-linux*): Include various CPU headers via tm_file.
5182 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
5183 (SELECT_SECTION): Likewise.
5184 (SELECT_RTX_SECTION): Likewise.
5185 * config/sparc/sparc_bi.h: New file.
5186 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
5187 * config/sparc/linux-aout.h: Likewise.
5188 * config/sparc/linux.h: Don't include sparc/sysv4.h.
5189 * config/sparc/linux64.h: Likewise.
5190 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5191 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
5192 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
5194 (ASM_OUTPUT_IDENT): Do not #undef.
5195 (SELECT_SECTION): Likewise.
5196 (SELECT_RTX_SECTION): Likewise.
5197 * config/sparc/liteelf.h: Don't include gofast.h.
5198 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
5199 * config/sparc/lynx.h: Don't include sparc/sparc.h.
5200 * config/sparc/pbd.h: Likewise.
5201 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
5202 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
5203 * config/sparc/rtemself.h: Don't include rtems.h.
5204 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
5205 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
5207 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
5208 * config/sparc/sol2.h: Include sparc/sparc.h directly.
5209 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
5210 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
5211 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
5212 * config/sparc/sp86x-elf.h: Don't include gofast.h.
5213 * config/sparc/splet.h: Don't include sparc/aout.h.
5214 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
5215 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
5216 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
5217 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
5218 * config/sparc/vxsparc64.h: Don't include gofast.h.
5219 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5221 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5223 * doc/standards.texi: Mention C99 TC1.
5225 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5227 * mips-protos.h (mips_output_conditional_branch): Const-ify.
5228 * mips.c (mips_output_conditional_branch): Likewise.
5230 2001-11-12 Kazu Hirata <kazu@hxi.com>
5232 * config/h8300/h8300.c (shift_alg_si): Use special code for
5233 15-bit logical shifts and 31-bit logical shifts.
5234 (get_shift_alg): Generate special code for 15-bit and 31-bit
5237 2001-11-12 Kazu Hirata <kazu@hxi.com>
5239 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
5240 doing 6-bit logical shifts on H8/S.
5241 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
5242 (get_shift_alg): Generate special code for 21-bit shifts on
5245 2001-11-12 Kazu Hirata <kazu@hxi.com>
5247 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
5250 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5252 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
5253 if both size and offset known.
5255 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5257 * config/ia64/freebsd.h: Fix misspelling.
5259 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5261 * doc/gcc.texi: Move several chapters out to ...
5262 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
5263 doc/include/linux-and-gnu.texi, doc/interface.texi,
5264 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
5265 ... here. New files.
5266 * doc/gcc.texi, doc/contrib.texi: Move section headings into
5268 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5270 2001-11-12 Kazu Hirata <kazu@hxi.com>
5272 * config/alpha/alpha-interix.h: Fix comment formatting.
5273 * config/alpha/alpha.c: Likewise.
5274 * config/alpha/alpha.h: Likewise.
5275 * config/alpha/alpha32.h: Likewise.
5276 * config/alpha/freebsd.h: Likewise.
5277 * config/alpha/unicosmk.h: Likewise.
5278 * config/alpha/vms.h: Likewise.
5280 2001-11-12 Kazu Hirata <kazu@hxi.com>
5282 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5284 2001-11-12 Jakub Jelinek <jakub@redhat.com>
5286 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
5289 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5291 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
5293 (replace_equiv_address): Call update_temp_slot_address.
5295 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
5297 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
5299 2001-11-12 Kazu Hirata <kazu@hxi.com>
5301 * config/h8300/h8300.c (shift_alg_qi): New.
5302 (shift_alg_hi): Likewise.
5303 (shift_alg_si): Likewise.
5304 (get_shift_alg): Change the type of count to unsigned int.
5307 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
5309 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
5310 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
5311 to decide whether to defer a function.
5312 (finish_function): Adjust.
5313 (c_expand_deferred_function): New function.
5314 * c-lang.c (deferred_fns): New variable.
5315 (c_init): Initialize it, and mark it as a root.
5316 (defer_fn): New function.
5317 (finish_file): Expand all deferred functions.
5318 * c-tree.h (defer_fn): Declare.
5319 (c_expand_deferred_function): Likewise.
5320 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
5321 * objc-act.c (deferred_fns): New variable.
5322 (objc_init): Initialize it, and mark it as a root.
5323 (defer_fn): New function.
5324 (finish_file): Expand all deferred functions.
5326 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5328 * alpha.c (unicosmk_special_name): Prototype.
5329 (unicosmk_ssib_name): Delete unused variable.
5330 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
5331 * alpha/vms.h (PREFIX): Undef before defining.
5332 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
5333 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
5334 controlling usage. Const-ify.
5335 (alias_number): Delete unused variable.
5336 * m32r/m32r.c (m32r_sched_init): Add missing argument.
5337 (m32r_expand_block_move): Fix uninitialized warnings.
5338 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
5339 always true' warnings.
5340 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
5341 * sh/sh.c: Include "integrate.h".
5342 (output_far_jump): Fix uninitialized warning.
5343 * final.c (shorten_branches): Avoid automatic aggregate
5345 * integrate.c (subst_constants): Likewise.
5347 2001-11-11 Kazu Hirata <kazu@hxi.com>
5349 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
5350 (get_shift_alg): Remove redundant code.
5352 2001-11-11 Kazu Hirata <kazu@hxi.com>
5354 * config/pa/milli64.S: Fix comment formatting.
5355 * config/pa/pa-64.h: Likewise.
5356 * config/pa/pa-linux.h: Likewise.
5357 * config/pa/pa-protos.h: Likewise.
5358 * config/pa/pa.c: Likewise.
5359 * config/pa/pa.h: Likewise.
5360 * config/pa/pa32-linux.h: Likewise.
5361 * config/pa/pa32-regs.h: Likewise.
5362 * config/pa/pa64-hpux.h: Likewise.
5363 * config/pa/pa64-regs.h: Likewise.
5364 * config/pa/som.h: Likewise.
5366 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5368 * doc/gcc.texi: Move several chapters out to ...
5369 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
5370 doc/service.texi, doc/standards.texi, doc/trouble.texi,
5371 doc/vms.texi: ... here. New files.
5372 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5374 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5376 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
5377 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
5378 collect2.c, combine.c, config.in, configure, configure.in,
5379 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
5380 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
5381 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
5384 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5386 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
5387 Adjust operand number in CONST_DOUBLE.
5389 * expmed.c (extract_bit_field): No longer pass in alignment.
5390 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5391 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
5393 * expr.c (store_constructor, store_constructor_field): Likewise.
5394 (store_field, emit_group_load, emit_group_store): Likewise.
5395 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
5396 (store_bit_field, extract_bit_field): Likewise.
5397 * calls.c, expr.c, function.c: Change calls to above functions.
5398 * ifcvt.c, stmt.c: Likewise.
5400 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
5401 constant and one is on frame.
5402 If know memref offset, adjust size from decl.
5404 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5406 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
5407 format specifier warning.
5408 * convex.h (ASM_OUTPUT_BYTE): Likewise.
5409 * elfos.h (ALIGN_ASM_OP): Undef before defining.
5410 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
5412 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5413 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5414 * i386-interix.h (gen_stdcall_suffix): Prototype.
5415 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5416 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5417 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5418 * i386/interix.c (gen_stdcall_suffix): Const-ify.
5419 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5420 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
5422 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5423 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5424 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5425 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5426 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5427 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5428 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5429 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
5430 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
5431 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5432 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5434 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5436 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
5437 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5438 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
5440 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
5442 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5444 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
5445 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5446 * m68k/news.h (PRINT_OPERAND): Likewise.
5447 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
5448 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5449 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5450 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
5452 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5453 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
5454 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
5455 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5456 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
5457 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
5458 PRINT_OPERAND): Likewise.
5459 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5461 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5462 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5463 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
5464 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5465 * mips.c (mips_output_external_libcall): Mark parameter with
5467 (mips_asm_file_start): Move variable into the scope where it's
5469 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5470 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5471 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
5472 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5473 * ns32k.c (print_operand): Likewise.
5474 * pa.c (print_operand, output_div_insn): Likewise.
5475 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
5476 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
5477 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
5478 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5480 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5481 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5482 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
5483 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5485 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5487 * sdbout.c (sdbout_end_epilogue): Mark parameter with
5489 * varasm.c (assemble_global): Likewise.
5491 2001-11-11 H.J. Lu <hjl@gnu.org>
5493 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
5495 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
5497 * final.c (*_MAX_SKIP): Use *_max_skip variables.
5498 * flags.h (align_loops_max_skip, align_jumps_max_skip,
5499 align_labels_max_skip): New global variables.
5500 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
5501 align_labels_max_skip): New global variables.
5502 (toplev_main): Set new variables.
5503 * i386.c (override_options): Set max_skip values.
5505 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
5507 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
5508 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
5509 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
5510 don't print an @fptr for labels either.
5511 (xstormy16_output_addr_vec): Don't print @fptr here.
5512 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
5514 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
5516 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
5517 an ANSI/ISO definitino.
5518 (ssa_const_prop): Likewise.
5520 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
5522 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
5525 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5527 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
5528 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
5529 * cppmain.c (general_init): Call hex_init.
5530 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
5532 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
5534 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
5535 of dgux.c:output_file_start().
5537 * i386/dgux.c: Delete file.
5539 2001-11-09 Richard Henderson <rth@redhat.com>
5541 * config/alpha/alpha.c (decl_in_text_section): New.
5542 (current_file_function_operand): Use it.
5543 (alpha_encode_section_info, alpha_end_function): Likewise.
5545 2001-11-07 David O'Brien <obrien@FreeBSD.org>
5547 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
5548 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
5549 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
5550 so OS specific files and use CPP_PREDEFINES for their needs.
5551 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
5552 target headers to tm_file.
5553 * config/ia64/aix.h (TARGET_VERSION): Likewise.
5554 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
5555 * config/ia64/linux.h (TARGET_VERSION): Likewise.
5556 (FUNCTION_PROFILER): Remove.
5557 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
5558 version in config/ia64/linux.h.
5559 * config/ia64/freebsd.h: New file.
5560 * config/freebsd.h: Tidy up.
5561 (_USING_CONFIG_FREEBSD): Define.
5562 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
5563 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
5564 (FBSD_STARTFILE_SPEC): Likewise.
5565 (FBSD_ENDFILE_SPEC): Likewise.
5566 (FBSD_LIB_SPEC): Likewise.
5567 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
5568 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
5569 set an ELF-improper one.
5571 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5573 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
5574 constant can be loaded in a single instruction to a register. When
5575 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
5576 depdi for insertion of most significant 32-bits on 64-bit hosts.
5577 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
5578 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
5579 * pa.md: New addmove pattern for adding constant_int to HImode
5580 register and moving result to HImode register. Remove HImode HIGH
5581 and LO_SUM patterns.
5583 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5585 * Makefile.in: Update.
5586 * c-decl.c (print_lang_decl, print_lang_type): Remove.
5587 (print_lang_identifier): Rename c_print_identifier.
5588 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5589 (print_lang_statistics, lang_print_xnode): Remove.
5590 * c-parse.in (set_yydebug): Rename c_set_yydebug.
5591 * c-tree.h (c_set_yydebug, c_print_identifier): New.
5592 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
5593 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
5594 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
5595 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5596 (LANG_HOOKS_INITIALIZER): Update.
5597 * langhooks.h (struct lang_hooks): New members.
5598 (lang_print_tree_hook): New.
5599 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
5600 * print-tree.c: Include langhooks.h.
5601 (print_node): Update.
5602 * toplev.c (decode_d_option): Update.
5603 * tree.c: Include langhooks.h.
5604 (dump_tree_statistics): Update.
5605 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
5606 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
5608 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
5609 LANG_HOOKS_SET_YYDEBUG): Override.
5610 (lang_print_xnode, print_lang_statistics): Remove.
5612 2001-11-09 Richard Henderson <rth@redhat.com>
5614 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
5615 on the symbol string.
5617 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5619 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
5620 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
5621 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
5623 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
5625 * tlink.c (recompile_files): Copy strings passed to `putenv'.
5627 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
5629 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
5630 (TYPE_READONLY): Likewise.
5632 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
5634 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
5635 don't pass --gdwarf2 to the assembler if the compiler will also
5638 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
5641 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5643 * alias.c (nonoverlapping_memrefs_p): New function.
5644 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
5646 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
5648 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
5650 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
5651 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
5652 generating altivec code.
5653 (FIXED_REGISTERS): VRSAVE is fixed.
5654 (CALL_USED_REGISTERS): VRSAVE is call used.
5656 2001-11-09 Jason Eckhardt <jle@rice.edu>
5658 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
5659 code the branch target as ".+16/.+12", but rather use labels.
5661 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
5663 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
5664 to work around limitations of certain versions of GAS.
5666 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
5667 (muldi3): Update due to SUBREG_BYTE changes.
5668 (casesi): Similarly.
5670 2001-11-09 Zack Weinberg <zack@codesourcery.com>
5672 * doc/invoke.texi: Remove comment referring to -xf77-version.
5674 2001-11-09 Kazu Hirata <kazu@hxi.com>
5676 * config/convex/convex.c: Fix comment formatting.
5677 * config/convex/convex.h: Likewise.
5679 2001-11-08 Zack Weinberg <zack@codesourcery.com>
5681 * Makefile.in (.po.pox): Look both in srcdir and builddir
5683 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
5684 to the source directory.
5686 2001-11-09 Ben Elliston <bje@redhat.com>
5687 Michael Meissner <meissner@redhat.com>
5688 Andrew MacLeod <amacleod@redhat.com>
5689 Richard Henderson <rth@redhat.com>
5690 Nick Clifton <nickc@redhat.com>
5691 Catherine Moore <clm@redhat.com>
5693 * m32r.c: Add support for m32rx processor.
5697 * m32r-protos.h: Add prototypes for m32rx functions.
5698 * doc/invoke.texi: Document -m32rx option.
5700 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5702 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
5705 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5707 * doc/install.texi2html: Use $MAKEINFO --no-split.
5709 2001-11-09 Andreas Schwab <schwab@suse.de>
5711 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
5712 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
5713 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
5714 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
5715 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
5717 2001-11-09 H.J. Lu <hjl@gnu.org>
5719 * config/mips/mips.c (mips_output_function_prologues): Cast
5720 `tsize' to long for output.
5722 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5724 * c-lang.c (LANG_HOOKS_NAME): New.
5725 (lang_hooks): Constify.
5726 (c_init_options): Update.
5727 (lang_identify): Remove.
5728 * c-parse.in (language_string): Remove.
5729 * dbxout.c: Include langhooks.h.
5730 (dbxout_symbol_location): Update.
5731 * dwarf2out.c: Include langhooks.h.
5732 (gen_compile_unit_die): Update.
5733 * dwarfout.c: Include langhooks.h.
5734 (prototyped_attribute, output_compile_unit_die): Update.
5735 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
5736 (LANG_HOOKS_INITIALIZER): Update.
5737 * langhooks.h (struct lang_hooks): New members. Constify.
5738 * stringpool.c: Don't include toplev.h.
5739 (set_identifier_size): Remove.
5740 * toplev.c (toplev_main): Initialize identifier size.
5741 (print_version): Update.
5742 * tree.h (language_string, init_lex, lang_identify,
5743 set_identifier_size): Remove.
5744 * Makefile.in: Update dependencies.
5745 * config/darwin.c: Include langhooks.h.
5746 (func_name_maybe_scoped): Update.
5747 * config/darwin.h (ASM_END_FILE): Update.
5748 * config/nextstep.h (ASM_END_FILE): Update.
5749 * config/nextstep21.h (ASM_END_FILE): Update.
5750 * config/i386/sun386.h (ASM_END_FILE): Update.
5751 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
5752 (rs6000_output_function_epilogue): Update.
5754 * objc-act.c (LANG_HOOKS_NAME): Override.
5755 (struct lang_hooks): Constify.
5756 (objc_init_options): Update.
5757 (lang_identify): Remove.
5759 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
5761 * fold-const.c (lshift_double): Honor PREC.
5762 (rshift_double): Likewise.
5764 2001-11-08 Kazu Hirata <kazu@hxi.com>
5766 * config/1750a/1750a.c: Fix comment formatting.
5767 * config/1750a/1750a.h: Likewise.
5769 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
5771 * configure.in (--enable-languages): Be more permissive about
5772 syntax. Check for empty lists better. Warn about $LANGUAGES.
5773 * configure: Regenerated.
5775 2001-11-08 Richard Henderson <rth@redhat.com>
5777 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
5779 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
5781 * config.gcc: Rename stormy16 to xstormy16.
5782 * config/stormy16/stormy-abi: Likewise.
5783 * config/stormy16/stormy16-protos.h: Likewise.
5784 * config/stormy16/stormy16.c: Likewise.
5785 * config/stormy16/stormy16.h: Likewise.
5786 * config/stormy16/stormy16.md: Likewise.
5788 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
5790 * tree.h (TYPE_VOLATILE): Add enable-checking code.
5791 (TYPE_READONLY): Likewise.
5793 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5795 * reload1.c (reload): Don't delete equiv insn if can throw.
5797 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
5798 (clear_storage): Likewise, for OBJECT.
5800 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
5802 * pa.c (emit_move_sequence): Fix SUBREG expression to
5803 use proper byte offset when extending a constant from
5806 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5808 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
5811 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5813 * explow.c (convert_memory_address, case SUBREG): Only return
5814 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
5816 2001-11-08 Richard Henderson <rth@redhat.com>
5818 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
5819 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
5820 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
5822 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
5824 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
5826 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5828 * dwarf2out.c (debug_str_hash): New.
5829 (struct indirect_string_node): New.
5830 (struct dw_val_struct): Change type of val_str to it.
5831 (DEBUG_STR_SECTION_FLAGS): Define.
5832 (add_AT_string): Push string into hashtable, increment reference
5834 (AT_string): Return string from ht_identifier.
5835 (AT_string_form): New.
5836 (free_AT): For dw_val_class_str, just decrement reference counter.
5837 (size_of_string): Remove.
5838 (size_of_die): Use AT_string_form to decide what size the string
5840 (size_of_pubnames): Use strlen instead of size_of_string.
5841 (value_format): Use AT_string_form for dw_val_class_str.
5842 (output_die): Output DW_FORM_strp strings using
5843 dw2_asm_output_offset.
5844 (indirect_string_alloc, output_indirect_string): New.
5845 (dwarf2out_finish): Emit .debug_str strings if there are any.
5847 2001-11-08 Andreas Franck <afranck@gmx.de>
5849 * configure.in: Add AC_ARG_PROGRAM to support program name
5850 transformation with --program-prefix, --program-suffix and
5851 --program-transform-name.
5852 * configure: Regenerated.
5853 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
5854 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
5855 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
5856 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
5857 program_transform_name the way suggested by autoconf.
5858 (GCC_TARGET_INSTALL_NAME): Define.
5859 (install-driver): Use the transformed target alias name.
5861 2001-11-08 Richard Henderson <rth@redhat.com>
5863 * config/mips/mips.c (save_restore_insns): Remove GP from the
5864 restore registers mask early instead of special casing it inside
5867 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
5869 * cp/decl.c (shadow_warning): New function.
5870 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
5871 and an error when a block scope decl shadows a parameter.
5873 2001-11-08 Richard Henderson <rth@redhat.com>
5875 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
5878 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
5880 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
5881 to implement floating negation on processors prior to PA 2.0.
5883 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5885 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
5886 (USE_LINKONCE_INDIRECT): Define.
5887 (dw2_output_indirect_constant_1): Try to output indirect constants
5888 into linkonce sections if possible.
5889 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
5890 (dw2_output_indirect_constants): Likewise.
5892 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5894 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
5896 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
5898 * c-decl.c (pushdecl): Remove file and line.
5899 * c-typeck.c (pop_init_level): Remove size.
5901 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5903 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
5906 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
5907 (TARGET_ALTIVEC): New.
5908 (TARGET_SWITCHES): Add altivec.
5909 (FIRST_PSEUDO_REGISTER): Change to 109.
5910 (CALL_USED_REGISTERS): Same.
5911 (FIRST_ALTIVEC_REGNO): New.
5912 (LAST_ALTIVEC_REGNO): New.
5913 (ALTIVEC_REGNO_P): New.
5914 (UNITS_PER_ALTIVEC_WORD): New.
5915 (ALTIVEC_VECTOR_MODE): New.
5916 (FIXED_REGISTERS): Add altivec registers.
5917 (REG_ALLOC_ORDER): Same.
5918 (HARD_REGNO_NREGS): Adjust for altivec registers.
5919 (HARD_REGNO_MODE_OK): Same.
5920 (MODES_TIEABLE_P): Same.
5921 (REGISTER_MOVE_COST): Same.
5922 (REGNO_REG_CLASS): Same.
5923 (reg_class): Add ALTIVEC_REGS.
5924 (REG_CLASS_NAMES): Same.
5925 (REG_CLASS_CONTENTS): Same.
5926 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
5927 (ALTIVEC_ARG_RETURN): New.
5928 (FUNCTION_VALUE): Handle VECTOR_TYPE.
5929 (LIBCALL_VALUE): Handle altivec vector modes.
5930 (VECTOR_MODE_SUPPORTED_P): New.
5931 (ALTIVEC_ARG_MIN_REG): New.
5932 (ALTIVEC_ARG_MAX_REG): New.
5933 (ALTIVEC_ARG_NUM_REG): New.
5934 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
5935 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
5936 (REGISTER_NAMES): Add altivec regs.
5937 (DEBUG_REGISTER_NAMES): Same.
5938 (ADDITIONAL_REGISTER_NAMES): Same.
5939 (rs6000_builtins): New.
5940 (MD_EXPAND_BUILTIN): New.
5941 (MD_INIT_BUILTINS): New.
5942 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
5943 for AltiVec instructions.
5944 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
5945 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
5947 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
5948 (TARGET_SWITCHES): Add no-altivec.
5949 (DATA_ALIGNMENT): Align vectors to 128 bits.
5950 (TARGET_OPTIONS): Add abi= option.
5951 Add rs6000_abi_string extern.
5952 (LOCAL_ALIGNMENT): New.
5953 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
5954 (MASK_ALTIVEC_ABI): New.
5955 (TARGET_ALTIVEC_ABI): New.
5956 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
5958 (STACK_BOUNDARY): Adjust for altivec.
5959 (BIGGEST_ALIGNMENT): Same.
5960 (rs6000_args): Add vregno.
5961 (USE_ALTIVEC_FOR_ARG_P): New.
5962 (FIXED_REGISTERS): Add vrsave register.
5963 (CALL_USED_REGISTERS): Same.
5964 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
5965 (VRSAVE_REGNO): New.
5966 (reg_class): Add VRSAVE_REGS.
5967 (REG_CLASS_NAMES): Same.
5968 (REG_CLASS_CONTENTS): Same.
5969 (REGNO_REG_CLASS): Same.
5971 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
5972 (ABI_STACK_BOUNDARY): Same.
5973 (BIGGEST_ALIGNMENT): Same.
5974 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
5975 (ROUND_TYPE_ALIGN): Same.
5977 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5980 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5983 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5986 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
5987 (altivec_expand_builtin): New.
5988 (altivec_init_builtins): New.
5989 (TARGET_EXPAND_BUILTIN): New.
5990 (TARGET_INIT_BUILTINS): New.
5991 (rs6000_init_builtins): New.
5992 (struct builtin_description): New.
5994 (rs6000_reg_names): Add altivec registers.
5995 (alt_reg_names): Same.
5996 (secondary_reload_class): Altivec regs can hold altivec regs and
5998 (rs6000_emit_move): Force constants into memory for AltiVec moves.
5999 (print_operand): Add 'y' case for printing altivec memory
6001 (rs6000_legitimize_address): Legitimize vector addresses into
6003 (altivec_expand_binop_builtin): New.
6004 New string rs6000_current_abi.
6005 (rs6000_override_options): Call rs6000_parse_abi_options.
6006 (rs6000_parse_abi_options): New.
6007 (function_arg_boundary): Vector arguments must be 16
6009 (function_arg_advance): Handle vector arguments.
6010 (function_arg_partial_nregs): Same.
6011 (init_cumulative_args): Same.
6012 (function_arg): Same.
6014 * config/rs6000/rs6000.md (altivec_lvx): New.
6015 (type): Add altivec attribute.
6017 (*movv4si_internal): New.
6019 (*movv16qi_internal): New.
6021 (*movv8hi_internal1): New.
6023 (*movv4sf_internal1): New.
6024 (altivec_stvx): New.
6140 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
6142 * Makefile.in (df.o): Add fibheap.h to dependencies.
6144 * df.h: Add prototypes for transfer functions, iterative_dataflow
6146 (enum df_flow_dir): New enum.
6147 (enum df_confluence_op): New enum.
6148 (struct df): Add inverse_rts_map.
6150 * df.c: Add sbitmap.h to the list of includes.
6151 (df_rd_global_compute): Removed.
6152 (df_ru_global_compute): Removed.
6153 (df_lr_global_compute): Removed.
6154 (df_rd_transfer_function): New function.
6155 (df_ru_transfer_function): New function.
6156 (df_lr_transfer_function): New function.
6157 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
6158 Use iterative_dataflow_bitmap instead of df_*_global_compute.
6159 (iterative_dataflow_sbitmap): New function.
6160 (iterative_dataflow_bitmap): New function.
6162 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
6164 * doc/gcc.texi: Move terminology and spelling conventions to
6165 htdocs/codingconventions.html.
6167 2001-11-07 Graham Stott <grahams@redhat.com>
6169 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
6171 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
6173 * expmed.c (expand_mult): Force operand to register before computing
6175 * i386.c (x86_decompose_lea): New global vairable.
6176 * i386.h (x86_decompose_lea): Declare.
6177 (TARGET_DECOMPOSE_LEA): New macro.
6178 (RTX_COST): Handle leas properly.
6180 2001-11-06 Richard Henderson <rth@redhat.com>
6182 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
6183 defined for a CONSTRUCTOR; don't check it.
6185 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
6187 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
6188 test for absolute pathnames.
6190 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
6192 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
6193 instructions up to the target pc inclusive.
6195 2001-11-06 Steve Christiansen <smc@us.ibm.com>
6197 * loop.c (loop_regs_scan): Don't invalidate PIC register.
6199 2001-11-06 Eric Christopher <echristo@redhat.com>
6201 * config/mips/mips.md(movdf_internal2): Add constraints for float
6202 to general register move.
6203 * config/mips/elf64.h: Add default ABI.
6205 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6207 * alias.c:: Include langhooks.h.
6208 * emit-rtl.c: Similarly.
6209 * toplev.c: Similarly.
6210 * tree-inline.c: Similarly.
6211 * langhooks-def.h: New, the old langhooks.h. Give the default
6212 hooks a common prefix.
6213 * langhooks.h: Contents extracted from toplev.h.
6214 * toplev.h: Move langhook stuff to langhooks.h.
6215 * langhooks.c: Give default hooks a common prefix.
6217 * c-lang.c: Include langhooks-def.h.
6218 * objc/objc-act.c: Similarly.
6219 * Makefile.in: Update.
6220 * objc/Make-lang.in: Update.
6222 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6224 * doc/install.texi: Document that configure options not listed in
6225 this file are unsupported. Document --with-system-zlib.
6227 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6229 * rtl.h (mem_for_const_double): New declaration.
6230 * varasm.c (mem_for_const_double): New function.
6231 * config/convex/convex.md (movdf): Use it.
6232 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
6233 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
6234 * config/m68k/m68kv4.h: Likewise.
6236 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
6237 of new GP reg classes.
6239 * expr.c (store_field): When making temp object for unaligned
6240 component, set it to alias set 0.
6242 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6244 * c-common.c (c_expand_expr_stmt): Apply default conversions to
6245 non-lvalue arrays if C99.
6246 * c-typeck.c (default_conversion): Split out code handling
6247 array-to-pointer and function-to-pointer conversions into a
6248 separate default_function_array_conversion function.
6249 (default_function_array_conversion): New function. Keep track of
6250 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
6251 arrays unchanged outside C99 mode instead of giving an error for
6253 (build_component_ref): Use pedantic_non_lvalue when handling
6254 COMPOUND_EXPR. Don't handle COND_EXPR specially.
6255 (convert_arguments): Use default_function_array_conversion.
6256 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
6258 (unary_complex_lvalue): Likewise.
6259 (internal_build_compound_expr): Use
6260 default_function_array_conversion. Apply default conversions to
6261 function in compound expression.
6262 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
6263 Use default_function_array_conversion.
6264 * doc/extend.texi: Update documentation of subscripting non-lvalue
6268 2001-11-05 Zack Weinberg <zack@codesourcery.com>
6270 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
6271 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
6272 corresponding to the complete set of .po and .gmo files in
6273 the source directory's po subdir, modified by LINGUAS. Don't
6274 look at ALL_LINGUAS.
6275 * configure.in: Don't set ALL_LINGUAS.
6276 * configure: Regenerate.
6278 * Makefile.in (.po.gmo): Don't move into source directory.
6279 (.po.pox): Clarify comments.
6280 (install-po): Look for .gmo files in both srcdir and objdir;
6281 don't fail if a file is totally missing.
6282 (distclean): rmdir ada subdirectory too.
6284 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6286 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6287 CONSTRUCTORs _correctly_.
6289 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6291 * c-decl.c (delete_block): Remove.
6292 * c-tree.h (delete_block): Remove.
6294 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6296 * cppexp.c (lex, parse_defined): Update warning about defined.
6298 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6300 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6303 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
6305 * config/arm/arm.c (arm_return_in_memory): Cope with
6306 int_size_in_bytes returning -1.
6308 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
6311 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
6313 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
6314 remove unneeded dependencies;
6316 * cfglayout.c, cfglayout.h: New files; break out from ...
6317 * bb-reorder.c: ... here; Remove unneeded includes;
6319 2001-11-04 Alan Modra <amodra@bigpond.net.au>
6321 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
6323 2001-11-04 David Edelsohn <edelsohn@gnu.org>
6325 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
6326 mode as well. Do not explicitly create intermediate regs.
6328 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6330 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
6331 (common_section): Delete unused variable.
6332 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
6333 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
6334 * arm-protos.h (arm_poke_function_name, aof_add_import,
6335 aof_delete_import): Const-ify.
6336 * arm.c (legitimize_pic_address): Wrap variables in the macro
6337 controlling their usage.
6338 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
6339 (arm_poke_function_name, pic_chain, import, aof_add_import,
6340 aof_delete_import): Const-ify.
6341 * i386.c (ix86_osf_output_function_prologue): Const-ify.
6342 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
6343 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
6344 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
6345 * i860/sysv3.h: Add missing comment closure.
6346 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
6347 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
6348 to symbolic_operand.
6350 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
6351 (i960-*-*): Set tmake_file.
6352 (sparc86x-*-elf*): Fix typo in header name.
6354 * sched-rgn.c (schedule_insns): Delete unused variable.
6356 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6359 * c-typeck.c (lookup_field): Rework to return a chain down to
6360 the looked-up field.
6361 (build_component_ref): Use the new lookup_field to handle
6362 nested anonymous entities correctly.
6364 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6366 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
6367 Change parameters to gen_rtx_CONST_DOUBLE.
6368 (GEN_INT64, sparc_emit_set_const64): Likewise.
6369 * config/sparc/sparc.md (movdf split): Likewise.
6371 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
6373 * unroll.c (calculate_giv_inc): Use find_last_value rather
6374 than just hoping the last instruction is the right SET.
6375 [Fixes 990604-1.c on stormy16.]
6377 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
6378 library at all if -T is used.
6380 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
6381 some uses of uninitialized variables in error cases.
6383 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
6384 look at 'temp' if we won't be using it.
6386 * config/stormy16/stormy16.h (CONST_COSTS): Define.
6387 (RTX_COSTS): Define.
6388 (ADDRESS_COST): Define.
6389 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
6391 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
6393 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
6394 stormy16_asm_output_mi_thunk.
6395 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
6397 * config/stormy16/stormy16-protos.h
6398 (stormy16_asm_output_mi_thunk): New prototype.
6400 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
6402 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
6403 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
6404 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
6405 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
6406 sched-int.h, toplev.c, config/alpha/alpha.c,
6407 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
6408 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
6409 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
6410 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
6411 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
6412 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
6413 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
6415 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6417 * Makefile.in (dbxout.o): Depend on function.h.
6418 * collect2.c (is_in_list): Hide unused function.
6419 * dbxout.c: Include function.h.
6420 (source_label_number, dbxout_source_line, dbxout_source_file,
6421 dbxout_function_end, dbxout_begin_function): Wrap/move inside
6422 macros controlling usage.
6423 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
6424 * output.h (exports_section): Prototype.
6426 * convex.c (convex_output_function_prologue): Fix format specifier
6428 (asm_declare_function_name): Fix signed/unsigned warning.
6429 (print_operand): Fix format specifier warning.
6430 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
6431 * dsp16xx-protos.h (uns_comparison_operator,
6432 num_1600_core_shifts): Prototype.
6433 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
6434 (frame_size, frame_pointer_offset): Delete.
6435 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
6436 Make static. Fix format specifier warnings.
6437 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
6438 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
6439 * dsp16xx.md: Add default case in switches.
6440 * fr30.h (IN_RANGE): Delete.
6441 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
6442 * mcore-protos.h (mcore_output_cmov): Const-ify.
6443 * mcore.c (mcore_output_cmov): Likewise.
6444 * mcore.h (switch_to_section): Make static and prototype.
6445 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
6446 unsigned>=0 warnings.
6447 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
6448 * rs6000-protos.h (read_only_data_section,
6449 read_only_private_data_section): Prototype.
6450 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
6451 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
6452 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
6454 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6456 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
6458 * final.c (final_scan_insn): Add brackets around body of if-stmt.
6459 * gcc.c (convert_filename): Add static prototype. Const-ify.
6460 Wrap variable in macros controlling its use.
6461 * output.h (sdata_section): Add prototype.
6463 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6464 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
6465 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
6466 (ASM_FILE_START): Const-ify.
6467 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
6469 * c4x.md: Don't use the 'U' integer suffix.
6470 * clipper.md (clipper_movstr): Delete declaration.
6471 * d30v-protos.h (d30v_move_2words): Const-ify.
6472 (debug_stack_info): Add prototype.
6473 * d30v.c: Include "integrate.h".
6474 (d30v_function_arg_boundary, d30v_function_arg,
6475 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
6476 signed/unsigned warnings.
6477 (d30v_print_operand_memory_reference, d30v_move_2words):
6479 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
6480 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
6481 * fr30.md: Const-ify.
6482 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6483 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
6484 (mvs_get_label_page): Hide unused static function.
6485 * i860.c (current_function_original_name): Const-ify.
6486 * i860/sysv3.h (current_function_original_name): Likewise.
6487 * i860/sysv4.h (current_function_original_name): Likewise.
6488 * i960.md: Add default case in switches. Remove unused variable.
6489 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
6490 * m32r.md: Const-ify.
6491 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
6492 * m68hc11.c: Include "reload.h".
6493 (static_chain_reg, print_options, m68hc11_asm_file_start):
6495 * m68hc11.md: Delete unused variable. Const-ify. Add parens
6496 around & in comparison.
6497 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
6498 * mn10200.c (shift_mode): Remove trailing comma.
6499 * mn10300-protos.h (output_tst): Const-ify.
6500 * mn10300.c (output_tst): Likewise.
6501 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
6503 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
6504 * pa.c (output_ascii): Likewise.
6505 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6506 * pdp11.md (expand_unop): Delete declarations.
6507 * pj-protos.h (pj_output_addsi3): Const-ify.
6508 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
6509 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
6510 unique_src_operand): Add prototypes.
6511 (pj_output_store_into_lval): Make definition static.
6512 (pj_function_incoming_arg): Don't use unary plus.
6513 (pj_output_addsi3): Const-ify.
6514 * romp.md (get_symref): Delete declarations.
6515 * v850-c.c (mark_current_function_as_interrupt): Don't return
6516 value from void function.
6517 * v850.c: Include "integrate.h".
6518 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
6519 * vax-protos.h (const_section): Add prototype.
6521 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
6523 * machmode.def: Add documentation for the seventh argument in
6526 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
6528 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
6530 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
6531 <-melf>: Don't have markup for ELF acronym.
6533 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
6535 * config.gcc (mmix-*-*): New target.
6536 * doc/invoke.texi: Document MMIX options.
6537 * doc/contrib.texi: Add note about MMIX port to my entry.
6538 * config/mmix/t-mmix: New file.
6539 * config/mmix/mmix.h: New file.
6540 * config/mmix/mmix-protos.h: New file.
6541 * config/mmix/mmix.c: New file.
6542 * config/mmix/mmix.md: New file.
6543 * config/mmix/crti.asm: New file.
6544 * config/mmix/crtn.asm: New file.
6546 2001-11-03 Kazu Hirata <kazu@hxi.com>
6548 * config/sparc/linux-aout.h: Fix comment formatting.
6549 * config/sparc/linux.h: Likewise.
6550 * config/sparc/linux64.h: Likewise.
6551 * config/sparc/lynx.h: Likewise.
6552 * config/sparc/pbd.h: Likewise.
6553 * config/sparc/sol2-sld-64.h: Likewise.
6554 * config/sparc/sol2.h: Likewise.
6555 * config/sparc/sparc.c: Likewise.
6556 * config/sparc/sparc.h: Likewise.
6557 * config/sparc/sparc.md: Likewise.
6558 * config/sparc/sunos4.h: Likewise.
6559 * config/sparc/vxsim.h: Likewise.
6560 * config/sparc/vxsparc.h: Likewise.
6561 * config/sparc/vxsparc64.h: Likewise.
6563 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6565 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
6566 reference to CONST_DOUBLE_MEM in comment.
6567 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
6568 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
6569 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
6570 * function.c (pop_function_context_from): Don't call
6571 restore_varasm_status.
6572 * function.h (restore_varasm_status): Delete declaration.
6573 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
6575 * rtl.def (CONST_DOUBLE): Update comment.
6576 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
6577 (CONST_DOUBLE_CHAIN): Likewise.
6578 (CONST_DOUBLE_MEM): Delete.
6579 (gen_rtx_CONST_DOUBLE): Update parameters.
6580 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
6581 Remove reference to CONST_DOUBLE_MEM.
6582 (const_alias_set): New variable.
6583 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
6584 (immed_real_const_1): Adjust tests for 0, 1, and 2.
6585 Don't set CONST_DOUBLE_MEM.
6586 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
6587 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
6588 Put constant in const_alias_set.
6589 (struct pool_constant): ALIGN now unsigned.
6590 OFFSET now HOST_WIDE_INT.
6592 (restore_varasm_status): Deleted.
6593 (mark_pool_constant): Mark desc->rtl.
6594 (force_const_mem): Rework to store rtl in hash table,
6595 not CONST_DOUBLE_MEM.
6596 Put constant in const_alias_set.
6597 (find_pool_constant): Check desc->rtl.
6598 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
6599 (init_varasm_once): Initialize const_alias_set.
6601 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
6604 * reload.c (combine_reloads): Don't combine an output reload if there
6605 are other reloads around for part of the output.
6607 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
6608 constant expression.
6609 (set_mem_decl): New function.
6610 * expr.h (set_mem_decl): New declaration.
6611 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
6612 (output_asm_operand_names): Add tab.
6613 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
6615 * builtins.c (get_memory_rtx): Properly set MEM alias set and
6618 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
6620 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
6621 Use "invalid" instead of "illegal". Use @r in comments in
6624 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
6626 * c-decl.c (pushdecl): Move block inside if conditional to remove
6627 possibility of a segfault. Lookup block-level extern
6628 variables in enclosing scopes correctly.
6630 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
6632 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6634 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
6635 SUBREG so we avoid SUBREGing memory.
6637 * expmed.c (store_bit_field): Same.
6639 2001-11-02 DJ Delorie <dj@redhat.com>
6641 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
6642 using FP registers for DImode mem-mem moves is acceptable.
6644 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6646 * builtins.c (apply_args_size): Handle vector arguments.
6647 (apply_result_size): Same.
6649 * machmode.def: Set WIDER mode field for all vector entries.
6651 2001-11-02 Graham Stott <grahams@redhat.com>
6653 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
6655 2001-11-01 Eric Christopher <echristo@redhat.com>
6657 * config.gcc: Revert part of earlier patch.
6658 * config/mips/linux.h: Ditto.
6659 * df.c: Include tm_p.h to avoid warnings.
6660 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
6662 * config/mips/mips.c: Define mips_abi regardless.
6663 (mips_output_function_prologues): Add long casts for .frame
6665 (override_options): Allow use of ABI_32.
6667 2001-11-01 Kazu Hirata <kazu@hxi.com>
6669 * config/m68hc11/m68hc11.c: Fix comment formatting.
6670 * config/m68hc11/m68hc11.h: Likewise.
6671 * config/m68hc11/m68hc11.md: Likewise.
6673 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
6675 * c-typeck.c (default_conversion): Retain the original expression
6677 * gcc.dg/Wparentheses.c: New tests.
6679 2001-11-01 David S. Miller <davem@redhat.com>
6681 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
6682 64-bit Sparc description more in line with reality.
6684 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
6686 * Makefile.in (GCOV_OBJS): Add version.o.
6687 * gcov.c: Include "version.h" and <getopt.h>.
6688 (gcov_version_string): Remove.
6689 (print_usage): Take a parameter to determine whether this is a
6690 call from --help or an error message. Give fuller output that
6691 follows the GNU Coding Standards for --help.
6692 (print_version): New function.
6694 (process_args): Use getopt_long. Support long options. Follow
6695 GNU Coding Standards for --help and --version.
6696 * doc/gcov.texi: Document long options.
6697 Addresses part of PR other/704.
6699 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
6701 * pa.c (output_move_double): Fix typo in double load.
6703 2001-11-01 Kazu Hirata <kazu@hxi.com>
6705 * config/h8300/h8300.c (h8300_encode_label): Compute a string
6706 before passing it to ggc_alloc_string.
6708 2001-11-01 Kazu Hirata <kazu@hxi.com>
6710 * config/m68k/3b1.h: Fix comment formatting.
6711 * config/m68k/3b1g.h: Likewise.
6712 * config/m68k/a-ux.h: Likewise.
6713 * config/m68k/amix.h: Likewise.
6714 * config/m68k/apollo68.h: Likewise.
6715 * config/m68k/atari.h: Likewise.
6716 * config/m68k/aux-exit.c: Likewise.
6717 * config/m68k/ccur-GAS.h: Likewise.
6718 * config/m68k/crds.h: Likewise.
6719 * config/m68k/dpx2.h: Likewise.
6720 * config/m68k/dpx2g.h: Likewise.
6721 * config/m68k/hp310.h: Likewise.
6722 * config/m68k/hp320.h: Likewise.
6723 * config/m68k/isi.h: Likewise.
6724 * config/m68k/linux.h: Likewise.
6725 * config/m68k/lynx.h: Likewise.
6726 * config/m68k/m68k-psos.h: Likewise.
6727 * config/m68k/m68k.c: Likewise.
6728 * config/m68k/m68k.h: Likewise.
6729 * config/m68k/m68k.md: Likewise.
6730 * config/m68k/m68kelf.h: Likewise.
6731 * config/m68k/m68kv4.h: Likewise.
6732 * config/m68k/mot3300.h: Likewise.
6733 * config/m68k/news.h: Likewise.
6734 * config/m68k/next.h: Likewise.
6735 * config/m68k/pbb.h: Likewise.
6736 * config/m68k/plexus.h: Likewise.
6737 * config/m68k/sgs.h: Likewise.
6738 * config/m68k/sun3.h: Likewise.
6739 * config/m68k/tower.h: Likewise.
6740 * config/m68k/vxm68k.h: Likewise.
6742 2001-10-31 DJ Delorie <dj@redhat.com>
6744 * config/mips/mips.h (mips_cache_flush_func): Prototype.
6745 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
6746 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
6747 * config/mips/mips.c (mips_cache_flush_func): New.
6748 * doc/invoke.texi: Document the new options.
6750 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
6752 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
6753 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
6755 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
6757 * config/cris/cris.c: Include output.h after tree.h but before
6760 2001-10-31 Zack Weinberg <zack@codesourcery.com>
6762 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
6763 (INTL_SUBDIRS): Just intl.
6764 (.SUFFIXES): Add .gmo .po .pox.
6765 (native): Also depend on build-@POSUB@.
6766 (intl.all, intl.install): Depend on config.h and things it includes.
6767 (po-generated): New target; depend on c-parse.c and tradcif.c.
6768 (install-normal): Also depend on install-@POSUB@.
6769 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
6770 (build-, install-, build-po, update-po, install-po,
6771 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
6773 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
6774 * configure.in: Don't munge XGETTEXT. Don't generate
6776 * configure: Regenerate.
6778 * exgettext: Delete.
6779 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
6780 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
6782 2001-10-31 Kazu Hirata <kazu@hxi.com>
6784 * config/h8300/h8300.md (two anonymous patterns): New.
6786 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
6788 * tree.h (tree_index): Add support for V16QI and V8HI.
6789 (V8HI_type_node): New.
6790 (V16QI_type_node): New.
6792 * tree.c (build_common_tree_nodes_2): Same.
6794 * c-common.c (type_for_mode): Same.
6796 2001-10-31 Kazu Hirata <kazu@hxi.com>
6798 * config/i386/att.h: Fix comment formatting.
6799 * config/i386/beos-elf.h: Likewise.
6800 * config/i386/bsd.h: Likewise.
6801 * config/i386/bsd386.h: Likewise.
6802 * config/i386/crtdll.h: Likewise.
6803 * config/i386/cygwin.asm: Likewise.
6804 * config/i386/cygwin.h: Likewise.
6805 * config/i386/djgpp.h: Likewise.
6806 * config/i386/freebsd-aout.h: Likewise.
6807 * config/i386/freebsd.h: Likewise.
6808 * config/i386/gas.h: Likewise.
6809 * config/i386/i386-interix.h: Likewise.
6810 * config/i386/i386-protos.h: Likewise.
6811 * config/i386/i386.c: Likewise.
6812 * config/i386/i386.h: Likewise.
6813 * config/i386/i386.md: Likewise.
6814 * config/i386/i386elf.h: Likewise.
6815 * config/i386/interix.c: Likewise.
6816 * config/i386/isc.h: Likewise.
6817 * config/i386/isccoff.h: Likewise.
6818 * config/i386/iscdbx.h: Likewise.
6819 * config/i386/linux.h: Likewise.
6820 * config/i386/lynx.h: Likewise.
6821 * config/i386/mingw32.h: Likewise.
6822 * config/i386/netbsd-elf.h: Likewise.
6823 * config/i386/next.h: Likewise.
6824 * config/i386/osf1elf.h: Likewise.
6825 * config/i386/osfrose.h: Likewise.
6826 * config/i386/sco5.h: Likewise.
6827 * config/i386/seq-gas.h: Likewise.
6828 * config/i386/seq-sysv3.h: Likewise.
6829 * config/i386/sequent.h: Likewise.
6830 * config/i386/sol2.h: Likewise.
6831 * config/i386/sun386.h: Likewise.
6832 * config/i386/uwin.asm: Likewise.
6833 * config/i386/uwin.h: Likewise.
6834 * config/i386/vxi386.h: Likewise.
6835 * config/i386/win32.h: Likewise.
6836 * config/i386/winnt.c: Likewise.
6837 * config/i386/xm-cygwin.h: Likewise.
6838 * config/i386/xm-mingw32.h: Likewise.
6840 2001-10-31 Kazu Hirata <kazu@hxi.com>
6842 * builtins.def: Fix comment typos.
6843 * config/alpha.c: Likewise.
6844 * config/arm/arm.c: Likewise.
6845 * config/avr/avr.h: Likewise.
6846 * config/d30v/d30v.c: Likewise.
6847 * config/d30v/d30v.h: Likewise.
6848 * config/d30v/d30v.md: Likewise.
6849 * config/dsp16xx/dsp16xx.c: Likewise.
6850 * config/fr30/fr30.c: Likewise.
6851 * config/fr30/fr30.md: Likewise.
6852 * config/i386/i386.c: Likewise.
6853 * config/i860/i860.c: Likewise.
6854 * config/i960/i960.c: Likewise.
6855 * config/ia64/ia64.c: Likewise.
6856 * config/mips/mips.c: Likewise.
6857 * config/pa/pa.c: Likewise.
6858 * config/rs6000/rs6000.c: Likewise.
6859 * config/s390/s390.c: Likewise.
6860 * config/sparc/sparc.c: Likewise.
6862 2001-10-30 Kazu Hirata <kazu@hxi.com>
6864 * config/mips/elf.h: Fix comment formatting.
6865 * config/mips/elf64.h: Likewise.
6866 * config/mips/iris5.h: Likewise.
6867 * config/mips/iris5gas.h: Likewise.
6868 * config/mips/iris6.h: Likewise.
6869 * config/mips/isa3264.h: Likewise.
6870 * config/mips/linux.h: Likewise.
6871 * config/mips/mips.c: Likewise.
6872 * config/mips/mips.h: Likewise.
6873 * config/mips/mips.md: Likewise.
6874 * config/mips/mips16.S: Likewise.
6875 * config/mips/netbsd.h: Likewise.
6876 * config/mips/osfrose.h: Likewise.
6877 * config/mips/r3900.h: Likewise.
6878 * config/mips/sni-svr4.h: Likewise.
6879 * config/mips/svr4-t.h: Likewise.
6880 * config/mips/ultrix.h: Likewise.
6882 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
6884 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
6885 when we update head->current.
6887 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
6889 * tree.c (id_string_size): Remove.
6890 (dump_tree_statistics): Update.
6891 * toplev.c (compile_file): If dumping stats, dump tree stats too.
6893 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
6895 * sched-rgn.c (schedule_insns): Fix comment.
6897 2001-10-30 Zack Weinberg <zack@codesourcery.com>
6899 * configure.in: Correct previous change: don't assume that
6900 gas's version number _isn't_ the last thing on the line, or
6901 isn't the only number on the line, either.
6902 * configure: Regenerate.
6904 2001-10-30 Kazu Hirata <kazu@hxi.com>
6906 * cfgcleanup.c: Fix a comment typo.
6908 2001-10-30 Kazu Hirata <kazu@hxi.com>
6910 * alias.c: Fix comment formatting.
6911 * recog.c: Likewise.
6912 * config/cris/cris.c: Likewise.
6913 * config/cris/cris.h: Likewise.
6914 * config/i960/i960.c: Likewise.
6915 * config/i960/i960.h: Likewise.
6917 2001-10-30 Kazu Hirata <kazu@hxi.com>
6919 * config/arm/arm.c: Fix a comment typo.
6920 * config/arm/arm.h: Likewise.
6921 * config/ia64/ia64.c: Likewise.
6923 2001-10-30 Jakub Jelinek <jakub@redhat.com>
6925 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
6926 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
6927 * rtl.h (set_unique_reg_note): Change return value.
6928 * gcse.c (try_replace_reg): Use set_unique_reg_note.
6929 * cse.c (cse_insn): Likewise.
6930 * expr.c (emit_move_insn): Likewise.
6931 * explow.c (force_reg): Likewise.
6932 * local-alloc (update_equiv_regs): Likewise.
6933 * loop.c (move_moveables, load_mems): Likewise.
6934 * reload (find_reloads): Likewise.
6936 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
6939 * c-decl.c (parmlist_tags_warning, start_struct,
6940 check_for_loop_decls): Separate messages for struct, union and
6941 enum cases to allow for languages in which they have different
6943 * c-format.c (scanf_flag_specs): Separate short and long name of
6944 the assignment suppression feature.
6945 (check_format_types): Localize "pointer" and "different types"
6947 * c-lex.c (lex_number): Localize "an unsigned long int" and
6949 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
6951 * c-typeck.c (build_unary_up): Separate messages for increment and
6952 decrement cases to allow for languages in which they use different
6953 articles. Localize the strings "increment" and "decrement" in one
6956 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
6958 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
6959 when no changes has been made.
6961 * gcse.c (reg_set_bitmap): Turn into reg_set.
6962 (modify_mem_list_set, canon_modify_mem_list_set)
6963 (clear_modify_mem_tables, free_modify_mem_tables): New.
6964 (gcse_main); Use free_modify_mem_tables.
6965 (free_gcse_mem): Likewise; free the bitmaps.
6966 (alloc_gcse_main): Initialize the bitmaps.
6967 (canon_list_insert): Set canon_modify_mem_list_set.
6968 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
6969 (compute_hash_table): Use clear_modify_mem_tables.
6970 (reset_opr_set_tables): Likewise.
6971 (oprs_not_set_p): reg_set_bitmap is regset.
6972 (mark_set, mark_clobber): Likewise.
6974 * df.h (DF_EQUIV_NOTES): New constant.
6975 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
6978 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
6979 (init_regions, schedule_insns): Conditionalize the checking
6980 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
6982 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
6984 * i386.md (movti_rex64 splitter): Fix condition.
6986 2001-10-29 Zack Weinberg <zack@codesourcery.com>
6988 * configure.in: Do not assume that gas's version number is the
6989 last thing on the first line of as --version output.
6990 * configure: Regenerate.
6992 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
6993 MT_WARNING, MT_ERROR, MT_FATAL.
6994 (main): Call gcc_init_libintl.
6995 (v_message): Call gettext on msgid and "warning: "
6996 * tradcif.y: Include intl.h.
6997 (yyerror): Make parameter definition consistent with
6998 prototype. Call gettext on msgid argument.
7000 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7002 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
7005 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
7007 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7009 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
7010 before referencing it.
7012 2001-10-26 DJ Delorie <dj@redhat.com>
7014 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
7015 override -G, and force -G0.
7017 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
7019 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
7020 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
7021 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
7022 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
7024 * loop.h (struct induction): Rename ext_dependant to
7026 * loop.c: Change all uses.
7027 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
7028 All callers changed.
7029 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
7031 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
7033 * c-parse.in (expr_no_commas, primary), c-typeck.c
7034 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
7036 2001-10-29 David Edelsohn <edelsohn@gnu.org>
7038 Undo assemble_name change in earlier patch.
7040 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
7042 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
7043 determining the type of the receiver, do not check that TREE_CODE
7044 of receiver is CALL_EXPR before calling receiver_is_class_object().
7045 (receiver_is_class_object): For the GNU runtime: recognize
7046 the case that the receiver is self in a class method context.
7047 Check that TREE_CODE of receiver is CALL_EXPR when checking that
7048 the receiver is a call to objc_get_class.
7050 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
7052 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
7054 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7056 * Makefile.in (OBJS): Put all files in alphabetical order.
7058 * dwarf2out.c (add_const_value_attribute): Fix error in last
7061 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
7063 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
7064 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
7066 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
7067 (life_analysis): call purge_all_dead_edges after deleting noops.
7068 (delete_noop_move): Do not purge CFG.
7069 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
7071 2001-10-28 David Edelsohn <edelsohn@gnu.org>
7073 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
7074 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
7075 (ASM_GLOBALIZE_LABEL): Use assemble_name.
7076 (ASM_OUTPUT_COMMON): Likewise.
7077 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
7078 (rs6000_output_function_epilogue): Likewise.
7079 (output_mi_thunk): Fix typo.
7080 (rs6000_output_symbol_ref): Use assemble_name.
7081 (output_toc): Likewise.
7082 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
7083 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
7084 assemble_name calls STRIP_NAME_ENCODING.
7085 (ASM_OUTPUT_LABEL): Use assemble_name.
7086 (ASM_GLOBALIZE_LABEL): Likewise.
7087 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7088 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
7089 (ASM_OUTPUT_LOCAL): Likewise.
7091 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7093 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
7094 (expand_builtin_apply, expand_builtin_return): Likewise.
7095 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
7097 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
7099 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
7100 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
7101 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
7102 configure, configure.in, except.c, except.h, flow.c, function.c,
7103 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
7104 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
7105 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
7106 unroll.c: Fix spelling errors.
7108 * doc/extend.texi, doc/invoke.texi: Fix spelling.
7110 * doc/gcc.texi: Document use of "dependent" and American spelling.
7112 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
7114 * expr.c (emit_group_load): Support CONCATs by storing them to memory
7117 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7119 * expr.c (store_constructor_field): Only call adjust_address on MEM.
7121 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
7123 * genrecog.c (write_switch): Output if before switch for
7124 DT_elt_zero_wide_safe.
7126 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7128 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
7129 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
7130 (FUNCTION_PROFILER): Const-ify.
7131 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
7132 (eliminate_constant_term, assemble_name, output_addr_const):
7133 Remove declarations.
7134 (ptr_half_pic_address_p, half_pic_hash): Prototype.
7135 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
7136 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
7137 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
7138 (half_pic_declare, half_pic_external): Const-ify.
7139 * toplev.c: Include "halfpic.h".
7141 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
7143 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
7144 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
7145 config/i386/i386.c, config/i386/i386-interix.h,
7146 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
7147 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
7148 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
7149 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
7150 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
7151 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
7152 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
7155 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
7156 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
7157 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
7158 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
7159 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
7160 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
7161 system.h, toplev.c: Fix spelling errors.
7163 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7165 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
7167 * dwarf2out.c (reg_number): Abort if pseudo.
7168 (reg_loc_descriptor): Return 0 if pseudo.
7169 (is_based_loc): Return 0 if pseudo.
7170 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
7172 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
7173 (loc_descriptor): Return 0 if can't find location and handle 0
7174 return from recursive calls.
7175 (loc_descriptor_from_tree): Likewise.
7176 Fix handling of indirect.
7177 Also return 0 for PLACEHOLDER_EXPR.
7178 Clean up COMPONENT_REF cases.
7179 (add_AT_location_descriptor): Simplify, but handle 0 return from
7181 (add_const_value_attribute): Avoid shift count warning.
7182 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
7183 Set comp_unit_die as context if not in function.
7185 * config/mips/mips-protos.h: Break up long lines.
7186 Remove needless #ifdef/#endif blocks.
7187 Don't declare functions declared in file made by genpreds or recog.h.
7188 * config/mips/mips.c (mips_output_function_prologue): TSIZE
7189 is now HOST_WIDE_INT; delete unneeded casts.
7190 * config/mips/mips.h: Don't use #elif.
7192 * expr.c (stor_constructor_field): Always call adjust_address.
7193 Copy TARGET before changing its alias set.
7194 (store_field): Likewise, for TO_RTX.
7195 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
7197 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
7198 (find_placeholder): Return 0 if can't find object.
7199 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
7202 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7204 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
7206 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
7208 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
7209 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
7210 (merge_blocks): Properly udpate life after making edge nonfallthru.
7211 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
7213 2001-10-26 Kazu Hirata <kazu@hxi.com>
7215 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
7217 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
7219 * c-typeck.c (convert_arguments): When comparing for enumeral
7220 type equality, use TYPE_MAIN_VARIANT.
7221 * gcc.dg/Wconversion.c: New tests.
7223 2001-10-26 Kazu Hirata <kazu@hxi.com>
7225 * s390/s390.c: Fix comment typos.
7226 * s390/s390.h: Likewise.
7227 * s390/s390.md: Likewise.
7229 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7231 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
7232 (walk_tree): Use it for tail calls where appropriate.
7234 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7236 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
7237 non-local label_refs.
7239 2001-10-26 Kazu Hirata <kazu@hxi.com>
7241 * config/h8300/h8300.md (4 anonymous patterns): New.
7243 2001-10-26 Kazu Hirata <kazu@hxi.com>
7245 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
7246 algorithm through the shift_info structure.
7247 (emit_a_shift): Update the use of get_shift_alg.
7249 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
7251 * sched-rgn.c: Remove bitset typedef.
7252 Change bitset to sbitmap in prototypes / variable types.
7254 Remove edgeset_bits.
7255 Remove edgeset_size.
7256 s/BITSET_ADD/SET_BIT/g
7257 s/BITSET_INVERT/sbitmap_ones/g
7258 s/BITSET_INTER/sbitmap_a_and_b/g
7259 s/BITSET_UNION/sbitmap_a_or_b/g
7260 s/BITSET_DIFFER/sbitmap_difference/g
7261 s/bitset_member/TEST_BIT/g
7262 (BITSET_*): Removed.
7263 (bitset_member): Removed.
7264 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
7265 EXECUTE_IF_SET_IN_SBITMAP.
7266 (split_edges): Rewrite, use sbitmap functions instead of bitset
7268 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
7270 2001-10-26 Andreas Schwab <schwab@suse.de>
7272 * reload1.c (emit_input_reload_insns): Fix parens in last
7273 (undocumented) change that was supposed to change only whitespace.
7275 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7277 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
7279 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
7282 2001-10-26 Andreas Jaeger <aj@suse.de>
7284 * flow.c (clear_log_links): Remove unused variable.
7285 * cfgcleanup.c (cleanup_cfg): Likewise.
7287 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7289 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
7290 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
7292 2001-10-26 Richard Henderson <rth@redhat.com>
7294 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
7295 rename PV_REG to R27_REG.
7296 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
7297 (REG_CLASS_FROM_LETTER): Update.
7298 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
7299 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
7300 (udivsi3, modsi3, umodsi3): Likewise.
7301 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
7303 2001-10-26 Richard Henderson <rth@redhat.com>
7305 * cfg.c (clear_aux_for_blocks): Split out of ...
7306 (free_aux_for_blocks): here.
7307 (clear_aux_for_edges): Split from ...
7308 (free_aux_for_edges): here.
7309 * basic-block.h: Declare them.
7310 * lcm.c (compute_antinout_edge): Use them.
7311 (compute_laterin, compute_available, compute_nearerout): Likewise.
7312 (optimize_mode_switching): Likewise.
7314 2001-10-26 Richard Henderson <rth@redhat.com>
7316 * Makefile.in (unstage*): Remove as, ld, collect-ld before
7317 moving everything back to the main build directory.
7319 2001-10-26 Christopher Faylor <cgf@redhat.com>
7321 * config/i386/cygwin.h: Search target specific include directory, if
7324 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7326 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
7327 of macro guards. Fix #endif comment.
7329 * output.h (default_exception_section, default_eh_frame_section):
7330 Move prototypes outside of macro guard.
7332 * crtstuff.c: Fix #endif comment.
7334 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
7336 * doc/md.texi (movMM): Clarify semantics of storing into a
7337 non-paradoxical SUBREG.
7339 2001-10-25 Zack Weinberg <zack@codesourcery.com>
7341 * langhooks.c (lang_hook_default_clear_binding_stack): New.
7342 (lang_hook_default_get_alias_set): Move next to other alias
7344 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
7345 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
7346 (LANG_HOOKS_INITIALIZER): Add it.
7347 * toplev.h (struct lang_hooks): Add clear_binding_stack.
7348 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
7349 instead of a loop calling poplevel.
7351 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
7353 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
7354 occurrences of #elif with #if...#endif.
7356 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7358 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
7360 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7362 * alias.c (can_address_p): No longer static.
7363 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
7364 Return 0 if all parameters are default values.
7365 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
7366 (adjust_address_1): Try harder to compute a size.
7367 * expr.c (expand_assignment, store_constructor): If can't address,
7368 set MEM_KEEP_ALIAS_SET_P.
7369 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
7370 (store_field): Likewise.
7371 (store_constructor): Simplify call to store_constructor_field.
7372 * expr.h (can_address_p): New declaration.
7373 * gensupport.c (gen_rtx_CONST_INT): New function.
7374 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
7375 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
7376 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
7378 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
7380 2001-10-24 Christopher Faylor <cgf@redhat.com>
7382 * config/i386/cygwin.h: Use proper path for mingw crt files when
7385 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7387 * dwarf2out.c (file_info_cmp): Always return consistent results.
7389 2001-10-24 Roger Sayle <roger@eyesopen.com>
7391 * stmt.c (expand_end_case): Index jumptables from zero for
7392 suitably small values of minval.
7394 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7396 * stor-layout.c (place_union_field): If any field was aligned with
7397 attribute aligned, set record type's TYPE_USER_ALIGN.
7398 (place_field): Likewise.
7399 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
7400 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
7402 2001-10-24 Zack Weinberg <zack@codesourcery.com>
7404 * c-common.h (struct c_common_identifier): Remove rid_code field.
7405 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
7407 * c-typeck.c (constructor_designated): New local flag.
7408 (struct constructor_stack): Add "designated" field to match.
7409 (start_init): Clear it.
7410 (really_start_incremental_init, push_init_level): Push and
7412 (pop_init_level): Pop it.
7413 (set_designator): Set it.
7415 (pop_init_level): Suppress "missing initializer" warnings if
7416 constructor_designated is true.
7417 (process_init_element): Suppress warning about union
7418 initialization under traditional C, if constructor_designated
7421 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7423 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
7426 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
7428 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
7430 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
7432 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
7433 the node was already a set to a constant.
7435 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7437 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
7438 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
7440 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7442 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
7443 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
7444 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
7445 * s390.c (s390_final_chunkify): Don't use string concatenation.
7446 (s390_function_prologue, s390_function_epilogue): Const-ify.
7447 * s390.h (FUNCTION_PROFILER): Remove unused variable.
7449 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7451 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
7454 2001-10-23 Stan Shebs <shebs@apple.com>
7456 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
7457 -traditional-cpp in first-stage compilation.
7459 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7461 * gensupport.c (target_flags): Add.
7463 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
7465 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
7467 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
7468 * except.c (expand_builtin_frob_return_addr): Likewise.
7469 (expand_builtin_eh_return): Likewise.
7470 * stmt.c (expand_computed_goto): Likewise.
7471 * explow.c (memory_address): Likewise.
7472 (allocate_dynamic_stack_space): Clean up predicate testing.
7473 (probe_stack_range): Convert SIZE to Pmode.
7474 * calls.c (rtx_for_function_call): Only call convert_memory_address
7476 Pass function call operand as ptr_mode, not Pmode.
7477 * expr.c (expand_assignment): Clean up calls to convert_memory
7478 address by only doing so when needed and making offsets Pmode.
7479 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
7480 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
7481 is in Pmode, not ptr_mode.
7483 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7485 * darwin-protos.h (constructor_section, destructor_section,
7486 mod_init_section, mod_term_section): Prototype.
7487 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
7489 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
7491 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
7492 objc_section_init declaration.
7493 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
7494 (objc_section_init, try_section_alias): Make static.
7495 (alias_section): Make static and hide unused function.
7496 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
7498 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7500 * alias.c (can_address_p): Compnonents are not addressable if
7501 the containing type has alias set 0.
7502 (get_alias_set): Rework to use STRIP_NOPS.
7503 Only call front-end routine on object, type, or object with
7504 NOPs stripped, not inner values.
7505 Use language hook to call front-end routine.
7506 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
7507 (expand_builtin_apply): Call set_mem_align on MEMs we make.
7508 Don't pass alignment to emit_block_move.
7509 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
7510 (expand_builtin_memset): Likewise, but for clear_storage.
7511 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
7512 and remove C++ specific parts.
7513 * c-common.h (c_common_get_alias_set): Add declaration.
7514 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
7515 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
7516 (save_fixed_argument_area): Call set_mem_align.
7517 Remove alignment in call to emit_block_move.
7518 (emit_library_call_value_1, store_one_arg): Likewise.
7519 (target_for_arg): Remove; disabled long ago.
7520 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
7521 once and similar cleanups.
7522 (offset_address): Use proper introductory comment.
7523 * expr.c (emit_block_move): Use alignment from that of MEM args, not
7524 from explicit operand; all callers changed.
7525 (clear_storage): Likewise.
7526 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
7527 (store_field): Remove kludge on alias set used for to_rtx.
7528 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
7529 (expand_expr_unaligned): Call set_mem_attributes instead of
7531 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
7532 * function.c (assign_stack_temp_for_type): Set MEM alignment.
7533 (expand_function_end): Track MEM attributes of trampolines.
7534 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
7535 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
7536 attributes from original.
7537 * langhooks.c (lang_hook_default_get_alias_set): New function.
7538 (hook_get_alias_set_0): New function.
7539 * langhooks.h (hook_get_alias_set_0): New declaration.
7540 (lang_hook_default_get_alias_set): Likewise.
7541 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
7542 * reload1.c (alter_reg): Use adjust_address_nv.
7543 * rtl.c (get_mode_alignment): Moved to here.
7544 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
7545 change default if unknown from 1 to BITS_PER_UNIT.
7546 * stor-layout.c (get_mode_alignment): Remove from here.
7547 * toplev.h (struct lang_hoks): Add get_alias_set field.
7548 * tree.h (lang_get_alias_set): Delete declaration.
7549 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
7550 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
7551 (ix86_va_arg): Likewise.
7552 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
7553 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
7554 * config/sparc/sparc.c (sparc_va_arg): Likewise.
7555 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
7556 (expand_block_move_mem): Remove dead code.
7558 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
7560 * c-common.c (warn_div_by_zero): New.
7561 * c-common.h (warn_div_by_zero): New.
7562 * c-decl.c (c_decode_option): Take it on the command line.
7563 * c-typeck.c (build_binary_op): Warn about division by zero.
7564 * doc/invoke.texi: Document the new command line option, fix
7565 documentation of -Wmultichar.
7566 * testsuite/gcc.dg/divbyzero.c: New tests.
7567 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
7569 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7571 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
7573 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
7574 to avoid update_life_info call.
7575 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
7576 * cfgcleanup.c (bb_flags): New enum.
7577 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
7578 (notice_new_block, update_forwarder_flag): New functions.
7579 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
7580 (try_forward_edges): Likewise; update flags.
7581 (merge_blocks): Likewise.
7582 (outgoing_edges_match): Likewise.
7583 (try_crossjump_to_edge): Likewise.
7584 (try_optimize_cfg): Likewise; initialize and clear the flags;
7585 recompute life info if needed.
7586 (cleanup_cfg): No need to clear aux pointers.
7588 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
7590 * config/i386/i386.c (override_options): Default to minimum
7591 stack alignment when optimizing for code size.
7592 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
7595 * config/i386/i386.c (override_options): Set upper limit of
7596 -mpreferred-stack-boundary to 12.
7598 2001-10-22 Zack Weinberg <zack@codesourcery.com>
7600 * recog.c (peephole2_optimize): Add default case to switch.
7602 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
7604 * doc/gcc.texi (Sending Patches): Remove.
7606 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
7608 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
7609 fields when comparing.
7611 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7613 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
7614 * arm.c (HOST_INT, HOST_UINT): Likewise.
7616 2001-10-22 Stan Shebs <shebs@apple.com>
7618 * config/darwin-protos.h (darwin_exception_section): Declare.
7619 (darwin_eh_frame_section): Declare.
7621 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
7623 * i386.md (movti_rex64): Fix mode.
7625 2001-10-22 Stan Shebs <shebs@apple.com>
7627 * target.h (struct gcc_target): Add asm_out.exception_section,
7628 asm_out.eh_frame_section.
7629 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
7630 (TARGET_ASM_EH_FRAME_SECTION): New.
7631 (TARGET_INITIALIZER): Update.
7632 * output.h (default_exception_section): Declare.
7633 (default_eh_frame_section): Declare.
7634 * dwarf2out.c: Include target.h.
7635 (output_call_frame_info): Call target hook for eh frames.
7636 (default_eh_frame_section): New function.
7637 * except.c: Include target.h.
7638 (output_function_exception_table): Call target hook for exception
7640 * varasm.c (default_exception_section): Rename from
7641 exception_section, remove EXCEPTION_SECTION macro.
7643 * config/darwin.h (darwin_eh_frame_section): New function.
7644 (EXCEPTION_SECTION): Remove.
7645 (TARGET_ASM_EXCEPTION_SECTION): Define.
7646 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
7647 (nextstep_exception_section): New function.
7648 (nextstep_eh_frame_section): New function.
7649 (TARGET_ASM_EXCEPTION_SECTION): Define.
7650 (TARGET_ASM_EH_FRAME_SECTION): Define.
7652 * config/pa/som.h (EXCEPTION_SECTION): Remove.
7653 (TARGET_ASM_EXCEPTION_SECTION): Define.
7654 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
7655 (EXCEPTION_SECTION): Remove.
7656 (TARGET_ASM_EXCEPTION_SECTION): Define.
7657 * config/stormy16/stormy16.h: Remove comments referencing
7658 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
7660 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
7661 TARGET_ASM_EH_FRAME_SECTION.
7663 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
7665 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
7668 * c-format.c: Fix spelling typo in comment.
7670 * sched-int.h: Fix typo in GCC preamble.
7672 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
7675 * doc/invoke.texi: Remove references to -fdump-translation-unit.
7677 2001-10-22 Richard Henderson <rth@redhat.com>
7679 * config/i386/i386.c (ix86_expand_clear): New.
7680 * config/i386/i386-protos.h: Declare it.
7681 * config/i386/i386.md (setcc peep2s): Use it.
7682 (movsi_xor): Unexport.
7684 2001-10-22 Richard Henderson <rth@redhat.com>
7686 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
7687 free_EXPR_LIST_list for LOG_LINKS.
7689 2001-10-21 Robert Lipe <robertlipe@usa.net>
7691 * config/i386/i386.c (sco_asm_named_section): Delete.
7692 (sco_asm_out_constructor): Delete.
7693 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
7694 (ASM_OUTPUT_DOUBLE_INT): Likewise.
7695 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
7696 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
7697 (EXCEPTION_SECTION): Delete EH scn renaming hack.
7699 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7701 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
7702 and/or fold extra calls into fewer ones.
7703 * collect2.c (dump_file): Likewise.
7704 * cppexp.c (parse_number): Likewise.
7705 * cpplex.c (_cpp_lex_direct): Likewise.
7706 * final.c (output_asm_insn, asm_fprintf): Likewise.
7707 * fix-header.c (inf_scan_ident, main): Likewise.
7708 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
7710 * fold-const.c (real_hex_to_f): Likewise.
7711 * gen-protos.c (parse_fn_proto): Likewise.
7712 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
7713 * genrecog.c (change_state, write_action): Likewise.
7714 * gensupport.c (shift_output_template): Likewise.
7715 * local-alloc.c (requires_inout): Likewise.
7716 * mips-tfile.c (IS_ASM_IDENT): Likewise.
7717 * protoize.c (is_id_char, main): Likewise.
7718 * real.c (asctoeg): Likewise.
7719 * recog.c (asm_operand_ok): Likewise.
7720 * reload.c (find_reloads): Likewise.
7721 * scan.c (scan_identget_token): Likewise.
7722 * sched-vis.c (print_value): Likewise.
7723 * stringpool.c (ggc_alloc_string): Likewise.
7724 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
7725 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
7726 * tradcpp.c (rescan): Likewise.
7727 * tree.c (clean_symbol_name): Likewise.
7728 * varasm.c (decode_reg_name): Likewise.
7730 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
7731 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
7732 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
7733 * m88k.c (output_ascii): Likewise.
7734 * m88k.h (OVERRIDE_OPTIONS): Likewise.
7735 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
7736 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
7737 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
7739 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7741 * langhooks.c (lang_hook_default_do_nothing,
7742 lang_hook_default_decode_option): New defaults.
7743 * langhooks.h: Make hooks unconditional and non-NULL.
7744 * toplev.c (compile_file, toplev_main): Update.
7745 * toplev.h: Update comments.
7746 * objc/objc-act.c (lang_hooks): Update to new paradigm.
7748 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7750 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
7752 * system.h (IN_RANGE): New macro.
7754 2001-10-21 Zack Weinberg <zack@codesourcery.com>
7756 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
7757 INTLDEPS variable, which does not include $LIBICONV.
7758 * Makefile.in: Use INTLDEPS in LIBDEPS.
7759 * configure: Regenerate.
7761 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7763 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
7764 * cpplex.c (lex_percent, lex_dot): Remove.
7765 (get_effective_char, skip_block_comment, skip_line_comment,
7766 parse_identifier_slow, parse_number, parse_string, save_comment,
7767 _cpp_lex_direct): Update to do lookback freely.
7768 (IF_NEXT_IS, BACKUP): New macros.
7769 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
7770 * cppmacro.c (paste_tokens): Update.
7772 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
7774 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
7776 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
7778 * reload1.c (reload): Check CONSTANT_P before calling
7779 LEGITIMATE_PIC_OPERAND_P.
7780 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
7781 workaround of 2001-10-13.
7783 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
7785 * i386.c (split_di): Handle splitting of DFmode.
7787 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7789 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
7790 (adjust_address_1, offset_address): Likewise.
7792 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
7793 (output_asm_insn): Call it for each line output.
7794 Don't record an operand more than once.
7796 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
7797 * main.c: Include config.h and system.h, but not ansidecl.h.
7798 * Makefile.in (main.o): Update accordingly.
7800 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
7802 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
7804 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
7806 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
7807 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
7809 (find_sub_basic_blocks): ... here;
7810 (find_many_sub_basic_blocks): New.
7811 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
7813 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
7815 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
7817 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
7819 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
7820 * flow.c (update_life_info): Measure time.
7821 * c-decl.c: Include timevar.h
7822 (c_expand_body): Measure time.
7823 * toplev.c (rest_of_compilation): Measure time of mode switching
7825 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
7827 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
7828 (lang_independent_options): Add asynchronous-unwind-tables
7829 (toplev_main): flag_asynchronous_unwind_tables implies
7831 * flags.h (flag_asynchronous_unwind_tables): Declare.
7832 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
7833 flag_asynchronous_unwind_tables.
7834 (output_call_frame_info): Likewise.
7835 * invoke.texi (-fasynchronous-unwind-tables): Document.
7836 * i386.c (optimization_options): Enable
7837 flag_asynchronous_unwind_tables.
7839 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
7840 * i386.md (s* expanders): Destination is QImode.
7842 * toplev.c (rest_of_compilation): Do not call clear_log_links.
7843 * rtl.h (clear_log_links): Kill.
7844 * flow.c (clear_log_links): Make static; accept blocks parameter;
7845 do no clear life info.
7846 (update_life_info): Call clear_log_links.
7848 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
7850 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
7852 * cpplex.c (handle_newline, skip_escaped_newlines,
7853 get_effective_char, skip_block_comment, skip_line_comment,
7854 parse_identifier_slow, parse_number, parse_string,
7855 _cpp_lex_direct): Update to do more stepping back.
7856 (trigraph_ok): Similarly. Rename trigraph_p.
7857 (SAVE_STATE, RESTORE_STATE): Remove.
7858 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
7860 * cpplib.c (destringize): Rename destringize_and_run, and
7861 call run_directive directly.
7862 (_cpp_do__Pragma): Simplify.
7864 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7866 * pe.c (arm_pe_unique_section): Const-ify.
7867 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
7868 (switch_to_section): Add static prototype.
7870 * output.h (drectve_section): Prototype.
7872 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7874 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
7875 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
7876 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
7877 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
7878 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7879 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
7880 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
7881 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
7882 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
7883 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
7884 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
7885 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
7886 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
7887 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
7888 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
7889 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
7890 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
7891 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
7892 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
7893 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
7894 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
7895 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
7896 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
7897 cris-*-none, cris-*-linux*: Update ${tmfile} list.
7898 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
7899 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
7900 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
7901 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
7902 v850-*-*): Delete superflous ${cpu_type} setting.
7903 * config/linux.h: Delete svr4.h include.
7904 (SET_ASM_OP): Delete.
7905 * config/netware.h (INT_ASM_OP): Undef before define.
7906 * config/ptx4.h: Delete elfos.h include.
7907 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
7908 * config/svr4.h: Delete elfos.h include. Update commentary.
7909 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
7910 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
7911 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
7912 config/v850/v850.h: Delete svr4.h include.
7913 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
7914 config/m68k/m68kv4.h, config/m88k/sysv4.h,
7915 config/sparc/sysv4.h: Update includes.
7916 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
7917 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
7918 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
7919 config/m88k/dguxbcs.h: Delete includes.
7920 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
7921 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
7922 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
7924 * config/m88k/dgux.h: Delete include.
7925 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
7927 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
7928 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
7929 * config/sh/elf.h: Update include.
7930 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
7931 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
7933 2001-10-19 Catherine Moore <clm@redhat.com>
7935 * config/stormy16/stormy-abi: Updates to varargs descriptions.
7936 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
7937 base and count fields.
7938 (stormy16_expand_builtin_va_start): last_reg_count changed to
7939 size_of_reg_args. Use count + size in first comparison.
7941 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7943 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
7944 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
7945 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
7946 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
7947 Set alignment from type if INDIRECT_REF.
7948 (adjust_address_1, offset_address): Simplify alignment compuitation.
7949 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
7950 here; done by set_mem_attributes.
7952 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7954 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
7955 * arm-protos.h (rdata_section, zero_init_section, common_section):
7957 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
7958 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
7959 traditional mode stringification.
7960 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
7961 in macros controling its use.
7962 * rtlanal.c: Include tm_p.h.
7963 * varasm.c (asm_output_aligned_bss): Mark parameter with
7965 (assemble_constant_align, assemble_start_function, assemble_align,
7966 assemble_variable, assemble_trampoline_template,
7967 output_constant_def_contents): Wrap potentially empty if-stmt body
7970 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7972 * a29k-protos.h (literal_section): Prototype.
7973 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
7974 * a29k.md: Ensure function pointers are prototyped.
7975 * genattrtab.c (write_eligible_delay): Mark parameter with
7978 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7980 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7981 * 1750a.c (print_operand): Fix format specifier warning.
7982 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
7983 * 1750a.md: Likewise.
7984 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
7985 * genemit.c (output_add_clobbers): Mark parameter with
7987 * genrecog.c (write_subroutine): Likewise.
7988 * integrate.c (expand_inline_function): Delete unused variable.
7989 * varasm.c (remove_from_pending_weak_list): Wrap with
7992 2001-10-19 Jakub Jelinek <jakub@redhat.com>
7994 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
7995 field is different to previous argument's neg field.
7997 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
7999 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8001 * final.c (get_decl_from_op): New function.
8002 (output_asm_insn): Call it; write "*" when item with decl is address.
8004 2001-10-19 Janis Johnson <janis187@us.ibm.com>
8006 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
8007 about 64-bit support from the 3.0_branch version.
8009 2001-10-19 Zack Weinberg <zack@codesourcery.com>
8011 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
8012 USE_INCLUDED_LIBINTL when appropriate.
8013 * configure, config.in: Regenerate.
8014 * Makefile.in (datadir): Set to @datadir@.
8015 (intl.o): Also depend on $(CONFIG_H) and system.h.
8017 * intl.c: Factor out common gettext initialization sequence.
8018 (gcc_init_libintl): New function.
8019 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
8020 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
8021 off NLS. Add multiple include guard. No need to #ifdef-guard
8022 an #undef. Prototype gcc_init_libintl here.
8024 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
8025 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
8026 Use gcc_init_libintl.
8028 2001-10-19 Catherine Moore <clm@redhat.com>
8030 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
8032 * config/stormy16/stormy16.c (stormy16_split_move): Make
8033 sure that REG_INC notes are present for auto_inc operands.
8035 2001-10-19 Andreas Jaeger <aj@suse.de>
8037 * configure: Regenerated.
8038 * configure.in: Add x86_64 to switch statements.
8040 2001-10-18 Richard Henderson <rth@redhat.com>
8042 * config/alpha/alpha.md (sibcall_osf_1): Load destination
8043 address into $27 explicitly.
8044 (sibcall_value_osf_1): Likewise.
8046 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8048 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
8049 (offset_address): New function.
8050 (free_emit_status): Free regno_decl.
8051 (init_emit): Pass proper number of elements to xcalloc.
8052 Allocate regno_decl.
8053 (mark_emit_status): Mark regno_decl values.
8054 * expr.c (highest_pow2_factor): New function.
8055 (expand_assigment): Use it and offset_address.
8056 Properly handle ptr_mode vs. Pmode in offset calculation.
8057 (store_constructor, expand_expr_unaligned): Likewise.
8058 (expand_expr, case COMPONENT_EXPR): Likewise.
8059 * expr.h (offset_address): New decl.
8060 * function.h (struct emit_status): Add regno_decl.
8061 (REGNO_DECL): New macro.
8062 * final.c (output_asm_name): Move in file and don't conditionalize
8063 on flag_print_asm_name.
8064 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
8065 Output names of operands, if known.
8066 * function.c (assign_parms): Set REGNO_DECL.
8067 * integrate.c (integrate_decl_tree): Likewise.
8068 * stmt.c (expand_decl): Likewise.
8069 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
8071 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
8073 * attribs.c (handle_noinline_attribute): New function.
8074 (handle_used_attribute): Likewise.
8075 (c_common_attribute_table): Added noinline and used.
8076 * doc/extend.texi (Function Attributes): Document them.
8077 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
8078 Warn when merging inline with attribute noinline.
8079 (start_decl, start_function): Warn if inline and attribute
8080 noinline appear in the same declaration.
8082 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
8084 * config.gcc: Update c4x and i370 for C front end-specific
8086 * config/c4x/c4x-c.c: New.
8087 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
8088 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
8090 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
8091 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
8093 (c4x_init_pragma): Remove.
8094 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
8095 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
8096 c4x_pr_ignored): Move to c4x-c.c.
8097 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
8098 * config/c4x/t-c4x: Update.
8099 * config/i370/i370-c.c: New.
8100 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
8101 (i370_pr_map): Move to i370-c.c.
8102 * config/i370/t-i370: New.
8104 * doc/tm.texi: Update.
8106 2001-10-17 Stan Shebs <shebs@apple.com>
8108 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
8109 typo fixes throughout.
8110 (machopic_output_stub): Remove some dead code.
8112 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
8114 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
8117 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8119 * Makefile.in (print-rtl.o): Depend on TREE_H.
8120 * alias.c (get_alias_set): Make two passes over objects to first
8121 see if inner object is access via restricted pointer.
8122 Defer allocating alias set for restricted pointer until here.
8123 Call find_placeholder with second arg nonzero.
8125 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
8126 set for restricted pointer types.
8127 * emit-rtl.c (set_mem_attributes): Set more attributes.
8128 (set_mem_align, change_address, adjust_address_1): New functions.
8129 (change_address_1): Now static.
8130 (adjust_address, adjust_address_nv): Deleted.
8131 (replace_equiv_address): Call change_address_1.
8132 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
8133 (find_placeholder): Get starting point from PLIST arg.
8134 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
8135 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
8136 (adjust_address, adjust_address_nv): New macros.
8137 * print-rtl.c (tree.h): New include.
8138 (print_rtx, case MEM): Print all memory attributes.
8140 2001-10-17 Richard Henderson <rth@redhat.com>
8142 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
8144 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8146 * c-tree.texi: Eliminate duplicated word.
8147 * cpp.texi: Likewise.
8148 * install.texi: Likewise.
8149 * invoke.texi: Likewise.
8150 * tm.texi: Likewise.
8152 2001-10-17 Michael Collison <collison@isisinc.net>
8154 * dsp16xx.c: Fix comment formatting to match GNU standards.
8155 (dsp16xx_output_function_prologue): Change type of 'size'
8156 parameter from 'int' to HOST_WIDE_INT.
8157 (dsp16xx_output_function_epilogue): Change type of 'size'
8158 parameter from 'int' to HOST_WIDE_INT.
8160 2001-10-16 Richard Henderson <rth@redhat.com>
8162 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
8163 * configure, config.in: Rebuild.
8165 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
8166 (ix86_output_addr_diff_elt): New.
8167 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
8168 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
8169 (JUMP_TABLES_IN_TEXT_SECTION): New.
8170 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
8171 * config/i386/i386-protos.h: Update.
8173 * config/i386/386bsd.h, config/i386/beos-elf.h,
8174 config/i386/freebsd-aout.h, config/i386/freebsd.h,
8175 config/i386/i386-interix.h, config/i386/i386elf.h,
8176 config/i386/linux.h, config/i386/netbsd-elf.h,
8177 config/i386/netbsd.h, config/i386/openbsd.h,
8178 config/i386/ptx4-i.h, config/i386/rtemself.h,
8179 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
8180 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
8182 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
8184 * stmt.c (expand_asm_operands): Update commentary.
8186 2001-10-16 Stan Shebs <shebs@apple.com>
8188 * config/darwin.h (GCC_NAME): Remove, no longer used.
8189 (NO_MATH_LIBRARY): Ditto.
8190 (MATH_LIBRARY): Define to emptiness.
8191 (DWARF2_DEBUGGING_INFO): Define.
8192 (PREFERRED_DEBUGGING_TYPE): Define.
8193 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
8194 (EXCEPTION_SECTION): Define.
8195 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8196 * config/darwin.c (darwin_encode_section_info): Handle case of
8197 DECL_INITIAL being error_mark_node.
8199 2001-10-16 Richard Henderson <rth@redhat.com>
8201 * alpha.c (current_file_function_operand): Don't fail for profiling.
8202 (direct_call_operand): New.
8203 * alpha-protos.h: Declare it.
8204 * alpha.h (EXTRA_CONSTRAINT): Use it.
8205 (PREDICATE_CODES): Add it.
8206 (ASM_OUTPUT_MI_THUNK): Remove.
8207 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
8208 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
8210 2001-10-16 Krister Walfridsson <cato@df.lth.se>
8212 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
8213 (JUMP_TABLES_IN_TEXT_SECTION): Define.
8215 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
8217 * cfg.c (free_edge): Break out from ....
8218 (remove_edge): ... here.
8219 (clear_edges): Use free_edge.
8221 * att.h (ASM_QUAD): Add comment.
8222 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
8224 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
8226 * i386.c (split_ti): New function.
8227 (ix86_split_to_parts): Support TImodes.
8228 * i386.h (VALID_INT_MODE_P): Add TImode.
8229 * i386.md (movdi splitter): Fix.
8230 (movti): Support 64bit integer registers.
8231 (movti_rex64): New function and splitter.
8233 * i386.c (*_cost): Add movsx/movzx cost.
8234 * i386.h (struct processor_costs): Add movsx/movzx fields.
8235 (RTX_COSTS): Handle zero/sign extend + avoid believing that
8236 64bit operations require split on 64bit machine.
8237 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
8239 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
8240 (ix86_expand_move): Avoid pushes of memory if size does not match;
8241 move long constants to register.
8242 (x86_initialize_trampoline): Fix mode.
8243 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
8244 Use ASM_QUAD on 64bit.
8245 * i386.md (test pattern): Disallow impossible constants.
8246 (tablejump PIC expander): Fix emitting of sum.
8247 (movdicc_rex64): Rename to movdicc.
8248 * linux64.h (LINK_SPEC): Add missing '%'.
8250 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
8252 * tree-inline.c (inlinable_function_p): Leave it up to the
8253 front-end to turn -finline-functions into DECL_INLINE set for all
8256 2001-10-16 Stan Shebs <shebs@apple.com>
8258 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
8260 2001-10-16 Alan Modra <amodra@bigpond.net.au>
8262 * recog.c: Formatting and comment typo fixes.
8264 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
8265 version in single tree build.
8266 * configure: Regenerate.
8268 2001-10-15 David Edelsohn <edelsohn@gnu.org>
8270 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
8271 MODE arguments to gen_rtx and compare operand with const0_rtx.
8273 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8275 * system.h: Poison old unused target macros.
8276 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
8277 * config/stormy16/stormy16.c: Update references to obsolete macros.
8278 * config/stormy16/stormy16.h: Similarly.
8279 * config/stormy16/stormy16.md: Similarly.
8280 * config/cris/cris.h: Similarly.
8282 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8284 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
8285 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
8286 cpp_register_pragma): Update accordingly.
8288 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
8290 * c-pragma.h (cpp_register_pragma_space): Remove.
8291 * cpplib.h (cpp_register_pragma_space): Remove.
8292 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
8293 (cpp_register_pragma_space): Remove.
8294 (cpp_register_pragma): Simplify using lookup_pragma_entry,
8296 (do_pragma): Similarly.
8297 (_cpp_init_internal_pragmas): Don't register namespaces.
8299 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
8300 Don't register namespaces.
8301 * cp/lex.c (init_cp_pragma): Similarly.
8302 * doc/tm.texi: Update.
8304 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
8307 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
8309 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
8311 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
8312 add scheduling support.
8313 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
8314 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
8315 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
8318 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
8320 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
8321 missing CONSTANT_P test in core GCC.
8323 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
8325 * cppmain.c (struct printer): New member source.
8326 (scan_translation_unit): Fix spacing at start of lines.
8327 (cb_line_change): Update.
8329 * gcc.dg/cpp/spacing2.c: New test.
8331 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
8333 * config/cris/arit.c: Use __builtin_labs, not abs.
8335 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
8337 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
8338 misplaced sprintf and fprintf argument.
8340 2001-10-12 Zack Weinberg <zack@codesourcery.com>
8342 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
8343 * configure.in, Makefile.in: Take out obsolete check-po logic.
8344 * configure, config.in: Regenerate.
8346 2001-10-12 Ziemowit Laski <zlaski@apple.com>
8348 * objc/objc-act.c (finish_objc): Correct precondition for emitting
8349 symtab declarations.
8351 2001-10-12 Stan Shebs <shebs@apple.com>
8353 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
8354 declarations of arguments and local variables.
8356 2001-10-12 Christopher Faylor <cgf@redhat.com>
8358 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
8359 ENDFILE_SPEC definition.
8361 2001-10-12 Kazu Hirata <kazu@hxi.com>
8363 * gthr-dce.h: Fix comment formatting.
8364 * gthr-posix.h: Likewise.
8365 * gthr-single.h: Likewise.
8366 * gthr-solaris.h: Likewise.
8367 * gthr-vxworks.h: Likewise.
8368 * gthr-win32.h: Likewise.
8370 2001-10-12 Jakub Jelinek <jakub@redhat.com>
8372 * final.c (output_asm_insn): Make sure assembly dialects are
8373 terminated, not nested. Output `|' and `}' characters if they
8374 don't appear inside assembly dialect selection.
8375 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
8376 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
8377 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
8378 strsetsi_rex_1): Add {} braces.
8380 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8382 * toplev.c (compile_file): Ignore return value from yyparse.
8383 Always pop any nested binding levels after yyparse returns.
8385 2001-10-11 Richard Henderson <rth@redhat.com>
8387 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
8389 2001-10-11 Richard Henderson <rth@redhat.com>
8391 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
8392 fall back to add_AT_long_long for large CONST_INT.
8394 2001-10-11 Richard Henderson <rth@redhat.com>
8396 * config/i386/i386.md (setcc splitters): Add four splitters to
8397 simplify compound compares that simplify_comparison can't handle.
8399 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8401 * cpplex.c (digraph_spellings, token_spellings): Make static.
8403 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8405 * unroll.c (loop_iterations): Fixup last patch.
8407 2001-10-11 Richard Henderson <rth@redhat.com>
8409 * rtl.h (REG_VTABLE_REF): New.
8410 * rtl.c (reg_note_name): Add it.
8411 * combine.c (distribute_notes): Handle it.
8412 * final.c (final_scan_insn): Handle it.
8413 * tree.def (VTABLE_REF): New.
8414 * expr.c (expand_expr): Handle it.
8415 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
8416 * output.h: Declare them.
8418 2001-10-11 Richard Henderson <rth@redhat.com>
8420 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
8423 2001-10-11 David Edelsohn <edelsohn@gnu.org>
8425 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
8426 available in 64-bit mode.
8428 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8430 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
8431 cris-*-linux* cases.
8432 * config/cris/cris-protos.h: New file.
8433 * config/cris/cris.c: New file.
8434 * config/cris/cris.h: New file.
8435 * config/cris/cris.md: New file.
8436 * config/cris/linux.h: New file.
8437 * config/cris/aout.h: New file.
8438 * config/cris/arit.c: New file.
8439 * config/cris/cris_abi_symbol.c: New file.
8440 * config/cris/mulsi3.asm: New file.
8441 * config/cris/t-aout: New file.
8442 * config/cris/t-cris: New file.
8443 * config/cris/t-elfmulti: New file.
8444 * config/cris/t-linux: New file.
8445 * doc/invoke.texi: Add CRIS options.
8446 * doc/install.texi (Specific): Add blurb for CRIS.
8448 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
8450 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
8452 * config/float/i32.h: Likewise.
8453 * config/float-i386.h: Likewise.
8454 * config/float-i64.h: Likewise.
8455 * config/float-m68k.h: Likewise.
8456 * config/float-sh.h: Likewise.
8457 * config/float-sparc.h: Likewise.
8459 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8461 * doc/contrib.texi: Add note about CRIS port to my entry.
8463 2001-10-11 Kazu Hirata <kazu@hxi.com>
8465 * basic-block.h: Fix formatting.
8466 * bitmap.h: Likewise.
8467 * cpplib.h: Likewise.
8468 * c-tree.h: Likewise.
8469 * diagnostic.h: Likewise.
8470 * flags.h: Likewise.
8472 * longlong.h: Likewise.
8474 * reload.h: Likewise.
8478 2001-10-10 Richard Henderson <rth@redhat.com>
8480 * c-parse.in (asm_operand): Allow named operands.
8481 * genconfig.c (max_recog_operands): Set to 29.
8482 * local-alloc.c (requires_inout): Skip multiple digits.
8483 * recog.c (asm_operand_ok): Likewise.
8484 (preprocess_constraints): Use strtoul for matching constraints.
8485 (constrain_operands): Likewise.
8486 * regmove.c (find_matches): Likewise.
8487 * reload.c (find_reloads): Likewise.
8488 * stmt.c (parse_output_constraint): Don't reject in-out
8489 constraint on operands > 9. Reject '[' in constraint.
8490 (expand_asm_operands): Handle named operands. Use strtoul
8491 for matching constraints.
8492 (check_operand_nalternatives): Split out from expand_asm_operands.
8493 (check_unique_operand_names): New.
8494 (resolve_operand_names, resolve_operand_name_1): New.
8496 * doc/extend.texi (Extended Asm): Document named operands.
8497 * doc/md.texi (Simple Constraints): Document matching constraints
8500 2001-10-10 Richard Henderson <rth@redhat.com>
8502 * combine.c (try_combine): Handle a SEQUENCE of one insn.
8504 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
8505 (jcc splitters): Add two splitters to simplify compound compares
8506 that simplify_comparison can't handle.
8508 2001-10-10 Richard Henderson <rth@redhat.com>
8510 * langhooks.c: Include langhooks.h.
8511 * Makefile.in (langhooks.o): Depend on it.
8513 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
8515 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
8516 should not be considered as a no-op.
8517 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
8519 2001-10-10 Stan Shebs <shebs@apple.com>
8521 * alias.c: Remove uses of "register" specifier in declarations
8522 of arguments and local variables.
8523 * c-common.c: Ditto.
8524 * c-convert.c: Ditto.
8526 * c-format.c: Ditto.
8527 * c-semantics.c: Ditto.
8528 * c-typeck.c: Ditto.
8529 * caller-save.c: Ditto.
8532 * cfgbuild.c: Ditto.
8534 * collect2.c: Ditto.
8538 * cppfiles.c: Ditto.
8541 * defaults.h: Ditto.
8543 * dwarf2out.c: Ditto.
8544 * dwarfout.c: Ditto.
8545 * emit-rtl.c: Ditto.
8550 * fix-header.c: Ditto.
8551 * floatlib.c: Ditto.
8553 * fold-const.c: Ditto.
8554 * function.c: Ditto.
8557 * gen-protos.c: Ditto.
8558 * genattrtab.c: Ditto.
8559 * gencheck.c: Ditto.
8560 * genconfig.c: Ditto.
8562 * genextract.c: Ditto.
8563 * genflags.c: Ditto.
8564 * gengenrtl.c: Ditto.
8565 * genoutput.c: Ditto.
8567 * genrecog.c: Ditto.
8568 * gensupport.c: Ditto.
8572 * haifa-sched.c: Ditto.
8573 * hard-reg-set.h: Ditto.
8575 * integrate.c: Ditto.
8578 * local-alloc.c: Ditto.
8580 * mips-tdump.c: Ditto.
8581 * mips-tfile.c: Ditto.
8584 * print-rtl.c: Ditto.
8585 * read-rtl.c: Ditto.
8588 * reg-stack.c: Ditto.
8589 * regclass.c: Ditto.
8594 * resource.c: Ditto.
8598 * sched-deps.c: Ditto.
8599 * sched-rgn.c: Ditto.
8601 * simplify-rtx.c: Ditto.
8603 * stor-layout.c: Ditto.
8610 * xcoffout.c: Ditto.
8612 2001-10-10 Richard Henderson <rth@redhat.com>
8614 * rtl.h (can_reverse_comparison_p): Remove.
8616 2001-10-10 Christopher Faylor <cgf@redhat.com>
8618 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
8621 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8623 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
8624 (Thanks to Chris Faylor for suggesting macro name).
8625 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
8627 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
8628 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
8629 (MATH_LIBRARY): Undef before definition.
8630 (OUTPUT_QUOTED_STRING): Likewise.
8631 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
8633 2001-10-10 Richard Henderson <rth@redhat.com>
8635 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
8636 (fde_unencoded_compare): Likewise. Don't use subtraction to get
8637 a tristate comparison value.
8638 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
8640 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8643 * unroll.c (loop_iterations): Ignore insns generated by loop
8646 * config.gcc (mips*-*-gnu*): Delete support.
8647 * config/mips/gnu.h: Remove.
8649 2001-10-10 Kazu Hirata <kazu@hxi.com>
8651 * calls.c: Fix formatting.
8652 * c-decl.c: Likewise.
8653 * cfgcleanup.c: Likewise.
8654 * combine.c: Likewise.
8655 * cppfiles.c: Likewise.
8656 * cpplib.c: Likewise.
8657 * cppmacro.c: Likewise.
8658 * crtstuff.c: Likewise.
8660 * dwarf2out.c: Likewise.
8661 * expmed.c: Likewise.
8663 * fold-const.c: Likewise.
8664 * function.c: Likewise.
8666 * genattrtab.c: Likewise.
8667 * ggc-page.c: Likewise.
8668 * integrate.c: Likewise.
8669 * libgcc2.c: Likewise.
8671 * optabs.c: Likewise.
8672 * profile.c: Likewise.
8673 * protoize.c: Likewise.
8675 * recog.c: Likewise.
8676 * reload1.c: Likewise.
8677 * reload.c: Likewise.
8678 * reorg.c: Likewise.
8679 * resource.c: Likewise.
8680 * sched-rgn.c: Likewise.
8681 * sdbout.c: Likewise.
8683 * toplev.c: Likewise.
8684 * varasm.c: Likewise.
8686 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
8688 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
8689 * Makefile.in (langhooks.o): Add dependencies.
8691 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
8693 * rs6000.c (rs6000_emit_load_toc_table): Don't
8694 strdup the toc label.
8695 (create_TOC_reference): Likewise.
8697 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8699 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
8702 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8704 * config/i386/i386.c (ix86_attribute_table): Correct
8705 min_len, max_len fields for dllimport, dllexport and shared.
8707 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
8709 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
8710 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
8711 Consistently use "nonzero" instead of "non-zero".
8713 2001-10-09 Kazu Hirata <kazu@hxi.com>
8715 * acconfig.h: Fix comment formatting.
8716 * c-dump.h: Likewise.
8717 * c-tree.h: Likewise.
8718 * conditions.h: Likewise.
8720 * function.h: Likewise.
8722 * hwint.h: Likewise.
8723 * integrate.h: Likewise.
8726 * optabs.h: Likewise.
8728 2001-10-09 Kazu Hirata <kazu@hxi.com>
8730 * c-common.h: Fix comment formatting.
8731 * c-dump.c: Likewise.
8733 * diagnostic.h: Likewise.
8734 * except.c: Likewise.
8736 * gcov-io.h: Likewise.
8737 * genattrtab.c: Likewise.
8738 * output.h: Likewise.
8739 * predict.h: Likewise.
8740 * reload1.c: Likewise.
8741 * reload.h: Likewise.
8742 * resource.h: Likewise.
8744 * system.h: Likewise.
8746 * tree-inline.c: Likewise.
8747 * tsystem.h: Likewise.
8748 * varasm.c: Likewise.
8749 * xcoffout.h: Likewise.
8751 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8753 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
8755 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8757 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
8758 config/i386/i386elf.h, config/i386/netbsd-elf.h,
8759 config/i386/netware.h, config/mcore/gfloat.h,
8760 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
8761 config/netware.h, gccbug.in: Update FSF address.
8763 2001-10-09 Kazu Hirata <kazu@hxi.com>
8765 * c-common.c: Fix comment typos.
8766 * cfgrtl.c: Likewise.
8767 * collect2.c: Likewise.
8768 * cpplex.c: Likewise.
8769 * doloop.c: Likewise.
8770 * dwarf2out.c: Likewise.
8771 * dwarfout.c: Likewise.
8773 * fold-const.c: Likewise.
8777 * global.c: Likewise.
8778 * ifcvt.c: Likewise.
8780 * optabs.c: Likewise.
8781 * protoize.c: Likewise.
8782 * regclass.c: Likewise.
8783 * reorg.c: Likewise.
8787 * doc/cpp.texi: Likewise.
8788 * doc/c-tree.texi: Likewise.
8789 * doc/extend.texi: Likewise.
8790 * doc/invoke.texi: Likewise.
8791 * doc/objc.texi: Likewise.
8792 * doc/tm.texi: Likewise.
8794 2001-10-08 Richard Henderson <rth@redhat.com>
8796 * varasm.c (set_named_section_flags): Initialize "declared".
8798 2001-10-08 Robert Lipe <robertlipe@usa.net>
8800 * varasm.c (struct in_named_entry): Add declared.
8801 (named_section_first_declaration): New function.
8802 (default_elf_asm_named_section): Use it.
8803 * output.h (named_section_first_declaration): New.
8805 2001-10-08 Richard Henderson <rth@redhat.com>
8807 * i386.md (movsi_xor): Export.
8808 (setcc peep2): Use it when available; add an alternative to
8809 match zero_extendhisi2_and.
8811 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8813 * romp-protos.h (romp_initialize_trampoline): New function.
8814 * romp.c (romp_initialize_trampoline): Likewise.
8815 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
8816 romp_initialize_trampoline.
8818 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8820 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
8821 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8822 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8823 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8825 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8827 * unroll.c (loop_iterations): Extend check for multiple back edges.
8829 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
8831 * langhooks.h: New file.
8832 * Makefile.in (OBJS): Added langhooks.o.
8833 (c-lang.o): Depend on langhooks.h.
8834 (c-common.o): Don't depend on tree-inline.h.
8835 (tree-inline.o): Depend on toplev.h.
8836 (langhooks.o): New rule.
8837 * c-common.c: Don't include tree-inline.h.
8838 (c_mark_lang_decl): Mark argument c as unused.
8839 (c_common_lang_init): Don't initialize hooks here.
8840 * c-lang.c: Include langhooks.h, then override some macros.
8841 (lang_hooks): Initialize with macros in langhooks.h.
8842 (c_init): Don't initialize hooks here.
8843 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
8844 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
8845 * tree-inline.c: Include toplev.h. Don't define hook variables.
8846 * tree-inline.h: Don't define hook types nor declare hook
8847 variables. Move macros to...
8848 * langhooks.c: ... new file, as functions. Adjust all callers.
8850 2001-10-08 Jeffrey A Law <law@cygnus.com>
8852 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
8853 purge_mem_unchanging_flag on all instructions, not just on those
8854 before NOTE_INSN_FUNCTION_BEG.
8856 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8858 * cppmacro.c (_cpp_create_definition): Leave comments off.
8860 * doc/cpp.texi: Update.
8862 2001-10-08 DJ Delorie <dj@redhat.com>
8864 * c-decl.c (grokfield): Make sure the only unnamed fields
8865 we're allowing are either structs or unions.
8866 * doc/extend.texi: Add documentation for the unnamed field
8869 2001-10-08 Zack Weinberg <zack@codesourcery.com>
8871 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
8872 * configure.in: Use it.
8873 * configure: Regenerated.
8874 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
8875 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
8877 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8879 * cppfiles.c (open_file): Don't mark zero-length files
8880 never-reread here. Don't output diagnostics here either.
8881 (stack_include_file): Mark them never-reread here.
8882 (_cpp_read_file): Update.
8884 2001-10-08 Richard Henderson <rth@redhat.com>
8886 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
8888 2001-10-08 Richard Henderson <rth@redhat.com>
8890 * expr.c (store_expr): When converting a CONST_INT for storage
8891 in a SUBREG, convert it to both SUBREG modes before stripping
8894 2001-10-08 Richard Henderson <rth@redhat.com>
8896 * varasm.c (restore_varasm_status): New.
8897 * function.h: Declare it.
8898 * function.c (pop_function_context_from): Call it.
8900 2001-10-08 Richard Henderson <rth@redhat.com>
8902 * c-common.h (struct c_lang_decl): Add declared_inline.
8903 * c-tree.h (DECL_DECLARED_INLINE_P): New.
8904 * c-lang.c (c_disregard_inline_limits): Use it.
8905 * c-decl.c (duplicate_decls): Likewise.
8906 (pushdecl, redeclaration_error_message): Likewise.
8907 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
8908 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
8909 Set DECL_INLINE if -finline-functions.
8910 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
8912 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8914 * cppmacro.c (funlike_invocation_p): Move some logic to caller
8915 in enter_macro_context. Create a padding token in its own context
8916 if necessary when the search for '(' fails.
8917 (enter_macro_context): Update.
8919 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
8921 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
8922 genmultilib, toplev.c: Fix spelling errors of "separate" as
8923 "seperate", and corresponding spelling errors of related words.
8925 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8927 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
8928 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
8930 * c-dump.c (dump_option_value_info): Likewise.
8931 * c-format.c (format_length_info, format_char_info,
8932 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
8933 * collect2.c (names): Likewise.
8934 * cppdefault.h (default_include): Likewise.
8935 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
8936 * flow.c (life_analysis): Likewise.
8937 * gcc.c (dir_separator_str, modify_target, option_map,
8938 target_option_translations, spec_list_1, extra_specs_1,
8939 init_spec): Likewise.
8940 * gcov.c (gcov_version_string): Likewise.
8941 * genattr.c (write_units): Likewise.
8942 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
8943 * gengenrtl.c (rtx_definition, defs): Likewise.
8944 * genrecog.c (pred_table): Likewise.
8945 * global.c (global_alloc): Likewise.
8946 * lcm.c (optimize_mode_switching): Likewise.
8947 * local-alloc.c (find_free_reg): Likewise.
8948 * params.h (param_info): Likewise.
8949 * predict.c (predictor_info): Likewise.
8950 * protoize.c (unexpansion_struct): Likewise.
8951 * real.c (bmask): Likewise.
8952 * recog.h (insn_operand_data, insn_data): Likewise.
8953 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
8954 * stmt.c (expand_nl_goto_receiver): Likewise.
8955 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
8956 target_switches, target_options): Likewise.
8957 * tradcif.y (token, tokentab2, yylex): Likewise.
8958 * tree.h (attribute_spec): Likewise.
8960 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
8962 * arc.c (arc_output_function_epilogue): Likewise.
8963 * arm.c (processors, all_cores, all_architectures,
8964 arm_override_options, isr_attribute_arg, isr_attribute_args,
8965 arm_isr_value): Likewise.
8966 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
8968 * c4x.c (c4x_int_reglist): Likewise.
8969 * d30v.c (override_options): Likewise.
8970 * h8300.c (shift_insn): Likewise.
8971 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
8972 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
8973 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
8974 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
8975 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
8976 * i386.h (processor_costs, ix86_cost): Likewise.
8977 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
8978 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
8979 * m68k.c (codes_68881, codes_FPA): Likewise.
8980 * m88k.c (mode_from_align, max_from_align, all_from_align,
8981 best_from_align, m_options): Likewise.
8982 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
8983 * mcore.c (mode_from_align): Likewise.
8984 * mips/elf64.h (UNIQUE_SECTION): Likewise.
8985 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
8986 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
8987 * mips.h (mips_regno_to_class): Likewise.
8988 * ns32k.c (scales): Likewise.
8989 * pa.c (import_string, magic_milli): Likewise.
8990 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
8991 * sparc.c (leaf_reg_remap, sparc_override_options,
8992 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
8994 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
8996 2001-10-07 Dale Johannesen <dalej@apple.com>
8998 * reload1.c (reload_reg_free_p): Teach register interference
8999 checking that multiple output reloads are emitted in
9001 reload1.c (reload_reg_reaches_end_p): Ditto.
9002 reload1.c (reloads_conflict): Ditto.
9004 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
9006 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
9007 NULL_TREE inside @code.
9009 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
9011 * doc/gcc.texi: Document consistent style of "32-bit",
9012 "Objective-C", and "@code{NULL}".
9014 2001-10-06 Zack Weinberg <zack@codesourcery.com>
9016 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
9017 (cpp_token_len, cpp_spell_token, cpp_output_token,
9018 _cpp_equiv_tokens): Handle it.
9019 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
9020 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
9021 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
9024 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9026 * gcc.c (default_compilers): Remove .ada.
9028 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
9030 * doc/cppinternals.texi: Update.
9032 2001-10-06 Zack Weinberg <zack@codesourcery.com>
9034 * gcc.c (main): Set this_file_error if the appropriate
9035 compiler for a language has not been installed.
9037 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
9039 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
9041 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
9043 * gccbug.in (CATEGORIES): Add ada.
9045 2001-10-05 Catherine Moore <clm@redhat.com>
9047 * config/stormy16/stormy-abi: Document abi changes.
9048 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
9049 (ICALL_REGS): New register class.
9050 (NUM_ARGUMENT_REGISTERS): Now 6.
9051 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
9053 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
9054 * config/stormy16.md (call_internal, call_value_internal,
9055 indirect_jump): Use new 'z' constraint.
9057 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
9059 * doc/cppinternals.texi: Update.
9061 2001-10-05 Richard Henderson <rth@redhat.com>
9063 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
9064 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
9065 the gas section-name-as-label feature.
9067 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
9069 * doc/cppinternals.texi: Update.
9071 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9073 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
9074 to ensure valid SImode constants.
9076 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
9078 * Makefile.in (c-decl.o): Depend on tree-inline.h.
9079 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
9080 * c-decl.c: Include tree-inline.h.
9081 (c_expand_body): Call optimize_inline_calls. Determine whether
9082 a function is inlinable upfront, and only clear
9083 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
9084 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
9085 (c_disregard_inline_limits): New function.
9086 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
9087 (c_post_options): Enable tree inlining if inlining is enabled.
9088 Don't inline trees when instrumenting functions.
9089 (c_init): Initialize lang_disregard_inline_limits and
9090 lang_cannot_inline_tree_fn.
9091 * tree-inline.c (initialize_inlined_parameters): Handle calls
9092 with fewer arguments than declared parameters, and fewer
9093 parameters than passed arguments. Don't assume value is a
9095 (declare_return_variable): Convert return value back to the
9096 original type, if it was promoted.
9097 (tree_inlinable_function_p): New function.
9098 (inlinable_function_p): Don't look at DECL_INLINE if we're
9099 inlining all functions. Make it work with a NULL id.
9100 Re-check DECL_UNINLINABLE after language-specific checks.
9101 * tree-inline.h (tree_inlinable_function_p): Declare it.
9102 * integrate.c (save_for_inline): Don't bother to prepare argvec
9104 * cse.c (check_for_label_ref): Don't check deleted labels.
9106 * Makefile.in (tree-inline.o): Depend on newly-included headers.
9107 * tree-inline.c: Include headers needed for the functions moved in.
9108 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
9109 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
9110 (copy_body, initialize_inlined_parameters): Likewise.
9111 (declare_return_variable, inlinable_function_p): Likewise.
9112 (expand_call_inline, expand_calls_inline): Likewise.
9113 (optimize_inline_calls, clone_body): Likewise.
9114 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
9115 (copy_tree_r, remap_save_expr): Likewise.
9117 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
9119 * Makefile.in (OBJS): Added tree-inline.o.
9120 (c-common.o): Depend on tree-inline.h.
9121 (tree-inline.o): New target.
9122 * c-common.c: Include tree-inline.h.
9123 (c_mark_lang_decl): Don't mark saved_tree.
9124 (c_common_lang_init): Set lang_anon_aggr_type_p.
9125 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
9126 (struct c_lang_decl): Moved saved_tree to tree_decl.
9127 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
9128 * integrate.h (function_attribute_inlinable_p): Declare it.
9129 * integrate.c (function_attribute_inlinable_p): Export it.
9130 * tree-inline.c: New file. Define variables declared in...
9131 * tree-inline.h: New file. Declare functions to be moved to
9132 tree-inline.c. Define macros and declare types and hooks for
9133 language-specific tree inlining.
9134 (flag_inline_trees): Moved definition from cp/decl2.c.
9135 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
9136 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
9137 (struct tree_decl): Moved saved_tree from c_lang_decl and
9138 inlined_fns from C++'s lang_decl.
9140 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
9142 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
9143 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
9145 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
9147 * doc/cppinternals.texi: Update.
9149 2001-10-04 Eric Christopher <echristo@redhat.com>
9151 * config/mips/mips.c (init_cumulative_args): Remember to set
9153 * config.gcc: Redo linux configuration. Add target_cpu_default
9154 of soft-float to all mipsisa32 combinations and tx39.
9155 * config/mips/linux.h: Remove include of mips.h.
9157 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
9159 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
9160 HOST_LDFLAGS and HOST_CPPFLAGS.
9162 2001-10-03 Ziemowit Laski <zlaski@apple.com>
9164 * c-parse.in (objc_inherit_code, objc_pq_context,
9165 objc_public_flag): Make static.
9166 (objc_interface_context, objc_implementation_context,
9167 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
9168 global tree array in objc/objc-act.[ch].
9169 (methoddef): Remove unnecessary code.
9171 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
9172 Hoist struct definitions to objc-act.h.
9173 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
9174 cat_count): Place declaration in objc-act.h.
9175 (objc_tree_index): Move enumeration to objc-act.h.
9176 (objc_global_trees): Place declaration and macro accessors in
9178 (implementation_context): Remove duplicate; use
9179 objc_implementation_context instead:
9180 (method_context): Remove duplicate; use objc_method_context
9182 (objc_ellipsis_node, objc_method_prototype_template,
9183 implemented_classes, function_type): Move global vars to
9185 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
9186 (build_message_expr): Move actual construction of ObjC message
9187 send nodes to finish_message_expr.
9188 (finish_message_expr): New routine, contains code formerly in
9190 * objc/objc-act.h (finish_message_expr): New prototype.
9191 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
9192 declarations; these vars are now part of objc_global_trees.
9193 (objc_tree_index, objc_global_trees): Move definitions from
9195 * objc/objc-tree.def: Update copyright info.
9197 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
9199 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
9201 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
9202 only if TARGET_ARCH64.
9204 2001-10-02 Bernd Schmidt <bernds@redhat.com>
9206 * doc/extend.texi: Fix some problems with previous checkin.
9207 * doc/invoke.texi: Likewise.
9209 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
9211 * cpphash.h: Update comments.
9212 (cpp_context): Update.
9213 (spec_nodes): Remove n__Pragma.
9214 * cppinit.c (cpp_create_reader): Update.
9215 (builtin_array): Add _Pragma.
9216 * cpplib.h: Update comments.
9217 (NODE_DISABLED, BT_PRAGMA): New.
9218 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
9219 * cppmacro.c (struct cpp_macro): Remove disabled.
9220 (builtin_macro): Return int, handle _Pragma, push the new token
9221 on the context stack.
9222 (funlike_invocation_p): Unconstify, update.
9223 (enter_macro_context): Handle builtins here.
9224 (replace_args, push_token_context, push_ptoken_context):
9225 Update for prototype changes.
9226 (_cpp_pop_context): Update.
9227 (cpp_get_token): Don't handle buitins, nor _Pragma here.
9228 (cpp_sys_macro_p): Update.
9229 (_cpp_free_definition): Clear disabled flag.
9230 (_cpp_create_definition): Upate.
9231 * cppmain.c: Update comments.
9233 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
9234 Andreas Jaeger <aj@suse.de>,
9235 Jan Hubicka <jh@suse.cz>
9237 * doc/invoke.texi (i386 Options): Document x86-64 options.
9238 (i386 and x86-64 Options): Rename i386 options section.
9240 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
9241 (TARGET_SWITCHES): Add -munwind-info.
9242 (MASK_NO_UNWIND_INFO): New.
9243 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
9245 (ASM_OUTPUT_DOUBLE_INT): New.
9247 * config/i386/linux64.h: New spec file for Linux x86-64 support.
9248 * config.gcc: Fix tm_file settings for x86-64.
9249 * config/i386/x86-64.h: New file with OS independent x86-64
9251 * config/i386/biarch64.h: New file used to configure compiler
9252 to biarch/64bit compilation.
9254 * config/i386/i386.c: (override_options): Set flags default
9255 for 64bit compilation.
9257 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
9259 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
9260 (ix86_expand_int_movcc): Optimize DImode conditional moves with
9261 constants on x86_64.
9262 (ix86_attr_length_immediate_default): Support MODE_DI.
9263 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
9265 (indirect_jump, tablejump): Turn into expander.
9267 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9269 * c-common.c (c_format_attribute_table): Make format and
9270 format_arg attributes apply to function types rather than to
9272 (is_valid_printf_arglist): Construct an attribute list and pass
9273 that to check_function_format rather than a name.
9274 * c-common.h (check_function_format): Adjust prototype.
9275 * c-decl.c (duplicate_decls): Preserve attributes from type of
9276 built-in decl when allowing for harmless conflict in types.
9277 * c-format.c (record_function_format,
9278 record_international_format, function_format_list,
9279 international_format_info, international_format_list): Remove.
9280 (function_format_info): Remove next, name and assembler_name.
9281 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
9282 (decode_format_attr): New.
9283 (handle_format_attribute): Handle receiving a type rather than a
9284 decl. Call decode_format_attr. Store format information in a
9285 function_format_info.
9286 (handle_format_arg_attribute): Correct comment. Handle receiving
9287 a type rather than a decl. Use unsigned HOST_WIDE_INT for
9289 (check_format_info_recurse, check_format_info_main): Take argument
9290 numbers as unsigned HOST_WIDE_INT.
9291 (check_function_format): Take a list of attributes from the
9292 function type rather than a name or assembler name. Check for
9293 format attributes in that list and the attributes on the type of
9294 the current function rather than looking through
9295 function_format_list.
9296 (check_format_info): Use unsigned HOST_WIDE_INT for argument
9298 (check_format_info_recurse): Take format_arg attributes from the
9299 type of the function calls rather than using
9300 international_format_list. Allow for multiple format_arg
9302 * c-typeck.c (build_function_call): Pass type attributes to
9303 check_function_format rather than name or assembler name. Don't
9304 require there to be a name or assembler name to check formats.
9306 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9308 * attribs.c (decl_attributes): Possibly call
9309 insert_default_attributes to insert default attributes on
9310 functions in a lazy manner.
9311 * builtin-attrs.def: New file; define the default format and
9312 format_arg attributes.
9313 * c-common.c (c_format_attribute_table): Move to earlier in the
9315 (c_common_nodes_and_builtins): Initialize format_attribute_table.
9316 (enum built_in_attribute, built_in_attributes,
9317 c_attrs_initialized, c_init_attributes,
9318 c_common_insert_default_attributes): New.
9319 (c_common_lang_init): Don't initialize format_attribute_table. Do
9320 call c_init_attributes.
9321 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
9322 * c-common.h (init_function_format_info): Don't declare.
9323 (c_common_insert_default_attributes): Declare.
9324 * c-decl.c (implicitly_declare, builtin_function): Call
9326 (init_decl_processing): Don't call init_function_format_info.
9327 (insert_default_attributes): New.
9328 * c-format.c (handle_format_attribute,
9329 handle_format_arg_attribute): Be quiet about inappropriate
9330 declaration when applying default attributes.
9331 (init_function_format_info): Remove.
9332 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
9333 (insert_default_attributes): Declare.
9335 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9337 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
9339 2001-10-01 Jim Wilson <wilson@redhat.com>
9341 * sched-deps.c (add_dependence): When elide conditional dependence,
9342 check that insn doesn't modify cond2.
9344 2001-10-01 Dale Johannesen <dalej@apple.com>
9346 * config/rs6000/rs6000.h (enum processor_type): Add support
9347 for 7400 (G4) and 7450.
9349 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
9350 (rs6000_issue_rate): Ditto.
9351 (rs6000_adjust_cost): Fix cycle counts for compares.
9352 (debug_stack_info): Fix an obvious typo.
9353 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
9354 * doc/invoke.texi: Document.
9355 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
9357 (PROCESSOR_DEFAULT): Ditto.
9359 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
9361 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
9362 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
9363 later recursive make invocation.
9365 2001-10-01 Hans Boehm <boehm@acm.org>
9367 * optabs.c (emit_libcall_block): When using non-call exceptions,
9368 don't add REG_LIBCALL reg notes to trapping calls.
9370 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9372 * flow.c (propagate_block_delete_libcall): Remove unused first arg
9373 (propagate_one_insn): Update for above change
9375 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9377 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
9378 _Unwind_GetTextRelBase): Argument is unused.
9380 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9382 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
9383 Loop through NOPs, placeholders, and components.
9384 Don't go through NOPs if change mode.
9385 (record_alias_subset): Do nothing if SUBSET and SET are the same.
9386 * emit-rtl.c (set_mem_alias_set): Enable check.
9387 * expr.c (find_placeholder): New function.
9388 (expand_expr, case PLACEHOLDER_EXPR): Use it.
9389 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
9390 to modify it and avoid unneeded copies.
9391 * expr.h (expand_expr): Always define.
9392 (find_placeholder): New declaration.
9394 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9396 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
9397 operand 2 is the stack pointer.
9398 ("addr-peephole"): Fix address computation peephole when operand 2
9399 is the stack pointer.
9401 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9403 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
9404 (ix86_setup_incoming_varargs): Likewise.
9406 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
9408 * stor-layout.c (layout_type): Don't complain about too-large
9411 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9413 * function.c (keep_stack_depressed): Don't use delete_insn.
9415 * expr.h (set_mem_alias_set): Move decl to here.
9416 * rtl.h (mem_attrs): New typedef and struct.
9417 (union rtunion_def): Add field for mem_attrs.
9418 (X0MEMATTR, MEM_ATTRS): New macros.
9419 (MEM_ALIAS_SET): Use MEM_ATTRS.
9420 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
9421 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
9422 (set_mem_alias_set): Delete decl from here.
9424 * alias.c (set_mem_alias_set): Delete from here.
9425 * emit-rtl.c (mem_attrs_htab): New variable.
9426 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
9427 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
9428 (mem_attrs_mark, get_mem_attrs): Likewise.
9429 (gen_rtx_MEM): Clear MEM_ATTRS.
9430 (set_mem_attributes): Move to here.
9431 (set_mem_alias_set): Likewise, and call get_mem_attrs.
9432 (init_emit_once): const_int_htab now deletable htab.
9433 Initialize mem_attrs_htab.
9434 * explow.c (set_mem_attributes): Delete from here.
9435 * function.c (put_var_into_stack): Clear MEM_ATTRS.
9436 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
9437 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
9438 * reload1.c (reload): Rework changing REG to MEM.
9440 2001-09-30 H.J. Lu <hjl@gnu.org>
9442 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
9443 * config.in: Rebuild.
9445 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9447 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
9448 ("tsthi_1"): Avoid allocation in register y.
9449 ("*movqi_68hc12"): Reorganize and fix constraints.
9450 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
9451 ("addqi3"): Likewise.
9452 ("addhi3"): Fix constraints.
9453 ("*logicalhi3_zexthi"): Disparage soft registers.
9455 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9457 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
9460 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9462 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
9463 that we use setjmp/longjmp exceptions.
9465 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
9467 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
9468 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
9469 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9470 _cpp_pool_alloc, _cpp_next_chunk): Remove.
9471 (_cpp_extend_buff, BUFF_ROOM): Update.
9472 (_cpp_append_extend_buff): New.
9473 (struct cpp_reader): Remove macro_pool, add a_buff.
9474 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
9476 (cpp_destroy): Free a_buff instead of macro_pool.
9477 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
9478 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9479 _cpp_pool_alloc, ): Remove.
9480 (parse_number, parse_string): Update use of _cpp_extend_buff.
9481 (_cpp_extend_buff): Update.
9482 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
9483 * cpplib.c (glue_header_name, parse_answer):
9484 Update use of _cpp_extend_buff.
9485 (cpp_register_pragma, cpp_register_pragma_space): Use
9487 (do_assert, do_unassert): Check for EOL, update.
9488 * cppmacro.c (stringify_arg, collect_args): Update to use
9489 _cpp_extend_buff and _cpp_append_extend_buff.
9490 (save_parameter, parse_params, alloc_expansion_token,
9491 _cpp_create_definition): Rework memory management.
9493 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
9495 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
9496 update md_exec_prefix.
9497 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
9500 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
9502 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
9503 (SELECT_CC_MODE): Use s390_select_ccmode.
9504 * config/s390/s390-protos.h (s390_select_ccmode): Add.
9505 * config/s390/s390.c (s390_select_ccmode): New.
9506 (s390_match_ccmode): Add CCLmode.
9507 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
9508 (output_branch_condition, output_inverse_branch_condition): Removed.
9509 (print_operand): Use s390_branch_condition_mnemonic.
9510 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
9511 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
9512 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
9514 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
9515 when converting conditional branches to far branches.
9516 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
9517 cmpint_di): Use CCSmode instead of CCUmode.
9519 * config/s390/s390.c (legitimate_la_operand_p): New.
9520 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
9521 * config/s390/s390.md (movsi): Convert load address patterns to
9522 arithmetic operations when necessary.
9523 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
9524 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
9525 (*do_la_reg_0): Don't use before reload.
9527 * config/s390/s390.c (legitimize_address): Make more efficient
9528 use of two-register addressing mode.
9530 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
9531 with -mno-backchain in some corner cases.
9533 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
9535 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
9537 * reload.c (find_reloads): Mark new USE insns with QImode.
9538 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
9539 find_reloads_subreg_address): Likewise.
9540 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
9542 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
9544 (reload): Make sure there are no USEs with mode other than
9545 VOIDmode. At the end, remove those marked with QImode.
9547 2001-09-29 Per Bothner <per@bothner.com>
9549 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
9550 * Makefile.in (includedir): Rename to local_includedir.
9551 (includedir): Define as $(prefix)/include.
9552 * config.in (PREFIX_INCLUDE_DIR): New variable.
9553 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
9555 2001-09-29 Bernd Schmidt <bernds@redhat.com>
9557 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
9559 * doc/extend.texi (Vector Extensions): New node.
9560 * doc/invoke.texi (Machine Dependent Options): Add documentation for
9561 i386 -mmmx, -msse, -m3dnow.
9563 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9565 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
9567 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
9569 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
9571 * doc/invoke.texi (Optimize Options): Delete spurious @table.
9573 2001-09-28 Richard Henderson <rth@redhat.com>
9575 * varasm.c (assemble_integer): Bound alignment check by
9578 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
9580 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9582 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
9584 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9586 Mostly from Graham Stott <grahams@redhat.com>
9587 * c-common.c (type_for_mode): Add support for V2SFmode.
9588 * tree.c (build_common_tree_nodes_2): Likewise.
9589 * tree.h (enum tree_index, global_trees): Likewise.
9590 * config/i386/i386.c (x86_3dnow_a): New variable.
9591 (override_options): Support 3Dnow extensions.
9592 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
9593 Athlon's version of 3Dnow.
9594 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
9595 (ix86_expand_builtin): Handle them.
9596 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
9597 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
9598 TARGET_3DNOW_A): New macros.
9599 (TARGET_SWITCHES): Add 3Dnow switches.
9600 (VALID_MMX_REG_MODE_3DNOW): New macro.
9601 (VECTOR_MODE_SUPPORTED_P): Use it.
9602 (enum ix86_builtins): Add entries for 3Dnow builtins.
9603 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
9604 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
9605 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
9606 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
9607 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
9608 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
9609 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
9610 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
9611 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
9612 sfence_insn, prefetch): Make these available if TARGET_SSE or
9615 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
9617 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
9618 ix86_va_start, ix86_build_va_list): Declare.
9619 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
9620 ix86_va_start, ix86_build_va_list): New global functions.
9621 * i386.md (sse_prologue_save_insn): New insn.
9622 (sse_prologue_save): New expander.
9623 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
9624 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
9626 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9628 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
9629 Use size_t everywhere, make definitions consistent with
9632 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
9634 * gcse.c (replace_store_insn): Use delete_insn.
9635 * loop.c (move_movables): Likewise; avoid delete_insn
9636 from clobbering notes moved elsewhere.
9637 (check_dbra_loop): Use delete_insn.
9638 * ssa.c (convert_from_ssa): Likewise.
9639 * cse.c (cse_insn): Use delete_insn.
9641 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9643 * cpphash.h (struct cpp_buff): Make unsigned.
9644 (_cpp_get_buff): Take length of size_t.
9645 (_cpp_unaligned_alloc): New.
9646 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
9647 (struct cpp_reader): Remove ident_pool. Add u_buff.
9648 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
9649 (cpp_destroy): Destroy u_buff, not ident_pool.
9650 * cpplex.c (parse_number, parse_string, save_comment,
9651 cpp_token_as_text): Update to use the unaligned buffer.
9652 (new_buff): Make unsigned.
9653 (_cpp_unaligned_alloc): New.
9654 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
9655 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
9657 (collect_args): Make unsigned.
9659 2001-09-27 Zack Weinberg <zack@codesourcery.com>
9661 * cpplex.c (cpp_output_token): Use a putc loop for
9662 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
9664 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
9665 * configure, config.in: Regenerate.
9666 * system.h: Replace fwrite and fprintf with their unlocked
9667 variants if available.
9669 2001-09-27 Richard Henderson <rth@redhat.com>
9671 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
9672 in favour of .eh_frame.
9674 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
9676 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
9678 (LIBCALL_VALUE): Likewise.
9680 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9682 * cpphash.h: Update comment.
9683 * cpplex.c: Update comments.
9684 (_cpp_can_paste): Remove.
9685 * cpplib.h (_cpp_can_paste): Remove.
9686 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
9687 lexer rather than _cpp_can_paste.
9689 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9691 * doc/cppinternals.texi: Update.
9693 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9695 * cpphash.h (struct cpp_pool): Remove locks and locked.
9696 (struct cpp_context): Add member buff.
9697 (struct cpp_reader): Remove member argument_pool.
9698 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9699 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
9700 * cpplex.c (chunk_suitable): Remove pool argument.
9701 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
9702 (new_buff, _cpp_extend_buff): Update.
9703 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
9704 which buffer is returned.
9705 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
9706 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9707 * cppmacro.c (lock_pools, unlock_pools): Remove.
9708 (push_ptoken_context): Take a _cpp_buff.
9709 (enter_macro_context): Pool locking removed.
9710 (replace_args): Use a _cpp_buff for the replacement list with
9712 (push_token_context): Clear buff.
9713 (expand_arg): Use _cpp_pop_context.
9714 (_cpp_pop_context): Free a context's buffer, if any.
9716 2001-09-26 DJ Delorie <dj@redhat.com>
9718 * c-typeck.c (digest_init): Check for sizeless arrays.
9720 2001-09-26 Richard Henderson <rth@redhat.com>
9722 * optabs.c (init_one_libfunc): Create a dummy function type
9723 instead of using error_mark_node.
9725 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9727 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
9728 _cpp_extend_buff, _cpp_free_buff): New.
9729 (struct cpp_reader): New member free_buffs.
9730 * cppinit.c (cpp_destroy): Free buffers.
9731 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
9732 _cpp_extend_buff, _cpp_free_buff): New.
9733 * cpplib.h (struct cpp_options): Remove unused member.
9734 * cppmacro.c (collect_args): New. Combines the old parse_arg
9735 and parse_args. Use _cpp_buff for memory allocation.
9736 (funlike_invocation_p, replace_args): Update.
9738 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
9740 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
9742 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
9744 * except.c (sjlj_mark_call_sites): Change address inside sequence.
9746 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
9748 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
9751 2001-09-25 Janis Johnson <janis187@us.ibm.com>
9752 Jim Wilson <wilson@redhat.com>
9754 * doc/install.texi (Specific, ia64-*-linux): Document.
9756 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
9758 * Makefile.in (cfgrtl.o): Add.
9759 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9760 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9761 free_aux_for_edge): Declare.
9763 (HAVE_return): Undefine.
9764 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9765 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9766 free_aux_for_edge): New global functions.
9767 (first_delete_block): New static variable.
9768 (init_flow): Clear first_delete_block.
9769 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
9770 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
9771 try_redirect_by_replacing_jump, last_loop_beg_note,
9772 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
9773 delete_insn, delete_insn_chain, create_basic_block_structure,
9774 create_basic_block, flow_delete_block, compute_bb_for_insn,
9775 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
9776 set_block_for_new_insns, split_block, merge_blocks_nomove,
9777 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
9778 redirect_edge_and_branch, force_nonfallthru_and_redirect,
9779 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
9780 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
9781 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
9782 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
9783 purge_all_dead_edges): Move to ....
9784 * cfgrtl.c: New file; .... Here.
9786 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
9787 (reroder_basic_block): Use alloc_aux_for_blocks.
9788 * predict.c (estimate_bb_frequencies): Likewise; use
9789 alloc_aux_for_edges.
9790 * profile.c (compute_branch_probabilities): Likewise.
9791 (branch_prob): Likewise.
9792 * reg-stack.c (reg_to_stack): Likewise.
9794 * emit-rtl.c (emit_insns_after): Never return NULL.
9796 * basic-block.h (set_block_for_new_insns): Delete.
9797 * cfgrtl.c (set_block_for_new_insns): Delete.
9799 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
9800 calls when crossjumping.
9802 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
9803 * unroll.c (copy_loop_body): Use delete_insn.
9805 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
9806 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
9807 keep_stack_depressed): Likewise.
9808 * gcse.c (cprop_cc0_jump): Likewise.
9809 * local-alloc.c (update_equiv_regs): Likewise.
9810 * loop.c (scan_loop, loop_delete_insns): Likewise.
9811 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
9812 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
9813 delete_output_reload, delete_address_reloads_1,
9814 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
9816 * sibcall.c (replace_call_placeholder): Likewise.
9817 * cse.c (cse_insn): Likewise.
9819 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9821 From Graham Stott <grahams@redhat.com>
9822 (def_builtin): Only define builtins appropriate for target_flags. All
9824 (builtin_decsription): Add new field mask which is used to determine
9825 when to define the builtin via the macro def_builtin.
9827 (bdesc_comi): Initialise new mask fields.
9828 (bdesc_2srg): Likewise.
9829 (bdesc_1arg): Likewise.
9831 * config/i386/i386.c (ix86_init_builtins): Correct return type
9832 building v4hi_ftype_v4hi_int_int tree node.
9833 (ix86_expand_sse_comi): Fix typo swapping operands.
9834 Don't swap comparision condition, it is already swapped.
9835 (ix86_expand_sse_compare): Before swapping operands
9836 move operand 1 into new rtx and not the target rtx.
9837 Don't swap comparison condition, it is already swapped.
9838 Always check whether we need to create a new TARGET.
9840 * config/i386/i386.md: (sse_comi) Fix typos.
9841 (sse_ucomi): Likewise.
9842 (cvtss2si): Fix operand 0 contraint.
9843 (cvttss2si): Likewise.
9844 (sse_unpckhps): Fix mode for operand 2.
9845 (sse_unpcklps): Likewise.
9847 2001-09-25 Graham Stott <grahams@redhat.com>
9849 * sibcall.c (skip_copy_to_return_value): Tighten return value
9852 2001-09-24 David Edelsohn <edelsohn@gnu.org>
9854 * rs6000.c (lwa_operand): Address must be word aligned.
9856 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9858 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
9859 number has been set.
9860 (type_hash_mark): Mark type itself.
9862 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
9864 * c-lex.c (cb_def_pragma): Update.
9865 (c_lex): Update, and skip padding.
9866 * cppexp.c (lex, parse_defined): Update, remove unused variable.
9867 * cpphash.h (struct toklist): Delete.
9868 (union utoken): New.
9869 (struct cpp_context): Update.
9870 (struct cpp_reader): New members eof, avoid_paste.
9871 (_cpp_temp_token): New.
9872 * cppinit.c (cpp_create_reader): Update.
9873 * cpplex.c (_cpp_temp_token): New.
9874 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
9875 (cpp_output_token): Don't print leading whitespace.
9876 (cpp_output_line): Update.
9877 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
9878 do_include_common, do_line, do_ident, do_pragma,
9879 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
9880 parse_assertion): Update.
9881 (get_token_no_padding): New.
9882 * cpplib.h (CPP_PADDING): New.
9883 (AVOID_LPASTE): Delete.
9884 (struct cpp_token): New union member source.
9885 (cpp_get_token): Update.
9886 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
9887 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
9888 replace_args, quote_string, stringify_arg, parse_arg, next_context,
9889 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
9890 _cpp_backup_tokens, _cpp_create_definition): Update.
9891 (push_arg_context): Delete.
9892 (padding_token, push_token_context, push_ptoken_context): New.
9893 (make_string_token, make_number_token): Update, rename.
9894 (cpp_get_token): Update to handle tokens as pointers to const,
9895 and insert padding appropriately.
9896 * cppmain.c (struct printer): New member prev.
9897 (check_multiline_token): Constify.
9898 (do_preprocessing, cb_line_change): Update.
9899 (scan_translation_unit): Update to handle spacing.
9900 * scan-decls.c (get_a_token): New.
9901 (skip_to_closing_brace, scan_decls): Update.
9902 * fix-header.c (read_scan_file): Update.
9904 * doc/cpp.texi: Update.
9906 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9908 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
9909 leak by passing malloc'ed pointer to reconcat, not concat.
9911 2001-09-24 DJ Delorie <dj@redhat.com>
9913 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
9915 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
9917 * flow.c (delete_dead_jumptables): Delete jumptable if the only
9918 reference is from the literal pool.
9920 2001-09-24 Janis Johnson <janis187@us.ibm.com>
9922 * doc/install.texi (Final install): Request additional information
9923 in mail about successful builds.
9925 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9927 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
9928 initial value of return pointer register instead of value in frame-20.
9931 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9933 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
9934 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
9935 the libcall if there isn't a referenced identifier for the symbol.
9937 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9939 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
9940 non 64-bit machines. Use these as a plabel for the trampoline.
9941 (TRAMPOLINE_SIZE): Adjust size for new words.
9942 (INITIALIZE_TRAMPOLINE): Initialize new words.
9943 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
9944 pointer to the plabel in the trampoline.
9946 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9948 * pa.c (function_arg): Pass floating arguments in both general and
9949 floating registers in indirect (dynamic) calls when generating code
9950 for the 32 bit ABI and the HP assembler.
9952 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9954 * doc/install.texi: Markup fixes.
9955 Use Solaris 2, SunOS 4 as appropriate.
9956 (Specific, *-*-solaris2*): Explain this.
9957 Unconditionally warn against /usr/ucb tools.
9958 Remove Sun as warning, obsolete.
9959 Move X11 header bug workaround here, update patches.
9960 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
9961 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
9963 2001-09-23 Zack Weinberg <zack@codesourcery.com>
9965 * errors.h (warning, error, fatal, internal_error): Don't mark
9966 with ATTRIBUTE_PRINTF_n.
9967 * toplev.h (internal_error, fatal_io_error, warning, error,
9968 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
9969 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
9972 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9974 * function.c (pop_function_context_from): var_refs_queue
9975 and temp slots now in GC memory.
9976 (mark_function_status, free_after_compilation): Likewise;
9977 also struct function now in GC memory.
9978 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
9979 (combine_temp_slots): Likewise.
9980 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
9981 (prepare_function_start): Use GC memory for struct function.
9982 (mark_temp_slot): Deleted.
9983 (gcc_mark_struct_function): struct function now in GC memory.
9985 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
9986 code for division, not modulus.
9988 * rtl.def (MEM): Remove obsolete part of comment.
9990 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
9992 * c-format.c (init_function_format_info): Check __builtin_printf
9993 and __builtin_fprintf even if -ffreestanding. Check C99 functions
9996 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9998 * c-common.c (format_attribute_table): Remove decl.
9999 * tree.h (format_attribute_table, lang_attribute_table): New decls.
10000 (lang_attribute_common): Likewise.
10002 * function.c (fix_lexical_address): Use set_mem_alias_set.
10003 (expand_function_start): Likewise.
10004 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
10006 * varasm.c (output_constant): Fix unused variable warning.
10008 * attribs.c: New file, from c-common.c.
10009 (attribute_tables): Now four elements.
10010 (format_attribute_table, lang_attribute_common): New variables.
10011 (init_attributes): Reflect above changes.
10012 (handle_mode_attribute): Delete check for wider than uintmax.
10013 * c-common.c: Delete parts moved to attribs.c.
10014 (enum attrs): Deleted; unused.
10015 (c_format_attribute_table): New variable.
10016 (c_common_lang_init): Initialize format_attribute_table with it.
10017 * c-common.h (decl_attributes): Remove decl.
10018 * tree.h (decl_attribute): Move it to here.
10019 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
10020 (attribs.o): New rule.
10022 2001-09-22 Andreas Jaeger <aj@suse.de>
10024 * builtins.c (c_getstr): Remove unused variable.
10026 2001-09-21 Richard Henderson <rth@redhat.com>
10028 * reload1.c (reload): Use delete_insn instead of splatting
10031 2001-09-21 Richard Henderson <rth@redhat.com>
10033 * reload.c (push_secondary_reload): Don't check for "=" in output
10034 constraint after ""->ALL_REGS check.
10036 2001-09-21 Richard Henderson <rth@redhat.com>
10038 * predict.c (expected_value_to_br_prob): Use pc_set.
10040 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
10041 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
10043 2001-09-21 Richard Henderson <rth@redhat.com>
10045 * rtl.h (LCT_RETURNS_TWICE): New.
10046 * calls.c (emit_call_1): Set current_function_calls_setjmp for
10048 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
10049 to ECF_RETURNS_TWICE.
10050 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
10053 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
10055 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
10056 (JMP_BUF_SIZE): New.
10058 2001-09-21 Richard Henderson <rth@redhat.com>
10060 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
10063 2001-09-21 Richard Henderson <rth@redhat.com>
10065 * tree.def (FDESC_EXPR): New.
10066 * expr.c (expand_expr): Handle it.
10067 * varasm.c (initializer_constant_valid_p): Likewise.
10068 (output_constant): Likewise.
10069 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
10070 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
10071 (ASM_OUTPUT_FDESC): New.
10072 * doc/tm.texi: Document the new macros.
10074 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
10076 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
10077 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
10078 once merging is complete.
10080 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10082 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
10084 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
10086 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
10087 that would be invalid after a merge.
10089 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
10091 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
10092 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
10093 remove some labels.
10094 (flow_delete_insn): This one.
10095 (delete_insn_chain): Rename from ...; do not care labels.
10096 (flow_delete_insn_chain): ... this one.
10097 (flow_delete_block): Remove the insns one BB has been expunged.
10098 (merge_blocks_nomove): Likewise.
10099 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
10100 updating BB boundaries.
10101 (tidy_fallthru_edge): Likewise.
10102 (commit_one_edge_insertion): Likewise.
10103 * cfgbuild.c (find_basic_block): Likewise.
10104 (find_basic_blocks_1): Likewise.
10105 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
10106 (try_crossjump_to_edge): Likewise.
10107 (try_optimize_cfg): Likewise.
10108 * cse.c (delete_trivially_dead_insns): Likewise.
10109 * df.c (df_insn_delete): Likewise.
10110 * doloop.c (doloop_modify): Use delete_related_insns.
10111 * emit-rtl.c (try_split): Likewise.
10112 (remove_insn): Update BB boundaries.
10113 * expect.c (connect_post_landing_pads): Use delete_related_insns.
10114 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
10115 updating BB boundaries.
10116 (propagate_block_delete_insn): Likewise.
10117 (propagate_block_delete_libcall): Likewise.
10118 * function.c (delete_handlers): Use delete_related_insns.
10119 (thread_prologue_and_epilogue_insns): Likewise.
10120 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
10121 * genpeep.c (gen_peephole): Use delete_related_insns.
10122 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
10124 (find_cond_trap): Likewise.
10125 * integrate.c (save_for_inline): Use delete_related_insns.
10126 (copy_insn_list): Likewise.
10127 * jump.c (pruge_linie_number_notes): Likewise.
10128 (duplicate_loop_exit_test): Likewise.
10129 (delete_computation): Likewise.
10130 (delete_related_insn): Rename from ...; use delete_insn
10131 (delete_insn): ... this one.
10132 (redirect_jump): Use delete_related_insns.
10133 * loop.c (scan_loop): Likewise.
10134 (move_movables): Likewise.
10135 (find_and_verify_loops): Likewise.
10136 (check_dbra_loop): Likewise.
10137 * recog.c (peephole2_optimize): Likewise.
10138 * reg-stack.c (delete_insn_for_stacker): Remove.
10139 (move_for_stack_reg): Use delete_insn.
10140 * regmove.c (combine_stack_adjustments_for_block): Likewise.
10141 * reload1.c (delete_address_reloads): Use delete_related_insns.
10142 (fixup_abnormal_edges): Use delete_insn.
10143 * recog.c (emit_delay_sequence): Use delete_related_insns.
10144 (delete_from-delay_slot): Likewise.
10145 (delete_scheduled_jump): likewise.
10146 (optimize_skip): Likewise.
10147 (try_merge_delay_insns): Likewise.
10148 (full_simple_delay_slots): Likewise.
10149 (fill_slots_from_thread): Likewise.
10150 (relax_delay_slots): Likewise.
10151 (make_return_insns): Likewise.
10152 (dbr_schedule): Likewise.
10153 * rtl.h (delete_insn): Rename to delete_related_insns.
10154 (delete_insn, delete_insn_chain): New prototypes.
10155 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
10156 by df_insn_delete already.
10157 * ssa-dce.c (delete_insn_bb): Use delete_insn.
10158 * ssa.c (convert_from_ssa): Use delete_related_insns.
10159 * unroll.c (unroll_loop): Likewise.
10160 (calculate_giv_inc): Likewise.
10161 (copy_loop_body): Likewise.
10163 * i386-protos.h (ix86_libcall_value, ix86_function_value,
10164 ix86_function_arg_regno_p, ix86_function_arg_boundary,
10165 ix86_return_in_memory, ix86_function_value): Declare.
10166 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
10167 new static valurables.
10168 (x86_64_reg_class): New enum
10169 (x86_64_reg_class_name): New array.
10170 (classify_argument, examine_argument, construct_container,
10171 merge_classes): New static functions.
10172 (optimization_options): Enable flag_omit_frame_pointer and disable
10173 flag_pcc_struct_return on 64bit.
10174 (ix86_libcall_value, ix86_function_value,
10175 ix86_function_arg_regno_p, ix86_function_arg_boundary,
10176 ix86_return_in_memory, ix86_function_value): New global functions.
10177 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
10178 (function_arg_advance): Handle x86_64 passing conventions.
10179 (function_arg): Likewise.
10180 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
10181 (RETURN_IN_MEMORY): Move offline.
10182 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
10183 (FUNCTION_VALUE_REGNO_P): New macro.
10184 (FUNCTION_ARG_REGNO_P): Move offline.
10185 (struct ix86_args): Add maybe_vaarg.
10186 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
10187 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
10189 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
10191 * s390.md: Changed attributes for scheduling.
10192 * s390.c: (s390_adjust_cost, s390_adjust_priority)
10195 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
10197 Table-driven attributes.
10198 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
10199 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
10200 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
10201 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
10202 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
10203 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
10204 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
10205 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
10206 * tree.h (struct tree_decl): Change machine_attributes to
10208 * doc/c-tree.texi: Document that all attributes are now attached
10209 to decls and types.
10210 * c-common.c (add_attribute, attrtab, attrtab_idx,
10211 default_valid_lang_attribute, valid_lang_attribute): Remove.
10212 (attribute_tables, attributes_initialized,
10213 c_common_attribute_table, default_lang_attribute_table): New
10215 (handle_packed_attribute, handle_nocommon_attribute,
10216 handle_common_attribute, handle_noreturn_attribute,
10217 handle_unused_attribute, handle_const_attribute,
10218 handle_transparent_union_attribute, handle_constructor_attribute,
10219 handle_destructor_attribute, handle_mode_attribute,
10220 handle_section_attribute, handle_aligned_attribute,
10221 handle_weak_attribute, handle_alias_attribute,
10222 handle_no_instrument_function_attribute,
10223 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
10224 handle_no_limit_stack_attribute, handle_pure_attribute): New
10226 (init_attributes, decl_attributes): Rewrite to implement
10227 table-driven attributes.
10228 * c-common.h (enum attribute_flags): Move to tree.h.
10229 * c-format.c (decl_handle_format_attribute,
10230 decl_handle_format_arg_attribute): Rename to
10231 handle_format_attribute and handle_format_arg_attribute. Update
10232 for table-driven attributes.
10233 * c-common.h (decl_handle_format_attribute,
10234 decl_handle_format_arg_attribute): Remove prototypes.
10235 (handle_format_attribute, handle_format_arg_attribute): Add
10237 * c-decl.c (grokdeclarator): Handle attributes nested inside
10239 * c-parse.in (setattrs, maybe_setattrs): Remove.
10240 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
10241 Update to handle nested attributes properly.
10242 (maybe_resetattrs, after_type_declarator,
10243 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
10244 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
10246 (make_pointer_declarator): Update to handle nested attributes
10248 * doc/extend.texi: Update documentation of limits of attributes
10249 syntax. Warn about problems with attribute semantics in C++.
10250 * target.h (struct target): Remove valid_decl_attribute and
10251 valid_type_attribute. Add attribute_table and
10252 function_attribute_inlinable_p.
10253 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
10254 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
10255 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
10257 (TARGET_INITIALIZER): Update.
10258 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
10260 (function_attribute_inlinable_p): New function. Check for the
10261 presence of any machine attributes before using
10262 targetm.function_attribute_inlinable_p.
10263 (function_cannot_inline_p): Update.
10264 * Makefile.in (integrate.o): Update dependencies.
10265 * doc/tm.texi: Update documentation of target attributes and
10266 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
10267 * tree.c (default_valid_attribute_p, valid_machine_attribute):
10269 (default_target_attribute_table,
10270 default_function_attribute_inlinable_p): New.
10271 (lookup_attribute): Update comment to clarify handling of multiple
10272 attributes with the same name.
10273 (merge_attributes, attribute_list_contained): Allow multiple
10274 attributes with the same name but different arguments to appear in
10275 the same attribute list.
10276 * tree.h (default_valid_attribute_p): Remove prototype.
10277 (struct attribute_spec): New.
10278 (default_target_attribute_table): Declare.
10279 (enum attribute_flags): Move from c-common.h. Add
10280 ATTR_FLAG_TYPE_IN_PLACE.
10281 (default_function_attribute_inlinable_p): Declare.
10282 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
10283 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10284 (TARGET_ATTRIBUTE_TABLE): Define.
10285 (vms_attribute_table): New.
10286 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
10287 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10288 (TARGET_ATTRIBUTE_TABLE): Define.
10289 (arc_attribute_table, arc_handle_interrupt_attribute): New.
10290 * config/arm/arm.c (arm_valid_type_attribute_p,
10291 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
10293 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10295 (TARGET_ATTRIBUTE_TABLE): Define.
10296 (arm_attribute_table, arm_handle_fndecl_attribute,
10297 arm_handle_isr_attribute): New.
10298 * config/avr/avr.c (avr_valid_type_attribute,
10299 avr_valid_decl_attribute): Remove.
10300 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
10302 (TARGET_ATTRIBUTE_TABLE): Define.
10303 (avr_attribute_table, avr_handle_progmem_attribute,
10304 avr_handle_fndecl_attribute): New.
10305 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
10306 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10307 (TARGET_ATTRIBUTE_TABLE): Define.
10308 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
10309 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
10310 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10311 (TARGET_ATTRIBUTE_TABLE): Define.
10312 (h8300_attribute_table, h8300_handle_fndecl_attribute,
10313 h8300_handle_eightbit_data_attribute,
10314 h8300_handle_tiny_data_attribute): New.
10315 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
10316 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
10318 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
10320 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
10321 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10323 (TARGET_ATTRIBUTE_TABLE): Define.
10324 (ix86_attribute_table, ix86_handle_cdecl_attribute,
10325 ix86_handle_regparm_attribute): New.
10326 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
10327 i386_pe_valid_type_attribute_p): Remove.
10328 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
10329 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
10330 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10331 (TARGET_ATTRIBUTE_TABLE): Define.
10332 (ia64_attribute_table): New.
10333 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
10334 interrupt_ident2, model_ident1, model_ident2): Remove.
10335 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10336 (TARGET_ATTRIBUTE_TABLE): Define.
10337 (init_idents): Update.
10338 (m32r_attribute_table, m32r_handle_model_attribute): New.
10339 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
10341 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10342 (TARGET_ATTRIBUTE_TABLE): Define.
10343 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
10344 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
10345 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10346 (TARGET_ATTRIBUTE_TABLE): Define.
10347 (mcore_attribute_table, mcore_handle_naked_attribute): New.
10348 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
10349 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10350 (TARGET_ATTRIBUTE_TABLE): Define.
10351 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
10352 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
10353 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10354 (TARGET_ATTRIBUTE_TABLE): Define.
10355 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
10356 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
10357 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10358 (TARGET_ATTRIBUTE_TABLE): Define.
10359 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
10360 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
10362 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
10364 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
10365 (TARGET_ATTRIBUTE_TABLE): Define.
10366 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
10368 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
10369 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10370 (TARGET_ATTRIBUTE_TABLE): Define.
10371 (v850_attribute_table, v850_handle_interrupt_attribute,
10372 v850_handle_data_area_attribute): New.
10373 * config/v850/v850-c.c (mark_current_function_as_interrupt):
10374 Return void. Call decl_attributes instead of
10375 valid_machine_attribute.
10377 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
10379 * sh-protos.h (sh_pr_n_sets): Declare.
10380 * sh.c (calc_live_regs): If the initial value for PR has been copied,
10381 look at the copy to determine if PR needs to be saved.
10382 sh_pr_n_sets: New function.
10383 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
10384 (ALLOCATE_INITIAL_VALUE): Define.
10386 * sh.c (initial_elimination_offset):
10387 Fix RETURN_ADDRESS_POINTER_REGNUM case.
10389 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
10391 * integrate.c (allocate_initial_values): New function.
10392 * integrate.h (allocate_initial_values): Declare.
10393 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
10395 * reload1.c (reload): And initialization of reg_equiv_memory_loc
10397 * toplev.c (rest_of_compilation): To here.
10398 Call allocate_initial_values.
10399 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
10401 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10403 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
10405 2001-09-20 DJ Delorie <dj@redhat.com>
10407 * c-typeck.c (really_start_incremental_init): Discriminate
10408 between zero-length arrays and flexible arrays.
10409 (push_init_level): Detect zero-length arrays and handle them
10410 like fixed-sized arrays.
10411 * expr.c (store_constructor): Handle zero-length arrays and
10412 flexible arrays correctly.
10413 * doc/extend.texi: Update zero-length array notes.
10415 2001-09-20 Jim Wilson <wilson@redhat.com>
10417 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
10418 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
10419 for issue port conflicts.
10420 (cycle_end_fill_slots): TYPE_L instructions take two slots.
10422 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
10424 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
10427 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10429 * fold-const.c (hashtab.h): Include.
10430 (int_const_binop): Remove FORSIZE arg and compute from type; all
10432 Call size_int_type_wide for all single-word constants.
10433 (size_htab_hash, size_htab_eq): New functions.
10434 (size_int_type_wide): Rework to use hash table.
10435 * ggc-common.c (hashtab.h): Include.
10436 (struct d_htab_root): New struct.
10437 (d_htab_roots): New variable.
10438 (ggc_add_deletable_htab, ggc_htab_delete): New functions
10439 (ggc_mark_roots): Handle deletable htabs.
10440 * ggc-page.c (ggc_marked_p): New function.
10441 * ggc-simple.c (ggc_marked_p): Likewise.
10442 * ggc.h: Reformatting throughout.
10443 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
10444 * tree.c (init_obstacks): Make type_hash_table a deletable root.
10445 (type_hash_add): Allocate struct type_hash from GC memory.
10446 (mark_hash_entry, mark_type_hash): Deleted.
10447 (type_hash_marked_p, type_hash_mark): New functions.
10448 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
10450 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
10452 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
10455 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10457 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
10458 array-too-large test for signed sizetype.
10460 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
10462 * i386.md (indirect_jump): Allow Pmode operand.
10463 (tablejump): LIkewise; perform expansion to 64bit mode.
10464 * i386.c (symbolic_operand): Allow 64bit PIC references.
10465 (pic_symbolic_operand): Likewise.
10466 (ix86_find_base_term): Strip the 64bit PIC references.
10467 (legitimate_pic_address_disp_p): Handle 64bit PIC.
10468 (legitimize_pic_address): Likewise.
10469 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
10470 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
10472 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
10474 * stringpool.c (get_identifier_with_length): New function.
10475 * tree.h (get_identifier_with_length): New prototype.
10477 2001-09-19 Alan Modra <amodra@bigpond.net.au>
10478 David Edelsohn <edelsohn@gnu.org>
10481 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
10482 already sign-extended.
10484 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
10485 * config/rs6000/rs6000.c (logical_operand): Always compare op as
10487 (rs6000_emit_set_long_const): Avoid unnecessary shift.
10488 (output_profile_hook): Declare label_name const.
10489 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
10490 to match constraints.
10492 2001-09-19 Stan Shebs <shebs@apple.com>
10494 * alias.c: Fix typos in comments.
10495 * sched-rgn.c (init_ready_list): Ditto.
10496 * unwind-dw2.c (uw_frame_state_for): Ditto.
10497 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
10498 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
10499 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
10501 2001-09-19 Richard Henderson <rth@redhat.com>
10503 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
10505 * Makefile.in (cfg.o): Depend on TM_P_H.
10507 2001-09-19 Richard Henderson <rth@redhat.com>
10509 * config/alpha/alpha.c (local_symbol_p): Split out from ...
10510 (local_symbolic_operand): ... here.
10511 (small_symbolic_operand): Check mode.
10512 (global_symbolic_operand): New.
10513 (input_operand): Reject symbolics if explicit relocs.
10514 (call_operand): Tidy.
10515 (alpha_legitimize_address): Use movdi_er_high_g.
10516 (alpha_expand_mov): Likewise.
10517 * config/alpha/alpha-protos.h: Update.
10518 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10519 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
10520 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
10521 (UNSPECV_LDGP2): Remove.
10522 (all call patterns): Use 's' not 'i' for symbolic constraint.
10523 (call_osf call_value_osf): Use call_operand.
10524 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
10525 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
10526 (prologue_ldgp_1_er): Remove.
10527 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
10528 (builtin_setjmp_receiver_er patterns): Use them.
10529 (exception_receiver_er): Likewise.
10531 2001-09-19 Richard Henderson <rth@redhat.com>
10533 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
10535 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
10536 and NON_LOCAL_GOTO notes.
10537 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
10538 copy over CALL_INSN_FUNCTION_USAGE.
10540 2001-09-18 Catherine Moore <clm@redhat.com>
10542 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
10545 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
10547 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
10548 new-style tm_file specification. Specify correct tm_p_file,
10549 md_file, and out_file for s390x.
10551 * config/s390/linux.h, linux64.h: Don't include other target
10552 macro header files. Now handled via tm_file.
10554 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
10555 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
10556 are defined before use.
10558 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
10560 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
10561 code generation only for Gnu assembler.
10563 2001-09-18 Catherine Moore <clm@redhat.com>
10565 * config/stormy16 (LIB_SPEC): Remove -lnosys.
10567 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
10569 * config/mips/mips.c (mips_frame_set): New.
10570 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
10571 a parallel frame-related expression with a set for each register.
10573 2001-09-18 Philip Blundell <philb@gnu.org>
10575 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
10578 2001-09-17 Dale Johannesen <dalej@apple.com>
10580 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
10581 * config/rs6000/aix.h (FIXED_R2): Define.
10582 * config/rs6000/darwin.h (FIXED_R2): Define.
10583 * config/rs6000/sysv4.h (FIXED_R2): Define.
10585 2001-09-17 Jeff Sturm <jsturm@one-point.com>
10587 * except.c (dw2_build_landing_pads): New local
10588 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
10589 barrier after clobbers. Fixes c++/4012.
10591 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10593 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
10595 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
10597 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
10598 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
10600 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10602 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
10605 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
10607 * cpphash.h (_cpp_lex_direct): New.
10608 * cpplex.c (_cpp_lex_token): Update.
10609 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
10610 and increment that pointer.
10611 * cppmacro.c (alloc_expansion_token): New.
10612 (lex_expansion_token): Lex macro expansion directly into
10615 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
10617 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
10619 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
10621 * basic-block.h (free_bb_for_insn): Declare.
10622 * bb-reorder.c (label_for_bb): Use block_label.
10623 (emit_jump_to_block_after): Remove.
10624 (insert_intra_1): Do not update block_for_insn.
10625 (insert_inter_bb_scope_notes): Likewise; update bb->end
10626 * cfg.c (free_bb_for_insn): New.
10627 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
10628 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
10629 (commit_one_edge_insertion): Likewise.
10630 (commit_one_edge_insertion): Do not update BB boundary.
10631 (commit_edge_insertions): Do not call compute_bb_for_insn.
10632 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
10633 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
10634 (merge_blocks_move_successor_nojumps): Likewise.
10635 (try_crossjump_to_edge): Do not update block_for_insn.
10636 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
10637 * df.c (df_pattern_emit_later): Do not update BB boundary.
10638 (df_jump_pattern_emit_after): Likewise.
10639 (df_insn_move_before): Use emit_insn_before.
10640 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
10642 (add_insn_after, add_insn_before, emit_insns_after): Update BB
10643 boundaries and basic_block_for_insn.
10644 (reorder_insns_nobb): Rename from reorder_insns.
10645 (reorder_insns): New.
10646 (emit_block_insn_before, emit_block_insn_after): Kill.
10647 * flow.c (check_function_return_warnings): Do not call
10648 compute_bb_for_insn; Do not free basic_block_for_insn.
10649 (attempt_auto_inc): Do not update basic_block_for_insn.
10650 * function.c (emit_return_into_block): Likewise;
10651 do not update BB boundaries.
10652 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
10653 (insert_insn_end_bb): Use emit_insn_before; Likewise.
10654 (pre_insert_copy_insn): Likewise.
10655 (update_ld_motion_notes): Likewise.
10656 (insert_insn_start_bb): Likewise.
10657 (replace_store_insn): Likewise.
10658 * ifcvt.c (noce_process_if_block): Likewise.
10659 (if_convert): Do not call compute_bb_for_insn.
10660 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
10661 Use emit_insn_before and emit_insn_after.
10662 * recog.c (split_all_insns): Do not update BB boundaries;
10663 Do not call compute_bb_for_insn.
10664 (peephole2_optimize): Do not update BB boundaries.
10665 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
10667 (emit_swap_insn): Likewise.
10668 (convert_regs_1): Likewise.
10669 * reload1.c (reload): Call compute_bb_for_insn.
10670 * rtl.h (reorder_insns_nobb): Declare.
10671 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
10672 * toplev.c (rest_of_compilation): Call free_bb_for_insn
10673 at places CFG is invalidated; do not call compute_bb_for_insn.
10675 * cfg.c (expunge_block): Invalidate BB structure.
10677 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
10680 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
10682 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10684 * cpphash.h (_cpp_lex_token): Update prototype.
10685 * cpplex.c (_cpp_lex_token): New prototype.
10686 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
10687 lex_macro_node, read_flag, do_pragma_poison): Update.
10688 * cppmacro.c (cpp_get_token, parse_params,
10689 lex_expansion_token): Update.
10691 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10693 * cppmain.c (scan_translation_unit): Don't worry about
10694 putting a space after hashes.
10695 * cpplib.c (directive_diagnostics): New.
10696 (_cpp_handle_directive): Update to use directive_diagnostics.
10697 (run_directive): Don't toggle prevent_expansion.
10698 (do_line): Backup in case of the line extension.
10699 * cpplib.h (cpp_lexer_pos): Remove.
10700 * cppmacro.c (_cpp_create_definition): Precede a leading #
10703 2001-09-15 Richard Henderson <rth@redhat.com>
10705 * c-typeck.c (comptypes): Handle zero-length arrays properly.
10707 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10709 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
10711 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10713 PR preprocessor/3571
10714 * tradcpp.c (handle_directive): Skip non-vertical space.
10716 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10718 * cppmain.c (setup_callbacks): Set line callback only
10719 if outputting preprocessed source.
10721 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10723 * collect2.c (main): Const-ification.
10724 * gcc.c (translate_options, process_command): Use xstrdup in
10725 lieu of xmalloc/strcpy.
10726 (main): Use concat in lieu of xmalloc/strcpy/strcat.
10728 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10730 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
10733 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10735 * scan-decls.c (scan_decls): Fix typo.
10737 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10739 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
10740 Split mlstring_pos into mls_line and mls_col.
10741 * cppinit.c (cpp_create_reader): Initialize line to 1.
10742 (cpp_destroy): Free tokenruns.
10743 (push_include): Don't update lexer_pos.
10744 * cpplex.c (unterminated, parse_string): Update.
10745 (lex_token): Don't update lexer_pos, update.
10746 * cpplib.c (if_stack): Save line instead of line + col.
10747 (start_directive, _cpp_do__Pragma, do_else, do_elif,
10748 push_conditional, _cpp_pop_buffer): Update.
10749 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
10750 (_cpp_create_definition): Update.
10752 2001-09-15 Eric Christopher <echristo@redhat.com>
10754 * config/mips/abi64.h: Add support for MEABI.
10756 2001-09-15 Eric Christopher <echristo@redhat.com>
10758 * config/mips/mips.md: Add unspec #2.
10759 (reload_indi): Use.
10760 (reload_outdi): Ditto.
10761 (reload_outsi): Ditto.
10764 2001-09-15 Eric Christopher <echristo@redhat.com>
10765 Jason Eckhardt <jle@redhat.com>
10767 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
10768 * config/mips/isa32-linux.h: New file.
10769 * config/mips/isa3264.h: Ditto.
10770 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
10771 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
10772 (output_block_mode): Support MEABI.
10773 (function_arg): Ditto. Fix floating point arg passing.
10774 (mips_va_start): Ditto.
10775 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
10777 (mips_asm_file_start): Add new section to pass abi to gdb.
10778 (function_arg_pass_by_reference): Support MEABI.
10779 (mips_parse_cpu): Support mips32 and mips64 processors.
10780 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
10781 TARGET_MIPS5KC. Support isa32 and isa64.
10782 (processor_type): Add r4kc, r5kc, r20kc.
10783 (GENERATE_MULT3_SI): New.
10784 (GENERATE_MULT3_DI): Ditto.
10785 (GENERATE_MULT3): Remove.
10786 (ISA_HAS_64BIT_REGS): Add isa == 64.
10787 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
10788 (ISA_HAS_MADD_MSUB): New.
10789 (ISA_HAS_CLZ_CLO): Ditto.
10790 (ISA_HAS_DCLZ_DCLO): Ditto.
10791 (ABI_GAS_ASM_SPEC): New.
10792 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
10794 (LINK_SPEC): Ditto.
10795 (SUBTARGET_CC1_SPEC): Ditto.
10796 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
10797 (PAD_VARARGS_DOWN): Support MEABI.
10798 (HARD_REGNO_NREGS): Move to mips.c.
10799 (ASM_OUTPUT_IDENT): Add #undef.
10800 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
10801 (mulsi3): Use GENERATE_MULT3_SI.
10802 (mulsi3_mult3): Ditto. Support mips32, mips64.
10803 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
10804 (mul_sub_si): New pattern.
10805 (unnamed splitters): New.
10806 (muldi3): Use GENERATE_MULT3_DI.
10807 (muldi3_internal2): Ditto.
10808 (movdicc): Support mips32.
10809 * config/mips/t-isa3264: New file.
10811 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
10813 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
10814 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
10815 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
10817 * reorg.c (fill_slots_from_thread): After call to
10818 steal_delay_list_from_target, update own_thread as new_thread may
10821 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
10823 * cpperror.c (print_location): Take line and column, for
10824 default positioning use the previously lexed token.
10825 (_cpp_begin_message): Take line and column.
10826 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
10827 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
10828 * cpphash.h (_cpp_begin_message): Update prototype.
10829 * cppinit.c (push_include): Don't set output line.
10830 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
10831 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
10832 (do_pragma): Kludge for front ends. Don't expand macros at all.
10833 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
10834 (struct cpp_token): Remove output_line.
10835 (struct cpp_callbacks): New member line_change.
10836 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
10837 cpp_get_token): Preserve BOL flag.
10838 (cpp_get_line): Remove.
10839 (_cpp_backup_tokens): Remove useless abort().
10840 * cppmain.c (cb_line_change): New.
10841 (scan_translation_unit): Don't worry about starting new lines here.
10842 * scan-decls.c (scan_decls): Update.
10843 * c-lex.c (c_lex, init_c_lex): Update.
10844 (cb_line_change, src_lineno): New.
10846 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
10848 * tree.c (append_random_chars): Generate the random
10849 characters in a reproducable fashion.
10851 2001-09-14 Richard Henderson <rth@redhat.com>
10853 * config/i386/i386.c (internal_label_prefix): New.
10854 (internal_label_prefix_len): New.
10855 (override_options): Set them.
10856 (local_symbolic_operand): New.
10857 (legitimate_pic_address_disp_p): Use it.
10858 (legitimize_pic_address): Likewise.
10860 2001-09-14 Marc Espie <espie@openbsd.org>
10862 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
10865 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10867 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
10868 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
10870 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10872 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
10873 invocation of SUBREG_REGNO_OFFSET.
10875 * haifa-sched.c: Fix typo in FSF copyright statement.
10876 * sched-deps.c: Fix typo in FSF copyright statement.
10877 * sched-ebb.c: Fix typo in FSF copyright statement.
10878 * sched-rgn.c: Fix typo in FSF copyright statement.
10879 * sched-vis.c: Fix typo in FSF copyright statement.
10881 * config.gcc: Move inclusion of arm elf specific header files
10882 from the files themselves into the tm_file variable. Make
10883 sure that elfos.h is included before target specific elf
10885 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
10887 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
10888 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
10889 ASM_OUTPUT_CASE_LABEL): Protect definition.
10890 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
10891 not already defined.
10892 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
10893 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
10894 Remove duplicate definition.
10895 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
10896 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
10897 (RDATA_SECTION_FUNCTION): Remove redundant definition.
10898 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
10899 Remove inclusion of arm/elf.h.
10900 * config/arm/unknown-elf.h: as for conix-elf.h.
10901 (STARTFILE_SPEC): Include crti.o and crtn.o.
10902 * config/arm/linux-elf.h: as for conix-elf.h.
10903 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
10904 * config/arm/strongarm-elf.h: Remove inclusion of
10906 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
10907 * config/arm/unknown-elf-oabi.h: Remove inclusion of
10908 unknown-elf.h and elf.h.
10909 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
10910 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
10911 ASM_WEAKEN_LABEL): Remove redundant definition.
10912 * config/arm/elf.h: Test for inclusion of elfos.h
10913 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
10914 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
10915 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
10916 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
10917 redundant definition.
10918 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
10919 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
10920 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
10921 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
10922 Add rules to build crti.o and crtn.o
10923 * crti.asm: New file.
10924 * crtn.asm: New file.
10926 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
10928 * c-parse.in (_yylex): Use _cpp_backup_tokens.
10929 * cpphash.h (struct tokenrun): Add prev.
10930 (struct lexer_state): Remove bol.
10931 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
10932 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
10934 * cppinit.c (cpp_create_reader): Don't set bol.
10935 (cpp_destroy): Don't free lookaheads.
10936 * cpplex.c (lex_directive): Remove.
10937 (next_tokenrun): Update.
10938 (_cpp_lex_token): Clean up logic.
10939 (lex_token): Update to return a pointer to lexed token, since it
10940 can move to the start of the buffer. Simpify newline handling.
10941 * cpplib.c (SEEN_EOL): Update.
10942 (skip_rest_of_line): Remove lookahead stuff.
10943 (end_directive): Line numbers are already incremented. Revert
10944 to start of lexed token buffer if we can.
10945 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
10946 parse_answer): Use _cpp_backup_tokens.
10947 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
10948 instead. Don't check for EOL.
10949 (do_include_common, do_line, do_pragma_system_header): Use
10951 * cpplib.h (BOL, _cpp_backup_tokens): New.
10952 * cppmacro.c (save_lookahead_token, take_lookahead_token,
10953 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
10954 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
10955 (builtin_macro): Don't use cpp_get_line.
10956 (cpp_get_line): Short term kludge.
10957 (parse_arg): Handle directives in arguments here. Back up when
10958 appropriate. Store EOF at end of argument list.
10959 (funlike_invocation_p): Use _cpp_backup_tokens.
10960 (push_arg_context): Account for EOF at end of list.
10961 (cpp_get_token): Remove lookahead stuff. Update.
10963 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10965 * c-parse.in (yyerror): Const-ification and/or static-ization.
10966 * c-typeck.c (push_member_name): Likewise.
10967 * collect2.c (main): Likewise.
10968 * dbxout.c (dbxout_parms): Likewise.
10969 * diagnostic.c (format_with_decl): Likewise.
10970 * dwarf2out.c (output_ranges): Likewise.
10971 * dwarfout.c (fundamental_type_code): Likewise.
10972 * except.c (dw2_output_call_site_table): Likewise.
10973 * gcc.c (do_spec_1): Likewise.
10974 * genopinit.c (optabs): Likewise.
10975 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
10976 gen_declaration_1, handle_impent): Likewise.
10977 * protoize.c (default_include, in_system_include_dir, abspath):
10979 * sched-vis.c (visualize_stall_cycles): Likewise.
10980 * sdbout.c (plain_type_1, sdbout_end_function,
10981 sdbout_end_epilogue): Likewise.
10982 * varasm.c (decode_reg_name): Likewise.
10984 * 1750a.c (mod_regno_adjust): Likewise.
10985 * alpha.c (alpha_write_one_linkage,
10986 unicosmk_output_default_externs): Likewise.
10987 * arm.c (arm_condition_codes): Likewise.
10988 * arm.h (arm_condition_codes): Likewise.
10989 * avr.c (output_movsisf, encode_section_info): Likewise.
10990 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
10992 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
10993 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
10994 * m88k.c (output_function_profiler): Likewise.
10995 * mips.c (mips_output_conditional_branch): Likewise.
10996 * ns32k.c (ns32k_out_reg_names): Likewise.
10997 * ns32k.h (ns32k_out_reg_names): Likewise.
10998 * pj.c (pj_output_rval): Likewise.
10999 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
11000 * sparc.c (sparc_flat_function_prologue,
11001 sparc_flat_function_epilogue): Likewise.
11003 2001-09-13 Markus Werle <numerical.simulation@web.de>
11004 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11006 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
11007 Aachen University of Technology".
11009 2001-09-13 Andreas Schwab <schwab@suse.de>
11011 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
11014 2001-09-13 Richard Henderson <rth@redhat.com>
11016 * config/alpha/alpha.c (small_symbolic_operand): New.
11017 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
11018 (some_operand, input_operand): Don't handle HIGH.
11019 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
11020 (alpha_expand_mov): Likewise.
11021 (print_operand) [H]: Just print HIGH symbol.
11022 (print_operand_address): Handle small data.
11023 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
11024 (TARGET_SWITCHES): Add -msmall-data/large-data.
11025 (PIC_OFFSET_TABLE_REGNUM): New.
11026 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
11027 (PREDICATE_COES): Update.
11028 * config/alpha/alpha.md (adddi_er_high): New.
11029 (adddi_er_low): Handle small data.
11030 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
11031 prefer .sdata to .rodata.
11032 (SELECT_RTX_SECTION): Likewise.
11034 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
11036 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
11037 defining __size_t and leaving size_t undefined.
11039 2001-09-12 Diego Novillo <dnovillo@redhat.com>
11041 * basic-block.h (expunge_block): Declare.
11042 * cfg.c (expunge_block): Remove static declaration.
11044 2001-09-12 Richard Henderson <rth@redhat.com>
11046 * integrate.c (copy_insn_list): Copy label name from
11047 NOTE_INSN_DELETED_LABEL.
11049 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11051 * c-common.c (c_tree_code_name): Const-ification.
11052 * c-decl.c (c_decode_option): Likewise.
11053 * c-typeck.c (warn_for_assignment): Likewise.
11054 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
11056 * cppinit.c (output_deps): Likewise.
11057 * dependence.c (dependence_string, direction_string): Likewise.
11058 * dwarf2out.c (output_ranges): Likewise.
11059 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
11060 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
11061 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
11062 standard_startfile_prefix, standard_startfile_prefix_1,
11063 standard_startfile_prefix_2, tooldir_base_prefix,
11064 standard_bindir_prefix, find_a_file): Likewise.
11065 * genattrtab.c (make_length_attrs): Likewise.
11066 * gencheck.c (tree_codes): Likewise.
11067 * genemit.c (gen_split): Likewise.
11068 * genrecog.c (special_mode_pred_table): Likewise.
11069 * graph.c (graph_ext): Likewise.
11070 * protoize (default_include): Likewise.
11071 * reload.c (reload_when_needed_name): Likewise.
11072 * sched-vis.c (visualize_stall_cycles): Likewise.
11073 * tlink.c (recompile_files): Likewise.
11074 * toplev.c (decode_g_option): Likewise.
11075 * tradcpp.c (output_deps): Likewise.
11076 * varasm.c (decode_reg_name): Likewise.
11078 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
11080 * arm.md: Likewise.
11081 * avr.c (avr_regnames, encode_section_info): Likewise.
11082 * c4x.c (float_reg_names): Likewise.
11083 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
11084 * elfos.h (const_section): Likewise.
11085 * i386.c (ix86_comp_type_attributes): Likewise.
11086 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
11087 * ia64/aix.h (UNIQUE_SECTION): Likewise.
11088 * ia64.c (type_names): Likewise.
11089 * m68hc11.c (reg_class_names): Likewise.
11090 * m88k.c (m_options): Likewise.
11091 * mips.c (mips_output_conditional_branch, mips_unique_section):
11093 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11094 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
11095 ultra_code_names): Likewise.
11096 * sparc.h (OVERRIDE_OPTIONS): Likewise.
11098 2001-09-12 Jakub Jelinek <jakub@redhat.com>
11100 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
11101 Use --fatal-warnings option for gas.
11102 * configure: Rebuilt.
11104 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11106 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
11108 2001-09-11 Jim Wilson <wilson@redhat.com>
11110 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
11112 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11114 * builtins.c (c_strlen): Treat an offset too large for a
11115 HOST_WIDE_INT as out of range.
11117 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
11119 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
11120 (EDGE_CRITICAL_P): New predicate.
11121 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
11123 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
11124 (dump_edge_info): Remove "crit".
11125 * cfganal.c (mark_critical_edges): Kill.
11126 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
11127 * cfgcleanup.c (cleanup_cfg): Likewise.
11128 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
11129 (find_spanning_tree): Likewise.
11130 * reg-stack.c (convert_regs_1): Likewise.
11131 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
11133 * basic-block.h (create_basic_block_structure): New.
11134 (create_basic_block): Update prototype.
11135 (force_nonfallthru): New.
11136 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
11137 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
11138 handle updating of block_for_insn, creating of empty BBs and BBs at
11139 the end of INSN chain.
11140 (create_basic_block): New function.
11141 (split_block): Use create_basic_block.
11142 (force_nonfallthru_and_redirect): Break out from ...; cleanup
11143 (redirect_edge_and_branch_force): ... here.
11144 (force_nonfallthru): New.
11145 (split_edge): Rewrite to use force_nonfallthru and create_block.
11146 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
11147 (find_basic_blocks): Free basic_block_for_insn.
11148 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
11150 * cfg.c: Fix formating.
11151 * cfgcleanup.c: Fix formating.
11152 (merge_blocks, tail_recursion_label_p): Return bool.
11153 (merge_blocks_move_predecessor_nojumps,
11154 merge_blocks_move_successor_nojumps): Return void.
11156 2001-09-11 Jakub Jelinek <jakub@redhat.com>
11158 * configure.in: Check whether assembler supports section merging.
11159 * config.in: Rebuilt.
11160 * configure: Rebuilt.
11161 * varasm.c (variable_section, output_constant_pool): Pass alignment
11162 to SELECT_SECTION and SELECT_RTX_SECTION.
11163 (mergeable_string_section): New.
11164 (mergeable_constant_section): New.
11165 (default_elf_asm_named_section): Output SECTION_MERGE and
11166 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
11167 * output.h (mergeable_string_section): New.
11168 (mergeable_constant_section): New.
11169 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
11170 * toplev.c (flag_merge_constants): New.
11171 (f_options): Add -fmerge-constants and -fmerge-all-constants
11173 (toplev_main): Default to -fno-merge-constants if not optimizing.
11174 * flags.h (flag_merge_constants): Add extern.
11175 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
11176 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
11178 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
11179 Define if assembler has working .subsection -1 support.
11180 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
11181 Put constant into special SHF_MERGE sections if the linker should
11182 attempt to merge duplicates.
11183 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
11185 Put constant into special SHF_MERGE sections if the linker should
11186 attempt to merge duplicates.
11187 * config/alpha/elf.h: Likewise.
11188 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
11189 has working .subsection -1 support.
11190 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
11192 * config/svr3.h: Likewise.
11193 * config/darwin.h: Likewise.
11194 * config/arm/aof.h: Likewise.
11195 * config/arm/linux-elf.h: Likewise.
11196 * config/avr/avr.h: Likewise.
11197 * config/c4x/c4x.h: Likewise.
11198 * config/d30v/d30v.h: Likewise.
11199 * config/i386/dgux.h: Likewise.
11200 * config/i386/osfrose.h: Likewise.
11201 * config/i386/sco5.h: Likewise.
11202 * config/i386/svr3gas.h: Likewise.
11203 * config/ia64/aix.h: Likewise.
11204 * config/m32r/m32r.h: Likewise.
11205 * config/m68k/m68k.h: Likewise.
11206 * config/m88k/dgux.h: Likewise.
11207 * config/m88k/m88k.h: Likewise.
11208 * config/mcore/mcore-pe.h: Likewise.
11209 * config/mips/mips.h: Likewise.
11210 * config/pa/pa.h: Likewise.
11211 * config/pa/pa-linux.h: Likewise.
11212 * config/romp/romp.h: Likewise.
11213 * config/rs6000/sysv4.h: Likewise.
11214 * config/rs6000/xcoff.h: Likewise.
11215 * config/s390/linux.h: Likewise.
11216 * config/sparc/sparc.h: Likewise.
11217 * config/sparc/sysv4.h: Likewise.
11218 * config/stormy16/stormy16.h: Likewise.
11219 * config/v850/v850.h: Likewise.
11220 * config/vax/vms.h: Likewise.
11221 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
11222 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
11223 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
11224 default_elf_asm_named_section for SHF_MERGE sections.
11226 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11228 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
11231 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
11233 * c-common.c (split_specs_attrs): Allow for empty attributes with
11234 empty TREE_PURPOSE. Fixes PR c/4294.
11236 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
11238 * basic-block.h (cached_make_edge, make_single_succ): New.
11239 (make_edge): Remove first parameter.
11240 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
11241 * cfg.c (cached_make_edge): Rename from make_edge; return newly
11242 created edge; use obstack allocation.
11243 (make_edge, make_single_succ_edge): New.
11244 (first_removed_edge): New static variable.
11245 (init_flow): Initialize first_removed_edge and n_edges.
11246 (clear_edges): Use remove_edge.
11247 (flow_delete_block): Likewise.
11248 (remove_edge): Add removed edges to the removed edges list.
11249 (split_block, redirect_edge_and_branch_force, split_edge):
11251 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
11252 (add_noreturn_fake_exit_edges): Likewise.
11253 (connect_infinite_loops_to_exit): Liekwise.
11254 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
11255 Use cached_make_edge.
11256 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
11257 * profile.c (branch_prob): Update make_edge call.
11258 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
11260 2001-09-11 Richard Henderson <rth@redhat.com>
11262 * config/alpha/alpha.c: Tidy formatting.
11263 (local_symbolic_operand): Verify mode.
11264 (alpha_sa_mask): Ignore unicos for eh_return.
11265 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
11266 * config/alpha/alpha.md (umk divsi patterns): Remove.
11267 (extendsfdf2): Remove unicos check.
11268 (tablejump): Merge vms and unicos code; always use direct set
11269 plus label_ref use.
11271 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11273 * config.gcc (alpha*-*-unicosmk*): New target.
11275 * config/alpha/alpha-protos.h (symbolic_operand,
11276 unicosmk_add_call_info_word, unicosmk_add_extern,
11277 unicosmk_defer_case_vector, unicosmk_unique_section,
11278 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
11279 unicosmk_asm_file_start, unicosmk_asm_file_end,
11280 unicosmk_output_common): Declare.
11282 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
11283 direct_return, function_arg, alpha_va_start, alpha_va_arg,
11284 alpha_does_function_need_gp, alpha_end_function): Support Cray
11286 (alpha_init_machine_status, alpha_mark_machine_status,
11287 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
11288 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
11289 unicosmk_asm_named_section, unicosmk_insert_attributes,
11290 unicosmk_section_type_flags, symbolic_operand,
11291 unicosmk_output_module_name, unicosmk_output_default_externs,
11292 unicosmk_output_dex, unicosmk_output_externs,
11293 unicosmk_output_addr_vec, unicosmk_ssib_name,
11294 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
11295 unicosmk_asm_file_end, unicosmk_output_common,
11296 unicosmk_section_type_flags, unicosmk_unique_section,
11297 unicosmk_add_call_info_word, unicosmk_text_section,
11298 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
11299 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
11300 unicosmk_dex_count, unicosmk_special_name): New.
11301 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
11302 TARGET_ABI_UNICOSMK.
11303 (get_aligned_mem, alpha_expand_unaligned_load,
11304 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
11305 alpha_expand_unaligned_store_words): Support big-endian mode.
11306 (print_operand): Likewise. New format specifier 't'. Use
11307 TARGET_AS_SLASH_BEFORE_SUFFIX.
11308 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
11309 (alpha_pv_save_size): Update with above change.
11310 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
11311 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
11314 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
11315 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
11316 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
11317 (EXTRA_CONSTRAINT): New constraint 'U'.
11318 (PREDICATE_CODES): Add symbolic_operand.
11320 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
11321 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
11322 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
11323 (integer division and modulus patterns): Split in default and
11324 Unicos/Mk versions.
11325 (*divmodsi_internal, *divmoddi_internal): Disable for
11326 TARGET_ABI_UNICOSMK.
11327 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
11328 little-endian and big-endian versions.
11329 (ext, ins, msk): Likewise.
11330 (extv, extzv, insv): Support big-endian mode.
11331 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
11332 (call_umk, call_value_umk, *call_umk, tablejump_umk,
11333 *tablejump_umk_internal, *call_value_umk): New.
11334 (*movdi_nofix): Add pattern for loading an address into a register on
11335 TARGET_ABI_UNICOSMK.
11336 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
11337 (umk_mismatch_args, arg_home_umk): New.
11338 (various insns): Don't use mov, fmov, nop, fnop and unop.
11339 (realign): Support TARGET_ABI_UNICOSMK.
11341 * config/alpha/unicosmk.h: New file.
11342 * config/alpha/t-unicosmk: New file.
11344 * fixinc/inclhack.def (unicosmk_restrict): New.
11345 * fixinc/fixincl.x: Regenerate.
11347 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
11348 (wchar_t): Check for and define __WCHAR_T__.
11350 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
11352 * combine.c (simplify_shift_const): Treat shifts by the mode
11355 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
11357 * cpphash.h (struct tokenrun): New.
11358 (struct cpp_context): New member bol.
11359 (struct cpp_reader): New members.
11360 (_cpp_init_tokenrun): New.
11361 * cppinit.c (cpp_create_reader): Set up the token runs.
11362 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
11363 (lex_token): New internalised version of _cpp_lex_token. Don't
11364 handle directives or the multiple include optimization here any
11365 more. Simply lex a token.
11366 * cpplib.c (run_directive): Clear bol.
11367 (_cpp_pop_buffer): Set bol.
11368 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
11371 2001-09-11 Michael Meissner <meissner@redhat.com>
11373 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
11374 give an error if the user uses -mfp32.
11375 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
11377 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
11378 floating point register size.
11379 (EXTRA_SPECS): Add CPP_FPR_SPEC.
11381 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
11382 HOST_WIDE_INT_PRINT_DEC to properly print the result of
11384 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11385 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11387 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
11389 * dbxout.c (dbxout_parms): Fix typo in comment.
11390 * unroll.c (loop_find_equiv_value): Ditto.
11391 * toplev.c (rest_of_compilation): Ditto.
11392 * loop.c (scan_loop): Ditto.
11393 * dwarf2out.c (struct dw_fde_struct): Ditto.
11395 2001-09-10 Zack Weinberg <zackw@panix.com>
11397 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
11398 copying identifier when we're just going to throw it away.
11399 (parse_identifier_slow): New routine to handle abnormal cases.
11400 (_cpp_lex_token): Update call site.
11402 * hashtable.c (ht_lookup): Don't assume that the string we've
11403 been given is NUL-terminated.
11404 * system.h: #define __builtin_expect(a, b) to (a) if not
11407 2001-09-10 Michael Meissner <meissner@redhat.com>
11409 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
11412 2001-09-10 David Edelsohn <edelsohn@gnu.org>
11414 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
11416 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11418 * builtins.c (c_getstr): Correct thinko in last change and further
11421 2001-09-10 Tim Freeman <tim@fungibole.com>
11423 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
11424 into varray's and register them as roots with the garbage
11425 collector so they are not collected too soon.
11427 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
11429 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
11431 * basic-block.h (flow_obstack, label_value_list,
11432 tail_recursion_label_list): Declare
11433 (tidy_fallthru_edges): Declare.
11434 (expunge_block, last_loop_beg_note): Delete.
11435 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
11437 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
11438 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
11439 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
11440 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
11441 expunge_block, flow_delete_block, compute_bb_for_insn,
11442 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
11443 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
11444 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
11445 try_redirect_by_replacing_jump, last_loop_beg_note,
11446 redirect_edge_and_branch, redirect_edge_and_branch_force,
11447 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
11448 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
11449 commit_edge_insertions, dump_flow_info, debug_flow_info,
11450 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
11451 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
11452 Move here from flow.c
11453 * cfganal.c: New file.
11454 (forwarder_block_p, can_fallthru, mark_critical_edges,
11455 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
11456 find_unreachable_blocks, create_edge_list, free_edge_list,
11457 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
11458 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
11459 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
11460 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
11461 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
11462 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
11463 Move here from flow.c
11464 * cfgbuild.c: New file
11465 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
11466 make_edges, find_basic_blocks_1, find_basic_blocks,
11467 find_sub_basic_blocks): Move here from flow.c
11468 * cfgcleanup.c: New file.
11469 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
11470 merge_blocks_move_predecessor_nojumps,
11471 merge_blocks_move_successor_nojumps, merge_blocks,
11472 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
11473 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
11474 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
11476 * cfgloop.c: New file
11477 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
11478 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
11479 flow_loop_exit_edges_find, flow_loop_nodes_find,
11480 flow_loop_pre_header_scan, flow_loop_pre_header_find,
11481 flow_loop_tree_node_add, flow_loops_tree_build,
11482 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
11483 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
11484 Move here from flow.c
11485 * flow.c: Remove everything moved elsewhere
11486 * output.h (cleanup_cfg): Return bool.
11488 * bb-reorder.c (reorder_block_def): Remove 'index'.
11489 (insert_intra_1): Add argument BB, set block for new note.
11490 (make_reorder_chain): Do not depdent on BB indexes.
11491 (make_reorder_chain_1): Do not use BB indexes.
11492 (label_for_bb): Likewise; set BB for new insn.
11493 (emit_jump_to_block_after): Likewise.
11494 (fixup_reorder_chain): Sanity check that all basic blocks
11495 are chained; verify newly created insn chain; remove
11496 undocnitional jump simplifying; Do not use BB indexes;
11497 properly initialize count and frequency information;
11498 dump reordered sequence.
11499 (insert_intra_bb_scope_notes): update call of insert_intra_1.
11500 (insert_inter_bb_scope_notes): Set block for new insn.
11501 (reorder_basic_blocks): Dump flow info before reoredering.
11503 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11505 * alias.c (clear_reg_alias_info): Use K&R format definition.
11506 Avoid unsigned warning.
11507 * builtins.c: Use "unsigned int", not "unsigned".
11508 (target_char_cast): Use host_integerp and tree_low_cst.
11509 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
11510 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
11511 (c_getstr): Likewise.
11512 (std_expand_builtin_va_arg): Use int_size_in_bytes.
11513 (builtin_memcpy_read_str): Avoid unsigned warning.
11514 (expand_builtin_memcpy): Alignments are unsigned.
11515 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
11516 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
11517 * predict.c (expensive_function_p): LIMIT now unsigned.
11518 * resource.c (mark_target_live_regs): Make some vars unsigned.
11519 * sdbout.c: Use "unsigned int", not "unsigned".
11520 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
11521 (sdbout_source_line): Likewise.
11522 (sdbout_record_type_name): Remove "const" for NAME declaration.
11523 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
11525 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
11527 * calls.c (store_one_arg): Expand comment.
11529 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11531 * calls.c (store_one_arg): Make sure that the entire argument is
11532 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
11534 2001-09-09 Richard Henderson <rth@redhat.com>
11536 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
11538 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
11540 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
11542 2001-09-09 Richard Henderson <rth@redhat.com>
11544 * config/alpha/alpha.c (alpha_next_sequence_number): New.
11545 (alpha_this_literal_sequence_number): New.
11546 (alpha_this_gpdisp_sequence_number): New.
11547 (some_operand, input_operand): Add HIGH.
11548 (local_symbolic_operand): New.
11549 (alpha_encode_section_info): New.
11550 (alpha_legitimate_address_p): Allow LO_SUM.
11551 (alpha_legitimize_address): Generate HIGH+LO_SUM.
11552 (alpha_expand_mov): Likewise.
11553 (secondary_reload_class): Check memory_operand not general_operand
11555 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
11556 (alpha_expand_unaligned_store): Likewise.
11557 (alpha_expand_unaligned_load_words): Likewise.
11558 (alpha_expand_unaligned_store_words): Likewise.
11559 (alpha_expand_block_clear): Likewise.
11560 (print_operand): Handle %#, %*, %H.
11561 (print_operand_address): Handle LO_SUM.
11562 (find_lo_sum): New.
11563 (alpha_does_function_need_gp): Use it.
11564 (alpha_expand_block_move): Fix signed compare warnings.
11565 (alpha_sa_mask, alpha_align_insns): Likewise.
11566 * config/alpha/alpha-protos.h: Update.
11567 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
11568 (MASK_EXPLICIT_RELOCS): New.
11569 (TARGET_SWITCHES): Add -mexplicit-relocs.
11570 (EXTRA_CONSTRAINT): Add 'T'.
11571 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
11572 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
11573 (ENCODE_SECTION_INFO): Out line.
11574 (REDO_SECTION_INFO_P): New.
11575 (STRIP_NAME_ENCODING): New.
11576 (ASM_OUTPUT_LABELREF): New.
11577 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
11578 (PREDICATE_CODES): Update.
11579 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
11580 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
11581 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
11582 builtin_setjmp_receiver_er, exception_receiver_1_er,
11583 call_value_osf_1_er): New patterns.
11584 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
11585 (movqi, movhi, movsi): Add explicit $31 base register to lda.
11586 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
11587 (FINAL_PRESCAN_INSN): New.
11589 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
11591 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
11593 2001-09-08 Andreas Jaeger <aj@suse.de>
11595 * i386.h (TARGET_SWITCHES): Fix description.
11597 2001-09-07 David Edelsohn <edelsohn@gnu.org>
11599 * rs6000.c (num_insns_constant): Compute number of instructions
11602 * doc/install.texi: Explain AIX exception handling work-around.
11603 Update URL for AIX fixes.
11605 2001-09-07 Jim Wilson <wilson@redhat.com>
11607 * alias.c (clear_reg_alias_info): New.
11608 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
11609 * rtl.h (clear_reg_alias_info): Declare.
11611 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11613 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
11615 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
11616 (m16m,edivm,emulm): Change declaration to match definition.
11618 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11620 * reload.c (push_reload): Check for subreg_lowpart_p instead of
11621 SUBREG_BYTE being 0 when determining if the inner part of a subreg
11624 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11626 * c-common.c (signed_or_unsigned_type): Handle machine mode types
11627 which have no corresponding C type.
11628 * fold_const.c (target_isinf,target_isnan,target_negative): Update
11629 the representation of 64-bit doubles to work with 64-bit ints.
11631 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
11633 * config/mips/mips.c (override_options): Do not override ISA when ABI
11634 specified if MIPS_CPU_STRING_DEFAULT was specified.
11636 2001-09-07 Richard Henderson <rth@redhat.com>
11638 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
11639 (express_from_1): Wrap lines.
11640 * rtlanal.c (commutative_operand_precedence): Rename from
11641 operand_preference; export.
11642 * rtl.h: Declare it.
11643 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
11644 (simplify_binary_operation): Invoke simplify_plus_minus on
11645 (CONST (PLUS ...)) as well.
11646 (struct simplify_plus_minus_op_data): New.
11647 (simplify_plus_minus_op_data_cmp): New.
11648 (simplify_plus_minus): Use them. Avoid infinite recursion with
11649 simplify_binary_operation wrt CONST.
11651 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
11653 * h8300-protos.h (general_operand_dst_push): Remove.
11654 * h8300.c (general_operand_dst_push): Likewise.
11655 * h8300.h (OK_FOR_T): Likewise.
11656 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
11657 * h8300.md (pushqi_h8300): New.
11658 (pushqi_h8300hs): Likewise.
11659 (pushqi): Likewise.
11660 (pushhi_h8300): Likewise.
11661 (pushhi_h8300hs): Likewise.
11662 (pushhi): Likewise.
11664 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11666 * genattrtab.c (attr_printf): First arg is unsigned.
11667 Clean up formatting of callers.
11669 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
11671 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
11674 2001-09-07 Andreas Jaeger <aj@suse.de>
11676 * i386.h (TARGET_SWITCHES): Fix descriptions.
11678 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11680 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
11682 2001-09-06 Ira Ruben <ira@apple.com>
11684 Remove OP_IDENTIFIER.
11685 * tree.def (OP_IDENTIFIER): Remove.
11686 * tree.c (tree_node_kind enum): Remove op_id_kind.
11687 (tree_node_kind_names): Remove "op_identifiers".
11688 (make_node): Remove OP_IDENTIFIER test.
11689 (build_op_identifier): Removed because it isn't being used.
11690 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
11691 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
11693 2001-09-06 Richard Henderson <rth@redhat.com>
11695 * simplify-rtx.c (simplify_binary_operation): Revert last change.
11697 2001-09-06 Richard Henderson <rth@redhat.com>
11699 * simplify-rtx.c (simplify_binary_operation): Simplify contents
11702 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11704 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
11705 number used for CR register.
11707 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11708 Joern Rennecke (amylaar@cygnus.com)
11710 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
11711 * h8300.c (initial_offset): Handle offset between RP and FP.
11712 (h8300_return_addr_rtx): New function.
11713 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
11715 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
11716 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
11717 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
11718 (CAN_ELIMINATE, REGISTER_NAMES):
11719 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
11721 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
11723 Remove TYPE_NONCOPIED_PARTS.
11724 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
11725 (struct tree_type): Remove noncopied_parts.
11726 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
11727 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
11728 (fixed_type_p): Remove.
11729 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
11730 (expand_expr, MODIFY_EXPR): Likewise.
11731 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
11732 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
11734 2001-09-06 Alan Modra <amodra@bigpond.net.au>
11736 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
11738 (mask64_operand): Likewise.
11739 (includes_rldic_lshift_p): Likewise.
11740 (includes_rldicr_lshift_p): Likewise.
11742 2001-09-05 Ziemowit Laski <zlaski@apple.com>
11744 * objc/objc-act.c (build_message_expr): If a class method cannot
11745 be found, do not issue a warning if a corresponding instance
11746 method exists in the root class.
11748 2001-09-05 Richard Henderson <rth@redhat.com>
11750 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
11752 2001-09-05 Zack Weinberg <zack@codesourcery.com>
11754 * function.c (ggc_mark_struct_function): Mark f->outer.
11755 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
11756 * integrate.c (output_inline_function): ... not here.
11758 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
11760 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
11762 * i386.c (size_cost): New static variable.
11763 (override_function): Use size_cost when -Os is specified.
11765 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
11766 properly; Use current_function_calls_eh_return.
11767 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
11768 use leave to avoid dependency chain.
11770 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
11771 get BB loop_depth instead of computing it from LOOP notes.
11773 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
11775 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11777 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
11778 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11779 UNALIGNED_DOUBLE_INT_ASM_OP): Define
11781 2001-09-05 Jeffrey A Law (law@cygnus.com)
11782 Jason Merrill (jason@redhat.com)
11784 * stor-layout.c (layout_type): Complain if an array's size can
11785 not be represented in a size_t.
11787 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
11789 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
11791 * gcc.c: (process_command) Add parentheses around assignment
11792 used as truth value.
11794 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11796 * config/mips/mips.c (save_restore_insns): Don't mark any register
11797 save slots as unchanging if current_function_calls_eh_return.
11799 2001-09-05 Richard Henderson <rth@redhat.com>
11801 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
11802 * config/alpha/alpha-protos.h: Declare it.
11803 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
11804 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
11805 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
11806 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
11807 (REG_OK_FOR_BASE_P): Select one of the above.
11809 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11811 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
11812 (crti.o): Prefix name of object file with $(T).
11813 (crtn.o): Likewise.
11815 2001-09-05 David S. Miller <davem@redhat.com>
11817 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
11818 * config/sparc/linux64.h: Likewise.
11820 2001-09-05 Andreas Jaeger <aj@suse.de>
11822 * doc/invoke.texi (i386 Options): -mwide-multiply is not
11823 available anymore, remove the documentation.
11824 (i386 Options): Fix typo, cleanup index entries.
11826 * prefix.c (concat): Remove, we can use the version from liberty.
11828 2001-09-05 Richard Henderson <rth@redhat.com>
11830 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
11831 New functions split out of md file expanders.
11832 * config/alpha/alpha-protos.h: Declare them.
11833 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
11835 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
11837 * cppmacro.c (funlike_invocation_p): No need to restore context.
11839 2001-09-04 Richard Henderson <rth@redhat.com>
11841 * reload.c (push_reload): Export.
11842 * reload.h (push_reload): Declare it.
11844 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
11845 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
11846 * config/alpha/alpha.c (alpha_legitimize_address): New.
11847 (alpha_legitimize_reload_address): Likewise.
11848 * config/alpha/alpha-protos.h: Declare them.
11850 2001-09-04 Stan Shebs <shebs@apple.com>
11852 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
11853 * config/darwin.c (machopic_stub_name): Account for internally
11854 generated lib calls such as memcpy.
11856 2001-09-04 Richard Henderson <rth@redhat.com>
11858 * unwind.h (_UA_END_OF_STACK): New flag.
11859 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
11861 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11863 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
11865 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
11867 * config/mips/mips.c (save_restore_insns): Change base_offset to
11868 fp_offset in second call to mips_emit_frame_related_store.
11870 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
11872 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
11873 sometimes be represented as a NOTE of type
11874 NOTE_INSN_DELETED_LABEL.
11875 (Insns): Document NOTE_INSN_DELETED_LABEL.
11877 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
11879 * c-common.h (tree_dump_index): Add more comments.
11880 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
11881 (dump_option_value_info): New struct.
11882 (dump_options): New array.
11883 (dump_switch_p): Parse switch options symbolically.
11884 * doc/invoke.texi (-fdump-ast): Rename to ...
11885 (-fdump-tree): ... here. Document that options are symbolic, and
11886 not all are applicable.
11888 2001-09-04 David S. Miller <davem@redhat.com>
11890 * config/sparc/sparc.md (define_splits): Kill constraints.
11892 Cleanup redundant and unused insn attributes.
11893 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
11894 binary, and move. Mark ialu as default.
11895 (commented out define_function_unit "alu"): Kill.
11896 (define_attr "use_clobbered"): Kill.
11897 (whole file): Kill address insn type references. Replace
11898 all unary/binary/move references with ialu.
11899 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
11900 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
11903 Simplify length insn attribute and make more judicious use
11904 of insn attribute defaulting.
11905 * config/sparc/sparc.md (all insns with length > one): Mark as
11906 insn type multi if real instructions, else use default if
11907 it is a forced splitter.
11908 (all insns with length == one): Use default insn length.
11909 (all insns of type ialu): Use default insn type.
11911 Fix erroneous insn attribute settings.
11912 (addx): Set insn type to misc.
11913 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
11914 const_umulsidi3_sp64): Set insn type to imul.
11916 Track SFmode vs DFmode insns according to UltraSPARC
11918 * config/sparc/sparc.md ("fptype"): New attribute, default
11920 (all DFmode single insns): Mark as fptype "double".
11922 2001-09-03 Jakub Jelinek <jakub@redhat.com>
11924 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
11926 2001-09-03 Richard Henderson <rth@redhat.com>
11928 * function.h (struct function): Add arg_pointer_save_area_init.
11929 * function.c (expand_function_end): Init arg_pointer_save_area.
11930 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
11931 when called from a nested function.
11933 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
11935 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
11938 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11940 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
11942 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
11944 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
11945 (emit_push_insn): Use specified padding direction when
11946 STACK_PUSH_CODE is POST_INC.
11948 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
11950 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11952 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
11954 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
11956 * cppinit.c (cpp_start_read): Free the imacros list as we
11957 traverse it. Don't free the chains before returning.
11958 (_cpp_push_next_buffer): Only try pushing buffers if we've
11959 completed -imacros handling.
11961 2001-08-31 Eric Christopher <echristo@redhat.com>
11963 * gcc.c (handle_braces): Add explaination for abort.
11965 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
11967 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
11968 move adjustment of bitpos instead.
11970 2001-08-31 Zack Weinberg <zack@codesourcery.com>
11972 * function.c: Remove all_functions. Make outer_function_chain
11974 (init_function_start): Don't add new function structure to
11976 (find_function_data, push_function_context_to,
11977 pop_function_context_from, put_var_into_stack,
11978 trampoline_address): Update for changed structure element names.
11979 (push_function_context_to): Disentangle.
11980 (free_after_compilation): Also free F.
11981 (expand_dummy_function_end): Don't free cfun here.
11982 (put_var_into_stack): Comment why we can't use find_function_data here.
11983 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
11984 (mark_function_chain): Split into maybe_mark_struct_function and
11985 ggc_mark_struct_function. Export the latter.
11986 (init_function_once): Mark from cfun and outer_function_chain;
11989 * function.h (struct function): Kill next_global. Rename next
11990 to outer. All users updated to match.
11991 (all_functions, outer_function_chain): Don't declare.
11993 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
11994 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
11995 don't touch f->inlinable, after calling rest_of_compilation.
11997 * tree.h: Forward-declare struct function. Prototype
11998 ggc_mark_struct_function.
12000 2001-08-31 Kazu Hirata <kazu@hxi.com>
12002 * config/h8300/h8300.md (*andorhi3): Fix typos.
12004 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12006 * calls.c (emit_library_call_value): Don't use a fixed
12007 argument after VA_CLOSE, i.e. out of scope in traditional C.
12009 * emit-rtl.c (gen_rtvec): Likewise.
12011 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12013 * Makefile.in (c-pragma.o): Depend on output.h.
12014 (reorg.o): Depend on except.h.
12016 * c-pragma.c: Include output.h.
12018 * reorg.c: Include except.h.
12020 * unwind-dw2.c: Call __builtin_alloca, not alloca.
12022 2001-08-31 Richard Henderson <rth@redhat.com>
12024 * sched-deps.c (add_dependence): Don't elide dependency if the
12025 conditional used by insn is modified in elem.
12027 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
12029 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
12031 2001-08-31 Diego Novillo <dnovillo@redhat.com>
12033 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
12036 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
12038 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
12040 (stormy16_asm_out_constructor): New function.
12041 (TARGET_ASM_CONSTRUCTOR): Define.
12042 (TARGET_ASM_DESTRUCTOR): Define.
12044 2001-08-31 Andreas Jaeger <aj@suse.de>
12046 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
12047 * loop.c (add_label_notes): Likewise.
12048 * reload.c (find_reloads): Likewise.
12049 * config/sh/sh.c (machine_dependent_reorg): Likewise.
12051 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
12053 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
12054 code here. Take _Unwind_{W,Sw}ord*.
12055 (read_encoded_value_with_base): Use them.
12056 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
12058 (extract_cie_info): Simplify read_?leb128 handling.
12059 (execute_stack_op, execute_cfa_program): Likewise.
12060 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
12062 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
12064 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
12065 the frame pointer to pop the stack if convenient.
12067 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
12068 Don't use post-increment before combine.
12069 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
12070 a call-saved register.
12072 2001-08-31 Andreas Jaeger <aj@suse.de>
12074 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
12077 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
12079 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
12080 not DIV/MOD, of course.
12082 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
12084 * rtl.def: Undo my patch commited 2001-08-27.
12086 * genattrtab.c: Ditto.
12090 * sched-int.h: Ditto.
12092 * target-def.h: Ditto.
12096 * haifa-sched.c: Ditto.
12098 * sched-rgn.c: Ditto.
12100 * sched-vis.c: Ditto.
12102 * Makefile.in: Ditto.
12104 * doc/md.texi: Ditto.
12106 * doc/tm.texi: Ditto.
12108 * doc/contrib.texi: Ditto.
12110 * doc/gcc.texi: Ditto.
12112 * genattrtab.h: Remove it.
12114 * genautomata.c: Remove it.
12116 * genattr.c: Undo my patch and Richard Henderson's patch commited
12119 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
12121 * config.gcc (h8300-*-elf*): New case.
12122 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
12123 (SUBTARGET_CPP_SPEC): Define.
12124 (EXTRA_SPECS): Define.
12125 (SUBTARGET_EXTRA_SPECS): Define.
12126 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
12127 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
12129 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
12131 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
12132 (LIB2FUNCS_EXTRA): Define.
12133 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
12134 config/h8300/fixunssfsi.c: New file.
12136 2001-08-30 Kazu Hirata <kazu@hxi.com>
12138 * config/h8300/h8300.md (zero_extendqihi2): Changes to
12139 define_expand to accommodate target-specific attributes.
12140 (anonymous zero_extendqihi2 patterns): New.
12142 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
12144 * h8300.md (*andorhi3): New pattern.
12146 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
12148 * h8300.c (dosize): Fix test for "sub".
12150 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
12152 * c-typeck.c (pointer_diff): Try to eliminate common term before
12155 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
12157 * config/arm/arm.c (arm_compute_initial_elimination_offset):
12158 Account for the saves of the FP registers.
12160 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
12161 (TEXT_SECTION_ASM_OP): Define.
12162 (INIT_SECTION_ASM_OP): Define.
12163 (FINI_SECTION_ASM_OP): Define.
12164 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
12165 (RDATA_SECTION_FUNCITON): Provide prototype.
12167 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
12169 * reload1.c (move2add_note_store): Correct typo checking for
12172 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
12174 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
12175 note should not be considered outside the libcall block.
12177 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12179 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
12181 2001-08-29 Kazu Hirata <kazu@hxi.com>
12183 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
12185 2001-08-29 Kazu Hirata <kazu@hxi.com>
12187 * config/h8300/h8300-protos.h: Add a prototype for
12189 * config/h8300/h8300.c (emit_logical_op): New.
12190 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
12191 (andsi3): Likewise.
12192 (iorhi3): Likewise.
12193 (iorsi3): Likewise.
12194 (xorhi3): Likewise.
12195 (xorsi3): Likewise.
12197 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12199 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
12200 comparison with rtx INTVAL.
12201 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
12203 * pa.h (FUNCTION_ARG_SIZE): Likewise.
12205 2001-08-29 Kazu Hirata <kazu@hxi.com>
12207 * config/h8300/lib1funcs.asm: Update the copyright. Fix
12210 2001-08-29 Kazu Hirata <kazu@hxi.com>
12212 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
12213 (reg n) to (mem (pre_dec (reg n))
12214 (anonymous movsi pattern): Likewise.
12216 2001-08-29 Kazu Hirata <kazu@hxi.com>
12218 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
12220 2001-08-29 Kazu Hirata <kazu@hxi.com>
12222 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
12223 several special constants.
12225 2001-08-29 Kazu Hirata <kazu@hxi.com>
12227 * config/h8300/lib1funcs.asm: Fix comment typos.
12229 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12231 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
12232 Fix format specifier warnings.
12234 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
12235 inet_makeaddr, semctl): Prototype.
12237 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
12238 (save_restore_insns): Use base_offset, not gp_offset.
12240 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
12241 (ASM_OUTPUT_BYTE): Fix format specifier warning.
12243 2001-08-29 Richard Henderson <rth@redhat.com>
12245 * bb-reorder.c (function_tail_eff_head): New.
12246 (record_effective_endpoints): Set it.
12247 (fixup_reorder_chain): Use it.
12249 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12251 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
12253 2001-08-28 Dale Johannesen <dalej@apple.com>
12255 * config/darwin.c (machopic_function_base_name): Add const
12256 qualifier to a string.
12257 (darwin_encode_section_info): Ditto.
12259 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12261 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
12262 function definition.
12264 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12266 * df.h (struct df): Add rts_order variable.
12268 * df.c (df_visit_next_rts): New function.
12269 (df_visit_next): Renamed to df_visit_next_rc
12270 (df_analyse_1): Allocate/compute/free rts_order as well.
12271 (df_rd_global_compute): Use df_visit_next_rc instead of
12273 (df_ru_global_compute): Use df_visit_next_rts instead of
12276 * flow.c (flow_reverse_top_sort_order_compute): New function.
12278 * basic-block.h: Add prototype.
12280 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12282 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
12283 blocks, the BB_REACHABLE is now set, rather than aux being
12284 non-NULL. Update the test to reflect this.
12286 2001-08-28 Eric Christopher <echristo@redhat.com>
12288 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
12289 config/mips/crti.asm: Ditto.
12291 2001-08-28 Eric Christopher <echristo@redhat.com>
12292 Richard Henderson <rth@redhat.com>
12294 * c-pragma.h (add_weak): Move prototype from here...
12295 * output.h (add_weak): ... to here.
12296 * varasm.c (add_weak): Fix typo.
12297 * config/mips/crti.asm: New file.
12298 * config/mips/crtn.asm: Ditto.
12299 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
12300 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
12301 (INVOKE__main): Ditto.
12302 (INIT_SECTION_ASM_OP): New.
12303 (FINI_SECTION_ASM_OP): Ditto.
12304 (STARTFILE_SPEC): Add crti.
12305 (ENDFILE_SPEC): Add crtn.
12306 * config/mips/elf64.h: Same.
12307 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
12309 * config/mips/vxworks.h: Ditto.
12310 * config/mips/t-elf: Support crti and crtn.
12312 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
12314 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
12317 2001-08-28 Richard Henderson <rth@redhat.com>
12319 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
12320 (one_cmplbi2 splitter): Remove redundant test.
12322 2001-08-28 Dale Johannesen <dalej@apple.com>
12324 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
12326 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
12328 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
12330 2001-08-28 Stan Shebs <shebs@apple.com>
12332 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
12333 (UNALIGNED_SHORT_ASM_OP): Define.
12334 (UNALIGNED_INT_ASM_OP): Define.
12336 2001-08-28 Will Cohen <wcohen@redhat.com>
12338 * config/rs6000/rs6000.md (store_multiple): Correct RTL
12339 generation for first set.
12341 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12343 * flow.c (redirect_edge_succ_nodup): Return new edge.
12344 (try_simplify_condjump): Use new edge.
12345 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
12347 * cse.c (cse_basic_block): Skip note instructions.
12349 2001-08-27 Richard Henderson <rth@redhat.com>
12351 * combine.c (combine_simplify_rtx): Don't reverse condition
12352 if there is no reverse for the condition.
12353 (simplify_comparison): Don't simplify subregs from INT to FP.
12355 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
12356 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
12357 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
12358 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
12359 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
12360 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
12362 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12364 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
12365 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
12367 (adddi_dilshr32, adddi_dishl32): Only data register can be
12368 source for mem destination.
12370 * expmed.c (store_bit_field): Ignore adjustment to bitpos
12371 and use bitnum to decide about register move.
12373 2001-08-27 Richard Henderson <rth@redhat.com>
12375 * genattr.c (main): Emit state_t even when not doing scheduling.
12377 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12378 Richard Henderson <rth@redhat.com>
12380 * gcse.c (reg_first_set, reg_last_set): Replace with ...
12381 (reg_avail_info, current_bb): ... these.
12382 (oprs_unchanged_p, record_last_reg_set_info): Use them.
12383 (compute_hash_table): Likewise.
12385 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12387 * flow.c (verify_flow_info): Use checksums to verify edges.
12389 2001-08-27 Richard Henderson <rth@redhat.com>
12391 * genautomata.c (expand_automata): Always create a description.
12393 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12395 * optabs.c (expand_binop): Correctly handle the carry in multiword
12396 add/subtract operations.
12398 2001-08-27 Fred Fish <fnf@be.com>
12400 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
12403 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12405 * reload.c (find_reloads_toplev): Back out this change:
12407 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
12409 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
12410 mem if the address is a mode_dependent_address_p.
12412 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
12414 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
12415 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
12416 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
12419 * genattr.c (main): New variable num_insn_reservations. Increase
12420 it if there is DEFINE_INSN_RESERVATION. Output automaton based
12421 pipeline hazard recognizer interface.
12423 * genattrtab.h: New file.
12425 * genattrtab.c: Include genattrtab.h.
12426 (attr_printf, check_attr_test, make_internal_attr,
12427 make_numeric_value): Move protypes into genattrtab.h. Define them
12429 (num_dfa_decls): New global variable.
12430 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
12431 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
12432 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
12433 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
12435 * genautomata.c: New file.
12437 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
12439 * sched-int.h: (curr_state): Add the external definition for
12440 automaton pipeline interface.
12441 (haifa_insn_data): Add comments for members blockage and units.
12443 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12444 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12445 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12446 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12447 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12448 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12449 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
12451 (TARGET_SCHED): Use the new macros.
12453 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
12454 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
12455 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
12456 dfa_bubble): New members in gcc_target.sched.
12458 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
12459 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
12460 (insn_queue): Redefine it as pointer to array.
12461 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
12463 (max_insn_queue_index_macro_value): New variable.
12464 (curr_state, dfa_state_size, ready_try): New varaibles for
12465 automaton interface.
12466 (ready_element, ready_remove, max_issue): New function prototypes
12467 for automaton interface.
12468 (choose_ready): New function prototype.
12469 (insn_unit, blockage_range): Add comments.
12470 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
12471 FUNCTION_UNITS_SIZE == 0.
12472 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
12473 actual_hazard, potential_hazard): Add comments.
12474 (insn_cost): Use cost -1 as undefined value. Remove
12475 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
12476 pipeline interface.
12477 (ready_element, ready_remove): New functions for automaton
12479 (schedule_insn): Add new code for automaton pipeline interface.
12480 (queue_to_ready): Add new code for automaton pipeline interface.
12481 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
12482 (debug_ready_list): Print newline when the queue is empty.
12483 (max_issue): New function for automaton pipeline interface.
12484 (choose_ready): New function.
12485 (schedule_block): Add new code for automaton pipeline interface.
12486 Print ready list before scheduling each insn.
12487 (sched_init): Add new code for automaton pipeline interface.
12488 Initiate insn cost by -1.
12489 (sched_finish): Free the current automaton state and finalize
12490 automaton pipeline interface.
12492 * sched-rgn.c: Include target.h.
12493 (init_ready_list, new_ready, debug_dependencies): Add new code for
12494 automaton pipeline interface.
12496 * sched-vis.c: Include target.h.
12497 (get_visual_tbl_length): Add code for automaton interface.
12498 (target_units, print_block_visualization): Add comments.
12500 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
12501 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
12502 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
12503 (getruntime.o, genautomata.o): New entries.
12504 (genattrtab.o): Add new dependency file genattrtab.h.
12505 (genattrtab): Add new dependencies. Link it with `libm.a'.
12506 (getruntime.o, hashtab.o): New entries for canadian cross.
12508 * doc/md.texi: Description of automaton based model.
12510 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
12512 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12513 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12514 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12515 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12516 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12517 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12518 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
12520 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
12521 MAX_DFA_ISSUE_RATE): New macro descriptions.
12523 * doc/contrib.texi: Add dfa based scheduler contribution.
12525 * doc/gcc.texi: Add more information about genattrtab.
12527 2001-08-27 Diego Novillo <dnovillo@redhat.com>
12529 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
12530 an RTL basic block.
12532 2001-08-27 Richard Henderson <rth@redhat.com>
12534 * function.c (expand_function_end): Don't init arg_pointer_save_area.
12535 (get_arg_pointer_save_area): New. Create an init it here.
12536 (fix_lexical_addr): Use it.
12537 * function.h: Declare it.
12538 * builtins.c (expand_builtin_setjmp_receiver): Use it.
12539 * stmt.c (expand_nl_goto_receiver): Use it.
12541 2001-08-27 Richard Henderson <rth@redhat.com>
12543 * final.c (final_scan_insn): Don't enter APP_ON mode for
12546 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
12547 alignment for assemble_integer for DW_EH_PE_aligned.
12548 * except.c (output_function_exception_table): Likewise.
12550 2001-08-26 Andreas Jaeger <aj@suse.de>
12552 * c-tree.h: Add prototyp for c_sizeof_nowarn.
12554 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
12556 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
12558 2001-08-27 Alan Modra <amodra@bigpond.net.au>
12560 * config/rs6000/rs6000.c (mask_operand): Rewrite without
12562 (mask64_operand): Likewise.
12563 (rldic_operand): Delete.
12564 (includes_lshift64_p): Delete.
12565 (includes_rldic_lshift_p): New function.
12566 (includes_rldicr_lshift_p): New function.
12567 (print_operand): Don't call rldic_operand in case 'W'.
12568 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
12569 (includes_lshift64_p): Remove.
12570 (includes_rldic_lshift_p): Declare.
12571 (includes_rldicr_lshift_p): Declare.
12572 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
12573 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
12574 Replace match_operand rldic_operand predicate with
12575 const_int_operand. Replace includes_lshift64_p condition with
12576 includes_rldic_lshift_p.
12577 <ashldi3_internal 64 bit rldicr patterns>: New.
12579 2001-08-27 Andreas Jaeger <aj@suse.de>
12581 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
12582 * errors.c: Likewise.
12583 * final.c: Likewise.
12584 * dwarf2asm.c: Likewise.
12585 * doprint.c (checkit): Likewise.
12586 * diagnostic.c: Likewise.
12587 * collect2.c: Likewise.
12588 * calls.c: Likewise.
12589 * c-semantics.c (build_stmt): Likewise.
12590 * c-format.c (status_warning): Likewise.
12591 * c-errors.c (pedwarn_c99): Likewise.
12592 * builtins.c (validate_arglist): Likewise.
12593 * config/pj/pj.c (pj_printf): Likewise.
12594 * fix-header.c: Likewise.
12596 * gcov.c (fnotice): Likewise.
12597 * gensupport.c (message_with_line): Likewise.
12598 * mips-tfile.c: Likewise.
12599 * protoize.c (notice): Likewise.
12600 * read-rtl.c (fatal_with_file_and_line): Likewise.
12601 * rtl-error.c: Likewise.
12602 * tradcpp.c: Likewise.
12603 * tree.c: Likewise.
12604 * cp/tree.c (build_min_nt): Likewise.
12605 (build_min): Likewise.
12606 * cp/lex.c: Likewise.
12607 * cp/errfn.c: Likewise.
12608 * cp/rtti.c (create_pseudo_type_info): Likewise.
12610 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
12612 * df.c (df_uses_record): Return after recording all uses
12615 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
12617 * df.c (df_insn_modify): Realloc the INSN table here, if
12618 necessary, here, too.
12620 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
12622 * config/mips/mips.c (mips_function_value): Handle complex return
12625 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
12627 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
12629 * reload.c (make_memloc): Copy result if it is still
12630 reg_equiv_memory_loc[regno] on return.
12631 (subst_reloads) [ENABLE_CHECKING]: Check that none of
12632 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
12633 reg_equiv_mem are modified by the substitutions.
12635 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12637 * predict.c (expensive_function_p): New.
12638 * rtl.h (expensive_function_p): Declare.
12639 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
12640 (use_fast_prologue_epilogue): New static variable.
12641 (expand_prologue): Set it; emit short prologues if unset.
12642 (expand_epilogue): Likewise.
12644 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12646 * config.gcc: Add stormy16-*-elf case.
12647 * config/stormy16/stormy-abi: New file.
12648 * config/stormy16/stormy16-lib2.c: New file.
12649 * config/stormy16/stormy16-protos.h: New file.
12650 * config/stormy16/stormy16.c: New file.
12651 * config/stormy16/stormy16.h: New file.
12652 * config/stormy16/stormy16.md: New file.
12653 * config/stormy16/t-stormy16: New file.
12655 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
12657 * i386.h (no-accumulate-outgoing-args): Use proper mask.
12659 2001-08-24 David Edelsohn <edelsohn@gnu.org>
12661 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
12662 descriptor members are pointer size, not constant 4.
12663 * config/rs6000/rs6000.md (define_splits): Remove more unused
12666 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12668 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
12670 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
12672 * cp/rtti.c (VPARAMS): Fix parameter.
12674 2001-08-24 Zack Weinberg <zackw@panix.com>
12676 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
12678 (mode_for_extraction): No need for #ifdefs. Add default-case abort
12680 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
12681 in if controlling use of insv.
12682 (extract_bit_field): Likewise, for extv and extzv.
12684 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
12686 * i386.md (movcc peep2): Fix load of 0.
12688 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12690 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
12691 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
12693 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
12695 * c-pragma.h: Move weak_syms and weak_decls...
12696 * varasm.c: ...here. Now static.
12697 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
12698 depend on HANDLE_PRAGMA_WEAK.
12700 * c-common.c (c_alignof, c_alignof_expr): Move here...
12701 * c-typeck.c: ...from here.
12702 * c-tree.h, c-common.h: Adjust.
12704 2001-08-23 Bernd Schmidt <bernds@redhat.com>
12706 * config/ia64/ia64.c (rws_update): If !pred, set write_count
12707 instead of incrementing it.
12709 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
12710 asm ready, don't try to move them all into the same array element.
12712 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12714 * function.c (thread_prologue_and_epilogue_insns): Avoid
12715 fallthru flag on edge to exit.
12717 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
12719 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
12722 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12724 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
12725 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
12726 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
12729 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12731 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
12732 replace "GNU CC" with "GCC".
12734 2001-08-23 Richard Henderson <rth@redhat.com>
12736 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
12737 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
12738 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
12739 Need GR between FR and not GR_AND_FR.
12740 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
12741 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
12742 AR regs before GR regs.
12743 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
12744 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
12745 (REGISTER_MOVE_COST): Update.
12746 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
12748 2001-08-23 Richard Henderson <rth@redhat.com>
12750 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
12753 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12755 * reload1.c (emit_reload_insns): Don't look for notes
12756 on a NULL store_insn.
12758 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12760 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
12761 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
12762 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
12763 format specifier warnings.
12764 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
12766 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
12768 * config/i386/i386-protos.h: Correct declaration of
12769 i386_pe_asm_named_section.
12771 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
12773 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
12775 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
12777 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12779 * cpperror.c (print_location): Don't show _Pragma.
12780 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
12781 and file change callback generation here.
12782 (stack_include_file): Update use of cpp_push_buffer.
12783 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
12784 (struct cpp_buffer): Remove type, pfile members.
12785 * cppinit.c (cpp_handle_option): Use free_chain.
12786 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
12787 (skip_escaped_newlines, get_effective_char, lex_percent): Take
12788 a cpp_reader rather than a cpp_buffer.
12789 (skip_escaped_newlines, get_effective_char, skip_block_comment,
12790 skip_line_comment, parse_string, lex_percent, lex_dot,
12791 _cpp_lex_token): Update accordingly.
12792 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
12794 (cpp_push_buffer): Update prototype.
12795 (run_directive): Update use of cpp_push_buffer.
12796 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
12797 handle_assertion): Update use of run_directive.
12798 * cpplib.h (enum cpp_buffer_type): Remove.
12799 (cpp_push_buffer): Update prototype.
12800 * fix-header.c (read_scan_file): Update.
12802 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12804 * gcc.c (struct prefix_list): Change prefix to const char *.
12806 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12808 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
12810 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
12812 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
12815 * jump.c (squeeze_notes): Take parms by reference. Handle END being
12818 * ifcvt.c (dead_or_predicable): Adjust.
12819 * loop.c (find_and_verify_loops): Adjust.
12820 * stmt.c (expand_end_case): Adjust.
12821 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
12822 head and end insn pointers in the basic block, not just local copies.
12823 (merge_blocks_move_predecessor_nojumps): Likewise.
12825 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
12827 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
12828 bitmap.h, builtin-types.def, builtins.c, builtins.def,
12829 c-aux-info.c, c-common.c, c-common.def, c-common.h,
12830 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
12831 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
12832 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
12833 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
12834 conditions.h, config.gcc, configure.frag, configure.in,
12835 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
12836 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
12837 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
12838 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
12839 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
12840 emit-rtl.c, errors.c, errors.h, except.c, except.h,
12841 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
12842 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
12843 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
12844 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
12845 gencheck.c, gencodes.c, genconfig.c, genemit.c,
12846 genextract.c, genflags.c, gengenrtl.c, genmultilib,
12847 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
12848 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
12849 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
12850 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
12851 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
12852 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
12853 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
12854 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
12855 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
12856 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
12857 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
12858 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
12859 params.h, predict.c, predict.def, predict.h, prefix.c,
12860 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
12861 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
12862 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
12863 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
12864 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
12865 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
12866 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
12867 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
12868 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
12869 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
12870 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
12871 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
12872 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
12873 xcoffout.h: replace "GNU CC" with "GCC".
12875 2001-08-21 Richard Henderson <rth@redhat.com>
12877 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
12878 (final_scan_insn): Consider jump tables data even if we have no
12879 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
12881 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
12882 (ASM_OUTPUT_CASE_END): Remove.
12883 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
12884 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
12885 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
12887 2001-08-21 Richard Henderson <rth@redhat.com>
12889 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
12890 at barrier insns. Emit stop bits before barriers.
12892 * flow.c (flow_find_cross_jump): Don't consider unconditional
12893 return insns for commoning.
12895 * final.c (compute_alignments): Fix typo.
12897 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
12898 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
12899 (store_bit_field): Use mode_for_extraction more places.
12900 (extract_bit_field): Likewise.
12902 2001-08-21 Zack Weinberg <zackw@panix.com>
12904 * caller-save.c: Don't include insn-codes.h.
12905 (reg_save_code, reg_restore_code): Make arrays of int.
12906 All uses updated to match.
12907 (insert_save, insert_restore): No need to initialize "code"
12908 variable upon declaration.
12909 * Makefile.in: update dependencies; fix typo in clean rule.
12911 2001-08-21 Richard Henderson <rth@redhat.com>
12913 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
12914 (merge_if_block): Handle fallout from same.
12916 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12918 * builtins.c (type_to_class): Fix typo in last change.
12920 2001-08-21 Richard Henderson <rth@redhat.com>
12922 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
12923 ia64_asm_output_label.
12925 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
12926 copy of gp while the real gp register contains garbage.
12928 2001-08-21 Zack Weinberg <zackw@panix.com>
12930 * expmed.c (mode_for_extraction): New function.
12931 (store_bit_field, extract_bit_field): Use it.
12932 * expr.h: Prototype it and provide an enum for its first argument.
12934 * combine.c, function.c, recog.c: Don't include insn-codes.h.
12935 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
12936 and digging through the insn_data tables.
12937 * Makefile.in: Update dependencies.
12939 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12941 * cppfiles.c (stack_include_file): line-map.c now handles include
12943 (handle_missing_handler): Similarly.
12944 (_cpp_execute_include): Similarly.
12945 (_cpp_pop_file_buffer): Similarly.
12946 * cpphash.h (struct cpp_reader): Remove system_include_depth,
12947 buffer_stack_depth and include_depth.
12948 * cpplib.c (do_include_common): line-map.c now handles include depth.
12949 (cpp_push_buffer): Similarly.
12950 (_cpp_pop_buffer): Similarly.
12951 * cppmacro.c (builtin_macro): Update.
12952 * line-map.c (init_line_maps): Set depth.
12953 (add_line_map): Increment "used" earlier. Update and use the
12955 (trace_include): Use the include depth.
12956 * line-map.h (struct line_maps): New member depth.
12958 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12960 * cppfiles.c (stack_include_file): Don't handle -H here.
12961 * cppinit.c (cpp_start_read): Set include tracing after
12962 cpp_post_options and after stacking the main file.
12963 * line-map.c (trace_include): New.
12964 (init_line_maps, add_line_map): Update.
12965 * line-map.h (struct line_maps): New member trace_includes.
12967 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12969 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
12970 * cppfiles.c (stack_include_file): Only stack a file if there
12971 is something to do. Return a boolean indicating whether a
12972 buffer was stacked or not.
12973 (_cpp_execute_include): Similarly.
12974 (_cpp_read_file): Similarly.
12975 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
12977 2001-08-21 Sam Steingold <sds@gnu.org>
12979 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
12980 (RECACHE): keep obufp_before_macroname up to date
12982 2001-08-21 Zack Weinberg <zackw@panix.com>
12984 * stmt.c: Don't include insn-codes.h.
12985 (expand_end_case): Machine specific logic moved to expr.c.
12986 No need to worry about __builtin_classify_type.
12987 (check_for_full_enumeration_handling, emit_case_nodes):
12990 * builtins.o (expand_builtin_classify_type): Split up so code
12991 can be shared with fold_builtin_classify_type.
12992 (type_to_class, fold_builtin_classify_type): New functions.
12993 (fold_builtins): Handle __builtin_classify_type.
12995 * expr.c (do_tablejump): Now static.
12996 (case_values_threshold, try_casesi, try_tablejump): New;
12997 code mostly from stmt.c (expand_end_case).
12998 (expr.h): Update prototypes.
13000 * Makefile.in (stmt.o): Update dependencies.
13002 2001-08-21 Will Cohen <wcohen@redhat.com>
13004 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
13005 declaration of variable i.
13006 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
13007 declaration of variable i.
13009 2001-08-21 Richard Henderson <rth@redhat.com>
13011 * crtstuff.c: Fix thinko last change. Move list tails to start
13012 of CRT_END section. Tidy ifdefs.
13013 (__EH_FRAME_BEGIN__): Always static for ELF.
13014 (__do_global_ctors_1): Rename from __frame_dummy.
13015 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
13016 name change; don't hide __EH_FRAME_BEGIN__.
13018 2001-08-21 Richard Henderson <rth@redhat.com>
13020 * gdbinit.in: Move break on exit after break on fancy_abort.
13022 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
13025 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
13027 * cpphash.h (_cpp_push_next_buffer): New.
13028 * cppinit.c (do_includes): Remove.
13029 (push_include, free_chain, _cpp_push_next_buffer): New.
13030 (cpp_start_read): Use them to rework command line option handling.
13031 (cpp_handle_option): Combine handling of -include and -imacros.
13032 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
13033 appropriate. Always insert missing \n at EOF.
13034 * cpplib.c (start_directive): Get the directive position right.
13035 * cppmain.c (cb_file_change): Always print the first line, unless
13038 2001-08-20 Andreas Jaeger <aj@suse.de>
13040 * profile.c (compute_branch_probabilities): Remove extra new-line
13042 * flow.c (verify_flow_info): Likewise.
13044 2001-08-20 Diego Novillo <dnovillo@redhat.com>
13046 * basic-block.h (basic_block): Add new field 'flags'.
13047 (BB_REACHABLE): Define.
13048 (expunge_block): Declare.
13049 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
13050 (EXIT_BLOCK_PTR): Ditto.
13051 (expunge_block): Remove static declaration.
13052 (cleanup_cfg): Clear bb->aux on every basic block.
13053 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
13054 computing reachability.
13055 (delete_unreachable_blocks): Delete block b if b->flags has
13056 BB_REACHABLE unset.
13058 2001-08-20 Diego Novillo <dnovillo@redhat.com>
13060 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
13062 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13064 * sparc.c (sparc_variable_issue): Fix typo in last change.
13066 2001-08-20 Richard Henderson <rth@redhat.com>
13068 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
13070 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
13072 * pa.h (RETURN_IN_MEMORY): Improve comment.
13074 2001-08-20 Janis Johnson <janis187@us.ibm.com>
13076 * doc/invoke.texi (Profiling options): Clarify the interactions
13077 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
13079 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
13081 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
13084 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13086 * gcc.c (make_relative_prefix): Allocate a sufficiently large
13089 2001-08-20 Richard Henderson <rth@redhat.com>
13091 * final.c (end_final): Fix typo last change.
13093 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
13095 * cppinit.c (init_standard_includes): The returned buffer
13096 is already malloc-ed.
13097 * gcc.c (add_prefix): Similarly.
13098 * prefix.c (translate_name): Update to support clear buffer
13100 (update_path): Similarly. Be sure to free any newly allocated
13101 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
13102 (tr): New function.
13103 * prefix.h (update_path): Update prototype and document.
13104 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
13105 up and update to new buffer ownership rules.
13106 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
13108 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13110 * final.c (compute_alignments): New function.
13111 (init_insn_lengths): Do not care label_align.
13112 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
13113 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
13114 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
13115 (shorted_branches): Realloc label_align array; do
13116 not call init_insn_lengths; Do not care about loop alignments.
13117 * output.h (compute_alignments): Declare.
13118 * toplev.c (rest_of_compilation): Call compute_alignments.
13119 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
13121 * predict.c (block_info_def): Add npredecesors, remove nvisited;
13122 change visited to tovisit.
13123 (propagate_freq): Use faster traversing algorithm.
13124 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
13125 to tovisit; reverse meaning.
13127 * predict.c (struct block_info_def): Remove nvisited.
13128 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
13129 (estimate_bb_frequencies): Call mark_dfs_back_edges.
13131 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
13133 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
13134 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
13135 (TARGET_FUSED_MADD): New.
13136 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
13137 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
13138 the multiply-add instructions.
13140 2001-08-19 Richard Henderson <rth@redhat.com>
13142 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
13143 is aligned to pointer size.
13145 2001-08-19 Richard Henderson <rth@redhat.com>
13147 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
13148 display markers during final schedule.
13150 2001-08-19 Richard Henderson <rth@redhat.com>
13152 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
13154 2001-08-19 Richard Henderson <rth@redhat.com>
13156 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
13157 in the same string.
13158 (ASM_NAME_TO_STRING): Remove.
13159 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
13160 in the same string. Remove support for expressions.
13162 2001-08-19 Richard Henderson <rth@redhat.com>
13164 * config/i386/i386.md (tablejump): Make an expander; handle
13165 pic relative addressing here.
13166 (tablejump_1): Rename from tablejump_pic.
13169 2001-08-19 Richard Henderson <rth@redhat.com>
13171 * regclass.c (fix_register): Fix typo.
13173 2001-08-18 Richard Henderson <rth@redhat.com>
13175 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
13176 (struct _Unwind_Context): Expand br_loc to hold it.
13177 (uw_frame_state_for): Handle leaf functions better.
13178 (uw_update_reg_address): Update for br_loc change.
13180 2001-08-18 Richard Henderson <rth@redhat.com>
13182 * crtstuff.c: Move list heads before code that uses them.
13183 (__JCR_LIST__): Remove initial null.
13184 (frame_dummy, __frame_dummy): Do java registration here ...
13185 (__do_global_ctors_aux): ... not here.
13187 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
13188 (__do_global_dtors_aux): Update to match.
13189 (__JCR_LIST__, __do_jv_register_classes): New.
13191 * config/ia64/crtend.asm (__JCR_END__): New.
13192 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
13193 instead of an indirect LTOFF22 reloc.
13195 2001-08-18 Richard Henderson <rth@redhat.com>
13197 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
13198 * regclass.c (init_reg_sets_1): Fix typo.
13199 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
13200 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
13201 (ia64_compute_frame_size): Make ar.unat live when in use.
13202 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
13203 for ar.pfs; remove ar.unat handling.
13204 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
13206 (PREDICATE_CODES): Add ar_pfs_reg_operand.
13207 * config/ia64/ia64-protos.h: Update decls.
13208 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
13209 (sibcall_pic): Likewise.
13211 2001-08-18 Richard Henderson <rth@redhat.com>
13213 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
13214 pred_rel_mutex when searching for insn_group_barrier.
13215 * config/ia64/ia64.md (cycle_display): Combine the expander
13218 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
13219 bit before asm as needed.
13221 2001-08-18 Richard Henderson <rth@redhat.com>
13223 * timevar.def (TV_MACH_DEP): New.
13224 * toplev.c (rest_of_compilation): Use it.
13225 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
13227 2001-08-18 Zack Weinberg <zackw@panix.com>
13229 * unwind-dw2.c (execute_stack_op): Add default aborts to
13230 the inner switches to prevent warnings.
13232 2001-08-18 Richard Henderson <rth@redhat.com>
13234 * timevar.h (struct timevar_time_def): Change element type to float.
13235 (ticks_to_msec, clocks_to_msec): Likewise.
13236 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
13237 (get_time): Likewise.
13238 (timevar_print): Adjust zero check and printing to match.
13240 2001-08-18 Zack Weinberg <zackw@panix.com>
13242 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
13243 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
13244 Eliminate overfull or underfull hboxes.
13246 2001-08-18 Zack Weinberg <zackw@panix.com>
13248 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
13250 2001-08-18 Zack Weinberg <zackw@panix.com>
13252 * haifa-sched.c: Convert to target hooks. Macros replaced
13253 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
13254 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
13255 MD_SCHED_FINISH, and HAVE_cycle_display.
13256 * target-def.h (TARGET_SCHED_ADJUST_COST,
13257 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
13258 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
13259 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
13260 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
13261 New hook #defines to be overridden.
13262 (TARGET_SCHED): Bring them all together.
13263 (TARGET_INITIALIZER): Update.
13264 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
13265 instead of 'struct rtx_def *' throughout.
13266 (struct sched): New set of hooks for the scheduler.
13267 * Makefile.in (haifa-sched.o): Depend on target.h.
13268 * doc/tm.texi: Document the new scheduler hooks, together in
13269 their own section, instead of scattered around.
13270 Fix a bunch of underfull/overfull hboxes.
13272 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
13273 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
13274 sparc.h: Don't define any of the old scheduler macros.
13276 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
13277 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
13278 sparc.c: Create hook functions from code extracted from
13279 corresponding target header, or make existing hooks static, as
13280 appropriate. Set the appropriate entries in targetm.
13282 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
13283 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
13284 rs6000-protos.h, s390-protos.h, sparc-protos.h:
13285 Remove prototypes for functions which are now static.
13287 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
13288 related gunk; the Haifa scheduler is now the only choice.
13290 2001-08-18 Zack Weinberg <zackw@panix.com>
13292 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
13293 * genopinit.c: Put floating point divide insns in sdiv_optab.
13294 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
13295 * config/gofast.h, config/c4x/c4x.h,
13296 config/ia64/hpux_longdouble.h, config/mips/mips.h,
13297 config/pa/long_double.h, config/rs6000/sysv4.h,
13298 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
13299 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
13300 (init_optabs): Use init_optabv for overflow-trapping optabs.
13301 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
13302 cmp_optab RTX codes so have_insn_for can find them.
13304 * optabs.c (expand_simple_binop, expand_simple_unop,
13305 have_insn_for, gen_sub3_insn): New interfaces.
13306 * expr.h: Prototype new functions.
13307 (enum optab_methods): Move here from optabs.h.
13309 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
13310 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
13311 Use new functions instead of working directly with optabs.
13312 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
13313 unroll.c: Don't include optabs.h.
13314 * caller-save.c, combine.c, function.c, stmt.c: Just include
13315 insn-codes.h, not optabs.h.
13316 * Makefile.in: Update dependencies.
13318 * combine.c (make_compound_operation, simplify_comparison):
13319 Fix typos testing for this or that instruction.
13321 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13323 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
13324 generating libgcc.a.
13326 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13328 * except.c (TYPE_HASH): Delete.
13330 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
13333 * tree.c (TYPE_HASH): Delete.
13335 * tree.h (TYPE_HASH): Define.
13337 2001-08-18 Graham Stott <grahams@redhat.com>
13339 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
13341 (adddi3_internal_2+2): Likewise.
13342 (eh_set_lr_di+1): Likewise.
13344 2001-08-17 Richard Henderson <rth@redhat.com>
13346 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
13347 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
13348 * dwarf2asm.c: ... here.
13349 * dwarfout.c: Remove them.
13351 * varasm.c (assemble_integer): Add align parameter.
13352 (assemble_real, output_constant, output_constructor): Likewise.
13353 * output.h: Update decls.
13354 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
13355 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
13356 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
13357 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
13358 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
13359 Update all callers.
13361 * final.c (end_final): Abort profile block generation if we
13362 haven't layed it out properly.
13363 * output.h (assemble_eh_integer): Remove stale decl.
13364 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
13366 (assemble_integer): Handle unaligned data.
13367 (assemble_real): Abort on unaligned data.
13368 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
13370 (default_dtor_section_asm_out_destructor): Use assemble_align.
13371 (default_named_section_asm_out_constructor): Likewise.
13372 (default_ctor_section_asm_out_constructor): Likewise.
13373 * config/darwin.c (machopic_asm_out_constructor): Likewise.
13374 (machopic_asm_out_destructor): Likewise.
13375 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
13376 (nextstep_asm_out_destructor): Likewise.
13377 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
13378 (vms_asm_out_destructor): Likewise.
13380 2001-08-17 Richard Henderson <rth@redhat.com>
13382 * config/mips/iris6.h (TARGET_IRIX6): New.
13383 (current_section_name, current_section_flags): New.
13384 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
13385 (MAX_OFILE_ALIGNMENT): New.
13386 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
13387 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
13388 (copy_file_data): Split out from
13389 (mips_asm_file_end): ... here.
13390 (mips_asm_file_start): Remove extra .section directive. Use
13391 tmpfile instead of mips_make_temp_file.
13392 (mips_unique_section): Use const char * as needed for warnings.
13393 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
13394 re-add align parameter.
13395 (iris6_asm_named_section): New.
13396 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
13397 (iris6_asm_output_align, iris6_section_align_1): New.
13398 (iris6_asm_file_start, iris6_asm_file_end): New.
13399 * config/mips/mips-protos.h: Update decls.
13401 2001-08-17 Janis Johnson <janis187@us.ibm.com>
13403 * doc/install.texi (Install GCC): Add links to build status pages.
13405 (Final install): Ditto; request updates for specific info
13407 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
13409 * cpperror.c (print_location): Don't take a file name; use the
13411 (_cpp_begin_message): Similarly.
13412 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
13413 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
13414 (cpp_pedwarn_with_file_and_line): Remove.
13415 * cppfiles.c (stack_include_file): Update; set filename to stdin
13416 here when appropriate.
13417 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
13418 (_cpp_begin_message): Don't take a file name.
13419 * cppinit.c: Add comment.
13420 * cpplex.c: Fix end-of-directive indicator.
13421 * cpplib.c: Don't include intl.h.
13422 (run_directive, do_diagnostic): Update.
13423 (do_line): Update to not use nominal_fname.
13424 (cpp_push_buffer): Don't take a filename.
13425 * cpplib.h (struct ht): Remove.
13426 (cpp_push_buffer): Don't take a filename.
13427 (cpp_pedwarn_with_file_and_line): Remove.
13428 * cppmacro.c (struct cpp_macro): Remove file.
13429 (builtin_macro): Update.
13430 (_cpp_create_definition): Update.
13431 * cppmain.c: Correct comment.
13432 * fix-header.c (read_scan_file): Update.
13434 2001-08-17 Kazu Hirata <kazu@hxi.com>
13436 * sbitmap.c: Fix comment formatting.
13437 * sched-deps.c: Likewise.
13438 * sibcall.c: Likewise.
13439 * simplify-rtx.c: Likewise.
13441 * ssa-ccp.c: Likewise.
13442 * stor-layout.c: Likewise.
13443 * timevar.c: Likewise.
13444 * toplev.c: Likewise.
13445 * unwind-dw2.c: Likewise.
13446 * unwind-dw2-fde.c: Likewise.
13447 * varasm.c: Likewise.
13449 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
13451 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
13452 or larger than an integer in memory.
13454 2001-08-17 Zack Weinberg <zackw@panix.com>
13456 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
13457 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
13458 * rtl.h: Don't forward-declare union tree_node here. Don't
13459 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
13460 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13461 and tree respectively.
13462 * tree.h: Don't forward-declare struct rtx_def here. Don't
13463 typedef tree here. Change all uses of struct rtx_def *,
13464 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13465 and tree respectively.
13467 2001-08-17 Richard Henderson <rth@redhat.com>
13469 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
13470 config/mips/openbsd.h: Fix typos last change.
13472 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13474 * doc/invoke.texi (Optimize Options): The default for
13475 -finline-limit is 600.
13477 2001-08-17 Richard Henderson <rth@redhat.com>
13479 * varasm.c (text_section): Allow TEXT_SECTION to override the
13480 printing of TEXT_SECTION_ASM_OP.
13481 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
13482 (DATA_SECTION, BSS_SECTION): Remove.
13483 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
13484 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
13485 Rename from s/_NAME//.
13486 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
13487 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
13488 (TEXT_SECTION): ... here. New.
13489 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
13490 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
13491 * config/mips/openbsd.h: Likewise.
13492 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
13493 (mips_asm_file_end): Likewise test.
13494 (mips_output_function_epilogue): Likewise. Switch back to data
13495 section after emitting the function.
13497 * doc/tm.texi (Sections): Document TEXT_SECTION.
13499 2001-08-17 Richard Henderson <rth@redhat.com>
13501 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
13502 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
13504 2001-08-17 Richard Henderson <rth@redhat.com>
13506 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
13507 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
13508 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
13509 Add aligned attribute.
13511 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
13513 * config/sh/sh.md: Add modes to unspecs in first insn to match
13514 those in the second.
13516 * Makefile.in: Fix collect2 copy for Cygwin.
13518 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
13520 Install the proper patch.
13521 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13522 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13523 (expand_function_start): Likewise.
13524 * stmt.c (expand_decl): Likewise.
13525 * varasm.c (make_decl_rtx): Likewise.
13527 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13529 * final.c: Undo my previous accidental checkin.
13530 * output.h: Likewise.
13531 * tm.texi: Likewise.
13533 2001-08-16 Richard Henderson <rth@redhat.com>
13535 * varasm.c (named_section_flags): Remove align parameter.
13536 * varasm.c, dwarf2out.c: Update all callers.
13537 * output.h: Update prototypes.
13539 * target.h (target.asm_out.named_section): Remove align parameter.
13540 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
13541 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
13542 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
13543 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
13544 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
13546 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
13547 (get_named_section_flags, set_named_section_flags): New.
13548 (named_section_flags): Use them.
13549 (named_section): Do decl vs section flags check here...
13550 (default_section_type_flags): ... not here.
13551 (init_varasm_once): Create in_named_htab.
13552 (resolve_unique_section): Mark reloc unused.
13554 2001-08-16 Richard Henderson <rth@redhat.com>
13556 * varasm.c (force_const_mem): Keep pool alignment in bits.
13557 (output_constant_pool): Use assemble_align.
13559 2001-08-16 Zack Weinberg <zackw@panix.com>
13561 * doc/tm.texi: Remove extra @table command.
13563 2001-08-16 Zack Weinberg <zackw@panix.com>
13565 * final.c (shorten_branches): Clear the end of the label_align
13566 array only if we made it larger. Break up messy expressions
13569 * diagnostic.c (internal_error): Check for error recursion
13570 before doing ICE suppression.
13572 * timevar.c: Timing variables now count in milliseconds.
13573 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
13574 (get_time): Not here.
13575 (timevar_print): Don't print any timer whose user, cpu, and
13576 wall times are all zero as displayed.
13577 * timevar.h: Update comment aboout units. Make timevar
13580 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13582 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13583 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13584 (expand_function_start): Likewise.
13585 * stmt.c (expand_decl): Likewise.
13586 * varasm.c (make_decl_rtx): Likewise.
13588 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
13590 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
13591 (finalize_record_size): Don't set TYPE_USER_ALIGN.
13593 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13595 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
13598 2001-08-16 Andreas Jaeger <aj@suse.de>
13600 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
13603 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
13605 * rtl.h (only_sets_cc0_p): New prototype.
13606 * jump.c (sets_cc0_p): Handle INSN.
13607 (only_sets_cc0_p): New function.
13608 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
13609 (tidy_fallthru_edge): Likewise.
13610 * integrate.c (copy_insn_list): Likewise.
13611 * unroll.c (unroll_loop): Likewise.
13612 (copy_loop_body): Likewise.
13614 2001-08-15 Jason Eckhardt <jle@redhat.com>
13616 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
13618 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13620 * predict.c (struct block_info_def): Remove nvisited.
13621 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
13622 (estimate_bb_frequencies): Call mark_dfs_back_edges.
13624 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
13625 (ix86_adjust_cost): Teach scheduler that latency to load operand can
13628 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
13630 * predict.def: Update hitrates.
13632 2001-08-15 Richard Henderson <rth@redhat.com>
13634 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
13636 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
13638 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
13639 note from its associated jump.
13641 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
13643 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
13644 also on 64-bit s390x targets.
13646 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
13648 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
13650 (arm_expand_prologue): Handled nested functions which take a
13651 variable argument list.
13652 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
13653 macro with an invocation of
13654 arm_compute_initial_elimination_offset.
13655 * config/arm/arm-protos.h: Prototype
13656 arm_compute_initial_elimination_offset.
13658 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13660 * doc/install.texi (Specific, avr): Fix markup.
13661 (Specific, c4x): Ditto.
13663 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13665 * predict.c (dump_prediction): Change `bool' parameter to `int'.
13667 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
13669 * Makefile.in (OBJS): Add rtl-error.o
13670 (rtl-error.o): New rule.
13671 (diagnostic.o): Adjust dependency.
13672 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
13673 error_for_asm, _fatal_insn, _fatal_insn_not_found,
13674 warning_for_asm): Move to...
13675 rtl-error.c: ...here. New file.
13677 2001-08-14 Richard Henderson <rth@redhat.com>
13679 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
13680 if USING_SJLJ_EXCEPTIONS.
13682 2001-08-14 Steve Ellcey <sje@cup.hp.com>
13684 * tlink.c (scan_linker_output): Check string for unsatisfied in
13685 addition to undefined and unresolved.
13687 2001-08-14 Graham Stott <grahams@redhat.com>
13689 * libgcc2.c (*): Replace EH_FRAME_SECTION with
13690 EH_FRAME_SECTION_NAME.
13692 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
13694 * genattrtab.c (simplify_test_exp_in_temp): New function.
13695 (simplify_test_exp): Avoid explicit use of temporary obstack.
13696 (simplify_cond, insert_right_side, evaluate_eq_attr,
13697 simplify_and_tree, simplify_or_tree, eliminate_known_true):
13698 Use simplify_test_exp_in_temp.
13699 (optimize_attrs): Iterate until expression stabilizes.
13701 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
13703 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
13704 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
13706 2001-08-13 Richard Henderson <rth@redhat.com>
13708 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
13709 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
13710 * config/arm/conix-elf.h: Likewise.
13712 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13714 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
13716 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
13718 * gcse.c (hash_scan_set): Expressions that are set as part of
13719 jump instructions are not available.
13721 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
13723 * config/s390/s390.c (print_operand, s390_function_prologue,
13724 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
13726 2001-08-13 Richard Henderson <rth@redhat.com>
13728 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
13729 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
13730 * doc/tm.texi (Exception Region Output): Document it.
13732 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13734 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
13735 DWARF2 instead of stabs by default.
13737 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13739 * config/rs6000/rs6000.c: Include optabs.h.
13741 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13743 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
13744 save/restore routines.
13745 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
13747 2001-08-13 Andreas Jaeger <aj@suse.de>
13749 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
13750 the english is correct.
13752 2001-08-13 Zack Weinberg <zackw@panix.com>
13754 * expr.h: Split out optab- and libfunc-related code to...
13755 * optabs.h, libfuncs.h: ... these new headers.
13757 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
13759 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
13761 * mkconfig.sh: Don't include insn-codes.h from config.h.
13763 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
13764 enum insn_code is available. Move reload_in_optab and
13765 reload_out_optab array declarations to optabs.h.
13766 * regmove.c (gen_add3_insn): Move to optabs.c, export from
13767 there, prototype in expr.h.
13768 * gencodes.c: Cleanup: zap global variables, don't use
13769 printf where puts will do, don't bother defining MAX_INSN_CODE
13770 which nothing uses, let CODE_FOR_nothing get its value implicitly.
13772 * genemit.c, genopinit.c: Include optabs.h in generated file.
13773 * genoutput.c: Include insn-codes.h in generated file.
13774 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
13775 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
13776 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
13777 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
13778 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
13779 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
13781 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
13782 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
13783 config/m88k/m88k.c, config/sparc/sparc.c:
13784 Include libfuncs.h.
13785 * reload.c: Include expr.h and optabs.h before reload.h.
13786 * config/alpha/alpha.c: Include tree.h before reload.h.
13787 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
13788 and reload.h in that order.
13789 * config/sparc/sparc.c: Include debug.h.
13790 * recog.c: Include insn-codes.h.
13792 2001-08-13 Andreas Jaeger <aj@suse.de>
13794 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
13797 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
13799 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
13800 * gcc.c (init_spec): Fix typo in comment.
13801 * varasm.c (data_section): Fix typo in comment.
13803 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
13805 * predict.c (dump_prediction): New argument "USED".
13806 (combine_predictions_for_insn): Determine the used heuristics,
13807 output the case no heuristic applied.
13808 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
13810 2001-08-13 Andreas Jaeger <aj@suse.de>
13812 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
13815 2001-08-13 Kazu Hirata <kazu@hxi.com>
13817 * jump.c: Fix formatting.
13819 2001-08-13 Kazu Hirata <kazu@hxi.com>
13821 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
13824 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
13826 * loop.c (check_dbra_loop): Use condjump_label to compute
13829 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
13830 to better document the files they're in.
13832 2001-08-12 Zack Weinberg <zackw@panix.com>
13834 * recog.h (struct insn_operand_data): Shrink 'mode' field
13837 2001-08-12 Kazu Hirata <kazu@hxi.com>
13839 * gcc.c: Fix comment formatting.
13840 * gccspec.c: Likewise.
13841 * gcov.c: Likewise.
13842 * gcse.c: Likewise.
13843 * genemit.c: Likewise.
13844 * gengenrtl.c: Likewise.
13845 * genrecog.c: Likewise.
13846 * gensupport.c: Likewise.
13847 * ggc-page.c: Likewise.
13848 * global.c: Likewise.
13849 * graph.c: Likewise.
13850 * ifcvt.c: Likewise.
13851 * integrate.c: Likewise.
13853 * libgcc2.c: Likewise.
13854 * loop.c: Likewise.
13855 * mbchar.c: Likewise.
13856 * optabs.c: Likewise.
13857 * predict.c: Likewise.
13858 * prefix.c: Likewise.
13859 * profile.c: Likewise.
13860 * protoize.c: Likewise.
13861 * real.c: Likewise.
13862 * recog.c: Likewise.
13863 * regclass.c: Likewise.
13864 * regmove.c: Likewise.
13865 * reg-stack.c: Likewise.
13866 * reload1.c: Likewise.
13867 * resource.c: Likewise.
13868 * rtlanal.c: Likewise.
13871 2001-08-12 Kazu Hirata <kazu@hxi.com>
13873 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
13874 a tree representing a constant is passed to the macro.
13876 2001-08-12 Richard Henderson <rth@redhat.com>
13878 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
13879 (rs6000_elf_asm_out_destructor): New.
13880 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
13881 (DTORS_SECTION_ASM_OP): Remove.
13882 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
13883 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
13885 2001-08-12 David Edelsohn <edelsohn@gnu.org>
13888 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13889 * gcc.c (set_collect_gcc_options): New function, split out from
13891 Ignore elided switches.
13892 (do_spec_1): Invoke before executing command.
13893 (set_input): Export.
13894 Move declaration ...
13895 * gcc.h (set_input): ... here.
13896 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13899 2001-08-12 Richard Henderson <rth@redhat.com>
13901 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
13902 thinko wrt TARGET_RELOCATABLE.
13904 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
13906 * fix-header.c (cb_file_change): Update prototype.
13908 2001-08-11 Zack Weinberg <zackw@panix.com>
13910 * toplev.c (set_float_handler): Make static.
13911 * toplev.h: Don't prototype set_float_handler.
13913 * simplify-rtx.c: Don't include setjmp.h.
13914 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
13916 (simplify_unary_operation, simplify_binary_operation): Use them,
13917 via do_float_handler.
13919 * fold-const.c: Don't include setjmp.h.
13920 (exact_real_inverse_1): New function.
13921 (exact_real_inverse): Use it, via do_float_handler.
13923 * varasm.c: Don't include setjmp.h.
13924 (assemble_real_1): New function.
13925 (assemble_real): Use it, via do_float_handler.
13926 Call internal_error if we get a trap here.
13928 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
13929 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
13931 2001-08-11 Zack Weinberg <zackw@panix.com>
13933 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
13934 STACK_BOUNDARY if not already defined.
13936 * calls.c, function.c, reload1.c, explow.c: Don't default
13937 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
13938 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
13940 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
13943 * doc/tm.texi: Document that STACK_BOUNDARY is required;
13944 clarify difference between it and PREFERRED_STACK_BOUNDARY.
13946 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
13948 * cppmacro.c (enter_macro_context): Push macro expansions even
13951 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13953 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
13954 (rs6000_elf_section_type_flags): Actually return a value.
13956 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13958 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
13959 Clean up code: add missing comments and prototypes, fix warnings,
13960 remove obsolete code, fix spacing to conform to coding style.
13962 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13964 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
13965 and TARGET_ASM_CLOSE_PAREN.
13966 (regclass_map): CC register belongs to class NO_REGS.
13967 (legitimize_pic_address): Don't generate unnecessary moves
13968 (to avoid confusing loop optimization).
13969 (check_and_change_labels): Replace jump_long by indirect_jump.
13970 (s390_final_chunkify): Don't start a new literal pool on section
13971 switch in 64-bit code.
13972 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
13974 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
13975 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
13976 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
13978 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
13979 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
13980 (CONST_COSTS): Fixed incorrect costs.
13982 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
13983 Use emit_jump instead of emit_jump_insn (gen_jump).
13984 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
13985 (to avoid confusing flow analysis).
13986 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
13987 (casesi, casesi_jump): New.
13988 (jump_long): Removed. Functionality merged into indirect_jump.
13989 (indirect_jump): Accept address_operand, not just register_operand.
13990 (cjump_long, icjump_long): Use same logic as indirect_jump.
13991 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
13992 Fixed broken setjmp/longjmp handling.
13993 (do_builtin_setjmp_setup): Removed.
13995 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
13996 broken GNU as versions that don't accept .quad with large
13997 negative values. Use hexadecimal output instead.
13998 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
13999 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
14000 FUNCTION_EPILOGUE): Removed. Now in targetm.
14002 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
14004 * config/s390/fixdfdi.h: Add missing copyright statement.
14005 Fix type conflicts on 64-bit. Add missing SFmode routines.
14007 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
14010 2001-08-11 Richard Henderson <rth@redhat.com>
14012 * rtl.h (REG_EH_RETHROW): Remove.
14013 * rtl.c (reg_note_name): Update.
14014 * combine.c (distribute_notes): Don't check for it.
14016 2001-08-11 Richard Henderson <rth@redhat.com>
14018 * combine.c (distribute_notes): Place REG_SETJMP.
14020 2001-08-11 Richard Henderson <rth@redhat.com>
14022 * doc/extend.texi (Arrays and pointers implementation): Discourage
14023 relying on sign-extension of pointers.
14025 2001-08-11 H.J. Lu <hjl@gnu.org>
14027 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
14029 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
14030 RDATA_SECTION_ASM_OP.
14032 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14034 * doc/install.texi (Specific, c4x): Fix cross-reference to the
14035 main manual to work both for info and HTML versions.
14037 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
14038 Matt Kraai <kraai@alumni.carnegiemellon.edu>
14040 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
14041 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
14042 (struct cpp_pool): New member first.
14043 * cppinit.c (append_include_chain): Plug memory leaks.
14044 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
14045 Allocate pragma structures from the (aligned) macro pool to
14046 avoid leaking memory.
14047 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
14048 so we don't leak memory.
14049 * hashtable.c (ht_destroy): New.
14050 * hashtable.h (ht_destroy): New.
14052 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
14053 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14055 * c-lex.c (map): Make const.
14056 (cb_file_change): Update for callback passing a line map.
14057 Don't assume we have a previous map. Remove sanity check
14058 about popping too many files.
14059 * cpperror.c (print_location): Make map const.
14060 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
14061 (cpp_make_system_header): Similarly.
14062 (search_from): Similarly.
14063 (_cpp_execute_include): Don't remember where we came from.
14064 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
14065 (struct cpp_reader): Make map const.
14066 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
14067 * cpplib.c (do_line): Update; line maps now hold sysp.
14068 (cpp_push_buffer): Similarly.
14069 (_cpp_do_file_change): Similarly; callback with map instead.
14070 (cpp_get_line_maps): Constify return value.
14071 (_cpp_pop_buffer): Update.
14072 * cpplib.h (struct cpp_file_change): Remove.
14073 (struct cpp_callbacks): Update.
14074 (cpp_get_line_maps): Constify return value.
14075 * cppmacro.c (_cpp_create_definition): Update.
14076 * cppmain.c (struct printer): Constify map.
14077 (maybe_print_line): Similarly.
14078 (print_line): Similarly. Deduce flags 1 and 2 here.
14079 (cb_file_change): Update.
14080 * line-map.c (free_line_maps): Warn regardless.
14081 (add_line_map): Return pointer to const. When passed NULL to_file
14082 with LC_LEAVE, use the obvious values for the return point so the
14083 caller doesn't have to figure them out.
14084 (lookup_line): Return pointer to const.
14085 (print_containing_files): Take pointer to const.
14086 * line-map.h (struct line_map): New members reason, sysp.
14087 (add_line_map): Return pointer to const.
14088 (lookup_line): Similarly.
14089 (print_containing_files): Take pointer to const.
14091 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
14092 Richard Henderson <rth@redhat.com>
14094 * regmove.c (regmove_optimize): Avoid setting a register twice in
14097 2001-08-10 Richard Henderson <rth@redhat.com>
14099 * doc/extend.texi (Arrays and pointers implementation): Document
14100 behavior of pointer/integer conversion.
14102 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
14104 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
14106 2001-08-10 Richard Henderson <rth@redhat.com>
14108 * doc/extend.texi (C Implementation): New chapter.
14109 * doc/gcc.texi (Top): Link it in.
14111 2001-08-10 Andrew Cagney <ac131313@redhat.com>
14113 * doc/install.texi (Specific): Fix CVS merge botch.
14115 2001-08-10 Richard Henderson <rth@redhat.com>
14117 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
14118 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
14120 2001-08-10 Zack Weinberg <zackw@stanford.edu>
14122 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
14123 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
14124 this macro is now required.
14126 * cselib.c (cselib_process_insn), flow.c (propagate_block),
14127 loop.c (find_and_verify_loops), reload.c (reload): Check
14128 for rtx code of CALL_INSN, not CALL, when deciding if we
14129 need to check for REG_SETJMP note.
14131 * gcse.c (compute_hash_table, compute_store_table): Update
14132 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
14135 * config/avr/avr.c: Fix typo.
14136 * config/convex/convex.c (expand_movstr): Use adjust_address.
14137 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
14139 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
14140 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
14142 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
14143 Do define STACK_BOUNDARY.
14144 * config/i370/i370.c: Include expr.h.
14145 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
14146 config/pa/som.h, config/v850/v850.h: Take in_ctors and
14147 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
14148 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
14149 * config/m88k/m88k.c: Include c-tree.h after expr.h.
14150 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
14151 * config/romp/romp.c: Include expr.h after tree.h.
14153 (output_fpop): Use xmalloc, not oballoc.
14154 * config/we32k/we32k.c: Include expr.h.
14156 2001-08-10 Kazu Hirata <kazu@hxi.com>
14158 * config/h8300/h8300.h: Fix formatting.
14160 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
14162 * c-common.h (RETURN_NULLIFIED_P): Lose.
14163 * c-semantics.c (genrtl_return_stmt): Don't check it.
14165 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14167 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
14168 (mips_annotate_frame_insn): New function.
14169 (mips_emit_frame_related_store): New function.
14170 (save_restore_insns): Don't mark instructions that set up the base
14171 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
14172 the store instructions instead.
14173 (mips_expand_prologue): If the stack size is moved into a temporary
14174 register, do not mark that move as frame-related. Add a
14175 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
14177 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14179 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
14180 stack slot as unchanging if current_function_calls_eh_return.
14182 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14184 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
14185 access the second half of the TFmode scratch operand.
14187 2001-08-10 Anthony Green <green@redhat.com>
14189 * java/class.c (emit_register_classes): Conditionalize code on
14192 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14194 * doc/install.texi (Specific, avr): Fix cross-reference to the
14195 main manual to work both for info and HTML versions.
14197 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14199 * stmt.c (expand_null_return_1): Remove code to generate simple returns
14200 and "use_goto" argument.
14201 (expand_null_return, expand_value_return): Update all callers.
14202 * function.c (expand_function_end): Remove code to generate simple
14204 * config/vax/vax.md (epilogue): New expander for function return.
14205 * doc/md.texi (epilogue): Remove "if defined".
14207 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14209 * Makefile.in: Partially revert my previous change:
14210 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
14211 of the hashtab.o and safe-ctype.o rules.
14213 2001-08-09 Richard Henderson <rth@redhat.com>
14215 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
14216 (USE_COLLECT2): Remove duplicate definition.
14217 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
14218 (use_collect2): Remove dead code.
14219 * configure.in (use_collect2): Remove will_use_collect2 and
14220 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
14221 * configure: Rebuild.
14223 * target.h (targetm.asm_out.constructor): New.
14224 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
14225 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
14226 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
14227 * varasm.c (in_ctors, in_dtors): New.
14228 (assemble_constructor, assemble_destructor): Remove.
14229 (default_stabs_asm_out_destructor): New.
14230 (default_named_section_asm_out_destructor): New.
14231 (dtors_section, default_dtor_section_asm_out_destructor): New.
14232 (default_stabs_asm_out_constructor): New.
14233 (default_named_section_asm_out_constructor): New.
14234 (ctors_section, default_ctor_section_asm_out_constructor): New.
14235 * output.h: Update declarations.
14236 * c-decl.c (c_expand_body): Use target hooks instead of
14237 assemble_constructor and assemble_destructor.
14238 * profile.c (output_func_start_profiler): Likewise.
14239 * objc/objc-act.c (finish_objc): Likewise.
14240 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
14241 for the constructor.
14242 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
14244 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
14245 (DTORS_SECTION_ASM_OP): Likewise.
14246 (__CTOR_LIST__): Use attribute section when possible.
14247 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
14249 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
14250 ASM_OUTPUT_CONSTRUCTOR.
14252 * config/darwin.c (machopic_asm_out_constructor): New.
14253 (machopic_asm_out_destructor): New.
14254 * config/darwin-protos.h: Update declarations.
14255 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14256 (ASM_OUTPUT_DESTRUCTOR): Remove.
14257 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14258 * config/nextstep.c (nextstep_asm_out_constructor): New.
14259 (nextstep_asm_out_destructor): New.
14260 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14261 (ASM_OUTPUT_DESTRUCTOR): Remove.
14262 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14263 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
14264 ASM_OUTPUT_*STRUCTOR.
14265 * config/i386/aix386ng.h: Likewise.
14267 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
14268 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
14269 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14270 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14271 * config/lynx.h: Likewise.
14272 * config/netware.h: Likewise.
14273 * config/psos.h: Likewise.
14274 * config/alpha/alpha-interix.h: Likewise.
14275 * config/alpha/elf.h: Likewise.
14276 * config/arc/arc.h: Likewise.
14277 * config/arm/aof.h: Likewise.
14278 * config/arm/coff.h: Likewise.
14279 * config/arm/elf.h: Likewise.
14280 * config/c4x/c4x.h: Likewise.
14281 * config/h8300/h8300.h: Likewise.
14282 * config/i386/cygwin.h: Likewise.
14283 * config/i386/djgpp.h: Likewise.
14284 * config/i386/i386-coff.h: Likewise.
14285 * config/i386/i386-interix.h: Likewise.
14286 * config/i386/sco5.h: Likewise.
14287 * config/i386/vsta.h: Likewise.
14288 * config/i386/win32.h: Likewise.
14289 * config/i960/i960-coff.h: Likewise.
14290 * config/ia64/sysv4.h: Likewise.
14291 * config/m68hc11/m68hc11.h: Likewise.
14292 * config/m68k/coff.h: Likewise.
14293 * config/m68k/mot3300.h: Likewise.
14294 * config/m88k/m88k.h: Likewise.
14295 * config/mcore/mcore-pe.h: Likewise.
14296 * config/mcore/mcore.h: Likewise.
14297 * config/mips/elf.h: Likewise.
14298 * config/mips/elf64.h: Likewise.
14299 * config/mips/iris6.h: Likewise.
14300 * config/pa/pa64-hpux.h: Likewise.
14301 * config/rs6000/sysv4.h: Likewise.
14302 * config/sh/sh.h: Likewise.
14303 * config/sparc/litecoff.h: Likewise.
14305 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
14306 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14307 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14308 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14309 (ASM_OUTPUT_DESTRUCTOR): Remove.
14310 * config/a29k/a29k.c: Move include of tree.h.
14311 * config/a29k/udi.h: Delete file.
14312 * config/alpha/alpha.c (vms_asm_out_constructor): New.
14313 (vms_asm_out_destructor): New.
14314 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
14315 (EXTRA_SECTION_FUNCTIONS): Likewise.
14316 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14317 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14318 * config/c4x/c4x.c: Move include of tree.h.
14319 * config/clipper/clipper.c (clix_asm_out_constructor): New.
14320 (clix_asm_out_destructor): New.
14321 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14322 (ASM_OUTPUT_DESTRUCTOR): Remove.
14323 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14324 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14325 (TARGET_ASM_CONSTRUCTOR): New.
14326 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
14327 (sco_asm_out_constructor): New.
14328 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
14329 * config/i386/svr3gas.h: Remove stack grows up code.
14330 Remove code duplicated from i386/sysv3.h.
14331 (TARGET_ASM_CONSTRUCTOR): New.
14332 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14333 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
14334 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14335 (TARGET_ASM_CONSTRUCTOR): New.
14336 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
14337 (m68hc11_asm_out_destructor): New.
14338 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
14339 (TARGET_ASM_DESTRUCTOR): New.
14340 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
14341 * config/m68k/dpx2.h: Properly undef all the bits inherited from
14342 config/svr3.h pertaining to section manipulation.
14343 * config/m68k/dpx2g.h: Remove #if 0 code.
14344 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
14345 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
14346 (ASM_OUTPUT_CONSTRUCTOR): Remove.
14347 (TARGET_ASM_CONSTRUCTOR): New.
14348 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
14349 (m88k_svr3_asm_out_constructor): New.
14350 (m88k_svr3_asm_out_destructor): New.
14351 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14352 (ASM_OUTPUT_DESTRUCTOR): Remove.
14353 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14354 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
14355 * config/rs6000/aix.h: Likewise.
14356 * config/mips/rtems64.h: Don't undef removed constructor related bits.
14357 * config/mips/vxworks.h: Likewise.
14358 * config/rs6000/lynx.h: Likewise.
14359 * config/sh/elf.h: Likewise.
14360 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
14361 (DTORS_SECTION_ASM_OP): New.
14362 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14363 (ASM_OUTPUT_DESTRUCTOR): Remove.
14364 * config/sparc/sol2-sld-64.h: Likewise.
14365 * config/vax/vax.c (vms_asm_out_constructor): New.
14366 (vms_asm_out_destructor): New.
14367 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14368 (ASM_OUTPUT_DESTRUCTOR): Remove.
14369 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14371 * doc/tm.texi (@node Initialization): Update.
14373 2001-08-09 Richard Henderson <rth@redhat.com>
14375 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
14376 (__do_global_dtors_aux): Use gp-relative static data to avoid
14377 one dynamic relocation.
14378 (__do_frame_setup): Register Java classes.
14379 * config/alpha/crtend.asm (__JCR_END__): New.
14381 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14383 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
14384 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
14385 (GEN, STAGESTUFF): Add new files.
14386 (insn-constants.h, s-constants, tm-preds.h, s-preds,
14387 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
14388 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
14389 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
14390 as well as insn-codes.h and insn-flags.h in config.h; and no
14391 extra headers in tconfig.h and hconfig.h.
14393 * gencodes.c: Eliminate code to generate predicate declarations
14394 or #defines for md-file constants.
14395 * genconstants.c, genpreds.c: New files.
14397 * i386.md: Re-order guard expressions such that TARGET_64BIT
14398 comes first, when this permits better optimization. Add
14399 TARGET_64BIT to more x86-64 patterns. Add comment explaining
14400 why this is desirable.
14402 2001-08-09 Jakub Jelinek <jakub@redhat.com>
14404 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
14405 (find_fde_for_dso): Remove.
14406 (_Unwind_IteratePhdrCallback): New.
14407 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
14408 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
14410 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14412 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
14413 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
14415 2001-08-09 Graham Stott <grahams@redhat.com>
14417 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
14418 (vis_no_unit): Use it.
14419 (visualize_no_unit): Add the insn only if room exists.
14421 2001-08-09 Graham Stott <grahams@redhat.com>
14423 * predict.c (estimate_probability): Replace magic numbers with
14424 appropriate enumeration.
14426 2001-08-09 Graham Stott <grahams@redhat.com>
14428 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
14430 (EXTRACT_FLAGS): Likewise.
14432 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
14434 * config/mips/mips.c (mips_legitimate_address_p): Check for
14435 CONST_INT in last patch.
14437 2001-08-08 Anthony Green <green@redhat.com>
14439 * java/class.c (emit_register_classes): Use assemble_jcr if
14440 possible. Keep the original mechanism as a fallback.
14441 * defaults.h (JCR_SECTION_NAME): Define if we have named section
14442 and weak symbol support.
14443 * crtstuff.c (__JCR_LIST__): Define.
14444 (__JCR_END__): Define.
14445 (_Jv_RegiserClasses): Define weak symbol if possible.
14446 (__do_global_ctors_aux): Register classes for ELF targets with
14447 weak symbol support.
14449 2001-08-08 Kazu Hirata <kazu@hxi.com>
14451 * dbxout.c: Fix comment formatting.
14452 * dependence.c: Likewise.
14454 * diagnostic.c: Likewise.
14455 * dominance.c: Likewise.
14456 * doprint.c: Likewise.
14457 * dwarf2out.c: Likewise.
14458 * dwarfout.c: Likewise.
14459 * emit-rtl.c: Likewise.
14460 * except.c: Likewise.
14461 * explow.c: Likewise.
14462 * expmed.c: Likewise.
14463 * expr.c: Likewise.
14464 * flow.c: Likewise.
14465 * fold-const.c: Likewise.
14466 * function.c: Likewise.
14468 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14470 * global.c (retry_global_alloc): Avoid shadowing allocno.
14472 2001-08-08 Mark Mitchell <mark@codesourcery.com>
14474 * except.c (remove_fixup_regions): Fix typo.
14476 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
14478 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
14479 unsigned HOST_WIDE_INT to avoid warning.
14480 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
14481 * flow.c (set_block_for_new_insns): Likewise.
14483 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
14485 * sibcall.c (return_value_pseudo): New static variable.
14486 (skip_copy_to_return_value): Handle return_value_pseudo.
14487 (call_ends_block_p): Ensure that return_value_pseudo is set.
14488 (optimize_sibling_and_tail_recursive_call): Discover the
14489 load of pseudo return value in alternate exit block.
14491 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
14493 * calls.c (ECF_ALWAYS_RETURN): New constant.
14494 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
14495 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
14496 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
14497 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
14498 * rtl.c (reg_note_name): New name.
14499 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
14501 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
14503 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
14505 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
14507 * alias.c (get_alias_set): Return a previously calculated
14508 alias set for a VAR_DECL.
14509 * function.c (gen_mem_addressof): Calculate the alias set before
14512 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
14514 * predict.def: Set hitrates according our experimental run.
14516 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
14518 * i386.h (HARD_REGNO_RENAME_OK): New macro.
14520 2001-08-08 H.J. Lu <hjl@gnu.org>
14522 * config/mips/mips.c (mips_unique_section): New. Copied from
14525 * config/mips/mips-protos.h (mips_unique_section): New
14528 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
14530 * config/mips/little.h: New. Generic little endian mips
14531 targets. Only mips*-*-linux* is converted to use it so far.
14533 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
14534 (WCHAR_TYPE): Defined
14535 (WCHAR_TYPE_SIZE): Likewise.
14536 (INIT_SUBTARGET_OPTABS): Likewise.
14537 (BSS_SECTION_ASM_OP): Likewise.
14538 (SBSS_SECTION_ASM_OP): Likewise.
14539 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
14540 (ASM_DECLARE_OBJECT_NAME): Likewise.
14541 (UNIQUE_SECTION): Likewise.
14542 (EXTRA_SECTIONS): Likewise.
14543 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
14544 (ASM_OUTPUT_DESTRUCTOR): Likewise.
14545 (ASM_OUTPUT_DEF): Likewise.
14546 (HANDLE_SYSV_PRAGMA): Removed.
14547 (NO_IMPLICIT_EXTERN_C): Likewise.
14548 (TARGET_MEM_FUNCTIONS): Likewise.
14549 (STARTFILE_SPEC): Likewise.
14550 (ENDFILE_SPEC): Likewise.
14551 (LIB_SPEC): Likewise.
14552 (INVOKE__main): Likewise.
14553 (CTOR_LIST_BEGIN): Likewise.
14554 (CTOR_LIST_END): Likewise.
14555 (DTOR_LIST_BEGIN): Likewise.
14556 (DTOR_LIST_END): Likewise.
14557 (SET_ASM_OP): Likewise.
14558 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14559 (ASM_OUTPUT_DEF): Likewise.
14560 (ASM_OUTPUT_IDENT): Likewise.
14562 * config/mips/mips.h (ASM_SPEC): Undefine before define.
14563 (CPLUSPLUS_CPP_SPEC): Likewise.
14564 (ASM_APP_ON) Redefine only if not defined.
14565 (ASM_APP_OFF): Likewise.
14566 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14567 (ASM_OUTPUT_IDENT): Likewise.
14569 * config.gcc: Update tm_file for Linux/mips.
14571 2001-08-08 Bernd Schmidt <bernds@redhat.com>
14573 * cselib.c (cselib_record_sets): If insn is predicated, turn
14574 sources into IF_THEN_ELSEs.
14576 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
14577 Turn into define_insn_and_split.
14579 * sched-deps.c: Include "cselib.h".
14580 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
14581 Use cselib to turn memory addresses into VALUEs.
14582 (sched_analyze): Call cselib_init/cselib_finish if necessary.
14583 * sched-int.h (struct sched_info): New member USE_CSELIB.
14584 * sched-ebb.c (ebb_sched_info): Initialize it.
14585 * sched-rgn.c (rgn_sched_info): Likewise.
14586 * Makefile.in (sched-deps.o): Update dependencies.
14588 * cselib.h (cselib_subst_to_values): Declare.
14589 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
14590 that have no value and autoincs to be handled by generating a new
14593 2001-08-08 Graham Stott <grahams@redhat.com>
14595 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
14596 within fixed length SEQUENCE.
14598 2001-08-08 Graham Stott <grahams@redhat.com>
14600 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
14601 (diagnostic_prefixing_rule): Likewise.
14602 (diagnostic_line_cutoff): Likewise.
14603 (diagnostic_kind_count): Likewise.
14605 2001-08-08 Graham Stott <grahams@redhat.com>
14607 * alias.c (find_base_decl): Delete redundent assignment.
14609 2001-08-08 Graham Stott <grahams@redhat.com>
14611 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
14612 (abs): Uppercase and paranthesize macro parameter.
14613 (MEM_DEPENDENCY): Add whitespace.
14615 2001-08-08 Graham Stott <grahams@redhat.com>
14617 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
14618 failure check for CONST_INT
14620 2001-08-08 Graham Stott <grahams@redhat.com>
14622 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
14623 (libcall_dead_p): Likewise.
14625 (mark_used_regs): Constify fmt.
14626 (find_use_as_address): Likewise.
14628 2001-08-08 Graham Stott <grahams@redhat.com>
14630 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
14633 2001-08-08 Graham Stott <grahams@redhat.com>
14635 * combine.c (combine_simplify_rtx): Update comment and
14636 remove erroneous test.
14638 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14640 * cppinit.c (cpp_finish): Pop the final buffer without comment.
14641 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
14642 take care to avoid multiple no-newline at EOF warnings in that
14645 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
14647 * calls.c (expand_call): Do not emit INSN_SETJMP note.
14648 (emit_library_call_value_1): Likewise.
14649 (emit_call_1): Emit REG_SETJMP note.
14650 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
14652 * cselib.c (cselib_process_insn): Likewise.
14653 * flow.c (propagate_block): Likewise.
14654 * loop.c (find_and_verify_loops): Likewise.
14655 * reload.c (find_equiv_regs): Likewise.
14656 * reload1.c (reload): Likewise.
14657 * resource.c (mark_referenced_resources,
14658 mark_set_resources): Likewise.
14659 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
14660 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
14661 * haifa-sched.c (unlink_other_notes): Likewise.
14662 (reemit_notes): Likewise.
14663 * sched-ebb.c (sched_ebb): Likewise.
14664 * sched-rgc.c (sched_region): Likewise.
14665 * rtl.c (note_insn_name): Likewise.
14666 (reg_note_name): Add REG_SETJMP
14667 * rtl.h (reg_note): Add REG_SETJMP.
14668 (insn_note): Remove NOTE_INSN_SETJMP.
14670 * profile.c (branch_prob): Add fake edges for setjmp.
14672 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
14674 * config.gcc: Quote target_cpu_default2 correctly for
14675 powerpc*-*-* targets.
14677 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14679 * cpplib.h, line-map.h: Update comments.
14680 * cppmain.c (printer_init): Move inline.
14681 (maybe_print_line, print_line): Take a map pointer.
14682 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
14683 (cb_file_change): Don't use prior value of print.map.
14685 2001-08-07 David Edelsohn <edelsohn@gnu.org>
14687 * doc/install.texi: Document fine-grained multilib configuration.
14689 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
14691 * rtlanal.c (find_first_parameter_load): Call note_stores
14692 only on the instructions.
14694 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14696 * alias.c (nonlocal_mentioned_p):
14697 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
14698 * calls.c (emit_call_1): Likewise.
14699 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
14700 * cselib.c (cselib_process_insn): Likewise.
14701 * df.c (df_insns_modify): Likewise.
14702 * flow.c (need_fake_edge_p): Likewise.
14703 (propagate_one_insn): Likewise.
14704 * haifa-sched.c (reemit_notes): Likewise.
14705 * integrate.c (copy_insn_list): Likewise.
14706 * jump.c (delete_prior_computation): Likewise.
14707 * local-alloc.c (validate_equiv_mem): Likewise.
14708 * loop.c (scan_loop): Likewise.
14709 * predict.c (estimate_probability): Likewise.
14710 * reload.c (reload): Likewise.
14711 * sched-deps (sched_analyze): Likewise.
14712 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
14713 * gcse.c (compute_hash_table): Likewise.
14714 (mark_call): Likewise.
14715 (store_killed_in_insn): Likewise.
14717 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
14719 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
14721 2001-08-06 Richard Henderson <rth@redhat.com>
14723 * varasm.c (assemble_gc_entry): Remove.
14724 * output.h: Likewise.
14726 2001-08-06 Richard Henderson <rth@redhat.com>
14728 * varasm.c (assemble_constructor): Take a symbol_ref and a
14729 priority instead of a bare string. Move priority handling
14730 here from cp/decl2.c.
14731 * output.h: Update decls.
14733 * c-decl.c (c_expand_body): Update calls to assemble_constructor
14734 and assemble_destructor.
14735 * profile.c (output_func_start_profiler): Likewise.
14736 * objc/objc-act.c (finish_objc): Likewise.
14737 (build_module_descriptor): Return the symbol not the symbol name.
14739 2001-08-06 David Edelsohn <edelsohn@gnu.org>
14741 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
14742 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
14743 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
14744 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
14745 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
14746 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
14748 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14750 * cpperror.c (print_containing_files): Moved to line-map.c.
14751 (print_location): line-map.c handles re-listing or otherwise.
14752 * cpphash.h (struct lexer_state): Remove next_bol.
14753 (struct cpp_buffer): Remove include_stack_listed.
14754 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
14755 Remove faked buffer handling.
14756 (_cpp_do_file_change): Tweak.
14757 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
14758 * cppmain.c (struct printer): Remove filename.
14759 (print_line, cb_file_change): Update accordingly.
14760 * line-map.c: Include intl.h.
14761 (init_line_maps): Initialize last_listed.
14762 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
14763 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
14764 (print_containing_files): New.
14765 * line-map.h (struct line_maps): New member last_listed.
14766 (print_containing_files, INCLUDED_FROM): New.
14767 * Makefile.in: Update.
14768 * po/POTFILES.in: Add line-map.c.
14770 2001-08-06 Richard Henderson <rth@redhat.com>
14772 * except.c (convert_from_eh_region_ranges_1): Never mark
14773 USE or CLOBBER insns as throwing.
14775 * expr.c (store_constructor): Don't clobber memory targets.
14777 2001-08-06 Andreas Jaeger <aj@suse.de>
14779 * profile.c (branch_prob): Remove unused variable insn.
14781 * Makefile.in (local-alloc.o): Add dependency on except.h.
14783 * local-alloc.c: Include except.h for can_throw_internal prototype.
14785 2001-08-06 Richard Henderson <rth@redhat.com>
14787 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
14788 * function.c (expand_main_function): Implement it.
14789 * doc/tm.texi: Document it.
14791 2001-08-06 Stan Shebs <shebs@apple.com>
14793 * doc/install.texi: Document powerpc-*-darwin* details.
14795 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
14797 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
14798 (ASM_CPU_SPEC): Move back to rs6000.h
14799 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
14801 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
14803 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
14806 * config/rs6000/linux64.h: Ditto.
14808 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14809 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
14812 Remove accidently readded definitions of FUNCTION_PROLOGUE,
14813 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
14815 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14818 2001-08-05 Richard Henderson <rth@redhat.com>
14820 * local-alloc.c (update_equiv_regs): Do not move insns that
14823 2001-08-05 Jan Hubicka <jh@suse.cz>
14825 * Makefile.in (reload1.o): Add dedendancy on except.h
14826 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
14828 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
14829 indicating wehther edges has been cleaned up.
14830 * reload1.c: Inlucde except.h
14831 (fixup_abnormal_edges): Accept deleted insns.
14832 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
14835 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14837 * cpplib.c (do_line): Correct line number after pop_buffer.
14839 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14841 PR preprocessor/3824
14842 * line-map.c: Update comments.
14843 * line-map.h: Update comments.
14844 * tradcif.y: Don't consider large numbers unsigned.
14846 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14848 PR preprocessor/3081
14849 * c-lex.c (map): New.
14850 (cb_file_change): Update map and use it.
14851 (cb_def_pragma, cb_define, cb_undef): Use map and line.
14852 (c_lex): Update to use map.
14853 * cpperror.c (print_location): Move to using logical line numbers.
14854 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
14855 (cpp_make_system_header): Similarly.
14856 (_cpp_execute_include): Stop line numbering hacks. Store the
14857 line we will return to.
14858 * cpphash.h (CPP_BUF_LINE): Remove.
14859 (struct cpp_buffer): Remove lineno and pseudo_newlines.
14860 Add map and return_to_line.
14861 (_cpp_do_file_change): Update.
14862 * cppinit.c (cpp_start_read): Update line kludge.
14863 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
14864 (trigraph_ok): Use logical line numbers for diagnostics.
14865 (skip_block_comment): Likewise.
14866 (skip_whitespace): Likewise.
14867 (skip_line_comment): Use pfile->line instead.
14868 (_cpp_lex_token): Update to use logical line numbering exclusively.
14869 Handle BOL locally. Accept new lines in directives, but keep
14870 pfile->line decremented. Diagnostics use logical lines. Update
14871 directive handling.
14872 * cpplib.c (SEEN_EOL): New.
14873 (skip_rest_of_line, check_eol): Use it.
14874 (end_directive): Increase line number when accepting the newline
14875 at the end of a directive.
14876 (run_directive): Simplify.
14877 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
14878 (_cpp_do_file_change): Update to take buffer line number as an
14879 argument, and store the current map in the cpp_reader. Remove
14880 line number kludges.
14881 (_cpp_do__Pragma): Restore output position after a _Pragma.
14882 (cpp_push_buffer): Don't set output line or lineno.
14883 (_cpp_pop_buffer): Transfer more info from a faked buffer.
14884 Remove line kludge. Set output_line.
14885 * cppmacro.c (builtin_macro): Update handling of __LINE__.
14886 (parse_arg): Use logical lines.
14887 (save_lookahead_token): Save EOFs too now.
14888 * cppmain.c (struct printer): Fix comments.
14889 (printer_init): Simplify, let caller do errors.
14890 (scan_translation_unit, check_multiline_token, dump_macro): Update.
14891 (maybe_print_line): Simplify.
14892 (print_line): Don't print a linemarker if -P.
14893 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
14894 (cb_file_change): Simplify.
14895 * line-map.h (LAST_SOURCE_LINE): Fix.
14896 (CURRENT_LINE_MAP): New.
14898 2001-08-05 Bernd Schmidt <bernds@redhat.com>
14900 * doloop.c (doloop_modify_runtime): Properly compute number of
14901 iterations if loop was unrolled.
14903 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
14904 if their CSELIB_VAL_PTRs are.
14906 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
14907 (setup_spill_pointers): Initialize it.
14908 (spill_restore_mem): Set it.
14909 (do_spill, do_restore): Use it to add REG_INC note.
14910 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
14912 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
14913 asms if other insns are available.
14915 * config/ia64/ia64.c (condop_operator): New predicate.
14916 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
14917 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
14920 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
14921 temporary register than directly using a MEM.
14923 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14925 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
14926 parameter in last change.
14928 2001-08-04 Zack Weinberg <zackw@panix.com>
14930 * sparc.md: Don't use #if inside C test expression.
14932 2001-08-04 Richard Henderson <rth@redhat.com>
14934 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
14936 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
14938 * cpphash.h (struct cpp_reader): New member directive_line.
14939 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
14940 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
14941 do_pragma): Pass line to callbacks.
14942 (start_directive): Record line of directive.
14943 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
14944 cb_include): Similarly.
14945 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
14948 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14950 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
14953 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14955 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
14957 * reload1.c (fixup_abnormal_edges): New static function.
14960 * flow.c (need_fake_edge_p): New function.
14961 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
14962 avoid call insn to be very last insn in the insn stream.
14964 * profile.c (branch_prob): Call flow_call_edges_add instead of
14965 doing that by hand; cleanup cfg to re-merge basic blocks once
14968 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14970 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
14971 are also on line-map.h.
14972 * cppfiles.c (stack_include_file): Update.
14973 * cpphash.h (struct cpp_buffer): New member return_at_eof.
14974 (_cpp_pop_buffer): New.
14975 * cppinit.c (cpp_destroy, cpp_finish): Update.
14976 (do_includes): Mark each buffer to return at EOF.
14977 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
14978 return as requested.
14979 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
14980 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
14981 * cpplib.h (cpp_pop_buffer): Remove.
14982 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
14983 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
14985 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
14987 (do_preprocessing): Update.
14988 * fix-header.c (read_scan_file): Update. No need to pop buffers.
14989 * c-parse.in (_yylex): Similarly.
14990 * scan-decls.c (scan_decls): Similarly.
14991 * line-map.h: Update comments.
14993 * objc/Make-lang.in (objc-act.o): Update dependencies.
14995 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14997 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
14998 and soft register for operand 0.
14999 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
15001 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15003 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
15004 register for operand 0.
15005 ("bitcmpqi_z_used"): Allow memory for operand 0.
15006 (split "bitcmpqi"): New split to handle address reg as operand 1.
15008 2001-08-04 Andreas Jaeger <aj@suse.de>
15010 * gcse.c: Revert Daniel's last patch.
15012 2001-08-03 Zack Weinberg <zackw@stanford.edu>
15014 * sparc-protos.h: Add prototypes for fp_zero_operand and
15016 * sh-protos.h: Add prototype for fpul_operand.
15018 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
15020 * doc/extend.texi (Other Builtins): Fix typo in last change.
15022 2001-08-03 Richard Henderson <rth@redhat.com>
15024 * target.h (gcc_target): Add asm_out.named_section,
15025 section_type_flags, have_named_sections.
15026 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
15027 (TARGET_HAVE_NAMED_SECTIONS): New.
15028 (TARGET_SECTION_TYPE_FLAGS): New.
15030 * Makefile.in (toplev.o): Depend on TARGET_H.
15031 (varasm.o, dbxout.o): Likewise.
15032 * c-common.c (decl_attributes): Check targetm.have_named_sections
15033 instead of ifdef ASM_OUTPUT_SECTION_NAME.
15034 * dbxout.c (dbxout_function_decl): Likewise.
15035 (dbxout_function_end): Likewise.
15036 * toplev.c (compile_file): Likewise.
15037 * varasm.c (exception_section): Likewise.
15038 * cp/decl2.c (finish_objects): Likewise.
15040 * defaults.h (EH_FRAME_SECTION): Remove.
15041 (EH_FRAME_SECTION_ASM_OP): Remove.
15042 (EH_FRAME_SECTION_NAME): New.
15043 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
15044 (UNIQUE_SECTION_P): Remove.
15045 * dwarf2out.c (SECTION_FORMAT): Remove.
15046 (ASM_OUTPUT_SECTION): Remove.
15047 (output_call_frame_info): Use named_section_flags.
15048 (output_comp_unit, dwarf2out_start_source_file): Likewise.
15049 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
15050 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
15051 * varasm.c (in_eh_frame, eh_frame_section): Remove.
15052 (named_section_flags): New.
15053 (named_section): Use it and targetm.section_type_flags.
15054 (resolve_unique_section): New.
15055 (assemble_start_function): Use it.
15056 (asm_emit_uninitialised, assemble_variable): Likewise.
15057 (default_section_type_flags): New.
15058 (default_no_named_section, default_elf_asm_named_section): New.
15059 (default_coff_asm_named_section, default_pe_asm_named_section): New.
15060 * output.h: Update varasm.c decls.
15061 (SECTION_*): New flags.
15063 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
15064 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
15066 * config/elfos.h (UNIQUE_SECTION_P): Remove.
15067 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
15068 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
15069 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
15070 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
15071 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
15072 * config/mips/elf.h, config/mips/elf64.h: Likewise.
15073 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
15074 * config/pa/pa64-hpux.h,
15076 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
15077 (TARGET_ASM_NAMED_SECTION): New.
15078 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
15079 * config/alpha/vms.h, config/arm/coff.h: Likewise.
15080 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
15081 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
15082 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
15083 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
15084 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
15085 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
15086 * config/i386/sco5.h, config/i386/win32.h: Likewise.
15087 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
15088 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
15089 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
15090 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
15091 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
15092 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
15093 * config/sparc/sysv4.h: Likewise.
15095 * config/nextstep.h: Error until named sections implemented.
15097 * config/a29k/a29k.c (a29k_asm_named_section): New.
15098 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
15099 (vms_section_type_flags, vms_asm_named_section): New.
15100 * config/arm/arm.c (arm_elf_asm_named_section): New.
15101 * config/avr/avr.c (asm_output_section_name): Remove.
15102 * config/avr/avr-protos.h: Update.
15103 * config/c4x/c4x.c (c4x_asm_named_section): New.
15104 * config/h8300/h8300.c (h8300_asm_named_section): New.
15105 * config/i386/i386.c (sco_asm_named_section): New.
15106 * config/i386/winnt.c (SECTION_PE_SHARED): New.
15107 (i386_pe_section_type_flags): New.
15108 (i386_pe_asm_named_section): New.
15109 * config/i386/i386-protos.h: Update.
15110 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
15111 * config/mcore/mcore.c (mcore_asm_named_section): New.
15112 * config/mips/mips.c (iris6_asm_named_section): New.
15113 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
15114 instead of UNIQUE_SECTION_P.
15115 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
15116 (xcoff_asm_named_section): New.
15117 * config/sh/sh.c (sh_asm_named_section): New.
15118 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
15120 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
15121 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
15122 (EH_FRAME_SECTION_NAME): New.
15123 (EXCEPTION_SECTION): New.
15124 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
15125 (DEBUG_*_SECTION): Remove.
15126 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
15127 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
15128 (EH_FRAME_SECTION_ASM_OP): Remove.
15130 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
15131 (ASM_OUTPUT_SECTION_NAME): Remove.
15132 (TARGET_ASM_NAMED_SECTION): New.
15133 (TARGET_HAVE_NAMED_SECTIONS): New.
15134 (TARGET_SECTION_TYPE_FLAGS): New.
15135 (EH_FRAME_SECTION_ASM_OP): Remove.
15136 (EH_FRAME_SECTION_NAME): New.
15138 2001-08-03 Zack Weinberg <zackw@stanford.edu>
15140 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
15141 for complex expressions when cfun == 0.
15142 * doc/extend.texi: Document that __builtin_constant_p can be
15143 used in data initializers as well as functions.
15145 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
15147 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
15148 variable I locally, instead of expecting a declaration in the
15151 2001-08-03 Richard Henderson <rth@redhat.com>
15153 * except.c (collect_one_action_chain): Add an explicit cleanup
15154 action if regions surrounding a catch were encoded entirely
15155 within the call-site entry.
15157 2001-08-03 Richard Henderson <rth@redhat.com>
15159 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
15160 don't take REGNO of a non-register.
15162 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15164 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
15165 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
15166 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
15167 (__gthread_mutex_init_function): New function for mutex initialization.
15169 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15171 * Makefile.in: Revert screwed up commit.
15173 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15175 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
15176 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
15177 merged by linker script to get a final _exit().
15178 (__do_global_dtors): New for destructor handling in specific exit
15180 (__do_global_ctors): New for constructors in specific install section.
15181 (__map_data_section): Map data sections before running constructors.
15182 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
15183 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
15184 (DTORS_SECTION_ASM_OP): Likewise.
15185 (CTORS_SECTION_FUNCTION): Define to force a reference to
15187 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
15189 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15191 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
15193 * Makefile.in: Add df.h to gcse.c dependencies.
15195 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15197 * varasm.c (output_constant_def_contents): Use for the length of a
15198 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
15199 depending on which is larger.
15201 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15203 * gcse.c: Include df.h for use as a dataflow analyzer.
15205 Declaration of reg_set_info: gone.
15206 New df_analyzer variable used by store motion.
15207 (reg_set_info): Deleted.
15208 (mark_mem_regs): New function, analyze regs used by a mem.
15209 (store_ops_ok): Use dataflow analyzer results to determine if
15210 necessary regs are changed in the block.
15211 (find_moveable_store): Remove check for symbol ref, we can handle
15212 much more complex expressions now.
15213 (compute_store_table): Remove most of the code, it's unnecessary
15214 now that the dataflow analyzer records the info for us.
15215 (store_killed_after): Add parameter to say whether to do the
15216 store_ops_okay test, used to speed up testing when we already know
15217 the answer, and just want to know if the store itself was killed.
15218 (build_store_vector): Largely rewritten to calculate the various
15219 vectors properly, and somewhat optimized.
15220 (store_motion): Init the df_analyzer, get REG_DEF chains.
15221 Also handle trapping expressions (since mems almost always trap)
15222 (simple_mem): Redefine what a simple mem is.
15224 2001-08-03 DJ Delorie <dj@redhat.com>
15226 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
15227 set from a constant part of the condition.
15229 2001-08-01 Andrew Cagney <ac131313@redhat.com>
15231 * mkdeps.c (deps_add_default_target): Make local variable
15232 ``start'' a const char pointer.
15233 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
15235 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15237 * doc/install.texi (Configuration): Fix markup.
15238 (Specific, i?86-*-udk): Likewise.
15239 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
15241 Document --enable-threads and --enable-libgcj status.
15242 (Specific, mips-sgi-irix*): Canonicalize triples.
15243 (Specific, mips-sgi-irix5): Warn about problems with this config.
15244 Mention required GNU as patch.
15245 Native assembler problems are fixed.
15246 (Specific, mips-sgi-irix6): Update O32 ABI support status.
15247 Document --enable-threads and --enable-libgcj status.
15249 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15251 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
15254 2001-08-03 Richard Henderson <rth@redhat.com>
15256 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
15259 2001-08-03 Richard Henderson <rth@redhat.com>
15261 * rtlanal.c (find_first_parameter_load): Stop if we
15262 reach a CODE_LABEL at BOUNDARY.
15264 2001-08-03 Richard Henderson <rth@redhat.com>
15266 * config/alpha/alpha.md (force_movdi): New insn.
15267 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
15268 Tweek FRP marking of VMS prologue insns.
15269 * config/alpha/vms.h (EPILOGUE_USES): New.
15271 2001-08-02 Richard Henderson <rth@redhat.com>
15273 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
15275 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15277 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
15278 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
15279 config/convex/convex.h, config/d30v/d30v.c,
15280 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15281 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
15282 config/mips/mips.h, config/mn10200/mn10200.h,
15283 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
15284 config/v850/v850.h, config/vax/openbsd.h,
15285 config/vax/openbsd1.h, config/vax/ultrix.h,
15286 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
15287 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
15288 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
15289 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
15290 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
15291 in comments and documentation.
15293 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15297 * Makefile.in (line-map.o): New.
15298 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
15299 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
15300 * cpperror.c (print_containing_files): Similarly.
15301 (print_location): Update. Don't output a space before _Pragma.
15302 * cppfiles.c (stack_include_file): Set to line 1 immediately.
15303 (stack_include_filee, cpp_make_system_header): Update.
15304 (_cpp_execute_include): Get logical line number right for calling
15305 as-yet-unterminated #include.
15306 * cpphash.h (struct cpp_reader): Add line_maps.
15307 (_cpp_do_file_change): Update.
15308 * cppinit.c (cpp_create_reader): Initialize line maps.
15309 (cpp_destroy): Destroy line maps.
15310 (cpp_start_read): Get logical line number right.
15311 * cpplex.c (parse_string): Only warn once for multi-line strings.
15312 Use boolean variable for null warning.
15313 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
15315 (do_include_common): End the directive early.
15316 (do_line): Don't warn about out-of-range lines in preprocessed
15317 source. Update. Remove unused variables.
15318 (_cpp_do_file_change): Update for new line mapping.
15319 (pragma_cb): New typedef.
15320 (cpp_register_pragma): Stop looking ahead before calling the
15322 (do_pragma_system_header): End directive early.
15323 (cpp_get_line_maps): New.
15324 (cpp_pop_buffer): Fudge logical line. Update.
15325 * cpplib.h: Include line-map.h
15326 (enum cpp_fc_reason): Remove.
15327 (struct cpp_file_change): Update.
15328 (cpp_get_line_maps): New.
15329 * cppmain.c (struct_printer): New member map.
15330 (cb_file_change): Update for new mappings.
15331 * fix-header.c (cb_file_change): Similarly.
15333 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15335 * Makefile.in (libgcc.mk): Define mkinstalldirs.
15336 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
15338 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15340 * config/vax/vax.c: include expr.h.
15342 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15344 * Makefile.in ($(srcdir)/configure): Only rebuild in
15346 ($(srcdir)/config.in): Only define in maintainer mode.
15347 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
15349 2001-08-02 David Edelsohn <edelsohn@gnu.org>
15351 * doc/install.texi (Install GCC: Binaries): Update Bull info.
15353 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15355 * gcc.c (set_collect_gcc_options): New function, split out from
15357 Ignore elided switches.
15358 (do_spec_1): Invoke before executing command.
15359 (set_input): Export.
15360 Move declaration ...
15361 * gcc.h (set_input): ... here.
15362 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
15365 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
15368 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
15370 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
15372 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
15374 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
15375 for the unnamed instructions it expands to.
15377 2001-08-02 Richard Henderson <rth@redhat.com>
15379 * regclass.c (call_really_used_regs): Conditionally define.
15380 (init_reg_sets_1): Don't use it if not defined.
15381 (fix_register): Similarly, don't set it.
15383 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15385 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
15386 Correct comment that had been missed in the previous change.
15388 2001-08-01 Stan Shebs <shebs@apple.com>
15390 * config/darwin.c (machopic_stub_name): Try matching by name.
15391 (update_stubs): New function.
15392 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
15395 2001-08-01 Richard Henderson <rth@redhat.com>
15397 * except.c (output_function_exception_table): Use assemble_align.
15398 * varasm.c (assemble_eh_label): Remove.
15399 (assemble_eh_align, assemble_eh_integer): Remove.
15401 2001-08-01 Robert Lipe <robertl@caldera.com>
15403 * dwarfout.c: Remove reference to README.DWARF.
15405 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
15407 * regclass.c (call_really_used_regs): New array for registers which
15408 are actually used by a call.
15409 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
15411 (fix_register): Set call_really_used too.
15412 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
15413 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
15415 2001-08-01 Richard Henderson <rth@redhat.com>
15417 * read-rtl.c (read_name): Consider \r whitespace.
15419 2001-07-11 Andrew Cagney <ac131313@redhat.com>
15421 * config.gcc: Recognize powerpc-*-netbsd*.
15423 * doc/install.texi (Host/target specific installation notes for
15424 GCC): Mention powerpc-*-netbsd*.
15426 * config/rs6000/netbsd.h: New file.
15427 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
15428 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
15429 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
15430 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
15431 (TARGET_VERSION): Redefine.
15433 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
15434 mcall-netbsd as a match for mcall-sysv.
15435 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
15436 (ncrti.S, ncrtn.S): New targets.
15437 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
15439 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
15440 "netbsd' as a V4 ABI.
15441 (ASM_SPEC): Check for -mcall-netbsd.
15442 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
15443 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
15444 (LIB_SPEC, ENDFILE_SPEC): Ditto.
15445 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
15446 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
15447 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
15448 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
15450 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
15451 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
15453 2001-08-01 Mark Kettenis <kettenis@gnu.org>
15455 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
15456 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
15457 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
15458 including "unwind-pe.h".
15460 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
15462 * rs6000.md (define_splits): Kill unused constraints.
15464 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
15465 Jan Hubicka <jh@suse.cz>
15467 * function.c (thread_prologue_and_epilogue_insns): Kill code
15468 dealing with non-existent CFG.
15470 2001-08-01 Kazu Hirata <kazu@hxi.com>
15472 * alias.c: Fix comment formatting.
15473 * bitmap.c: Likewise.
15474 * builtins.c: Likewise.
15475 * calls.c: Likewise.
15476 * c-common.c: Likewise.
15477 * c-decl.c: Likewise.
15478 * c-dump.c: Likewise.
15479 * c-lex.c: Likewise.
15480 * collect2.c: Likewise.
15481 * combine.c: Likewise.
15482 * conflict.c: Likewise.
15483 * cppfiles.c: Likewise.
15484 * cppinit.c: Likewise.
15485 * cpplex.c: Likewise.
15486 * cpplib.c: Likewise.
15487 * cppmacro.c: Likewise.
15488 * cppspec.c: Likewise.
15489 * c-pragma.c: Likewise.
15490 * crtstuff.c: Likewise.
15492 * cselib.c: Likewise.
15493 * c-semantics.c: Likewise.
15494 * c-typeck.c: Likewise.
15496 2001-08-01 H.J. Lu <hjl@gnu.org>
15498 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
15500 2001-08-01 H.J. Lu <hjl@gnu.org>
15502 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
15504 2001-08-01 Ziemowit Laski <zlaski@apple.com>
15506 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
15507 contextualizing Objective-C class name lookup by the lexer.
15508 (typespec_reserved_nonattr): Disable ObjC class name lookup after
15510 (protocoldef): Add support for forward @protocol declarations.
15511 (yylexname): Suppress ObjC class name lookup in certain contexts;
15512 re-enable after lookup is complete.
15513 (_yylex): Re-enable ObjC class name lookup when certain
15514 punctuation marks are seen.
15516 * objc/objc-act.c (check_protocol_recursively): New function used
15517 for finding circular dependencies in protocols.
15518 (objc_declare_protocols): New function for handling forward
15519 @protocol declarations.
15520 (receiver_is_class_object): Detect the case when 'self' is used
15521 inside of a class method.
15522 (build_message_expr): Issue a warning if class method is desired
15523 but instance method is found instead.
15524 (conforms_to_protocol): Streamline.
15525 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
15526 protocol Foo, even if 'Bar foo' does not.
15527 (check_protocols): Streamline.
15528 (start_protocol): Add checks for circular and duplicate protocol
15530 (encode_aggregate_within): For typedefs of structs, encode the
15532 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
15533 (objc_declare_protocols): New prototype.
15535 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15537 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
15538 * cpplex.c (handle_newline): Update prototype. Maintain logical
15540 (skip_escaped_newlines, skip_block_comment, parse_string):
15541 Update accordingly.
15542 (_cpp_lex_token): Update, and store token position within the token.
15543 * cpplib.h (struct cpp_token): Add line and column entries.
15544 * cppmacro.c (replace_args): Position stringified tokens correctly.
15546 2001-08-01 Andreas Jaeger <aj@suse.de>
15548 * basic-block.h: Add prototype for last_loop_beg_note.
15550 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
15552 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
15553 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
15555 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
15556 while handling WITH_CLEANUP_EXPR node. Use second operand calling
15557 expand_decl_cleanup.
15558 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
15560 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
15561 operand while calling simple_cst_equal.
15562 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
15563 operand is the cleanup expression, the third is the RTL_EXPR.
15564 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
15566 2001-07-31 Jeff Sturm <jsturm@one-point.com>
15568 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
15570 2001-07-31 matthew green <mrg@eterna.com.au>
15572 * config.gcc (i386-*-netbsdelf): New description.
15573 * config/i386/netbsd-elf.h: New file.
15575 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
15577 * loop.c (check_dbra_loop): Use single_set to compute
15580 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
15582 PowerPC reorg and support for powerpc64-*-linux*.
15584 Also fixes emitting of constants on 32 bit and 64 bit
15587 * config.gcc: powerpc64-*-linux* is a new target.
15588 Things that needed aix.h now also include xcoff.h
15590 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
15592 Move AIX specific stuff into aix.h.
15593 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
15594 with more than just XCOFF now.
15595 (SET_ASM_OP): Remove, now defined where needed.
15596 (FUNCTION_PROLOGUE): New macro definition.
15597 (FUNCTION_EPILOGUE): New macro definition.
15598 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
15600 * config/rs6000/xcoff.h: New file.
15602 * config/rs6000/linux64.h: New file.
15604 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
15606 2001-07-31 Alan Modra <amodra@bigpond.net.au>
15608 * rs6000.c (print_operand_address): Handle ELF syntax.
15609 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
15610 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
15611 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
15613 2001-07-31 David Edelsohn <edelsohn@gnu.org>
15615 * rs6000.c (rs6000_override_options): Only disable
15616 flag_function_sections for XCOFF.
15617 (exact_log2_cint_operand): New predicate.
15618 (reg_or_{add,sub}_cint64_operand): New predicates.
15619 (add_operand): Compare CONST_INT with fewer function calls.
15620 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
15621 (print_operand, case 'p'): Ensure positive operand.
15622 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
15623 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
15624 (PREDICATE_CODES): Add new predicates.
15625 * rs6000.md (addsi3): Split 32-bit constants more correctly.
15626 (divsi3, modsi3): Ensure positive power-of-2.
15627 (adddi3): Use new predicate. Split 32-bit constants more
15628 correctly. Re-arrange splitter to handle any constant.
15629 (subdi3): Use new predicate.
15630 (divdi3, moddi3): Ensure positive power-of-2.
15631 (movdi): Use rs6000_emit_set_const.
15632 (load_toc_v4_pic_di): Delete.
15634 2001-07-31 Graham Stott <grahams@redhat.com>
15636 * function.c (pad_below): Revert 2001-07-26 patch.
15638 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15640 * reg-stack (convert_regs_1): Fix best edge condition.
15642 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
15644 * jump.c (duplicate_loop_exit_test): Better test for jumps
15645 entering the loop; create loop pre_header.
15647 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
15649 * doc/install.texi: Add s390 and s390x as new targets.
15650 * doc/invoke.texi: Add documentation of S/390 and zSeries
15652 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
15654 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15656 * config/m68k/m68k.md: Replace all general_operand with
15657 nonimmediate_operand for all destinations.
15658 * config/m68k/m68k.c (not_sp_operand): Likewise.
15660 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
15662 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
15664 2001-07-30 Richard Henderson <rth@redhat.com>
15666 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
15667 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
15669 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15671 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
15672 Add missing doc strings
15673 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
15674 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
15676 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
15678 * i386.c (ix86_output_main_function_alignment_hack): New function.
15679 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
15681 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
15682 edges by EDGE_DFS_BACK flag.
15683 (dump_edge_info): Add dfs_back flag.
15684 * basic-block.h (EDGE_DFS_BACK): New constant.
15685 (mark_dfs_back_edges): Declare.
15686 * alias.c (loop_p): Remove.
15687 (mark_constant_function): Use mark_dfs_back_edges.
15689 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
15690 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
15691 (compensate_edge): Break out from ...
15692 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
15693 (convert_regs_2): Set block_done once block is really done;
15694 Do updating of the predecessors counts.
15696 * toplev.c (rest_of_compilation): Recompute block_for_insn
15697 before post-reload cfg_cleanup.
15698 * function.c (thread_prologue_epilogue_insns):
15699 Call set_block_for_new_insns when emitting prologue directly.
15701 2001-07-30 Andreas Jaeger <aj@suse.de>
15703 * jump.c: Add prototype for mark_modified_reg.
15705 * cse.c (set_live_p): Add unused attribute.
15707 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
15709 (scan_for_source_files): Use long for count to avoid overflow.
15710 (output_data): Likewise.
15711 (output_data): Don't use string concatatenation to silence gcc
15714 * predict.c: Fix typos and grammar.
15716 * gcse.c (insert_insn_end_bb): Remove unused variables.
15718 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
15720 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
15721 (attempt_auto_inc): LIkewise.
15722 (mark_used_reg): Likewise.
15723 (try_pre_increment_1): Likewise.
15724 * regclass.c (regclass): Likewise.
15725 * global.c (allocno_compare): Update comment; change scaling factor.
15726 * local-alloc.c (QTY_CMP_PRI): Likewise.
15727 * regs.h (REG_FREQ_FROM_BB): New.
15728 (REG_FREQ_MAX): Likewise.
15730 2001-07-30 H.J. Lu <hjl@gnu.org>
15732 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
15735 2001-07-30 H.J. Lu (hjl@gnu.org)
15737 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
15738 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15739 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
15741 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
15743 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
15744 as -mthumb-interwork when -mcpu=arm7 is specified.
15746 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
15748 * predict.def (noreturn, loop branch, loop exit): Mark as first
15751 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
15753 * combine.c (try_combine): Avoid barrier after noop jumps.
15755 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15757 * cpphash.h (struct cpp_reader): Remove import_warning.
15758 * cpplib.c (skip_rest_of_line): Don't bother turning off
15760 (parse_include): Move include handling to...
15761 (do_include_common): ... here. Move import warning from...
15762 (do_import): ... here.
15763 (do_pragma_poison): Don't do a callback for poison identifiers.
15764 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
15765 * cppmain.c (setup_callbacks): Similarly.
15767 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
15769 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
15770 handle multiple sets.
15771 * except.c (sjlj_mark_call_sites): .... here.
15772 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
15774 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
15776 Suggested by Richard Henderson and Richard Kenner:
15777 * combine.c (recog_for_combine): Use the fake recog
15778 only if instruction does not match.
15779 * rtl.h (NOOP_MOVE_INSN_CODE): New.
15780 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
15782 * combine.c (try_combine): Discover noop jump as direct jump.
15784 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
15786 * df.c (df_rd_global_compute): Add successors to worklist, not
15788 (df_ru_global_compute): Ditto.
15790 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
15792 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
15793 increment REG_N_SETS.
15795 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
15797 * sbitmap.h: New prototype for sbitmap_a_xor_b.
15799 * sbitmap.c (sbitmap_a_xor_b): New function.
15800 ifdef the basic block stuff on IN_GCC.
15802 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15804 * cppexp.c (parse_defined): Always record the macro name.
15805 (lex): Don't worry about identifiers, or special-case
15807 (_cpp_parse_expr): Figure out at the end of the routine
15808 whether we saw a valid !defined() expression.
15809 * cppfiles.c (stack_include_file): Update for mi_valid.
15810 (_cpp_pop_file_buffer): Similarly.
15811 * cpplex.c (_cpp_lex_token): Similarly.
15812 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
15813 mi_if_not_defined, mi_lexed): Remove.
15815 * cpplib.c (do_if): Simplify.
15816 (do_endif, push_conditional, _cpp_handle_directive): Update
15817 for renaming of mi_state to mi_valid.
15819 * cpp.texi: Add index entries for digraphs, and add comment
15820 that C++ refers to them as alternative tokens.
15822 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
15824 * basic-block.h (CLEANUP_PRE_LOOP): New.
15825 * except.c (finish_eh_generation): Update call of cleanup_cfg.
15826 * sibcall.c (optimize_sibling_calls): Likewise.
15827 * toplev.c (rest_of_compilation): Likewise.
15828 * flow.c (try_forward_edges): Take argument MODE;
15829 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
15830 (try_optimize_cfg): Update call of try_forward_edges.
15832 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
15833 Jan Hubicka <jh@suse.cz>
15835 * (validate_replace_rtx_1): Fix simplification of MINUS.
15837 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
15839 PR preprocessor/3669
15840 * cppinit.c (init_dependency_output): Turn off dump requests
15841 if sending dependencies to stdout.
15843 2001-07-28 Richard Henderson <rth@redhat.com>
15845 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
15848 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
15850 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
15852 2001-07-28 Kazu Hirata <kazu@hxi.com>
15854 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
15855 is VAR_DECL first to prevent an ICE.
15857 2001-07-28 Richard Henderson <rth@redhat.com>
15859 * varasm.c (immed_real_const_1): Don't elide special cases for
15861 (clear_const_double_mem): Clear const_tiny_rtx too.
15863 2001-07-28 Richard Henderson <rth@redhat.com>
15865 * dwarf2out.c (dw_val_class_offset): New.
15866 (struct dw_ranges_struct, dw_ranges_ref): New.
15867 (ranges_table, ranges_table_allocated): New.
15868 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
15869 (add_AT_offset, add_ranges, output_ranges): New.
15870 (print_die, output_die): Handle dw_val_class_offset.
15871 (attr_checksum, size_of_die, value_format): Likewise.
15872 (gen_lexical_block_die): Handle non-contiguous blocks.
15873 (gen_block_die): Likewise.
15874 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
15875 if needed. Dump the ranges table.
15876 * final.c (final_start_function): Remove unnecessary notes and
15877 rebuild the block tree before numbering the blocks.
15878 * function.c (reorder_blocks_0): Walk the existing block tree
15879 to unmark all blocks.
15880 (reorder_blocks_1): Create block fragments when duplicate block
15882 (reorder_fix_fragments): New.
15883 (reorder_blocks): Call it.
15884 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
15886 2001-07-28 Richard Henderson <rth@redhat.com>
15888 * emit-rtl.c (adjust_address): Make a copy of the memory address.
15890 2001-07-28 Richard Henderson <rth@redhat.com>
15892 * flow.c (add_to_mem_set_list): New function.
15893 (init_propagate_block_info): Use it.
15894 (mark_set_1): Likewise.
15895 (insn_dead_p): Canonicalize memory address for dead store
15896 comparison. Allow wider mode stores to kill narrower mode stores.
15897 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
15898 (invalidate_mems_from_set): Don't handle MEMs.
15900 2001-07-28 Kazu Hirata <kazu@hxi.com>
15902 * config/h8300/h8300.h: Fix formatting.
15904 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15906 * basic-block.h (EDGE_FREQUENCY): New macro.
15907 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
15909 * flow.c (find_sub_basic_blocks): Likewise.
15910 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
15911 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
15913 * predict.c (DEF_PREDICTOR): New argument FLAGS.
15914 (HITRATE): New macro.
15915 (PRED_FLAG_FIRST_MATCH): New constant.
15916 (predictor_info): New field flgags.
15917 (combine_predictions_for_insn): Use DS theory to combine
15918 probabilities; set the edge probabilities when finished.
15919 (estimate_probability): Avoid duplicated matches
15920 of LOOP_BRANCH heuristics for nested loops; update comment.
15921 * predict.def: Add flags for each prediction, set probabilities
15922 according to B&L paper.
15923 * predict.h (DEF_PREDICTOR): New argument FLAGS.
15925 * profile.c (compute_branch_probabilities): Cleanup way the edge
15926 probabilities are computed and REG_BR_PROB notes are dropped; if
15927 values does not match, emit error.
15928 (init_branch_prob): Do error instead of warning when profile driven
15929 feedback is missing or corrupt.
15931 2001-07-27 DJ Delorie <dj@redhat.com>
15933 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
15934 against a constant, try to adjust the compare to have the desired
15935 constant in it so that min/max optimizations happen more often.
15937 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15939 * flow.c (last_loop_beg_note): New function.
15940 (redirect_edge_and_branch): Use it.
15941 (split_edge): Likewise.
15943 * alias.c (loop_p): Avoid uninitialized memory access.
15945 * flow.c (try_forward_edges): Avoid accessing freed memory.
15947 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
15950 2001-07-26 Andrew Haley <aph@redhat.com>
15951 Joern Rennecke <amylaar@redhat.com>
15953 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
15954 (SUBTARGET_CPP_ENDIAN_SPEC): New.
15955 (SUBTARGET_CPP_SPEC): New.
15956 (CPP_SPEC): Remove.
15957 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
15958 (SUBTARGET_CPP_PTR_SPEC): New.
15959 (CPP_DEFAULT_CPU_SPEC): New.
15960 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
15961 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15962 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
15963 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15964 (SUBTARGET_CPP_SPEC): Define as an empty string.
15966 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15968 * doc/install.texi (Configuration): Properly link the host
15969 specific instructions also when generating HTML.
15971 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
15973 * flow.c (redirect_edge_and_branch_force): Test
15974 target->global_live_at_start.
15976 2001-07-26 Richard Henderson <rth@redhat.com>
15978 * simplify-rtx.c (avoid_constant_pool_reference): Export.
15979 * rtl.h (avoid_constant_pool_reference): Declare it.
15980 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
15981 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
15983 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15985 * rtl.h (cleanup_barriers): Declare.
15986 * jump.c (cleanup_barriers): New function.
15987 * toplev.c (rest_of_compilation): Call cleanup_barriers
15988 before loop optimizer and after bb_reorder.
15990 * flow.c (back_edge_of_syntactic_loop_p): New.
15991 (split_edge): Use it.
15993 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15995 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
15997 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
15999 * cse.c (cse_process_notes): Replace any registers if the address
16002 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
16004 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
16005 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
16006 (propagate_block): Update prototype.
16007 * flow.c (update_life_info): Simplify the CFG and
16008 recalculate the global regs which are alive when
16009 removing dead code during a global update.
16010 (propagate_block): Return non-zero if an INSN is
16013 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16015 * Makefile.in (LIBICONV): Define.
16017 2001-07-26 Catherine Moore <clm@redhat.com>
16019 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
16020 of conditional to avoid tree checking errors.
16022 2001-07-26 Kazu Hirata <kazu@hxi.com>
16024 * regmove.c (regmove_optimize): Don't replace a reg with
16025 another reg of a different mode.
16027 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
16029 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
16030 limit length of dependency flush list.
16031 * params.h (MAX_PENDING_LIST_LENGTH): Define.
16032 * sched-int.h (struct deps): Add pending_flush_length field.
16033 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
16034 has 1 element in it.
16035 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
16036 (sched_analyze): After a jump, if the pending memory flush list is too
16037 large, flush the pending lists.
16038 (init_deps): Initialize pending_flush_length to 0.
16039 * doc/invoke.texi (max_pending_list_length): Document parameter.
16041 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
16043 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
16044 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
16045 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
16047 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16049 * cpphash.h (struct_lexer_state): Delete was_skipping.
16050 Move skipping here from struct cpp_reader.
16051 * cpplex.c (parse_identifier): Update.
16052 (_cpp_lex_token): Don't skip tokens in a directive.
16053 * cpplib.c (struct if_stack): Update.
16054 (start_directive, end_directive): Don't change skipping state.
16055 (_cpp_handle_directive): Update.
16056 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
16057 (do_else, do_endif): Update; only check for excess tokens if not
16058 in a skipped conditional block.
16059 (push_conditional): Update for new struct if_stack.
16061 2001-07-26 Graham Stott <grahams@redhat.com>
16063 * function.c (locate_and_pad_parm): Also pad initial offset
16064 so that the total argument size also includes the padding.
16066 2001-07-26 Graham Stott <grahams@redhat.com>
16068 * gensupport.c (alter_output_for_insn): Correct enable checking failure
16069 change XSTR to XTMPL.
16071 (process_one_cond_exec): Likewise
16073 2001-07-25 Richard Henderson <rth@redhat.com>
16075 * varasm.c (assemble_variable): Create DECL_RTL before setting
16078 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
16080 * predict.c (estimate_probability): Avoid duplicated predictions.
16082 * loop.c (find_and_verify_loops): Grok multiple barriers.
16084 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16086 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
16088 * dbxout.c: Consistently use putc instead of fputc.
16089 (print_wide_int): New function; call instead of direct fprintf.
16090 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
16091 (dbxout_type_fields, dbxout_type_method_1): Likewise.
16092 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
16093 (print_int_cst_octal): Likewise.
16094 (print_octal): Show we wrote characters.
16095 (dbxout_type): Set have_used_extensions in more places.
16097 2001-07-25 Catherine Moore <clm@redhat.com>
16099 * config/v850/v850.c (v850_va_arg): Use addr
16100 instead of valist to build incr.
16102 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
16104 * flow.c (delete_dead_jumptables): New function.
16105 (life_analyzis): Call it.
16106 * bb-reorder.c (skip_insns_after_block): Handle contradictory
16109 2001-07-25 Richard Henderson <rth@redhat.com>
16111 * except.c (reachable_handlers): Handle a region being removed
16112 out from under a RESX.
16114 2001-07-25 Richard Henderson <rth@redhat.com>
16116 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
16117 swap GE/GT if it is an fp comparison.
16119 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
16121 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
16124 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
16126 * ssa.c (rename_insn_1): Do not wrap an assignment to a
16127 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
16130 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
16131 throw an exception.
16132 (visit_expression): When attempting to simplify an expression,
16133 retrieve any modes for arguments before they are simplified
16136 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
16137 Janis Johnson <janis@us.ibm.com>
16139 * stmt.c (expand_goto): A nonlocal goto can be a call too.
16140 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
16141 pointer parameters to match documented usage of nonlocal_goto.
16142 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
16143 parameters to their correct order.
16144 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
16145 parameters to their correct order.
16147 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
16149 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
16151 2001-07-25 Jan Hubicka <jh@suse.cz>
16152 Richard Henderson <rth@redhat.com>
16154 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
16156 (make_edges): New argument update_p; populate the edge cache if set.
16157 (find_basic_blocks): Update make_edges invocation.
16159 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16161 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
16163 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16165 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
16166 -Acpu and -Amachine.h.
16167 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
16168 Corrected header to say ELF not a.out.
16169 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
16170 when given -msoft-float.
16172 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16174 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
16175 extra multilib parts like arm-elf.
16176 (i960-*-coff*, i960-*-rtems): Should not use collect2.
16177 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
16178 crtfini.o as extra multilib parts.
16180 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16182 * configure.in: Add rtems as a supported thread model.
16183 * gthr-rtems.h: Add missing entry point __gthread_active_p.
16184 * configure: Rebuilt.
16186 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
16188 * stor-layout.c (get_mode_alignment): make it work when
16189 BITS_PER_UNIT is not a power of two.
16190 * builtins.c (get_pointer_alignment): Likewise.
16192 2001-07-24 Richard Henderson <rth@redhat.com>
16194 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
16195 the retrieved constant into the expected mode.
16197 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
16199 * flow.c (try_simplify_condjump): Avoid duplicated edges.
16200 (verify_flow_info): Check for duplicated edges; clarify
16203 * flow.c (block_label): Update basic_block_for_insn.
16204 (commit_edge_insertions): Call compute_bb_for_insn.
16206 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
16209 * flow.c (redirect_edge_and_branch,
16210 try_optimize_cfg): Use redirect_edge_succ_nodup
16211 (redirect_edge_succ_nodup): New.
16212 * basic_block.h (redirect_edge_succ_nodup): Declare.
16214 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
16217 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
16219 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
16220 (try_crossjump_to_edge): Update commetns.
16221 (try_crossjump_bb): Likewise.
16223 2001-07-24 Richard Henderson <rth@redhat.com>
16225 * combine.c (distribute_notes): Move set of need_refresh
16226 for noop_move_p down to catch all cases.
16228 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
16230 * recog.c (split_all_insns_noflow): New.
16231 * rtl.h (split_all_insns_noflow): Declare.
16232 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
16233 * m68hc11.c (m68hc11_reorg): Likewise.
16234 * sh.c (machine_dependent_reorg): Likewise.
16235 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
16238 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16240 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
16241 (ashlsi3_n splitter): Likewise.
16242 (lshrsi3_n splitter): Likewise.
16244 (GOTaddr2picreg): Make const SImode.
16245 (sym_label2reg): Likewise.
16246 (symGOT2reg): Likewise.
16247 (symGOTOFF2reg) Likewise.
16249 (casesi_worker_0): Make unspec SImode.
16251 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16253 * config/sh/sh.c (barrier_align): Check that an operand really is
16254 an insn before extracting its INSN_CODE.
16256 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
16258 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
16261 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
16262 for SImode to prevent overflow.
16264 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16266 * config/mips/irix6-libc-compat.c: New file.
16267 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
16268 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
16269 passing workaround.
16271 2001-07-24 lars brinkhoff <lars@nocrew.org>
16273 * rtl.texi (REG_POINTER): Document.
16274 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
16275 QFmode, HFmode, TQFmode, QCmode, and HCmode.
16277 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
16279 * flow.c (delete_noop_moves): Do not confuse libcall regions.
16281 2001-07-23 Richard Henderson <rth@redhat.com>
16283 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
16285 2001-07-23 Kazu Hirata <kazu@hxi.com>
16287 * config/h8300/h8300-protos.h: Add a prototype for
16288 general_operand_dst_push.
16289 * config/h8300/h8300.c (general_operand_dst_push): New.
16290 * config/h8300/h8300.h (OK_FOR_T): New.
16291 (EXTRA_CONSTRAINT): Use it.
16292 * config/h8300/h8300.md (movqi_push): Remove and integrate into
16293 the existing movqi pattern.
16294 (movhi_push): Likewise.
16296 * reload.c: Fix comment typos.
16298 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
16300 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
16302 2001-07-23 H.J. Lu (hjl@gnu.org)
16304 * doc/extend.texi: Update __builtin_return_address and
16305 __builtin_frame_address.
16307 2001-07-23 Richard Henderson <rth@redhat.com>
16309 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
16311 * config/i386/i386.md: New setcc+movzbl peephole2.
16313 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16315 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
16316 * objc/objc-act.c: Include debug.h.
16317 (synth_module_prologue): Save and restore debug hooks too.
16319 2001-07-23 lars brinkhoff <lars@nocrew.org>
16321 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
16322 and C4X_FLOAT_FORMAT.
16323 (BOOL_TYPE_SIZE): Document.
16325 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
16327 * unroll.c (loop_iterations): Fix miscalculation of initial
16330 2001-07-13 Andrew Haley <aph@redhat.com>
16332 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
16333 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
16334 * config/sh/sh.c (sh_can_redirect_branch): New function.
16335 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
16336 * reorg.c (steal_delay_list_from_target): Use
16337 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
16339 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
16341 * flow.c (try_simplify_condjump): Unlink insn chain on
16342 fallthru edge; use can_fallthru.
16344 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
16346 * basic-block.h (find_sub_basic_block): Declare.
16347 * flow.c (make_edges): New arguments MIN and MAX;
16348 (find_sub_basic_blocks): Revamp to use make_edges
16349 and purge_dead_edges.
16350 (find_basic_blocks): Update call of find_sub_basic_block.
16352 * recog.c (split_all_insns): Always expect CFG to be consistent;
16353 call find_sub_basic_blocks in case something has changed.
16354 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
16357 * basic-block.h (delete_noop_moves): Declare.
16358 * combine.c (combine_instructions): Call it.
16359 (recog_for_combine): Tolerate noop moves
16360 (distribute_notes): Force refresh when register dies at noop move.
16361 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
16363 (life_analysis): Update delete_noop_moves call.
16364 (set_noop_p): Move too ...
16365 * rtlanal.c (noop_move_p): ... here.
16366 * rtl.h (noop_move_p): Declare.
16368 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
16369 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
16371 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
16372 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
16374 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
16376 * reload.c (push_reload): Fix typo in comment.
16377 (find_reloads_address): Ditto.
16378 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
16380 2001-07-22 Richard Henderson <rth@redhat.com>
16382 * flow.c: Grammar check and clarify a lot of comments.
16383 (try_simplify_condjump): Rename variables to be clearer.
16384 (try_forward_edges): Skip complex and fallthru edges.
16385 Rearrange tests to avoid duplicate checks.
16386 (flow_find_cross_jump): Likewise.
16387 (outgoing_edges_match): Allow match if neither branch has
16388 probability data. Loosen probability match to 5%.
16389 (try_crossjump_to_edge): Hoist repeated indirection into
16391 (try_crossjump_bb): Don't check complex edges. Eliminate
16392 redundant crossjump tests.
16393 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
16394 checks before more expensive checks.
16396 2001-07-22 Richard Henderson <rth@redhat.com>
16398 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
16399 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
16402 2001-07-22 Richard Henderson <rth@redhat.com>
16404 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
16405 (const_sint32_operand): Likewise.
16406 * m68k.md (anon mulsi pattern): Use const_int_operand not
16407 const_sint32_operand.
16408 (umulsi3_highpart): Zero extend a constant input.
16409 (smulsi3_highpart): Don't bother checking SImode constant.
16410 (const_umulsi3_highpart): Give op3 DImode.
16411 (const_smulsi3_highpart): Likewise.
16413 2001-07-22 Richard Henderson <rth@redhat.com>
16415 * flow.c (split_block): Make sure bb_note is included in the
16416 new block when splitting before a label.
16418 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
16420 * basic-block.h (redirect_edge_and_branch_force,
16421 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
16422 * flow.c (redirect_edge_and_branch_force,
16423 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
16424 (redirect_edge_and_branch_force): Fix copying of lifeness information.
16425 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
16426 * ifcvt.c (dead_or_predictable): Take BB as an new destination
16427 instead of label; update CFG after transformation.
16428 (find_if_case_1): Update call, use redirect_edge_and_branch_force
16429 for finishing the transformation; handle even case where ELSE
16430 does not follow THEN.
16431 (find_if_case_2): Update call of dead_or_predictable; simplify
16434 * emit-rtl.c (split_branch_probability): New global variable.
16435 (try_split): Take care to set split_branch_probability and
16436 create REG_BR_PROB note for new jump insns.
16437 * md.texi (define_split): Document new feature.
16439 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
16441 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16443 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
16444 (asm_out_file): Remove redundant declaration.
16445 (assemble_asm): Remove old #if 0 block.
16446 (assemble_variable): Remove end of function; debug output is
16447 now handled with global_decl. Remove old #if 0 block. Update.
16448 Remove saved_in_section and associated no-op code.
16449 * Makefile.in (varasm.o): Correct dependencies.
16451 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
16453 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
16454 the definition in defaults.h.
16456 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
16458 * jump.c: Update comments.
16459 (delete_barrier_successors, delete_unreferenced_labels,
16460 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
16461 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
16462 jump_optimize, jump_optimize_minimal): Kill.
16463 (rebuild_jump_labels): Move code from jump_optimize_1.
16464 (purge_line_number_notes): Likewise.
16465 (copy_loop_headers): Likewise.
16466 * reg-stack.c: Update comment.
16467 * stmt.c: Likewise.
16468 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
16469 JUMP_AFTER_REGSCAN): Kill.
16470 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
16471 purge_line_number_notes and copy_loop_headers.
16473 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16474 Richard Henderson <rth@redhat.com>
16476 * dbxout.c (dbxout_global_decl): New.
16477 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16478 * sdbout.c (sdbout_finish): New.
16479 (sdbout_debug_hooks): Use it, add comments.
16480 (sdbout_global_decl): Defer initialised public vars to
16482 * varasm.c (assemble_variable): Don't output debug information
16483 for file-scope variables.
16485 2001-07-22 Richard Henderson <rth@redhat.com>
16487 * config/alpha/alpha.c (get_trap_mode_suffix): New.
16488 (get_round_mode_suffix): New.
16489 (print_operand): Use them for [/]. Remove support for [&'`()+].
16490 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
16491 * config/alpha/alpha.md (attr round_suffix): New.
16492 (attr trap_suffix): New.
16493 (all insns): Set them appropriately. Use %/ instead of the
16494 myriad punctuators.
16496 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16498 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
16500 2001-07-22 Richard Henderson <rth@redhat.com>
16502 * regrename.c (regrename_optimize): Compute nregs for each
16503 potential target register.
16505 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
16506 Richard Henderson <rth@redhat.com>
16508 * dbxout.c (dbxout_global_decl): New.
16509 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16510 * sdbout.c (sdbout_finish): New.
16511 (sdbout_debug_hooks): Use it, add comments.
16512 (sdbout_global_decl): Defer initialised public vars to
16514 * varasm.c (assemble_variable): Don't output debug information
16515 for file-scope variables.
16517 2001-07-21 H.J. Lu (hjl@gnu.org)
16519 * config/mips/mips.c (mips_cpu): Moved into ...
16520 (override_options): Here.
16522 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
16524 (mips_cpu): Removed.
16526 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16528 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
16529 ("iorqi3"): Likewise.
16530 ("xorqi3"): Likewise.
16531 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
16532 ("*subhi3_sp): Likewise.
16533 ("*subhi3"): Likewise.
16534 ("extendhisi2"): Accept D, X and Y as source operand to avoid
16537 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
16539 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
16540 * config/freebsd.h: Likewise.
16541 * config/linux.h: Likewise.
16542 * config/openbsd.h: Likewise.
16543 * config/alpha/linux-elf.h: Likewise.
16544 * config/arm/linux-elf.h: Likewise.
16545 * config/d30v/d30v.h: Likewise.
16546 * config/fr30/fr30.h: Likewise.
16547 * config/ia64/aix.h: Likewise.
16548 * config/ia64/ia64.h: Likewise.
16549 * config/mips/linux.h: Likewise.
16550 * config/pj/pj.h: Likewise.
16551 * config/rs6000/linux.h: Likewise.
16552 * config/sparc/linux.h: Likewise.
16553 * config/sparc/linux64.h: Likewise.
16555 2001-07-20 Bruce Korb <bkorb@gnu.org>
16557 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
16558 because getc() and char* may disagree on signedness.
16560 2001-07-20 Richard Henderson <rth@redhat.com>
16562 * doc/rtl.texi (REG_DEAD): Update for current semantics.
16564 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
16565 insns to delete in the presence of cc0 in a jump insn.
16567 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
16568 Jan Hubicka <jh@suse.cz>
16570 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
16571 of doing the change by hand.
16573 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
16575 * rtlanal.c (set_noop_p): Return true for noop jumps.
16577 * expr.c (emit_single_push_insn): Add call to push expander.
16578 * expr.h (optab_index): Add OTI_push
16579 (push_optab): New constant.
16580 * genopinit.c (optabs): Add push_optab.
16581 * optabs.c (init_optab): Init push optab.
16582 * md.texi (push??1): Document
16584 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16586 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
16587 expand to emit the pattern; put a REG_INC note for push/pop
16589 ("movdf", "movdf_internal"): Likewise.
16590 ("movsi", "movsi_internal"): Likewise.
16591 ("movsf", "movsf_internal"): Likewise.
16592 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
16594 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16596 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
16599 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
16601 * params.def: Change default max inline insns to 100.
16603 2001-07-20 Diego Novillo <dnovillo@redhat.com>
16605 * combine.c (combine_simplify_rtx): Generate a new shift operation
16606 when simplifying the first operand of a (neg (ashift)) expression.
16608 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16610 * regclass.c (N_REG_INTS): Use only 32 bits per element.
16612 2001-07-20 Kelley Cook <kelley.cook@home.com>
16614 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
16615 information. Move rest into ...
16616 (*-*-solaris): ... here. Eliminate redundant information and
16617 reword necessary packages section. Delete 4.x assembler bug info.
16618 (sparc-sun-*): Merge into ...
16619 (sparc-sun-sunos*): here.
16621 2001-07-20 Catherine Moore <clm@redhat.com>
16623 * config/v850/v850.md (casesi): Generate LABEL_REF
16626 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
16628 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
16629 * i386.c (ix86_zero_extend_to_Pmode): Make global.
16630 * i386.md (strclrsi expander): Use it.
16632 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16634 * integrate.c (copy_insn_list): handle
16635 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
16636 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
16637 identically as to CODE_LABEL.
16639 * fold-const (fold): Convert A/B/C to A/(B*C) and
16642 * except.c (connect_post_landing_pads): Delete the RESX insns.
16644 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
16646 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
16648 * config/mips/mips.md (nmadd/nmsub): Use macro.
16650 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
16652 * cppinit.c (remove_dup_dir): Make static.
16653 (remove_dup_dirs): Make static. Only warn about preempting a
16654 system directory with a non-system directory.
16656 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16658 * ifcvt.c (noce_try_store_flag_constants): Correct order
16659 of parameters to trunc_int_for_mode.
16661 2001-07-19 Mark Mitchell <mark@codesourcery.com>
16663 * reorg.c (fill_simple_delay_slots): If an instruction might throw
16664 an exception that will be caught within this function, do not fill
16665 its delay slot with any subsequent instruction.
16667 2001-07-19 Steve Ellcey <sje@cup.hp.com>
16669 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
16670 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
16671 pointer extension instruction.
16672 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
16673 * simplify-rtx.c (simplify_unary_operation) Likewise.
16674 * explow.c (convert_memory_address) Check value of
16675 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
16677 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
16678 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
16679 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
16680 Add Multilib Support.
16681 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
16682 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
16683 Add Multilib Support.
16684 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
16686 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
16687 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
16688 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
16690 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
16692 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
16693 old and new operands in `<', `3' and `b'.
16695 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16697 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
16698 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
16699 (toplev.o): Don't depend on xcoffout.h.
16700 * c-decl.c: Include debug.h
16701 (duplicate_decls): Use debug hook.
16702 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
16703 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16704 (dbxout_types): Remove.
16705 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
16706 * debug.c (do_nothing_debug_hooks): Update.
16707 (debug_true_tree, debug_nothing_rtx): New.
16708 * debug.h (struct rtx_def): New.
16709 (struct gcc_debug_hooks): New hooks ignore_block,
16710 outlining_inline_function and label.
16711 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
16712 dwarf2out_frame_finish): New.
16713 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
16714 Make static, update prototype.
16715 (dwarf2_debug_hooks): Update.
16716 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
16717 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
16718 * dwarfout.c (dwarf_debug_hooks): Update.
16719 * emit-rtl.c: Include debug.h.
16720 (remove_unnecessary_notes): Use debug hook.
16721 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
16722 (final_scan_insn): Use debug hook.
16723 * integrate.c (output_inline_function): Use debug hook.
16724 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
16725 (sdb_debug_hooks): Update.
16726 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
16727 * toplev.c: Don't include xcoffout.h.
16728 (note_outlining_of_inline_function, debug_ignore_block): Remove.
16729 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
16731 * tree.h (dwarf2out_do_frame): Remove.
16733 2001-07-19 Catherine Moore <clm@cygnus.com>
16735 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
16737 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16739 * reload1.c (eliminate_regs_in_insn): When updating a set
16740 to the frame pointer to the hardware frame pointer, perform
16741 the update always not just when REPLACE is set.
16743 * reload1.c (choose_reload_regs): Don't inherit a reload
16744 that crosses multiple registers if registers past the first
16745 don't fit in the desired class.
16747 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
16748 when negating constants.
16750 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
16752 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
16753 * doc/tree.texi: Ditto.
16755 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
16756 Jakub Jelinek <jakub@redhat.com>
16758 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
16759 (extract_cie_info): Handle "eh" augmentation properly,
16761 (struct frame_state, __frame_state_for): New.
16763 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16765 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
16766 HANDLE_SYSV_PRAGMA): Define.
16767 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
16769 (copy_object): Caller changed.
16771 2001-07-19 Andreas Schwab <schwab@suse.de>
16773 * configure.in (assembler dwarf2 debug_line support): Define nop
16775 * configure: Regenerated.
16777 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16779 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
16781 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
16782 to conditionally compiled block.
16783 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16784 * dbxout.h (dbxout_function): Remove.
16785 * debug.c (do_nothing_debug_hooks): Update.
16786 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
16787 global_decl, deferred_inline_function.
16788 * dwarf2out.c (dwarf2_debug_hooks): Update.
16789 (dwarf2out_global_decl): New.
16790 * dwarfout.c: Don't include dwarfout.h.
16791 (dwarfout_global_decl, dwarfout_function_decl,
16792 dwarfout_deferred_inline_function): New.
16793 (dwarf_debug_hooks): Update.
16794 * dwarfout.h: Remove.
16795 * final.c: Don't include dwarfout.h.
16796 * sdbout.c (sdbout_global_decl): New.
16797 (sdbout_debug_hooks): Update.
16798 * toplev.c: Don't include dwarfout.h.
16799 (check_global_declarations, rest_of_compilation): Use new debug hooks.
16800 (note_deferral_of_defined_inline_function): Remove.
16801 * toplev.h (note_deferral_of_defined_inline_function): Remove.
16802 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
16803 * ch/lex.c: Don't include dwarfout.h.
16804 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
16805 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
16806 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
16807 * cp/optimize.c: Include debug.h.
16808 (maybe_clone_body): Use debug hook.
16809 * cp/semantics.c: Include debug.h.
16810 (expand_body): Use debug hook.
16811 * po/POTFILES.in: Remove dwarfout.h.
16813 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16815 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
16816 * c-parse.in (yyerror, _yylex): Similarly.
16817 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
16818 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
16820 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
16821 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
16823 2001-07-18 Jeff Sturm <jsturm@one-point.com>
16825 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
16826 in-class declaration at -g1. Fixes c++/2814.
16828 2001-07-18 Richard Henderson <rth@redhat.com>
16830 * doc/md.texi (reload_in/out): Document restrictions in predicates
16831 and constraints for these patterns. Document empty string matching
16834 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16836 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
16838 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
16840 * cse.c: Undo my previous patch.
16842 2001-07-18 Tom Tromey <tromey@redhat.com>
16845 * configure: Rebuilt.
16846 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
16848 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
16850 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
16851 Jan Hubicka <jh@suse.cz>
16853 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
16854 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
16855 * jump.c (mark_jump_label): Do not forward branches.
16857 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
16859 * cse.c (delete_trivially_dead_insns): Delete the libcall block
16860 when return value is unused.
16862 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16864 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
16866 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
16868 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
16869 on error. We can't blindly return the result of
16870 pthread_mutex_trylock because it returns a positive number on
16871 error, while we must return -1 on error.
16872 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
16874 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
16876 2001-07-18 Andreas Jaeger <aj@suse.de>
16878 * integrate.c (output_inline_function): Correct type of debug_hooks.
16880 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
16882 * combine.c (combine_simplify_rtx): DIV can be treated
16883 associatively for floats if unsafe math optimisations are enabled.
16885 2001-07-17 Richard Henderson <rth@redhat.com>
16887 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
16889 2001-07-17 Richard Henderson <rth@redhat.com>
16891 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
16892 don't force the function address into a register.
16893 (expand_call, emit_library_call_value_1): Update callers.
16894 * builtins.c (expand_builtin_apply): Likewise.
16895 * expr.h (prepare_call_address): Update decl.
16897 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
16899 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
16901 * config/i386/chorus.h: Move up.
16902 * config/sparc/chorus.h: Likewise.
16903 * config/rs6000/chorus.h: Likewise.
16904 * config/chorus.h: Moved here.
16906 2001-07-17 Andreas Schwab <schwab@suse.de>
16908 * configure.in (assembler eh_frame optimization): Handle big
16910 * configure: Regenerated.
16912 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
16914 * expr.c (epxand_expr): Convert divisions into multiplications by
16915 reciprocals if -ffast-math.
16917 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
16919 * dbxout.c (dbxout_really_begin_function): Rename to
16920 dbxout_begin_function.
16921 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16922 (dbxout_begin_function): Remove.
16923 (dbxout_function): Update.
16924 (dbxout_source_line): Update prototype.
16925 * dbxout.h (dbxout_begin_function): Remove.
16926 * debug.c (do_nothing_debug_hooks): Update.
16927 (debug_nothing_tree): Update.
16928 (debug_nothing_charstar_rtx): Remove.
16929 * debug.h (union tree_node): Declare.
16930 (struct rtx_def): Remove.
16931 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
16932 begin_function. Change source_line prototype.
16933 (debug_nothing_tree): New.
16934 (debug_nothing_charstar_rtx): Delete.
16935 (dwarf2out_begin_prologue): Moved from ...
16936 * tree.h: ... here.
16937 * dwarf2out.c (dwarf2_debug_hooks): Update.
16938 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
16939 debug info, call dwarf2out_source_line.
16940 (dwarf2out_souce_line): Update prototype.
16941 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
16942 Change prototype, make static.
16943 (dwarfout_source_line): Update prototype.
16944 (dwarf_debug_hooks): Update.
16945 * dwarfout.h (dwarfout_begin_function): Remove.
16946 * final.c (final_start_function, final_scan_insn): Use appropriate
16947 debug hooks, update to use notice_source_line.
16948 (output_source_line): Rename notice_source_line. Don't call the
16949 source_line debug hook.
16950 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
16951 make static, update prototype.
16952 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
16954 (sdbout_end_prologue): New.
16955 (sdbout_source_line): Update prototype.
16956 (sdbout_debug_hooks): Update.
16957 (sdbout_symbol): Remove unused var.
16958 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
16960 * varasm.c: Include debug.h.
16961 (assemble_start_function): Use begin_function debug_hook.
16962 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16963 update with prototype.
16964 (xcoffout_source_line): Update prototype.
16965 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16967 (xcoffout_source_line): Update prototype.
16969 2001-07-17 Richard Henderson <rth@redhat.com>
16971 * c-typeck.c (build_binary_op): Do not shorten unsigned
16972 right shift after sign extension.
16974 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
16976 * combine.c (combine_simplify_rtx): Attempt to simplify
16977 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
16979 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
16980 (simplify_binary_operation, simplify_unary_operation,
16981 simplify_relational_operation): Use it.
16983 * combine.c (combine_simplify_rtx): Don't do associative law
16984 on divisions; allow associative law on floats.
16986 2001-07-17 H.J. Lu <hjl@gnu.org>
16987 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16989 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
16990 ASM_OUTPUT_WEAK_ALIAS are defined.
16991 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
16992 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
16994 * config/mips/iris5.h: ... here.
16995 (HANDLE_SYSV_PRAGMA): Defined as 1.
16996 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
16997 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
17000 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
17002 * c-parse.in (all_prefix_attributes): New variable.
17003 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
17004 (maybe_resetattrs): New production.
17005 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
17006 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
17007 notype_initdcl, nested_function, notype_nested_function,
17008 component_decl, components, components_notype,
17009 component_declarator, component_notype_declarator,
17010 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
17011 ivars, mydecl, myparm): Update. Avoid prefix attributes just
17012 after a comma being applied to more than one declarator.
17013 * doc/extend.texi (Attribute Syntax): Update. Remove
17014 documentation of bugs that are no longer present.
17016 2001-07-13 Eric Christopher <echristo@redhat.com>
17018 * config/mips/mips.h: Change TUNE_MIPS* options to use
17020 (EXTRA_SPECS): Add cc1_cpu_spec.
17021 * config/mips/mips.md (muldf3): Fix typo.
17023 2001-07-16 Richard Henderson <rth@redhat.com>
17025 * config/m68k/m68k.c: Include expr.h and reload.h.
17026 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
17027 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
17029 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
17030 Richard Henderson <rth@redhat.com>
17032 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
17033 (insn_live_p): Fix fall off end of function.
17034 (dead_libcall_p): Remove COUNTS argument; update callers.
17035 (delete_trivially_dead_insns): Remove unused variables.
17037 2001-07-17 Andreas Jaeger <aj@suse.de>
17039 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
17040 x86-64 pic support.
17042 * lcm.c (optimize_mode_switching): Avoid warning for unused
17043 variable if !NORMAL_MODE.
17045 * flow.c (try_crossjump_to_edge): Remove unused variable.
17047 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
17049 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
17050 atexit declaration in stdlib.h.
17052 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
17054 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
17056 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17058 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
17059 * except.c (finish_eh_generation): Update call of cleanup_cfg;
17060 do rebuild_jump_labels instead of jump_optimize
17061 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
17062 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
17063 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
17065 * flow.c: Include timevar.h
17066 (find_basic_block): Push/pop timevar;
17067 (cleanup_cfg): Likewise.
17068 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
17069 * Makefile: Add dependencies on timevar.h
17071 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
17072 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
17074 * rtl.h (delete_trivially_dead_insns): Add new parameter.
17075 * toplev.c (rest_of_compilation): Update calls.
17076 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
17077 (delete_trivially_dead_insns): ... here; accept new argument
17078 preserve_basic_blocks; preserve basic blocks if set.
17080 * reg-stack.c (stack_regs_mentioned): Return 0 if
17081 stack_regs_mentioned_data is not initialized.
17082 (reg_to_stack): Make stack_regs_mentioned survive after the
17083 reg-stack is completted; do not call cleanup_cfg.
17084 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
17085 make cleanup_cfg after bb-reorder to output to debug file.
17087 2001-07-16 Richard Henderson <rth@redhat.com>
17089 * regclass.c (init_reg_sets): Use only 32 bits per initializer
17090 from int_reg_class_contents.
17092 2001-07-16 Richard Henderson <rth@redhat.com>
17094 * hard-reg-set.h (regs_invalidated_by_call): Declare.
17095 * regclass.c (regs_invalidated_by_call): Move from cse.c.
17096 (init_reg_sets_1): Move initialization from cse_main.
17097 * cse.c (regs_invalidated_by_call): Move to regclass.c.
17098 (cse_main): Move its initialization also.
17099 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
17100 * flow.c (propagate_one_insn): Likewise.
17101 * gcse.c (compute_hash_table): Likewise.
17102 (compute_kill_rd, compute_store_table): Likewise.
17103 * sched-deps.c (sched_analyze_1): Likewise.
17105 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
17107 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
17110 2001-07-16 Steve Ellcey <sje@cup.hp.com>
17112 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
17113 in if statement so we don't access undefined memory.
17115 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
17117 * gcse.c: Update comment at top.
17118 Update comment on mem handling.
17119 mem_last_set, mem_first_set, mem_set_in_block: gone.
17120 Declaration of reg_set_info: gone.
17121 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
17122 pointless with load_killed_in_block_p (they are *more*
17123 conservative then it, not less, and less accurate).
17124 (oprs_not_set_p): Ditto.
17125 (alloc_gcse_mem): Don't allocate mem_set_in_block
17126 (free_gcse_mem): Don't free it, either.
17127 (record_last_mem_set_info): Update comment in front, remove
17128 mem_*set_* stuff. Note the reason we don't handle stores directly
17130 (compute_hash_table): Update comments to reflect reality. Remove
17131 mem_*set_* references.
17132 (reset_opr_set_tables): Remove mem_*set_* references.
17133 (mark_call): Ditto.
17134 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
17135 (mark_clobber): Ditto (on both parts, we double set here too).
17136 (expr_killed_p): Remove mem_set_in_block test.
17137 (compute_transp): Remove mem_set_in_block test.
17139 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
17140 of edge, and removal of phi alternative to dump file.
17141 (ssa_ccp_substitute_constants): Add note about register now being
17142 constant, and which uses were replaced in what insns to dump file.
17144 2001-07-16 Andreas Jaeger <aj@suse.de>
17146 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
17147 variables of type HOST_WIDEST_INT.
17149 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
17150 (__bb_exit_func): Correct type of count_max to avoid overflow.
17151 (num_digits): Handle long long argument.
17153 * combine.c (gen_lowpart_for_combine): Remove unused variable.
17155 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
17157 * output.h (sdb_begin_function_line): Restore as an extern
17159 * sdbout.c (sdb_begin_function_line): Make extern.
17161 2001-07-15 Richard Henderson <rth@redhat.com>
17163 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
17164 * genrecog.c (maybe_both_true_mode): New.
17165 (maybe_both_true_2): Use it.
17166 (write_switch): Don't put Pmode in a switch.
17167 * rtl.c (mode arrays): Don't explicitly size them.
17169 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
17171 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
17172 handling; move unconditional splitting before mode switching.
17174 * i386.md (type): Add fistp type.
17175 (i387, length_attr, scheduling definitions): Handle this type.
17176 (fix_trunc?f?i2): Revamp to use mode switching.
17177 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
17178 * i386.h (fp_cw_mode): New enum
17179 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
17180 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
17182 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17184 * Makefile.in (integrate.o): Add debug.h.
17185 * integrate.c (debug.h): Add.
17186 (output_inline_function): Save, reset, and restore debug_hooks.
17188 2001-07-15 Richard Henderson <rth@redhat.com>
17190 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
17191 instead of COMPARE for the EQUIV expression.
17193 2001-07-15 Richard Henderson <rth@redhat.com>
17195 * flow.c (redirect_edge_and_branch_force): Initialize
17196 global_live_at_start and global_live_at_end.
17197 (allocate_bb_life_data): Export.
17198 * basic-block.h (allocate_bb_life_data): Declare.
17199 * toplev.c (rest_of_compilation): Call it.
17201 2001-07-15 Richard Henderson <rth@redhat.com>
17203 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
17204 (alpha_tablejump_best_label): New.
17205 * config/alpha/alpha-protos.h: Declare them.
17206 * config/alpha/alpha.md: Use braced strings for code blocks.
17207 (tablejump_osf): Break out add with r29.
17208 (tablejump_osf_internal): Remove.
17209 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
17210 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
17212 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
17214 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
17217 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
17219 * i386-protos.h (ix86_split_fp_branch): Update prototype.
17220 (ix86_fp_jump_nontrivial_p): New.
17221 * i386.md (fp_jcc_?): Update call of split_fp_branch;
17222 use ix86_fp_jump_nontrivial_p.
17223 * i386.c (ix86_fp_jump_nontrivial_p): New.
17224 (ix86_split_fp_branch): Accept code instead of rtx.
17225 (ix86_expand_compare): Expand comparison early in case
17226 doing so is resonably cheap.
17228 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
17230 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
17232 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
17233 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
17235 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
17237 * dbxout.c (dbxout_source_line): Make static, update prototype.
17238 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
17239 (dbxout_init, dbxout_finish, dbxout_source_line,
17240 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
17241 * dbxout.h (dbxout_source_line): Delete.
17242 * debug.c (debug_nothing_file, debug_nothing_file_int,
17243 debug_nothing_file_charstar_rtx): New.
17244 (do_nothing_debug_hooks): Update.
17245 (debug_nothing_void, debug_nothing_charstar_rtx,
17246 dwarf2out_end_epilogue): New.
17247 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17248 * debug.h (struct rtx_def): Declare.
17249 (gcc_debug_hooks): New hooks source_line, end_epilogue
17251 (debug_nothing_void, debug_nothing_charstar_rtx,
17252 dwarf2out_end_epilogue): New.
17253 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17254 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
17255 (dwarf2_debug_hooks): Update.
17256 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
17257 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
17258 * dwarf2out.h (dwarf2out_source_line): Remove.
17259 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
17260 Make static, update prototype.
17261 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
17262 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
17263 (dwarf_debug_hooks): Update.
17264 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
17265 dwarfout_end_function): Remove.
17266 * final.c (profile_function): Use debug hooks for ending functions
17268 (output_source_line, final_end_function): Update prototype,
17270 (final_start_function, final_scan_insn): Update.
17271 * output.h (sdb_begin_function_line): Remove.
17272 (final_end_function): Update prototype.
17273 * sdbout.c (sdb_begin_function_line): Make static.
17274 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
17275 (sdbout_source_line): New.
17276 (sdbout_end_epilogue, sdbout_end_function): Make static, update
17278 (sdb_debug_hooks): Update.
17279 (sdbout_init, sdbout_source_line,
17280 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
17281 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
17282 * toplev.c (compile_file, rest_of_compilation): Update.
17283 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
17284 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
17285 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
17286 Update for prototype changes.
17287 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
17288 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
17290 2001-07-15 Richard Henderson <rth@redhat.com>
17292 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
17293 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
17294 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
17295 * config/alpha/alpha.c: Likewise.
17296 * config/alpha/alpha.md: Likewise.
17297 * config/alpha/alpha32.h: Likewise.
17298 * config/alpha/vms.h: Likewise.
17299 (OPEN_VMS): Remove.
17301 2001-07-14 Richard Henderson <rth@redhat.com>
17303 * config/alpha/alpha.md: Use define_constants for unspec values.
17304 Substitute throughout.
17306 2001-07-14 Tim Josling <tej@melbpc.org.au>
17308 * tree.def (EXPON_EXPR) remove. Never supported anyway.
17310 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
17312 * pa.md: Remove unused constraints from define_split's.
17314 2001-04-14 Richard Henderson <rth@redhat.com>
17316 * ifcvt.c (find_cond_trap): Test for exit block.
17318 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
17320 Re-install recently reverted patch.
17321 * emit-rtl.c (try_split): Update mark_jump_label call.
17322 * flow.c (find_sub_basic_blocks): Likewise.
17323 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17324 jump_back_p): Kill.
17325 (mark_all_labels): Kill second parameter.
17326 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17327 (rebuild_jump_labels, jump_optimize_minimal): Update call
17328 of jump_optimize_1.
17329 (jump_optimize_1): Kill crossjumping code.
17330 (mark_jump_label): Kill cross_jump parameter.
17331 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17332 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17333 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17335 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17337 (dump_file_info): Likewise.
17338 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17339 reorganize passes to do reg-stack first, bb-reorder second.
17340 * invoke.texi (-d letters doc): Remove the jump2 pass.
17342 2001-07-14 Richard Henderson <rth@redhat.com>
17344 * ifcvt.c (find_cond_trap): New.
17345 (find_if_header): Call it.
17346 (merge_if_block): Relax existing jump sanity check.
17347 * jump.c (jump_optimize_1): Remove conditional trap handling.
17349 2001-07-14 Alan Modra <amodra@bigpond.net.au>
17351 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
17353 (insn_refs_are_delayed): Correct comment.
17354 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
17355 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
17356 instead of r31. Make associated insn !TARGET_64BIT, and
17357 provide an additional 64-bit insn that clobbers r2.
17358 (divsi3): Likewise.
17359 (udivsi3): Likewise.
17360 (modsi3): Likewise.
17361 (umodsi3): Likewise.
17363 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
17365 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
17367 * flow.c (redirect_edge_and_branch_force, split_edge,
17368 try_crossjump_to_edge): Use set_block_for_new_insns.
17369 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
17371 2001-07-13 H.J. Lu (hjl@gnu.org)
17373 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
17376 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17378 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
17380 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
17382 * c-common.c (decl_attributes): Take a pointer to the node to
17383 which attributes are to be attached, and a flags argument.
17384 * c-common.h (enum attribute_flags): New.
17385 (decl_attributes): Update prototype.
17386 * c-decl.c (start_decl, push_parm_decl, finish_struct,
17387 finish_enum, start_function): Update calls to decl_attributes.
17388 * c-parse.in (component_declarator, component_notype_declarator,
17389 label): Update calls to decl_attributes.
17391 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
17393 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
17394 * config/avr/avr.c (legitimate_address_p): Return value changed
17395 from letter to register classes. For better debugging.
17397 2001-07-13 Kazu Hirata <kazu@hxi.com>
17399 * jump.c (reversed_comparison_code_parts): Fix comment typos.
17401 2001-07-13 H.J. Lu (hjl@gnu.org)
17403 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
17405 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
17407 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
17408 correctly for shared configurations.
17409 * config/t-libgcc-pic: New.
17410 * config/{i386,m68k,sparc}/t-openbsd: New.
17411 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
17412 Support -shared. Support debugging libraries with -g.
17413 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
17414 frame information does not emit pointer diffs.
17415 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
17416 emit pointer diffs.
17418 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17420 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
17422 2001-07-13 David Edelsohn <edelsohn@gnu.org>
17424 * combine.c (try_combine): Ensure const_int pow2 is positive.
17426 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
17428 * config.gcc: Add configuration for s/390.
17429 * config/s390/s390.c: New. Subroutines for code generation.
17430 * config/s390/s390.h: New. Definitions for s/390.
17431 * config/s390/s390-protos.h: New. Prototypes.
17432 * config/s390/linux.h: New. Definitions for linux for s/390.
17433 * config/s390/linux64.h: New. Definitions for linux for zSeries.
17434 * config/s390/t-linux: New. Makefile fragment.
17435 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
17436 * config/s390/fixdfdi.h: New. Fix L_fix*di.
17438 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
17440 * emit-rtl.c (try_split): Update mark_jump_label call.
17441 * flow.c (find_sub_basic_blocks): Likewise.
17442 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17443 jump_back_p): Kill.
17444 (mark_all_labels): Kill second parameter.
17445 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17446 (rebuild_jump_labels, jump_optimize_minimal): Update call
17447 of jump_optimize_1.
17448 (jump_optimize_1): Kill crossjumping code.
17449 (mark_jump_label): Kill cross_jump parameter.
17450 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17451 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17452 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17454 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17456 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17457 reorganize passes to do reg-stack first, bb-reorder second.
17458 * invoke.texi (-d letters doc): Remove the jump2 pass.
17460 2001-07-12 Steve Ellcey <sje@cup.hp.com>
17462 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
17464 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
17466 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
17468 (verify_flow_info): Make diagnostics prettier.
17470 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
17472 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
17474 * flow.c (outgoing_edges_match): Return early if condition reversal
17477 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
17479 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
17480 (mips_move_2words): When splitting a move into two instructions,
17481 prefix the second address operand with '%D'.
17483 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
17485 * Makefile.in (final.o): Depend on debug.h.
17486 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
17487 (dbx_debug_hooks): Add new hooks.
17488 (xcoff_debug_hooks): New.
17489 * debug.c (debug_nothing_file_int_int): New.
17490 (do_nothing_debug_hooks): Update.
17491 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
17492 (debug_nothing_file_int_int): New.
17493 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
17494 static, update prototype.
17495 (dwarf2_debug_hooks): Update.
17496 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
17497 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
17498 static, update prototype.
17499 (dwarf_debug_hooks): Update.
17500 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
17501 * final.c: Include debug.h.
17502 (final_scan_insn): Use debug hooks when beginning and ending blocks.
17503 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
17504 static, update prototype.
17505 (sdb_debug_hooks): Update.
17506 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
17507 * toplev.c: Distinguish between xcoff and dbx.
17509 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
17510 Call all debug hooks, not just dwarf ones.
17512 2001-07-11 Timothy Wall <twall@redhat.com>
17514 * config.gcc: Add configuration for AIX5/IA64.
17515 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
17516 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
17517 support prefix/suffix code.
17518 * config/ia64/t-aix: New. Makefile fragment.
17519 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
17521 2001-07-11 Kazu Hirata <kazu@hxi.com>
17523 * recog.c (validate_change): Fix a comment typo.
17525 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
17527 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
17528 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
17530 * dbxout.c (dbx_debug_hooks): Add new hooks.
17531 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
17533 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
17535 * dbxout.h (dbxout_start_new_source_file,
17536 dbxout_resume_previous_source_file): Delete.
17537 * debug.c (do_nothing_debug_hooks): Add new hooks.
17538 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17539 (debug_nothing_int_charstar, debug_nothing_int): New.
17540 * debug.h (gcc_debug_hooks): New hooks define, undef,
17541 start_source_file and end_source_file.
17542 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17543 (debug_nothing_int_charstar, debug_nothing_int): New.
17544 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
17545 the conditionally compiled section.
17546 (dwarf2out_start_source_file, dwarf2out_end_source_file,
17547 dwarf2out_define, dwarf2out_undef): Make static.
17548 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
17549 dwarf2out_define, dwarf2out_undef): Remove.
17550 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
17551 (dwarfout_start_source_file, dwarfout_end_source_file,
17552 dwarfout_define, dwarfout_undef): Make static.
17553 (dwarfout_start_source_file_check,
17554 dwarfout_end_source_file_check): New.
17555 (dwarfout_define, dwarfout_finish): Update.
17556 * dwarfout.h (dwarfout_start_new_source_file,
17557 dwarfout_resume_previous_source_file, dwarfout_define,
17558 dwarfout_undef): Remove.
17559 * sdbout.c (sdb_debug_hooks): Add new hooks.
17560 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
17562 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
17563 make static, take an arg.
17564 * sdbout.h (sdbout_start_new_source_file,
17565 sdbout_resume_previous_source_file): Delete.
17566 * toplev.c (debug_start_source_file, debug_end_source_file,
17567 debug_define, debug_undef): Delete.
17568 * toplev.h (debug_start_source_file, debug_end_source_file,
17569 debug_define, debug_undef): Delete.
17571 * java/jcf-parse.c: Include debug.h.
17572 (parse_class_file): Update to use debug hooks directly.
17573 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
17575 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17577 * alias.c (set_mem_alias_set): New function.
17578 * rtl.h (set_mem_alias_set): Declare it.
17579 * builtins.c (expand_builtin_return_addr): Call it instead of
17580 using MEM_ALIAS_SET accessor.
17581 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
17582 (get_memory_rtx, expand_builtin_va_arg): Likewise.
17583 (expand_builtin_va_copy):Likewise.
17584 * caller-save.c (setup_save_areas): Likewise.
17585 * calls.c (compute_argument_addresses): Likewise.
17586 * explow.c (set_mem_attributes): Likewise.
17587 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
17588 (expand_assignment, store_constructor_field, store_field): Likewise.
17589 (expand_expr_unaligned): Likewise.
17590 * function.c (assign_stack_temp_for_type): Likewise.
17591 (put_reg_into_stack, gen_mem_addressof): Likewise.
17592 * ifcvt.c (noce_try_cmove_arith): Likewise.
17593 * reload1.c (reload, alter_reg): Likewise.
17594 * config/alpha/alpha.c (get_aligned_mem): Likewise.
17595 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
17596 (alpha_expand_unaligned_store): Likewise
17597 (alpha_expand_unaligned_load_words): Likewise.
17598 (alpha_expand_unaligned_store_words): Likewise.
17599 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
17600 (alpha_expand_epilogue): Likewise.
17601 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
17602 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
17603 * config/i386/i386.c (legitimize_pic_address): Likewise.
17604 * config/i960/i960.c (setup_incoming_varargs): Likewise.
17605 * config/ia64/ia64.c (spill_restore_mem): Likewise.
17606 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
17607 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
17608 * config/mips/mips.c (mips_va_arg): Likewise.
17609 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
17610 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
17611 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
17612 (setup_incoming_varargs, rs6000_va_arg): Likewise.
17613 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
17614 (rs6000_emit_epilogue): Likewise.
17615 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
17616 * config/sparc/sparc.c (sparc_va_arg): Likewise.
17617 * config/v850/v850.c (v850_va_arg): Likewise.
17619 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
17621 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
17622 when fallthru edge is present.
17623 (mege_blocks): Handle case where creation of jump insn
17626 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
17627 CLEANUP_POST_REGSTACK): New constants.
17628 * except.c (finish_eh_generation): Update call of cleanup_cfg,
17629 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
17630 * output.h (cleanup_cfg): Update prototype.
17631 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
17632 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
17633 cleanup_cfg call; kill missleading comment.
17634 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
17635 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
17636 parameter; control optimizations performed using it.
17637 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
17638 try_crossjump_bb): New functions.
17640 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17642 * pa.c (pa_output_function_prologue): Delete prototype. Make function
17644 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
17645 pa_output_function_prologue.
17646 * pa-protos.h (pa_output_function_prologue): New prototype.
17648 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17650 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
17651 and low to get correct sign extension in low+high test.
17653 2001-07-11 Janis Johnson <janis@us.ibm.com>
17655 * gcov.c (arcdata): Use gcov_type to fix branch percentage
17656 for large hit count.
17658 * profile.c (branch_prob): Fix .bbg info for computed gotos
17661 2001-07-11 Mark Mitchell <mark@codesourcery.com>
17663 * stmt.c (parse_output_constraint): New function, split out
17665 (expand_asm_operands): ... here. Use parse_output_constraint.
17666 * tree.h (parse_output_constraint): Declare it.
17668 2001-07-11 Richard Henderson <rth@redhat.com>
17670 * bitmap.c: Comment some functions; fiddle whitespace.
17671 (bitmap_free): Don't export.
17672 (bitmap_element_allocate): Use memset.
17673 * bitmap.h (bitmap_free): Don't declare.
17675 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
17677 * gcse.c, lcm.c, sched-deps.c:
17678 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
17680 * flow.c (flow_loops_find): Free dom if we found no loops, since
17681 we aren't going to save it.
17683 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
17686 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
17688 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
17690 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17692 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
17693 #ifndef DWARF2_DEBUGGING_INFO.
17695 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17697 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
17699 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17701 * config/mips/mips.c (gen_int_relational): Tell the caller not to
17702 reverse a branch if a NE comparison is implemented with GTU.
17704 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17705 H.J. Lu <hjl@gnu.org>
17707 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
17708 constant addresses.
17709 (call_internal2): Likewise.
17710 (call_value_internal1): Likewise.
17711 (call_value_internal2): Likewise.
17712 (call_value_multiple_internal1): Likewise.
17713 (call_value_multiple_internal2): Likewise.
17715 2001-07-10 Kazu Hirata <kazu@hxi.com>
17717 * calls.c (emit_library_call_value_1): Fix a comment typo.
17718 * dwarf2out.c (mem_loc_descriptor): Likewise.
17719 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
17721 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
17723 * simplify-rtx.c (simplify_subreg): Fix typo in comment
17725 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17727 * recog.c (offsettable_address_p): Handle LO_SUM case.
17728 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
17729 instead of plus_constant.
17731 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17733 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
17734 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
17736 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17738 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
17739 adjust_address_nv instead of plus_constant.
17741 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
17743 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
17744 dwarf2out.o): Depend on debug.h, wrap long lines.
17745 * dbxout.c: Include debug.h.
17746 (dbx_debug_hooks): New.
17747 (dbxout_init): Make static, take just 2 args.
17748 (dbxout_finish): Make static.
17749 * dbxout.h (dbxout_init, dbxout_finish): Delete.
17750 * debug.c: New file.
17751 * debug.h: New file.
17752 * dwarf2out.c: Include debug.h.
17753 (dwarf2_debug_hooks): New.
17754 (dwarf2out_init): Make static.
17755 (dwarf2out_finish): Make static, take 2 args.
17756 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
17757 * dwarfout.c: Include debug.h.
17758 (dwarf_debug_hooks): New.
17759 (dwarfout_init): Make static.
17760 (dwarfout_finish): Make static, take 2 args.
17761 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
17762 * sdbout.c: Include debug.h.
17763 (sdb_debug_hooks): New.
17764 (sdbout_init): Make static, take 2 args.
17765 * sdbout.h (sdbout_init): Delete.
17766 * toplev.c: Include debug.h.
17767 (debug_hooks): New.
17768 (compile_file): Set deubg_hooks based on command line options.
17769 Use the hooks unconditionally rather than conditional compilation.
17771 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
17773 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
17774 first_insn_after_basic_block_note instead.
17776 * df.c (df_bb_refs_unlink): #if 0 out for now.
17778 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
17780 * ssa.h: Add prototype for ssa_const_prop
17781 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
17782 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
17783 (ssa_fast_dce): Remove unused variable
17785 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17787 * diagnostic.c (finish_diagnostic): Rename to
17788 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
17791 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
17793 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
17796 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
17797 (dump_file): Only pad the demangled name with spaces if the
17798 mangled name was padded with spaces.
17800 2001-07-10 Bernd Schmidt <bernds@redhat.com>
17802 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
17805 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17807 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
17808 extraction if no direct load if either EXPAND_CONST_ADDRESS or
17809 EXPAND_INITIALIZER.
17811 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
17812 whether can put offset inside LO_SUM to check mode alignment, not size.
17814 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17816 * doc/tm.texi (Misc): Fix thinko.
17818 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
17820 * regmove.c (replace_in_call_usage): Fix warnings.
17821 * sched-deps.c (add_dependence): Fix warnings.
17822 * simplify-rtx.c (simplify_subreg): Likewise.
17823 Return NULL_RTX instead of NULL.
17825 * reg-stack.c (emit_swap_insn): Eliminate warnings.
17826 (subst_asm_stack_regs): Likewise.
17828 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
17831 * dwarf2out.c (output_call_frame_info): Declare i as int.
17832 (build_abbrev_table): Declare n_alloc as int.
17833 (dwarf2out_finish): Initialize die.
17834 * except.c: Declare sjlj_funcdef_number as unsigned.
17835 (connect_post_landing_pads): Declare j as unsigned.
17836 (convert_to_eh_region_ranges): Initialize call_site.
17837 (output_function_exception_table): Initialize tt_format_size.
17838 * expr.c (move_by_pieces_1): Initialize to1.
17839 (store_constructor): Initialize minelt and maxelt.
17840 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
17841 * function.c (instantiate_decls): Avoid signed/unsigned warning.
17843 * c-decl.c (combine_parm_decls): Unused, remove.
17844 * c-tree.h: Remove prototype for combine_parm_decls.
17846 * reload.c (push_reload): Fix warning.
17847 (regno_clobbered_p): Likewise.
17848 * reload1.c (replace_pseudos_in_call_usage): Likewise.
17849 (reload_combine): Likewise.
17851 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
17852 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
17854 * bitmap.c (bitmap_operation): Change user.
17855 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
17857 2001-07-10 Eric Christopher <echristo@redhat.com>
17859 * config/mips/mips.c (override_options): Fix typo.
17861 2001-07-09 Stan Shebs <shebs@apple.com>
17863 * target.h (struct gcc_target): New fields init_builtins and
17865 * target-def.h (TARGET_INIT_BUILTINS): New macro.
17866 (TARGET_EXPAND_BUILTIN): New macro.
17867 (TARGET_INITIALIZER): Add them.
17868 * builtins.c: Include target.h.
17869 (expand_builtin): Use targetm.expand_builtin.
17870 (default_init_builtins): New function.
17871 (default_expand_builtin): New function.
17872 * expr.h (default_init_builtins): Declare.
17873 (default_expand_builtin): Declare.
17874 * c-common.c (c_common_nodes_and_builtins): Use
17875 targetm.init_builtins.
17876 * defaults.h (MD_INIT_BUILTINS): Remove.
17877 * Makefile.in (builtins.o): Depend on target.h.
17879 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
17880 (TARGET_EXPAND_BUILTIN): Define.
17881 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
17882 (MD_EXPAND_BUILTIN): Remove.
17884 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
17885 (TARGET_EXPAND_BUILTIN): Define.
17886 (c4x_init_builtins): Make endlink arg a local.
17887 (c4x_print_operand): Fix typos in adjust_address usages.
17888 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
17889 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
17890 (MD_EXPAND_BUILTIN): Remove.
17892 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
17893 (TARGET_EXPAND_BUILTIN): Define.
17894 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
17895 (ix86_init_builtins): Call new function only if TARGET_MMX.
17896 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
17897 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
17898 (MD_EXPAND_BUILTIN): Remove.
17900 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
17901 (TARGET_EXPAND_BUILTIN): Define.
17902 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
17903 (MD_EXPAND_BUILTIN): Remove.
17905 * doc/tm.texi: Document these changes.
17907 2001-07-09 Diego Novillo <dnovillo@redhat.com>
17909 * basic-block.h (tree_node): Forward declare if needed.
17910 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
17911 (BLOCK_HEAD_TREE): Define.
17912 (BLOCK_END_TREE): Define.
17913 (struct loops): Rename field 'tree' to 'tree_root'.
17914 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
17916 (flow_loops_tree_build): Rename reference to field 'tree' to
17918 (flow_loops_level_compute): Ditto.
17919 * predict.c (estimate_bb_frequencies): Ditto.
17920 * tree.h (struct tree_common): Add field 'aux'.
17922 2001-07-09 Stan Shebs <shebs@apple.com>
17924 * config/darwin.c (darwin_encode_section_info): Don't mark any
17925 DECL_EXTERNAL node as defined.
17927 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
17929 * pa.c (pa_init_machine_status, pa_mark_machine_status,
17930 pa_free_machine_status, hppa_init_pic_save): Delete.
17931 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
17932 (hppa_profile_hook): Use hppa_pic_save_rtx.
17933 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
17934 hppa_init_pic_save): Delete.
17935 (hppa_pic_save_rtx): Declare.
17936 * pa.md (call, call_value, sibcall, sibcall_value,
17937 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
17939 2001-07-09 Kazu Hirata <kazu@hxi.com>
17941 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
17942 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
17944 2001-07-09 Andreas Jaeger <aj@suse.de>
17946 * output.h: Add declaration of final_forward_branch_p.
17948 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
17950 * varray.c: Include errors.h for internal_error and trim_filename
17953 * Makefile.in (varray.o): Add errors.h.
17955 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
17957 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
17958 * optabs.c (have_add2_insn): Check whether the add insn chosen
17959 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
17960 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
17962 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
17964 * Makefile.in (OBJS): Add ssa-ccp.o
17965 (ssa-ccp.o): Add dependencies.
17966 * toplev.c (DFI_ssa_ccp): New dump file enum.
17967 (dump_file): Add entry for dumping after SSA CCP.
17968 (flag_ssa_ccp): New flag variable.
17969 (f_options): Add -fssa-ccp.
17970 (rest_of_compilation): Run SSA CCP if requested.
17971 * timevar.def (TV_SSA_CCP): New timevar.
17972 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
17973 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
17974 Fix minor typo in SSA DCE documentation.
17975 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
17976 Add documentation for new dump option. Renumber dump files
17979 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17981 * emit-rtl.c (gen_highpart_mode): New.
17982 * rtl.h (gen_highpart_mode): Declare.
17983 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
17984 operand can be VOIDmode constant.
17986 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
17988 * flow.c (redirect_edge_and_branch_force): New.
17989 (can_fallthru): Ensure that basic blocks are succeeding.
17990 (try_optimize_cfg): Do not delete basic block if it is the last one.
17992 * flow.c (try_redirect_by_replacing_jump): Do not remove
17993 jumps with side effects, unlink chain on fallthru edge;
17994 set block for new jump instruction; avoid basic block to
17995 over by line number note.
17997 * flow.c (try_simplify_condjump): Verify that the condjump
17998 is not always falling through.
18001 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
18003 * flow.c (forwarder_block_p): Fix for fallthru blocks.
18004 (try_redirect_by_replacing_jump): Update properly the count
18005 and frequency information.
18007 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18009 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
18010 address that is a LO_SUM specially.
18011 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
18013 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
18015 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
18016 (operand_subword): Use them.
18017 (change_address_1): Renamed from change_address; new arg VALIDATE.
18018 * expr.h: Reflect above changes; change_address now macro.
18019 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
18021 * cselib.c (add_mem_for_addr): Likewise.
18022 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
18023 * regmove.c (try_apply_stack_adjustment): Likewise.
18024 * reload.c (push_reload, make_memloc): Likewise.
18025 * reload1.c (eliminate_regs): Likewise.
18026 * simplify-rtx.c (simplify_replace_rtx): Likewise.
18027 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
18029 * combine.c (make_extraction, simplify_shift_const): Likewise.
18030 (gen_lowpart_for_combine): Likewise.
18031 * cse.c (gen_lowpart_if_possible): Likewise.
18032 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
18033 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
18034 * optabs.c (gen_move_insn): Likewise.
18035 * reload1.c (alter_reg): Likewise.
18036 * simplify-rtx.c (simplify_subreg): Likewise.
18037 * stmt.c (expand_anon_union_decl): Likewise.
18038 * recog.c (validate_replace_rtx_1): Likewise.
18040 * Makefile.in (recog.o): Add $(EXPR_H).
18041 * explow.c (stabilize): Call replace_equiv_address.
18042 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
18043 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
18045 2001-07-03 Andrew Haley <aph@redhat.com>
18047 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
18048 the mode of the memory location.
18050 2001-07-09 Bo Thorsen <bo@suse.co.uk>
18052 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
18054 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
18056 * final.c (output_addr_const): Use target opening and
18057 closing parentheses.
18058 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
18059 defaults, add to TARGET_ASM_OUT.
18060 * target.h (struct gcc_target): Add open_paren and close_paren.
18061 * doc/md.texi: Update.
18062 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
18063 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
18064 TARGET_ASM_CLOSE_PAREN.
18065 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
18067 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
18069 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
18070 * config/a29k/a29k.h: Similarly.
18071 * config/alpha/alpha.h: Similarly.
18072 * config/arc/arc.h: Similarly.
18073 * config/arm/aof.h: Similarly.
18074 * config/arm/aout.h: Similarly.
18075 * config/avr/avr.h: Similarly.
18076 * config/c4x/c4x.h: Similarly.
18077 * config/clipper/clipper.h: Similarly.
18078 * config/convex/convex.h: Similarly.
18079 * config/d30v/d30v.h: Similarly.
18080 * config/dsp16xx/dsp16xx.h: Similarly.
18081 * config/elxsi/elxsi.h: Similarly.
18082 * config/fr30/fr30.h: Similarly.
18083 * config/h8300/h8300.h: Similarly.
18084 * config/i370/i370.h: Similarly.
18085 * config/i386/i386.h: Similarly.
18086 * config/i860/i860.h: Similarly.
18087 * config/i960/i960.h: Similarly.
18088 * config/ia64/ia64.h: Similarly.
18089 * config/m32r/m32r.h: Similarly.
18090 * config/m68hc11/m68hc11.h: Similarly.
18091 * config/m68k/m68k.h: Similarly.
18092 * config/m88k/m88k.h: Similarly.
18093 * config/mcore/mcore.h: Similarly.
18094 * config/mips/mips.h: Similarly.
18095 * config/mn10200/mn10200.h: Similarly.
18096 * config/mn10300/mn10300.h: Similarly.
18097 * config/ns32k/ns32k.h: Similarly.
18098 * config/pa/pa.h: Similarly.
18099 * config/pdp11/pdp11.h: Similarly.
18100 * config/pj/pj.h: Similarly.
18101 * config/romp/romp.h: Similarly.
18102 * config/rs6000/rs6000.h: Similarly.
18103 * config/sh/sh.h: Similarly.
18104 * config/sparc/sparc.h: Similarly.
18105 * config/v850/v850.h: Similarly.
18106 * config/vax/vax.h: Similarly.
18107 * config/we32k/we32k.h: Similarly.
18109 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
18111 * doc/c-tree.texi: Document representation of attributes.
18113 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18115 * doc/tm.texi: Update some places for the rename of target to
18118 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18120 * target.h (struct gcc_target): Add insert_attributes.
18121 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
18122 (TARGET_INITIALIZER): Update.
18123 * tree.c, tree.h (default_insert_attributes): New function.
18124 Update comments on other default functions to refer to targetm,
18126 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
18127 TARGET_INSERT_ATTRIBUTES.
18128 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
18129 * c-common.c (decl_attributes): Use targetm.insert_attributes.
18130 Don't use PRAGMA_INSERT_ATTRIBUTES.
18131 * Makefile.in (c-common.o): Depend on $(TARGET_H).
18132 * c-decl.c (start_decl, start_function): Don't call
18133 SET_DEFAULT_DECL_ATTRIBUTES.
18134 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
18135 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
18137 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
18138 (c4x_check_attribute): Avoid modifying attribute list itself.
18139 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
18141 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
18142 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
18144 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
18145 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
18147 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
18148 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
18150 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
18151 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
18152 Adjust parameters. Make static.
18154 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
18156 * c-common.c (decl_attributes): Only take a single attributes
18158 * c-common.h (decl_attributes): Update prototype.
18159 * c-decl.c (start_decl, start_function): Only take a single
18160 attributes parameter. Update calls to decl_attributes.
18161 (finish_struct, finish_enum): Update calls to decl_attributes.
18162 (push_parm_decl): Expect unified list of attributes. Update call
18163 to decl_attributes.
18164 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
18165 notype_nested_function, component_declarator,
18166 component_notype_declarator, label): Update calls to
18168 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
18169 lists that are passed to push_parm_decl.
18170 * c-tree.h (start_function, start_decl): Update prototypes.
18171 * config/sh/sh-protos.h, config/sh/sh.c
18172 (sh_pragma_insert_attributes): Only take a single attributes
18174 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
18175 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
18176 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
18177 build_module_descriptor, generate_static_references,
18178 generate_strings, build_selector_translation_table,
18179 generate_descriptor_table, generate_protocols,
18180 generate_ivars_list, generate_dispatch_table,
18181 generate_protocol_list, generate_category,
18182 generate_shared_structures, really_start_method, add_objc_decls,
18183 generate_classref_translation_entry): Update calls to start_decl
18184 and start_function.
18185 (build_tmp_function_decl, start_method_def): Unify attribute lists
18186 that are passed to push_parm_decl.
18188 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
18190 * final.c (no_asm_to_stream): New.
18191 (final_scan_insn): Use target structures for prologue ends
18192 and epilogue starts.
18193 * output.h (no_asm_to_stream): New.
18194 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
18195 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
18196 (TARGET_ASM_OUT): Update.
18197 * target.h (struct gcc_target): New members function_end_prologue
18198 and function_begin_epilogue.
18199 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
18200 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
18201 * config/alpha/alpha.c (output_end_prologue): Rename to
18202 alpha_output_function_end_prologue. Use in target struct
18204 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
18205 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
18206 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
18207 ia64_output_function_end_prologue. Use in target struct
18209 (ia64_function_prologue, ia64_funciton_epilogue): Rename
18210 mistyped prototypes.
18211 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
18212 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
18214 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
18215 an use in target struct, make static.
18216 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
18219 2001-07-08 Richard Henderson <rth@redhat.com>
18221 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
18223 2001-07-08 Richard Henderson <rth@redhat.com>
18225 * config/i386/i386.md: Remove constraints strings from define_split
18226 and define_peephole2 patterns.
18227 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
18228 (eh_return): Use them.
18230 2001-07-08 Richard Henderson <rth@redhat.com>
18232 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
18233 Document MD_FALLBACK_FRAME_STATE_FOR.
18235 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18237 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
18238 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
18240 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
18242 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
18244 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
18245 of the label inside NAME as opposed to just the end of NAME.
18247 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
18249 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
18250 * config/alpha/alpha.c (alpha_init_machine_status,
18251 alpha_mark_machine_status, alpha_free_machine_status): Delete.
18252 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
18253 (vms_valid_decl_attribute_p): Make static, conditionally compile.
18254 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
18256 2001-07-06 Stan Shebs <shebs@apple.com>
18258 * target.h (targetm): Rename global from "target", so as not to
18259 conflict with local variables.
18261 * c-typeck.c: Ditto.
18264 * cp/decl.c: Ditto.
18265 * cp/decl2.c: Ditto.
18266 * cp/typeck.c: Ditto.
18267 * 1750a/1750a.c: Ditto.
18268 * a29k/a29k.c: Ditto.
18269 * arc/arc.c: Ditto.
18270 * arm/arm.c: Ditto.
18271 * avr/avr.c: Ditto.
18272 * clipper/clipper.c: Ditto.
18273 * convex/convex.c: Ditto.
18274 * d30v/d30v.c: Ditto.
18275 * dsp16xx/dsp16xx.c: Ditto.
18276 * elxsi/elxsi.c: Ditto.
18277 * fr30/fr30.c: Ditto.
18278 * h8300/h8300.c: Ditto.
18279 * i370/i370.c: Ditto.
18280 * i386/i386.c: Ditto.
18281 * i860/i860.c: Ditto.
18282 * i960/i960.c: Ditto.
18283 * ia64/ia64.c: Ditto.
18284 * m32r/m32r.c: Ditto.
18285 * m68hc11/m68hc11.c: Ditto.
18286 * m68k/m68k.c: Ditto.
18287 * m88k/m88k.c: Ditto.
18288 * mips/mips.c: Ditto.
18289 * ns32k/ns32k.c: Ditto.
18291 * pdp11/pdp11.c: Ditto.
18292 * romp/romp.c: Ditto.
18293 * rs6000/rs6000.c: Ditto.
18295 * sparc/sparc.c: Ditto.
18296 * vax/vax.c: Ditto.
18297 * we32k/we32k.c: Ditto.
18298 * doc/tm.texi: Update the manual to match.
18300 2001-07-06 Richard Henderson <rth@redhat.com>
18302 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
18303 DWARF2_UNWIND_INFO not just whether it is defined.
18305 2001-07-06 Diego Novillo <dnovillo@redhat.com>
18307 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
18308 call to simplify_binary_operation returns a new pattern.
18310 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
18312 * glimits.h (__SHRT_MAX__): New.
18313 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
18314 (SHRT_MAX): Define in terms of __SHRT_MAX__.
18316 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
18318 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
18321 2001-07-06 Richard Henderson <rth@redhat.com>
18323 * bitmap.c (bitmap_release_memory): Move adjacent to the
18324 allocation functions.
18325 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
18326 the implementation. Binary search for the set bit.
18327 (bitmap_union_of_diff): Allocate the temporary on the stack
18328 instead of using xmalloc.
18330 2001-07-06 Richard Henderson <rth@redhat.com>
18332 * genrecog.c (validate_pattern): Warn for constraints in
18333 define_{expand,split,peephole2}. Remove strict_low_part
18334 before looking up match_dup.
18336 2001-07-06 DJ Delorie <dj@redhat.com>
18338 * doc/gcc.texi (Makefile): Rename to be a more general purpose
18339 chapter about various build hints and history. Add section
18340 talking about the various types of native and cross builds.
18342 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
18344 * Makefile.in (final.o): Depend on target.h.
18345 * final.c: Include target.h.
18346 (default_function_pro_epilogue): New.
18347 (final_start_function): Use target structure for function prologues.
18348 (final_end_function): Use target structure for function epilogues.
18349 * fold-const.c (real_hex_to_f): Constify s and p.
18350 * output.h (default_function_pro_epilogue): New.
18351 * real.h (real_hex_to_f): Update prototype.
18352 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
18353 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
18354 (TARGET_INITIALIZER): Update.
18355 * target.h (gcc_target): Add struct asm_out.
18356 * doc/tm.texi: Update.
18359 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
18360 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
18361 in cpu/cpu.c, or rename old functions consistently. Take
18362 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
18363 redundant macros and prototypes. Make new functions static.
18365 * 1750a/1750a.c: Similarly.
18366 * 1750a/1750a.h: Similarly.
18367 * a29k/a29k-protos.h: Similarly.
18368 * a29k/a29k.c: Similarly.
18369 * a29k/a29k.h: Similarly.
18370 * arc/arc-protos.h: Similarly.
18371 * arc/arc.c: Similarly.
18372 * arc/arc.h: Similarly.
18373 * arm/arm-protos.h: Similarly.
18374 * arm/arm.c: Similarly.
18375 * arm/arm.h: Similarly.
18376 * avr/avr-protos.h: Similarly.
18377 * avr/avr.c: Similarly.
18378 * avr/avr.h: Similarly.
18379 * clipper/clipper-protos.h: Similarly.
18380 * clipper/clipper.c: Similarly.
18381 * clipper/clipper.h: Similarly.
18382 * convex/convex.c: Similarly.
18383 * convex/convex.h: Similarly.
18384 * d30v/d30v-protos.h: Similarly.
18385 * d30v/d30v.c: Similarly.
18386 * d30v/d30v.h: Similarly.
18387 * d30v/d30v.md: Similarly.
18388 * dsp16xx/dsp16xx-protos.h: Similarly.
18389 * dsp16xx/dsp16xx.c: Similarly.
18390 * dsp16xx/dsp16xx.h: Similarly.
18391 * elxsi/elxsi.c: Similarly.
18392 * elxsi/elxsi.h: Similarly.
18393 * fr30/fr30.c: Similarly.
18394 * fr30/fr30.md: Similarly.
18395 * h8300/h8300-protos.h: Similarly.
18396 * h8300/h8300.c: Similarly.
18397 * h8300/h8300.h: Similarly.
18398 * i370/i370-protos.h: Similarly.
18399 * i370/i370.c: Similarly.
18400 * i370/i370.h: Similarly.
18401 * i386/i386.c: Similarly.
18402 * i386/osf1elf.h: Similarly.
18403 * i386/osfrose.h: Similarly.
18404 * i860/i860-protos.h: Similarly.
18405 * i860/i860.c: Similarly.
18406 * i860/i860.h: Similarly.
18407 * i960/i960-protos.h: Similarly.
18408 * i960/i960.c: Similarly.
18409 * i960/i960.h: Similarly.
18410 * ia64/ia64-protos.h: Similarly.
18411 * ia64/ia64.c: Similarly.
18412 * ia64/ia64.h: Similarly.
18413 * m32r/m32r-protos.h: Similarly.
18414 * m32r/m32r.c: Similarly.
18415 * m32r/m32r.h: Similarly.
18416 * m68hc11/m68hc11-protos.h: Similarly.
18417 * m68hc11/m68hc11.c: Similarly.
18418 * m68hc11/m68hc11.h: Similarly.
18419 * m68k/crds.h: Similarly.
18420 * m68k/dpx2.h: Similarly.
18421 * m68k/m68k-protos.h: Similarly.
18422 * m68k/m68k.c: Similarly.
18423 * m68k/m68k.h: Similarly.
18424 * m68k/news.h: Similarly.
18425 * m88k/m88k-protos.h: Similarly.
18426 * m88k/m88k.c: Similarly.
18427 * m88k/m88k.h: Similarly.
18428 * mips/mips-protos.h: Similarly.
18429 * mips/mips.c: Similarly.
18430 * mips/mips.h: Similarly.
18431 * ns32k/merlin.h: Similarly.
18432 * ns32k/ns32k.c: Similarly.
18433 * ns32k/ns32k.h: Similarly.
18434 * ns32k/tek6000.h: Similarly.
18435 * pa/pa-protos.h: Similarly.
18436 * pa/pa.c: Similarly.
18437 * pa/pa.h: Similarly.
18438 * pdp11/2bsd.h: Similarly.
18439 * pdp11/pdp11-protos.h: Similarly.
18440 * pdp11/pdp11.c: Similarly.
18441 * pdp11/pdp11.h: Similarly.
18442 * romp/romp-protos.h: Similarly.
18443 * romp/romp.c: Similarly.
18444 * romp/romp.h: Similarly.
18445 * rs6000/rs6000-protos.h: Similarly.
18446 * rs6000/rs6000.c: Similarly.
18447 * rs6000/rs6000.h: Similarly.
18448 * rs6000/sysv4.h: Similarly.
18449 * sh/sh-protos.h: Similarly.
18450 * sh/sh.c: Similarly.
18451 * sh/sh.h: Similarly.
18452 * sparc/sparc-protos.h: Similarly.
18453 * sparc/sparc.c: Similarly.
18454 * sparc/sparc.h: Similarly.
18455 * vax/vax.c: Similarly.
18456 * vax/vax.h: Similarly.
18457 * vax/vms.h: Similarly.
18458 * we32k/we32k.c: Similarly.
18459 * we32k/we32k.h: Similarly.
18461 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
18463 * basic-block.h (first_insn_after_basic_block_note): Declare.
18464 * flow.c (first_insn_after_basic_block_note): Define. Moved
18466 * ssa.c (first_insn_after_basic_block_note): Remove.
18467 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
18469 (ssa_eliminate_dead_code): Properly update the CFG and PHI
18470 nodes when we find a dead conditional branch. Insert BARRIERs
18471 after any blocks with no successors, but which do not have
18474 2001-07-06 Zack Weinberg <zackw@stanford.edu>
18476 * varray.c (varray_check_failed): Use internal_error.
18478 2001-07-05 Andrew Haley <aph@redhat.com>
18480 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
18481 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
18482 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
18484 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
18486 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
18487 reference if the target constant is also a SYMBOL_REF.
18489 2001-07-05 Eric Christopher <echristo@redhat.com>
18491 * config/mips/mips.h (MASK_MIPS3900): Remove.
18492 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
18493 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
18494 (TARGET_MIPS3900): Change to use mips_arch.
18495 (TARGET_MIPS4000): New.
18496 (TARGET_MIPS4100): New.
18497 (TARGET_MIPS4300): New.
18498 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
18499 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
18501 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
18502 (ISA_HAS_BRANCHLIKELY): To here.
18503 (CC1_CPU_SPEC): New.
18504 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
18505 (mips_arch_string): Declare.
18506 (mips_arch): Declare.
18507 (TARGET_OPTIONS): Add -march and -mtune.
18509 * config/mips/mips.c (mips_arch_string): New.
18511 (override_options): Handle -march for codegen and -mtune
18512 for scheduling. Use mips_arch. Move tx39 target default here.
18513 (mips_parse_cpu): Move error message to override_options.
18515 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
18517 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
18519 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
18520 (MIPS Options): Ditto. Change mcpu entry to historical text.
18522 2001-07-05 H.J. Lu (hjl@gnu.org)
18524 * config/mips/mips.c (mips_parse_cpu): New function to parse
18527 2001-07-05 Jim Wilson <wilson@redhat.com>
18529 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
18530 * config/ia64/t-ia64: Likewise.
18531 (LIB1ASMFUNCS): Update comment.
18533 2001-07-05 David Edelsohn <edelsohn@gnu.org>
18535 * doc/install.texi (Install GCC: Binaries): Fix typo.
18537 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18539 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
18540 reference using the stack pointer, adjust it since we push Y
18542 ("*ashrsi3"): Likewise.
18543 ("*lshrsi3"): Likewise.
18545 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18547 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
18548 when -fomit-frame-pointer is used.
18550 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
18552 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
18553 (try_redirect_by_replacing_jump): Reverse updating properly the
18554 count and frequency information. Reverse removing cc0 setter.
18555 (forwarder_block_p): Reverse fixing for fallthru blocks.
18557 2001-07-05 DJ Delorie <dj@redhat.com>
18559 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
18560 (translate_options): If the above is defined, use it to map
18561 given options to new options.
18562 * doc/tm.texi: Document it.
18564 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
18565 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18567 * doc/invoke.texi (Optimize Options): Document that -fgcse may
18568 cause programs using computed gotos to run more slowly.
18570 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18572 * doc/install.texi (Specific): Markup, spelling and typo fixes.
18574 Consistently require binutils 2.11.2, not prereleases.
18575 (Specific, decstation-*): Canonicalize as mips-dec-*.
18576 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
18578 (Specific, m68k-altos): Removed reference to README.altos, deleted.
18579 (Specific, mips-*): Reword MIPS C compiler requirements.
18580 (Specific, powerpc*-*-*): New, mention --with-cpu once.
18581 (Specific, sunv5): Removed, obsolete.
18583 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
18585 * dwarf2out.c (output_loc_list): Use an all ones mask for
18586 .text asm output and don't rely on long long
18587 literals. Reformat some long lines.
18589 2001-07-05 Andreas Jaeger <aj@suse.de>
18591 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
18594 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18596 * dwarf2out.c (dwarf2out_define): Update comment.
18597 (dwarf2out_undef): Ditto.
18598 (dwarf2out_start_source_file): Ditto.
18599 (dwarf2out_end_source_file): Ditto.
18600 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
18601 since we never call the start/end debug hook for the primary file.
18603 2001-07-04 Kazu Hirata <kazu@hxi.com>
18605 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
18608 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18610 * cppinit.c (remove_dup_dirs): Inform if a system include
18611 directory is being reordered.
18612 * doc/invoke.texi (Directory Options): GCC warns if you hide a
18614 * doc/cpp.texi (Search Paths): Likewise.
18615 * doc/gcc.texi (Interoperation): Remove information about
18618 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18620 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
18621 (VARRAY_TOP_CHAR_PTR): Likewise.
18623 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18625 * gcc.c (process_command): Don't assign elements of a const char*.
18627 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18629 * emit-rtl.c (change_address): Don't abort if invalid address while
18630 reload is in progress.
18632 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18634 * c-lex.c (cb_file_change): Pass line number to
18635 debug_start_source_file.
18636 (cb_undefine): Pass correct line number to debug_undef.
18638 * toplev.c (debug_start_source_file): Add line number to
18639 parameters. Pass it along to dwarf2out_start_source_file.
18640 (decode_g_option): Stop resetting debug level back to normal when
18641 we change debug formats, unless the current level is
18642 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
18645 * toplev.h (debug_start_source_file): Add line number to
18648 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
18651 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
18653 Output debug_macinfo data for starting file if requested.
18654 (dwarf2out_end_source_file): Output debug_macinfo data for ending
18656 (dwarf2out_define): Output debug_macinfo data for defining a macro
18658 (dwarf2out_undef): Output debug_macinfo data for undefining a
18659 macro if requested.
18660 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
18661 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
18662 (macinfo_section_label): New. DWARF2 macro info section label.
18663 (dwarf2out_init): If we want macro info, output the start label
18665 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
18666 attribute to the compilation unit die pointing to the macro info.
18668 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18670 * dwarf2out.c (new_loc_list): Move to inside #ifdef
18671 DWARF2_DEBUGGING_INFO.
18672 (add_loc_descr_to_loc_list): Ditto.
18673 (output_loc_list): Ditto.
18674 Also, fix thinko in curr not being initialized.
18675 (gen_internal_sym): Ditto.
18677 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18679 * emit-rtl.c (replace_equiv_address): New function.
18680 * expr.h (replace_equiv_address): New declaration.
18681 * explow.c (validize_mem): Call it instead of change_address and
18682 also call if -fforce-addr and address is constant.
18683 * expr.c: Replace more calls to change_address with adjust_address
18684 and/or replace_equiv_address or to validize_mem.
18685 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
18686 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
18687 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18688 * config/i370/i370.md, config/i860/i860.md: Likewise.
18689 * config/i960/i960.md, config/mips/mips.c: Likewise.
18690 * config/mips/mips.md, config/pa/pa.md: Likewise.
18691 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
18692 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
18694 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18696 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
18698 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
18701 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
18703 * doc/include: New directory.
18704 * doc/fdl.texi: Move to doc/include/fdl.texi.
18705 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
18706 * doc/include/funding.texi, doc/include/gpl.texi: New files.
18707 * doc/gcc.texi: Use funding.texi and gpl.texi.
18708 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
18709 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
18710 Update dependencies and use -I $(docdir)/include.
18712 2001-07-04 Anthony Green <green@redhat.com>
18714 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
18716 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18718 * doc/install.texi (sparc64-*-*): Remove garbage.
18720 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
18722 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
18723 Fix typo in last change to use adjust_address.
18725 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18727 * doc/install.texi (Specific): Update information for *-*-solaris*.
18729 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18731 * explow.c (plus_constant_wide): Reinitialize Y for restart.
18733 2001-07-03 Stan Shebs <shebs@apple.com>
18735 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
18736 case for flag_no_mach_text_sections.
18737 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
18738 * config/darwin.c (flag_no_mach_text_sections): Remove.
18739 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
18741 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18743 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
18744 and avoid checking for constant as first operand.
18745 * recog.c (find_constant_term_loc): No longer static.
18746 (adj_offettable_operand): Delete.
18747 * rtl.h (adj_offsettable_operand): Delete declaration.
18748 (find_constant_term): Add declaration.
18749 * caller-save.c: Replace calls to adj_offsettable_operand with calls
18751 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
18752 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
18753 * config/i386/i386.c, config/i386/i386.md: Likewise.
18754 * config/i860/i860.c, config/i960/i960.c: Likewise.
18755 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
18756 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
18757 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
18758 * config/mips/mips.c, config/mips/mips.md: Likewise.
18759 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
18760 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
18761 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
18762 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
18763 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
18764 * config/ns32k/ns32k.md: Likewise.
18766 2001-07-03 Zack Weinberg <zackw@stanford.edu>
18768 * rtl.c (copy_rtx): Handle 'T' format letter.
18769 * gensupport.c (collect_insn_data): Likewise.
18770 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
18772 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
18774 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
18775 -B option. Use 'dir' not 'foo' as example directory name.
18777 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18779 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
18780 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
18782 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18784 * doc/cppinternals.texi: Improve formatting and logical markup.
18786 2001-07-03 Andreas Jaeger <aj@suse.de>
18788 * Makefile.in (insn-recog.o): Add dependency on reload.h.
18790 * genrecog.c (write_header): Include reload.h for prototypes in
18793 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
18796 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
18797 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
18798 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
18799 i386_pe_valid_type_attribute_p): Add.
18800 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
18801 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
18803 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18805 * explow.c (plus_constant_wide, case LO_SUM): New case.
18806 (plus_constant_for_output_wide): Delete.
18807 * rtl.h (plus_constant_for_output): Delete.
18808 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
18809 instead of plus_constant_for_output.
18810 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
18811 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
18812 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
18813 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
18814 * config/sparc/sparc.md: Likewise.
18815 Convert some change_address calls to adjust_address.
18817 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18819 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
18820 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
18821 documentation of -std and -Wwrite-strings.
18823 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18825 * cse.c (canon_hash): Don't register registers in very small
18826 register classes, as extending their lifetime might cause
18829 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
18831 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
18833 * flow.c (forwarder_block_p): Fix for fallthru blocks.
18834 (try_redirect_by_replacing_jump): Update properly the count
18835 and frequency information.
18837 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
18839 * toplev.c (dump_file_index): Move SSA dumps just after first
18841 (dump_file): Corresponding changes.
18842 (rest_of_compilation): Move SSA path to just after the first
18844 * doc/gcc.texi (Passes): Update due to movement of SSA path.
18845 * doc/invoke.texi: Update dump file #s as they were completely
18846 out of date with reality.
18848 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18850 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
18852 * expr.c (emit_move_insn_1): Deal with non-default
18855 * expr.c (emit_single_push_insn): Fix warning.
18857 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
18859 * expr.c (emit_move_insn_1): Avoid modifying
18860 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
18862 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18864 * emit-rtl.c (adjust_address): New function.
18865 * expr.h (adjust_address): Add declaration.
18866 * builtins.c: Replace some calls to change_address with calls to it
18867 or to validize_mem.
18868 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
18869 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
18870 * config/arm/arm.c, config/convex/convex.c: Likewise.
18871 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18872 * config/i386/i386.c, config/i386/i386.md: Likewise.
18873 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
18874 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
18875 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
18876 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
18877 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
18879 2001-07-02 Jim Wilson <wilson@redhat.com>
18881 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
18883 2001-07-02 Steve Ellcey <sje@cup.hp.com>
18885 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
18886 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
18888 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18890 * cppinit.c (lang_defaults): New table.
18891 (set_lang): Just read from lang_defaults into the live options
18894 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18896 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
18897 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
18898 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
18900 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18902 * doc/install.texi: Various spelling and markup fixes.
18903 (Installing GCC): Component specific installation instructions are
18906 Warn about removing old install dir in the presence of shared libs.
18907 (Configuration): Invoke with options target to match configure
18909 Consistently refer to gas, gld pathnames.
18910 Invert --enable-multilib documentation.
18911 Remove references to old compiler versions.
18913 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18915 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
18917 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18919 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
18921 (Specific, mips*-sgi-irix5): Note IDO download.
18922 Reworded MIPS C hints.
18923 Use GNU as instead of GAS.
18925 Removed SGI Freeware reference, IRIX 6 only.
18926 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
18927 Note N64 library requirement/workaround.
18929 Complete list of structure passing bug victims.
18931 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18933 * doc/install.texi: Remove CVS Id.
18935 2001-07-02 Andreas Jaeger <aj@suse.de>
18937 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
18938 (find_inherently_necessary): Remove unused variable.
18940 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
18942 * c-common.h (TDI_inlined): New ast dump phase.
18943 (dump_flag_name): New function.
18944 * c-dump.c (dump_files): Add inlined phase.
18945 (dump_flag_name): Define.
18946 * doc/invoke.texi (-fdump-ast-inlined): Document.
18948 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18950 * stor-layout.c (layout_decl): Revert change to handling of alignment
18953 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18955 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
18958 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
18960 * doc/tm.texi (FUNCTION_ARG): Document that the last call
18963 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
18965 * tlink.c (recompile_files): Remove COMPILER_PATH and
18966 LIBRARY_PATH from the environment.
18968 2001-07-01 Zack Weinberg <zackw@stanford.edu>
18970 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
18971 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
18973 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
18975 * c-parse.in (OBJC_STRING): Kill.
18976 (objc_string): Decompose to [objc_string] '@' STRING.
18977 (reswords): Take the leading '@' off all the Objective C keywords.
18978 (objc_rid_sans_at): Kill.
18979 (init_reswords): Don't initialize it.
18980 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
18981 (_yylex): Kill reconsider label. Look ahead one token after
18982 an '@'; if we get an identifier, check whether it's an
18983 Objective C @-keyword. If so, return the keyword. Otherwise,
18984 put back the token and return the '@' as a terminal.
18986 * cpplib.c (lex_macro_node): Remove unnecessary check for
18987 leading '@' on identifier. Clarify control flow and commentary.
18989 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18991 * cse.c (new_label_ref): Variable deleted.
18992 (insert): Remove set of new_label_ref.
18993 (check_for_label_ref): New function.
18994 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
18996 See ChangeLog.5 for earlier changes.