1 2001-12-23 Richard Henderson <rth@redhat.com>
3 * config/alpha/alpha.md (UNSPEC_SIBCALL): New.
4 (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it.
5 (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise.
7 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
9 * c-typeck.c (c_start_case): Don't strip conversions from the
10 controlling expression. Partially fixes PR c/2454.
12 2001-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
14 * Makefile.in (USER_H): Remove proto.h.
15 * config.gcc (c*-convex-*): Set extra_headers=proto.h.
17 2001-12-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19 * arc.c (arc_hard_regno_mode_ok): Const-ify.
20 * arc.h (arc_hard_regno_mode_ok): Likewise.
21 * i386.c (x86_64_reg_class_name): Make static.
22 * m68k.c (regno_reg_class): Const-ify.
23 * m68k.h (regno_reg_class): Likewise.
24 * mcore.c (reg_class_from_letter): Likewise.
25 * mcore.h (reg_class_from_letter): Likewise.
26 * sh.c (reg_class_from_letter, ashiftrt_insns, shift_insns,
27 ext_shift_insns, ext_shift_amounts): Likewise.
28 * sh.h (reg_class_from_letter): Likewise.
29 * sparc.c (hard_regno_mode_classes, hard_32bit_mode_classes,
30 hard_64bit_mode_classes): Likewise.
31 * sparc.h (hard_regno_mode_classes): Likewise.
33 * gcc.c (modify_target): Make static.
34 * gengenrtl.c (defs, formats): Likewise.
35 * reload1.c (elim_table_1, init_elim_table): Const-ify.
36 * tradcpp.c (directive, directive_table, handle_directive,
37 skip_if_group, run_directive): Likewise.
39 2001-12-23 Richard Henderson <rth@redhat.com>
41 * calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for
42 an invalid result register; do end the sequence properly.
43 (emit_library_call_value_1): Likewise.
45 2001-12-22 Aldy Hernandez <aldyh@redhat.com>
47 * config/rs6000/rs6000.h (rs6000_builtins): Add vsldoi variants.
49 * config/rs6000/rs6000.md ("altivec_vsldoi_*"): Same.
51 * config/rs6000/rs6000.c: Clean up some spacing and indentation.
52 (altivec_init_builtins): Add tree types for builtins with 4 bit
54 (bdesc_3arg): Add vsldoi variants.
56 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
58 * 1750a.h (datalbl, jmplbl): Declare array size explicitly.
59 * a29k.h (a29k_debug_reg_map): Likewise.
60 * arc.h (arc_regno_reg_class): Likewise.
61 * c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise.
62 * convex.h (regno_reg_class, reg_class_from_letter): Likewise.
63 * d30v.h (regno_reg_class, reg_class_from_letter): Likewise.
64 * i386.h (regclass_map): Likewise.
65 * m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise.
66 * mcore.h (regno_reg_class): Likewise.
67 * mips.h (mips_print_operand_punct, mips_char_to_class):
69 * ns32k.h (regclass_map): Likewise.
70 * pj.h (pj_debugreg_renumber_vec): Likewise.
71 * s390.h (regclass_map): Likewise.
72 * sh.h (regno_reg_class): Likewise.
73 * sparc.h (sparc_regno_reg_class): Likewise.
75 * hard-reg-set.h (reg_class_contents): Likewise.
76 * machmode.h (class_narrowest_mode): Likewise.
78 2001-12-22 David Edelsohn <edelsohn@gnu.org>
80 * loop.c (scan_loop, move_movables, count_one_set): Do not
81 overlook hard registers when computing statistics.
83 Sun Dec 23 00:49:37 CET 2001 Jan Hubicka <jh@suse.cz>
85 * calls.c (ECF_LIBCALL_BLOCK): New constant.
86 (emit_call_1, initialize_argument_information,
87 precompute_arguments, expand_call,
88 emit_library_call_value_1): Use ECF_LIBCALL_BLOCK
89 instead of ECF_PURE | ECF_CONST. Honnor LCT_CONST/LCT_PURE.
91 2001-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
93 * config.gcc (extra_headers): Move settings to math-68881.h and
94 ppc-asm.h to common code for CPU types. Use math-68881.h on all
96 (header_files): Remove unused setting.
98 2001-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
100 * elxsi.c: Include "hard-reg-set.h" and/or don't declare
101 `call_used_regs' explicitly.
109 Fri Dec 21 23:30:14 CET 2001 Jan Hubicka <jh@suse.cz>
111 * i386.h (TARGET_CPU_DEFAULT_pentium_mmx): New.
112 (TARGET_CPU_DEFAULT_*): Renumber.
114 Sat Dec 22 12:20:20 EST 2001 John Wehle (john@feith.com)
116 * rtl.h (subreg_lsb): Declare.
117 * rtlanal.c (subreg_lsb): Implement.
119 Sat Dec 22 08:59:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
121 * predict.c: Reformatting and minor cleanups.
122 * cfg.c, cfganal.c, cfgbuild.c: Likewise.
124 * expr.c (expand_expr, case ADDR_EXPR): Handling taking address of
126 * function.c (gen_mem_addressof): Add missing tests for SAVE_EXPR.
127 (put_addressof_into_stack): Clarify code in setting of used_p.
129 * calls.c (flags_from_decl_or_type): Move ECF_SP_DEPRESSED here.
130 (expand_call): Delete from here.
131 Do pending stack adjustments if ECF_SP_DEPRESSED.
133 * dwarf2out.c (save_rtx): Deleted.
134 (mem_loc_descriptor): Do equivalent operation.
135 (add_const_value_attribute, case CONST): Likewise.
136 (add_name_and_src_coords_attributes): Likewise.
138 2001-12-21 Kazu Hirata <kazu@hxi.com>
140 * config/h8300/h8300.h: Fix comment formatting.
142 Fri Dec 21 17:30:15 2001 Jeffrey A Law (law@redhat.com)
144 * pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
145 (CPLUSPLUS_CPP_SPEC): Define _INCLUDE_LONGLONG.
147 2001-12-21 Robert Lipe <robertlipe@usa.net>
149 * system.h (PREFETCH): Explictly undefine.
151 2001-12-21 Richard Henderson <rth@redhat.com>
153 * c-parse.in (SAVE_WARN_FLAGS): Save warn_traditional.
154 (RESTORE_WARN_FLAGS): Restore it.
155 (extension): Zero warn_traditional.
157 2001-12-21 Kazu Hirata <kazu@hxi.com>
159 * doc/passes.texi: Fix a typo.
161 2001-12-21 Kazu Hirata <kazu@hxi.com>
163 * config/h8300/h8300.h: Fix a comment typo.
165 2001-12-21 Jakub Jelinek <jakub@redhat.com>
167 * combine.c (nonzero_bits): If using reg_nonzero_bits,
168 we don't know anything about bits outside of X mode.
169 (num_sign_bit_copies): Likewise.
171 2001-12-21 Nick Clifton <nickc@cambridge.redhat.com>
173 * config/arm/arm.md (prefetch): Use 'a' operand code.
175 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
177 * aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in
179 * configure.in: Likewise for perl Pod::Man.
181 * configure: Regenerated.
183 2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
185 * builtin-attrs.def (__builtin_printf_unlocked,
186 __builtin_fprintf_unlocked, printf_unlocked, fprintf_unlocked):
187 Mark with the __printf__ attribute.
189 * builtins.c (expand_builtin_fputs): Add an `unlocked' parameter
190 and set the replacement function depending on it.
191 (expand_builtin): Skip BUILT_IN_*_UNLOCKED when not optimizing.
192 Handle BUILT_IN_*_UNLOCKED when optimizing.
194 * builtins.def (DEF_EXT_FALLBACK_BUILTIN,
195 DEF_EXT_FRONT_END_LIB_BUILTIN): New macros.
196 Declare the "unlocked" stdio functions.
198 * c-common.c (c_expand_builtin_printf, c_expand_builtin_fprintf):
199 Add an `unlocked' parameter and set the replacement function
201 (c_expand_builtin): Handle BUILT_IN_PRINTF_UNLOCKED and
202 BUILT_IN_FPRINTF_UNLOCKED.
204 * doc/extend.texi (printf_unlocked, fprintf_unlocked,
205 fputs_unlocked): Document.
207 2001-12-20 Josef Zlomek <zlomek@matfyz.cz>
209 * cfgloop.c (flow_loops_find): Use the information of the depth
210 first search order of the CFG correctly when finding natural loops.
212 2001-12-20 Richard Henderson <rth@redhat.com>
214 * config/alpha/alpha.md (prologue_mcount): Update for explicit relocs.
216 2001-12-20 Richard Henderson <rth@redhat.com>
218 * config/alpha/alpha.c (call_operand) [OSF]: Accept pseudos.
219 * config/alpha/alpha.md (call_osf, call_value_osf): Don't force
222 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
224 * configure.in (all_headers, all_lib2funcs): Remove.
225 * configure: Regenerate.
226 * Makefile.in (LANG_EXTRA_HEADERS): Remove.
227 (USER_H): Don't include $(LANG_EXTRA_HEADERS).
228 * config/alpha/t-interix (USER_H): Don't include
229 $(LANG_EXTRA_HEADERS).
230 * config/i386/t-interix: Likewise.
231 * config/t-openbsd: Likewise.
233 2001-12-20 Andreas Jaeger <aj@suse.de>
235 * libgcc2.c (__bb_exit_func): Remove unused variable.
236 (num_digits): Remove unused function.
238 2001-12-20 Alan Shieh <ashieh@hkn.eecs.berkeley.edu>
240 * config/arm/arm.c (arm_output_epilogue): Changed IP restore
241 to use ldmfd instead of ldmea.
242 * config/arm/arm.c (arm_compute_initial_elimination_offset):
243 Modified to reflect behavior of arm_expand_prologue when generating
246 2001-12-20 Nick Clifton <nickc@cambridge.redhat.com>
248 * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): New
249 function. Compute which of registers r0 through r12 should be
250 saved onto the stack during a function's prologue.
251 (arm_compute_save_reg_mask): Use
252 arm_compute_save_reg0_reg12_mask.
253 (arm_compute_initial_elimination_offset): Use
254 arm_compute_save_reg0_reg12_mask.
256 (arm_expand_prologue): Do not mark as save of the IP register
257 for an interrupt handler as being part of the frame creation
260 2001-12-20 Richard Henderson <rth@redhat.com>
262 * varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer
263 to emit floating point values.
264 (assemble_real_1): Remove.
266 * 1750a/1750a.c (real_value_to_target_single): New.
267 (real_value_to_target_double): New.
268 * 1750a/1750a.h (TARGET_FLOAT_FORMAT): New.
269 (REAL_VALUE_TO_TARGET_SINGLE): New.
270 (REAL_VALUE_TO_TARGET_DOUBLE): New.
271 * 1750a/1750a-protos.h: Update.
273 * 1750a/1750a.h, a29k/a29k.h, alpha/alpha.h, alpha/unicosmk.h,
274 alpha/vms.h, arc/arc.h, arm/aof.h, arm/aout.h, avr/avr.c,
275 avr/avr.h, c4x/c4x.h, clipper/clix.h, convex/convex.h, cris/cris.h,
276 d30v/d30v.h, dsp16xx/dsp16xx.c, dsp16xx/dsp16xx.h, elxsi/elxsi.h,
277 fr30/fr30.h, h8300/h8300.h, i370/i370.h, i386/i386.h, i386/i386elf.h,
278 i386/next.h, i386/ptx4-i.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h,
279 i860/paragon.h, i860/sysv4.h, i960/i960-protos.h, i960/i960.c,
280 i960/i960.h, ia64/ia64.h, m32r/m32r.h, m68hc11/m68hc11.c,
281 m68hc11/m68hc11.h, m68k/3b1.h, m68k/altos3068.h, m68k/crds.h,
282 m68k/dpx2.h, m68k/hp320.h, m68k/m68k.h, m68k/mot3300.h, m68k/news.h,
283 m68k/next.h, m68k/next21.h, m68k/sgs.h, m68k/sun2o4.h, m68k/sun3.h,
284 m68k/tower-as.h, m88k/m88k.h, mcore/mcore.h, mips/mips-protos.h,
285 mips/mips.c, mips/mips.h, mmix/mmix-protos.h, mmix/mmix.c,
286 mmix/mmix.h, mn10200/mn10200.h, mn10300/mn10300.h, ns32k/encore.h,
287 ns32k/ns32k.h, pa/long_double.h, pa/pa.h, pdp11/pdp11.h, pj/pj.h,
288 romp/romp.c, romp/romp.h, rs6000/rs6000.h, s390/linux.h, sh/sh.h,
289 sparc/sparc.h, stormy16/stormy16.h, v850/v850.h, vax/vax.h,
290 vax/vaxv.h, we32k/we32k.h, doc/tm.texi: Remove ASM_OUTPUT_FLOAT,
291 ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE_FLOAT,
292 ASM_OUTPUT_SHORT_FLOAT, ASM_OUTPUT_THREE_QUARTER_FLOAT, and all
293 associated support routines.
295 Thu Dec 20 16:58:46 CET 2001 Jan Hubicka <jh@suse.cz>
297 * cfgcleanup.c (flow_find_cross_jump): Avoid incrementing of ninsns
298 if one of block does not contain jump.
299 (outgoing_edge_math): Revert last path; require edges to be noncomplex
300 nonfake to match single exit edge; require conditional jumps to not
303 2001-12-20 Turly O'Connor <turly@apple.com>
305 * tm.texi (ASM_OUTPUT_OPERAND): Change documentation references to
306 "recog_operand" to "recog_data.operand".
309 2001-12-20 Jakub Jelinek <jakub@redhat.com>
311 * simplify-rtx.c (simplifi_binary_operation) [DIV]: If DIV has
312 narrower mode than op0, only return the bits in DIV's mode.
314 2001-12-20 Jakub Jelinek <jakub@redhat.com>
316 * combine.c (distribute_notes): Avoid adding REG_LABEL notes
317 to JUMP_INSNs with JUMP_LABEL.
319 2001-12-19 Aldy Hernandez <aldyh@redhat.com>
321 * doc/install.texi: Add documentation for --enable-altivec.
323 * config.gcc: Add support for --enable-altivec.
325 * config/rs6000/altivec.h: New.
327 * config/rs6000/linuxaltivec.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
330 * config/rs6000/rs6000.c (vrsave_operation): Change unspec to
332 (generate_set_vrsave): Generate the unspec here instead of calling
334 (generate_set_vrsave): Use gen_rtvec.
335 (rs6000_emit_prologue): Replace call to gen_get_vrsave with
338 * config/rs6000/rs6000.md ("*movsi_internal1"): Add constraints
339 for setting special registers.
340 ("*set_vrsave_internal"): Use unspec_volatile.
341 ("set_vrsave"): Remove.
342 ("get_vrsave"): Remove.
344 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add vrsave to
347 2001-12-19 Bruce Korb <bkorb@gnu.org>
349 * gcc/fixinc/inclhack.def: Remove all the fix suppression "fixes".
350 (strict_ansi_not_ctd): accommodate __STDC__ == 0 tests in UW 2.1.2
351 * gcc/fixinc/mkfixinc.sh(i?86-*-sysv4.2uw2*): now uses fixincl program
352 * gcc/fixinc/base/...: adjust for changes in fixes
354 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
356 * po/gcc.pot: Regenerate.
358 * configure.in (all_diff_excludes, diff_excludes): Remove.
359 * configure: Regenerate.
360 * Makefile.in (LANG_DIFF_EXCLUDES): Remove.
361 * objc/config-lang.in (diff_excludes): Remove.
363 2001-12-19 Dan Nicolaescu <dann@ics.uci.edu>
365 * config/sparc/sparc.md (ldd peephole2s): For load peepholes pass
366 the destination register as a parameter to mems_ok_for_ldd_peep.
367 For store peepholes pass NULL_RTX. Move all volatile checks ...
368 * config/sparc/sparc.c (mems_ok_for_ldd_peep): ... here. Add a
369 register parameter, check it's not the same as base for an address.
370 * config/sparc/sparc-protos.h (mems_ok_for_ldd_peep): Update.
372 2001-12-19 Jakub Jelinek <jakub@redhat.com>
374 * config/ia64/ia64.c (ia64_single_set): Return first set for
375 prologue_allocate_stack and epilogue_deallocate_stack instructions.
377 2001-12-19 Dale Johannesen <dalej@apple.com>
379 * config/rs6000/rs6000.h: LEGITIMIZE_RELOAD_ADDRESS:
380 redefine in terms of rs6000_legitimize_reload_address().
381 * config/rs6000/rs6000-protos.h: Add this function.
382 * config/rs6000/rs6000.c: Add this function. Includes
383 handling for Darwin FP constants.
385 Wed Dec 19 11:01:21 2001 Jeffrey A Law (law@redhat.com)
387 * config/pa/t-hpux-shlib: New file.
388 * config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file
389 for 32bit hpux10 & hpux11 configurations.
391 2001-12-19 Nick Clifton <nickc@cambridge.redhat.com>
393 * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Pass
394 -mno-fpu onto gas unless -mhard-float is specified.
395 (MULTILIB_DEFAULTS): Include msoft-float.
397 * config/arm/t-xscale-coff (EXTRA_MULTILIB_PARTS): Remove definition.
399 * config/arm/coff.h (SUPPORTS_INIT_PRIORITY): Define (to false).
400 * config/arm/elf.h (SUPPORTS_INIT_PRIORITY): Define (to true).
402 Wed Dec 19 06:12:34 2001 Douglas B. Rupp <rupp@gnat.com>
404 * dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
407 2001-12-18 Stan Shebs <shebs@apple.com>
409 * rs6000.h (LOCAL_ALIGNMENT): Fix parens.
411 Tue Dec 18 17:02:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
413 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
416 2001-12-18 David Edelsohn <edelsohn@gnu.org>
418 * rs6000.c (rs6000_override_options): Only use DI ops when
419 TARGET_64BIT. Fix typo.
421 Tue Dec 18 16:39:46 CET 2001 Jan Hubicka <jh@suse.cz>
423 * att.h (ASM_FILE_START): Use asm_dialect.
424 * linux.h (ASM_FILE_START): Likewise.
425 * gas.h (ASM_FILE_START): Likewise.
426 * i386.c (ix86_debug_arg_string, ix86_debug_addr_string,
427 ix86_asm_string, ix86_asm_dialect): New.
428 (override_options): Set asm_dialect.
429 * i386.h (MASK_MIX_SSE_I387, MASK_INTEL_SYNTAX, MASK_DEBUG_ARG,
430 MASK_DEBUG_ADDR): Kill.
431 (MASK_64BIT, MASK_NO_RED_ZONE): renumber.
432 (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Use string.
433 (ASSEMBLER_DIALECT): Use asm_dialect.
434 (TARGET_SWITCHES): Undocument deprecated items; deprecate intel-syntax;
435 remove debug-addr and debug-arg.
436 (TARGET_OPTIONS): Add debug-arg, debug-addr, asm.
437 (asm_dialect): New enum.
438 (ix86_debug_arg_string, ix86_debug_addr_string,
439 ix86_asm_string, ix86_asm_dialect): Declare.
440 * invoke.texi (-mintel-syntax): Remove.
443 Tue Dec 18 16:37:42 CET 2001 Jan Hubicka <jh@suse.cz>
445 * libgcc2.c (__bb_exit_func): Kill -ax dumping code.
447 2001-12-18 Jason Merrill <jason@redhat.com>
449 C++ ABI change: destroy value arguments in caller.
450 * calls.c (initialize_argument_information): Pass the address of
451 the TARGET_EXPR temporary rather than storing it into another.
453 Tue Dec 18 07:09:06 2001 Douglas B. Rupp <rupp@gnat.com>
455 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Add /gnu/include.
456 * config/alpha/vms.h (STACK_CHECK_BUILTIN): #define 0 for VMS.
458 2001-12-18 Jakub Jelinek <jakub@redhat.com>
460 * config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
461 * config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
462 * config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
463 (CC1_SPEC): Don't default to -gstabs+ if -m32.
465 2001-12-05 David O'Brien <obrien@FreeBSD.org>
467 * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
469 2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
471 * po/gcc.pot: Regenerate.
473 2001-12-18 Kazu Hirata <kazu@hxi.com>
475 * config/h8300/h8300.c: Fix comment typos.
476 * config/h8300/h8300.h: Fix comment formatting.
478 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
480 * machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
481 mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
482 declaration to NUM_MACHINE_MODES.
483 (mode_size, mode_unit_size): Set array type to unsigned char.
484 (mode_bitsize): Set array type to unsigned short.
486 * rtl.c (rtx_length): Set array type to unsigned char.
487 (rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
489 (mode_bitsize): Set array type to unsigned short.
490 (mode_size, mode_unit_size): Set array type to unsigned char.
491 (mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
492 mode_wider_mode, mode_mask_array): Set array size to
495 * rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
496 size in declaration to NUM_RTX_CODE.
498 2001-12-17 Richard Henderson <rth@redhat.com>
500 * config/alpha/alpha.md (unop): Encode RB as $sp.
502 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
504 * Makefile.in: Update dependencies.
505 * c-lang.c: Remove unnecessary includes.
506 (deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to
508 (finish_file): Move body to c_common_finish_file.
509 * c-objc-common.c: Include varray.h and ggc.h.
510 (deferred_fns, start_cdtor, finish_cdtor, defer_fn,
511 expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c.
512 (c_objc_common_init): Initialize deferred function array.
513 * c-tree.h (c_objc_common_finish_file,
514 static_ctors, static_dtors): New.
516 * Make-lang.in: Update dependencies.
517 * objc/objc-act.c: Don't include varray.h.
518 (defer_fn, deferred_fns): Move to c-objc-common.c.
519 (objc_init): Similarly for initialization of it.
520 (finish_file): Move some to c-objc-common.c, use
521 c_objc_common_finish_file.
523 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
525 * config/rs6000/rs6000.c: Remove is_gpr_return_reg prototype.
527 2001-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
529 * doc/cppinternals.texi: Update.
531 Mon Dec 17 14:21:21 2001 Jeffrey A Law (law@redhat.com)
533 * expmed.c (emit_store_flag): Extract updated comparison code
534 from the return value of compare_from_rtx.
535 * expr.c (do_store_flag): Similarly.
537 2001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
539 * caller-save.c (init_caller_save): Use MODE_BASE_REG_CLASS in
540 preference to BASE_REG_CLASS.
541 * recog.c (preprocess_constraints): Ditto.
542 * regclass.c (record_operand_costs, scan_one_insn, regclass,
543 record_reg_classes, record_address_regs): Ditto.
544 * regrename.c (scan_rtx_address, scan_rtx,
545 replace_oldest_value_addr, replace_oldest_value_mem): Ditto.
546 * reload.c (find_reloads, find_reloads_address,
547 find_reloads_address_1): Ditto.
548 * reload1.c (maybe_fix_stack_asms): Ditto.
549 * defaults.h (MODE_BASE_REG_CLASS): Provide default
551 * doc/tm.texi: Document MODE_BASE_REG_CLASS.
553 * config/arm/arm.h (MODE_BASE_REG_CLASS): Define.
555 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
557 * doc/install.texi2html: Use -I $SOURCEDIR.
559 Separate user and internals manuals.
560 * Makefile.in (info, $(docdir)/gcc.info, dvi, gcc.dvi): Update
562 ($(docdir)/gccint.info, gccint.dvi): New targets.
563 (maintainer-clean, install-info, uninstall): Update.
564 * doc/.cvsignore: Add gccint.info*.
565 * doc/include/gcc-common.texi: New file.
566 * doc/gcc.texi: Use it. Adjust to be a user-only manual. Put
567 copyright notice in a macro. Don't include ISBN unless FSFPRINT
569 * doc/gccint.texi: New file.
570 * doc/configfiles.texi, doc/extend.texi, doc/invoke.texi,
571 doc/md.texi, doc/passes.texi, doc/tm.texi, doc/trouble.texi:
572 Update for separate user and internals manuals.
574 2001-12-17 Dale Johannesen <dalej@apple.com>
576 * config/rs6000/rs6000.h: CPP_CPU_SPEC: add mcpu=7400.
578 RTX_COSTS: Fix timing info for 7450 multiply.
579 * config/rs6000/rs6000.md: Fix timing info for 7450 imul.
580 Allow floats to be kept in int regs in movsf_low,
581 movsf_low_st (Darwin only)
583 2001-12-17 Aldy Hernandez <aldyh@redhat.com>
585 * config/rs6000/rs6000.c (vrsave_operation): Recognize SETs in
587 (is_gpr_return_reg): New.
588 (rs6000_emit_prologue): Call generate_set_vrsave with additional
589 argument. Save only registers in the mask. Attach
590 REG_FRAME_RELATED_EXPR note to altivec offsets. Do not call
591 rs6000_frame_related when saving VRSAVE.
592 (rs6000_emit_epilogue): Call generate_set_vrsave with additional
593 argument. Restore only registers in the mask. Restore altivec
594 registers after we restore CR.
595 (generate_set_vrsave): New parameter epiloguep. Generate unspec
596 sets instead of clobbers for call saved registers.
597 (altivec_frame_fixup): New.
599 2001-12-17 Richard Henderson <rth@redhat.com>
601 * config/sparc/sparc.md (movdi_zero): Remove.
602 (movdi_insn_sp32_v9): New.
604 2001-12-17 Richard Henderson <rth@redhat.com>
606 * cfgcleanup.c (outgoing_edges_match): Check for insn match with
607 a single outgoing edge too.
609 Mon Dec 17 18:27:52 CET 2001 Jan Hubicka <jh@suse.cz>
611 * cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal
612 edges resulting from computed jump
614 Mon Dec 17 17:57:05 CET 2001 Jan Hubicka <jh@suse.cz>
616 * Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
617 * basic-block.h (CLEANUP_THREADING): New constant.
618 * cfgcleanup.c: Include cselib.h
619 (thread_jump, mark_effect): New functions.
620 (try_forward_edges): Do jump threading when asked for.
621 * jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
622 modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
623 * rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
624 * toplev.c (rest_of_compilation): Do now call thread_jumps; use
625 CLEANUP_THREAD instead.
627 2001-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
629 * sparc/linux.h (STARTFILE_SPEC): Fix typo in last change.
631 2001-12-17 Tom Rix <trix@redhat.com>
633 * config/rs6000/rs6000.c (expand_block_move): Fix limits on max size
636 2001-12-17 Richard Sandiford <rsandifo@redhat.com>
638 * target.h (asm_out.byte_op, asm_out.aligned_op, asm_out.unaligned_op,
639 asm_out.integer): New fields.
640 * target-def.h (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_[HSDT]I_OP,
641 TARGET_ASM_UNALIGNED_[HSDT]I_OP, TARGET_ASM_INTEGER): New initialisers.
642 (TARGET_ASM_ALIGNED_INT_OP, TARGET_ASM_UNALIGNED_INT_OP): Collect
643 the individual initialisers together.
644 (TARGET_ASM_OUT): Add the new initialisers.
645 * output.h (assemble_integer): Return bool.
646 (integer_asm_op): Declare.
647 (default_assemble_integer): Declare.
648 (assemble_aligned_integer): New interface to assemble_integer.
649 * varasm.c (integer_asm_op): New function to select pseudo-op.
650 (default_assemble_integer): Default implementation of asm_out.integer.
651 (assemble_integer): Use the new target hook. Split objects into
652 words or bytes if the target hook fails. Return bool.
653 * doc/tm.texi (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_OUTPUT_SHORT,
654 ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_OUTPUT_QUADRUPLE_INT,
655 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
656 UNALIGNED_DOUBLE_INT_ASM_OP): Undocument.
657 Document new target hooks.
659 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Use integer_asm_op.
660 * dwarf2asm.c (unaligned_integer_asm_op): Remove.
661 (dw2_assemble_integer): New.
662 (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
663 dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx,
664 dw2_asm_output_encoded_addr_rtx): Use it.
665 (dw2_asm_output_nstring): Use assemble_integer for the null terminator.
666 (dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Use
667 integer_asm_op to get the byte pseudo-op. Use assemble_integer
669 * dwarf2asm.h (dw2_assemble_integer): Declare.
670 * dwarfout.c: Include dwarf2asm.h. Use dwarf2 functions for the
671 default implementation of most macros.
672 (output_unsigned_leb128): Use dw2_asm_output_data.
673 (output_signed_leb128, dwarfout_source_line): Likewise.
674 (output_reg_number): Use dw2_assemble_integer.
675 (generate_macinfo_entry): Separate the type and offset arguments.
676 Use assemble_integer to write the value.
677 (dwarfout_start_source_file): Update generate_macinfo_entry usage.
678 (dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Likewise.
679 * final.c (output_addr_const): Don't put brackets round a subtracted
681 * halfpic.c (half_pic_finish): Use assemble_aligned_integer.
683 * config/1750a/1750a.c (assemble_integer_1750a): New,
684 * config/alpha/alpha.h (literal_section): Avoid ASM_OUTPUT_INT.
685 * config/arc/arc.c (arc_assemble_integer): New.
686 * config/arc/arc.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
687 * config/arm/arm.c (arm_poke_function_name): Likewise.
688 (arm_assemble_integer): New, extracted from...
689 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): ...here, now removed.
690 (ARM_TRAMPOLINE_TEMPLATE, ARM_FUNCTION_PROFILER): Avoid ASM_OUTPUT_INT.
691 (ARM_FUNCTION_PROFILER): Likewise.
692 * config/avr/avr-protos.h (asm_output_byte): Remove.
693 (asm_output_char, asm_output_short): Remove.
694 * config/avr/avr.c (avr_assemble_integer): New.
695 (asm_output_byte, asm_output_char, asm_output_short): Remove.
696 * config/clipper/clipper.h (ASM_LONG): Remove.
697 * config/dsp16xx/dsp16xx-protos.h (asm_output_long): Remove.
698 * config/dsp16xx/dsp16xx.c (asm_output_long): Remove.
699 * config/elxsi/elxsi.c (elxsi_assemble_integer): New.
700 * config/i370/i370.c (i370_hlasm_assemble_integer): New.
701 * config/i370/i370.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
702 (ASM_BYTE, ASM_SHORT, ASM_LONG): Delete.
703 * config/i386/att.h, (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
704 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
705 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
706 * config/i386/sco5.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
707 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
708 * config/i386/sysv4.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
709 ASM_LONG instead of UNALIGNED_INT_ASM_OP.
710 * config/i860/fx2800.h (ASM_FILE_END): Avoid ASM_LONG.
711 * config/i860/i860.c (i860_output_function_epilogue): Likewise.
712 * config/i860/i860.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
713 (ASM_SHORT, ASM_LONG): Undefine.
714 * config/i860/paragon.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
715 * config/i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
716 * config/i960/i960.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
717 * config/ia64/ia64.c (ia64_assemble_integer): New.
718 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use integer_asm_op.
719 (ASM_OUTPUT_DWARF_PCREL): Likewise.
720 * config/m68hc11/m68hc11.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
721 ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT): Avoid ASM_LONG.
722 (ASM_SHORT, ASM_LONG): Remove.
723 * config/m68k/m68k.h (INT_OP_GROUP): New macro.
724 (INT_OP_STANDARD, INT_OP_DOT_WORD, INT_OP_NO_DOT, INT_OP_DC): New
725 macros, the allowed values for INT_OP_GROUP.
726 * config/m68k/amix.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP
727 * config/m68k/atari.h (ASM_OUTPUT_ASCII): Likewise
728 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Likewise
729 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
730 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
731 * config/m68k/dpx2.h (ASM_LONG): Undefine.
732 (INT_OP_GROUP): Define to INT_OP_DC.
733 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
734 * config/m68k/hp320.h (INT_OP_GROUP): Define to INT_OP_NO_DOT.
735 * config/m68k/lynx.h (ASM_LONG): Undefine.
736 * config/m68k/dpx2g.h (ASM_LONG): Undefine.
737 * config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
738 * config/m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
739 (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_*.
740 * config/m68k/mot3300.h (INT_OP_GROUP): Define to INT_OP_STANDARD
741 for GAS and INT_OP_NO_DOT otherwise.
742 (ASM_CHAR, ASM_BYTE, ASM_SHORT, ASM_LONG): Remove.
743 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
744 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid ASM_LONG.
745 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
746 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
747 (INT_OP_GROUP): Define to INT_OP_STANDARD.
748 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
749 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid LONG_ASM_OP.
750 (ASM_OUTPUT_ASCII): Avoid BYTE_ASM_OP.
751 * config/m68k/tower-as.h (ASM_LONG): Remove.
752 (INT_OP_GROUP): Define to INT_OP_NO_DOT.
753 * config/m88k/m88k.c (output_tdesc): Avoid ASM_LONG.
754 * config/m88k/m88k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
755 (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid ASM_LONG.
756 * config/mips/iris5.h (TARGET_IRIX5): Define.
757 * config/mips/mips.c (mips_assemble_integer): New.
758 * config/mips/sni-svr4.h (ASM_LONG): Undefine.
759 * config/mmix/mmix-protos.h (mmix_asm_output_double_int): Remove.
760 * config/mmix/mmix.c (mmix_assemble_integer): New.
761 (mmix_asm_output_double_int): Remove.
762 (mmix_print_operand): Call mmix_output_octa directly.
763 * config/mmix/mmix.h (ASM_LONG): Remove.
764 * config/ns32k/ns32k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
765 * config/pa/pa.c (pa_assemble_integer): New.
766 (pa_override_options): Only use aligned DI ops on 64-bit targets.
767 Only use the unaligned ops if TARGET_GAS.
768 * config/pdp11/pdp11.c (pdp11_assemble_integer): New.
769 * config/pdp11/pdp11.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
770 * config/pj/pj.h (ASM_LONG): Undefine.
771 * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Undefine.
772 * config/rs6000/rs6000.c (rs6000_assemble_integer): New, mostly
773 extracted from ASM_OUTPUT_INT in sysv4.h. Use in_text_section()
774 and in_toc_section() rather than the in_section variable.
775 (rs6000_override_options): Only use DI ops when TARGET_POWERPC64.
776 * config/rs6000/sysv4.h (TOC_SECTION_FUNCTION): Add in_toc_section().
777 (RELOCATABLE_NEEDS_FIXUP): Define.
778 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Change space to tab.
779 * config/s390/linux.h (ASM_SHORT, ASM_LONG, ASM_QUAD): Remove.
780 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use integer_asm_op
781 to get the word directive.
782 (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
783 * config/s390/s390.c (s390_assemble_integer): New.
784 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use
785 integer_asm_op to get the word directive.
786 * config/sparc/sol2.h (ASM_SHORT, ASM_LONG): Remove.
787 * config/sparc/sparc-protos.h (output_double_int): Remove.
788 * config/sparc/sparc.c (output_double_int): Move to...
789 (sparc_assemble_integer): ...this new function.
790 (sparc_override_options): Only use .uaxword if TARGET_ARCH64.
791 * config/sparc/sparc.h (ASM_SHORT, ASM_LONG, ASM_LONGLONG): Remove.
792 * config/sparc/sysv4.h (ASM_LONG): Remove.
793 (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid
795 * config/vax/vax.h (TRAMPOLINE_TEMPLATE): Use assemble_aligned_integer.
796 * config/we32k/we32k.h (TRAMPOLINE_TEMPLATE): Likewise.
798 * config/1750a/1750a.c, config/a29k/a29k.c, config/alpha/alpha.c,
799 config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c,
800 config/clipper/clipper.c, config/convex/convex.c, config/cris/cris.c,
801 config/d30v/d30v.c, config/dsp16xx/dsp16xx.c, config/elxsi/elxsi.c,
802 config/fr30/fr30.c, config/h8300/h8300.c, config/i370/i370.c,
803 config/i386/i386.c, config/i860/i860.c, config/i960/i960.c,
804 config/ia64/ia64.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
805 config/m68k/m68k.c, config/m88k/m88k.c, config/mips/mips.c,
806 config/mmix/mmix.c, config/mn10200/mn10200.c, config/mn10300/mn10300.c,
807 config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
808 config/sh/sh.c, config/sparc/sparc.c, config/stormy16/stormy16.c,
809 config/v850/v850.c, config/vax/vax.c, config/we32k/we32k.c
810 (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_HI_OP,
811 TARGET_ASM_ALIGNED_SI_OP, TARGET_ASM_ALIGNED_DI_OP,
812 TARGET_ASM_UNALIGNED_HI_OP, TARGET_ASM_UNALIGNED_SI_OP,
813 TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_INTEGER): Redefine as
816 * config/defaults.h, config/darwin.h, config/elfos.h, config/svr3.h,
817 config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
818 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
819 config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h,
820 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
821 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
822 config/i386/bsd.h, config/i386/djgpp.h, config/i386/i386.h,
823 config/i386/sco5.h, config/i386/sol2.h, config/i386/sun386.h,
824 config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h,
825 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/auxas.h,
826 config/m68k/dpx2.h, config/m68k/hp320.h, config/m68k/m68k.h,
827 config/m68k/mot3300.h, config/m68k/sgs.h, config/m68k/tower-as.h,
828 config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore.h,
829 config/mips/iris5.h, config/mips/iris6.h, config/mips/mips.h,
830 config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h
831 config/ns32k/encore.h, config/ns32k/ns32k.h, config/pa/pa-64.h,
832 config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h,
833 config/romp/romp.h, config/rs6000/linux64.h, config/rs6000/rs6000.h,
834 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/linux.h,
835 config/sh/sh.h, config/sparc/linux64.h, config/sparc/sol2.h,
836 config/sparc/sp64-elf.h, config/sparc/sparc.h, config/sparc/sysv4.h,
837 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
838 config/we32k/we32k.h (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_BYTE_OP,
839 ASM_BYTE, ASM_OUTPUT_SHORT, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT,
840 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
841 UNALIGNED_DOUBLE_INT_ASM_OP): Undefine, where defined.
843 2001-12-17 Stan Shebs <shebs@apple.com>
845 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
846 (STACK_BOUNDARY): Remove definition.
847 (CPP_PREDEFINES): Define __POWERPC__.
849 2001-12-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
851 * doc/c-tree.texi (Trees): Only refer to GCC.
853 2001-12-17 Andreas Jaeger <aj@suse.de>
855 * c-common.def: Fix typo in comment.
857 2001-12-16 David O'Brien <obrien@FreeBSD.org>
859 * config.gcc (sparc64-*-freebsd*): Add target.
860 * config/sparc/freebsd.h: New file.
861 * config/sparc/sparc.h (LIB_SPEC, LINK_SPEC): Don't define.
862 * config/sparc/sunos4.h (LIB_SPEC, LINK_SPEC): Define.
863 * config/sparc/sysv4.h (CPP_PREDEFINES): Undefine before defining.
865 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
867 * config/rs6000/rs6000.c (rs6000_legitimize_address): Force both
868 PLUS operands into registers for altivec mode.
870 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
872 * builtins.c (apply_args_size): Change regno to unsigned.
874 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
876 * config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): Change
877 ALTIVEC_ARG_MAX_REG to ALTIVEC_ARG_NUM_REG.
879 2001-12-16 Zack Weinberg <zack@codesourcery.com>
881 * c-typeck.c (error_init, pedwarn_init, warning_init): Call
882 gettext on argument before printing.
884 * fold-const.c (negate_expr): Always call fold on new
887 2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
889 * c-common.def (COMPOUND_LITERAL_EXPR): Contain a DECL_STMT, not
891 * c-common.h (COMPOUND_LITERAL_EXPR_DECL_STMT): New.
892 (COMPOUND_LITERAL_EXPR_DECL): Adjust definition.
893 * c-decl.c (build_compound_literal): Put the decl inside a
895 * doc/c-tree.texi (COMPOUND_LITERAL_EXPR): Update documentation.
898 2001-12-16 Aldy Hernandez <aldyh@redhat.com>
900 * config.gcc: Add powerpc-*-eabisimaltivec*.
902 2001-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
904 * c-common.c, c-common.h (back_end_hook): Remove.
905 * c-lang.c (finish_file): Remove back_end_hook.
907 Sun Dec 16 13:13:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
909 * expr.c (highest_pow2_factor, case INTEGER_CST): Fix error in
912 2001-12-16 Richard Henderson <rth@redhat.com>
914 * toplev.c (parse_options_and_default_flags): Don't enable
915 flag_cprop_registers at -O1.
917 2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
919 * avr.c (avr_simplify_comparision_p, adjust_insn_length,
920 mask_one_bit_p, output_reload_insisf): Don't use the 'U' suffix.
921 * avr.h (reg_class): Likewise.
923 * mcore.c (try_constant_tricks, mcore_byte_offset,
924 mcore_halfword_offset): Likewise.
925 * sh.c (shl_sext_kind, gen_block_redirect, split_branches): Likewise.
926 * v850.c (not_power_of_two_operand): Likewise.
928 * clipper/clix.h (ASM_OUTPUT_ASCII): Avoid signed/unsigned
930 * convex.h (ASM_OUTPUT_ASCII): Likewise.
931 * i370.h (ASM_OUTPUT_ASCII): Likewise.
932 * i386/att.h (ASM_OUTPUT_ASCII): Likewise.
933 * i386/i386-interix.h (ASM_OUTPUT_ASCII): Likewise.
934 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
935 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
936 * i386/sco5.h (ASM_OUTPUT_ASCII): Likewise.
937 * i386/sun386.h (ASM_OUTPUT_ASCII): Likewise.
938 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
939 * i860/bsd.h (ASM_OUTPUT_ASCII): Likewise.
940 * m68k/3b1.h (ASM_OUTPUT_ASCII): Likewise.
941 * m68k/amix.h (ASM_OUTPUT_ASCII): Likewise.
942 * m68k/atari.h (ASM_OUTPUT_ASCII): Likewise.
943 * m68k/crds.h (ASM_OUTPUT_ASCII): Likewise.
944 * m68k/hp320.h (ASM_OUTPUT_ASCII): Likewise.
945 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
946 * m68k/mot3300.h (ASM_OUTPUT_ASCII): Likewise.
947 * m68k/sgs.h (ASM_OUTPUT_ASCII): Likewise.
948 * m68k/tower-as.h (ASM_OUTPUT_ASCII): Likewise.
949 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Likewise.
950 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
951 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
952 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
953 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
954 * vax/vaxv.h (ASM_OUTPUT_ASCII): Likewise.
955 * we32k/we32k.h (ASM_OUTPUT_ASCII): Likewise.
957 * i386/uwin.h (MD_STARTFILE_PREFIX): Avoid redefinition warnings.
958 * interix.h (TARGET_MEM_FUNCTIONS): Likewise.
959 * psos.h (CPP_PREDEFINES): Likewise.
960 * rs6000/linux64.h (ROUND_TYPE_ALIGN): Likewise.
961 * rs6000/xcoff.h (RS6000_MCOUNT, RS6000_ITRUNC, RS6000_UITRUNC,
962 ASM_OUTPUT_EXTERNAL): Likewise.
963 * sparc/liteelf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
965 * sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): Likewise.
966 * sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
968 * sparc/sunos4.h (SUNOS4_SHARED_LIBRARIES): Likewise.
970 * c-lex.c (lex_number): Use ISXDIGIT/hex_value.
971 * vax/xm-vms.h (FILE_NAME_NONDIRECTORY): Use ISUPPER/TOLOWER.
972 * fold-const.c (real_hex_to_f): Use hex_value.
973 * real.c (asctoeg): Use hex_value & ISXDIGIT.
974 * toplev.c (toplev_main): Call hex_init.
975 * tradcpp.c (main): Call hex_init.
977 * nextstep-protos.h: New file.
978 * nextstep.c: Include "rtl.h", "output.h" & "tm_p.h".
979 * nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and
980 STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause.
981 (nextstep_asm_out_constructor, nextstep_asm_out_destructor,
982 handle_pragma): Move prototypes to nextstep-protos.h.
983 * config.gcc (i[34567]86-next-*, m68k-next-nextstep2*,
984 m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file.
986 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
989 * configure.in: Add AC_SUBST(target_alias).
990 * configure: Regenerated.
992 2001-12-15 Richard Henderson <rth@redhat.com>
994 * config/alpha/alpha.md (sibcall_osf_1_er): New.
995 (sibcall_value_osf_1_er): New.
997 2001-12-15 Dan Nicolaescu <dann@ics.uci.edu>
999 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Rename from
1000 addrs_ok_for_ldd_peep_withmem; take MEMs as parameters, not
1001 addrs; eliminate restriction of only using fp and sp as base
1003 * config/sparc/sparc-protos.h: Update.
1004 * config/sparc/sparc.md (movdi): Use TARGET_V9 not TARGET_ARCH64.
1005 (*cmp_cc_set, *cmp_ccx_set64, *movdi_zero): New insns derived
1006 from old define_peepholes.
1007 Convert all the ldd/std peepholes to peephole2.
1009 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1011 * s390.md (prologue, epilogue, *return_si, *return_di): New.
1012 s390.c (find_unused_clobbered_reg, s390_frame_info,
1013 save_fpr, restore_fpr, s390_emit_prologue, s390_emit_epilogue): New.
1014 s390-protos.h (s390_emit_prologue, s390_emit_epilogue): Declare.
1015 s390.c (s390_arg_frame_offset): Use s390_frame_info.
1016 (leaf_function_flag, cur_is_leaf_function,
1017 save_fprs, restore_fprs, force_const_mem_late): Remove.
1018 (s390_function_prologue, s390_function_epilogue): Mostly remove.
1019 s390.md (lit): New. Uses ...
1020 s390.c (s390_output_constant_pool): ... this, so adapt and make global.
1021 s390-protos.h (s390_output_constant_pool): Declare.
1022 s390.md (load_multiple, store_multiple): Allow use after reload.
1023 s390.c (load_multiple_operation, store_multiple_operation): Likewise.
1024 s390.h (INCOMING_FRAME_SP_OFFSET): Define.
1025 s390.h (CALL_REALLY_USED_REGISTERS): Define.
1026 config/s390/linux64.h (CALL_USED_REGISTERS): Remove, now handled ...
1027 s390.h (CONDITIONAL_REGISTER_USAGE): ... here.
1028 s390.c (s390_sr_alias_set): New global variable, initialized ...
1029 (override_options): ... here. New.
1030 s390-protos.h (override_options): Declare.
1031 s390.h (OVERRIDE_OPTIONS): Call it.
1032 s390.c (s390_function_profiler): New.
1033 s390-protos.h (s390_function_profiler): Declare.
1034 s390.h (FUNCTION_PROFILER): Call it.
1035 s390.c (s390_profile): Remove.
1037 * s390.c (reg_used_in_mem_p): PC reload counts as memory access.
1038 (addr_generation_dependency_p): Consider literal pool register loads.
1039 (s390_adjust_priority): Do not schedule load_multiple.
1040 s390.md (attribute "type"): Define some additional types.
1041 (function_unit "integer"): Adapt.
1042 (many insns): Adapt "type" attribute setting.
1044 * s390.c (general_s_operand, s_imm_operand): New.
1045 (s_operand): Remove old definition, call general_s_operand instead.
1046 s390-protos.h (s_imm_operand): Declare.
1047 s390.c (base_n_index_p, r_or_s_operand, r_or_s_or_im8_operand,
1048 r_or_x_or_im16_operand, r_or_im8_operand): Remove.
1049 s390-protos.h (r_or_s_operand, r_or_s_or_im8_operand,
1050 r_or_x_or_im16_operand, r_or_im8_operand): Likewise.
1051 s390.h (PREDICATE_CODES): Add s_imm_operand, remove r_or_s*_operand.
1052 s390.md (many insns): Rework insn predicates.
1054 * s390.c (legitimate_pic_operand_p, legitimate_constant_p): Accept all
1055 non-symbolic constants. Reload will force them because of ...
1056 (s390_preferred_reload_class): ... this. New.
1057 s390-protos.h (s390_preferred_reload_class): Declare.
1058 s390.h (PREFERRED_RELOAD_CLASS): Call it.
1059 s390.md (movdi, movsi, movdf, movsf, *reload_la_64 splitters,
1060 *reload_la_31 splitters): Handle constants after reload.
1061 (many insns): no longer force all constants immediately.
1062 s390.c (legitimate_reload_constant_p): New helper routine.
1063 s390-protos.h (legitimate_reload_constant_p): Declare.
1064 s390.c (print_operand): Clean up CONST_INT case, add CONST_DOUBLE case.
1066 * s390.h (FIRST_PSEUDO_REGISTER, FRAME_POINTER_REGNUM,
1067 HARD_FRAME_POINTER_REGNUM, REGISTER_NAMES): Add virtual frame pointer.
1068 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Update.
1069 (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Likewise.
1070 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1071 (DWARF_FRAME_REGISTERS): Define.
1072 s390.c (regclass_map): Add virtual frame pointer.
1073 (legitimate_la_operand_p): Allow use of virtual frame pointer.
1074 s390.md (*la_ccclobber, *addaddr_ccclobber): New.
1075 (addaddr, addsi_64): Delete.
1077 * s390.h (HARD_REGNO_MODE_OK): Allow SImode and DImode values in
1078 floating point registers.
1079 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Define.
1080 (ADDR_FP_REGS, GENERAL_FP_REGS): New register classes.
1081 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
1083 * s390.md (movti): Replace multi-insn output with splitters.
1084 (movdi_31, movdf_31): Likewise.
1085 (movti_ss, movdi_ss, movsi_ss, movdf_ss, movsf_ss): New.
1086 (movdi_lhi, movdi_lli, movdi_larl, movsi_lhi, movsi_lli): New.
1087 (movdi_64, movdi_31, movsi, movdf_64, movdf_31): Adapt.
1088 (movdf_soft_64, movdf_soft_31, movsf_soft): Remove.
1089 (movsf_64, movsf_31): Remove, replace by ...
1091 (movqi_64): Use lhi instead of llill.
1092 (*movstrictqi, *movstricthi): Don't use (strict_low_part (mem)).
1094 * s390.md (extendsidi2, *extendsidi2, extendhidi2, *extendhidi2,
1095 extendqidi2, extendhisi2, *extendhisi2, extendqisi2,
1096 extendqihi2 and associated splitters): Reworked.
1097 (zero_extendsidi2, zero_extendsidi2, *zero_extendsidi2,
1098 zero_extendhidi2, *zero_extendhidi2, zero_extendqidi2,
1099 zero_extendqidi2, *zero_extendqidi2, zero_extendhisi2,
1100 *zero_extendhisi2_64, zero_extendhisi2_31, zero_extendqisi2,
1101 *zero_extendqisi2_64, *zero_extendqisi2_mem_31,
1102 zero_extendqisi2_reg_31, zero_extendqihi2, *zero_extendqisi2_64,
1103 zero_extendqihi2, zero_extendqihi2_64, zero_extendqihi2_31,
1104 and associated splitters): Likewise.
1105 (*sethighqisi, *sethighhisi, *sethighqidi_64, *sethighqidi_31
1106 and associated splitters): New.
1107 (truncdisi2, truncdihi2, truncdiqi2, truncsihi2, do_truncsihi2,
1108 *truncsihi2_64, truncsiqi2, trunchiqi2): Remove.
1109 (ashlhi3, ashrhi3, lshrhi3, abshi3): Remove.
1110 s390.h (PROMOTE_PROTOTYPES): Remove.
1111 config/s390/linux64.h (PROMOTE_PROTOTYPES): Likewise.
1113 * s390.md (muldi3): Delete, use instead ...
1114 (mulsidi3): ... this.
1115 (*muldi3_64): Rename to muldi3.
1116 (mulsi_6432): Fix template.
1117 (divdi3, moddi3): Delete, replace by ...
1118 (divmoddi4): ... this.
1119 (divmodtidi3): Fix template.
1121 (udivdi3, umoddi3): Delete, replace by ...
1122 (udivmoddi4): ... this.
1123 (udivmodtidi3): Fix template.
1124 (divsi3, modsi3): Delete, replace by ...
1125 (divmodsi4): ... this.
1126 (divmoddisi3): Fix template.
1127 (udivsi3, umodsi3): Adapt.
1129 * s390.md (anddi3): Remove SS alternative, use instead ...
1130 (anddi3_ss, anddi3_ss_inv): ... these.
1132 (andsi3*, andhi3*, andqi3*): Likewise.
1133 (iordi3): Remove SS alternative, use instead ...
1134 (iordi3_ss, iordi3_ss_inv): ... these.
1136 (iorsi3*, iorhi3*, iorqi3*): Likewise.
1137 (iordi3_cc, iordi3_cconly, iorsi3_cc, iorsi3_cconly): New.
1138 (xordi3): Remove SS alternative, use instead ...
1139 (xordi3_ss, xordi3_ss_inv): ... these.
1141 (xorsi3*, xorhi3*, xorqi3*): Likewise.
1142 (xordi3_cc, xordi3_cconly, xorsi3_cc, xorsi3_cconly): New.
1143 (one_cmpldi2, one_cmplsi2, one_cmplhi2, one_cmplqi2):
1144 Expand to XOR with -1.
1145 (*one_cmpldi2, *one_cmplsi2, *one_cmplhi2): Remove.
1146 (cmpdi_tm): Delete, replace by ...
1147 (cmpdi_tm_reg, cmpdi_tm_mem): ... these.
1148 (cmpsi_cct): Delete, replace by ...
1149 (cmpsi_tm_reg, cmpsi_tm_mem): ... these.
1150 (cmpdi_tm2, cmpsi_tm2): Improve.
1151 (cmphi_tm_sub, cmpqi_tm_sub, cmpqi_tm2, cmpqi_tm): New.
1152 s390.c (s390_single_hi, s390_extract_hi,
1153 s390_single_qi, s390_extract_qi): New helper routines.
1154 s390-protos.h (s390_single_hi, s390_extract_hi,
1155 s390_single_qi, s390_extract_qi): Declare.
1156 s390.c (tmxx_operand, const1_operand): Remove.
1157 s390-protos.h (tmxx_operand, const1_operand): Likewise.
1158 s390.h (PREDICATE_CODES): Likewise.
1160 * s390.md (sqrtdf2, sqrtsf2): New.
1162 * s390.h (CRT_CALL_STATIC_FUNCTION): Define.
1163 (check_and_change_labels): Remove section-change special case.
1165 * s390.h (RETURN_ADDR_RTX): Fix use of __builtin_return_address
1166 in leaf functions. Needs ...
1167 (DYNAMIC_CHAIN_RTX): ... this. New.
1169 * s390.c (emit_pic_move): Don't generate pseudos if no_new_pseudos.
1171 * s390.md (movstrdix_64, movstrsix_31, movstrdi_64, movstrsi_31,
1172 clrstrsi_64, clrstrsi_31, cmpstr_64, cmpstr_31): Do not clobber
1173 input operands using a match_dup clause.
1174 (movstrdi, movstrsi, clrstrdi, clrstrsi, cmpstrdi, cmpstrsi): Adapt.
1176 * s390.md (floatdidf2, floatdisf2, floatsidf2, floatsidf2_ieee,
1177 floatsisf2, floatsisf2_ieee): Add missing CC clobber.
1179 * s390.md (floatsidf2_ibm): Use correct operand.
1181 * s390.md (fixuns_truncdfdi2, fixuns_truncdfsi2, fix_truncdfsi2,
1182 fixuns_truncsfdi2, fixuns_truncsfsi2, floatsidf2): Remove use of
1183 non-portable constants.
1184 s390.c (s390_gen_rtx_const_DI): New helper routine.
1185 s390-protos.h (s390_gen_rtx_const_DI): Declare.
1187 * s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Fix alignment.
1189 * config/s390/linux.h (ASM_OUTPUT_SHORT, ASM_OUTPUT_CHAR,
1190 ASM_OUTPUT_BYTE): Clean up assembly output.
1191 (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGN): Remove duplicate definitions.
1192 (ASM_OUTPUT_ASCII): Remove.
1194 * config/s390/t-linux (CRTSTUFF_T_CFLAGS_S): Define.
1196 2001-12-15 Zack Weinberg <zack@codesourcery.com>
1198 * unwind-dw2-fde-glibc.c: #define _Unwind_Find_FDE to itself
1199 before including unwind-dw2-fde.c, if we are not using the
1200 special code in this file.
1202 2001-12-15 Richard Henderson <rth@redhat.com>
1204 * config/alpha/alpha.h (TARGET_SWITCHES): Turn on
1205 MASK_EXPLICIT_RELOCS if the assembler supports it.
1206 * configure.in (HAVE_AS_EXPLICIT_RELOCS): New.
1207 * configure, config.in: Rebuild.
1209 Sat Dec 15 17:53:03 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1211 * calls.c (emit_call_1): If ECF_SP_DEPRESSED, pretend have adjusted
1212 for rounded_stack_size.
1214 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1216 * c-typeck.c, config/i386/i386.h, config/mcore/mcore.h,
1217 config/ns32k/ns32k.h, config/rs6000/sysv4.h, fold-const.c,
1218 toplev.c, cppinit.c, cppmacro.c, gcc.c: Use "built-in" and
1219 "bit-field" spellings in messages.
1220 * po/gcc.pot: Regenerate.
1222 2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
1224 * gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
1225 American spelling in messages.
1226 * po/gcc.pot: Regenerate.
1228 2001-12-15 Kazu Hirata <kazu@hxi.com>
1230 * config/h8300/h8300.md: Adjust whitespacing. Remove
1231 constraints from expanders. Replace \@ with @.
1233 2001-12-15 Richard Earnshaw <rearnsha@arm.com>
1235 * arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
1237 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
1239 * regrename.c (copyprop_hardreg_forward): Do not keep register
1240 value data live across abnormal call or eh egdes.
1242 Sat Dec 15 08:29:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1244 * expr.c (highest_pow2_factor, case INTEGER_CST): Return
1245 BIGGEST_ALIGNMENT for 0.
1247 Sat Dec 15 14:13:03 CET 2001 Jan Hubicka <jh@suse.cz>
1249 * predict.def (PRED_NORETURN): Make probabilities match reality.
1250 (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL, PRED_ERROR_RETURN):
1253 2001-12-15 Jakub Jelinek <jakub@redhat.com>
1255 * configure.in: Check for ld.
1256 (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
1257 * configure, config.in: Rebuilt.
1258 * config.gcc: Add crtbeginT.o to extra_parts where needed.
1259 * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
1260 frame unwinding on Linux.
1261 * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
1263 * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1264 (LINK_EH_SPEC): Define.
1265 * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1266 * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
1267 * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
1268 iterate further if pc falls into current library, but fde was not
1270 * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
1272 (LINK_EH_SPEC): Define.
1273 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
1274 Use crtbeginT.o for -static.
1275 (LINK_EH_SPEC): Define.
1276 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
1277 * Makefile.in (crtbeginT.o): Add rule.
1278 * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
1279 If neither -static-libgcc nor -shared-libgcc is passed and -shared,
1280 use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
1281 If none of the above switches are passed, use -lgcc -lgcc_eh.
1282 (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
1283 * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
1284 creating libgcc_s.so, put them into separate libgcc_eh.a instead.
1285 * unwind-dw2-fde.c: Don't include any headers if this file
1286 is included from other .c file.
1287 * unwind-dw2-fde-glibc.c: New file.
1288 * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
1289 Use it instead of EH_FRAME_SECTION_NAME where appropriate.
1291 2001-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1293 * builtins.c (expand_builtin_memcmp): Mark parameter with
1295 * cfgcleanup.c (insns_match_p): Likewise.
1296 * regrename.c (mode_change_ok): Likewise.
1297 * gcc.c (execute): Const-ify.
1299 2001-12-14 Aldy Hernandez <aldyh@redhat.com>
1301 * c-parse.in (typename): Do not split attributes.
1302 Remove unsupported attributes warning.
1304 * c-decl.c (groktypename): Apply attributes.
1306 2001-12-14 Richard Henderson <rth@redhat.com>
1308 * config/ia64/ia64.c (spill_restore_mem): Mark iterator
1309 initialization as possibly dead.
1311 2001-12-14 Richard Henderson <rth@redhat.com>
1313 * regrename.c (mode_change_ok): New.
1314 (find_oldest_value_reg): Use it.
1316 2001-12-14 Richard Henderson <rth@redhat.com>
1318 * regrename.c (struct value_data): Add max_value_regs.
1319 (init_value_data): Initialize it.
1320 (kill_value): Kill values that overlap the dying register.
1321 (set_value_regno): New.
1322 (kill_set_value, kill_autoinc_value, copy_value): Use it.
1323 (copyprop_hardreg_forward_1): Kill earlyclobber operands
1324 before looking at inputs.
1326 2001-12-14 David Edelsohn <edelsohn@gnu.org>
1328 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle
1329 DECL_WEAK for function descriptors.
1330 * config/rs6000/xcoff.h (HANDLE_PRAGMA_WEAK): Define if assembler
1331 weak support present.
1332 (ASM_WEAKEN_LABEL): Same.
1334 2001-12-14 Kazu Hirata <kazu@hxi.com>
1336 * config/h8300/h8300.md (anonymous pattern): Add a missing
1339 2001-12-14 Kazu Hirata <kazu@hxi.com>
1341 * config/h8300/h8300.c (h8300_adjust_insn_length): Fix a
1344 2001-12-14 Kazu Hirata <kazu@hxi.com>
1346 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
1347 Remove the initialization requierment.
1348 (h8300_handle_tiny_data_attribute): Likewise.
1350 2001-12-14 Kazu Hirata <kazu@hxi.com>
1352 * config/h8300/h8300.md (udivqi3): Remove.
1354 (udivhi3): Likewise.
1356 (umodqi3): Likewise.
1358 (umodhi3): Likewise.
1361 (divmodqi3): Likewise.
1362 (udivmodhi3): Likewise.
1363 (divmodhi3): Likewise.
1365 Sat Dec 15 01:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
1367 * cfgcleanup.c (flow_find_cross_jump): Replace tests for note
1368 by active_insn_p; count conditional jump as instruction.
1370 2001-12-14 DJ Delorie <dj@redhat.com>
1371 Danny Smith <dannysmith@users.sourceforge.net>
1373 * config/i386/cygwin.h (I386_PE_STRIP_ENCODING): Handle '*'
1374 at SYM_NAME[0] or SYM_NAME[3].
1375 (STRIP_NAME_ENCODING): Don't check for leading '*'.
1377 2001-12-14 Ira Ruben <ira@apple.com>
1379 Add -### option (displays driver-generated commands without
1380 executing and quotes all arguments).
1381 * doc/invoke.texi: Add -###.
1382 * gcc.c (verbose_only_flag) - New flag.
1383 * (execute): If -### write quoted arguments and return.
1384 * (display_help): Print meaning of -###.
1385 * (process_command): Handle -###.
1387 2001-12-14 Ira Ruben <ira@apple.com>
1389 Fix to no allow -save-temps to clobber user's source file.
1390 * gcc.c: Add static globals input_stat and input_stat_set.
1391 (do_spec_1): For 'g', 'u', 'U' case with save_temps_flag
1392 set, check that user's input file is not overwritten.
1393 (set_input): Reset input_stat_set for each new file.
1395 Fri Dec 14 22:14:44 CET 2001 Jan Hubicka <jh@suse.cz>
1397 * predict.c (estimate_probability): Fix LOOP_EXIT heuristic.
1399 2001-12-14 Zack Weinberg <zack@codesourcery.com>
1401 * combine.c (record_dead_and_set_regs): Use
1402 regs_invalidated_by_call. Don't note stores for CALL_INSNs.
1404 2001-12-14 Roger Sayle <roger@eyesopen.com>
1406 * builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
1407 __builtin_fsqrt to __builtin_sqrt.
1409 * builtins.c (expand_builtin_mathfn,expand_builtin): Same.
1410 * doc/extend.texi: Simplify documentation to match patch.
1412 Fri Dec 14 21:23:54 CET 2001 Jan Hubicka <jh@suse.cz>
1414 * config.gcc: Revamp target_cpu_default2 to strings;
1415 support new x86 variants.
1416 * i386.c (override_options): Default x86_cpu_string and x86_arch_string
1417 properly; set prefetch_sse.
1418 * i386.h (x86_prefetch_sse): Declare.
1419 (TARGET_PREFETCH_SSE): New.
1420 (CPP_CPU_DEFAULT_SPEC): Define according to the new macros.
1421 (TARGET_CPU_DEFAULT_*): New.
1423 Thu Dec 13 21:57:13 CET 2001 Janis Johnson <janis187@us.ibm.com>
1424 Jan Hubicka <jh@suse.cz>
1426 * config/i386/i386.h (struct processor_costs): Add new members
1427 prefetch_block and simultaneous_prefetches.
1428 (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
1429 * config/i386/i386.c (processor_costs structs): Add values for
1430 prefetch_block and simultaneous_prefetches.
1431 * config/i386/i386.md (unspec values): Remove values for prefetch
1432 operations, which now use the PREFETCH rtx code.
1433 (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
1434 unified prefetch support.
1436 2001-12-14 Jason Merrill <jason@redhat.com>
1438 * diagnostic.c (sorry): Increment sorrycount before saving the
1441 Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz>
1443 * i386.md (sqrt?f): Fix conditionals.
1445 Fri Dec 14 07:29:52 2001 Douglas B. Rupp <rupp@gnat.com>
1447 * config.gcc (alpha64-dec-*vms*): New case.
1448 * config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files.
1449 * config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise.
1450 * config/alpha/xm-vms64.h: Likewise.
1452 * config/alpha/alpha.c (vms_attribute_table): Add new attributes.
1453 (alpha_write_linkage): Test for null alpha_links.
1454 (SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
1455 (vms_section_type_flags, vms_asm_named_section): Handle them.
1457 Fri Dec 14 12:05:14 CET 2001 Jan Hubicka <jh@suse.cz>
1459 * i386.c (ix86_fpmath, ix86_fpmath_string): New.
1460 (override_option): Set ix86_fpmath.
1461 * i386.h (MASK_MIX_SSE_I387): Remove.
1462 (TARGET_SSE_MATH): New.
1463 (TARGET_MIX_SSE_I387): Use ix86_fpmath.
1464 (TARGET_SWITCHES): Remove "mix-sse-i387".
1465 (fpmath_unit): New enum.
1466 (ix86_fpmath, ix86_fpmath_string): Declare.
1467 * i386.md (swapsf): Fix condition.
1468 (add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
1469 (fp_?f_*_nosse): New.
1470 (fp_*): Use TARGET_SSE_MATH.
1471 * invoke.texi (-mfpmath): Document.
1474 2001-12-14 Jason Merrill <jason@redhat.com>
1476 * dwarf2out.c (output_die): Print the string in the comment for
1479 2001-12-14 Richard Earnshaw <rearnsha@arm.com>
1481 * netbsd.h (COLLECT_SHARED_INIT_FUNC)
1482 (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
1483 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1484 (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
1486 2001-12-13 Richard Henderson <rth@redhat.com>
1488 * regrename.c (kill_value_regno): Simplify chain removal.
1489 (kill_value): Kill all of HARD_REGNO_NREGS.
1490 (kill_set_value): Use kill_value not kill_value_regno.
1491 (kill_autoinc_value): Likewise.
1492 (copyprop_hardreg_forward): Don't collect refresh_blocks.
1493 Call delete_noop_moves.
1495 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1497 * attribs.c (c_common_attribute_table): Swap decl_req and type_req
1498 for the mode attribute.
1499 (handle_mode_attribute): Handle types, not decls.
1501 2001-12-13 Jason Merrill <jason@redhat.com>
1503 * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
1505 2001-12-13 Aldy Hernandez <aldyh@redhat.com>
1507 * config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
1508 constraint to base register.
1509 (eh_set_lr_si): Same.
1511 2001-12-13 Hans-Peter Nilsson <hp@axis.com>
1513 * expr.c (expand_expr, case ADDR_EXPR): Don't honor
1514 flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
1515 modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
1517 Thu Dec 13 20:30:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1519 * expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
1520 warning and reformat comments.
1521 (expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
1522 (highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
1525 2001-12-12 Aldy Hernandez <aldyh@redhat.com>
1527 * config/rs6000/rs6000.c (rs6000_override_options): Add
1528 SUBSUBTARGET_OVERRIDE_OPTIONS.
1530 * config/rs6000/eabialtivec.h: New file.
1532 * config/rs6000/linuxaltivec.h: New file.
1534 * config.gcc: Add powerpc-*-eabialtivec and
1535 powerpc-*-linux-gnualtivec.
1537 2001-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1539 * toplev.c (process_options, parse_options_and_default_flags):
1540 Set flag_no_inline before the post_options hook.
1542 2001-12-13 Richard Henderson <rth@redhat.com>
1544 * emit-rtl.c (adjust_address_1): Don't adjust address if adjust
1547 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1549 * collect2.c (COLLECT_SHARED_INIT_FUNC)
1550 (COLLECT_SHARD_FINI_FUNC): Define default values.
1551 (write_c_file_stat): Use them to call construtor and destructor
1552 functions in shared libraries.
1553 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
1554 (COLLECT_SHARD_FINI_FUNC): Document them.
1555 * config/netbsd.h (COLLECT_SHARED_INIT_FUNC)
1556 (COLLECT_SHARD_FINI_FUNC): Define.
1558 * config/netbsd.h (LINK_SPEC): Don't pull in estart if creating a
1559 shared library. Pass -shared through to the linker.
1560 * config/arm/netbsd.h (LINK_SPEC): Likewise.
1562 * config/arm/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -fpic.
1563 (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME, SHLIB_OBJS, SHLIB_LINK)
1564 (SHLIB_INSTALL): Define.
1566 2001-12-13 Richard Earnshaw <rearnsha@arm.com>
1568 * arm.c (legitimize_pic_address): Handle LABEL_REFs in substantially
1569 the same way as we handle SYMBOL_REFS.
1571 Thu Dec 13 07:47:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1573 * loop.c (remove_constant_addition): Fix prototype and whitespace.
1574 (emit_prefetch_instructions): Remove warnings and whitespace
1577 Thu Dec 13 06:48:38 2001 Douglas B. Rupp <rupp@gnat.com>
1579 * config/alpha/vms-cc.c (preprocess_args): Fix forward
1582 Thu Dec 13 12:31:07 CET 2001 Jan Hubicka <jh@suse.cz>
1584 * predict.c (estimate_probability): Reorganize opcode heuristics.
1585 * predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
1586 PRED_FPOPCODE): New.
1588 * i386.c (override_options): Recognize various CPU variants and set
1589 SSE/MMX/3dNOW flags accordingly.
1590 * i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
1591 MASK_3DNOW_A_SET): New.
1592 (MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
1593 (MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
1595 (TARGET_FLAGS): Use new masks.
1596 (CPP_CPU_SPECS): Recognize new CPU variants.
1597 * invoke.texi (-mcpu): Update documentation.
1599 * flags.h (flag_prefetch_loop_arrays): Declare.
1600 * loop.h (LOOP_PREFETCH): Define new constant.
1601 * loop.c (strength_reduce): Call emit_prefetch_instructions.
1602 (MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
1603 PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
1605 (check_store_data): New structure.
1606 (check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
1608 * toplev.c: Include insn-flags.h.
1609 (flag_prefetch_loop_arrays): New global variable.
1610 (lang_independent_option): Add -fprefetch-loop-arrays.
1611 (rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
1613 * Makefile.in (toplev.c): Depend on insn-flags.h.
1614 * invoke.texi (-fprefetch-loop-arrays): Document.
1616 * predict.c (estimate_probability): Distribute the loop exit
1617 probability according to number of exit edges.
1619 * cfgcleanup.c (insns_match_p): Break out from ...;
1620 (flow_find_cross_jump): ... here;
1621 (outgoing_edges_match): Add parameter MODE; attempt to match everything
1622 except for tablejumps.
1623 (try_crossjump_to_edge): Accept complex edges.
1624 (try_crossjump_bb): Likewise.
1626 2001-11-29 Corey Minyard <minyard@acm.org>
1628 * recog.c (validate_replace_rtx_1): Use simplify_gen_binary
1629 instead of plus_constant.
1630 * simplify-rtx.c (neg_const_int): New.
1631 (simplify_gen_binary, simplify_plus_minus): Use it.
1633 2001-12-12 Roger Sayle <roger@eyesopen.com>
1635 * builtins.c (expand_builtin_memset, expand_builtin_memcpy,
1636 expand_builtin_strcpy): Additional arguments TARGET and MODE.
1637 (expand_builtin_bzero, expand_builtin_strcpy,
1638 expand_builtin_strncpy, expand_builtin_bzero): Pass additional
1639 TARGET and MODE parameters to the above functions.
1640 (expand_builtin_memset, expand_builtin_memcpy): Optimize the
1641 case where the LEN parameter is constant zero.
1642 (expand_builtin_memcmp): No longer conditional on
1643 HAVE_cmpstrsi. Take an additional mode parameter. Optimize
1644 the cases where len is either constant zero or one.
1645 Optimize to call to memcpy, even if the memcpy isn't inlined.
1646 (expand_builtin_strncpy): Optimize to call memcpy, even if the
1647 memcpy isn't inlined.
1648 (expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
1649 to optimize to a call to memcmp.
1650 (expand_builtin): expand_builtin_memcmp can always be called,
1651 and pass the required parameters to expand_builtin_memcmp,
1652 expand_builtin_memset, expand_builtin_memcpy and
1653 expand_builtin_strcpy.
1655 2001-12-12 David O'Brien <obrien@FreeBSD.org>
1657 * config.gcc (arm-*-freebsd*): Add target.
1658 * config/arm/freebsd.h: New file.
1659 * config/arm/arm.h (CPP_PREDEFINES): Do not define.
1660 (CPP_SPEC): #undef before defining.
1661 (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm.
1662 * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm
1664 * config/arm/linux-elf.h: Likewise.
1665 * config/arm/netbsd.h: Likewise.
1666 * config/arm/riscix.h: Likewise.
1667 * config/arm/riscix1-1.h: Likewise.
1668 * config/arm/semiaof.h: Likewise.
1670 2001-12-12 Richard Henderson <rth@redhat.com>
1672 * regrename.c (copyprop_hardreg_forward): New optimization.
1673 (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
1674 kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
1675 replace_oldest_value_reg, replace_oldest_value_addr,
1676 replace_oldest_value_mem, copyprop_hardreg_forward_1,
1677 debug_value_data, validate_value_data): New.
1678 * rtl.h (copyprop_hardreg_forward): Declare.
1679 * toplev.c (flag_cprop_registers): New.
1680 (f_options): Add -fcprop-registers
1681 (rest_of_compilation): Invoke it.
1682 (parse_options_and_default_flags): Set it at -O1.
1683 * doc/invoke.texi: Document it.
1685 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1687 * dwarf2out.c (dw_val_class): Add dw_val_class_range_list.
1688 (DEBUG_RANGES_SECTION_LABEL): Define.
1689 (ranges_section_label): Add.
1690 (add_AT_range_list): New.
1691 (print_die, sizeof_die, value_format): Handle dw_val_class_range_list.
1692 (output_loc_list): Location expression length is always 2-byte.
1693 (output_die): Handle dw_val_class_range_list.
1694 (gen_lexical_block_die): Call add_AT_range_list.
1695 (dwarf2out_init): Initialize ranges_section_label.
1696 (dwarf2out_finish): Emit ranges_section_label.
1698 2001-12-12 Jakub Jelinek <jakub@redhat.com>
1700 * c-typeck.c (digest_init): Allow initializing
1701 static storage duration objects with compound literals.
1702 * doc/extend.texi (Compound literals): Document the extension.
1704 2001-12-12 Richard Henderson <rth@redhat.com>
1706 * emit-rtl.c (adjust_address_1): Always copy address to avoid
1709 Wed Dec 12 07:37:52 2001 Olivier Hainque <hainque@act-europe.fr>
1711 * stmt.c (expand_end_case): Do subtraction of lower bound as trees
1714 Wed Dec 12 07:35:24 2001 Douglas B. Rupp <rupp@gnat.com>
1716 * cppfiles.c (read_include_file): Set buffer size properly when
1717 file is shorter than expected.
1719 Wed Dec 12 08:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
1721 * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
1722 enumeral types - encode them using 'i'.
1724 2001-12-12 Nathan Sidwell <nathan@codesourcery.com>
1726 * doc/extend.texi (Deprecated Features): Deprecate implicit
1727 typename. Document that named return and initializer lists are now
1730 2001-12-11 Roger Sayle <roger@eyesopen.com>
1732 * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
1733 compiler warning about enumeration values not being handled.
1735 2001-12-11 Momchil Velikov <velco@fadata.bg>
1737 * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
1740 2001-12-11 Richard Henderson <rth@redhat.com>
1742 * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
1743 * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
1744 * config/alpha/alpha.md (prefetch): New.
1746 2001-12-11 Richard Henderson <rth@redhat.com>
1748 * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
1749 if C has only low bits set and doesn't intersect with X or Y.
1751 Tue Dec 11 23:58:39 EST 2001 John Wehle (john@feith.com)
1753 * basic-block.h (flow_preorder_transversal_compute): Declare.
1754 * cfganal.c (flow_preorder_transversal_compute): Implement.
1756 Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
1758 * cfganal.c (flow_depth_first_order_compute): Always
1761 2001-11-30 Alan Matsuoka <alanm@redhat.com>
1763 * combine.c (combine_simplify_rtx) : Can't simplify
1764 cases that use mode class MODE_CC.
1766 2001-12-11 Richard Henderson <rth@redhat.com>
1768 * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
1769 which there is no divide expander.
1771 2001-12-11 Richard Henderson <rth@redhat.com>
1773 * except.c (sjlj_find_directly_reachable_regions): Don't
1774 consider RNL_BLOCKED a directly reachable region.
1775 (sjlj_assign_call_site_values): Trust directly_reachable.
1776 (sjlj_emit_dispatch_table): Likewise.
1778 2001-12-11 Richard Henderson <rth@redhat.com>
1780 * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
1781 we represent the address load's dependency on the gp.
1782 (divmoddi_internal_er): Likewise.
1783 (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
1785 2001-12-11 Richard Henderson <rth@redhat.com>
1787 * emit-rtl.c (widen_memory_access): New.
1788 * expr.h (widen_memory_access): Declare it.
1789 * config/alpha/alpha.c (get_aligned_mem): Use it.
1791 2001-12-11 Richard Henderson <rth@redhat.com>
1793 * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
1794 simplification above out of range check.
1796 2001-12-11 Dan Nicolaescu <dann@ics.uci.edu>
1798 * config/sparc/sparc.md (prefetch): New.
1800 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
1802 * output.h (regno_uninitialized): Make argument unsigned.
1804 * flow.c (regno_uninitialized): Make regno unsigned.
1806 2001-12-11 David O'Brien <obrien@FreeBSD.org>
1808 * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
1809 * config/cris/cris.h (ENDFILE_SPEC): Define.
1810 * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
1811 * config/pa/elf.h: Likewise.
1813 2001-12-11 Richard Henderson <rth@redhat.com>
1815 * objc/objc-act.c (build_string_class_template): New.
1816 (build_objc_string_object): Call it.
1818 2001-12-11 Steve Ellcey <sje@cup.hp.com>
1820 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
1821 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
1822 * calls.c (store_unaligned_arguments_into_pseudos): Check
1823 FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
1824 are passed/returned.
1825 * expr.c (move_block_from_reg): Ditto.
1826 (move_block_from_reg): Ditto.
1827 (copy_blkmode_from_reg): Ditto.
1828 * stmt.c (expand_return): Ditto.
1829 * stor-layout.c (compute_record_mode): If
1830 FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
1831 MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
1832 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
1833 so that Structures of one field are still treated as structures.
1834 (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
1835 (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
1836 (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
1837 * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
1838 * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
1839 to special case handling of structure padding.
1841 2001-12-11 Daniel Berlin <dan@cgsoftware.com>
1843 * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
1844 (may_trap_exp): Stores only are risk if they trap, too, not just
1847 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
1849 * flow.c (find_regno_partial): Indent properly. Add a default to
1852 2001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
1854 * c-common.c (combine_strings): Complain if concatenating
1856 * c-parse.in (yylexname): Flag artificial strings.
1857 * tree.h (TREE_ARTIFICIAL_STRING_P): New.
1859 * extend.texi: Update.
1861 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
1863 * c-common.c (type_for_mode): Handle unsigned vectors.
1864 (type_for_mode): Remove redundant calls to TYPE_MODE.
1866 * tree.c (make_vector): New.
1867 (build_common_tree_nodes_2): Use make_vector for vector types.
1868 Add unsigned vector types.
1870 * tree.h (tree_index): Add unsigned types for vectors.
1871 (unsigned_V16QI_type_node): New.
1872 (unsigned_V4SI_type_node): New.
1873 (unsigned_V8QI_type_node): New.
1874 (unsigned_V8HI_type_node): New.
1875 (unsigned_V4HI_type_node): New.
1876 (unsigned_V2SI_type_node): New.
1878 2001-12-11 Stan Shebs <shebs@apple.com>
1880 * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
1881 test of class names.
1883 2001-12-11 David O'Brien <obrien@FreeBSD.org>
1885 * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
1886 cpu configuration headers.
1887 * config/h8300/elf.h: Include dbxelf.h.
1888 * config/m68k/linux.h: Likewise.
1889 * config/m68k/m68020-elf.h: Likewise.
1890 * config/m68k/m68kv4.h: Likewise.
1891 * config/sh/elf.h: Likewise.
1892 * config/m68k/m68kemb.h: Add comment about the its purpose.
1894 2001-12-11 Richard Henderson <rth@redhat.com>
1896 * objc/objc-act.c (build_constructor): Cast initializer values
1897 to the proper field types.
1899 2001-12-11 Jakub Jelinek <jakub@redhat.com>
1901 * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
1903 2001-12-10 Roger Sayle <roger@eyesopen.com>
1905 * builtins.c (expand_builtin): Use a switch statement to list
1906 those functions not expanded without optimizations, instead of a
1907 series of equality tests.
1909 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
1911 * config/alpha/vms.h (LIB_SPEC): Define.
1912 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
1914 * libgcc2.c (_bb): Remove ctime declaration.
1916 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
1917 that works if LN_S = cp.
1919 * config/alpha/x-vms (version): Change "." to "_".
1921 * configure.in: Hardcode that vfork works on VMS host.
1922 * configure: Regenerated.
1924 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
1926 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
1928 (process_command): Modify calls to convert_filename.
1930 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1932 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
1934 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
1936 * combine.c (known_cond): Check mode of each operand to determine
1937 if COND is comparing floating point values.
1939 2001-12-10 David Edelsohn <edelsohn@gnu.org>
1941 * rs6000.h (processor_type): Add PPC405.
1942 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
1943 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
1944 rios1, rs64, and ppc630 processors.
1945 * rs6000.c (processor_target_table): Add PPC405.
1947 2001-12-10 Richard Henderson <rth@redhat.com>
1949 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
1950 instead of hardcoding subregs into the _be and _le patterns.
1952 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
1954 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
1956 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1958 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
1961 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
1963 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
1964 copyright notice formerly conditioned on @ifinfo on @ifnottex
1967 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1969 * vmsdbgout.c (lookup_filename): Remove warning.
1971 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
1973 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
1975 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
1976 (exeext, target_alias, prefix, local_prefix): Define.
1977 * config/alpha/x-vms (USE_COLLECT2): Make empty.
1978 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
1979 file specifications. Remove ".".
1980 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
1981 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
1983 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
1985 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
1987 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
1989 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
1990 Add rules for building [vp]crt0.o
1991 * config/alpha/vms.h (START_FILE_SPEC): Define.
1992 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
1993 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
1994 * doc/invoke.texi: Document special Alpha/VMS options.
1996 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1998 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
1999 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
2002 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2003 Douglas B. Rupp <rupp@gnat.com>
2005 * tree.c (append_random_char): Conditionalize INO for VMS.
2007 2001-12-09 Richard Henderson <rth@redhat.com>
2009 * cfgcleanup.c (label_is_jump_target_p): New function.
2010 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
2011 target of a JUMP_INSN from the preceding block.
2013 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2015 * vmsdbgout.c (lookup_filename): Assign null string instead
2016 of null pointer to fnam.
2018 2001-12-09 Richard Henderson <rth@redhat.com>
2020 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
2021 immediately after a call; insert nops before a call.
2023 2001-12-09 Richard Henderson <rth@redhat.com>
2025 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
2026 not FUNCTION_BOUNDARY.
2027 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
2028 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
2029 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
2031 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
2033 * config/mmix/mmix.c (mmix_function_block_profiler,
2034 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2036 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
2037 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
2040 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
2041 Delete obsoleted macros.
2043 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
2045 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
2046 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
2048 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
2049 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
2050 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
2051 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
2052 config/i370/i370.c, config/i386/i386.c,
2053 config/i386/i386-interix.h, config/i386/i386.md,
2054 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
2055 config/m32r/m32r-protos.h, config/mcore/mcore.h,
2056 config/rs6000/rs6000.h, config/sparc/linux64.h,
2057 config/sparc/sparc.c, config/v850/v850-protos.h,
2058 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
2061 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
2063 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
2064 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
2066 * config/rs6000/rs6000.c: Ditto.
2068 * config/rs6000/rs6000.md: Ditto.
2070 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2072 * 1750a.md: Add default case in switch.
2073 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2075 * dsp16xx.c (print_operand_address): Likewise.
2076 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
2077 * ia64.md: Add missing braces.
2078 * rs6000-protos.h (s8bit_cint_operand): Prototype.
2079 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
2081 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
2082 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
2083 * dbxout.c (dbxout_source_file): Move a variable into the scope
2085 * final.c (profile_function): Mark parameter with
2087 * genemit.c (gen_expand): Likewise for generated file.
2088 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
2090 * vmsdbg.h: Delete spurious close-comment.
2091 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
2092 * vmsdbgout.c (write_modbeg): Define return type.
2094 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
2095 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2096 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2097 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
2098 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
2099 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
2100 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
2102 2001-12-08 Tom Rix <trix@redhat.com>
2104 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
2105 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
2106 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
2108 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
2109 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
2110 * config/rs6000/rs6000.c (expand_block_move): Do not use
2111 gen_movstrsi_2reg and powerpc64.
2113 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
2115 * c-common.h (rid): Add RID_CHOOSE_EXPR and
2116 RID_TYPES_COMPATIBLE_P.
2118 * c-parse.in (reswords): Add __builtin_choose_expr.
2119 Add __builtin_types_compatible_p.
2120 Add CHOOSE_EXPR token.
2121 Add TYPES_COMPATIBLE_P token.
2122 Add production for CHOOSE_EXPR.
2123 Add production for TYPES_COMPATIBLE_P.
2125 * doc/extend.texi (__builtin_choose_expr): Add documentation.
2126 (__builtin_types_compatible_p): Likewise.
2128 2001-12-08 David Edelsohn <edelsohn@gnu.org>
2130 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
2133 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2135 * c-parse.in: Take string literals in assembler constructs,
2137 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
2138 check the strings are STRING_CSTs.
2140 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
2142 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
2143 using combine_strings to do the concatenation.
2144 * c-parse.in: Replace uses of the string non-terminal with STRING.
2145 Don't attempt string concatenation.
2146 (OBJC_STRING): New terminal.
2147 (string): Remove non-terminal.
2148 (_yylex): Call combine_strings on function names. Generate
2149 OBJC_STRING terminals; don't pass '@' on to yacc.
2150 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
2151 (build_asm_stmt): Similarly.
2153 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2155 * rtlanal.c (get_jump_table_offset): Delete unused variable.
2157 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2159 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
2160 (prefetch): Rewrite using PREFETCH RTL primitive.
2161 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
2162 * arm.c (arm_init_builtins): Don't initialize a builtin for
2163 __builtin_prefetch here.
2164 (arm_expand_builtin): Don't expand __builtin_prefetch here.
2166 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
2168 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
2169 in test for a subreg.
2171 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2173 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
2176 2001-12-07 Richard Henderson <rth@redhat.com>
2178 * doc/extend.texi: Fix typo last change.
2180 * c-decl.c (c_language): Remove duplicate.
2182 2001-12-07 Dale Johannesen <dalej@apple.com>
2184 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
2185 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
2186 specific codegen, eliminate a register copy.
2187 (print_operand_address): Add support for Darwin's lo16(constant)
2189 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
2190 generation of addresses within very large data objects.
2191 (s8bit_cint_operand): New.
2192 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
2193 Move "mtjmpr" to correct functional unit for 750/7400/7450.
2194 Add imul2 and imul3 insn types for multiplication by 16- and
2196 Change tablejump patterns to strongly discourage using LR
2198 Add %lo16 patterns for Darwin loads and stores.
2200 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2202 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
2204 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
2206 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
2207 with %sp because it can cause the delayed instruction to load
2210 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2212 * alpha.c (alpha_expand_unaligned_store,
2213 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
2214 call to immed_double_const.
2216 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
2218 * doc/extend.texi (Variable Attributes): Document vector_size.
2220 * attribs.c (c_common_attribute_table): Add vector_size.
2221 (handle_vector_size_attribute): New.
2222 (vector_size_helper): New.
2223 (decl_attributes): Relayout the decl after calculating attribs.
2225 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2227 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
2228 description for Trouble section.
2229 * doc/install-old.texi: Adjust for inclusion as chapter of new
2230 installation manual.
2231 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
2232 Adjust to include old installation chapter as chapter of new
2233 installation manual.
2235 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
2237 * rtl.h (get_jump_table_offset): Declare.
2238 * rtlanal.c (get_jump_table_offset): Implement.
2240 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2242 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
2243 Deleted; were used only by BB profiler code.
2244 (sbb_head, sbb_tail, sbb_label_num): Likewise.
2245 (end_final): Delete now-unused vars I, PTR, and SPTR.
2247 * expr.c (store_field): Remove warning.
2248 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
2249 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
2250 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
2251 divisor constant power of 2.
2252 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
2254 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2256 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
2259 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2261 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
2262 (DWARF_FRAME_REGISTERS): Delete.
2264 2001-12-06 Janis Johnson <janis187@us.ibm.com>
2266 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
2267 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
2268 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
2269 with defaults for read prefetch with high degree of locality.
2270 * doc/extend.texi (__builtin_prefetch): Update documentation.
2271 * doc/md.texi (prefetch): Add documentation.
2273 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2275 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
2277 * fixinc/fixincl.x: Regenerate.
2278 Fixes PR libf2c/4826.
2280 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
2281 Richard Henderson <rth@redhat.com>
2283 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
2284 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
2286 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
2287 to PRE_GCC3_DWARF_FRAME_REGISTERS.
2288 (frame_state): Same.
2289 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
2291 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2293 * langhooks.c (lhd_staticp): Mark parameter with
2296 2001-12-06 H.J. Lu <hjl@gnu.org>
2298 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
2300 (.po.pox): Likewise.
2301 (o/$(PACKAGE).pot): Likewise.
2303 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
2305 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
2306 * tree-inline.c (expand_call_inline): ... here.
2308 2001-12-06 H.J. Lu <hjl@gnu.org>
2310 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
2311 (.po.pox): Likewise.
2312 (o/$(PACKAGE).pot): Likewise.
2314 2001-12-06 David O'Brien <obrien@FreeBSD.org>
2316 * config.gcc: Include dbxelf.h before elfos.h.
2317 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
2319 2001-12-06 Zack Weinberg <zack@codesourcery.com>
2321 * cppfiles.c (open_file): If we've opened a directory by
2323 (find_include_file): Avoid turning / into // or // into ///.
2325 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2327 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
2328 (STRUCT_VALUE_REGNUM): Restore definition.
2330 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
2332 * flow.c (find_regno_partial): Return register, not the expression
2335 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2337 * function.c (handle_epilogue_set): Check for FP setting case when
2338 SP is set from FP in same insn.
2340 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
2342 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
2343 RTX when calling alter_subreg().
2344 (store_multiple_sequence): Pass pointer to RTX when calling
2347 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2349 * function.c (assing_parms): Fix typo in last change.
2350 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
2351 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
2352 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
2353 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
2355 2001-12-06 Alan Modra <amodra@bigpond.net.au>
2357 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
2358 correct code selecting section.
2360 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
2362 * final.c (count_basic_block, add_bb, add_bb_string):
2364 (end_final, final_start_function, final, final_scan_insn,
2365 leaf_function_p): Kill BB profiler related code.
2366 * flags.h (profile_block_flag): Kill.
2367 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
2368 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
2369 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
2370 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
2371 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
2372 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
2373 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
2374 __bb_init_trace_func): Kill.
2375 * toplev.c (profile_block_flag): Kill.
2376 (indepdendent_decode_option, process_options): Kill -a related code.
2377 * alpha.c (direct_call_operand): Likewise.
2378 * arm.c (arm_expand_prologue, thumb_expand_prologue,
2379 thumb_expand_epilogue): Likewise.
2380 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
2381 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2382 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2383 MACHINE_STATE_RESTORE): Kill.
2384 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2385 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2386 MACHINE_STATE_RESTORE): Kill.
2387 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
2388 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
2389 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
2391 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
2392 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2393 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2394 MACHINE_STATE_RESTORE): Kill.
2395 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
2396 * i960.c (i960_output_function_prologue): Kill BB profiler related
2398 * ia64.c (ia64_compute_frame_size): Likewise.
2399 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2400 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2401 MACHINE_STATE_RESTORE): Kill.
2402 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
2403 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2404 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2405 MACHINE_STATE_RESTORE): Kill.
2406 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
2407 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2408 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2409 MACHINE_STATE_RESTORE): Kill.
2410 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
2411 Kill BB profiler related code.
2412 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2413 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2414 MACHINE_STATE_RESTORE): Kill.
2415 * mips.c (mips_expand_prologue): Kill BB profiler related code.
2416 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2417 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2418 MACHINE_STATE_RESTORE): Kill.
2419 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
2420 * s960.c (s390_function_prologue): Kill BB profiler related code.
2421 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2422 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2423 MACHINE_STATE_RESTORE): Kill.
2424 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2425 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2426 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2427 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2428 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
2429 sparc_nonflat_function_epilogue): Kill BB profiler related code.
2430 (sparc_function_block_profiler, sparc_block_profiler,
2431 sparc_function_block_profiler_exit): Kill.
2432 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
2433 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2434 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2435 MACHINE_STATE_RESTORE): Kill.
2436 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2437 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
2438 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2439 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2440 MACHINE_STATE_RESTORE): Kill.
2441 * doc/invoke.texi: Kill documentation of -a and -ax.
2442 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
2443 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
2444 MACHINE_STATE_RESTORE): Kill.
2446 2001-10-26 Steve Christiansen <smc@us.ibm.com>
2448 * doc/rtl.texi: Use a table to display RTL format characters.
2450 2001-12-06 Bo Thorsen <bo@suse.co.uk>
2452 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
2454 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2456 * function.c (keep_stack_depressed): Check global_live_at_start
2457 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
2459 2001-12-05 David O'Brien <obrien@FreeBSD.org>
2461 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
2462 as set by the generic FreeBSD configure framework.
2464 2001-12-04 Jason Merrill <jason@redhat.com>
2466 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
2467 start_inlining, end_inlining.
2468 * tree-inline.c (expand_call_inline): Call them.
2469 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
2470 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
2471 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
2472 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
2473 (lhd_tree_inlining_end_inlining): New fn.
2475 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2477 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
2478 * c-common.h (shadow_warning): New.
2479 * c-decl.c: Include c-common.h.
2480 (warn_if_shadowing): New, broken out of pushdecl.
2481 (pushdecl): Use warn_if_shadowing.
2482 (store_parm_decls): Prevent duplicate -Wshadow warnings.
2484 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
2486 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
2487 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
2490 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2492 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
2493 (QUAL_UNION_TYPE): New type.
2495 * varasm.c (output_constant, case ERROR_MARK): New case.
2497 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
2498 (c_com): Delete its reference.
2499 * builtins.c: Delete memory checking code.
2500 * calls.c, expr.c, function.c, stmt.c: Likewise.
2501 * builtins.c (expand_builtin_arg_info): Remove reference to
2502 EXPAND_MEMORY_USE_* modifiers.
2503 * explow.c (expr_size): Likewise.
2504 * expr.c (expand_expr, expand_increment): Likewise.
2505 * expr.h (ARGS_SIZE_RTX): Likewise.
2506 * function.c (assign_parms, expand_pending_sizeso): Likewise.
2507 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
2508 * expr.c (in_check_memory_usage): Delete.
2509 (get_push_address, get_memory_usage_from_modifier): Delete.
2510 (expand_assigment): Use EXPAND_WRITE on destination.
2511 (expand_expr): Delete ro_modifier.
2512 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
2514 (memory_use_mode): Delete.
2515 * flags.h (flag_check_memory_usage): Deleted.
2516 (flag_prefix_function_name): Likewise.
2517 * function.c (expand_function_start): Don't set
2518 current_function_check_memory_usage.
2519 * function.h (check_memory_usage): Delete.
2520 * libfuncs.h, optabs.c: Delete chkr_* stuff.
2521 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
2523 * toplev.c (flag_check_memory_usage): Deleted.
2524 (flag_prefix_function_name): Likewise.
2525 (f_options, process_options): Delete references to above.
2526 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
2527 * varasm.c (CHKR_PREFIX): Deleted.
2528 (make_decl_rtl): Remove flag_prefix_function_name handling.
2529 (assemble_name): Likewise.
2530 * doc/extend.texi: Remove no_check_memory_usage attribute.
2531 * doc/invoke.texi: Remove -fcheck-memory-usage
2532 and -fprefix-function-name.
2534 2001-12-05 Andreas Schwab <schwab@suse.de>
2536 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
2539 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2541 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
2543 2001-12-05 William Cohen <wcohen@redhat.com>
2545 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
2548 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
2550 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
2553 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
2554 better reflect reality (change from Apple's tree).
2555 Add more of altivec instructions.
2556 Add ftruncv4sf2 pattern.
2557 Remove more unspecs (vector merge instructions, etc).
2559 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
2561 (bdesc_1arg): New, for 1 argument altivec builtins.
2562 (altivec_expand_builtin): Handle unary and ternary ops.
2563 (altivec_init_builtins): Ditto.
2565 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2567 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
2568 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
2570 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2572 * gcse.c (store_killed_in_insn): Consider pure calls
2573 as potential store killers in addition to normal calls.
2575 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2577 * expr.c (expand_expr): When checking promoted value, use
2578 DECL_MODE (exp) and not mode.
2580 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2582 * c-typeck.c (output_init_element): Call digest_init
2583 just once, not in each if branch and check its return value for
2586 2001-12-05 Jakub Jelinek <jakub@redhat.com>
2588 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
2589 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
2590 (finish_struct): Break the loop if n_incomplete went to 0.
2591 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
2593 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
2595 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
2597 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2598 Douglas B. Rupp <rupp@gnat.com>
2600 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
2601 * doc/invoke.texi: Add -gvms.
2602 * doc/passes.texi: Add mention of vmsdbgout.c.
2603 * doc/tm.texi: Document VMS debugging output.
2605 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2607 * function.h (tree, rtx): Remove no-longer-needed definitions.
2609 * function.c (keep_stack_depressed): Refine check for register
2610 clobbered over call.
2612 * expr.c (store_expr): When copying string constant into array,
2613 use functions that update memrefs instead of computations on
2614 addresses to better track MEMs. Also properly handle 32/64 pointers.
2615 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
2616 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
2618 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
2619 underneath COMPONENT_REFs.
2620 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
2622 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
2624 * toplev.c (display_target_options): Don't print twice.
2626 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
2628 * emit-rtl.c (set_unique_reg_note): Don't set
2629 a REG_EQUAL or REG_EQUIV note if multiple sets
2632 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2634 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
2637 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2639 * rtl.h (initialize_uninitialized_subregs): New prototype.
2640 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
2641 when optimization is on.
2642 * flow.c (find_regno_partial): Find subregs within an expression.
2643 (initialize_uninitialized_subregs): Initialize live on entry registers
2644 which are used in subreg expressions.
2646 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
2648 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
2650 2001-12-04 DJ Delorie <dj@redhat.com>
2652 * fixinc/fixincl.c (initialize): Avoid problemsome macro
2653 parameter names (PR 3388).
2655 2001-12-05 Alan Modra <amodra@bigpond.net.au>
2657 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
2658 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
2660 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2662 * c-common.def (COMPOUND_LITERAL_EXPR): New.
2663 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
2664 (c_staticp): New function.
2665 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
2666 (c_staticp): Declare.
2667 * c-typeck.c (default_function_array_conversion, build_unary_op):
2668 Don't handle CONSTRUCTOR specially.
2669 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
2670 * c-decl.c (build_compound_literal): New function.
2671 * c-tree.h (build_compound_literal): Declare.
2672 * c-parse.in (primary): Use build_compound_literal.
2673 * c-lang.c (LANG_HOOKS_STATICP): Define.
2674 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
2675 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
2676 * doc/extend.texi: Update documentation of compound literals.
2679 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2681 * langhooks.h (struct lang_hooks): Add staticp.
2682 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
2683 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
2684 * langhooks.c (lhd_staticp): New function.
2685 * tree.c (staticp): Call lang_hooks.staticp for language-specific
2688 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
2690 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
2691 * gcc.c (process_command): Ensure the cpp driver sees
2692 --help and --target-help, and that the help is printed
2695 2001-12-04 David Edelsohn <edelsohn@gnu.org>
2697 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
2699 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
2701 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
2702 flag_strict_aliasing. Use separate assignment statements.
2704 2001-12-04 Zack Weinberg <zack@codesourcery.com>
2706 * build-make, cross-make: Delete file.
2707 * configure.in: Set and substitute CROSS, ALL,
2708 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
2709 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
2710 whether build == host and host == target. Do not
2711 AC_SUBST_FILE build_overrides or cross_overrides. Do not
2712 AC_SUBST cross_defines or extra_c_flags.
2713 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
2714 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
2715 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
2716 partially or completely with autoconf-substituted @variable@
2718 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
2719 @build_overrides@, @extra_c_flags@, all.build, install-build,
2720 install-cross-rest, install-float-h-cross): Deleted.
2721 (install-normal): Rename to install. Delete old "install"
2724 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
2726 * stmt.c (expand_return): Clear destination instead of clobbering it
2727 when setting a return value via bitsets.
2729 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
2731 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
2732 it has DECL_SAVED_TREE.
2734 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
2735 is in a different binding level, get its abstract origin to be
2737 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
2739 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
2740 DECL_INITIAL is NULL.
2742 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2744 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
2745 Return correct value if one of the subexpressions was optimized to
2746 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
2747 (and_reg_cond): Similarly.
2749 2001-12-04 Jakub Jelinek <jakub@redhat.com>
2751 * function.c (assign_parms): Set last_named only for last named
2754 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2756 * doc/install.texi: Use the GFDL. Include years from old install
2757 manual in copyright notice. Include copyright and GFDL notice on
2758 HTML index page. Include usual footer on testing.html.
2759 * doc/install.texi2html: Build gfdl.html. Use -I
2761 * doc/include/fdl.texi: Adapt for use in the install manual.
2763 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2765 * doc/install.texi: Document that installed native compiler for
2766 building cross compilers should be GCC 2.95 or later.
2768 2001-12-03 Eric Christopher <echristo@redhat.com>
2770 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
2771 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
2774 2001-12-03 Janis Johnson <janis187@us.ibm.com>
2776 * rtl.def (PREFETCH): New rtx code.
2777 * doc/rtl.texi (PREFETCH): Add documentation.
2778 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
2779 * rtlanal.c (reg_referenced_p): Ditto.
2780 * sched-vis.c (print_exp): Ditto.
2781 * ssa-dce.c (find_inherently_necessary): Ditto.
2783 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
2784 (PREFETCH_BLOCK): Define.
2785 * config/ia64/ia64.md (itanium_class): Add lfetch.
2786 (prefetch, prefetch_internal): New.
2788 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
2789 * builtins.def (BUILT_IN_PREFETCH): New.
2790 * builtins.c (expand_builtin_expect): New.
2791 (expand_builtin): Call it.
2792 * doc/extend.texi: Document __builtin_prefetch.
2794 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
2795 conflicts with new generic prefetch functionality.
2796 * config/i386/i386.c (ix86_expand_builtin): Use new name for
2799 2001-12-02 Ziemowit Laski <zlaski@apple.com>
2801 * objc/Make-lang.in: Update copyright.
2802 (OBJC_OBJS): Add objc-lang.o.
2803 (objc-lang.o): New rule.
2804 * objc/config-lang.in: Fix file description and update
2806 * objc/objc-act.c: Do not include langhooks.h and
2808 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
2809 (objc_post_options): Move to objc-lang.c.
2810 (objc_init_options): Move to objc-lang.c.
2811 (objc_init): Make non-static.
2812 (objc_decode_option): Make non-static.
2813 (HASHFUNCTION): Remove macro.
2814 (hash_func): New function.
2815 (hash_enter): Replace HASHFUNCTION with hash_func.
2816 (hash_lookup): Replace HASHFUNCTION with hash_func.
2817 (maybe_objc_tree_codes): New function.
2818 (init_objc): Move ObjC tree code initialization to
2819 maybe_objc_tree_codes().
2820 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
2821 (objc_init): New public prototype.
2822 (objc_decode_option): New public prototype.
2823 (maybe_add_objc_tree_codes): New public prototype.
2824 * objc/objc-lang.c: New file.
2825 (lang_hooks): Moved from objc-act.c.
2826 (objc_post_options): Moved from objc-act.c.
2827 (objc_init_options): Moved from objc-act.c.
2829 2001-12-03 Geoff Keating <geoffk@redhat.com>
2831 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
2834 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
2837 * gcc.c (process_command): Don't add a preprocessor option for
2838 --help and --target-help; cc1 is enough.
2840 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
2842 * c-decl.c (grokdeclarator): Use ISO word.
2843 * cppinit.c: Remove leading capital from diagnostic messages, as
2844 per GNU coding standards.
2845 * emit-rtl.c: Similarly.
2846 * final.c: Similarly.
2848 * tradcpp.c: Similarly.
2849 * config/arm/arm.c: Similarly.
2850 * config/arm/arm.h: Similarly.
2851 * config/avr/avr.c: Similarly.
2852 * config/avr/avr.h: Similarly.
2853 * config/c4x/c4x.c: Similarly.
2854 * config/cris/cris.c: Similarly.
2855 * config/cris/cris.h: Similarly.
2856 * config/d30v/d30v.c: Similarly.
2857 * config/dsp16xx/dsp16xx.c: Similarly.
2858 * config/dsp16xx/dsp16xx.h: Similarly.
2859 * config/h8300/h8300.c: Similarly.
2860 * config/i386/i386.c: Similarly.
2861 * config/i386/xm-djgpp.h: Similarly.
2862 * config/i960/i960.h: Similarly.
2863 * config/m32r/m32r.c: Similarly.
2864 * config/m68hc11/m68hc11.c: Similarly.
2865 * config/m88k/m88k.c: Similarly.
2866 * config/m88k/m88k.h: Similarly.
2867 * config/mcore/mcore.c: Similarly.
2868 * config/mcore/mcore.h: Similarly.
2869 * config/mips/mips.c: Similarly.
2870 * config/mmix/mmix.c: Similarly.
2871 * config/pa/pa.c: Similarly.
2872 * config/rs6000/rs6000.c: Similarly.
2873 * config/rs6000/sysv4.h: Similarly.
2874 * config/s390/s390.c: Similarly.
2875 * config/sparc/sparc.c: Similarly.
2876 * config/v850/v850-c.c: Similarly.
2877 * config/v850/v850.c: Similarly.
2879 2001-12-03 Zack Weinberg <zack@codesourcery.com>
2881 * rs6000.h (RETURN_IN_MEMORY): Cast result of
2882 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
2884 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
2886 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
2887 bit twiddling constant.
2889 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
2891 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
2892 call purge_dead_edges after removing.
2893 (delete_null_pointer_checks): Do not handle delete_list.
2895 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
2896 (count_basic_blocks): ... here.
2897 (find_basic_blocks, find_bb_boundaries): Cleanup.
2899 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
2900 overflow for types greater then 2 * HOST_WIDE_INT.
2902 * reload.c (find_reloads): Update the duplicates after swapingg.
2904 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
2906 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
2908 2001-12-02 Zack Weinberg <zack@codesourcery.com>
2910 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
2911 MASK_LONG_DOUBLE_128): Delete.
2912 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
2913 TARGET_AIX_STRUCT_RET): New flags.
2914 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
2915 -mlong-double-64. Add entries for -m(no-)aix-struct-return
2916 and -m(no-)svr4-struct-return.
2917 (TARGET_OPTIONS): Add entry for -mlong-double-.
2918 (rs6000_long_double_size_string, rs6000_long_double_type_size,
2919 rs6000_altivec_abi): Declare.
2920 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
2921 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
2922 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
2923 structures of size <= 8 bytes in registers.
2924 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
2926 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
2927 rs6000_long_double_type_size, rs6000_altivec_abi): New
2929 (rs6000_override_options): Set rs6000_long_double_type_size
2930 from rs6000_long_double_size_string, if nonzero. Set the
2931 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
2933 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
2935 (rs6000_init_builtins): This hook now takes no arguments.
2937 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
2938 DRAFT_V4_STRUCT_RET to 1.
2940 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
2942 * c-typeck.c (really_start_incremental_init, push_init_level):
2943 Avoid constructor_max_index being other than an INTEGER_CST.
2945 2001-12-02 David Edelsohn <edelsohn@gnu.org>
2947 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
2949 (ASM_GENERATE_INTERNAL_LABEL): Same.
2950 (UNIQUE_SECTION): Fix typo.
2952 2001-12-02 Richard Henderson <rth@redhat.com>
2954 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
2956 2001-12-02 Richard Henderson <rth@redhat.com>
2958 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
2959 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
2960 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
2961 * expr.h, final.c, reload1.c: Adjust users.
2963 * alias.c (nonoverlapping_component_refs_p): New.
2964 (decl_for_component_ref, adjust_offset_for_component_ref): New.
2965 (nonoverlapping_memrefs_p): Use them.
2966 * emit-rtl.c (component_ref_for_mem_expr): New.
2967 (set_mem_attributes): Use it.
2968 (set_mem_offset): New.
2969 * expr.c (expand_assignment): Call set_mem_attributes for
2970 inner references; adjust the memory offset as needed.
2971 * print-rtl.c (print_mem_expr): New.
2972 (print_rtx): Use it.
2974 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
2976 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
2978 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
2979 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
2980 (ASM_SPEC): Don't redefine.
2981 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
2982 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
2983 * config/alpha/vms-dwarf2.asm: New file.
2985 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
2986 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
2987 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
2988 (vmsdbgout_after_prologue): New declaration.
2989 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
2990 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
2991 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
2992 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
2993 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
2994 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
2995 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
2996 Test VMS_DEBUGGING_INFO.
2997 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
2998 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
2999 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
3000 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
3001 VMS_AND_DWARF2_DEBUG.
3002 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
3003 (decode_g_option): Add "vms" to debug_type_names.
3004 (process_options): Set vmsdbg_debug_hooks if -gvms.
3005 (lang_independent_init): Emit line number for VMS unless -g0.
3006 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
3007 * vmsdbg.h, vmsdbgout.c: New files.
3009 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3011 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
3013 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3015 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
3016 * dwarf2out.c (is_cxx): Prototype.
3017 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
3019 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
3021 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3023 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
3025 2001-12-02 Geoff Keating <geoffk@redhat.com>
3027 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
3028 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
3029 rather than simplify_subreg. Check for volatile-ness. Check that
3030 we're not splitting one slow operation into two slow operations.
3032 2001-12-02 David Edelsohn <edelsohn@gnu.org>
3034 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
3037 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
3039 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
3040 capital from diagnostics.
3041 * c-lex.c (cb_file_change): Similarly.
3042 * c-parse.in : Similarly.
3043 * cfgrtl.c (verify_flow_info): Similarly.
3044 * collect2.c: Similarly.
3045 * cppfiles.c (find_include_file): Similarly.
3046 * cppinit.c (cpp_handle_option): Similarly.
3047 * cpplex.c (cpp_spell_token): Similarly.
3048 * cppmain.c (do_preprocessing): Similarly.
3049 * gcc.c (translate_options, process_command, do_spec1,
3050 main, pfatal_execute): Similarly.
3051 * genattr.c (main): Similarly.
3052 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
3053 write_test_expr, main): Similarly.
3054 * gencodes.c (main): Similarly.
3055 * genconfig.c (main): Similarly.
3056 * genconstants.c (main): Similarly.
3057 * genemit.c (main): Similarly.
3058 * genextract.c (main): Similarly.
3059 * genflags.c (main): Similarly.
3060 * genopinit.c (main): Similarly.
3061 * genoutput.c (process_template, main): Similarly.
3062 * genpeep.c (main): Similarly.
3063 * genrecog.c (main): Similarly.
3064 * gensupport.c (is_predicable, identify_predicable_attribute,
3065 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
3066 * ggc-page.c (alloc_anon): Similarly.
3067 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
3068 parse_begin, parse_bend, parse_def, parse_end, parse_file,
3069 parse_stabs_common, parse_stabs, write_varray, write_object,
3070 read_seek, copy_object, main, error): Similarly.
3071 * profile.c (compute_branch_probabilities): Similarly.
3072 * reg-stack.c (check_asm_stack_operands): Similarly.
3073 * reload.c (find_reloads): Similarly.
3074 * reload1.c (spill_failure, failed_reload): Similarly.
3075 * rtl-error.c (_fatal_insn_not_found): Similarly.
3076 * toplev.c (read_integral_parameter, crash_signal,
3077 decode_f_option, set_target_switch, parse_options_and_default_flags)
3079 * tradcif.y (parse_number, yylex): Similarly.
3080 * tradcpp.c (main, fancy_abort): Similarly.
3081 * tree.c (tree_check_failed): Similarly.
3082 * varray.c (varray_check_failed): Similarly.
3083 * xcoffout.c (xcoff_output_standard_types): Similarly.
3085 * objc-act.c (get_object_ref, lookup_and_install_protocols,
3086 build_objc_string_object, objc_declare_alias, build_ivar_chain,
3087 finish_message_expr, build_protocol_expr, is_public,
3088 start_class): Similarly.
3090 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
3092 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
3093 trailing period from diagnostics.
3094 * c-lex.c (cb_file_change): Similarly.
3095 * cppmacro.c (check_trad_stringification): Similarly.
3096 * gcc.c (do_spec_1): Similarly.
3097 * genattr.c (main): Similarly.
3098 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
3099 * gencodes.c (main): Similarly.
3100 * genconfig.c (main): Similarly.
3101 * genconstants.c (main): Similarly.
3102 * genemit.c (main): Similarly.
3103 * genextract.c (main): Similarly.
3104 * genopinit.c (main): Similarly.
3105 * genoutput.c (main): Similarly.
3106 * genpeep.c (main): Similarly.
3107 * genrecog.c (main): Similarly.
3108 * mips-tfile.c (add_file, error): Similarly.
3109 * profile.c (init_branch_prob): Similarly.
3110 * reload1.c (spill_failure): Similarly.
3111 * stmt.c (parse_output_constraint): Similarly.
3112 * varasm.c (assemble_variable): Similarly.
3114 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3116 * m68k.c (init_FPA_table): Provide static prototype.
3117 * mips/abi64.h (mips_function_value): Move prototype to ...
3118 * mips-protos.h (mips_function_value): ... here.
3119 * mips.c: Include halfpic.h.
3120 * output.h (rdata_section): Prototype.
3122 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3123 * m88k.c (m88k_svr3_asm_out_constructor,
3124 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
3126 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3127 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
3128 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
3130 2001-12-01 Geoff Keating <geoffk@redhat.com>
3132 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
3133 LO_SUM addresses less than word size are not legitimate,
3134 because they lead to invalid SUBREGs.
3135 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
3137 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
3139 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
3140 while scanning for multiple back edges.
3142 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3144 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
3145 * config/rs6000/tramp.asm: Use it.
3147 2001-12-01 Zack Weinberg <zack@codesourcery.com>
3149 * gencheck.c, gengenrtl.c: Don't define xmalloc.
3150 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
3153 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3155 * pa.c (output_ascii): Cast `p' to unsigned char.
3157 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3159 * config/rs6000/rs6000.c (altivec_expand_builtin): add
3160 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
3161 *_16qi,_8hi, rename existing V4SI ones to *_4si.
3162 (altivec_init_builtins): Ditto.
3163 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
3165 * config/rs6000/rs6000.md: Add attribute types vecsimple,
3166 veccomplex, vecfloat, and vecperm, for altivec instructions.
3167 Modify altivec patterns to use appropriate attribute type.
3168 Modify altivec patterns to match RTL operations where appropriate
3169 (IE no unspec where we can avoid it).
3170 Add vector unit scheduling for ppc7450.
3171 Rename patterns to what they are where appropriate
3172 (altivec_vaddfp->addv4sf3, etc)
3174 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
3175 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
3177 * config/rs6000/sysv4.h: Add -mcpu=7450.
3179 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
3180 _builtin_altivec_ld_interal function.
3182 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3184 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
3185 strchr, strrchr, isascii, gettimeofday.
3186 * config.in, configure: Regenerate.
3188 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3190 * unroll.c (unroll_loop): Correct special exit cases.
3192 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
3194 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
3195 accept DFmode and DImode only.
3197 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3199 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
3200 (STACK_DYNAMIC_OFFSET): Same.
3202 2001-11-30 Richard Henderson <rth@redhat.com>
3204 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
3206 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
3208 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
3209 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
3210 the values in call_used_registers.
3212 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
3214 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
3217 2001-11-30 Jason Merrill <jason@redhat.com>
3219 * dwarf2out.c (is_cxx): New fn.
3220 (add_data_member_location_attribute): Check it.
3221 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
3223 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3225 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
3227 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
3229 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
3230 MODE_VECTOR_FLOAT as allowed.
3232 2001-11-29 Zack Weinberg <zack@codesourcery.com>
3234 Purge cruft now we have build libiberty.
3236 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
3237 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
3238 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
3239 USE_HOST_STRSTR): Delete variables.
3240 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
3241 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
3242 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3243 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
3244 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
3245 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
3246 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
3247 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
3249 (HOST_RTL): Remove hashtab.o safe-ctype.o.
3250 (OBJS): Remove splay-tree.o.
3251 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
3252 (distclean): No need to delete splay-tree.c obstack.c
3253 hashtab.c safe-ctype.c.
3254 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
3255 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
3256 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
3258 * configure.in: Don't use them.
3259 Set and substitute @FORBUILD@.
3260 * config.in, configure: Regenerate.
3261 * doprint.c: Move to libiberty/_doprnt.c.
3262 * doc/configterms.texi: Document that libiberty is now built
3263 up to three times. Fix typo.
3265 2001-11-30 Jason Merrill <jason@redhat.com>
3267 * dwarf2out.c (add_data_member_location_attribute): Do the
3268 right thing for virtual bases.
3269 * dbxout.c (dbxout_type): For a virtual base, print the offset
3272 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
3274 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
3276 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
3278 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
3280 Remove unused attribute for named.
3282 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3284 * genattrtab.c (attr_rtx_1): New function containing the
3285 majority of `attr_rtx'. Move variable declarations into the
3286 scope where they are used. Eliminate unnecessary gotos.
3287 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
3288 VA_FIXEDARG, and VA_CLOSE.
3290 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
3292 * config/cris/cris.c (cris_notice_update_cc): Check first
3293 destination also against overlap with cc_status.value2 and second
3294 destination against overlap with cc_status.value1. For overlaps,
3295 clear overlapped value, don't just CC_STATUS_INIT.
3297 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
3298 Fix typo in comment.
3299 (LINK_SPEC): Remove whitespace at end of line.
3301 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3303 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
3305 2001-11-29 Jakub Jelinek <jakub@redhat.com>
3307 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
3308 macros for the supported debugging types.
3310 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
3313 * config/i386/i386.c (print_operand): Verify that the
3314 argument to %c is a constant and not a conditional which
3315 needs to be reversed.
3317 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
3319 * emit-rtl.c (gen_lowpart_common): Fix conversion of
3320 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
3321 of low part of those arrays for 32bit and 64bit hosts.
3323 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3325 * Makefile.in (insn-output.o): Depend on insn-codes.h.
3327 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3329 * configure.in (target_list): Add generated-manpages.
3330 * configure: Regenerate.
3331 * Makefile.in (generated-manpages): Depend on
3332 lang.generated-manpages.
3333 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
3335 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
3337 * config/arm/crti.asm (_init): Add .thumb_func if compiled
3339 (_fini): Add .thumb_func if compiled with -mthumb.
3341 2001-11-28 Eric Christopher <echristo@redhat.com>
3343 * config/mips/mips.c (override_options): Fix thinko in mips_tune
3344 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
3346 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
3348 * alpha.md (tablejump): Use pic_offset_table_rtx
3349 instead of gen_rtx_REG.
3351 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
3353 * expr.c (store_expr): When copying a string constant into an
3354 array, reset the known alignment of the MEM for the section to
3355 be cleared to BITS_PER_UNIT.
3357 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3359 * config/cris/cris.c: Remove whitespace at end of line.
3361 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
3363 * config.gcc (i[34567]86-*-interix3*): New case.
3364 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
3367 2001-11-28 Richard Henderson <rth@redhat.com>
3369 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
3370 symbolic_operand as the predicate.
3372 2001-11-28 Richard Henderson <rth@redhat.com>
3374 * doloop.c (doloop_modify_runtime): Properly select induction
3375 variable; skip late entry test if biv initializer created by loop.
3377 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3379 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
3380 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
3382 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
3384 * tree.h: Add missing checks on some macros; make formatting more
3387 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
3388 level; only add to pending_sizes if find it.
3390 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
3392 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
3393 Add casts to remove warnings.
3395 * Makefile.in (OBJS): Sort alphabetically.
3397 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
3398 Also minor cleanups.
3400 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
3402 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
3403 (FLAGS_TO_PASS): Add STAGE_PREFIX.
3404 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
3407 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
3409 * cse.c (true_dependence_in_rtx): New function.
3410 (invalidate): Use it.
3412 * c-common.h (GOTO_FAKE_P): New macro.
3413 * tree-inline.c (GOTO_FAKE_P): Set.
3414 * c-tree.texi (GOTO_FAKE_P): Document.
3416 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
3417 containing pointers.
3418 (output_addressed_constants): Check for local/external relocations.
3419 * elfos.h (SELECT_SECTION): Classify data section.
3420 * tm.texi (SELECT_SECTION): Update documentation.
3422 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
3423 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
3425 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3427 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
3428 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
3431 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
3433 * config/cris/cris.c: Tweak spacing for prototypes.
3434 (LOSE_AND_RETURN): New macro.
3435 (cris_operand_lossage): New function.
3436 (cris_print_index, cris_print_base): Use cris_operand_lossage
3437 rather than fatal_insn.
3438 (cris_print_operand, cris_print_operand_address): Use
3439 LOSE_AND_RETURN rather than fatal_insn and internal_error.
3440 (cris_output_addr_const): Use LOSE_AND_RETURN and
3441 output_operand_lossage rather than fatal_insn and internal_error
3442 for valid but unexpected rtx expressions.
3444 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
3445 for a SUBREG in src or dest, abort instead.
3447 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3449 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
3452 2001-11-27 Jakub Jelinek <jakub@redhat.com>
3454 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
3455 preprocessor define. If only DBX_DEBUGGING_INFO or only
3456 DWARF2_DEBUGGING_INFO is supported for the target, provide
3457 appropriate definitions.
3459 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3461 * Makefile.in: Update, and add c-objc-common.o dependencies.
3462 * c-lang.c: Remove unnecessary includes.
3463 (c_init): Move bulk of code to c_objc_common_init, and call it.
3464 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
3465 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
3467 * c-objc-common.c: New. Mostly pulled from c-lang.c.
3468 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
3469 c_objc_common_init, c_missing_noreturn_ok_p): New.
3470 * toplev.c: Update comment.
3471 * doc/passes.texi: Update.
3473 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
3474 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
3475 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
3476 (objc_init): Update to use c_objc_common_init.
3478 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
3480 * cpphash.c (_cpp_init_hashtable): Update.
3481 * cpphash.h (struct spec_nodes): Remove n_L.
3482 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
3484 2001-11-17 Richard Henderson <rth@redhat.com>
3486 * unroll.c (loop_iterations): Move last change ...
3487 * doloop.c (doloop_modify_runtime): ... here.
3489 2001-11-17 Corey Minyard <minyard@acm.org>
3490 Richard Henderson <rth@redhat.com>
3492 * unroll.c (loop_iterations): Detect one situation in which we
3493 overestimate the number of iterations.
3495 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3497 * gcc.c (set_input): Export.
3498 Move declaration ...
3499 gcc.h (set_input): ... here.
3501 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3503 * gcc.c (set_collect_gcc_options): New function, split out from
3505 Ignore elided switches.
3506 (do_spec): Invoke before executing command.
3507 (do_spec_1): Likewise.
3508 Fixes PR other/3968.
3510 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
3512 * config/cris/cris.h (INT_ASM_OP): Remove.
3514 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3516 * config/i386/sol2.h (WINT_TYPE): Redefine.
3517 (WINT_TYPE_SIZE): Likewise.
3519 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3521 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
3522 (dup2): Make static and add prototype.
3523 * m68k/plexus.h: Don't define NO_DUP2.
3524 * configure.in (AC_CHECK_FUNCS): Add dup2.
3525 * config.in, configure: Regenerate.
3527 * ia64/aix.h (REG_SIZE): Don't #undef.
3528 * sparc.h (REG_SIZE): Delete.
3529 * flow.c (mark_used_regs): Don't use REG_SIZE.
3530 * regs.h (REG_SIZE): Delete.
3532 2001-11-27 Andreas Schwab <schwab@suse.de>
3534 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
3535 PREFERRED_DEBUGGING_TYPE.
3537 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3539 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
3540 (expr.o, varasm.o): Depends on langhooks.h.
3541 * c-common.c (c_safe_from_p): Always declare.
3542 (c_expand_expr): Refine when declared.
3543 * c-lang.c (c-common.h): Now include.
3544 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
3545 (c_init): Don't set lang_safe_from_expr.
3546 * expr.c (langhooks.h): Now include.
3547 (lang_safe_from_p): No longer define.
3548 (safe_from_p): Use lang hook.
3549 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
3550 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
3551 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
3552 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
3553 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
3554 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
3555 * langhooks.h (struct lang_hooks): New fields expand_constant
3557 * output.h (output_constant): Size arg is HOST_WIDE_INT.
3558 * stmt.c (expand_decl_init): No longer need to expand constant
3560 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
3561 * toplev.c (lang_expand_constant): Delete var.
3562 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
3563 operations on SAVE_EXPR.
3564 * varasm.c (langhooks.h): Now include.
3565 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
3566 (record_constant_1, output_addressed_constants): Likewise.
3567 (initializer_constant_valid_p, output_constant): Likewise.
3568 (output_constant_def): Process no-defer of string constant.
3569 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
3570 (output_constant): Strip more conversions.
3571 Track our size and pad for the rest.
3572 (array_size_for_constructor): Remove code for non-byte STRING_CST.
3573 (output_constructor): SIZE now HOST_WIDE_INT.
3575 2001-11-27 Richard Henderson <rth@redhat.com>
3577 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
3580 2001-11-27 Zack Weinberg <zack@codesourcery.com>
3582 * cppfiles.c (read_include_file): Add comment.
3584 2001-11-26 Richard Henderson <rth@redhat.com>
3586 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
3588 2001-11-26 Richard Henderson <rth@redhat.com>
3590 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
3591 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
3592 commented out override.
3594 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3596 * cppfiles.c (stack_include_file): Don't optimize zero-length
3598 (read_include_file): NUL-terminate read files.
3599 * cpplex.c (handle_newline, skip_escaped_newlines,
3600 get_effective_char, skip_whitespace, parse_identifier,
3601 parse_identifier_slow, parse_number, parse_string,
3602 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
3604 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
3605 Be sure buffers are NUL terminated.
3606 * cppmacro.c (warn_of_redefinition): Kill compile warning.
3608 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
3610 * c-common.c: Include tree-inline.h.
3611 (c_language): Move separate definitions here.
3612 (c_common_init_options, c_common_post_options): New.
3613 (c_common_lang_init): Rename c_common_init.
3614 * c-common.h (c_common_lang_init): Similarly.
3615 (c_common_init_options, c_common_post_options): New.
3616 * c-lang.c (c_post_options): Move body to c_common_post_options.
3617 (c_init_options): Use c_common_init_options.
3619 * langhooks.def: Rearrange.
3620 * langhooks.h: Rearrange, and improve comments.
3621 * toplev.c (do_compile): New function.
3622 (toplev_main): Use it.
3623 (lang_independent_f_options, parse_options_and_default_flags,
3624 process_options): Remove trailing periods.
3625 * Makefile.in: Update.
3626 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
3628 (ojbc_init): Update.
3630 2001-11-26 Richard Henderson <rth@redhat.com>
3632 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
3634 2001-11-26 DJ Delorie <dj@redhat.com>
3636 * expr.c (store_constructor): Actually use the value computed
3637 if WORD_REGISTER_OPERATIONS.
3639 2001-11-26 Richard Henderson <rth@redhat.com>
3641 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
3644 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3646 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
3647 correct function on AIX.
3649 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
3651 * toplev.c (process_options): Don't force
3652 flag_optimize_sibling_calls to zero just because exceptions are
3655 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
3657 * df.h (transfer_function_sbitmap): Use PARAMS around argument
3658 list in function prototypes.
3659 (transfer_function_bitmap): Likewise.
3661 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
3663 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
3664 * config/i386/netbsd-elf.h: Likewise.
3666 2001-11-26 David Edelsohn <edelsohn@gnu.org>
3668 * doc/trouble.texi: Remove outdated RS/6000 comments.
3670 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
3672 * final.c (walk_alter_subreg): Fix return value.
3674 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
3676 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
3678 * sparc.md (post-reload splitters): Do not call alter_subreg.
3679 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
3681 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
3683 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
3685 2001-11-26 Alan Modra <amodra@bigpond.net.au>
3687 * final.c: (insn_lengths): Make it an int *, so that large jump
3688 tables don't overflow.
3690 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3692 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
3693 (format_types): Use it for scanf.
3694 (dollar_arguments_pointer_p): New.
3695 (init_dollar_format_checking): Store details of which arguments
3697 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
3698 (finish_dollar_format_checking): Take extra parameter
3699 pointer_gap_ok. Treat unused arguments differently if
3700 pointer_gap_ok and the unused arguments are pointers.
3701 (check_format_info_main): Pass extra argument to
3702 finish_dollar_format_checking.
3703 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
3704 unused arguments are present between used arguments with operand
3707 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
3709 * df.c: Add prototypes for hybrid_search_bitmap and
3710 hybrid_search_sbitmap.
3711 (hybrid_search_bitmap): New function.
3712 (hybrid_search_sbitmap): New function.
3713 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
3714 (iterative_dataflow_bitmap): Ditto.
3716 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3718 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
3719 address computations.
3721 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3723 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
3724 register b (low part of d).
3726 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3728 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
3731 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
3733 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
3734 * config/alpha/x-vms: New file, to compile the above.
3735 * config.gcc (alpha*-dec-vms*): Add x-vms.
3737 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
3739 * genextract.c (main): Set ro_loc for peepholes.
3741 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
3743 * fix-header.c (main): Move inf_buffer termination and inf_limit
3744 calculation to after read.
3746 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
3747 (__UNIX_FOPEN): Define.
3749 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3751 * function.c (assign_stack_temp_for_type): Clear alias set before
3754 2001-11-23 David Edelsohn <edelsohn@gnu.org>
3756 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
3758 * rs6000.md (cmptf): Fix typo.
3760 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
3762 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
3763 * varasm.c (output_constructor): Use assemble_integer rather
3764 than ASM_OUTPUT_BYTE.
3766 2001-11-23 Andreas Jaeger <aj@suse.de>
3768 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
3771 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
3773 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
3775 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
3776 (MULTILIB_DEFAULTS): Remove previous definition.
3778 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
3780 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
3781 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
3783 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3785 * cris.h: Revert thinko in last patch.
3787 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
3789 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
3790 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
3791 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
3792 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
3793 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
3794 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
3796 * predict.c, reg-stack.c: Fix spelling errors.
3798 2001-10-09 Andrew Haley <aph@redhat.com>
3800 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
3801 start of stack slot.
3803 2001-11-22 Graham Stott <grahams@redhat.com>
3805 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
3806 replacement jump after original jump.
3808 (verify_flow_info): Remove redundent initialisation.
3809 Handle reaching end of insn list before finding a BARRIER.
3810 Only issue one missing barrier diagnostic.
3812 2001-11-22 Graham Stott <grahams@redhat.com>
3814 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
3816 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3818 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
3821 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
3823 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
3824 Fix typo -mm32rx=> -m32rx.
3826 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
3829 * config.gcc (xscale-coff): Add necessary header files to
3832 2001-11-20 Zack Weinberg <zack@codesourcery.com>
3834 * rs6000.c (output_cbranch): Use $, not %$, in output template.
3836 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3838 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
3839 (lang_type_quals): Declare.
3840 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
3841 retrieve language-specific qualifiers for a type node, instead of
3842 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
3844 * tree-dump.h: Rename from c-dump.h.
3845 * c-common.h (C_TYPE_QUALS): Removed.
3846 Move declarations for tree-dump.c interface to...
3847 * tree.h: ... here. Remove lang_dump_tree.
3848 * langhooks.h (struct lang_hooks_for_tree_dump): New.
3849 (struct lang_hooks): Add tree_dump hooks.
3850 * langhooks.c (lhd_tree_dump_dump_tree): New function.
3851 (lhd_tree_dump_type_quals): New function.
3852 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
3854 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
3855 * Makefile.in: Move tree-dump.o to language-independent back-end.
3857 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3859 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
3860 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
3861 * arc.h (DBX_REGISTER_NUMBER): Likewise.
3862 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
3863 * avr.h (DBX_REGISTER_NUMBER): Likewise.
3864 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
3865 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
3866 * convex.h (DBX_REGISTER_NUMBER): Likewise.
3867 * cris.h (DBX_REGISTER_NUMBER): Likewise.
3868 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
3869 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
3870 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
3871 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
3872 * i370.h (DBX_REGISTER_NUMBER): Likewise.
3873 * i860.h (DBX_REGISTER_NUMBER): Likewise.
3874 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
3875 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
3876 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
3877 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
3878 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
3879 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
3880 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
3881 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
3882 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
3883 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
3884 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
3885 * romp.h (DBX_REGISTER_NUMBER): Likewise.
3886 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
3887 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
3888 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
3889 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
3890 * v850.h (DBX_REGISTER_NUMBER): Likewise.
3891 * vax.h (DBX_REGISTER_NUMBER): Likewise.
3892 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
3894 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
3895 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
3897 2001-11-21 H.J. Lu <hjl@gnu.org>
3899 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
3901 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3903 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
3904 emit_cmp_and_jump_insns.
3906 * stormy16.c (xstormy16_expand_builtin_va_arg,
3907 xstormy16_expand_casesi): Likewise.
3909 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3911 * function.c (keep_stack_depressed): Major rework.
3912 (handle_epilogue_set, emit_equiv_load): New functions.
3913 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
3915 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
3916 * rtl.h (SET_IS_RETURN_P): New macro.
3918 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
3919 and also support TREE_ADDRESSABLE.
3920 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
3922 2001-11-21 David Edelsohn <edelsohn@gnu.org>
3924 * rs6000.md (cmptf_internal1): Replace %$ with $.
3926 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
3928 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
3929 (read_include_file): Use STAT_SIZE_TOO_BIG.
3931 * cppinit.c (INO_T_COPY): Define.
3932 (INO_T_EQ): Uppercase parameters.
3933 (append_include_chain): Use INO_T_COPY.
3935 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
3937 * cfg.c: Fix typos and formatting in the introductory comment.
3939 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
3941 * profile.c (compute_branch_probabilites): Compute probabilities
3942 for entry/exit edges; estimate probabilities for zero counts.
3944 2001-11-21 Jakub Jelinek <jakub@redhat.com>
3946 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
3947 to emit_library_call.
3948 * function.c (expand_main_function, expand_function_start,
3949 expand_function_end): Likewise.
3950 * profile.c (output_func_start_profiler): Likewise.
3951 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
3952 second argument to emit_library_call.
3953 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
3954 as second argument to emit_library_call.
3955 * calls.c (emit_library_call): Update fn_type description.
3957 2001-11-21 Jakub Jelinek <jakub@redhat.com>
3959 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
3960 if fndecl is still DECL_INLINE and has DECL_RESULT.
3962 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3964 * clipper.c (clipper_movstr): Avoid uninitialized warning.
3965 * i960.c (is_mask, legitimize_address): Likewise.
3966 * m88k.c (m88k_expand_prologue): Likewise.
3967 * m88k.md: Likewise.
3968 * mcore.c (emit_new_cond_insn): Likewise.
3969 * stormy16.c (xstormy16_emit_cbranch): Likewise.
3971 2001-11-20 Zack Weinberg <zack@codesourcery.com>
3973 * config.gcc: Delete powerpcle-*-solaris2* stanza.
3974 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
3975 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
3976 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
3977 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
3978 config/rs6000/t-ppcos: Expunge all references to Solaris.
3980 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
3982 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
3984 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
3985 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
3987 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3989 * sh.md: Avoid uninitialized warnings.
3990 * vax.c (vax_rtx_cost): Likewise.
3992 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
3994 * rs6000.c (direct_return): Check if we are saving altivec
3996 (first_altivec_reg_to_save): New.
3997 Updated stack frame layout comments.
3998 (rs6000_stack_info): Calculate altivec register save size.
3999 Save link register if we saved some altivec registers.
4000 (rs6000_stack_info): Align save size to 16 if altivec abi or
4002 (rs6000_stack_info): Calculate altivec register offsets.
4003 (rs6000_stack_info): Add altivec info to save_size.
4004 (debug_stack_info): Add altivec debug info.
4005 (rs6000_emit_prologue): Save altivec registers and vrsave.
4006 (compute_vrsave_mask): New.
4007 (altivec_expand_builtin): Remove unused variables.
4008 (rs6000_parse_abi_options): Add static qualifier.
4009 (rs6000_expand_builtin): Remove unused parameters.
4010 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
4011 (altivec_init_builtins): Same.
4012 (is_altivec_return_reg): New.
4013 (vrsave_operation): New.
4014 (ALTIVEC_REG_BIT): New.
4015 (generate_set_vrsave): New.
4017 * rs6000.md (get_vrsave): New.
4019 (*set_vrsave_internal): New.
4021 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
4022 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
4023 altivec_padding_size, vrsave_mask.
4024 (TOTAL_ALTIVEC_REGS): New.
4025 (EPILOGUE_USES): Add VRSAVE_REGNO.
4027 2001-11-20 Jeff Law <law@redhat.com>
4029 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
4030 exit label as necessary.
4032 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
4034 * reload1.c (elimination_effects): Use function_invariant_p
4035 instead of CONSTANT_P when considering register equivalences.
4037 2001-11-20 David O'Brien <obrien@FreeBSD.org>
4039 * config.gcc: Add FreeBSD/PowerPC target.
4040 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
4041 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
4042 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
4043 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
4044 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
4045 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
4046 freebsd-spec.h to tm_file.
4047 (rs6000-*-lynxos*): Add lynx.h to tm_file.
4048 * config/freebsd.h: Tidy up.
4049 (USING_CONFIG_FREEBSD): Define.
4050 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
4051 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
4052 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
4053 (TARGET_HAS_F_SETLKW): Define.
4054 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
4055 * config/freebsd-spec.h: New file.
4056 * config/rs6000/freebsd.h: New file.
4057 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
4058 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
4059 USING_SVR4_H to know when to turn on ELF support.
4060 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
4061 define only if not already defined.
4062 Add FreeBSD support.
4063 * config/rs6000/aix.h (TARGET_VERSION): Define.
4064 * config/rs6000/beos.h: Likewise.
4065 * config/rs6000/darwin.h: Likewise.
4066 * config/rs6000/mach.h: Likewise.
4067 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
4068 Don't include lynx.h directly.
4070 2001-11-20 Graham Stott <grahams@redhat.com>
4072 * unwind-dw2-fde.c (__deregister_frame_info_bases):
4073 Fix lossage in last change return OB.
4075 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
4077 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
4078 Remove unneeded exit related macros.
4080 2001-11-20 David Edelsohn <edelsohn@gnu.org>
4082 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
4084 * rs6000.c (rs6000_emit_move): Add TFmode case.
4085 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
4086 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
4087 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
4088 * rs6000.h: ... to here.
4089 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
4090 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
4091 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
4093 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4095 * emit-rtl.c (get_mem_attrs): Fix typo.
4097 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4099 * c-lang.c (finish_file): Backout 2001-11-16
4100 changes, instead set DECL_DEFER_OUTPUT for static inline functions
4101 before calling c_expand_deferred_function.
4103 2001-11-20 Jakub Jelinek <jakub@redhat.com>
4105 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
4106 Don't register empty .eh_frame sections.
4107 (__deregister_frame_info_bases, __deregister_frame): Don't
4108 unregister them either.
4110 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4112 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
4113 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
4114 * configure: Regenerate.
4115 * config.in: Add dummy definitions of new flags.
4116 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
4117 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
4118 * gcc.c (ASM_DEBUG_SPEC): New macro.
4119 (asm_debug): New static variable.
4120 (default_compilers): Add asm_debug when assembling from
4122 (static_specs): Add asm_debug.
4124 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
4126 * config.gcc (*-*-freebsd*): Remove configuration block.
4128 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4131 * configure.in: Setup ability to run ./stage[1234]/xgcc in
4132 fixinc *as if* it were a proper lang subdirectory.
4133 * configure: Rebuilt.
4135 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
4137 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
4139 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4141 * 1750a.md: Don't use hex format for a const_int.
4143 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
4145 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
4147 2001-11-19 Zack Weinberg <zack@codesourcery.com>
4149 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
4150 defined (prevents link errors when gettext isn't in the system
4153 2001-11-19 DJ Delorie <dj@redhat.com>
4155 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
4156 (validate_const_int): New.
4157 (read_rtx): Validate constant integers.
4158 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
4160 2001-11-19 Jakub Jelinek <jakub@redhat.com>
4162 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
4164 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
4166 * toplev.c (DUMPFILE_FORMAT): Define default.
4167 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
4168 (close_dump_file, compile_file): Likewise.
4169 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
4170 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
4172 2001-11-19 Jeff Law <law@redhat.com>
4174 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
4177 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
4179 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
4180 Don't fall off the base token run.
4182 2001-11-19 Jason Wilkins <fenix@io.com>
4184 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
4186 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4188 * tree.def (VIEW_CONVERT_EXPR): New tree code.
4189 * tree.h (handled_component_p): New declaration.
4190 * alias.c (handled_component_p): Move function from here ...
4191 * expr.c (handled_component_p): ... to here and non longer static.
4192 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
4193 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
4194 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
4195 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
4196 (expand_expr, case VIEW_CONVERT_EXPR): New case.
4197 (expand_expr, cse ADDR_EXPR): No need to copy if already
4199 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
4200 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
4201 (output_constant): Handle VIEW_CONVERT_EXPR.
4202 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
4203 Add new case for VIEW_CONVERT_EXPR.
4205 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4207 * a29k/unix.h (ASM_FILE_START): Const-ify.
4208 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
4209 * i386/isc.h (ASM_FILE_START): Const-ify.
4210 * i386/sun386.h (ASM_FILE_START): Likewise.
4211 * m32r.md: Likewise.
4212 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
4213 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
4214 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
4215 * mn10200.md: Initialize variable.
4217 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
4219 * gcse.c (try_replace_reg): Copy RTX before creating note.
4221 * df.h (df_ref_flags): New uenum.
4222 (DF_REF_FLAGS): New macro.
4223 (struct ref): Add field "flags".
4224 * df.c (HANDLE_SUBREG): Remove.
4225 (df_ref_create): Likewise; set flags field of ref.
4226 (df_def_record_1): Strip down read_write subreg; remove
4227 commented out code; set READ_WRITE flag.
4228 (read_modify_subreg_p): New static function.
4229 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
4230 new argument "flags".
4231 (df_insn_refs_record): Update call of df_uses_record.
4232 (df_insn_modify): Avoid #if 0 around comment.
4233 (df_dump): Dump the read/write flag.
4235 * predict.c (propagate_freq): Make cyclic_probability and frequency
4238 * i386.c (ix86_cc_mode): Accept USE.
4240 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
4241 jump is turned into simplejump.
4243 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4245 * doc/fragments.texi, doc/trouble.texi: Remove links to old
4246 installation chapter.
4247 * doc/gcc.texi: Don't claim that this manual documents
4248 installation. Mark Installation menu entry as being out of date.
4250 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
4252 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
4253 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
4254 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
4256 2001-11-19 Jason Merrill <jason@redhat.com>
4258 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
4259 cur_token, not after.
4261 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
4262 Lose ASM_OUTPUT_CONSTRUCTOR.
4263 * system.h: Poison it and INT_ASM_OP.
4264 * c-lang.c (finish_file): Don't check for it.
4265 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
4267 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4269 * mmix.c (mmix_cc1_ignored_option): Const-ify.
4270 (mmix_init_machine_status): Make static to match declaration.
4271 (mmix_unique_section): Const-ify.
4272 (mmix_output_quoted_string): Avoid automatic aggregate
4274 (mmix_output_register_setting): Likewise.
4275 (mmix_output_shiftvalue_op_from_str): Likewise.
4277 * mmix.h (mmix_cc1_ignored_option): Const-ify.
4278 (ASM_OUTPUT_BYTE): Fix format specifier warning.
4279 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4281 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4284 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
4285 name __objc_thread_exit_status so that it matches the
4286 variable defined in objc/thr.h.
4288 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4291 * mklibgcc.in: Add missing semi-colons.
4292 * Makefile.in: Same.
4294 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4296 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
4297 after re-laying out decl in incomplete case.
4298 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
4300 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4302 * doc/install-old.texi: Move some sections out to ...
4303 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
4304 ... here. New files. Make into chapters rather than sections.
4305 * doc/gcc.texi: Include the new files and add menu entries for
4307 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4309 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4311 * tree.h (TYPE_ALIGN_OK): New flag.
4312 * emit-rtl.c (set_mem_attributes): Handle it.
4313 * expr.c (emit_single_push_insn): Only set to alias set 0 if
4314 doing sibcall optimization.
4315 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
4316 when make temporary.
4317 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
4318 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
4320 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
4322 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4324 * c-decl.c (c_decode_option): Give deprecation warning for
4326 * doc/invoke.texi (-traditional): Note that this option is
4329 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
4331 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
4332 arg to HOST_WIDE_INT, not long.
4334 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
4335 (HAS_INIT_SECTION): Define.
4336 (REAL_ARITHMETIC): Don't undefine.
4338 2001-11-18 Egor Duda <deo@logos-m.ru>
4340 * config/i386/cygwin.h: Strip leading '*' from name, if any.
4342 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
4344 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
4345 * c-common.c: Include diagnostic.h.
4346 (c_common_finish): New.
4347 * c-common.h (c_common_finish): New.
4348 * c-lang.c (LANG_HOOKS_FINISH): Override.
4349 * c-parse.in: Don't include diagnostic.h.
4350 (finish_parse): Remove.
4351 * langhooks.h: Update comments.
4352 * toplev.c (lang_dependent_init): New prototype.
4354 (compile_file): Split cleanup code out to finalize.
4355 (lang_dependent_init): Stop if lang_hooks.init fails.
4356 (toplev_main): Update.
4357 * tree.h (finish_parse): Remove.
4359 * objc-act.c (LANG_HOOKS_FINISH): Override.
4361 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
4363 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
4364 * config/alpha/vms_tramp.asm: New file.
4365 * config/alpha/vms-tramp.asm: Removed.
4367 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4369 * c-common.c (struct disabled_builtin, disabled_builtins,
4370 disable_builtin_function, builtin_function_disabled_p): New.
4371 (builtin_function_2): Check for disabled built-in functions.
4372 * c-common.h (disable_builtin_function): Declare.
4373 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
4374 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
4375 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
4377 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
4380 * config.gcc: Remove reference to va-clipper.h.
4382 2001-11-17 Stan Shebs <shebs@apple.com>
4384 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
4385 AltiVec-related bitfields.
4387 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4389 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
4390 (mark_eh_region, case ERT_UKNONW): New case.
4392 2001-11-17 Christopher Faylor <cgf@redhat.com>
4393 Corinna Vinschen <vinschen@redhat.com>
4395 * config/i386/cygwin.h: Search target specific include directory for
4396 w32api stuff, if appropriate.
4398 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
4400 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
4402 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
4404 * config/rs6000/rs6000.md: Change all ldvx to lvx.
4406 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
4408 * gensupport.c (process_rtx): Don't assume filename is the first
4409 argument of any rtl.
4411 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4413 * vax-protos.h (reg_was_0_p): New prototype.
4414 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
4415 * vax.c (follows_p, reg_was_0_p): New functions.
4417 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
4419 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
4420 (casesi1): Likewise. Define new pattern which arises by simplification
4421 when operand 1 is a constant int. Correct pattern which arises by
4422 simplification when operand 1 is zero.
4424 2001-11-16 David O'Brien <obrien@FreeBSD.org>
4426 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
4427 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
4428 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
4429 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
4430 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
4431 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
4432 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
4433 * config/arm/aof.h: Don't include arm.h.
4434 * config/arm/aout.h: Likewise.
4435 * config/arm/coff.h: Don't include semi.h and aout.h.
4436 * config/arm/elf.h: Don't include aout.h.
4437 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
4438 (TARGET_VERSION): Undef before defining.
4439 (ARM_OS_NAME): Likewise
4440 (TARGET_DEFAULT): Likewise
4441 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
4442 * config/arm/pe.h: Don't include arm/coff.h.
4443 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
4444 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
4445 * config/arm/riscix1-1.h: Likewise.
4446 * config/arm/rix-gas.h: Don't include riscix.h.
4447 (DBX_CONTIN_LENGTH): Undef before defining.
4448 * config/arm/semi.h: Don't include aout.h.
4449 * config/arm/semiaof.h: Don't include aof.h.
4450 * config/arm/strongarm-coff.h: Don't include coff.h.
4451 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
4452 * config/arm/vxarm.h: Don't include arm/coff.h.
4453 * config/arm/xscale-coff.h: Don't include coff.h.
4455 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4457 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
4460 2001-11-16 Andreas Jaeger <aj@suse.de>
4462 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
4464 (fixup_fallthru_exit_predecessor): ... this.
4465 Change callers and prototype.
4467 2001-11-16 Bernd Schmidt <bernds@redhat.com>
4469 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
4470 hand; don't use gen_setcc_2.
4471 (ix86_expand_builtin): Fix pshufw.
4472 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
4473 case UNORDERED to emit the right assembler instruction.
4474 (mmx_pshufw): Lose operand 2.
4475 (cvtsi2ss): Fix representation.
4477 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
4479 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
4481 * doc/include/linux-and-gnu.texi: Remove.
4482 * doc/gnu.texi: New.
4483 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
4484 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
4486 2001-11-16 Kazu Hirata <kazu@hxi.com>
4488 * config/a29k/a29k.c: Fix comment formatting.
4489 * config/a29k/a29k.h: Likewise.
4490 * config/arc/arc.c: Likewise.
4491 * config/arc/arc.h: Likewise.
4492 * config/vax/vax.c: Likewise.
4493 * config/vax/vax.h: Likewise.
4494 * config/we32k/we32k.c: Likewise.
4495 * config/we32k/we32k.h: Likewise.
4497 2001-11-16 Jeff Law <law@redhat.com>
4499 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
4500 creating a new jump insn.
4502 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4504 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
4505 copy misaligned data.
4506 * varasm.c (assemble_variable): Set alignment into MEM when changed.
4508 2001-11-16 Graham Stott <grahams@redhat.com>
4510 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
4513 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
4515 * except.c: Support for catching a list of types with a single handler
4516 (struct eh_region): Change type and filter to lists for catch regions.
4517 (mark_eh_region): Mark the filter list for GC also.
4518 (expand_start_catch): Always build a list if argument not NULL and
4519 register each type of the list through add_type_for_runtime.
4520 (duplicate_eh_region_1): Change type into type_list for catch regions.
4521 (assign_filter_values): Assign a filter to each type associated with a
4522 catch region. Assign filter for NULL types in a unique entry in the
4524 (build_post_landing_pads): Emit compare and jump for each filter of
4525 the list associated with a catch region.
4526 (reachable_next_level): When the type thrown is known, stop the search
4527 as soon as one type within a catch list matches. Also, a handler is
4528 potentially reachable only if at least one of the types it catches
4529 has not been previously caught.
4530 (collect_one_action_chain): Retrieve the filter for a NULL type list
4531 from the first filter list entry. For non NULL type lists, add an
4532 action record for every filter assigned.
4533 * except.h: Reflect changes in comment before expand_start_catch.
4535 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4537 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
4540 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
4542 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
4544 2001-11-16 Jakub Jelinek <jakub@redhat.com>
4546 * c-lang.c (finish_file): Don't emit static inline functions if
4547 they weren't referenced.
4549 2001-11-15 Stan Shebs <shebs@apple.com>
4551 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
4553 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4555 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
4557 * config/i386/i386.md: Likewise.
4559 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4561 * timevar.c (rtl.h): Include so get fancy abort.
4563 2001-11-15 Dale Johannesen <dalej@apple.com>
4565 * config/darwin.h (SELECT_RTX_SECTION): Force address
4566 initializers into 'const' section
4567 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
4568 if_then_else to match result, not operands
4570 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4572 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
4573 * emit-rtl.c (change_address): Fix typo in default alignment.
4574 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
4575 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
4576 * rtl.h (REGNO_PTR_FRAME_P): New macro.
4578 * expr.c (store_field): Pass tree instead of max size; callers changed.
4579 Change handling of alignment.
4580 Only copy to_rtx if is TARGET.
4581 (expand_expr_unaligned): Delete; callers now use expand_expr.
4582 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
4583 (expand_assignment): Change handling of alignment.
4584 Only copy to_rtx if was original.
4585 (get_inner_reference): No longer return alginment; callers changed.
4586 (expand_expr, case COMPONENT_REF): Change handling of alignment.
4587 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
4588 (compare_from_rtx): Delete ALIGN parm; all callers changed.
4589 (do_compare_rtx_and_jump): Likewise.
4590 * expr.h: Reflect above changes.
4592 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
4593 to get_inner_reference.
4594 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
4595 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
4596 * optabs.c: Likewise.
4597 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
4598 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
4599 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
4600 compare_rtx_and_jump, and emit_cmp_jump_insns.
4601 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
4602 * function.c (assign_stack_temp_for_type): No longer static.
4603 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
4604 (prepare_cmp_insn): Delete declaration.
4605 * rtl.h (assign_stack_temp_for_type): Add declaration.
4606 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
4607 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
4608 * config/i386/i386.c,config/mips/mips.c: Likewise.
4609 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
4610 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
4612 2001-11-15 Stan Shebs <shebs@apple.com>
4614 * config/rs6000/rs6000.h: Fix a comment typo.
4615 (RTX_COSTS): Sort processor versions better.
4617 2001-11-15 Kazu Hirata <kazu@hxi.com>
4619 * config/h8300/h8300.md: Fix insn length of bit insns.
4621 2001-11-15 Jason Merrill <jason@redhat.com>
4623 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
4624 DIEs if there were errors in the source.
4626 * config/alpha/alpha-interix.h, config/alpha/elf.h,
4627 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
4628 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
4629 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
4630 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
4631 config/elfos.h, config/lynx.h, config/netware.h,
4632 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
4633 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
4634 uses to use ASM_LONG.
4636 2001-11-15 Alan Matsuoka <alanm@redhat.com>
4638 * gensupport.c process_include : Change call to alloca to
4641 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
4643 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
4646 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4648 * final.c (alter_subreg): If simplify_subreg can't do anything,
4649 handle REG ourselves and abort for others.
4651 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
4653 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
4656 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4658 * fix-header.c (read_scan_file): Update.
4660 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4662 * toplev.c (toplev_main): Don't start timing until after
4663 command-line options are parsed.
4665 2001-11-15 Andreas Schwab <schwab@suse.de>
4667 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
4668 makefile frag, not host makefile frag.
4669 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
4670 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
4672 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
4673 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
4674 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
4675 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
4676 * config/i386/t-dgux (STMP_FIXPROTO): Define.
4677 * config/x-interix: Don't define STMP_FIXPROTO and
4679 * config/t-interix: New file, define STMP_FIXPROTO.
4680 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
4681 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
4682 * config/t-svr4 (FIXPROTO_DEFINES): Define.
4683 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
4684 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
4685 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
4686 * config/m68k/t-hp3200: Renamed from x-hp3200.
4687 * config/i370/t-oe: Renamed from x-oe.
4688 * config/mips/t-iris: Renamed from x-iris.
4689 * config/pa/t-bsd: Renamed from x-pa.
4690 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
4691 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
4692 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
4693 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
4694 config/rs6000/x-cygwin: Remove files.
4696 * configure.in: Check for target objdump and use that in eh_frame
4698 * configure: Regenerated.
4700 2001-11-15 Jakub Jelinek <jakub@redhat.com>
4702 * jump.c (squeeze_notes): Return true if no real insns were found.
4703 * rtl.h (squeeze_notes): Adjust prototype.
4704 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
4705 squeeze_notes finds no real instructions, abort.
4706 (merge_blocks_move_successor_nojumps): Likewise.
4707 * loop.c (find_and_verify_loops): Likewise.
4708 * stmt.c (expand_end_case): Likewise.
4709 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
4710 find any real instructions.
4712 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
4714 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
4715 conditional jump, request updating life into for the block
4716 containing it. Fix a typo which prevented life info update.
4717 Clear blocks bitmap before using it.
4719 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
4721 * c-common.c: Include c-lex.h.
4722 (c_common_lang_init): Change prototype. Call init_c_lex and
4723 init_pragma from here.
4724 * c-common.h (c_common_lang_init): Change prototype.
4725 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
4726 * c-lang.c (c_init): Change prototype. Update.
4727 (c_init_options): Update.
4728 * c-lex.c (cpp_filename): Remove.
4729 (init_c_lex): Update. Read the main file, and get the original
4731 (yyparse): Finish the command line options.
4732 * c-parse.in (c_parse_init): Call init_reswords here.
4733 (init_parse): Remove.
4734 * c-tree.h (c_init_decl_processing): New.
4735 * cpphash.c (_cpp_init_hashtable): After initializing the hash
4737 * cppinit.c (read_original_filename, cpp_finish_options): New.
4738 (cpp_create_reader): New prototype. Defer hash table initialization.
4739 (cpp_start_read): Rename cpp_read_main_file. Initialize the
4740 hash table. Get the original filename.
4741 * cpplib.h (cpp_create_reader): Update.
4742 (cpp_start_read): Remove.
4743 (cpp_read_main_file, cpp_finish_options): New.
4744 * cppmain.c (main, do_preprocessing): Update.
4745 * langhooks.h (struct langhooks): Update init prototype.
4746 * toplev.c (general_init, parse_options_and_default_flags,
4747 process_options, lang_indpendent_init, lang_dependent_init,
4748 init_asm_output): New; perform the bulk of initialization.
4749 (compile_file): Move most of initialization to above functions.
4750 (debug_hooks): Initialize statically.
4751 (set_Wunused): Relocate.
4752 (toplev_main): Move most of initialization to other init functions.
4753 Have a clear logic flow.
4754 * tree.h (init_parse, init_decl_processing): Remove.
4756 * objc-act.c (objc_init): Update prototype, combine with old
4758 (objc_init_options): Update.
4761 2001-11-15 Andreas Jaeger <aj@suse.de>
4763 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
4765 * basic-block.h: Adjust prototype.
4767 2001-11-15 Kazu Hirata <kazu@hxi.com>
4769 * config/rs6000/aix31.h: Fix comment formatting.
4770 * config/rs6000/beos.h: Likewise.
4771 * config/rs6000/darwin.h: Likewise.
4772 * config/rs6000/eabi.asm: Likewise.
4773 * config/rs6000/linux.h: Likewise.
4774 * config/rs6000/linux64.h: Likewise.
4775 * config/rs6000/lynx.h: Likewise.
4776 * config/rs6000/netbsd.h: Likewise.
4777 * config/rs6000/rs6000.c: Likewise.
4778 * config/rs6000/rs6000.h: Likewise.
4779 * config/rs6000/rs6000.md: Likewise.
4780 * config/rs6000/sol2.h: Likewise.
4781 * config/rs6000/tramp.asm: Likewise.
4782 * config/rs6000/xcoff.h: Likewise.
4783 * config/rs6000/xm-beos.h: Likewise.
4785 2001-11-14 Alan Matsuoka <alanm@redhat.com>
4787 * rtl.def (INCLUDE) : Define.
4788 * gensupport.c (init_include_reader, process_include,
4789 save_string) : New functions to implement an include facility
4791 * gensupport.h : Add prototype for init_md_reader_args.
4792 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
4793 genextract.c genflags.c genopinit.c genoutput.c
4794 genpeep.c genrecog.c: Change call to init_md_reader to
4795 init_md_reader_args.
4796 * md.texi: Document (include "path") and -I directives for RTL
4799 2001-11-14 DJ Delorie <dj@redhat.com>
4801 * integrate.c (get_hard_reg_initial_reg): New.
4802 * integrate.h (get_hard_reg_initial_reg): Prototype.
4803 * local-alloc.c (block_alloc): Don't tie pseudos that
4804 represent call-saved hard regs' initial values.
4806 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4808 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
4811 2001-11-14 Roger Sayle <roger@eyesopen.com>
4813 * fold-const.c (fold): Optimize strlen comparisons against zero.
4815 2001-11-14 David O'Brien <obrien@FreeBSD.org>
4817 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
4818 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
4819 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
4820 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
4821 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
4822 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
4823 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
4824 Include various CPU headers via tm_file. a.out based platforms now
4825 properly include sparc/aout.h. sol2.h usage now implies including
4826 elfos.h, svr4.h, and sparc/sysv4.h.
4827 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
4829 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
4830 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
4831 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
4832 Remove. They are a.out specific and belong in sparc/aout.h.
4833 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
4834 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
4835 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
4837 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
4838 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
4839 Moved here from sparc/sparc.h.
4840 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
4842 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
4843 * config/sparc/lynx.h: Don't include lynx.h.
4844 (SELECT_SECTION): Do not undef.
4845 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
4846 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
4848 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
4849 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
4851 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
4852 Don't undef, there is no need.
4853 * config/sparc/splet.h (CPP_PREDEFINES): Define.
4854 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
4855 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
4856 Don't include sparc/sparc.h.
4857 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
4858 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
4859 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
4861 (TARGET_VERSION): Define.
4862 * config/sparc/vxsim.h (TARGET_VERSION): Define.
4864 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
4866 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
4867 (cfg_layout_finalize): Use it.
4868 * bb-reorder.c (HAVE_epilogue): Remove.
4869 (make_reorder_chain): Do not care special placement of
4872 * predict.c (expected_value_to_br_prob): Delete the note
4875 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
4876 measure integration time separately.
4878 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4880 * function.c (struct temp_slot): ALIGN now unsigned.
4882 2001-11-14 Kazu Hirata <kazu@hxi.com>
4884 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
4885 * config/dsp16xx/dsp16xx.h: Likewise.
4886 * config/dsp16xx/dsp16xx.md: Likewise.
4888 2001-11-14 Kazu Hirata <kazu@hxi.com>
4890 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
4891 that deals with 7-bit shifts in HImode.
4893 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
4895 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
4896 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
4897 (final_scan_insn): Update call of alter_subreg.
4898 (cleanup_subreg_operands): Likewise.
4899 (alter_subreg): Rewrite using simplify_subreg.
4900 (output_address, output_operand): Update call of alter_subreg.
4901 * output.h (alter_subreg): Update prototype.
4902 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
4903 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
4904 * Makefile.in (final.o): Add dependency on expr.h
4906 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4908 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
4910 2001-11-13 Jeff Sturm <jsturm@one-point.com>
4912 * doc/install.texi (sparc-*-linux*): Mention requirements for
4915 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
4917 * Makefile.in (POD2MAN): Don't include --section=1.
4918 (manext): Rename to man1ext. All users changed.
4921 (generated-manpages): Also depend on $(docdir)/gfdl.7,
4922 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
4923 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
4924 --section=1 in calls to $(POD2MAN).
4925 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
4926 (maintainer-clean, install, uninstall): Handle the new man pages.
4927 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
4928 (installdirs): Create man7dir.
4929 * doc/cpp.texi: Include GFDL in this manual. In the man page,
4930 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
4931 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
4932 the SEE ALSO man page section.
4933 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
4934 and fsf-funding(7) in the SEE ALSO man page section.
4935 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
4936 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
4937 * doc/include/fdl.texi, doc/include/funding.texi,
4938 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
4939 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
4941 2001-11-13 Richard Henderson <rth@redhat.com>
4943 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
4944 as appropriate for the artificial decl.
4946 2001-11-13 Richard Henderson <rth@redhat.com>
4948 * loop.c (combine_movables): Turn off combination until
4949 move_movables validation bugs are fixed.
4951 2001-11-13 DJ Delorie <dj@redhat.com>
4953 * config.gcc (powerpc|rs6000): Set default cpp options based
4954 on --with-cpu settings.
4955 * config/rs6000/softfloat.h: New.
4957 2001-11-13 Kazu Hirata <kazu@hxi.com>
4959 * config/h8300/h8300.c (shift_alg_si): Use special code for
4960 25-bit shifts on H8/S.
4961 (get_shift_alg): Generate special code for 25-bit shifts on
4964 2001-11-13 Jakub Jelinek <jakub@redhat.com>
4966 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
4967 (adjust_automodify_address_1): New.
4968 * expr.h (adjust_address, adjust_address_nv): Adjust.
4969 (adjust_automodify_address, adjust_automodify_address_nv): Define.
4970 (adjust_address_1): Update prototype.
4971 (adjust_automodify_address_1): Add prototype.
4972 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
4973 (store_by_pieces_2): Likewise.
4975 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4977 * Makefile.in (explow.o): Now depends on ggc.h.
4978 * explow.c (ggc.h): Include.
4979 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
4981 * Makefile.in (expr.o): Depends on insn-attr.h.
4982 * expr.c (insn-attr.h): New include.
4983 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
4985 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
4986 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
4987 clean up related usage in ADDR_EXPR.
4988 (expand_expr_unaligned): Likewise.
4990 * emit-rtl.c (change_address): Fix typo in alias setting.
4992 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4994 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
4996 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
4999 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
5000 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
5002 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5004 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
5005 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
5006 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
5007 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
5008 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
5009 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
5010 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
5011 sparc64-*-linux*): Include various CPU headers via tm_file.
5012 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
5013 (SELECT_SECTION): Likewise.
5014 (SELECT_RTX_SECTION): Likewise.
5015 * config/sparc/sparc_bi.h: New file.
5016 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
5017 * config/sparc/linux-aout.h: Likewise.
5018 * config/sparc/linux.h: Don't include sparc/sysv4.h.
5019 * config/sparc/linux64.h: Likewise.
5020 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5021 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
5022 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
5024 (ASM_OUTPUT_IDENT): Do not #undef.
5025 (SELECT_SECTION): Likewise.
5026 (SELECT_RTX_SECTION): Likewise.
5027 * config/sparc/liteelf.h: Don't include gofast.h.
5028 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
5029 * config/sparc/lynx.h: Don't include sparc/sparc.h.
5030 * config/sparc/pbd.h: Likewise.
5031 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
5032 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
5033 * config/sparc/rtemself.h: Don't include rtems.h.
5034 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
5035 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
5037 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
5038 * config/sparc/sol2.h: Include sparc/sparc.h directly.
5039 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
5040 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
5041 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
5042 * config/sparc/sp86x-elf.h: Don't include gofast.h.
5043 * config/sparc/splet.h: Don't include sparc/aout.h.
5044 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
5045 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
5046 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
5047 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
5048 * config/sparc/vxsparc64.h: Don't include gofast.h.
5049 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
5051 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5053 * doc/standards.texi: Mention C99 TC1.
5055 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5057 * mips-protos.h (mips_output_conditional_branch): Const-ify.
5058 * mips.c (mips_output_conditional_branch): Likewise.
5060 2001-11-12 Kazu Hirata <kazu@hxi.com>
5062 * config/h8300/h8300.c (shift_alg_si): Use special code for
5063 15-bit logical shifts and 31-bit logical shifts.
5064 (get_shift_alg): Generate special code for 15-bit and 31-bit
5067 2001-11-12 Kazu Hirata <kazu@hxi.com>
5069 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
5070 doing 6-bit logical shifts on H8/S.
5071 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
5072 (get_shift_alg): Generate special code for 21-bit shifts on
5075 2001-11-12 Kazu Hirata <kazu@hxi.com>
5077 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
5080 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5082 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
5083 if both size and offset known.
5085 2001-11-12 David O'Brien <obrien@FreeBSD.org>
5087 * config/ia64/freebsd.h: Fix misspelling.
5089 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
5091 * doc/gcc.texi: Move several chapters out to ...
5092 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
5093 doc/include/linux-and-gnu.texi, doc/interface.texi,
5094 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
5095 ... here. New files.
5096 * doc/gcc.texi, doc/contrib.texi: Move section headings into
5098 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5100 2001-11-12 Kazu Hirata <kazu@hxi.com>
5102 * config/alpha/alpha-interix.h: Fix comment formatting.
5103 * config/alpha/alpha.c: Likewise.
5104 * config/alpha/alpha.h: Likewise.
5105 * config/alpha/alpha32.h: Likewise.
5106 * config/alpha/freebsd.h: Likewise.
5107 * config/alpha/unicosmk.h: Likewise.
5108 * config/alpha/vms.h: Likewise.
5110 2001-11-12 Kazu Hirata <kazu@hxi.com>
5112 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5114 2001-11-12 Jakub Jelinek <jakub@redhat.com>
5116 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
5119 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5121 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
5123 (replace_equiv_address): Call update_temp_slot_address.
5125 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
5127 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
5129 2001-11-12 Kazu Hirata <kazu@hxi.com>
5131 * config/h8300/h8300.c (shift_alg_qi): New.
5132 (shift_alg_hi): Likewise.
5133 (shift_alg_si): Likewise.
5134 (get_shift_alg): Change the type of count to unsigned int.
5137 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
5139 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
5140 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
5141 to decide whether to defer a function.
5142 (finish_function): Adjust.
5143 (c_expand_deferred_function): New function.
5144 * c-lang.c (deferred_fns): New variable.
5145 (c_init): Initialize it, and mark it as a root.
5146 (defer_fn): New function.
5147 (finish_file): Expand all deferred functions.
5148 * c-tree.h (defer_fn): Declare.
5149 (c_expand_deferred_function): Likewise.
5150 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
5151 * objc-act.c (deferred_fns): New variable.
5152 (objc_init): Initialize it, and mark it as a root.
5153 (defer_fn): New function.
5154 (finish_file): Expand all deferred functions.
5156 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5158 * alpha.c (unicosmk_special_name): Prototype.
5159 (unicosmk_ssib_name): Delete unused variable.
5160 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
5161 * alpha/vms.h (PREFIX): Undef before defining.
5162 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
5163 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
5164 controlling usage. Const-ify.
5165 (alias_number): Delete unused variable.
5166 * m32r/m32r.c (m32r_sched_init): Add missing argument.
5167 (m32r_expand_block_move): Fix uninitialized warnings.
5168 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
5169 always true' warnings.
5170 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
5171 * sh/sh.c: Include "integrate.h".
5172 (output_far_jump): Fix uninitialized warning.
5173 * final.c (shorten_branches): Avoid automatic aggregate
5175 * integrate.c (subst_constants): Likewise.
5177 2001-11-11 Kazu Hirata <kazu@hxi.com>
5179 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
5180 (get_shift_alg): Remove redundant code.
5182 2001-11-11 Kazu Hirata <kazu@hxi.com>
5184 * config/pa/milli64.S: Fix comment formatting.
5185 * config/pa/pa-64.h: Likewise.
5186 * config/pa/pa-linux.h: Likewise.
5187 * config/pa/pa-protos.h: Likewise.
5188 * config/pa/pa.c: Likewise.
5189 * config/pa/pa.h: Likewise.
5190 * config/pa/pa32-linux.h: Likewise.
5191 * config/pa/pa32-regs.h: Likewise.
5192 * config/pa/pa64-hpux.h: Likewise.
5193 * config/pa/pa64-regs.h: Likewise.
5194 * config/pa/som.h: Likewise.
5196 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5198 * doc/gcc.texi: Move several chapters out to ...
5199 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
5200 doc/service.texi, doc/standards.texi, doc/trouble.texi,
5201 doc/vms.texi: ... here. New files.
5202 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
5204 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
5206 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
5207 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
5208 collect2.c, combine.c, config.in, configure, configure.in,
5209 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
5210 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
5211 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
5214 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5216 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
5217 Adjust operand number in CONST_DOUBLE.
5219 * expmed.c (extract_bit_field): No longer pass in alignment.
5220 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5221 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
5223 * expr.c (store_constructor, store_constructor_field): Likewise.
5224 (store_field, emit_group_load, emit_group_store): Likewise.
5225 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
5226 (store_bit_field, extract_bit_field): Likewise.
5227 * calls.c, expr.c, function.c: Change calls to above functions.
5228 * ifcvt.c, stmt.c: Likewise.
5230 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
5231 constant and one is on frame.
5232 If know memref offset, adjust size from decl.
5234 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5236 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
5237 format specifier warning.
5238 * convex.h (ASM_OUTPUT_BYTE): Likewise.
5239 * elfos.h (ALIGN_ASM_OP): Undef before defining.
5240 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
5242 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5243 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5244 * i386-interix.h (gen_stdcall_suffix): Prototype.
5245 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5246 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5247 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5248 * i386/interix.c (gen_stdcall_suffix): Const-ify.
5249 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5250 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
5252 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5253 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
5254 ASM_OUTPUT_LONG_DOUBLE): Likewise.
5255 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5256 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5257 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5258 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5259 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
5260 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
5261 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5262 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5264 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
5266 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
5267 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5268 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
5270 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
5272 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5274 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
5275 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5276 * m68k/news.h (PRINT_OPERAND): Likewise.
5277 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
5278 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5279 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5280 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
5282 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
5283 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
5284 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
5285 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
5286 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
5287 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
5288 PRINT_OPERAND): Likewise.
5289 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
5291 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5292 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
5293 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
5294 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5295 * mips.c (mips_output_external_libcall): Mark parameter with
5297 (mips_asm_file_start): Move variable into the scope where it's
5299 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5300 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
5301 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
5302 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5303 * ns32k.c (print_operand): Likewise.
5304 * pa.c (print_operand, output_div_insn): Likewise.
5305 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
5306 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
5307 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
5308 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5310 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5311 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5312 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
5313 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
5315 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5317 * sdbout.c (sdbout_end_epilogue): Mark parameter with
5319 * varasm.c (assemble_global): Likewise.
5321 2001-11-11 H.J. Lu <hjl@gnu.org>
5323 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
5325 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
5327 * final.c (*_MAX_SKIP): Use *_max_skip variables.
5328 * flags.h (align_loops_max_skip, align_jumps_max_skip,
5329 align_labels_max_skip): New global variables.
5330 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
5331 align_labels_max_skip): New global variables.
5332 (toplev_main): Set new variables.
5333 * i386.c (override_options): Set max_skip values.
5335 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
5337 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
5338 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
5339 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
5340 don't print an @fptr for labels either.
5341 (xstormy16_output_addr_vec): Don't print @fptr here.
5342 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
5344 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
5346 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
5347 an ANSI/ISO definitino.
5348 (ssa_const_prop): Likewise.
5350 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
5352 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
5355 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5357 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
5358 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
5359 * cppmain.c (general_init): Call hex_init.
5360 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
5362 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
5364 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
5365 of dgux.c:output_file_start().
5367 * i386/dgux.c: Delete file.
5369 2001-11-09 Richard Henderson <rth@redhat.com>
5371 * config/alpha/alpha.c (decl_in_text_section): New.
5372 (current_file_function_operand): Use it.
5373 (alpha_encode_section_info, alpha_end_function): Likewise.
5375 2001-11-07 David O'Brien <obrien@FreeBSD.org>
5377 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
5378 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
5379 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
5380 so OS specific files and use CPP_PREDEFINES for their needs.
5381 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
5382 target headers to tm_file.
5383 * config/ia64/aix.h (TARGET_VERSION): Likewise.
5384 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
5385 * config/ia64/linux.h (TARGET_VERSION): Likewise.
5386 (FUNCTION_PROFILER): Remove.
5387 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
5388 version in config/ia64/linux.h.
5389 * config/ia64/freebsd.h: New file.
5390 * config/freebsd.h: Tidy up.
5391 (_USING_CONFIG_FREEBSD): Define.
5392 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
5393 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
5394 (FBSD_STARTFILE_SPEC): Likewise.
5395 (FBSD_ENDFILE_SPEC): Likewise.
5396 (FBSD_LIB_SPEC): Likewise.
5397 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
5398 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
5399 set an ELF-improper one.
5401 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5403 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
5404 constant can be loaded in a single instruction to a register. When
5405 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
5406 depdi for insertion of most significant 32-bits on 64-bit hosts.
5407 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
5408 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
5409 * pa.md: New addmove pattern for adding constant_int to HImode
5410 register and moving result to HImode register. Remove HImode HIGH
5411 and LO_SUM patterns.
5413 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5415 * Makefile.in: Update.
5416 * c-decl.c (print_lang_decl, print_lang_type): Remove.
5417 (print_lang_identifier): Rename c_print_identifier.
5418 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5419 (print_lang_statistics, lang_print_xnode): Remove.
5420 * c-parse.in (set_yydebug): Rename c_set_yydebug.
5421 * c-tree.h (c_set_yydebug, c_print_identifier): New.
5422 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
5423 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
5424 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
5425 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
5426 (LANG_HOOKS_INITIALIZER): Update.
5427 * langhooks.h (struct lang_hooks): New members.
5428 (lang_print_tree_hook): New.
5429 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
5430 * print-tree.c: Include langhooks.h.
5431 (print_node): Update.
5432 * toplev.c (decode_d_option): Update.
5433 * tree.c: Include langhooks.h.
5434 (dump_tree_statistics): Update.
5435 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
5436 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
5438 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
5439 LANG_HOOKS_SET_YYDEBUG): Override.
5440 (lang_print_xnode, print_lang_statistics): Remove.
5442 2001-11-09 Richard Henderson <rth@redhat.com>
5444 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
5445 on the symbol string.
5447 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5449 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
5450 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
5451 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
5453 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
5455 * tlink.c (recompile_files): Copy strings passed to `putenv'.
5457 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
5459 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
5460 (TYPE_READONLY): Likewise.
5462 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
5464 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
5465 don't pass --gdwarf2 to the assembler if the compiler will also
5468 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
5471 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5473 * alias.c (nonoverlapping_memrefs_p): New function.
5474 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
5476 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
5478 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
5480 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
5481 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
5482 generating altivec code.
5483 (FIXED_REGISTERS): VRSAVE is fixed.
5484 (CALL_USED_REGISTERS): VRSAVE is call used.
5486 2001-11-09 Jason Eckhardt <jle@rice.edu>
5488 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
5489 code the branch target as ".+16/.+12", but rather use labels.
5491 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
5493 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
5494 to work around limitations of certain versions of GAS.
5496 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
5497 (muldi3): Update due to SUBREG_BYTE changes.
5498 (casesi): Similarly.
5500 2001-11-09 Zack Weinberg <zack@codesourcery.com>
5502 * doc/invoke.texi: Remove comment referring to -xf77-version.
5504 2001-11-09 Kazu Hirata <kazu@hxi.com>
5506 * config/convex/convex.c: Fix comment formatting.
5507 * config/convex/convex.h: Likewise.
5509 2001-11-08 Zack Weinberg <zack@codesourcery.com>
5511 * Makefile.in (.po.pox): Look both in srcdir and builddir
5513 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
5514 to the source directory.
5516 2001-11-09 Ben Elliston <bje@redhat.com>
5517 Michael Meissner <meissner@redhat.com>
5518 Andrew MacLeod <amacleod@redhat.com>
5519 Richard Henderson <rth@redhat.com>
5520 Nick Clifton <nickc@redhat.com>
5521 Catherine Moore <clm@redhat.com>
5523 * m32r.c: Add support for m32rx processor.
5527 * m32r-protos.h: Add prototypes for m32rx functions.
5528 * doc/invoke.texi: Document -m32rx option.
5530 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5532 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
5535 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5537 * doc/install.texi2html: Use $MAKEINFO --no-split.
5539 2001-11-09 Andreas Schwab <schwab@suse.de>
5541 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
5542 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
5543 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
5544 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
5545 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
5547 2001-11-09 H.J. Lu <hjl@gnu.org>
5549 * config/mips/mips.c (mips_output_function_prologues): Cast
5550 `tsize' to long for output.
5552 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
5554 * c-lang.c (LANG_HOOKS_NAME): New.
5555 (lang_hooks): Constify.
5556 (c_init_options): Update.
5557 (lang_identify): Remove.
5558 * c-parse.in (language_string): Remove.
5559 * dbxout.c: Include langhooks.h.
5560 (dbxout_symbol_location): Update.
5561 * dwarf2out.c: Include langhooks.h.
5562 (gen_compile_unit_die): Update.
5563 * dwarfout.c: Include langhooks.h.
5564 (prototyped_attribute, output_compile_unit_die): Update.
5565 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
5566 (LANG_HOOKS_INITIALIZER): Update.
5567 * langhooks.h (struct lang_hooks): New members. Constify.
5568 * stringpool.c: Don't include toplev.h.
5569 (set_identifier_size): Remove.
5570 * toplev.c (toplev_main): Initialize identifier size.
5571 (print_version): Update.
5572 * tree.h (language_string, init_lex, lang_identify,
5573 set_identifier_size): Remove.
5574 * Makefile.in: Update dependencies.
5575 * config/darwin.c: Include langhooks.h.
5576 (func_name_maybe_scoped): Update.
5577 * config/darwin.h (ASM_END_FILE): Update.
5578 * config/nextstep.h (ASM_END_FILE): Update.
5579 * config/nextstep21.h (ASM_END_FILE): Update.
5580 * config/i386/sun386.h (ASM_END_FILE): Update.
5581 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
5582 (rs6000_output_function_epilogue): Update.
5584 * objc-act.c (LANG_HOOKS_NAME): Override.
5585 (struct lang_hooks): Constify.
5586 (objc_init_options): Update.
5587 (lang_identify): Remove.
5589 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
5591 * fold-const.c (lshift_double): Honor PREC.
5592 (rshift_double): Likewise.
5594 2001-11-08 Kazu Hirata <kazu@hxi.com>
5596 * config/1750a/1750a.c: Fix comment formatting.
5597 * config/1750a/1750a.h: Likewise.
5599 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
5601 * configure.in (--enable-languages): Be more permissive about
5602 syntax. Check for empty lists better. Warn about $LANGUAGES.
5603 * configure: Regenerated.
5605 2001-11-08 Richard Henderson <rth@redhat.com>
5607 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
5609 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
5611 * config.gcc: Rename stormy16 to xstormy16.
5612 * config/stormy16/stormy-abi: Likewise.
5613 * config/stormy16/stormy16-protos.h: Likewise.
5614 * config/stormy16/stormy16.c: Likewise.
5615 * config/stormy16/stormy16.h: Likewise.
5616 * config/stormy16/stormy16.md: Likewise.
5618 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
5620 * tree.h (TYPE_VOLATILE): Add enable-checking code.
5621 (TYPE_READONLY): Likewise.
5623 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5625 * reload1.c (reload): Don't delete equiv insn if can throw.
5627 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
5628 (clear_storage): Likewise, for OBJECT.
5630 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
5632 * pa.c (emit_move_sequence): Fix SUBREG expression to
5633 use proper byte offset when extending a constant from
5636 2001-11-09 Jakub Jelinek <jakub@redhat.com>
5638 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
5641 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5643 * explow.c (convert_memory_address, case SUBREG): Only return
5644 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
5646 2001-11-08 Richard Henderson <rth@redhat.com>
5648 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
5649 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
5650 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
5652 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
5654 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
5656 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5658 * dwarf2out.c (debug_str_hash): New.
5659 (struct indirect_string_node): New.
5660 (struct dw_val_struct): Change type of val_str to it.
5661 (DEBUG_STR_SECTION_FLAGS): Define.
5662 (add_AT_string): Push string into hashtable, increment reference
5664 (AT_string): Return string from ht_identifier.
5665 (AT_string_form): New.
5666 (free_AT): For dw_val_class_str, just decrement reference counter.
5667 (size_of_string): Remove.
5668 (size_of_die): Use AT_string_form to decide what size the string
5670 (size_of_pubnames): Use strlen instead of size_of_string.
5671 (value_format): Use AT_string_form for dw_val_class_str.
5672 (output_die): Output DW_FORM_strp strings using
5673 dw2_asm_output_offset.
5674 (indirect_string_alloc, output_indirect_string): New.
5675 (dwarf2out_finish): Emit .debug_str strings if there are any.
5677 2001-11-08 Andreas Franck <afranck@gmx.de>
5679 * configure.in: Add AC_ARG_PROGRAM to support program name
5680 transformation with --program-prefix, --program-suffix and
5681 --program-transform-name.
5682 * configure: Regenerated.
5683 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
5684 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
5685 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
5686 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
5687 program_transform_name the way suggested by autoconf.
5688 (GCC_TARGET_INSTALL_NAME): Define.
5689 (install-driver): Use the transformed target alias name.
5691 2001-11-08 Richard Henderson <rth@redhat.com>
5693 * config/mips/mips.c (save_restore_insns): Remove GP from the
5694 restore registers mask early instead of special casing it inside
5697 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
5699 * cp/decl.c (shadow_warning): New function.
5700 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
5701 and an error when a block scope decl shadows a parameter.
5703 2001-11-08 Richard Henderson <rth@redhat.com>
5705 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
5708 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
5710 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
5711 to implement floating negation on processors prior to PA 2.0.
5713 2001-11-08 Jakub Jelinek <jakub@redhat.com>
5715 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
5716 (USE_LINKONCE_INDIRECT): Define.
5717 (dw2_output_indirect_constant_1): Try to output indirect constants
5718 into linkonce sections if possible.
5719 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
5720 (dw2_output_indirect_constants): Likewise.
5722 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5724 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
5726 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
5728 * c-decl.c (pushdecl): Remove file and line.
5729 * c-typeck.c (pop_init_level): Remove size.
5731 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
5733 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
5736 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
5737 (TARGET_ALTIVEC): New.
5738 (TARGET_SWITCHES): Add altivec.
5739 (FIRST_PSEUDO_REGISTER): Change to 109.
5740 (CALL_USED_REGISTERS): Same.
5741 (FIRST_ALTIVEC_REGNO): New.
5742 (LAST_ALTIVEC_REGNO): New.
5743 (ALTIVEC_REGNO_P): New.
5744 (UNITS_PER_ALTIVEC_WORD): New.
5745 (ALTIVEC_VECTOR_MODE): New.
5746 (FIXED_REGISTERS): Add altivec registers.
5747 (REG_ALLOC_ORDER): Same.
5748 (HARD_REGNO_NREGS): Adjust for altivec registers.
5749 (HARD_REGNO_MODE_OK): Same.
5750 (MODES_TIEABLE_P): Same.
5751 (REGISTER_MOVE_COST): Same.
5752 (REGNO_REG_CLASS): Same.
5753 (reg_class): Add ALTIVEC_REGS.
5754 (REG_CLASS_NAMES): Same.
5755 (REG_CLASS_CONTENTS): Same.
5756 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
5757 (ALTIVEC_ARG_RETURN): New.
5758 (FUNCTION_VALUE): Handle VECTOR_TYPE.
5759 (LIBCALL_VALUE): Handle altivec vector modes.
5760 (VECTOR_MODE_SUPPORTED_P): New.
5761 (ALTIVEC_ARG_MIN_REG): New.
5762 (ALTIVEC_ARG_MAX_REG): New.
5763 (ALTIVEC_ARG_NUM_REG): New.
5764 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
5765 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
5766 (REGISTER_NAMES): Add altivec regs.
5767 (DEBUG_REGISTER_NAMES): Same.
5768 (ADDITIONAL_REGISTER_NAMES): Same.
5769 (rs6000_builtins): New.
5770 (MD_EXPAND_BUILTIN): New.
5771 (MD_INIT_BUILTINS): New.
5772 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
5773 for AltiVec instructions.
5774 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
5775 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
5777 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
5778 (TARGET_SWITCHES): Add no-altivec.
5779 (DATA_ALIGNMENT): Align vectors to 128 bits.
5780 (TARGET_OPTIONS): Add abi= option.
5781 Add rs6000_abi_string extern.
5782 (LOCAL_ALIGNMENT): New.
5783 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
5784 (MASK_ALTIVEC_ABI): New.
5785 (TARGET_ALTIVEC_ABI): New.
5786 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
5788 (STACK_BOUNDARY): Adjust for altivec.
5789 (BIGGEST_ALIGNMENT): Same.
5790 (rs6000_args): Add vregno.
5791 (USE_ALTIVEC_FOR_ARG_P): New.
5792 (FIXED_REGISTERS): Add vrsave register.
5793 (CALL_USED_REGISTERS): Same.
5794 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
5795 (VRSAVE_REGNO): New.
5796 (reg_class): Add VRSAVE_REGS.
5797 (REG_CLASS_NAMES): Same.
5798 (REG_CLASS_CONTENTS): Same.
5799 (REGNO_REG_CLASS): Same.
5801 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
5802 (ABI_STACK_BOUNDARY): Same.
5803 (BIGGEST_ALIGNMENT): Same.
5804 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
5805 (ROUND_TYPE_ALIGN): Same.
5807 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5810 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5813 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
5816 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
5817 (altivec_expand_builtin): New.
5818 (altivec_init_builtins): New.
5819 (TARGET_EXPAND_BUILTIN): New.
5820 (TARGET_INIT_BUILTINS): New.
5821 (rs6000_init_builtins): New.
5822 (struct builtin_description): New.
5824 (rs6000_reg_names): Add altivec registers.
5825 (alt_reg_names): Same.
5826 (secondary_reload_class): Altivec regs can hold altivec regs and
5828 (rs6000_emit_move): Force constants into memory for AltiVec moves.
5829 (print_operand): Add 'y' case for printing altivec memory
5831 (rs6000_legitimize_address): Legitimize vector addresses into
5833 (altivec_expand_binop_builtin): New.
5834 New string rs6000_current_abi.
5835 (rs6000_override_options): Call rs6000_parse_abi_options.
5836 (rs6000_parse_abi_options): New.
5837 (function_arg_boundary): Vector arguments must be 16
5839 (function_arg_advance): Handle vector arguments.
5840 (function_arg_partial_nregs): Same.
5841 (init_cumulative_args): Same.
5842 (function_arg): Same.
5844 * config/rs6000/rs6000.md (altivec_lvx): New.
5845 (type): Add altivec attribute.
5847 (*movv4si_internal): New.
5849 (*movv16qi_internal): New.
5851 (*movv8hi_internal1): New.
5853 (*movv4sf_internal1): New.
5854 (altivec_stvx): New.
5970 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
5972 * Makefile.in (df.o): Add fibheap.h to dependencies.
5974 * df.h: Add prototypes for transfer functions, iterative_dataflow
5976 (enum df_flow_dir): New enum.
5977 (enum df_confluence_op): New enum.
5978 (struct df): Add inverse_rts_map.
5980 * df.c: Add sbitmap.h to the list of includes.
5981 (df_rd_global_compute): Removed.
5982 (df_ru_global_compute): Removed.
5983 (df_lr_global_compute): Removed.
5984 (df_rd_transfer_function): New function.
5985 (df_ru_transfer_function): New function.
5986 (df_lr_transfer_function): New function.
5987 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
5988 Use iterative_dataflow_bitmap instead of df_*_global_compute.
5989 (iterative_dataflow_sbitmap): New function.
5990 (iterative_dataflow_bitmap): New function.
5992 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5994 * doc/gcc.texi: Move terminology and spelling conventions to
5995 htdocs/codingconventions.html.
5997 2001-11-07 Graham Stott <grahams@redhat.com>
5999 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
6001 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
6003 * expmed.c (expand_mult): Force operand to register before computing
6005 * i386.c (x86_decompose_lea): New global vairable.
6006 * i386.h (x86_decompose_lea): Declare.
6007 (TARGET_DECOMPOSE_LEA): New macro.
6008 (RTX_COST): Handle leas properly.
6010 2001-11-06 Richard Henderson <rth@redhat.com>
6012 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
6013 defined for a CONSTRUCTOR; don't check it.
6015 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
6017 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
6018 test for absolute pathnames.
6020 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
6022 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
6023 instructions up to the target pc inclusive.
6025 2001-11-06 Steve Christiansen <smc@us.ibm.com>
6027 * loop.c (loop_regs_scan): Don't invalidate PIC register.
6029 2001-11-06 Eric Christopher <echristo@redhat.com>
6031 * config/mips/mips.md(movdf_internal2): Add constraints for float
6032 to general register move.
6033 * config/mips/elf64.h: Add default ABI.
6035 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6037 * alias.c:: Include langhooks.h.
6038 * emit-rtl.c: Similarly.
6039 * toplev.c: Similarly.
6040 * tree-inline.c: Similarly.
6041 * langhooks-def.h: New, the old langhooks.h. Give the default
6042 hooks a common prefix.
6043 * langhooks.h: Contents extracted from toplev.h.
6044 * toplev.h: Move langhook stuff to langhooks.h.
6045 * langhooks.c: Give default hooks a common prefix.
6047 * c-lang.c: Include langhooks-def.h.
6048 * objc/objc-act.c: Similarly.
6049 * Makefile.in: Update.
6050 * objc/Make-lang.in: Update.
6052 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6054 * doc/install.texi: Document that configure options not listed in
6055 this file are unsupported. Document --with-system-zlib.
6057 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6059 * rtl.h (mem_for_const_double): New declaration.
6060 * varasm.c (mem_for_const_double): New function.
6061 * config/convex/convex.md (movdf): Use it.
6062 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
6063 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
6064 * config/m68k/m68kv4.h: Likewise.
6066 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
6067 of new GP reg classes.
6069 * expr.c (store_field): When making temp object for unaligned
6070 component, set it to alias set 0.
6072 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
6074 * c-common.c (c_expand_expr_stmt): Apply default conversions to
6075 non-lvalue arrays if C99.
6076 * c-typeck.c (default_conversion): Split out code handling
6077 array-to-pointer and function-to-pointer conversions into a
6078 separate default_function_array_conversion function.
6079 (default_function_array_conversion): New function. Keep track of
6080 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
6081 arrays unchanged outside C99 mode instead of giving an error for
6083 (build_component_ref): Use pedantic_non_lvalue when handling
6084 COMPOUND_EXPR. Don't handle COND_EXPR specially.
6085 (convert_arguments): Use default_function_array_conversion.
6086 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
6088 (unary_complex_lvalue): Likewise.
6089 (internal_build_compound_expr): Use
6090 default_function_array_conversion. Apply default conversions to
6091 function in compound expression.
6092 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
6093 Use default_function_array_conversion.
6094 * doc/extend.texi: Update documentation of subscripting non-lvalue
6098 2001-11-05 Zack Weinberg <zack@codesourcery.com>
6100 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
6101 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
6102 corresponding to the complete set of .po and .gmo files in
6103 the source directory's po subdir, modified by LINGUAS. Don't
6104 look at ALL_LINGUAS.
6105 * configure.in: Don't set ALL_LINGUAS.
6106 * configure: Regenerate.
6108 * Makefile.in (.po.gmo): Don't move into source directory.
6109 (.po.pox): Clarify comments.
6110 (install-po): Look for .gmo files in both srcdir and objdir;
6111 don't fail if a file is totally missing.
6112 (distclean): rmdir ada subdirectory too.
6114 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6116 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6117 CONSTRUCTORs _correctly_.
6119 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6121 * c-decl.c (delete_block): Remove.
6122 * c-tree.h (delete_block): Remove.
6124 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6126 * cppexp.c (lex, parse_defined): Update warning about defined.
6128 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
6130 * config/rs6000/rs6000.c (rs6000_select_section): Handle
6133 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
6135 * config/arm/arm.c (arm_return_in_memory): Cope with
6136 int_size_in_bytes returning -1.
6138 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
6141 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
6143 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
6144 remove unneeded dependencies;
6146 * cfglayout.c, cfglayout.h: New files; break out from ...
6147 * bb-reorder.c: ... here; Remove unneeded includes;
6149 2001-11-04 Alan Modra <amodra@bigpond.net.au>
6151 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
6153 2001-11-04 David Edelsohn <edelsohn@gnu.org>
6155 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
6156 mode as well. Do not explicitly create intermediate regs.
6158 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6160 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
6161 (common_section): Delete unused variable.
6162 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
6163 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
6164 * arm-protos.h (arm_poke_function_name, aof_add_import,
6165 aof_delete_import): Const-ify.
6166 * arm.c (legitimize_pic_address): Wrap variables in the macro
6167 controlling their usage.
6168 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
6169 (arm_poke_function_name, pic_chain, import, aof_add_import,
6170 aof_delete_import): Const-ify.
6171 * i386.c (ix86_osf_output_function_prologue): Const-ify.
6172 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
6173 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
6174 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
6175 * i860/sysv3.h: Add missing comment closure.
6176 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
6177 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
6178 to symbolic_operand.
6180 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
6181 (i960-*-*): Set tmake_file.
6182 (sparc86x-*-elf*): Fix typo in header name.
6184 * sched-rgn.c (schedule_insns): Delete unused variable.
6186 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
6189 * c-typeck.c (lookup_field): Rework to return a chain down to
6190 the looked-up field.
6191 (build_component_ref): Use the new lookup_field to handle
6192 nested anonymous entities correctly.
6194 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6196 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
6197 Change parameters to gen_rtx_CONST_DOUBLE.
6198 (GEN_INT64, sparc_emit_set_const64): Likewise.
6199 * config/sparc/sparc.md (movdf split): Likewise.
6201 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
6203 * unroll.c (calculate_giv_inc): Use find_last_value rather
6204 than just hoping the last instruction is the right SET.
6205 [Fixes 990604-1.c on stormy16.]
6207 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
6208 library at all if -T is used.
6210 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
6211 some uses of uninitialized variables in error cases.
6213 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
6214 look at 'temp' if we won't be using it.
6216 * config/stormy16/stormy16.h (CONST_COSTS): Define.
6217 (RTX_COSTS): Define.
6218 (ADDRESS_COST): Define.
6219 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
6221 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
6223 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
6224 stormy16_asm_output_mi_thunk.
6225 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
6227 * config/stormy16/stormy16-protos.h
6228 (stormy16_asm_output_mi_thunk): New prototype.
6230 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
6232 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
6233 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
6234 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
6235 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
6236 sched-int.h, toplev.c, config/alpha/alpha.c,
6237 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
6238 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
6239 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
6240 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
6241 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
6242 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
6243 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
6245 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6247 * Makefile.in (dbxout.o): Depend on function.h.
6248 * collect2.c (is_in_list): Hide unused function.
6249 * dbxout.c: Include function.h.
6250 (source_label_number, dbxout_source_line, dbxout_source_file,
6251 dbxout_function_end, dbxout_begin_function): Wrap/move inside
6252 macros controlling usage.
6253 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
6254 * output.h (exports_section): Prototype.
6256 * convex.c (convex_output_function_prologue): Fix format specifier
6258 (asm_declare_function_name): Fix signed/unsigned warning.
6259 (print_operand): Fix format specifier warning.
6260 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
6261 * dsp16xx-protos.h (uns_comparison_operator,
6262 num_1600_core_shifts): Prototype.
6263 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
6264 (frame_size, frame_pointer_offset): Delete.
6265 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
6266 Make static. Fix format specifier warnings.
6267 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
6268 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
6269 * dsp16xx.md: Add default case in switches.
6270 * fr30.h (IN_RANGE): Delete.
6271 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
6272 * mcore-protos.h (mcore_output_cmov): Const-ify.
6273 * mcore.c (mcore_output_cmov): Likewise.
6274 * mcore.h (switch_to_section): Make static and prototype.
6275 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
6276 unsigned>=0 warnings.
6277 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
6278 * rs6000-protos.h (read_only_data_section,
6279 read_only_private_data_section): Prototype.
6280 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
6281 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
6282 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
6284 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6286 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
6288 * final.c (final_scan_insn): Add brackets around body of if-stmt.
6289 * gcc.c (convert_filename): Add static prototype. Const-ify.
6290 Wrap variable in macros controlling its use.
6291 * output.h (sdata_section): Add prototype.
6293 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6294 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
6295 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
6296 (ASM_FILE_START): Const-ify.
6297 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
6299 * c4x.md: Don't use the 'U' integer suffix.
6300 * clipper.md (clipper_movstr): Delete declaration.
6301 * d30v-protos.h (d30v_move_2words): Const-ify.
6302 (debug_stack_info): Add prototype.
6303 * d30v.c: Include "integrate.h".
6304 (d30v_function_arg_boundary, d30v_function_arg,
6305 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
6306 signed/unsigned warnings.
6307 (d30v_print_operand_memory_reference, d30v_move_2words):
6309 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
6310 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
6311 * fr30.md: Const-ify.
6312 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6313 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
6314 (mvs_get_label_page): Hide unused static function.
6315 * i860.c (current_function_original_name): Const-ify.
6316 * i860/sysv3.h (current_function_original_name): Likewise.
6317 * i860/sysv4.h (current_function_original_name): Likewise.
6318 * i960.md: Add default case in switches. Remove unused variable.
6319 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
6320 * m32r.md: Const-ify.
6321 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
6322 * m68hc11.c: Include "reload.h".
6323 (static_chain_reg, print_options, m68hc11_asm_file_start):
6325 * m68hc11.md: Delete unused variable. Const-ify. Add parens
6326 around & in comparison.
6327 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
6328 * mn10200.c (shift_mode): Remove trailing comma.
6329 * mn10300-protos.h (output_tst): Const-ify.
6330 * mn10300.c (output_tst): Likewise.
6331 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
6333 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
6334 * pa.c (output_ascii): Likewise.
6335 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
6336 * pdp11.md (expand_unop): Delete declarations.
6337 * pj-protos.h (pj_output_addsi3): Const-ify.
6338 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
6339 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
6340 unique_src_operand): Add prototypes.
6341 (pj_output_store_into_lval): Make definition static.
6342 (pj_function_incoming_arg): Don't use unary plus.
6343 (pj_output_addsi3): Const-ify.
6344 * romp.md (get_symref): Delete declarations.
6345 * v850-c.c (mark_current_function_as_interrupt): Don't return
6346 value from void function.
6347 * v850.c: Include "integrate.h".
6348 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
6349 * vax-protos.h (const_section): Add prototype.
6351 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
6353 * machmode.def: Add documentation for the seventh argument in
6356 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
6358 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
6360 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
6361 <-melf>: Don't have markup for ELF acronym.
6363 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
6365 * config.gcc (mmix-*-*): New target.
6366 * doc/invoke.texi: Document MMIX options.
6367 * doc/contrib.texi: Add note about MMIX port to my entry.
6368 * config/mmix/t-mmix: New file.
6369 * config/mmix/mmix.h: New file.
6370 * config/mmix/mmix-protos.h: New file.
6371 * config/mmix/mmix.c: New file.
6372 * config/mmix/mmix.md: New file.
6373 * config/mmix/crti.asm: New file.
6374 * config/mmix/crtn.asm: New file.
6376 2001-11-03 Kazu Hirata <kazu@hxi.com>
6378 * config/sparc/linux-aout.h: Fix comment formatting.
6379 * config/sparc/linux.h: Likewise.
6380 * config/sparc/linux64.h: Likewise.
6381 * config/sparc/lynx.h: Likewise.
6382 * config/sparc/pbd.h: Likewise.
6383 * config/sparc/sol2-sld-64.h: Likewise.
6384 * config/sparc/sol2.h: Likewise.
6385 * config/sparc/sparc.c: Likewise.
6386 * config/sparc/sparc.h: Likewise.
6387 * config/sparc/sparc.md: Likewise.
6388 * config/sparc/sunos4.h: Likewise.
6389 * config/sparc/vxsim.h: Likewise.
6390 * config/sparc/vxsparc.h: Likewise.
6391 * config/sparc/vxsparc64.h: Likewise.
6393 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6395 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
6396 reference to CONST_DOUBLE_MEM in comment.
6397 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
6398 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
6399 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
6400 * function.c (pop_function_context_from): Don't call
6401 restore_varasm_status.
6402 * function.h (restore_varasm_status): Delete declaration.
6403 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
6405 * rtl.def (CONST_DOUBLE): Update comment.
6406 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
6407 (CONST_DOUBLE_CHAIN): Likewise.
6408 (CONST_DOUBLE_MEM): Delete.
6409 (gen_rtx_CONST_DOUBLE): Update parameters.
6410 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
6411 Remove reference to CONST_DOUBLE_MEM.
6412 (const_alias_set): New variable.
6413 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
6414 (immed_real_const_1): Adjust tests for 0, 1, and 2.
6415 Don't set CONST_DOUBLE_MEM.
6416 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
6417 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
6418 Put constant in const_alias_set.
6419 (struct pool_constant): ALIGN now unsigned.
6420 OFFSET now HOST_WIDE_INT.
6422 (restore_varasm_status): Deleted.
6423 (mark_pool_constant): Mark desc->rtl.
6424 (force_const_mem): Rework to store rtl in hash table,
6425 not CONST_DOUBLE_MEM.
6426 Put constant in const_alias_set.
6427 (find_pool_constant): Check desc->rtl.
6428 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
6429 (init_varasm_once): Initialize const_alias_set.
6431 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
6434 * reload.c (combine_reloads): Don't combine an output reload if there
6435 are other reloads around for part of the output.
6437 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
6438 constant expression.
6439 (set_mem_decl): New function.
6440 * expr.h (set_mem_decl): New declaration.
6441 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
6442 (output_asm_operand_names): Add tab.
6443 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
6445 * builtins.c (get_memory_rtx): Properly set MEM alias set and
6448 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
6450 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
6451 Use "invalid" instead of "illegal". Use @r in comments in
6454 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
6456 * c-decl.c (pushdecl): Move block inside if conditional to remove
6457 possibility of a segfault. Lookup block-level extern
6458 variables in enclosing scopes correctly.
6460 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
6462 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6464 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
6465 SUBREG so we avoid SUBREGing memory.
6467 * expmed.c (store_bit_field): Same.
6469 2001-11-02 DJ Delorie <dj@redhat.com>
6471 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
6472 using FP registers for DImode mem-mem moves is acceptable.
6474 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
6476 * builtins.c (apply_args_size): Handle vector arguments.
6477 (apply_result_size): Same.
6479 * machmode.def: Set WIDER mode field for all vector entries.
6481 2001-11-02 Graham Stott <grahams@redhat.com>
6483 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
6485 2001-11-01 Eric Christopher <echristo@redhat.com>
6487 * config.gcc: Revert part of earlier patch.
6488 * config/mips/linux.h: Ditto.
6489 * df.c: Include tm_p.h to avoid warnings.
6490 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
6492 * config/mips/mips.c: Define mips_abi regardless.
6493 (mips_output_function_prologues): Add long casts for .frame
6495 (override_options): Allow use of ABI_32.
6497 2001-11-01 Kazu Hirata <kazu@hxi.com>
6499 * config/m68hc11/m68hc11.c: Fix comment formatting.
6500 * config/m68hc11/m68hc11.h: Likewise.
6501 * config/m68hc11/m68hc11.md: Likewise.
6503 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
6505 * c-typeck.c (default_conversion): Retain the original expression
6507 * gcc.dg/Wparentheses.c: New tests.
6509 2001-11-01 David S. Miller <davem@redhat.com>
6511 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
6512 64-bit Sparc description more in line with reality.
6514 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
6516 * Makefile.in (GCOV_OBJS): Add version.o.
6517 * gcov.c: Include "version.h" and <getopt.h>.
6518 (gcov_version_string): Remove.
6519 (print_usage): Take a parameter to determine whether this is a
6520 call from --help or an error message. Give fuller output that
6521 follows the GNU Coding Standards for --help.
6522 (print_version): New function.
6524 (process_args): Use getopt_long. Support long options. Follow
6525 GNU Coding Standards for --help and --version.
6526 * doc/gcov.texi: Document long options.
6527 Addresses part of PR other/704.
6529 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
6531 * pa.c (output_move_double): Fix typo in double load.
6533 2001-11-01 Kazu Hirata <kazu@hxi.com>
6535 * config/h8300/h8300.c (h8300_encode_label): Compute a string
6536 before passing it to ggc_alloc_string.
6538 2001-11-01 Kazu Hirata <kazu@hxi.com>
6540 * config/m68k/3b1.h: Fix comment formatting.
6541 * config/m68k/3b1g.h: Likewise.
6542 * config/m68k/a-ux.h: Likewise.
6543 * config/m68k/amix.h: Likewise.
6544 * config/m68k/apollo68.h: Likewise.
6545 * config/m68k/atari.h: Likewise.
6546 * config/m68k/aux-exit.c: Likewise.
6547 * config/m68k/ccur-GAS.h: Likewise.
6548 * config/m68k/crds.h: Likewise.
6549 * config/m68k/dpx2.h: Likewise.
6550 * config/m68k/dpx2g.h: Likewise.
6551 * config/m68k/hp310.h: Likewise.
6552 * config/m68k/hp320.h: Likewise.
6553 * config/m68k/isi.h: Likewise.
6554 * config/m68k/linux.h: Likewise.
6555 * config/m68k/lynx.h: Likewise.
6556 * config/m68k/m68k-psos.h: Likewise.
6557 * config/m68k/m68k.c: Likewise.
6558 * config/m68k/m68k.h: Likewise.
6559 * config/m68k/m68k.md: Likewise.
6560 * config/m68k/m68kelf.h: Likewise.
6561 * config/m68k/m68kv4.h: Likewise.
6562 * config/m68k/mot3300.h: Likewise.
6563 * config/m68k/news.h: Likewise.
6564 * config/m68k/next.h: Likewise.
6565 * config/m68k/pbb.h: Likewise.
6566 * config/m68k/plexus.h: Likewise.
6567 * config/m68k/sgs.h: Likewise.
6568 * config/m68k/sun3.h: Likewise.
6569 * config/m68k/tower.h: Likewise.
6570 * config/m68k/vxm68k.h: Likewise.
6572 2001-10-31 DJ Delorie <dj@redhat.com>
6574 * config/mips/mips.h (mips_cache_flush_func): Prototype.
6575 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
6576 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
6577 * config/mips/mips.c (mips_cache_flush_func): New.
6578 * doc/invoke.texi: Document the new options.
6580 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
6582 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
6583 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
6585 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
6587 * config/cris/cris.c: Include output.h after tree.h but before
6590 2001-10-31 Zack Weinberg <zack@codesourcery.com>
6592 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
6593 (INTL_SUBDIRS): Just intl.
6594 (.SUFFIXES): Add .gmo .po .pox.
6595 (native): Also depend on build-@POSUB@.
6596 (intl.all, intl.install): Depend on config.h and things it includes.
6597 (po-generated): New target; depend on c-parse.c and tradcif.c.
6598 (install-normal): Also depend on install-@POSUB@.
6599 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
6600 (build-, install-, build-po, update-po, install-po,
6601 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
6603 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
6604 * configure.in: Don't munge XGETTEXT. Don't generate
6606 * configure: Regenerate.
6608 * exgettext: Delete.
6609 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
6610 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
6612 2001-10-31 Kazu Hirata <kazu@hxi.com>
6614 * config/h8300/h8300.md (two anonymous patterns): New.
6616 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
6618 * tree.h (tree_index): Add support for V16QI and V8HI.
6619 (V8HI_type_node): New.
6620 (V16QI_type_node): New.
6622 * tree.c (build_common_tree_nodes_2): Same.
6624 * c-common.c (type_for_mode): Same.
6626 2001-10-31 Kazu Hirata <kazu@hxi.com>
6628 * config/i386/att.h: Fix comment formatting.
6629 * config/i386/beos-elf.h: Likewise.
6630 * config/i386/bsd.h: Likewise.
6631 * config/i386/bsd386.h: Likewise.
6632 * config/i386/crtdll.h: Likewise.
6633 * config/i386/cygwin.asm: Likewise.
6634 * config/i386/cygwin.h: Likewise.
6635 * config/i386/djgpp.h: Likewise.
6636 * config/i386/freebsd-aout.h: Likewise.
6637 * config/i386/freebsd.h: Likewise.
6638 * config/i386/gas.h: Likewise.
6639 * config/i386/i386-interix.h: Likewise.
6640 * config/i386/i386-protos.h: Likewise.
6641 * config/i386/i386.c: Likewise.
6642 * config/i386/i386.h: Likewise.
6643 * config/i386/i386.md: Likewise.
6644 * config/i386/i386elf.h: Likewise.
6645 * config/i386/interix.c: Likewise.
6646 * config/i386/isc.h: Likewise.
6647 * config/i386/isccoff.h: Likewise.
6648 * config/i386/iscdbx.h: Likewise.
6649 * config/i386/linux.h: Likewise.
6650 * config/i386/lynx.h: Likewise.
6651 * config/i386/mingw32.h: Likewise.
6652 * config/i386/netbsd-elf.h: Likewise.
6653 * config/i386/next.h: Likewise.
6654 * config/i386/osf1elf.h: Likewise.
6655 * config/i386/osfrose.h: Likewise.
6656 * config/i386/sco5.h: Likewise.
6657 * config/i386/seq-gas.h: Likewise.
6658 * config/i386/seq-sysv3.h: Likewise.
6659 * config/i386/sequent.h: Likewise.
6660 * config/i386/sol2.h: Likewise.
6661 * config/i386/sun386.h: Likewise.
6662 * config/i386/uwin.asm: Likewise.
6663 * config/i386/uwin.h: Likewise.
6664 * config/i386/vxi386.h: Likewise.
6665 * config/i386/win32.h: Likewise.
6666 * config/i386/winnt.c: Likewise.
6667 * config/i386/xm-cygwin.h: Likewise.
6668 * config/i386/xm-mingw32.h: Likewise.
6670 2001-10-31 Kazu Hirata <kazu@hxi.com>
6672 * builtins.def: Fix comment typos.
6673 * config/alpha.c: Likewise.
6674 * config/arm/arm.c: Likewise.
6675 * config/avr/avr.h: Likewise.
6676 * config/d30v/d30v.c: Likewise.
6677 * config/d30v/d30v.h: Likewise.
6678 * config/d30v/d30v.md: Likewise.
6679 * config/dsp16xx/dsp16xx.c: Likewise.
6680 * config/fr30/fr30.c: Likewise.
6681 * config/fr30/fr30.md: Likewise.
6682 * config/i386/i386.c: Likewise.
6683 * config/i860/i860.c: Likewise.
6684 * config/i960/i960.c: Likewise.
6685 * config/ia64/ia64.c: Likewise.
6686 * config/mips/mips.c: Likewise.
6687 * config/pa/pa.c: Likewise.
6688 * config/rs6000/rs6000.c: Likewise.
6689 * config/s390/s390.c: Likewise.
6690 * config/sparc/sparc.c: Likewise.
6692 2001-10-30 Kazu Hirata <kazu@hxi.com>
6694 * config/mips/elf.h: Fix comment formatting.
6695 * config/mips/elf64.h: Likewise.
6696 * config/mips/iris5.h: Likewise.
6697 * config/mips/iris5gas.h: Likewise.
6698 * config/mips/iris6.h: Likewise.
6699 * config/mips/isa3264.h: Likewise.
6700 * config/mips/linux.h: Likewise.
6701 * config/mips/mips.c: Likewise.
6702 * config/mips/mips.h: Likewise.
6703 * config/mips/mips.md: Likewise.
6704 * config/mips/mips16.S: Likewise.
6705 * config/mips/netbsd.h: Likewise.
6706 * config/mips/osfrose.h: Likewise.
6707 * config/mips/r3900.h: Likewise.
6708 * config/mips/sni-svr4.h: Likewise.
6709 * config/mips/svr4-t.h: Likewise.
6710 * config/mips/ultrix.h: Likewise.
6712 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
6714 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
6715 when we update head->current.
6717 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
6719 * tree.c (id_string_size): Remove.
6720 (dump_tree_statistics): Update.
6721 * toplev.c (compile_file): If dumping stats, dump tree stats too.
6723 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
6725 * sched-rgn.c (schedule_insns): Fix comment.
6727 2001-10-30 Zack Weinberg <zack@codesourcery.com>
6729 * configure.in: Correct previous change: don't assume that
6730 gas's version number _isn't_ the last thing on the line, or
6731 isn't the only number on the line, either.
6732 * configure: Regenerate.
6734 2001-10-30 Kazu Hirata <kazu@hxi.com>
6736 * cfgcleanup.c: Fix a comment typo.
6738 2001-10-30 Kazu Hirata <kazu@hxi.com>
6740 * alias.c: Fix comment formatting.
6741 * recog.c: Likewise.
6742 * config/cris/cris.c: Likewise.
6743 * config/cris/cris.h: Likewise.
6744 * config/i960/i960.c: Likewise.
6745 * config/i960/i960.h: Likewise.
6747 2001-10-30 Kazu Hirata <kazu@hxi.com>
6749 * config/arm/arm.c: Fix a comment typo.
6750 * config/arm/arm.h: Likewise.
6751 * config/ia64/ia64.c: Likewise.
6753 2001-10-30 Jakub Jelinek <jakub@redhat.com>
6755 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
6756 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
6757 * rtl.h (set_unique_reg_note): Change return value.
6758 * gcse.c (try_replace_reg): Use set_unique_reg_note.
6759 * cse.c (cse_insn): Likewise.
6760 * expr.c (emit_move_insn): Likewise.
6761 * explow.c (force_reg): Likewise.
6762 * local-alloc (update_equiv_regs): Likewise.
6763 * loop.c (move_moveables, load_mems): Likewise.
6764 * reload (find_reloads): Likewise.
6766 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
6769 * c-decl.c (parmlist_tags_warning, start_struct,
6770 check_for_loop_decls): Separate messages for struct, union and
6771 enum cases to allow for languages in which they have different
6773 * c-format.c (scanf_flag_specs): Separate short and long name of
6774 the assignment suppression feature.
6775 (check_format_types): Localize "pointer" and "different types"
6777 * c-lex.c (lex_number): Localize "an unsigned long int" and
6779 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
6781 * c-typeck.c (build_unary_up): Separate messages for increment and
6782 decrement cases to allow for languages in which they use different
6783 articles. Localize the strings "increment" and "decrement" in one
6786 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
6788 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
6789 when no changes has been made.
6791 * gcse.c (reg_set_bitmap): Turn into reg_set.
6792 (modify_mem_list_set, canon_modify_mem_list_set)
6793 (clear_modify_mem_tables, free_modify_mem_tables): New.
6794 (gcse_main); Use free_modify_mem_tables.
6795 (free_gcse_mem): Likewise; free the bitmaps.
6796 (alloc_gcse_main): Initialize the bitmaps.
6797 (canon_list_insert): Set canon_modify_mem_list_set.
6798 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
6799 (compute_hash_table): Use clear_modify_mem_tables.
6800 (reset_opr_set_tables): Likewise.
6801 (oprs_not_set_p): reg_set_bitmap is regset.
6802 (mark_set, mark_clobber): Likewise.
6804 * df.h (DF_EQUIV_NOTES): New constant.
6805 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
6808 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
6809 (init_regions, schedule_insns): Conditionalize the checking
6810 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
6812 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
6814 * i386.md (movti_rex64 splitter): Fix condition.
6816 2001-10-29 Zack Weinberg <zack@codesourcery.com>
6818 * configure.in: Do not assume that gas's version number is the
6819 last thing on the first line of as --version output.
6820 * configure: Regenerate.
6822 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
6823 MT_WARNING, MT_ERROR, MT_FATAL.
6824 (main): Call gcc_init_libintl.
6825 (v_message): Call gettext on msgid and "warning: "
6826 * tradcif.y: Include intl.h.
6827 (yyerror): Make parameter definition consistent with
6828 prototype. Call gettext on msgid argument.
6830 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6832 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
6835 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
6837 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6839 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
6840 before referencing it.
6842 2001-10-26 DJ Delorie <dj@redhat.com>
6844 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
6845 override -G, and force -G0.
6847 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
6849 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
6850 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
6851 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
6852 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
6854 * loop.h (struct induction): Rename ext_dependant to
6856 * loop.c: Change all uses.
6857 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
6858 All callers changed.
6859 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
6861 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
6863 * c-parse.in (expr_no_commas, primary), c-typeck.c
6864 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
6866 2001-10-29 David Edelsohn <edelsohn@gnu.org>
6868 Undo assemble_name change in earlier patch.
6870 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
6872 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
6873 determining the type of the receiver, do not check that TREE_CODE
6874 of receiver is CALL_EXPR before calling receiver_is_class_object().
6875 (receiver_is_class_object): For the GNU runtime: recognize
6876 the case that the receiver is self in a class method context.
6877 Check that TREE_CODE of receiver is CALL_EXPR when checking that
6878 the receiver is a call to objc_get_class.
6880 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
6882 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
6884 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6886 * Makefile.in (OBJS): Put all files in alphabetical order.
6888 * dwarf2out.c (add_const_value_attribute): Fix error in last
6891 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
6893 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
6894 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
6896 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
6897 (life_analysis): call purge_all_dead_edges after deleting noops.
6898 (delete_noop_move): Do not purge CFG.
6899 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
6901 2001-10-28 David Edelsohn <edelsohn@gnu.org>
6903 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
6904 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
6905 (ASM_GLOBALIZE_LABEL): Use assemble_name.
6906 (ASM_OUTPUT_COMMON): Likewise.
6907 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
6908 (rs6000_output_function_epilogue): Likewise.
6909 (output_mi_thunk): Fix typo.
6910 (rs6000_output_symbol_ref): Use assemble_name.
6911 (output_toc): Likewise.
6912 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
6913 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
6914 assemble_name calls STRIP_NAME_ENCODING.
6915 (ASM_OUTPUT_LABEL): Use assemble_name.
6916 (ASM_GLOBALIZE_LABEL): Likewise.
6917 (ASM_DECLARE_FUNCTION_NAME): Likewise.
6918 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
6919 (ASM_OUTPUT_LOCAL): Likewise.
6921 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6923 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
6924 (expand_builtin_apply, expand_builtin_return): Likewise.
6925 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
6927 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
6929 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
6930 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
6931 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
6932 configure, configure.in, except.c, except.h, flow.c, function.c,
6933 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
6934 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
6935 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
6936 unroll.c: Fix spelling errors.
6938 * doc/extend.texi, doc/invoke.texi: Fix spelling.
6940 * doc/gcc.texi: Document use of "dependent" and American spelling.
6942 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
6944 * expr.c (emit_group_load): Support CONCATs by storing them to memory
6947 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6949 * expr.c (store_constructor_field): Only call adjust_address on MEM.
6951 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
6953 * genrecog.c (write_switch): Output if before switch for
6954 DT_elt_zero_wide_safe.
6956 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6958 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
6959 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
6960 (FUNCTION_PROFILER): Const-ify.
6961 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
6962 (eliminate_constant_term, assemble_name, output_addr_const):
6963 Remove declarations.
6964 (ptr_half_pic_address_p, half_pic_hash): Prototype.
6965 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
6966 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
6967 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
6968 (half_pic_declare, half_pic_external): Const-ify.
6969 * toplev.c: Include "halfpic.h".
6971 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
6973 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
6974 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
6975 config/i386/i386.c, config/i386/i386-interix.h,
6976 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
6977 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
6978 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
6979 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
6980 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
6981 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
6982 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
6985 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
6986 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
6987 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
6988 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
6989 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
6990 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
6991 system.h, toplev.c: Fix spelling errors.
6993 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6995 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
6997 * dwarf2out.c (reg_number): Abort if pseudo.
6998 (reg_loc_descriptor): Return 0 if pseudo.
6999 (is_based_loc): Return 0 if pseudo.
7000 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
7002 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
7003 (loc_descriptor): Return 0 if can't find location and handle 0
7004 return from recursive calls.
7005 (loc_descriptor_from_tree): Likewise.
7006 Fix handling of indirect.
7007 Also return 0 for PLACEHOLDER_EXPR.
7008 Clean up COMPONENT_REF cases.
7009 (add_AT_location_descriptor): Simplify, but handle 0 return from
7011 (add_const_value_attribute): Avoid shift count warning.
7012 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
7013 Set comp_unit_die as context if not in function.
7015 * config/mips/mips-protos.h: Break up long lines.
7016 Remove needless #ifdef/#endif blocks.
7017 Don't declare functions declared in file made by genpreds or recog.h.
7018 * config/mips/mips.c (mips_output_function_prologue): TSIZE
7019 is now HOST_WIDE_INT; delete unneeded casts.
7020 * config/mips/mips.h: Don't use #elif.
7022 * expr.c (stor_constructor_field): Always call adjust_address.
7023 Copy TARGET before changing its alias set.
7024 (store_field): Likewise, for TO_RTX.
7025 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
7027 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
7028 (find_placeholder): Return 0 if can't find object.
7029 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
7032 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7034 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
7036 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
7038 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
7039 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
7040 (merge_blocks): Properly udpate life after making edge nonfallthru.
7041 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
7043 2001-10-26 Kazu Hirata <kazu@hxi.com>
7045 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
7047 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
7049 * c-typeck.c (convert_arguments): When comparing for enumeral
7050 type equality, use TYPE_MAIN_VARIANT.
7051 * gcc.dg/Wconversion.c: New tests.
7053 2001-10-26 Kazu Hirata <kazu@hxi.com>
7055 * s390/s390.c: Fix comment typos.
7056 * s390/s390.h: Likewise.
7057 * s390/s390.md: Likewise.
7059 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7061 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
7062 (walk_tree): Use it for tail calls where appropriate.
7064 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7066 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
7067 non-local label_refs.
7069 2001-10-26 Kazu Hirata <kazu@hxi.com>
7071 * config/h8300/h8300.md (4 anonymous patterns): New.
7073 2001-10-26 Kazu Hirata <kazu@hxi.com>
7075 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
7076 algorithm through the shift_info structure.
7077 (emit_a_shift): Update the use of get_shift_alg.
7079 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
7081 * sched-rgn.c: Remove bitset typedef.
7082 Change bitset to sbitmap in prototypes / variable types.
7084 Remove edgeset_bits.
7085 Remove edgeset_size.
7086 s/BITSET_ADD/SET_BIT/g
7087 s/BITSET_INVERT/sbitmap_ones/g
7088 s/BITSET_INTER/sbitmap_a_and_b/g
7089 s/BITSET_UNION/sbitmap_a_or_b/g
7090 s/BITSET_DIFFER/sbitmap_difference/g
7091 s/bitset_member/TEST_BIT/g
7092 (BITSET_*): Removed.
7093 (bitset_member): Removed.
7094 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
7095 EXECUTE_IF_SET_IN_SBITMAP.
7096 (split_edges): Rewrite, use sbitmap functions instead of bitset
7098 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
7100 2001-10-26 Andreas Schwab <schwab@suse.de>
7102 * reload1.c (emit_input_reload_insns): Fix parens in last
7103 (undocumented) change that was supposed to change only whitespace.
7105 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7107 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
7109 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
7112 2001-10-26 Andreas Jaeger <aj@suse.de>
7114 * flow.c (clear_log_links): Remove unused variable.
7115 * cfgcleanup.c (cleanup_cfg): Likewise.
7117 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
7119 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
7120 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
7122 2001-10-26 Richard Henderson <rth@redhat.com>
7124 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
7125 rename PV_REG to R27_REG.
7126 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
7127 (REG_CLASS_FROM_LETTER): Update.
7128 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
7129 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
7130 (udivsi3, modsi3, umodsi3): Likewise.
7131 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
7133 2001-10-26 Richard Henderson <rth@redhat.com>
7135 * cfg.c (clear_aux_for_blocks): Split out of ...
7136 (free_aux_for_blocks): here.
7137 (clear_aux_for_edges): Split from ...
7138 (free_aux_for_edges): here.
7139 * basic-block.h: Declare them.
7140 * lcm.c (compute_antinout_edge): Use them.
7141 (compute_laterin, compute_available, compute_nearerout): Likewise.
7142 (optimize_mode_switching): Likewise.
7144 2001-10-26 Richard Henderson <rth@redhat.com>
7146 * Makefile.in (unstage*): Remove as, ld, collect-ld before
7147 moving everything back to the main build directory.
7149 2001-10-26 Christopher Faylor <cgf@redhat.com>
7151 * config/i386/cygwin.h: Search target specific include directory, if
7154 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7156 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
7157 of macro guards. Fix #endif comment.
7159 * output.h (default_exception_section, default_eh_frame_section):
7160 Move prototypes outside of macro guard.
7162 * crtstuff.c: Fix #endif comment.
7164 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
7166 * doc/md.texi (movMM): Clarify semantics of storing into a
7167 non-paradoxical SUBREG.
7169 2001-10-25 Zack Weinberg <zack@codesourcery.com>
7171 * langhooks.c (lang_hook_default_clear_binding_stack): New.
7172 (lang_hook_default_get_alias_set): Move next to other alias
7174 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
7175 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
7176 (LANG_HOOKS_INITIALIZER): Add it.
7177 * toplev.h (struct lang_hooks): Add clear_binding_stack.
7178 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
7179 instead of a loop calling poplevel.
7181 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
7183 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
7184 occurrences of #elif with #if...#endif.
7186 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7188 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
7190 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7192 * alias.c (can_address_p): No longer static.
7193 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
7194 Return 0 if all parameters are default values.
7195 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
7196 (adjust_address_1): Try harder to compute a size.
7197 * expr.c (expand_assignment, store_constructor): If can't address,
7198 set MEM_KEEP_ALIAS_SET_P.
7199 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
7200 (store_field): Likewise.
7201 (store_constructor): Simplify call to store_constructor_field.
7202 * expr.h (can_address_p): New declaration.
7203 * gensupport.c (gen_rtx_CONST_INT): New function.
7204 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
7205 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
7206 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
7208 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
7210 2001-10-24 Christopher Faylor <cgf@redhat.com>
7212 * config/i386/cygwin.h: Use proper path for mingw crt files when
7215 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7217 * dwarf2out.c (file_info_cmp): Always return consistent results.
7219 2001-10-24 Roger Sayle <roger@eyesopen.com>
7221 * stmt.c (expand_end_case): Index jumptables from zero for
7222 suitably small values of minval.
7224 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7226 * stor-layout.c (place_union_field): If any field was aligned with
7227 attribute aligned, set record type's TYPE_USER_ALIGN.
7228 (place_field): Likewise.
7229 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
7230 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
7232 2001-10-24 Zack Weinberg <zack@codesourcery.com>
7234 * c-common.h (struct c_common_identifier): Remove rid_code field.
7235 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
7237 * c-typeck.c (constructor_designated): New local flag.
7238 (struct constructor_stack): Add "designated" field to match.
7239 (start_init): Clear it.
7240 (really_start_incremental_init, push_init_level): Push and
7242 (pop_init_level): Pop it.
7243 (set_designator): Set it.
7245 (pop_init_level): Suppress "missing initializer" warnings if
7246 constructor_designated is true.
7247 (process_init_element): Suppress warning about union
7248 initialization under traditional C, if constructor_designated
7251 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7253 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
7256 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
7258 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
7260 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
7262 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
7263 the node was already a set to a constant.
7265 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7267 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
7268 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
7270 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7272 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
7273 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
7274 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
7275 * s390.c (s390_final_chunkify): Don't use string concatenation.
7276 (s390_function_prologue, s390_function_epilogue): Const-ify.
7277 * s390.h (FUNCTION_PROFILER): Remove unused variable.
7279 2001-10-24 Jakub Jelinek <jakub@redhat.com>
7281 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
7284 2001-10-23 Stan Shebs <shebs@apple.com>
7286 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
7287 -traditional-cpp in first-stage compilation.
7289 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7291 * gensupport.c (target_flags): Add.
7293 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
7295 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
7297 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
7298 * except.c (expand_builtin_frob_return_addr): Likewise.
7299 (expand_builtin_eh_return): Likewise.
7300 * stmt.c (expand_computed_goto): Likewise.
7301 * explow.c (memory_address): Likewise.
7302 (allocate_dynamic_stack_space): Clean up predicate testing.
7303 (probe_stack_range): Convert SIZE to Pmode.
7304 * calls.c (rtx_for_function_call): Only call convert_memory_address
7306 Pass function call operand as ptr_mode, not Pmode.
7307 * expr.c (expand_assignment): Clean up calls to convert_memory
7308 address by only doing so when needed and making offsets Pmode.
7309 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
7310 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
7311 is in Pmode, not ptr_mode.
7313 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7315 * darwin-protos.h (constructor_section, destructor_section,
7316 mod_init_section, mod_term_section): Prototype.
7317 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
7319 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
7321 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
7322 objc_section_init declaration.
7323 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
7324 (objc_section_init, try_section_alias): Make static.
7325 (alias_section): Make static and hide unused function.
7326 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
7328 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7330 * alias.c (can_address_p): Compnonents are not addressable if
7331 the containing type has alias set 0.
7332 (get_alias_set): Rework to use STRIP_NOPS.
7333 Only call front-end routine on object, type, or object with
7334 NOPs stripped, not inner values.
7335 Use language hook to call front-end routine.
7336 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
7337 (expand_builtin_apply): Call set_mem_align on MEMs we make.
7338 Don't pass alignment to emit_block_move.
7339 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
7340 (expand_builtin_memset): Likewise, but for clear_storage.
7341 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
7342 and remove C++ specific parts.
7343 * c-common.h (c_common_get_alias_set): Add declaration.
7344 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
7345 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
7346 (save_fixed_argument_area): Call set_mem_align.
7347 Remove alignment in call to emit_block_move.
7348 (emit_library_call_value_1, store_one_arg): Likewise.
7349 (target_for_arg): Remove; disabled long ago.
7350 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
7351 once and similar cleanups.
7352 (offset_address): Use proper introductory comment.
7353 * expr.c (emit_block_move): Use alignment from that of MEM args, not
7354 from explicit operand; all callers changed.
7355 (clear_storage): Likewise.
7356 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
7357 (store_field): Remove kludge on alias set used for to_rtx.
7358 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
7359 (expand_expr_unaligned): Call set_mem_attributes instead of
7361 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
7362 * function.c (assign_stack_temp_for_type): Set MEM alignment.
7363 (expand_function_end): Track MEM attributes of trampolines.
7364 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
7365 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
7366 attributes from original.
7367 * langhooks.c (lang_hook_default_get_alias_set): New function.
7368 (hook_get_alias_set_0): New function.
7369 * langhooks.h (hook_get_alias_set_0): New declaration.
7370 (lang_hook_default_get_alias_set): Likewise.
7371 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
7372 * reload1.c (alter_reg): Use adjust_address_nv.
7373 * rtl.c (get_mode_alignment): Moved to here.
7374 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
7375 change default if unknown from 1 to BITS_PER_UNIT.
7376 * stor-layout.c (get_mode_alignment): Remove from here.
7377 * toplev.h (struct lang_hoks): Add get_alias_set field.
7378 * tree.h (lang_get_alias_set): Delete declaration.
7379 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
7380 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
7381 (ix86_va_arg): Likewise.
7382 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
7383 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
7384 * config/sparc/sparc.c (sparc_va_arg): Likewise.
7385 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
7386 (expand_block_move_mem): Remove dead code.
7388 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
7390 * c-common.c (warn_div_by_zero): New.
7391 * c-common.h (warn_div_by_zero): New.
7392 * c-decl.c (c_decode_option): Take it on the command line.
7393 * c-typeck.c (build_binary_op): Warn about division by zero.
7394 * doc/invoke.texi: Document the new command line option, fix
7395 documentation of -Wmultichar.
7396 * testsuite/gcc.dg/divbyzero.c: New tests.
7397 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
7399 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
7401 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
7403 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
7404 to avoid update_life_info call.
7405 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
7406 * cfgcleanup.c (bb_flags): New enum.
7407 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
7408 (notice_new_block, update_forwarder_flag): New functions.
7409 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
7410 (try_forward_edges): Likewise; update flags.
7411 (merge_blocks): Likewise.
7412 (outgoing_edges_match): Likewise.
7413 (try_crossjump_to_edge): Likewise.
7414 (try_optimize_cfg): Likewise; initialize and clear the flags;
7415 recompute life info if needed.
7416 (cleanup_cfg): No need to clear aux pointers.
7418 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
7420 * config/i386/i386.c (override_options): Default to minimum
7421 stack alignment when optimizing for code size.
7422 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
7425 * config/i386/i386.c (override_options): Set upper limit of
7426 -mpreferred-stack-boundary to 12.
7428 2001-10-22 Zack Weinberg <zack@codesourcery.com>
7430 * recog.c (peephole2_optimize): Add default case to switch.
7432 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
7434 * doc/gcc.texi (Sending Patches): Remove.
7436 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
7438 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
7439 fields when comparing.
7441 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7443 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
7444 * arm.c (HOST_INT, HOST_UINT): Likewise.
7446 2001-10-22 Stan Shebs <shebs@apple.com>
7448 * config/darwin-protos.h (darwin_exception_section): Declare.
7449 (darwin_eh_frame_section): Declare.
7451 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
7453 * i386.md (movti_rex64): Fix mode.
7455 2001-10-22 Stan Shebs <shebs@apple.com>
7457 * target.h (struct gcc_target): Add asm_out.exception_section,
7458 asm_out.eh_frame_section.
7459 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
7460 (TARGET_ASM_EH_FRAME_SECTION): New.
7461 (TARGET_INITIALIZER): Update.
7462 * output.h (default_exception_section): Declare.
7463 (default_eh_frame_section): Declare.
7464 * dwarf2out.c: Include target.h.
7465 (output_call_frame_info): Call target hook for eh frames.
7466 (default_eh_frame_section): New function.
7467 * except.c: Include target.h.
7468 (output_function_exception_table): Call target hook for exception
7470 * varasm.c (default_exception_section): Rename from
7471 exception_section, remove EXCEPTION_SECTION macro.
7473 * config/darwin.h (darwin_eh_frame_section): New function.
7474 (EXCEPTION_SECTION): Remove.
7475 (TARGET_ASM_EXCEPTION_SECTION): Define.
7476 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
7477 (nextstep_exception_section): New function.
7478 (nextstep_eh_frame_section): New function.
7479 (TARGET_ASM_EXCEPTION_SECTION): Define.
7480 (TARGET_ASM_EH_FRAME_SECTION): Define.
7482 * config/pa/som.h (EXCEPTION_SECTION): Remove.
7483 (TARGET_ASM_EXCEPTION_SECTION): Define.
7484 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
7485 (EXCEPTION_SECTION): Remove.
7486 (TARGET_ASM_EXCEPTION_SECTION): Define.
7487 * config/stormy16/stormy16.h: Remove comments referencing
7488 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
7490 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
7491 TARGET_ASM_EH_FRAME_SECTION.
7493 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
7495 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
7498 * c-format.c: Fix spelling typo in comment.
7500 * sched-int.h: Fix typo in GCC preamble.
7502 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
7505 * doc/invoke.texi: Remove references to -fdump-translation-unit.
7507 2001-10-22 Richard Henderson <rth@redhat.com>
7509 * config/i386/i386.c (ix86_expand_clear): New.
7510 * config/i386/i386-protos.h: Declare it.
7511 * config/i386/i386.md (setcc peep2s): Use it.
7512 (movsi_xor): Unexport.
7514 2001-10-22 Richard Henderson <rth@redhat.com>
7516 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
7517 free_EXPR_LIST_list for LOG_LINKS.
7519 2001-10-21 Robert Lipe <robertlipe@usa.net>
7521 * config/i386/i386.c (sco_asm_named_section): Delete.
7522 (sco_asm_out_constructor): Delete.
7523 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
7524 (ASM_OUTPUT_DOUBLE_INT): Likewise.
7525 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
7526 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
7527 (EXCEPTION_SECTION): Delete EH scn renaming hack.
7529 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7531 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
7532 and/or fold extra calls into fewer ones.
7533 * collect2.c (dump_file): Likewise.
7534 * cppexp.c (parse_number): Likewise.
7535 * cpplex.c (_cpp_lex_direct): Likewise.
7536 * final.c (output_asm_insn, asm_fprintf): Likewise.
7537 * fix-header.c (inf_scan_ident, main): Likewise.
7538 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
7540 * fold-const.c (real_hex_to_f): Likewise.
7541 * gen-protos.c (parse_fn_proto): Likewise.
7542 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
7543 * genrecog.c (change_state, write_action): Likewise.
7544 * gensupport.c (shift_output_template): Likewise.
7545 * local-alloc.c (requires_inout): Likewise.
7546 * mips-tfile.c (IS_ASM_IDENT): Likewise.
7547 * protoize.c (is_id_char, main): Likewise.
7548 * real.c (asctoeg): Likewise.
7549 * recog.c (asm_operand_ok): Likewise.
7550 * reload.c (find_reloads): Likewise.
7551 * scan.c (scan_identget_token): Likewise.
7552 * sched-vis.c (print_value): Likewise.
7553 * stringpool.c (ggc_alloc_string): Likewise.
7554 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
7555 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
7556 * tradcpp.c (rescan): Likewise.
7557 * tree.c (clean_symbol_name): Likewise.
7558 * varasm.c (decode_reg_name): Likewise.
7560 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
7561 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
7562 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
7563 * m88k.c (output_ascii): Likewise.
7564 * m88k.h (OVERRIDE_OPTIONS): Likewise.
7565 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
7566 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
7567 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
7569 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7571 * langhooks.c (lang_hook_default_do_nothing,
7572 lang_hook_default_decode_option): New defaults.
7573 * langhooks.h: Make hooks unconditional and non-NULL.
7574 * toplev.c (compile_file, toplev_main): Update.
7575 * toplev.h: Update comments.
7576 * objc/objc-act.c (lang_hooks): Update to new paradigm.
7578 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7580 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
7582 * system.h (IN_RANGE): New macro.
7584 2001-10-21 Zack Weinberg <zack@codesourcery.com>
7586 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
7587 INTLDEPS variable, which does not include $LIBICONV.
7588 * Makefile.in: Use INTLDEPS in LIBDEPS.
7589 * configure: Regenerate.
7591 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
7593 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
7594 * cpplex.c (lex_percent, lex_dot): Remove.
7595 (get_effective_char, skip_block_comment, skip_line_comment,
7596 parse_identifier_slow, parse_number, parse_string, save_comment,
7597 _cpp_lex_direct): Update to do lookback freely.
7598 (IF_NEXT_IS, BACKUP): New macros.
7599 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
7600 * cppmacro.c (paste_tokens): Update.
7602 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
7604 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
7606 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
7608 * reload1.c (reload): Check CONSTANT_P before calling
7609 LEGITIMATE_PIC_OPERAND_P.
7610 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
7611 workaround of 2001-10-13.
7613 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
7615 * i386.c (split_di): Handle splitting of DFmode.
7617 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7619 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
7620 (adjust_address_1, offset_address): Likewise.
7622 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
7623 (output_asm_insn): Call it for each line output.
7624 Don't record an operand more than once.
7626 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
7627 * main.c: Include config.h and system.h, but not ansidecl.h.
7628 * Makefile.in (main.o): Update accordingly.
7630 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
7632 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
7634 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
7636 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
7637 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
7639 (find_sub_basic_blocks): ... here;
7640 (find_many_sub_basic_blocks): New.
7641 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
7643 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
7645 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
7647 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
7649 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
7650 * flow.c (update_life_info): Measure time.
7651 * c-decl.c: Include timevar.h
7652 (c_expand_body): Measure time.
7653 * toplev.c (rest_of_compilation): Measure time of mode switching
7655 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
7657 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
7658 (lang_independent_options): Add asynchronous-unwind-tables
7659 (toplev_main): flag_asynchronous_unwind_tables implies
7661 * flags.h (flag_asynchronous_unwind_tables): Declare.
7662 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
7663 flag_asynchronous_unwind_tables.
7664 (output_call_frame_info): Likewise.
7665 * invoke.texi (-fasynchronous-unwind-tables): Document.
7666 * i386.c (optimization_options): Enable
7667 flag_asynchronous_unwind_tables.
7669 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
7670 * i386.md (s* expanders): Destination is QImode.
7672 * toplev.c (rest_of_compilation): Do not call clear_log_links.
7673 * rtl.h (clear_log_links): Kill.
7674 * flow.c (clear_log_links): Make static; accept blocks parameter;
7675 do no clear life info.
7676 (update_life_info): Call clear_log_links.
7678 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
7680 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
7682 * cpplex.c (handle_newline, skip_escaped_newlines,
7683 get_effective_char, skip_block_comment, skip_line_comment,
7684 parse_identifier_slow, parse_number, parse_string,
7685 _cpp_lex_direct): Update to do more stepping back.
7686 (trigraph_ok): Similarly. Rename trigraph_p.
7687 (SAVE_STATE, RESTORE_STATE): Remove.
7688 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
7690 * cpplib.c (destringize): Rename destringize_and_run, and
7691 call run_directive directly.
7692 (_cpp_do__Pragma): Simplify.
7694 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7696 * pe.c (arm_pe_unique_section): Const-ify.
7697 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
7698 (switch_to_section): Add static prototype.
7700 * output.h (drectve_section): Prototype.
7702 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7704 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
7705 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
7706 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
7707 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
7708 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7709 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
7710 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
7711 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
7712 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
7713 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
7714 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
7715 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
7716 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
7717 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
7718 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
7719 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
7720 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
7721 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
7722 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
7723 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
7724 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
7725 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
7726 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
7727 cris-*-none, cris-*-linux*: Update ${tmfile} list.
7728 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
7729 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
7730 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
7731 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
7732 v850-*-*): Delete superflous ${cpu_type} setting.
7733 * config/linux.h: Delete svr4.h include.
7734 (SET_ASM_OP): Delete.
7735 * config/netware.h (INT_ASM_OP): Undef before define.
7736 * config/ptx4.h: Delete elfos.h include.
7737 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
7738 * config/svr4.h: Delete elfos.h include. Update commentary.
7739 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
7740 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
7741 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
7742 config/v850/v850.h: Delete svr4.h include.
7743 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
7744 config/m68k/m68kv4.h, config/m88k/sysv4.h,
7745 config/sparc/sysv4.h: Update includes.
7746 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
7747 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
7748 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
7749 config/m88k/dguxbcs.h: Delete includes.
7750 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
7751 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
7752 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
7754 * config/m88k/dgux.h: Delete include.
7755 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
7757 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
7758 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
7759 * config/sh/elf.h: Update include.
7760 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
7761 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
7763 2001-10-19 Catherine Moore <clm@redhat.com>
7765 * config/stormy16/stormy-abi: Updates to varargs descriptions.
7766 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
7767 base and count fields.
7768 (stormy16_expand_builtin_va_start): last_reg_count changed to
7769 size_of_reg_args. Use count + size in first comparison.
7771 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7773 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
7774 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
7775 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
7776 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
7777 Set alignment from type if INDIRECT_REF.
7778 (adjust_address_1, offset_address): Simplify alignment compuitation.
7779 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
7780 here; done by set_mem_attributes.
7782 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7784 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
7785 * arm-protos.h (rdata_section, zero_init_section, common_section):
7787 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
7788 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
7789 traditional mode stringification.
7790 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
7791 in macros controling its use.
7792 * rtlanal.c: Include tm_p.h.
7793 * varasm.c (asm_output_aligned_bss): Mark parameter with
7795 (assemble_constant_align, assemble_start_function, assemble_align,
7796 assemble_variable, assemble_trampoline_template,
7797 output_constant_def_contents): Wrap potentially empty if-stmt body
7800 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7802 * a29k-protos.h (literal_section): Prototype.
7803 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
7804 * a29k.md: Ensure function pointers are prototyped.
7805 * genattrtab.c (write_eligible_delay): Mark parameter with
7808 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7810 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7811 * 1750a.c (print_operand): Fix format specifier warning.
7812 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
7813 * 1750a.md: Likewise.
7814 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
7815 * genemit.c (output_add_clobbers): Mark parameter with
7817 * genrecog.c (write_subroutine): Likewise.
7818 * integrate.c (expand_inline_function): Delete unused variable.
7819 * varasm.c (remove_from_pending_weak_list): Wrap with
7822 2001-10-19 Jakub Jelinek <jakub@redhat.com>
7824 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
7825 field is different to previous argument's neg field.
7827 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
7829 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7831 * final.c (get_decl_from_op): New function.
7832 (output_asm_insn): Call it; write "*" when item with decl is address.
7834 2001-10-19 Janis Johnson <janis187@us.ibm.com>
7836 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
7837 about 64-bit support from the 3.0_branch version.
7839 2001-10-19 Zack Weinberg <zack@codesourcery.com>
7841 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
7842 USE_INCLUDED_LIBINTL when appropriate.
7843 * configure, config.in: Regenerate.
7844 * Makefile.in (datadir): Set to @datadir@.
7845 (intl.o): Also depend on $(CONFIG_H) and system.h.
7847 * intl.c: Factor out common gettext initialization sequence.
7848 (gcc_init_libintl): New function.
7849 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
7850 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
7851 off NLS. Add multiple include guard. No need to #ifdef-guard
7852 an #undef. Prototype gcc_init_libintl here.
7854 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
7855 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
7856 Use gcc_init_libintl.
7858 2001-10-19 Catherine Moore <clm@redhat.com>
7860 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
7862 * config/stormy16/stormy16.c (stormy16_split_move): Make
7863 sure that REG_INC notes are present for auto_inc operands.
7865 2001-10-19 Andreas Jaeger <aj@suse.de>
7867 * configure: Regenerated.
7868 * configure.in: Add x86_64 to switch statements.
7870 2001-10-18 Richard Henderson <rth@redhat.com>
7872 * config/alpha/alpha.md (sibcall_osf_1): Load destination
7873 address into $27 explicitly.
7874 (sibcall_value_osf_1): Likewise.
7876 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7878 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
7879 (offset_address): New function.
7880 (free_emit_status): Free regno_decl.
7881 (init_emit): Pass proper number of elements to xcalloc.
7882 Allocate regno_decl.
7883 (mark_emit_status): Mark regno_decl values.
7884 * expr.c (highest_pow2_factor): New function.
7885 (expand_assigment): Use it and offset_address.
7886 Properly handle ptr_mode vs. Pmode in offset calculation.
7887 (store_constructor, expand_expr_unaligned): Likewise.
7888 (expand_expr, case COMPONENT_EXPR): Likewise.
7889 * expr.h (offset_address): New decl.
7890 * function.h (struct emit_status): Add regno_decl.
7891 (REGNO_DECL): New macro.
7892 * final.c (output_asm_name): Move in file and don't conditionalize
7893 on flag_print_asm_name.
7894 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
7895 Output names of operands, if known.
7896 * function.c (assign_parms): Set REGNO_DECL.
7897 * integrate.c (integrate_decl_tree): Likewise.
7898 * stmt.c (expand_decl): Likewise.
7899 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
7901 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
7903 * attribs.c (handle_noinline_attribute): New function.
7904 (handle_used_attribute): Likewise.
7905 (c_common_attribute_table): Added noinline and used.
7906 * doc/extend.texi (Function Attributes): Document them.
7907 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
7908 Warn when merging inline with attribute noinline.
7909 (start_decl, start_function): Warn if inline and attribute
7910 noinline appear in the same declaration.
7912 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
7914 * config.gcc: Update c4x and i370 for C front end-specific
7916 * config/c4x/c4x-c.c: New.
7917 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
7918 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
7920 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
7921 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
7923 (c4x_init_pragma): Remove.
7924 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
7925 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
7926 c4x_pr_ignored): Move to c4x-c.c.
7927 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
7928 * config/c4x/t-c4x: Update.
7929 * config/i370/i370-c.c: New.
7930 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
7931 (i370_pr_map): Move to i370-c.c.
7932 * config/i370/t-i370: New.
7934 * doc/tm.texi: Update.
7936 2001-10-17 Stan Shebs <shebs@apple.com>
7938 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
7939 typo fixes throughout.
7940 (machopic_output_stub): Remove some dead code.
7942 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
7944 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
7947 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7949 * Makefile.in (print-rtl.o): Depend on TREE_H.
7950 * alias.c (get_alias_set): Make two passes over objects to first
7951 see if inner object is access via restricted pointer.
7952 Defer allocating alias set for restricted pointer until here.
7953 Call find_placeholder with second arg nonzero.
7955 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
7956 set for restricted pointer types.
7957 * emit-rtl.c (set_mem_attributes): Set more attributes.
7958 (set_mem_align, change_address, adjust_address_1): New functions.
7959 (change_address_1): Now static.
7960 (adjust_address, adjust_address_nv): Deleted.
7961 (replace_equiv_address): Call change_address_1.
7962 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
7963 (find_placeholder): Get starting point from PLIST arg.
7964 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
7965 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
7966 (adjust_address, adjust_address_nv): New macros.
7967 * print-rtl.c (tree.h): New include.
7968 (print_rtx, case MEM): Print all memory attributes.
7970 2001-10-17 Richard Henderson <rth@redhat.com>
7972 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
7974 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7976 * c-tree.texi: Eliminate duplicated word.
7977 * cpp.texi: Likewise.
7978 * install.texi: Likewise.
7979 * invoke.texi: Likewise.
7980 * tm.texi: Likewise.
7982 2001-10-17 Michael Collison <collison@isisinc.net>
7984 * dsp16xx.c: Fix comment formatting to match GNU standards.
7985 (dsp16xx_output_function_prologue): Change type of 'size'
7986 parameter from 'int' to HOST_WIDE_INT.
7987 (dsp16xx_output_function_epilogue): Change type of 'size'
7988 parameter from 'int' to HOST_WIDE_INT.
7990 2001-10-16 Richard Henderson <rth@redhat.com>
7992 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
7993 * configure, config.in: Rebuild.
7995 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
7996 (ix86_output_addr_diff_elt): New.
7997 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
7998 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
7999 (JUMP_TABLES_IN_TEXT_SECTION): New.
8000 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
8001 * config/i386/i386-protos.h: Update.
8003 * config/i386/386bsd.h, config/i386/beos-elf.h,
8004 config/i386/freebsd-aout.h, config/i386/freebsd.h,
8005 config/i386/i386-interix.h, config/i386/i386elf.h,
8006 config/i386/linux.h, config/i386/netbsd-elf.h,
8007 config/i386/netbsd.h, config/i386/openbsd.h,
8008 config/i386/ptx4-i.h, config/i386/rtemself.h,
8009 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
8010 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
8012 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
8014 * stmt.c (expand_asm_operands): Update commentary.
8016 2001-10-16 Stan Shebs <shebs@apple.com>
8018 * config/darwin.h (GCC_NAME): Remove, no longer used.
8019 (NO_MATH_LIBRARY): Ditto.
8020 (MATH_LIBRARY): Define to emptiness.
8021 (DWARF2_DEBUGGING_INFO): Define.
8022 (PREFERRED_DEBUGGING_TYPE): Define.
8023 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
8024 (EXCEPTION_SECTION): Define.
8025 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8026 * config/darwin.c (darwin_encode_section_info): Handle case of
8027 DECL_INITIAL being error_mark_node.
8029 2001-10-16 Richard Henderson <rth@redhat.com>
8031 * alpha.c (current_file_function_operand): Don't fail for profiling.
8032 (direct_call_operand): New.
8033 * alpha-protos.h: Declare it.
8034 * alpha.h (EXTRA_CONSTRAINT): Use it.
8035 (PREDICATE_CODES): Add it.
8036 (ASM_OUTPUT_MI_THUNK): Remove.
8037 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
8038 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
8040 2001-10-16 Krister Walfridsson <cato@df.lth.se>
8042 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
8043 (JUMP_TABLES_IN_TEXT_SECTION): Define.
8045 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
8047 * cfg.c (free_edge): Break out from ....
8048 (remove_edge): ... here.
8049 (clear_edges): Use free_edge.
8051 * att.h (ASM_QUAD): Add comment.
8052 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
8054 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
8056 * i386.c (split_ti): New function.
8057 (ix86_split_to_parts): Support TImodes.
8058 * i386.h (VALID_INT_MODE_P): Add TImode.
8059 * i386.md (movdi splitter): Fix.
8060 (movti): Support 64bit integer registers.
8061 (movti_rex64): New function and splitter.
8063 * i386.c (*_cost): Add movsx/movzx cost.
8064 * i386.h (struct processor_costs): Add movsx/movzx fields.
8065 (RTX_COSTS): Handle zero/sign extend + avoid believing that
8066 64bit operations require split on 64bit machine.
8067 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
8069 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
8070 (ix86_expand_move): Avoid pushes of memory if size does not match;
8071 move long constants to register.
8072 (x86_initialize_trampoline): Fix mode.
8073 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
8074 Use ASM_QUAD on 64bit.
8075 * i386.md (test pattern): Disallow impossible constants.
8076 (tablejump PIC expander): Fix emitting of sum.
8077 (movdicc_rex64): Rename to movdicc.
8078 * linux64.h (LINK_SPEC): Add missing '%'.
8080 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
8082 * tree-inline.c (inlinable_function_p): Leave it up to the
8083 front-end to turn -finline-functions into DECL_INLINE set for all
8086 2001-10-16 Stan Shebs <shebs@apple.com>
8088 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
8090 2001-10-16 Alan Modra <amodra@bigpond.net.au>
8092 * recog.c: Formatting and comment typo fixes.
8094 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
8095 version in single tree build.
8096 * configure: Regenerate.
8098 2001-10-15 David Edelsohn <edelsohn@gnu.org>
8100 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
8101 MODE arguments to gen_rtx and compare operand with const0_rtx.
8103 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8105 * system.h: Poison old unused target macros.
8106 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
8107 * config/stormy16/stormy16.c: Update references to obsolete macros.
8108 * config/stormy16/stormy16.h: Similarly.
8109 * config/stormy16/stormy16.md: Similarly.
8110 * config/cris/cris.h: Similarly.
8112 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
8114 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
8115 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
8116 cpp_register_pragma): Update accordingly.
8118 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
8120 * c-pragma.h (cpp_register_pragma_space): Remove.
8121 * cpplib.h (cpp_register_pragma_space): Remove.
8122 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
8123 (cpp_register_pragma_space): Remove.
8124 (cpp_register_pragma): Simplify using lookup_pragma_entry,
8126 (do_pragma): Similarly.
8127 (_cpp_init_internal_pragmas): Don't register namespaces.
8129 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
8130 Don't register namespaces.
8131 * cp/lex.c (init_cp_pragma): Similarly.
8132 * doc/tm.texi: Update.
8134 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
8137 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
8139 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
8141 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
8142 add scheduling support.
8143 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
8144 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
8145 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
8148 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
8150 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
8151 missing CONSTANT_P test in core GCC.
8153 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
8155 * cppmain.c (struct printer): New member source.
8156 (scan_translation_unit): Fix spacing at start of lines.
8157 (cb_line_change): Update.
8159 * gcc.dg/cpp/spacing2.c: New test.
8161 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
8163 * config/cris/arit.c: Use __builtin_labs, not abs.
8165 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
8167 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
8168 misplaced sprintf and fprintf argument.
8170 2001-10-12 Zack Weinberg <zack@codesourcery.com>
8172 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
8173 * configure.in, Makefile.in: Take out obsolete check-po logic.
8174 * configure, config.in: Regenerate.
8176 2001-10-12 Ziemowit Laski <zlaski@apple.com>
8178 * objc/objc-act.c (finish_objc): Correct precondition for emitting
8179 symtab declarations.
8181 2001-10-12 Stan Shebs <shebs@apple.com>
8183 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
8184 declarations of arguments and local variables.
8186 2001-10-12 Christopher Faylor <cgf@redhat.com>
8188 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
8189 ENDFILE_SPEC definition.
8191 2001-10-12 Kazu Hirata <kazu@hxi.com>
8193 * gthr-dce.h: Fix comment formatting.
8194 * gthr-posix.h: Likewise.
8195 * gthr-single.h: Likewise.
8196 * gthr-solaris.h: Likewise.
8197 * gthr-vxworks.h: Likewise.
8198 * gthr-win32.h: Likewise.
8200 2001-10-12 Jakub Jelinek <jakub@redhat.com>
8202 * final.c (output_asm_insn): Make sure assembly dialects are
8203 terminated, not nested. Output `|' and `}' characters if they
8204 don't appear inside assembly dialect selection.
8205 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
8206 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
8207 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
8208 strsetsi_rex_1): Add {} braces.
8210 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8212 * toplev.c (compile_file): Ignore return value from yyparse.
8213 Always pop any nested binding levels after yyparse returns.
8215 2001-10-11 Richard Henderson <rth@redhat.com>
8217 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
8219 2001-10-11 Richard Henderson <rth@redhat.com>
8221 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
8222 fall back to add_AT_long_long for large CONST_INT.
8224 2001-10-11 Richard Henderson <rth@redhat.com>
8226 * config/i386/i386.md (setcc splitters): Add four splitters to
8227 simplify compound compares that simplify_comparison can't handle.
8229 2001-10-11 Zack Weinberg <zack@codesourcery.com>
8231 * cpplex.c (digraph_spellings, token_spellings): Make static.
8233 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8235 * unroll.c (loop_iterations): Fixup last patch.
8237 2001-10-11 Richard Henderson <rth@redhat.com>
8239 * rtl.h (REG_VTABLE_REF): New.
8240 * rtl.c (reg_note_name): Add it.
8241 * combine.c (distribute_notes): Handle it.
8242 * final.c (final_scan_insn): Handle it.
8243 * tree.def (VTABLE_REF): New.
8244 * expr.c (expand_expr): Handle it.
8245 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
8246 * output.h: Declare them.
8248 2001-10-11 Richard Henderson <rth@redhat.com>
8250 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
8253 2001-10-11 David Edelsohn <edelsohn@gnu.org>
8255 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
8256 available in 64-bit mode.
8258 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8260 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
8261 cris-*-linux* cases.
8262 * config/cris/cris-protos.h: New file.
8263 * config/cris/cris.c: New file.
8264 * config/cris/cris.h: New file.
8265 * config/cris/cris.md: New file.
8266 * config/cris/linux.h: New file.
8267 * config/cris/aout.h: New file.
8268 * config/cris/arit.c: New file.
8269 * config/cris/cris_abi_symbol.c: New file.
8270 * config/cris/mulsi3.asm: New file.
8271 * config/cris/t-aout: New file.
8272 * config/cris/t-cris: New file.
8273 * config/cris/t-elfmulti: New file.
8274 * config/cris/t-linux: New file.
8275 * doc/invoke.texi: Add CRIS options.
8276 * doc/install.texi (Specific): Add blurb for CRIS.
8278 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
8280 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
8282 * config/float/i32.h: Likewise.
8283 * config/float-i386.h: Likewise.
8284 * config/float-i64.h: Likewise.
8285 * config/float-m68k.h: Likewise.
8286 * config/float-sh.h: Likewise.
8287 * config/float-sparc.h: Likewise.
8289 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
8291 * doc/contrib.texi: Add note about CRIS port to my entry.
8293 2001-10-11 Kazu Hirata <kazu@hxi.com>
8295 * basic-block.h: Fix formatting.
8296 * bitmap.h: Likewise.
8297 * cpplib.h: Likewise.
8298 * c-tree.h: Likewise.
8299 * diagnostic.h: Likewise.
8300 * flags.h: Likewise.
8302 * longlong.h: Likewise.
8304 * reload.h: Likewise.
8308 2001-10-10 Richard Henderson <rth@redhat.com>
8310 * c-parse.in (asm_operand): Allow named operands.
8311 * genconfig.c (max_recog_operands): Set to 29.
8312 * local-alloc.c (requires_inout): Skip multiple digits.
8313 * recog.c (asm_operand_ok): Likewise.
8314 (preprocess_constraints): Use strtoul for matching constraints.
8315 (constrain_operands): Likewise.
8316 * regmove.c (find_matches): Likewise.
8317 * reload.c (find_reloads): Likewise.
8318 * stmt.c (parse_output_constraint): Don't reject in-out
8319 constraint on operands > 9. Reject '[' in constraint.
8320 (expand_asm_operands): Handle named operands. Use strtoul
8321 for matching constraints.
8322 (check_operand_nalternatives): Split out from expand_asm_operands.
8323 (check_unique_operand_names): New.
8324 (resolve_operand_names, resolve_operand_name_1): New.
8326 * doc/extend.texi (Extended Asm): Document named operands.
8327 * doc/md.texi (Simple Constraints): Document matching constraints
8330 2001-10-10 Richard Henderson <rth@redhat.com>
8332 * combine.c (try_combine): Handle a SEQUENCE of one insn.
8334 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
8335 (jcc splitters): Add two splitters to simplify compound compares
8336 that simplify_comparison can't handle.
8338 2001-10-10 Richard Henderson <rth@redhat.com>
8340 * langhooks.c: Include langhooks.h.
8341 * Makefile.in (langhooks.o): Depend on it.
8343 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
8345 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
8346 should not be considered as a no-op.
8347 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
8349 2001-10-10 Stan Shebs <shebs@apple.com>
8351 * alias.c: Remove uses of "register" specifier in declarations
8352 of arguments and local variables.
8353 * c-common.c: Ditto.
8354 * c-convert.c: Ditto.
8356 * c-format.c: Ditto.
8357 * c-semantics.c: Ditto.
8358 * c-typeck.c: Ditto.
8359 * caller-save.c: Ditto.
8362 * cfgbuild.c: Ditto.
8364 * collect2.c: Ditto.
8368 * cppfiles.c: Ditto.
8371 * defaults.h: Ditto.
8373 * dwarf2out.c: Ditto.
8374 * dwarfout.c: Ditto.
8375 * emit-rtl.c: Ditto.
8380 * fix-header.c: Ditto.
8381 * floatlib.c: Ditto.
8383 * fold-const.c: Ditto.
8384 * function.c: Ditto.
8387 * gen-protos.c: Ditto.
8388 * genattrtab.c: Ditto.
8389 * gencheck.c: Ditto.
8390 * genconfig.c: Ditto.
8392 * genextract.c: Ditto.
8393 * genflags.c: Ditto.
8394 * gengenrtl.c: Ditto.
8395 * genoutput.c: Ditto.
8397 * genrecog.c: Ditto.
8398 * gensupport.c: Ditto.
8402 * haifa-sched.c: Ditto.
8403 * hard-reg-set.h: Ditto.
8405 * integrate.c: Ditto.
8408 * local-alloc.c: Ditto.
8410 * mips-tdump.c: Ditto.
8411 * mips-tfile.c: Ditto.
8414 * print-rtl.c: Ditto.
8415 * read-rtl.c: Ditto.
8418 * reg-stack.c: Ditto.
8419 * regclass.c: Ditto.
8424 * resource.c: Ditto.
8428 * sched-deps.c: Ditto.
8429 * sched-rgn.c: Ditto.
8431 * simplify-rtx.c: Ditto.
8433 * stor-layout.c: Ditto.
8440 * xcoffout.c: Ditto.
8442 2001-10-10 Richard Henderson <rth@redhat.com>
8444 * rtl.h (can_reverse_comparison_p): Remove.
8446 2001-10-10 Christopher Faylor <cgf@redhat.com>
8448 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
8451 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8453 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
8454 (Thanks to Chris Faylor for suggesting macro name).
8455 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
8457 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
8458 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
8459 (MATH_LIBRARY): Undef before definition.
8460 (OUTPUT_QUOTED_STRING): Likewise.
8461 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
8463 2001-10-10 Richard Henderson <rth@redhat.com>
8465 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
8466 (fde_unencoded_compare): Likewise. Don't use subtraction to get
8467 a tristate comparison value.
8468 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
8470 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8473 * unroll.c (loop_iterations): Ignore insns generated by loop
8476 * config.gcc (mips*-*-gnu*): Delete support.
8477 * config/mips/gnu.h: Remove.
8479 2001-10-10 Kazu Hirata <kazu@hxi.com>
8481 * calls.c: Fix formatting.
8482 * c-decl.c: Likewise.
8483 * cfgcleanup.c: Likewise.
8484 * combine.c: Likewise.
8485 * cppfiles.c: Likewise.
8486 * cpplib.c: Likewise.
8487 * cppmacro.c: Likewise.
8488 * crtstuff.c: Likewise.
8490 * dwarf2out.c: Likewise.
8491 * expmed.c: Likewise.
8493 * fold-const.c: Likewise.
8494 * function.c: Likewise.
8496 * genattrtab.c: Likewise.
8497 * ggc-page.c: Likewise.
8498 * integrate.c: Likewise.
8499 * libgcc2.c: Likewise.
8501 * optabs.c: Likewise.
8502 * profile.c: Likewise.
8503 * protoize.c: Likewise.
8505 * recog.c: Likewise.
8506 * reload1.c: Likewise.
8507 * reload.c: Likewise.
8508 * reorg.c: Likewise.
8509 * resource.c: Likewise.
8510 * sched-rgn.c: Likewise.
8511 * sdbout.c: Likewise.
8513 * toplev.c: Likewise.
8514 * varasm.c: Likewise.
8516 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
8518 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
8519 * Makefile.in (langhooks.o): Add dependencies.
8521 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
8523 * rs6000.c (rs6000_emit_load_toc_table): Don't
8524 strdup the toc label.
8525 (create_TOC_reference): Likewise.
8527 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8529 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
8532 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
8534 * config/i386/i386.c (ix86_attribute_table): Correct
8535 min_len, max_len fields for dllimport, dllexport and shared.
8537 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
8539 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
8540 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
8541 Consistently use "nonzero" instead of "non-zero".
8543 2001-10-09 Kazu Hirata <kazu@hxi.com>
8545 * acconfig.h: Fix comment formatting.
8546 * c-dump.h: Likewise.
8547 * c-tree.h: Likewise.
8548 * conditions.h: Likewise.
8550 * function.h: Likewise.
8552 * hwint.h: Likewise.
8553 * integrate.h: Likewise.
8556 * optabs.h: Likewise.
8558 2001-10-09 Kazu Hirata <kazu@hxi.com>
8560 * c-common.h: Fix comment formatting.
8561 * c-dump.c: Likewise.
8563 * diagnostic.h: Likewise.
8564 * except.c: Likewise.
8566 * gcov-io.h: Likewise.
8567 * genattrtab.c: Likewise.
8568 * output.h: Likewise.
8569 * predict.h: Likewise.
8570 * reload1.c: Likewise.
8571 * reload.h: Likewise.
8572 * resource.h: Likewise.
8574 * system.h: Likewise.
8576 * tree-inline.c: Likewise.
8577 * tsystem.h: Likewise.
8578 * varasm.c: Likewise.
8579 * xcoffout.h: Likewise.
8581 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8583 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
8585 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
8587 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
8588 config/i386/i386elf.h, config/i386/netbsd-elf.h,
8589 config/i386/netware.h, config/mcore/gfloat.h,
8590 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
8591 config/netware.h, gccbug.in: Update FSF address.
8593 2001-10-09 Kazu Hirata <kazu@hxi.com>
8595 * c-common.c: Fix comment typos.
8596 * cfgrtl.c: Likewise.
8597 * collect2.c: Likewise.
8598 * cpplex.c: Likewise.
8599 * doloop.c: Likewise.
8600 * dwarf2out.c: Likewise.
8601 * dwarfout.c: Likewise.
8603 * fold-const.c: Likewise.
8607 * global.c: Likewise.
8608 * ifcvt.c: Likewise.
8610 * optabs.c: Likewise.
8611 * protoize.c: Likewise.
8612 * regclass.c: Likewise.
8613 * reorg.c: Likewise.
8617 * doc/cpp.texi: Likewise.
8618 * doc/c-tree.texi: Likewise.
8619 * doc/extend.texi: Likewise.
8620 * doc/invoke.texi: Likewise.
8621 * doc/objc.texi: Likewise.
8622 * doc/tm.texi: Likewise.
8624 2001-10-08 Richard Henderson <rth@redhat.com>
8626 * varasm.c (set_named_section_flags): Initialize "declared".
8628 2001-10-08 Robert Lipe <robertlipe@usa.net>
8630 * varasm.c (struct in_named_entry): Add declared.
8631 (named_section_first_declaration): New function.
8632 (default_elf_asm_named_section): Use it.
8633 * output.h (named_section_first_declaration): New.
8635 2001-10-08 Richard Henderson <rth@redhat.com>
8637 * i386.md (movsi_xor): Export.
8638 (setcc peep2): Use it when available; add an alternative to
8639 match zero_extendhisi2_and.
8641 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8643 * romp-protos.h (romp_initialize_trampoline): New function.
8644 * romp.c (romp_initialize_trampoline): Likewise.
8645 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
8646 romp_initialize_trampoline.
8648 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8650 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
8651 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8652 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8653 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
8655 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8657 * unroll.c (loop_iterations): Extend check for multiple back edges.
8659 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
8661 * langhooks.h: New file.
8662 * Makefile.in (OBJS): Added langhooks.o.
8663 (c-lang.o): Depend on langhooks.h.
8664 (c-common.o): Don't depend on tree-inline.h.
8665 (tree-inline.o): Depend on toplev.h.
8666 (langhooks.o): New rule.
8667 * c-common.c: Don't include tree-inline.h.
8668 (c_mark_lang_decl): Mark argument c as unused.
8669 (c_common_lang_init): Don't initialize hooks here.
8670 * c-lang.c: Include langhooks.h, then override some macros.
8671 (lang_hooks): Initialize with macros in langhooks.h.
8672 (c_init): Don't initialize hooks here.
8673 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
8674 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
8675 * tree-inline.c: Include toplev.h. Don't define hook variables.
8676 * tree-inline.h: Don't define hook types nor declare hook
8677 variables. Move macros to...
8678 * langhooks.c: ... new file, as functions. Adjust all callers.
8680 2001-10-08 Jeffrey A Law <law@cygnus.com>
8682 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
8683 purge_mem_unchanging_flag on all instructions, not just on those
8684 before NOTE_INSN_FUNCTION_BEG.
8686 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8688 * cppmacro.c (_cpp_create_definition): Leave comments off.
8690 * doc/cpp.texi: Update.
8692 2001-10-08 DJ Delorie <dj@redhat.com>
8694 * c-decl.c (grokfield): Make sure the only unnamed fields
8695 we're allowing are either structs or unions.
8696 * doc/extend.texi: Add documentation for the unnamed field
8699 2001-10-08 Zack Weinberg <zack@codesourcery.com>
8701 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
8702 * configure.in: Use it.
8703 * configure: Regenerated.
8704 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
8705 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
8707 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8709 * cppfiles.c (open_file): Don't mark zero-length files
8710 never-reread here. Don't output diagnostics here either.
8711 (stack_include_file): Mark them never-reread here.
8712 (_cpp_read_file): Update.
8714 2001-10-08 Richard Henderson <rth@redhat.com>
8716 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
8718 2001-10-08 Richard Henderson <rth@redhat.com>
8720 * expr.c (store_expr): When converting a CONST_INT for storage
8721 in a SUBREG, convert it to both SUBREG modes before stripping
8724 2001-10-08 Richard Henderson <rth@redhat.com>
8726 * varasm.c (restore_varasm_status): New.
8727 * function.h: Declare it.
8728 * function.c (pop_function_context_from): Call it.
8730 2001-10-08 Richard Henderson <rth@redhat.com>
8732 * c-common.h (struct c_lang_decl): Add declared_inline.
8733 * c-tree.h (DECL_DECLARED_INLINE_P): New.
8734 * c-lang.c (c_disregard_inline_limits): Use it.
8735 * c-decl.c (duplicate_decls): Likewise.
8736 (pushdecl, redeclaration_error_message): Likewise.
8737 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
8738 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
8739 Set DECL_INLINE if -finline-functions.
8740 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
8742 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
8744 * cppmacro.c (funlike_invocation_p): Move some logic to caller
8745 in enter_macro_context. Create a padding token in its own context
8746 if necessary when the search for '(' fails.
8747 (enter_macro_context): Update.
8749 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
8751 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
8752 genmultilib, toplev.c: Fix spelling errors of "separate" as
8753 "seperate", and corresponding spelling errors of related words.
8755 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8757 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
8758 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
8760 * c-dump.c (dump_option_value_info): Likewise.
8761 * c-format.c (format_length_info, format_char_info,
8762 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
8763 * collect2.c (names): Likewise.
8764 * cppdefault.h (default_include): Likewise.
8765 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
8766 * flow.c (life_analysis): Likewise.
8767 * gcc.c (dir_separator_str, modify_target, option_map,
8768 target_option_translations, spec_list_1, extra_specs_1,
8769 init_spec): Likewise.
8770 * gcov.c (gcov_version_string): Likewise.
8771 * genattr.c (write_units): Likewise.
8772 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
8773 * gengenrtl.c (rtx_definition, defs): Likewise.
8774 * genrecog.c (pred_table): Likewise.
8775 * global.c (global_alloc): Likewise.
8776 * lcm.c (optimize_mode_switching): Likewise.
8777 * local-alloc.c (find_free_reg): Likewise.
8778 * params.h (param_info): Likewise.
8779 * predict.c (predictor_info): Likewise.
8780 * protoize.c (unexpansion_struct): Likewise.
8781 * real.c (bmask): Likewise.
8782 * recog.h (insn_operand_data, insn_data): Likewise.
8783 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
8784 * stmt.c (expand_nl_goto_receiver): Likewise.
8785 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
8786 target_switches, target_options): Likewise.
8787 * tradcif.y (token, tokentab2, yylex): Likewise.
8788 * tree.h (attribute_spec): Likewise.
8790 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
8792 * arc.c (arc_output_function_epilogue): Likewise.
8793 * arm.c (processors, all_cores, all_architectures,
8794 arm_override_options, isr_attribute_arg, isr_attribute_args,
8795 arm_isr_value): Likewise.
8796 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
8798 * c4x.c (c4x_int_reglist): Likewise.
8799 * d30v.c (override_options): Likewise.
8800 * h8300.c (shift_insn): Likewise.
8801 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
8802 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
8803 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
8804 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
8805 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
8806 * i386.h (processor_costs, ix86_cost): Likewise.
8807 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
8808 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
8809 * m68k.c (codes_68881, codes_FPA): Likewise.
8810 * m88k.c (mode_from_align, max_from_align, all_from_align,
8811 best_from_align, m_options): Likewise.
8812 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
8813 * mcore.c (mode_from_align): Likewise.
8814 * mips/elf64.h (UNIQUE_SECTION): Likewise.
8815 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
8816 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
8817 * mips.h (mips_regno_to_class): Likewise.
8818 * ns32k.c (scales): Likewise.
8819 * pa.c (import_string, magic_milli): Likewise.
8820 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
8821 * sparc.c (leaf_reg_remap, sparc_override_options,
8822 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
8824 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
8826 2001-10-07 Dale Johannesen <dalej@apple.com>
8828 * reload1.c (reload_reg_free_p): Teach register interference
8829 checking that multiple output reloads are emitted in
8831 reload1.c (reload_reg_reaches_end_p): Ditto.
8832 reload1.c (reloads_conflict): Ditto.
8834 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
8836 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
8837 NULL_TREE inside @code.
8839 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
8841 * doc/gcc.texi: Document consistent style of "32-bit",
8842 "Objective-C", and "@code{NULL}".
8844 2001-10-06 Zack Weinberg <zack@codesourcery.com>
8846 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
8847 (cpp_token_len, cpp_spell_token, cpp_output_token,
8848 _cpp_equiv_tokens): Handle it.
8849 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
8850 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
8851 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
8854 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8856 * gcc.c (default_compilers): Remove .ada.
8858 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
8860 * doc/cppinternals.texi: Update.
8862 2001-10-06 Zack Weinberg <zack@codesourcery.com>
8864 * gcc.c (main): Set this_file_error if the appropriate
8865 compiler for a language has not been installed.
8867 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
8869 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
8871 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
8873 * gccbug.in (CATEGORIES): Add ada.
8875 2001-10-05 Catherine Moore <clm@redhat.com>
8877 * config/stormy16/stormy-abi: Document abi changes.
8878 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
8879 (ICALL_REGS): New register class.
8880 (NUM_ARGUMENT_REGISTERS): Now 6.
8881 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
8883 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
8884 * config/stormy16.md (call_internal, call_value_internal,
8885 indirect_jump): Use new 'z' constraint.
8887 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
8889 * doc/cppinternals.texi: Update.
8891 2001-10-05 Richard Henderson <rth@redhat.com>
8893 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
8894 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
8895 the gas section-name-as-label feature.
8897 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
8899 * doc/cppinternals.texi: Update.
8901 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8903 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
8904 to ensure valid SImode constants.
8906 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
8908 * Makefile.in (c-decl.o): Depend on tree-inline.h.
8909 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
8910 * c-decl.c: Include tree-inline.h.
8911 (c_expand_body): Call optimize_inline_calls. Determine whether
8912 a function is inlinable upfront, and only clear
8913 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
8914 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
8915 (c_disregard_inline_limits): New function.
8916 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
8917 (c_post_options): Enable tree inlining if inlining is enabled.
8918 Don't inline trees when instrumenting functions.
8919 (c_init): Initialize lang_disregard_inline_limits and
8920 lang_cannot_inline_tree_fn.
8921 * tree-inline.c (initialize_inlined_parameters): Handle calls
8922 with fewer arguments than declared parameters, and fewer
8923 parameters than passed arguments. Don't assume value is a
8925 (declare_return_variable): Convert return value back to the
8926 original type, if it was promoted.
8927 (tree_inlinable_function_p): New function.
8928 (inlinable_function_p): Don't look at DECL_INLINE if we're
8929 inlining all functions. Make it work with a NULL id.
8930 Re-check DECL_UNINLINABLE after language-specific checks.
8931 * tree-inline.h (tree_inlinable_function_p): Declare it.
8932 * integrate.c (save_for_inline): Don't bother to prepare argvec
8934 * cse.c (check_for_label_ref): Don't check deleted labels.
8936 * Makefile.in (tree-inline.o): Depend on newly-included headers.
8937 * tree-inline.c: Include headers needed for the functions moved in.
8938 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
8939 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
8940 (copy_body, initialize_inlined_parameters): Likewise.
8941 (declare_return_variable, inlinable_function_p): Likewise.
8942 (expand_call_inline, expand_calls_inline): Likewise.
8943 (optimize_inline_calls, clone_body): Likewise.
8944 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
8945 (copy_tree_r, remap_save_expr): Likewise.
8947 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
8949 * Makefile.in (OBJS): Added tree-inline.o.
8950 (c-common.o): Depend on tree-inline.h.
8951 (tree-inline.o): New target.
8952 * c-common.c: Include tree-inline.h.
8953 (c_mark_lang_decl): Don't mark saved_tree.
8954 (c_common_lang_init): Set lang_anon_aggr_type_p.
8955 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
8956 (struct c_lang_decl): Moved saved_tree to tree_decl.
8957 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
8958 * integrate.h (function_attribute_inlinable_p): Declare it.
8959 * integrate.c (function_attribute_inlinable_p): Export it.
8960 * tree-inline.c: New file. Define variables declared in...
8961 * tree-inline.h: New file. Declare functions to be moved to
8962 tree-inline.c. Define macros and declare types and hooks for
8963 language-specific tree inlining.
8964 (flag_inline_trees): Moved definition from cp/decl2.c.
8965 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
8966 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
8967 (struct tree_decl): Moved saved_tree from c_lang_decl and
8968 inlined_fns from C++'s lang_decl.
8970 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
8972 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
8973 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
8975 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
8977 * doc/cppinternals.texi: Update.
8979 2001-10-04 Eric Christopher <echristo@redhat.com>
8981 * config/mips/mips.c (init_cumulative_args): Remember to set
8983 * config.gcc: Redo linux configuration. Add target_cpu_default
8984 of soft-float to all mipsisa32 combinations and tx39.
8985 * config/mips/linux.h: Remove include of mips.h.
8987 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
8989 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
8990 HOST_LDFLAGS and HOST_CPPFLAGS.
8992 2001-10-03 Ziemowit Laski <zlaski@apple.com>
8994 * c-parse.in (objc_inherit_code, objc_pq_context,
8995 objc_public_flag): Make static.
8996 (objc_interface_context, objc_implementation_context,
8997 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
8998 global tree array in objc/objc-act.[ch].
8999 (methoddef): Remove unnecessary code.
9001 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
9002 Hoist struct definitions to objc-act.h.
9003 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
9004 cat_count): Place declaration in objc-act.h.
9005 (objc_tree_index): Move enumeration to objc-act.h.
9006 (objc_global_trees): Place declaration and macro accessors in
9008 (implementation_context): Remove duplicate; use
9009 objc_implementation_context instead:
9010 (method_context): Remove duplicate; use objc_method_context
9012 (objc_ellipsis_node, objc_method_prototype_template,
9013 implemented_classes, function_type): Move global vars to
9015 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
9016 (build_message_expr): Move actual construction of ObjC message
9017 send nodes to finish_message_expr.
9018 (finish_message_expr): New routine, contains code formerly in
9020 * objc/objc-act.h (finish_message_expr): New prototype.
9021 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
9022 declarations; these vars are now part of objc_global_trees.
9023 (objc_tree_index, objc_global_trees): Move definitions from
9025 * objc/objc-tree.def: Update copyright info.
9027 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
9029 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
9031 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
9032 only if TARGET_ARCH64.
9034 2001-10-02 Bernd Schmidt <bernds@redhat.com>
9036 * doc/extend.texi: Fix some problems with previous checkin.
9037 * doc/invoke.texi: Likewise.
9039 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
9041 * cpphash.h: Update comments.
9042 (cpp_context): Update.
9043 (spec_nodes): Remove n__Pragma.
9044 * cppinit.c (cpp_create_reader): Update.
9045 (builtin_array): Add _Pragma.
9046 * cpplib.h: Update comments.
9047 (NODE_DISABLED, BT_PRAGMA): New.
9048 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
9049 * cppmacro.c (struct cpp_macro): Remove disabled.
9050 (builtin_macro): Return int, handle _Pragma, push the new token
9051 on the context stack.
9052 (funlike_invocation_p): Unconstify, update.
9053 (enter_macro_context): Handle builtins here.
9054 (replace_args, push_token_context, push_ptoken_context):
9055 Update for prototype changes.
9056 (_cpp_pop_context): Update.
9057 (cpp_get_token): Don't handle buitins, nor _Pragma here.
9058 (cpp_sys_macro_p): Update.
9059 (_cpp_free_definition): Clear disabled flag.
9060 (_cpp_create_definition): Upate.
9061 * cppmain.c: Update comments.
9063 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
9064 Andreas Jaeger <aj@suse.de>,
9065 Jan Hubicka <jh@suse.cz>
9067 * doc/invoke.texi (i386 Options): Document x86-64 options.
9068 (i386 and x86-64 Options): Rename i386 options section.
9070 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
9071 (TARGET_SWITCHES): Add -munwind-info.
9072 (MASK_NO_UNWIND_INFO): New.
9073 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
9075 (ASM_OUTPUT_DOUBLE_INT): New.
9077 * config/i386/linux64.h: New spec file for Linux x86-64 support.
9078 * config.gcc: Fix tm_file settings for x86-64.
9079 * config/i386/x86-64.h: New file with OS independent x86-64
9081 * config/i386/biarch64.h: New file used to configure compiler
9082 to biarch/64bit compilation.
9084 * config/i386/i386.c: (override_options): Set flags default
9085 for 64bit compilation.
9087 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
9089 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
9090 (ix86_expand_int_movcc): Optimize DImode conditional moves with
9091 constants on x86_64.
9092 (ix86_attr_length_immediate_default): Support MODE_DI.
9093 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
9095 (indirect_jump, tablejump): Turn into expander.
9097 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9099 * c-common.c (c_format_attribute_table): Make format and
9100 format_arg attributes apply to function types rather than to
9102 (is_valid_printf_arglist): Construct an attribute list and pass
9103 that to check_function_format rather than a name.
9104 * c-common.h (check_function_format): Adjust prototype.
9105 * c-decl.c (duplicate_decls): Preserve attributes from type of
9106 built-in decl when allowing for harmless conflict in types.
9107 * c-format.c (record_function_format,
9108 record_international_format, function_format_list,
9109 international_format_info, international_format_list): Remove.
9110 (function_format_info): Remove next, name and assembler_name.
9111 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
9112 (decode_format_attr): New.
9113 (handle_format_attribute): Handle receiving a type rather than a
9114 decl. Call decode_format_attr. Store format information in a
9115 function_format_info.
9116 (handle_format_arg_attribute): Correct comment. Handle receiving
9117 a type rather than a decl. Use unsigned HOST_WIDE_INT for
9119 (check_format_info_recurse, check_format_info_main): Take argument
9120 numbers as unsigned HOST_WIDE_INT.
9121 (check_function_format): Take a list of attributes from the
9122 function type rather than a name or assembler name. Check for
9123 format attributes in that list and the attributes on the type of
9124 the current function rather than looking through
9125 function_format_list.
9126 (check_format_info): Use unsigned HOST_WIDE_INT for argument
9128 (check_format_info_recurse): Take format_arg attributes from the
9129 type of the function calls rather than using
9130 international_format_list. Allow for multiple format_arg
9132 * c-typeck.c (build_function_call): Pass type attributes to
9133 check_function_format rather than name or assembler name. Don't
9134 require there to be a name or assembler name to check formats.
9136 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9138 * attribs.c (decl_attributes): Possibly call
9139 insert_default_attributes to insert default attributes on
9140 functions in a lazy manner.
9141 * builtin-attrs.def: New file; define the default format and
9142 format_arg attributes.
9143 * c-common.c (c_format_attribute_table): Move to earlier in the
9145 (c_common_nodes_and_builtins): Initialize format_attribute_table.
9146 (enum built_in_attribute, built_in_attributes,
9147 c_attrs_initialized, c_init_attributes,
9148 c_common_insert_default_attributes): New.
9149 (c_common_lang_init): Don't initialize format_attribute_table. Do
9150 call c_init_attributes.
9151 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
9152 * c-common.h (init_function_format_info): Don't declare.
9153 (c_common_insert_default_attributes): Declare.
9154 * c-decl.c (implicitly_declare, builtin_function): Call
9156 (init_decl_processing): Don't call init_function_format_info.
9157 (insert_default_attributes): New.
9158 * c-format.c (handle_format_attribute,
9159 handle_format_arg_attribute): Be quiet about inappropriate
9160 declaration when applying default attributes.
9161 (init_function_format_info): Remove.
9162 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
9163 (insert_default_attributes): Declare.
9165 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
9167 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
9169 2001-10-01 Jim Wilson <wilson@redhat.com>
9171 * sched-deps.c (add_dependence): When elide conditional dependence,
9172 check that insn doesn't modify cond2.
9174 2001-10-01 Dale Johannesen <dalej@apple.com>
9176 * config/rs6000/rs6000.h (enum processor_type): Add support
9177 for 7400 (G4) and 7450.
9179 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
9180 (rs6000_issue_rate): Ditto.
9181 (rs6000_adjust_cost): Fix cycle counts for compares.
9182 (debug_stack_info): Fix an obvious typo.
9183 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
9184 * doc/invoke.texi: Document.
9185 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
9187 (PROCESSOR_DEFAULT): Ditto.
9189 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
9191 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
9192 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
9193 later recursive make invocation.
9195 2001-10-01 Hans Boehm <boehm@acm.org>
9197 * optabs.c (emit_libcall_block): When using non-call exceptions,
9198 don't add REG_LIBCALL reg notes to trapping calls.
9200 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9202 * flow.c (propagate_block_delete_libcall): Remove unused first arg
9203 (propagate_one_insn): Update for above change
9205 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
9207 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
9208 _Unwind_GetTextRelBase): Argument is unused.
9210 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9212 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
9213 Loop through NOPs, placeholders, and components.
9214 Don't go through NOPs if change mode.
9215 (record_alias_subset): Do nothing if SUBSET and SET are the same.
9216 * emit-rtl.c (set_mem_alias_set): Enable check.
9217 * expr.c (find_placeholder): New function.
9218 (expand_expr, case PLACEHOLDER_EXPR): Use it.
9219 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
9220 to modify it and avoid unneeded copies.
9221 * expr.h (expand_expr): Always define.
9222 (find_placeholder): New declaration.
9224 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9226 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
9227 operand 2 is the stack pointer.
9228 ("addr-peephole"): Fix address computation peephole when operand 2
9229 is the stack pointer.
9231 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9233 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
9234 (ix86_setup_incoming_varargs): Likewise.
9236 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
9238 * stor-layout.c (layout_type): Don't complain about too-large
9241 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9243 * function.c (keep_stack_depressed): Don't use delete_insn.
9245 * expr.h (set_mem_alias_set): Move decl to here.
9246 * rtl.h (mem_attrs): New typedef and struct.
9247 (union rtunion_def): Add field for mem_attrs.
9248 (X0MEMATTR, MEM_ATTRS): New macros.
9249 (MEM_ALIAS_SET): Use MEM_ATTRS.
9250 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
9251 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
9252 (set_mem_alias_set): Delete decl from here.
9254 * alias.c (set_mem_alias_set): Delete from here.
9255 * emit-rtl.c (mem_attrs_htab): New variable.
9256 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
9257 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
9258 (mem_attrs_mark, get_mem_attrs): Likewise.
9259 (gen_rtx_MEM): Clear MEM_ATTRS.
9260 (set_mem_attributes): Move to here.
9261 (set_mem_alias_set): Likewise, and call get_mem_attrs.
9262 (init_emit_once): const_int_htab now deletable htab.
9263 Initialize mem_attrs_htab.
9264 * explow.c (set_mem_attributes): Delete from here.
9265 * function.c (put_var_into_stack): Clear MEM_ATTRS.
9266 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
9267 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
9268 * reload1.c (reload): Rework changing REG to MEM.
9270 2001-09-30 H.J. Lu <hjl@gnu.org>
9272 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
9273 * config.in: Rebuild.
9275 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9277 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
9278 ("tsthi_1"): Avoid allocation in register y.
9279 ("*movqi_68hc12"): Reorganize and fix constraints.
9280 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
9281 ("addqi3"): Likewise.
9282 ("addhi3"): Fix constraints.
9283 ("*logicalhi3_zexthi"): Disparage soft registers.
9285 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9287 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
9290 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9292 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
9293 that we use setjmp/longjmp exceptions.
9295 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
9297 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
9298 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
9299 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9300 _cpp_pool_alloc, _cpp_next_chunk): Remove.
9301 (_cpp_extend_buff, BUFF_ROOM): Update.
9302 (_cpp_append_extend_buff): New.
9303 (struct cpp_reader): Remove macro_pool, add a_buff.
9304 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
9306 (cpp_destroy): Free a_buff instead of macro_pool.
9307 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
9308 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
9309 _cpp_pool_alloc, ): Remove.
9310 (parse_number, parse_string): Update use of _cpp_extend_buff.
9311 (_cpp_extend_buff): Update.
9312 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
9313 * cpplib.c (glue_header_name, parse_answer):
9314 Update use of _cpp_extend_buff.
9315 (cpp_register_pragma, cpp_register_pragma_space): Use
9317 (do_assert, do_unassert): Check for EOL, update.
9318 * cppmacro.c (stringify_arg, collect_args): Update to use
9319 _cpp_extend_buff and _cpp_append_extend_buff.
9320 (save_parameter, parse_params, alloc_expansion_token,
9321 _cpp_create_definition): Rework memory management.
9323 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
9325 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
9326 update md_exec_prefix.
9327 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
9330 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
9332 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
9333 (SELECT_CC_MODE): Use s390_select_ccmode.
9334 * config/s390/s390-protos.h (s390_select_ccmode): Add.
9335 * config/s390/s390.c (s390_select_ccmode): New.
9336 (s390_match_ccmode): Add CCLmode.
9337 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
9338 (output_branch_condition, output_inverse_branch_condition): Removed.
9339 (print_operand): Use s390_branch_condition_mnemonic.
9340 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
9341 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
9342 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
9344 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
9345 when converting conditional branches to far branches.
9346 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
9347 cmpint_di): Use CCSmode instead of CCUmode.
9349 * config/s390/s390.c (legitimate_la_operand_p): New.
9350 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
9351 * config/s390/s390.md (movsi): Convert load address patterns to
9352 arithmetic operations when necessary.
9353 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
9354 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
9355 (*do_la_reg_0): Don't use before reload.
9357 * config/s390/s390.c (legitimize_address): Make more efficient
9358 use of two-register addressing mode.
9360 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
9361 with -mno-backchain in some corner cases.
9363 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
9365 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
9367 * reload.c (find_reloads): Mark new USE insns with QImode.
9368 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
9369 find_reloads_subreg_address): Likewise.
9370 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
9372 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
9374 (reload): Make sure there are no USEs with mode other than
9375 VOIDmode. At the end, remove those marked with QImode.
9377 2001-09-29 Per Bothner <per@bothner.com>
9379 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
9380 * Makefile.in (includedir): Rename to local_includedir.
9381 (includedir): Define as $(prefix)/include.
9382 * config.in (PREFIX_INCLUDE_DIR): New variable.
9383 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
9385 2001-09-29 Bernd Schmidt <bernds@redhat.com>
9387 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
9389 * doc/extend.texi (Vector Extensions): New node.
9390 * doc/invoke.texi (Machine Dependent Options): Add documentation for
9391 i386 -mmmx, -msse, -m3dnow.
9393 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
9395 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
9397 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
9399 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
9401 * doc/invoke.texi (Optimize Options): Delete spurious @table.
9403 2001-09-28 Richard Henderson <rth@redhat.com>
9405 * varasm.c (assemble_integer): Bound alignment check by
9408 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
9410 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9412 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
9414 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9416 Mostly from Graham Stott <grahams@redhat.com>
9417 * c-common.c (type_for_mode): Add support for V2SFmode.
9418 * tree.c (build_common_tree_nodes_2): Likewise.
9419 * tree.h (enum tree_index, global_trees): Likewise.
9420 * config/i386/i386.c (x86_3dnow_a): New variable.
9421 (override_options): Support 3Dnow extensions.
9422 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
9423 Athlon's version of 3Dnow.
9424 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
9425 (ix86_expand_builtin): Handle them.
9426 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
9427 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
9428 TARGET_3DNOW_A): New macros.
9429 (TARGET_SWITCHES): Add 3Dnow switches.
9430 (VALID_MMX_REG_MODE_3DNOW): New macro.
9431 (VECTOR_MODE_SUPPORTED_P): Use it.
9432 (enum ix86_builtins): Add entries for 3Dnow builtins.
9433 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
9434 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
9435 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
9436 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
9437 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
9438 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
9439 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
9440 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
9441 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
9442 sfence_insn, prefetch): Make these available if TARGET_SSE or
9445 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
9447 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
9448 ix86_va_start, ix86_build_va_list): Declare.
9449 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
9450 ix86_va_start, ix86_build_va_list): New global functions.
9451 * i386.md (sse_prologue_save_insn): New insn.
9452 (sse_prologue_save): New expander.
9453 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
9454 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
9456 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9458 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
9459 Use size_t everywhere, make definitions consistent with
9462 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
9464 * gcse.c (replace_store_insn): Use delete_insn.
9465 * loop.c (move_movables): Likewise; avoid delete_insn
9466 from clobbering notes moved elsewhere.
9467 (check_dbra_loop): Use delete_insn.
9468 * ssa.c (convert_from_ssa): Likewise.
9469 * cse.c (cse_insn): Use delete_insn.
9471 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
9473 * cpphash.h (struct cpp_buff): Make unsigned.
9474 (_cpp_get_buff): Take length of size_t.
9475 (_cpp_unaligned_alloc): New.
9476 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
9477 (struct cpp_reader): Remove ident_pool. Add u_buff.
9478 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
9479 (cpp_destroy): Destroy u_buff, not ident_pool.
9480 * cpplex.c (parse_number, parse_string, save_comment,
9481 cpp_token_as_text): Update to use the unaligned buffer.
9482 (new_buff): Make unsigned.
9483 (_cpp_unaligned_alloc): New.
9484 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
9485 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
9487 (collect_args): Make unsigned.
9489 2001-09-27 Zack Weinberg <zack@codesourcery.com>
9491 * cpplex.c (cpp_output_token): Use a putc loop for
9492 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
9494 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
9495 * configure, config.in: Regenerate.
9496 * system.h: Replace fwrite and fprintf with their unlocked
9497 variants if available.
9499 2001-09-27 Richard Henderson <rth@redhat.com>
9501 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
9502 in favour of .eh_frame.
9504 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
9506 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
9508 (LIBCALL_VALUE): Likewise.
9510 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9512 * cpphash.h: Update comment.
9513 * cpplex.c: Update comments.
9514 (_cpp_can_paste): Remove.
9515 * cpplib.h (_cpp_can_paste): Remove.
9516 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
9517 lexer rather than _cpp_can_paste.
9519 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
9521 * doc/cppinternals.texi: Update.
9523 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9525 * cpphash.h (struct cpp_pool): Remove locks and locked.
9526 (struct cpp_context): Add member buff.
9527 (struct cpp_reader): Remove member argument_pool.
9528 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9529 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
9530 * cpplex.c (chunk_suitable): Remove pool argument.
9531 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
9532 (new_buff, _cpp_extend_buff): Update.
9533 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
9534 which buffer is returned.
9535 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
9536 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
9537 * cppmacro.c (lock_pools, unlock_pools): Remove.
9538 (push_ptoken_context): Take a _cpp_buff.
9539 (enter_macro_context): Pool locking removed.
9540 (replace_args): Use a _cpp_buff for the replacement list with
9542 (push_token_context): Clear buff.
9543 (expand_arg): Use _cpp_pop_context.
9544 (_cpp_pop_context): Free a context's buffer, if any.
9546 2001-09-26 DJ Delorie <dj@redhat.com>
9548 * c-typeck.c (digest_init): Check for sizeless arrays.
9550 2001-09-26 Richard Henderson <rth@redhat.com>
9552 * optabs.c (init_one_libfunc): Create a dummy function type
9553 instead of using error_mark_node.
9555 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
9557 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
9558 _cpp_extend_buff, _cpp_free_buff): New.
9559 (struct cpp_reader): New member free_buffs.
9560 * cppinit.c (cpp_destroy): Free buffers.
9561 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
9562 _cpp_extend_buff, _cpp_free_buff): New.
9563 * cpplib.h (struct cpp_options): Remove unused member.
9564 * cppmacro.c (collect_args): New. Combines the old parse_arg
9565 and parse_args. Use _cpp_buff for memory allocation.
9566 (funlike_invocation_p, replace_args): Update.
9568 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
9570 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
9572 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
9574 * except.c (sjlj_mark_call_sites): Change address inside sequence.
9576 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
9578 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
9581 2001-09-25 Janis Johnson <janis187@us.ibm.com>
9582 Jim Wilson <wilson@redhat.com>
9584 * doc/install.texi (Specific, ia64-*-linux): Document.
9586 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
9588 * Makefile.in (cfgrtl.o): Add.
9589 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9590 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9591 free_aux_for_edge): Declare.
9593 (HAVE_return): Undefine.
9594 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
9595 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
9596 free_aux_for_edge): New global functions.
9597 (first_delete_block): New static variable.
9598 (init_flow): Clear first_delete_block.
9599 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
9600 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
9601 try_redirect_by_replacing_jump, last_loop_beg_note,
9602 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
9603 delete_insn, delete_insn_chain, create_basic_block_structure,
9604 create_basic_block, flow_delete_block, compute_bb_for_insn,
9605 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
9606 set_block_for_new_insns, split_block, merge_blocks_nomove,
9607 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
9608 redirect_edge_and_branch, force_nonfallthru_and_redirect,
9609 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
9610 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
9611 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
9612 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
9613 purge_all_dead_edges): Move to ....
9614 * cfgrtl.c: New file; .... Here.
9616 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
9617 (reroder_basic_block): Use alloc_aux_for_blocks.
9618 * predict.c (estimate_bb_frequencies): Likewise; use
9619 alloc_aux_for_edges.
9620 * profile.c (compute_branch_probabilities): Likewise.
9621 (branch_prob): Likewise.
9622 * reg-stack.c (reg_to_stack): Likewise.
9624 * emit-rtl.c (emit_insns_after): Never return NULL.
9626 * basic-block.h (set_block_for_new_insns): Delete.
9627 * cfgrtl.c (set_block_for_new_insns): Delete.
9629 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
9630 calls when crossjumping.
9632 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
9633 * unroll.c (copy_loop_body): Use delete_insn.
9635 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
9636 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
9637 keep_stack_depressed): Likewise.
9638 * gcse.c (cprop_cc0_jump): Likewise.
9639 * local-alloc.c (update_equiv_regs): Likewise.
9640 * loop.c (scan_loop, loop_delete_insns): Likewise.
9641 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
9642 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
9643 delete_output_reload, delete_address_reloads_1,
9644 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
9646 * sibcall.c (replace_call_placeholder): Likewise.
9647 * cse.c (cse_insn): Likewise.
9649 2001-09-25 Bernd Schmidt <bernds@redhat.com>
9651 From Graham Stott <grahams@redhat.com>
9652 (def_builtin): Only define builtins appropriate for target_flags. All
9654 (builtin_decsription): Add new field mask which is used to determine
9655 when to define the builtin via the macro def_builtin.
9657 (bdesc_comi): Initialise new mask fields.
9658 (bdesc_2srg): Likewise.
9659 (bdesc_1arg): Likewise.
9661 * config/i386/i386.c (ix86_init_builtins): Correct return type
9662 building v4hi_ftype_v4hi_int_int tree node.
9663 (ix86_expand_sse_comi): Fix typo swapping operands.
9664 Don't swap comparision condition, it is already swapped.
9665 (ix86_expand_sse_compare): Before swapping operands
9666 move operand 1 into new rtx and not the target rtx.
9667 Don't swap comparison condition, it is already swapped.
9668 Always check whether we need to create a new TARGET.
9670 * config/i386/i386.md: (sse_comi) Fix typos.
9671 (sse_ucomi): Likewise.
9672 (cvtss2si): Fix operand 0 contraint.
9673 (cvttss2si): Likewise.
9674 (sse_unpckhps): Fix mode for operand 2.
9675 (sse_unpcklps): Likewise.
9677 2001-09-25 Graham Stott <grahams@redhat.com>
9679 * sibcall.c (skip_copy_to_return_value): Tighten return value
9682 2001-09-24 David Edelsohn <edelsohn@gnu.org>
9684 * rs6000.c (lwa_operand): Address must be word aligned.
9686 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9688 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
9689 number has been set.
9690 (type_hash_mark): Mark type itself.
9692 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
9694 * c-lex.c (cb_def_pragma): Update.
9695 (c_lex): Update, and skip padding.
9696 * cppexp.c (lex, parse_defined): Update, remove unused variable.
9697 * cpphash.h (struct toklist): Delete.
9698 (union utoken): New.
9699 (struct cpp_context): Update.
9700 (struct cpp_reader): New members eof, avoid_paste.
9701 (_cpp_temp_token): New.
9702 * cppinit.c (cpp_create_reader): Update.
9703 * cpplex.c (_cpp_temp_token): New.
9704 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
9705 (cpp_output_token): Don't print leading whitespace.
9706 (cpp_output_line): Update.
9707 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
9708 do_include_common, do_line, do_ident, do_pragma,
9709 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
9710 parse_assertion): Update.
9711 (get_token_no_padding): New.
9712 * cpplib.h (CPP_PADDING): New.
9713 (AVOID_LPASTE): Delete.
9714 (struct cpp_token): New union member source.
9715 (cpp_get_token): Update.
9716 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
9717 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
9718 replace_args, quote_string, stringify_arg, parse_arg, next_context,
9719 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
9720 _cpp_backup_tokens, _cpp_create_definition): Update.
9721 (push_arg_context): Delete.
9722 (padding_token, push_token_context, push_ptoken_context): New.
9723 (make_string_token, make_number_token): Update, rename.
9724 (cpp_get_token): Update to handle tokens as pointers to const,
9725 and insert padding appropriately.
9726 * cppmain.c (struct printer): New member prev.
9727 (check_multiline_token): Constify.
9728 (do_preprocessing, cb_line_change): Update.
9729 (scan_translation_unit): Update to handle spacing.
9730 * scan-decls.c (get_a_token): New.
9731 (skip_to_closing_brace, scan_decls): Update.
9732 * fix-header.c (read_scan_file): Update.
9734 * doc/cpp.texi: Update.
9736 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9738 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
9739 leak by passing malloc'ed pointer to reconcat, not concat.
9741 2001-09-24 DJ Delorie <dj@redhat.com>
9743 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
9745 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
9747 * flow.c (delete_dead_jumptables): Delete jumptable if the only
9748 reference is from the literal pool.
9750 2001-09-24 Janis Johnson <janis187@us.ibm.com>
9752 * doc/install.texi (Final install): Request additional information
9753 in mail about successful builds.
9755 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9757 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
9758 initial value of return pointer register instead of value in frame-20.
9761 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9763 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
9764 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
9765 the libcall if there isn't a referenced identifier for the symbol.
9767 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9769 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
9770 non 64-bit machines. Use these as a plabel for the trampoline.
9771 (TRAMPOLINE_SIZE): Adjust size for new words.
9772 (INITIALIZE_TRAMPOLINE): Initialize new words.
9773 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
9774 pointer to the plabel in the trampoline.
9776 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
9778 * pa.c (function_arg): Pass floating arguments in both general and
9779 floating registers in indirect (dynamic) calls when generating code
9780 for the 32 bit ABI and the HP assembler.
9782 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9784 * doc/install.texi: Markup fixes.
9785 Use Solaris 2, SunOS 4 as appropriate.
9786 (Specific, *-*-solaris2*): Explain this.
9787 Unconditionally warn against /usr/ucb tools.
9788 Remove Sun as warning, obsolete.
9789 Move X11 header bug workaround here, update patches.
9790 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
9791 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
9793 2001-09-23 Zack Weinberg <zack@codesourcery.com>
9795 * errors.h (warning, error, fatal, internal_error): Don't mark
9796 with ATTRIBUTE_PRINTF_n.
9797 * toplev.h (internal_error, fatal_io_error, warning, error,
9798 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
9799 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
9802 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9804 * function.c (pop_function_context_from): var_refs_queue
9805 and temp slots now in GC memory.
9806 (mark_function_status, free_after_compilation): Likewise;
9807 also struct function now in GC memory.
9808 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
9809 (combine_temp_slots): Likewise.
9810 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
9811 (prepare_function_start): Use GC memory for struct function.
9812 (mark_temp_slot): Deleted.
9813 (gcc_mark_struct_function): struct function now in GC memory.
9815 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
9816 code for division, not modulus.
9818 * rtl.def (MEM): Remove obsolete part of comment.
9820 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
9822 * c-format.c (init_function_format_info): Check __builtin_printf
9823 and __builtin_fprintf even if -ffreestanding. Check C99 functions
9826 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9828 * c-common.c (format_attribute_table): Remove decl.
9829 * tree.h (format_attribute_table, lang_attribute_table): New decls.
9830 (lang_attribute_common): Likewise.
9832 * function.c (fix_lexical_address): Use set_mem_alias_set.
9833 (expand_function_start): Likewise.
9834 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
9836 * varasm.c (output_constant): Fix unused variable warning.
9838 * attribs.c: New file, from c-common.c.
9839 (attribute_tables): Now four elements.
9840 (format_attribute_table, lang_attribute_common): New variables.
9841 (init_attributes): Reflect above changes.
9842 (handle_mode_attribute): Delete check for wider than uintmax.
9843 * c-common.c: Delete parts moved to attribs.c.
9844 (enum attrs): Deleted; unused.
9845 (c_format_attribute_table): New variable.
9846 (c_common_lang_init): Initialize format_attribute_table with it.
9847 * c-common.h (decl_attributes): Remove decl.
9848 * tree.h (decl_attribute): Move it to here.
9849 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
9850 (attribs.o): New rule.
9852 2001-09-22 Andreas Jaeger <aj@suse.de>
9854 * builtins.c (c_getstr): Remove unused variable.
9856 2001-09-21 Richard Henderson <rth@redhat.com>
9858 * reload1.c (reload): Use delete_insn instead of splatting
9861 2001-09-21 Richard Henderson <rth@redhat.com>
9863 * reload.c (push_secondary_reload): Don't check for "=" in output
9864 constraint after ""->ALL_REGS check.
9866 2001-09-21 Richard Henderson <rth@redhat.com>
9868 * predict.c (expected_value_to_br_prob): Use pc_set.
9870 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
9871 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
9873 2001-09-21 Richard Henderson <rth@redhat.com>
9875 * rtl.h (LCT_RETURNS_TWICE): New.
9876 * calls.c (emit_call_1): Set current_function_calls_setjmp for
9878 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
9879 to ECF_RETURNS_TWICE.
9880 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
9883 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
9885 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
9886 (JMP_BUF_SIZE): New.
9888 2001-09-21 Richard Henderson <rth@redhat.com>
9890 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
9893 2001-09-21 Richard Henderson <rth@redhat.com>
9895 * tree.def (FDESC_EXPR): New.
9896 * expr.c (expand_expr): Handle it.
9897 * varasm.c (initializer_constant_valid_p): Likewise.
9898 (output_constant): Likewise.
9899 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
9900 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
9901 (ASM_OUTPUT_FDESC): New.
9902 * doc/tm.texi: Document the new macros.
9904 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
9906 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
9907 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
9908 once merging is complete.
9910 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9912 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
9914 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
9916 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
9917 that would be invalid after a merge.
9919 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
9921 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
9922 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
9924 (flow_delete_insn): This one.
9925 (delete_insn_chain): Rename from ...; do not care labels.
9926 (flow_delete_insn_chain): ... this one.
9927 (flow_delete_block): Remove the insns one BB has been expunged.
9928 (merge_blocks_nomove): Likewise.
9929 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
9930 updating BB boundaries.
9931 (tidy_fallthru_edge): Likewise.
9932 (commit_one_edge_insertion): Likewise.
9933 * cfgbuild.c (find_basic_block): Likewise.
9934 (find_basic_blocks_1): Likewise.
9935 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
9936 (try_crossjump_to_edge): Likewise.
9937 (try_optimize_cfg): Likewise.
9938 * cse.c (delete_trivially_dead_insns): Likewise.
9939 * df.c (df_insn_delete): Likewise.
9940 * doloop.c (doloop_modify): Use delete_related_insns.
9941 * emit-rtl.c (try_split): Likewise.
9942 (remove_insn): Update BB boundaries.
9943 * expect.c (connect_post_landing_pads): Use delete_related_insns.
9944 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
9945 updating BB boundaries.
9946 (propagate_block_delete_insn): Likewise.
9947 (propagate_block_delete_libcall): Likewise.
9948 * function.c (delete_handlers): Use delete_related_insns.
9949 (thread_prologue_and_epilogue_insns): Likewise.
9950 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
9951 * genpeep.c (gen_peephole): Use delete_related_insns.
9952 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
9954 (find_cond_trap): Likewise.
9955 * integrate.c (save_for_inline): Use delete_related_insns.
9956 (copy_insn_list): Likewise.
9957 * jump.c (pruge_linie_number_notes): Likewise.
9958 (duplicate_loop_exit_test): Likewise.
9959 (delete_computation): Likewise.
9960 (delete_related_insn): Rename from ...; use delete_insn
9961 (delete_insn): ... this one.
9962 (redirect_jump): Use delete_related_insns.
9963 * loop.c (scan_loop): Likewise.
9964 (move_movables): Likewise.
9965 (find_and_verify_loops): Likewise.
9966 (check_dbra_loop): Likewise.
9967 * recog.c (peephole2_optimize): Likewise.
9968 * reg-stack.c (delete_insn_for_stacker): Remove.
9969 (move_for_stack_reg): Use delete_insn.
9970 * regmove.c (combine_stack_adjustments_for_block): Likewise.
9971 * reload1.c (delete_address_reloads): Use delete_related_insns.
9972 (fixup_abnormal_edges): Use delete_insn.
9973 * recog.c (emit_delay_sequence): Use delete_related_insns.
9974 (delete_from-delay_slot): Likewise.
9975 (delete_scheduled_jump): likewise.
9976 (optimize_skip): Likewise.
9977 (try_merge_delay_insns): Likewise.
9978 (full_simple_delay_slots): Likewise.
9979 (fill_slots_from_thread): Likewise.
9980 (relax_delay_slots): Likewise.
9981 (make_return_insns): Likewise.
9982 (dbr_schedule): Likewise.
9983 * rtl.h (delete_insn): Rename to delete_related_insns.
9984 (delete_insn, delete_insn_chain): New prototypes.
9985 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
9986 by df_insn_delete already.
9987 * ssa-dce.c (delete_insn_bb): Use delete_insn.
9988 * ssa.c (convert_from_ssa): Use delete_related_insns.
9989 * unroll.c (unroll_loop): Likewise.
9990 (calculate_giv_inc): Likewise.
9991 (copy_loop_body): Likewise.
9993 * i386-protos.h (ix86_libcall_value, ix86_function_value,
9994 ix86_function_arg_regno_p, ix86_function_arg_boundary,
9995 ix86_return_in_memory, ix86_function_value): Declare.
9996 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
9997 new static valurables.
9998 (x86_64_reg_class): New enum
9999 (x86_64_reg_class_name): New array.
10000 (classify_argument, examine_argument, construct_container,
10001 merge_classes): New static functions.
10002 (optimization_options): Enable flag_omit_frame_pointer and disable
10003 flag_pcc_struct_return on 64bit.
10004 (ix86_libcall_value, ix86_function_value,
10005 ix86_function_arg_regno_p, ix86_function_arg_boundary,
10006 ix86_return_in_memory, ix86_function_value): New global functions.
10007 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
10008 (function_arg_advance): Handle x86_64 passing conventions.
10009 (function_arg): Likewise.
10010 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
10011 (RETURN_IN_MEMORY): Move offline.
10012 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
10013 (FUNCTION_VALUE_REGNO_P): New macro.
10014 (FUNCTION_ARG_REGNO_P): Move offline.
10015 (struct ix86_args): Add maybe_vaarg.
10016 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
10017 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
10019 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
10021 * s390.md: Changed attributes for scheduling.
10022 * s390.c: (s390_adjust_cost, s390_adjust_priority)
10025 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
10027 Table-driven attributes.
10028 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
10029 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
10030 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
10031 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
10032 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
10033 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
10034 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
10035 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
10036 * tree.h (struct tree_decl): Change machine_attributes to
10038 * doc/c-tree.texi: Document that all attributes are now attached
10039 to decls and types.
10040 * c-common.c (add_attribute, attrtab, attrtab_idx,
10041 default_valid_lang_attribute, valid_lang_attribute): Remove.
10042 (attribute_tables, attributes_initialized,
10043 c_common_attribute_table, default_lang_attribute_table): New
10045 (handle_packed_attribute, handle_nocommon_attribute,
10046 handle_common_attribute, handle_noreturn_attribute,
10047 handle_unused_attribute, handle_const_attribute,
10048 handle_transparent_union_attribute, handle_constructor_attribute,
10049 handle_destructor_attribute, handle_mode_attribute,
10050 handle_section_attribute, handle_aligned_attribute,
10051 handle_weak_attribute, handle_alias_attribute,
10052 handle_no_instrument_function_attribute,
10053 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
10054 handle_no_limit_stack_attribute, handle_pure_attribute): New
10056 (init_attributes, decl_attributes): Rewrite to implement
10057 table-driven attributes.
10058 * c-common.h (enum attribute_flags): Move to tree.h.
10059 * c-format.c (decl_handle_format_attribute,
10060 decl_handle_format_arg_attribute): Rename to
10061 handle_format_attribute and handle_format_arg_attribute. Update
10062 for table-driven attributes.
10063 * c-common.h (decl_handle_format_attribute,
10064 decl_handle_format_arg_attribute): Remove prototypes.
10065 (handle_format_attribute, handle_format_arg_attribute): Add
10067 * c-decl.c (grokdeclarator): Handle attributes nested inside
10069 * c-parse.in (setattrs, maybe_setattrs): Remove.
10070 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
10071 Update to handle nested attributes properly.
10072 (maybe_resetattrs, after_type_declarator,
10073 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
10074 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
10076 (make_pointer_declarator): Update to handle nested attributes
10078 * doc/extend.texi: Update documentation of limits of attributes
10079 syntax. Warn about problems with attribute semantics in C++.
10080 * target.h (struct target): Remove valid_decl_attribute and
10081 valid_type_attribute. Add attribute_table and
10082 function_attribute_inlinable_p.
10083 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
10084 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
10085 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
10087 (TARGET_INITIALIZER): Update.
10088 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
10090 (function_attribute_inlinable_p): New function. Check for the
10091 presence of any machine attributes before using
10092 targetm.function_attribute_inlinable_p.
10093 (function_cannot_inline_p): Update.
10094 * Makefile.in (integrate.o): Update dependencies.
10095 * doc/tm.texi: Update documentation of target attributes and
10096 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
10097 * tree.c (default_valid_attribute_p, valid_machine_attribute):
10099 (default_target_attribute_table,
10100 default_function_attribute_inlinable_p): New.
10101 (lookup_attribute): Update comment to clarify handling of multiple
10102 attributes with the same name.
10103 (merge_attributes, attribute_list_contained): Allow multiple
10104 attributes with the same name but different arguments to appear in
10105 the same attribute list.
10106 * tree.h (default_valid_attribute_p): Remove prototype.
10107 (struct attribute_spec): New.
10108 (default_target_attribute_table): Declare.
10109 (enum attribute_flags): Move from c-common.h. Add
10110 ATTR_FLAG_TYPE_IN_PLACE.
10111 (default_function_attribute_inlinable_p): Declare.
10112 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
10113 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10114 (TARGET_ATTRIBUTE_TABLE): Define.
10115 (vms_attribute_table): New.
10116 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
10117 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10118 (TARGET_ATTRIBUTE_TABLE): Define.
10119 (arc_attribute_table, arc_handle_interrupt_attribute): New.
10120 * config/arm/arm.c (arm_valid_type_attribute_p,
10121 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
10123 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10125 (TARGET_ATTRIBUTE_TABLE): Define.
10126 (arm_attribute_table, arm_handle_fndecl_attribute,
10127 arm_handle_isr_attribute): New.
10128 * config/avr/avr.c (avr_valid_type_attribute,
10129 avr_valid_decl_attribute): Remove.
10130 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
10132 (TARGET_ATTRIBUTE_TABLE): Define.
10133 (avr_attribute_table, avr_handle_progmem_attribute,
10134 avr_handle_fndecl_attribute): New.
10135 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
10136 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10137 (TARGET_ATTRIBUTE_TABLE): Define.
10138 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
10139 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
10140 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10141 (TARGET_ATTRIBUTE_TABLE): Define.
10142 (h8300_attribute_table, h8300_handle_fndecl_attribute,
10143 h8300_handle_eightbit_data_attribute,
10144 h8300_handle_tiny_data_attribute): New.
10145 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
10146 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
10148 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
10150 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
10151 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
10153 (TARGET_ATTRIBUTE_TABLE): Define.
10154 (ix86_attribute_table, ix86_handle_cdecl_attribute,
10155 ix86_handle_regparm_attribute): New.
10156 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
10157 i386_pe_valid_type_attribute_p): Remove.
10158 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
10159 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
10160 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10161 (TARGET_ATTRIBUTE_TABLE): Define.
10162 (ia64_attribute_table): New.
10163 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
10164 interrupt_ident2, model_ident1, model_ident2): Remove.
10165 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10166 (TARGET_ATTRIBUTE_TABLE): Define.
10167 (init_idents): Update.
10168 (m32r_attribute_table, m32r_handle_model_attribute): New.
10169 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
10171 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10172 (TARGET_ATTRIBUTE_TABLE): Define.
10173 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
10174 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
10175 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10176 (TARGET_ATTRIBUTE_TABLE): Define.
10177 (mcore_attribute_table, mcore_handle_naked_attribute): New.
10178 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
10179 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10180 (TARGET_ATTRIBUTE_TABLE): Define.
10181 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
10182 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
10183 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
10184 (TARGET_ATTRIBUTE_TABLE): Define.
10185 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
10186 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
10187 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10188 (TARGET_ATTRIBUTE_TABLE): Define.
10189 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
10190 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
10192 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
10194 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
10195 (TARGET_ATTRIBUTE_TABLE): Define.
10196 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
10198 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
10199 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
10200 (TARGET_ATTRIBUTE_TABLE): Define.
10201 (v850_attribute_table, v850_handle_interrupt_attribute,
10202 v850_handle_data_area_attribute): New.
10203 * config/v850/v850-c.c (mark_current_function_as_interrupt):
10204 Return void. Call decl_attributes instead of
10205 valid_machine_attribute.
10207 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
10209 * sh-protos.h (sh_pr_n_sets): Declare.
10210 * sh.c (calc_live_regs): If the initial value for PR has been copied,
10211 look at the copy to determine if PR needs to be saved.
10212 sh_pr_n_sets: New function.
10213 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
10214 (ALLOCATE_INITIAL_VALUE): Define.
10216 * sh.c (initial_elimination_offset):
10217 Fix RETURN_ADDRESS_POINTER_REGNUM case.
10219 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
10221 * integrate.c (allocate_initial_values): New function.
10222 * integrate.h (allocate_initial_values): Declare.
10223 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
10225 * reload1.c (reload): And initialization of reg_equiv_memory_loc
10227 * toplev.c (rest_of_compilation): To here.
10228 Call allocate_initial_values.
10229 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
10231 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10233 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
10235 2001-09-20 DJ Delorie <dj@redhat.com>
10237 * c-typeck.c (really_start_incremental_init): Discriminate
10238 between zero-length arrays and flexible arrays.
10239 (push_init_level): Detect zero-length arrays and handle them
10240 like fixed-sized arrays.
10241 * expr.c (store_constructor): Handle zero-length arrays and
10242 flexible arrays correctly.
10243 * doc/extend.texi: Update zero-length array notes.
10245 2001-09-20 Jim Wilson <wilson@redhat.com>
10247 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
10248 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
10249 for issue port conflicts.
10250 (cycle_end_fill_slots): TYPE_L instructions take two slots.
10252 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
10254 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
10257 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10259 * fold-const.c (hashtab.h): Include.
10260 (int_const_binop): Remove FORSIZE arg and compute from type; all
10262 Call size_int_type_wide for all single-word constants.
10263 (size_htab_hash, size_htab_eq): New functions.
10264 (size_int_type_wide): Rework to use hash table.
10265 * ggc-common.c (hashtab.h): Include.
10266 (struct d_htab_root): New struct.
10267 (d_htab_roots): New variable.
10268 (ggc_add_deletable_htab, ggc_htab_delete): New functions
10269 (ggc_mark_roots): Handle deletable htabs.
10270 * ggc-page.c (ggc_marked_p): New function.
10271 * ggc-simple.c (ggc_marked_p): Likewise.
10272 * ggc.h: Reformatting throughout.
10273 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
10274 * tree.c (init_obstacks): Make type_hash_table a deletable root.
10275 (type_hash_add): Allocate struct type_hash from GC memory.
10276 (mark_hash_entry, mark_type_hash): Deleted.
10277 (type_hash_marked_p, type_hash_mark): New functions.
10278 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
10280 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
10282 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
10285 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10287 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
10288 array-too-large test for signed sizetype.
10290 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
10292 * i386.md (indirect_jump): Allow Pmode operand.
10293 (tablejump): LIkewise; perform expansion to 64bit mode.
10294 * i386.c (symbolic_operand): Allow 64bit PIC references.
10295 (pic_symbolic_operand): Likewise.
10296 (ix86_find_base_term): Strip the 64bit PIC references.
10297 (legitimate_pic_address_disp_p): Handle 64bit PIC.
10298 (legitimize_pic_address): Likewise.
10299 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
10300 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
10302 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
10304 * stringpool.c (get_identifier_with_length): New function.
10305 * tree.h (get_identifier_with_length): New prototype.
10307 2001-09-19 Alan Modra <amodra@bigpond.net.au>
10308 David Edelsohn <edelsohn@gnu.org>
10311 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
10312 already sign-extended.
10314 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
10315 * config/rs6000/rs6000.c (logical_operand): Always compare op as
10317 (rs6000_emit_set_long_const): Avoid unnecessary shift.
10318 (output_profile_hook): Declare label_name const.
10319 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
10320 to match constraints.
10322 2001-09-19 Stan Shebs <shebs@apple.com>
10324 * alias.c: Fix typos in comments.
10325 * sched-rgn.c (init_ready_list): Ditto.
10326 * unwind-dw2.c (uw_frame_state_for): Ditto.
10327 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
10328 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
10329 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
10331 2001-09-19 Richard Henderson <rth@redhat.com>
10333 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
10335 * Makefile.in (cfg.o): Depend on TM_P_H.
10337 2001-09-19 Richard Henderson <rth@redhat.com>
10339 * config/alpha/alpha.c (local_symbol_p): Split out from ...
10340 (local_symbolic_operand): ... here.
10341 (small_symbolic_operand): Check mode.
10342 (global_symbolic_operand): New.
10343 (input_operand): Reject symbolics if explicit relocs.
10344 (call_operand): Tidy.
10345 (alpha_legitimize_address): Use movdi_er_high_g.
10346 (alpha_expand_mov): Likewise.
10347 * config/alpha/alpha-protos.h: Update.
10348 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10349 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
10350 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
10351 (UNSPECV_LDGP2): Remove.
10352 (all call patterns): Use 's' not 'i' for symbolic constraint.
10353 (call_osf call_value_osf): Use call_operand.
10354 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
10355 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
10356 (prologue_ldgp_1_er): Remove.
10357 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
10358 (builtin_setjmp_receiver_er patterns): Use them.
10359 (exception_receiver_er): Likewise.
10361 2001-09-19 Richard Henderson <rth@redhat.com>
10363 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
10365 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
10366 and NON_LOCAL_GOTO notes.
10367 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
10368 copy over CALL_INSN_FUNCTION_USAGE.
10370 2001-09-18 Catherine Moore <clm@redhat.com>
10372 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
10375 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
10377 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
10378 new-style tm_file specification. Specify correct tm_p_file,
10379 md_file, and out_file for s390x.
10381 * config/s390/linux.h, linux64.h: Don't include other target
10382 macro header files. Now handled via tm_file.
10384 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
10385 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
10386 are defined before use.
10388 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
10390 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
10391 code generation only for Gnu assembler.
10393 2001-09-18 Catherine Moore <clm@redhat.com>
10395 * config/stormy16 (LIB_SPEC): Remove -lnosys.
10397 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
10399 * config/mips/mips.c (mips_frame_set): New.
10400 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
10401 a parallel frame-related expression with a set for each register.
10403 2001-09-18 Philip Blundell <philb@gnu.org>
10405 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
10408 2001-09-17 Dale Johannesen <dalej@apple.com>
10410 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
10411 * config/rs6000/aix.h (FIXED_R2): Define.
10412 * config/rs6000/darwin.h (FIXED_R2): Define.
10413 * config/rs6000/sysv4.h (FIXED_R2): Define.
10415 2001-09-17 Jeff Sturm <jsturm@one-point.com>
10417 * except.c (dw2_build_landing_pads): New local
10418 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
10419 barrier after clobbers. Fixes c++/4012.
10421 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10423 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
10425 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
10427 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
10428 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
10430 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10432 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
10435 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
10437 * cpphash.h (_cpp_lex_direct): New.
10438 * cpplex.c (_cpp_lex_token): Update.
10439 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
10440 and increment that pointer.
10441 * cppmacro.c (alloc_expansion_token): New.
10442 (lex_expansion_token): Lex macro expansion directly into
10445 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
10447 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
10449 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
10451 * basic-block.h (free_bb_for_insn): Declare.
10452 * bb-reorder.c (label_for_bb): Use block_label.
10453 (emit_jump_to_block_after): Remove.
10454 (insert_intra_1): Do not update block_for_insn.
10455 (insert_inter_bb_scope_notes): Likewise; update bb->end
10456 * cfg.c (free_bb_for_insn): New.
10457 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
10458 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
10459 (commit_one_edge_insertion): Likewise.
10460 (commit_one_edge_insertion): Do not update BB boundary.
10461 (commit_edge_insertions): Do not call compute_bb_for_insn.
10462 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
10463 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
10464 (merge_blocks_move_successor_nojumps): Likewise.
10465 (try_crossjump_to_edge): Do not update block_for_insn.
10466 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
10467 * df.c (df_pattern_emit_later): Do not update BB boundary.
10468 (df_jump_pattern_emit_after): Likewise.
10469 (df_insn_move_before): Use emit_insn_before.
10470 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
10472 (add_insn_after, add_insn_before, emit_insns_after): Update BB
10473 boundaries and basic_block_for_insn.
10474 (reorder_insns_nobb): Rename from reorder_insns.
10475 (reorder_insns): New.
10476 (emit_block_insn_before, emit_block_insn_after): Kill.
10477 * flow.c (check_function_return_warnings): Do not call
10478 compute_bb_for_insn; Do not free basic_block_for_insn.
10479 (attempt_auto_inc): Do not update basic_block_for_insn.
10480 * function.c (emit_return_into_block): Likewise;
10481 do not update BB boundaries.
10482 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
10483 (insert_insn_end_bb): Use emit_insn_before; Likewise.
10484 (pre_insert_copy_insn): Likewise.
10485 (update_ld_motion_notes): Likewise.
10486 (insert_insn_start_bb): Likewise.
10487 (replace_store_insn): Likewise.
10488 * ifcvt.c (noce_process_if_block): Likewise.
10489 (if_convert): Do not call compute_bb_for_insn.
10490 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
10491 Use emit_insn_before and emit_insn_after.
10492 * recog.c (split_all_insns): Do not update BB boundaries;
10493 Do not call compute_bb_for_insn.
10494 (peephole2_optimize): Do not update BB boundaries.
10495 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
10497 (emit_swap_insn): Likewise.
10498 (convert_regs_1): Likewise.
10499 * reload1.c (reload): Call compute_bb_for_insn.
10500 * rtl.h (reorder_insns_nobb): Declare.
10501 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
10502 * toplev.c (rest_of_compilation): Call free_bb_for_insn
10503 at places CFG is invalidated; do not call compute_bb_for_insn.
10505 * cfg.c (expunge_block): Invalidate BB structure.
10507 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
10510 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
10512 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10514 * cpphash.h (_cpp_lex_token): Update prototype.
10515 * cpplex.c (_cpp_lex_token): New prototype.
10516 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
10517 lex_macro_node, read_flag, do_pragma_poison): Update.
10518 * cppmacro.c (cpp_get_token, parse_params,
10519 lex_expansion_token): Update.
10521 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
10523 * cppmain.c (scan_translation_unit): Don't worry about
10524 putting a space after hashes.
10525 * cpplib.c (directive_diagnostics): New.
10526 (_cpp_handle_directive): Update to use directive_diagnostics.
10527 (run_directive): Don't toggle prevent_expansion.
10528 (do_line): Backup in case of the line extension.
10529 * cpplib.h (cpp_lexer_pos): Remove.
10530 * cppmacro.c (_cpp_create_definition): Precede a leading #
10533 2001-09-15 Richard Henderson <rth@redhat.com>
10535 * c-typeck.c (comptypes): Handle zero-length arrays properly.
10537 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10539 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
10541 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10543 PR preprocessor/3571
10544 * tradcpp.c (handle_directive): Skip non-vertical space.
10546 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10548 * cppmain.c (setup_callbacks): Set line callback only
10549 if outputting preprocessed source.
10551 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10553 * collect2.c (main): Const-ification.
10554 * gcc.c (translate_options, process_command): Use xstrdup in
10555 lieu of xmalloc/strcpy.
10556 (main): Use concat in lieu of xmalloc/strcpy/strcat.
10558 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10560 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
10563 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10565 * scan-decls.c (scan_decls): Fix typo.
10567 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
10569 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
10570 Split mlstring_pos into mls_line and mls_col.
10571 * cppinit.c (cpp_create_reader): Initialize line to 1.
10572 (cpp_destroy): Free tokenruns.
10573 (push_include): Don't update lexer_pos.
10574 * cpplex.c (unterminated, parse_string): Update.
10575 (lex_token): Don't update lexer_pos, update.
10576 * cpplib.c (if_stack): Save line instead of line + col.
10577 (start_directive, _cpp_do__Pragma, do_else, do_elif,
10578 push_conditional, _cpp_pop_buffer): Update.
10579 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
10580 (_cpp_create_definition): Update.
10582 2001-09-15 Eric Christopher <echristo@redhat.com>
10584 * config/mips/abi64.h: Add support for MEABI.
10586 2001-09-15 Eric Christopher <echristo@redhat.com>
10588 * config/mips/mips.md: Add unspec #2.
10589 (reload_indi): Use.
10590 (reload_outdi): Ditto.
10591 (reload_outsi): Ditto.
10594 2001-09-15 Eric Christopher <echristo@redhat.com>
10595 Jason Eckhardt <jle@redhat.com>
10597 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
10598 * config/mips/isa32-linux.h: New file.
10599 * config/mips/isa3264.h: Ditto.
10600 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
10601 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
10602 (output_block_mode): Support MEABI.
10603 (function_arg): Ditto. Fix floating point arg passing.
10604 (mips_va_start): Ditto.
10605 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
10607 (mips_asm_file_start): Add new section to pass abi to gdb.
10608 (function_arg_pass_by_reference): Support MEABI.
10609 (mips_parse_cpu): Support mips32 and mips64 processors.
10610 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
10611 TARGET_MIPS5KC. Support isa32 and isa64.
10612 (processor_type): Add r4kc, r5kc, r20kc.
10613 (GENERATE_MULT3_SI): New.
10614 (GENERATE_MULT3_DI): Ditto.
10615 (GENERATE_MULT3): Remove.
10616 (ISA_HAS_64BIT_REGS): Add isa == 64.
10617 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
10618 (ISA_HAS_MADD_MSUB): New.
10619 (ISA_HAS_CLZ_CLO): Ditto.
10620 (ISA_HAS_DCLZ_DCLO): Ditto.
10621 (ABI_GAS_ASM_SPEC): New.
10622 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
10624 (LINK_SPEC): Ditto.
10625 (SUBTARGET_CC1_SPEC): Ditto.
10626 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
10627 (PAD_VARARGS_DOWN): Support MEABI.
10628 (HARD_REGNO_NREGS): Move to mips.c.
10629 (ASM_OUTPUT_IDENT): Add #undef.
10630 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
10631 (mulsi3): Use GENERATE_MULT3_SI.
10632 (mulsi3_mult3): Ditto. Support mips32, mips64.
10633 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
10634 (mul_sub_si): New pattern.
10635 (unnamed splitters): New.
10636 (muldi3): Use GENERATE_MULT3_DI.
10637 (muldi3_internal2): Ditto.
10638 (movdicc): Support mips32.
10639 * config/mips/t-isa3264: New file.
10641 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
10643 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
10644 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
10645 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
10647 * reorg.c (fill_slots_from_thread): After call to
10648 steal_delay_list_from_target, update own_thread as new_thread may
10651 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
10653 * cpperror.c (print_location): Take line and column, for
10654 default positioning use the previously lexed token.
10655 (_cpp_begin_message): Take line and column.
10656 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
10657 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
10658 * cpphash.h (_cpp_begin_message): Update prototype.
10659 * cppinit.c (push_include): Don't set output line.
10660 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
10661 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
10662 (do_pragma): Kludge for front ends. Don't expand macros at all.
10663 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
10664 (struct cpp_token): Remove output_line.
10665 (struct cpp_callbacks): New member line_change.
10666 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
10667 cpp_get_token): Preserve BOL flag.
10668 (cpp_get_line): Remove.
10669 (_cpp_backup_tokens): Remove useless abort().
10670 * cppmain.c (cb_line_change): New.
10671 (scan_translation_unit): Don't worry about starting new lines here.
10672 * scan-decls.c (scan_decls): Update.
10673 * c-lex.c (c_lex, init_c_lex): Update.
10674 (cb_line_change, src_lineno): New.
10676 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
10678 * tree.c (append_random_chars): Generate the random
10679 characters in a reproducable fashion.
10681 2001-09-14 Richard Henderson <rth@redhat.com>
10683 * config/i386/i386.c (internal_label_prefix): New.
10684 (internal_label_prefix_len): New.
10685 (override_options): Set them.
10686 (local_symbolic_operand): New.
10687 (legitimate_pic_address_disp_p): Use it.
10688 (legitimize_pic_address): Likewise.
10690 2001-09-14 Marc Espie <espie@openbsd.org>
10692 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
10695 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10697 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
10698 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
10700 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10702 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
10703 invocation of SUBREG_REGNO_OFFSET.
10705 * haifa-sched.c: Fix typo in FSF copyright statement.
10706 * sched-deps.c: Fix typo in FSF copyright statement.
10707 * sched-ebb.c: Fix typo in FSF copyright statement.
10708 * sched-rgn.c: Fix typo in FSF copyright statement.
10709 * sched-vis.c: Fix typo in FSF copyright statement.
10711 * config.gcc: Move inclusion of arm elf specific header files
10712 from the files themselves into the tm_file variable. Make
10713 sure that elfos.h is included before target specific elf
10715 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
10717 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
10718 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
10719 ASM_OUTPUT_CASE_LABEL): Protect definition.
10720 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
10721 not already defined.
10722 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
10723 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
10724 Remove duplicate definition.
10725 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
10726 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
10727 (RDATA_SECTION_FUNCTION): Remove redundant definition.
10728 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
10729 Remove inclusion of arm/elf.h.
10730 * config/arm/unknown-elf.h: as for conix-elf.h.
10731 (STARTFILE_SPEC): Include crti.o and crtn.o.
10732 * config/arm/linux-elf.h: as for conix-elf.h.
10733 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
10734 * config/arm/strongarm-elf.h: Remove inclusion of
10736 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
10737 * config/arm/unknown-elf-oabi.h: Remove inclusion of
10738 unknown-elf.h and elf.h.
10739 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
10740 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
10741 ASM_WEAKEN_LABEL): Remove redundant definition.
10742 * config/arm/elf.h: Test for inclusion of elfos.h
10743 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
10744 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
10745 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
10746 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
10747 redundant definition.
10748 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
10749 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
10750 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
10751 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
10752 Add rules to build crti.o and crtn.o
10753 * crti.asm: New file.
10754 * crtn.asm: New file.
10756 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
10758 * c-parse.in (_yylex): Use _cpp_backup_tokens.
10759 * cpphash.h (struct tokenrun): Add prev.
10760 (struct lexer_state): Remove bol.
10761 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
10762 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
10764 * cppinit.c (cpp_create_reader): Don't set bol.
10765 (cpp_destroy): Don't free lookaheads.
10766 * cpplex.c (lex_directive): Remove.
10767 (next_tokenrun): Update.
10768 (_cpp_lex_token): Clean up logic.
10769 (lex_token): Update to return a pointer to lexed token, since it
10770 can move to the start of the buffer. Simpify newline handling.
10771 * cpplib.c (SEEN_EOL): Update.
10772 (skip_rest_of_line): Remove lookahead stuff.
10773 (end_directive): Line numbers are already incremented. Revert
10774 to start of lexed token buffer if we can.
10775 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
10776 parse_answer): Use _cpp_backup_tokens.
10777 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
10778 instead. Don't check for EOL.
10779 (do_include_common, do_line, do_pragma_system_header): Use
10781 * cpplib.h (BOL, _cpp_backup_tokens): New.
10782 * cppmacro.c (save_lookahead_token, take_lookahead_token,
10783 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
10784 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
10785 (builtin_macro): Don't use cpp_get_line.
10786 (cpp_get_line): Short term kludge.
10787 (parse_arg): Handle directives in arguments here. Back up when
10788 appropriate. Store EOF at end of argument list.
10789 (funlike_invocation_p): Use _cpp_backup_tokens.
10790 (push_arg_context): Account for EOF at end of list.
10791 (cpp_get_token): Remove lookahead stuff. Update.
10793 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10795 * c-parse.in (yyerror): Const-ification and/or static-ization.
10796 * c-typeck.c (push_member_name): Likewise.
10797 * collect2.c (main): Likewise.
10798 * dbxout.c (dbxout_parms): Likewise.
10799 * diagnostic.c (format_with_decl): Likewise.
10800 * dwarf2out.c (output_ranges): Likewise.
10801 * dwarfout.c (fundamental_type_code): Likewise.
10802 * except.c (dw2_output_call_site_table): Likewise.
10803 * gcc.c (do_spec_1): Likewise.
10804 * genopinit.c (optabs): Likewise.
10805 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
10806 gen_declaration_1, handle_impent): Likewise.
10807 * protoize.c (default_include, in_system_include_dir, abspath):
10809 * sched-vis.c (visualize_stall_cycles): Likewise.
10810 * sdbout.c (plain_type_1, sdbout_end_function,
10811 sdbout_end_epilogue): Likewise.
10812 * varasm.c (decode_reg_name): Likewise.
10814 * 1750a.c (mod_regno_adjust): Likewise.
10815 * alpha.c (alpha_write_one_linkage,
10816 unicosmk_output_default_externs): Likewise.
10817 * arm.c (arm_condition_codes): Likewise.
10818 * arm.h (arm_condition_codes): Likewise.
10819 * avr.c (output_movsisf, encode_section_info): Likewise.
10820 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
10822 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
10823 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
10824 * m88k.c (output_function_profiler): Likewise.
10825 * mips.c (mips_output_conditional_branch): Likewise.
10826 * ns32k.c (ns32k_out_reg_names): Likewise.
10827 * ns32k.h (ns32k_out_reg_names): Likewise.
10828 * pj.c (pj_output_rval): Likewise.
10829 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
10830 * sparc.c (sparc_flat_function_prologue,
10831 sparc_flat_function_epilogue): Likewise.
10833 2001-09-13 Markus Werle <numerical.simulation@web.de>
10834 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10836 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
10837 Aachen University of Technology".
10839 2001-09-13 Andreas Schwab <schwab@suse.de>
10841 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
10844 2001-09-13 Richard Henderson <rth@redhat.com>
10846 * config/alpha/alpha.c (small_symbolic_operand): New.
10847 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
10848 (some_operand, input_operand): Don't handle HIGH.
10849 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
10850 (alpha_expand_mov): Likewise.
10851 (print_operand) [H]: Just print HIGH symbol.
10852 (print_operand_address): Handle small data.
10853 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
10854 (TARGET_SWITCHES): Add -msmall-data/large-data.
10855 (PIC_OFFSET_TABLE_REGNUM): New.
10856 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
10857 (PREDICATE_COES): Update.
10858 * config/alpha/alpha.md (adddi_er_high): New.
10859 (adddi_er_low): Handle small data.
10860 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
10861 prefer .sdata to .rodata.
10862 (SELECT_RTX_SECTION): Likewise.
10864 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
10866 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
10867 defining __size_t and leaving size_t undefined.
10869 2001-09-12 Diego Novillo <dnovillo@redhat.com>
10871 * basic-block.h (expunge_block): Declare.
10872 * cfg.c (expunge_block): Remove static declaration.
10874 2001-09-12 Richard Henderson <rth@redhat.com>
10876 * integrate.c (copy_insn_list): Copy label name from
10877 NOTE_INSN_DELETED_LABEL.
10879 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10881 * c-common.c (c_tree_code_name): Const-ification.
10882 * c-decl.c (c_decode_option): Likewise.
10883 * c-typeck.c (warn_for_assignment): Likewise.
10884 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
10886 * cppinit.c (output_deps): Likewise.
10887 * dependence.c (dependence_string, direction_string): Likewise.
10888 * dwarf2out.c (output_ranges): Likewise.
10889 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
10890 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
10891 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
10892 standard_startfile_prefix, standard_startfile_prefix_1,
10893 standard_startfile_prefix_2, tooldir_base_prefix,
10894 standard_bindir_prefix, find_a_file): Likewise.
10895 * genattrtab.c (make_length_attrs): Likewise.
10896 * gencheck.c (tree_codes): Likewise.
10897 * genemit.c (gen_split): Likewise.
10898 * genrecog.c (special_mode_pred_table): Likewise.
10899 * graph.c (graph_ext): Likewise.
10900 * protoize (default_include): Likewise.
10901 * reload.c (reload_when_needed_name): Likewise.
10902 * sched-vis.c (visualize_stall_cycles): Likewise.
10903 * tlink.c (recompile_files): Likewise.
10904 * toplev.c (decode_g_option): Likewise.
10905 * tradcpp.c (output_deps): Likewise.
10906 * varasm.c (decode_reg_name): Likewise.
10908 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
10910 * arm.md: Likewise.
10911 * avr.c (avr_regnames, encode_section_info): Likewise.
10912 * c4x.c (float_reg_names): Likewise.
10913 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
10914 * elfos.h (const_section): Likewise.
10915 * i386.c (ix86_comp_type_attributes): Likewise.
10916 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
10917 * ia64/aix.h (UNIQUE_SECTION): Likewise.
10918 * ia64.c (type_names): Likewise.
10919 * m68hc11.c (reg_class_names): Likewise.
10920 * m88k.c (m_options): Likewise.
10921 * mips.c (mips_output_conditional_branch, mips_unique_section):
10923 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
10924 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
10925 ultra_code_names): Likewise.
10926 * sparc.h (OVERRIDE_OPTIONS): Likewise.
10928 2001-09-12 Jakub Jelinek <jakub@redhat.com>
10930 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
10931 Use --fatal-warnings option for gas.
10932 * configure: Rebuilt.
10934 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10936 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
10938 2001-09-11 Jim Wilson <wilson@redhat.com>
10940 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
10942 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10944 * builtins.c (c_strlen): Treat an offset too large for a
10945 HOST_WIDE_INT as out of range.
10947 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
10949 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
10950 (EDGE_CRITICAL_P): New predicate.
10951 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
10953 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
10954 (dump_edge_info): Remove "crit".
10955 * cfganal.c (mark_critical_edges): Kill.
10956 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
10957 * cfgcleanup.c (cleanup_cfg): Likewise.
10958 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
10959 (find_spanning_tree): Likewise.
10960 * reg-stack.c (convert_regs_1): Likewise.
10961 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
10963 * basic-block.h (create_basic_block_structure): New.
10964 (create_basic_block): Update prototype.
10965 (force_nonfallthru): New.
10966 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
10967 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
10968 handle updating of block_for_insn, creating of empty BBs and BBs at
10969 the end of INSN chain.
10970 (create_basic_block): New function.
10971 (split_block): Use create_basic_block.
10972 (force_nonfallthru_and_redirect): Break out from ...; cleanup
10973 (redirect_edge_and_branch_force): ... here.
10974 (force_nonfallthru): New.
10975 (split_edge): Rewrite to use force_nonfallthru and create_block.
10976 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
10977 (find_basic_blocks): Free basic_block_for_insn.
10978 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
10980 * cfg.c: Fix formating.
10981 * cfgcleanup.c: Fix formating.
10982 (merge_blocks, tail_recursion_label_p): Return bool.
10983 (merge_blocks_move_predecessor_nojumps,
10984 merge_blocks_move_successor_nojumps): Return void.
10986 2001-09-11 Jakub Jelinek <jakub@redhat.com>
10988 * configure.in: Check whether assembler supports section merging.
10989 * config.in: Rebuilt.
10990 * configure: Rebuilt.
10991 * varasm.c (variable_section, output_constant_pool): Pass alignment
10992 to SELECT_SECTION and SELECT_RTX_SECTION.
10993 (mergeable_string_section): New.
10994 (mergeable_constant_section): New.
10995 (default_elf_asm_named_section): Output SECTION_MERGE and
10996 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
10997 * output.h (mergeable_string_section): New.
10998 (mergeable_constant_section): New.
10999 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
11000 * toplev.c (flag_merge_constants): New.
11001 (f_options): Add -fmerge-constants and -fmerge-all-constants
11003 (toplev_main): Default to -fno-merge-constants if not optimizing.
11004 * flags.h (flag_merge_constants): Add extern.
11005 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
11006 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
11008 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
11009 Define if assembler has working .subsection -1 support.
11010 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
11011 Put constant into special SHF_MERGE sections if the linker should
11012 attempt to merge duplicates.
11013 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
11015 Put constant into special SHF_MERGE sections if the linker should
11016 attempt to merge duplicates.
11017 * config/alpha/elf.h: Likewise.
11018 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
11019 has working .subsection -1 support.
11020 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
11022 * config/svr3.h: Likewise.
11023 * config/darwin.h: Likewise.
11024 * config/arm/aof.h: Likewise.
11025 * config/arm/linux-elf.h: Likewise.
11026 * config/avr/avr.h: Likewise.
11027 * config/c4x/c4x.h: Likewise.
11028 * config/d30v/d30v.h: Likewise.
11029 * config/i386/dgux.h: Likewise.
11030 * config/i386/osfrose.h: Likewise.
11031 * config/i386/sco5.h: Likewise.
11032 * config/i386/svr3gas.h: Likewise.
11033 * config/ia64/aix.h: Likewise.
11034 * config/m32r/m32r.h: Likewise.
11035 * config/m68k/m68k.h: Likewise.
11036 * config/m88k/dgux.h: Likewise.
11037 * config/m88k/m88k.h: Likewise.
11038 * config/mcore/mcore-pe.h: Likewise.
11039 * config/mips/mips.h: Likewise.
11040 * config/pa/pa.h: Likewise.
11041 * config/pa/pa-linux.h: Likewise.
11042 * config/romp/romp.h: Likewise.
11043 * config/rs6000/sysv4.h: Likewise.
11044 * config/rs6000/xcoff.h: Likewise.
11045 * config/s390/linux.h: Likewise.
11046 * config/sparc/sparc.h: Likewise.
11047 * config/sparc/sysv4.h: Likewise.
11048 * config/stormy16/stormy16.h: Likewise.
11049 * config/v850/v850.h: Likewise.
11050 * config/vax/vms.h: Likewise.
11051 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
11052 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
11053 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
11054 default_elf_asm_named_section for SHF_MERGE sections.
11056 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11058 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
11061 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
11063 * c-common.c (split_specs_attrs): Allow for empty attributes with
11064 empty TREE_PURPOSE. Fixes PR c/4294.
11066 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
11068 * basic-block.h (cached_make_edge, make_single_succ): New.
11069 (make_edge): Remove first parameter.
11070 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
11071 * cfg.c (cached_make_edge): Rename from make_edge; return newly
11072 created edge; use obstack allocation.
11073 (make_edge, make_single_succ_edge): New.
11074 (first_removed_edge): New static variable.
11075 (init_flow): Initialize first_removed_edge and n_edges.
11076 (clear_edges): Use remove_edge.
11077 (flow_delete_block): Likewise.
11078 (remove_edge): Add removed edges to the removed edges list.
11079 (split_block, redirect_edge_and_branch_force, split_edge):
11081 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
11082 (add_noreturn_fake_exit_edges): Likewise.
11083 (connect_infinite_loops_to_exit): Liekwise.
11084 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
11085 Use cached_make_edge.
11086 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
11087 * profile.c (branch_prob): Update make_edge call.
11088 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
11090 2001-09-11 Richard Henderson <rth@redhat.com>
11092 * config/alpha/alpha.c: Tidy formatting.
11093 (local_symbolic_operand): Verify mode.
11094 (alpha_sa_mask): Ignore unicos for eh_return.
11095 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
11096 * config/alpha/alpha.md (umk divsi patterns): Remove.
11097 (extendsfdf2): Remove unicos check.
11098 (tablejump): Merge vms and unicos code; always use direct set
11099 plus label_ref use.
11101 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11103 * config.gcc (alpha*-*-unicosmk*): New target.
11105 * config/alpha/alpha-protos.h (symbolic_operand,
11106 unicosmk_add_call_info_word, unicosmk_add_extern,
11107 unicosmk_defer_case_vector, unicosmk_unique_section,
11108 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
11109 unicosmk_asm_file_start, unicosmk_asm_file_end,
11110 unicosmk_output_common): Declare.
11112 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
11113 direct_return, function_arg, alpha_va_start, alpha_va_arg,
11114 alpha_does_function_need_gp, alpha_end_function): Support Cray
11116 (alpha_init_machine_status, alpha_mark_machine_status,
11117 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
11118 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
11119 unicosmk_asm_named_section, unicosmk_insert_attributes,
11120 unicosmk_section_type_flags, symbolic_operand,
11121 unicosmk_output_module_name, unicosmk_output_default_externs,
11122 unicosmk_output_dex, unicosmk_output_externs,
11123 unicosmk_output_addr_vec, unicosmk_ssib_name,
11124 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
11125 unicosmk_asm_file_end, unicosmk_output_common,
11126 unicosmk_section_type_flags, unicosmk_unique_section,
11127 unicosmk_add_call_info_word, unicosmk_text_section,
11128 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
11129 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
11130 unicosmk_dex_count, unicosmk_special_name): New.
11131 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
11132 TARGET_ABI_UNICOSMK.
11133 (get_aligned_mem, alpha_expand_unaligned_load,
11134 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
11135 alpha_expand_unaligned_store_words): Support big-endian mode.
11136 (print_operand): Likewise. New format specifier 't'. Use
11137 TARGET_AS_SLASH_BEFORE_SUFFIX.
11138 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
11139 (alpha_pv_save_size): Update with above change.
11140 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
11141 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
11144 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
11145 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
11146 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
11147 (EXTRA_CONSTRAINT): New constraint 'U'.
11148 (PREDICATE_CODES): Add symbolic_operand.
11150 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
11151 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
11152 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
11153 (integer division and modulus patterns): Split in default and
11154 Unicos/Mk versions.
11155 (*divmodsi_internal, *divmoddi_internal): Disable for
11156 TARGET_ABI_UNICOSMK.
11157 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
11158 little-endian and big-endian versions.
11159 (ext, ins, msk): Likewise.
11160 (extv, extzv, insv): Support big-endian mode.
11161 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
11162 (call_umk, call_value_umk, *call_umk, tablejump_umk,
11163 *tablejump_umk_internal, *call_value_umk): New.
11164 (*movdi_nofix): Add pattern for loading an address into a register on
11165 TARGET_ABI_UNICOSMK.
11166 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
11167 (umk_mismatch_args, arg_home_umk): New.
11168 (various insns): Don't use mov, fmov, nop, fnop and unop.
11169 (realign): Support TARGET_ABI_UNICOSMK.
11171 * config/alpha/unicosmk.h: New file.
11172 * config/alpha/t-unicosmk: New file.
11174 * fixinc/inclhack.def (unicosmk_restrict): New.
11175 * fixinc/fixincl.x: Regenerate.
11177 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
11178 (wchar_t): Check for and define __WCHAR_T__.
11180 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
11182 * combine.c (simplify_shift_const): Treat shifts by the mode
11185 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
11187 * cpphash.h (struct tokenrun): New.
11188 (struct cpp_context): New member bol.
11189 (struct cpp_reader): New members.
11190 (_cpp_init_tokenrun): New.
11191 * cppinit.c (cpp_create_reader): Set up the token runs.
11192 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
11193 (lex_token): New internalised version of _cpp_lex_token. Don't
11194 handle directives or the multiple include optimization here any
11195 more. Simply lex a token.
11196 * cpplib.c (run_directive): Clear bol.
11197 (_cpp_pop_buffer): Set bol.
11198 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
11201 2001-09-11 Michael Meissner <meissner@redhat.com>
11203 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
11204 give an error if the user uses -mfp32.
11205 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
11207 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
11208 floating point register size.
11209 (EXTRA_SPECS): Add CPP_FPR_SPEC.
11211 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
11212 HOST_WIDE_INT_PRINT_DEC to properly print the result of
11214 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11215 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
11217 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
11219 * dbxout.c (dbxout_parms): Fix typo in comment.
11220 * unroll.c (loop_find_equiv_value): Ditto.
11221 * toplev.c (rest_of_compilation): Ditto.
11222 * loop.c (scan_loop): Ditto.
11223 * dwarf2out.c (struct dw_fde_struct): Ditto.
11225 2001-09-10 Zack Weinberg <zackw@panix.com>
11227 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
11228 copying identifier when we're just going to throw it away.
11229 (parse_identifier_slow): New routine to handle abnormal cases.
11230 (_cpp_lex_token): Update call site.
11232 * hashtable.c (ht_lookup): Don't assume that the string we've
11233 been given is NUL-terminated.
11234 * system.h: #define __builtin_expect(a, b) to (a) if not
11237 2001-09-10 Michael Meissner <meissner@redhat.com>
11239 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
11242 2001-09-10 David Edelsohn <edelsohn@gnu.org>
11244 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
11246 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11248 * builtins.c (c_getstr): Correct thinko in last change and further
11251 2001-09-10 Tim Freeman <tim@fungibole.com>
11253 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
11254 into varray's and register them as roots with the garbage
11255 collector so they are not collected too soon.
11257 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
11259 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
11261 * basic-block.h (flow_obstack, label_value_list,
11262 tail_recursion_label_list): Declare
11263 (tidy_fallthru_edges): Declare.
11264 (expunge_block, last_loop_beg_note): Delete.
11265 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
11267 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
11268 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
11269 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
11270 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
11271 expunge_block, flow_delete_block, compute_bb_for_insn,
11272 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
11273 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
11274 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
11275 try_redirect_by_replacing_jump, last_loop_beg_note,
11276 redirect_edge_and_branch, redirect_edge_and_branch_force,
11277 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
11278 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
11279 commit_edge_insertions, dump_flow_info, debug_flow_info,
11280 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
11281 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
11282 Move here from flow.c
11283 * cfganal.c: New file.
11284 (forwarder_block_p, can_fallthru, mark_critical_edges,
11285 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
11286 find_unreachable_blocks, create_edge_list, free_edge_list,
11287 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
11288 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
11289 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
11290 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
11291 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
11292 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
11293 Move here from flow.c
11294 * cfgbuild.c: New file
11295 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
11296 make_edges, find_basic_blocks_1, find_basic_blocks,
11297 find_sub_basic_blocks): Move here from flow.c
11298 * cfgcleanup.c: New file.
11299 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
11300 merge_blocks_move_predecessor_nojumps,
11301 merge_blocks_move_successor_nojumps, merge_blocks,
11302 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
11303 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
11304 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
11306 * cfgloop.c: New file
11307 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
11308 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
11309 flow_loop_exit_edges_find, flow_loop_nodes_find,
11310 flow_loop_pre_header_scan, flow_loop_pre_header_find,
11311 flow_loop_tree_node_add, flow_loops_tree_build,
11312 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
11313 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
11314 Move here from flow.c
11315 * flow.c: Remove everything moved elsewhere
11316 * output.h (cleanup_cfg): Return bool.
11318 * bb-reorder.c (reorder_block_def): Remove 'index'.
11319 (insert_intra_1): Add argument BB, set block for new note.
11320 (make_reorder_chain): Do not depdent on BB indexes.
11321 (make_reorder_chain_1): Do not use BB indexes.
11322 (label_for_bb): Likewise; set BB for new insn.
11323 (emit_jump_to_block_after): Likewise.
11324 (fixup_reorder_chain): Sanity check that all basic blocks
11325 are chained; verify newly created insn chain; remove
11326 undocnitional jump simplifying; Do not use BB indexes;
11327 properly initialize count and frequency information;
11328 dump reordered sequence.
11329 (insert_intra_bb_scope_notes): update call of insert_intra_1.
11330 (insert_inter_bb_scope_notes): Set block for new insn.
11331 (reorder_basic_blocks): Dump flow info before reoredering.
11333 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11335 * alias.c (clear_reg_alias_info): Use K&R format definition.
11336 Avoid unsigned warning.
11337 * builtins.c: Use "unsigned int", not "unsigned".
11338 (target_char_cast): Use host_integerp and tree_low_cst.
11339 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
11340 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
11341 (c_getstr): Likewise.
11342 (std_expand_builtin_va_arg): Use int_size_in_bytes.
11343 (builtin_memcpy_read_str): Avoid unsigned warning.
11344 (expand_builtin_memcpy): Alignments are unsigned.
11345 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
11346 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
11347 * predict.c (expensive_function_p): LIMIT now unsigned.
11348 * resource.c (mark_target_live_regs): Make some vars unsigned.
11349 * sdbout.c: Use "unsigned int", not "unsigned".
11350 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
11351 (sdbout_source_line): Likewise.
11352 (sdbout_record_type_name): Remove "const" for NAME declaration.
11353 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
11355 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
11357 * calls.c (store_one_arg): Expand comment.
11359 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11361 * calls.c (store_one_arg): Make sure that the entire argument is
11362 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
11364 2001-09-09 Richard Henderson <rth@redhat.com>
11366 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
11368 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
11370 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
11372 2001-09-09 Richard Henderson <rth@redhat.com>
11374 * config/alpha/alpha.c (alpha_next_sequence_number): New.
11375 (alpha_this_literal_sequence_number): New.
11376 (alpha_this_gpdisp_sequence_number): New.
11377 (some_operand, input_operand): Add HIGH.
11378 (local_symbolic_operand): New.
11379 (alpha_encode_section_info): New.
11380 (alpha_legitimate_address_p): Allow LO_SUM.
11381 (alpha_legitimize_address): Generate HIGH+LO_SUM.
11382 (alpha_expand_mov): Likewise.
11383 (secondary_reload_class): Check memory_operand not general_operand
11385 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
11386 (alpha_expand_unaligned_store): Likewise.
11387 (alpha_expand_unaligned_load_words): Likewise.
11388 (alpha_expand_unaligned_store_words): Likewise.
11389 (alpha_expand_block_clear): Likewise.
11390 (print_operand): Handle %#, %*, %H.
11391 (print_operand_address): Handle LO_SUM.
11392 (find_lo_sum): New.
11393 (alpha_does_function_need_gp): Use it.
11394 (alpha_expand_block_move): Fix signed compare warnings.
11395 (alpha_sa_mask, alpha_align_insns): Likewise.
11396 * config/alpha/alpha-protos.h: Update.
11397 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
11398 (MASK_EXPLICIT_RELOCS): New.
11399 (TARGET_SWITCHES): Add -mexplicit-relocs.
11400 (EXTRA_CONSTRAINT): Add 'T'.
11401 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
11402 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
11403 (ENCODE_SECTION_INFO): Out line.
11404 (REDO_SECTION_INFO_P): New.
11405 (STRIP_NAME_ENCODING): New.
11406 (ASM_OUTPUT_LABELREF): New.
11407 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
11408 (PREDICATE_CODES): Update.
11409 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
11410 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
11411 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
11412 builtin_setjmp_receiver_er, exception_receiver_1_er,
11413 call_value_osf_1_er): New patterns.
11414 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
11415 (movqi, movhi, movsi): Add explicit $31 base register to lda.
11416 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
11417 (FINAL_PRESCAN_INSN): New.
11419 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
11421 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
11423 2001-09-08 Andreas Jaeger <aj@suse.de>
11425 * i386.h (TARGET_SWITCHES): Fix description.
11427 2001-09-07 David Edelsohn <edelsohn@gnu.org>
11429 * rs6000.c (num_insns_constant): Compute number of instructions
11432 * doc/install.texi: Explain AIX exception handling work-around.
11433 Update URL for AIX fixes.
11435 2001-09-07 Jim Wilson <wilson@redhat.com>
11437 * alias.c (clear_reg_alias_info): New.
11438 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
11439 * rtl.h (clear_reg_alias_info): Declare.
11441 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11443 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
11445 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
11446 (m16m,edivm,emulm): Change declaration to match definition.
11448 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11450 * reload.c (push_reload): Check for subreg_lowpart_p instead of
11451 SUBREG_BYTE being 0 when determining if the inner part of a subreg
11454 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
11456 * c-common.c (signed_or_unsigned_type): Handle machine mode types
11457 which have no corresponding C type.
11458 * fold_const.c (target_isinf,target_isnan,target_negative): Update
11459 the representation of 64-bit doubles to work with 64-bit ints.
11461 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
11463 * config/mips/mips.c (override_options): Do not override ISA when ABI
11464 specified if MIPS_CPU_STRING_DEFAULT was specified.
11466 2001-09-07 Richard Henderson <rth@redhat.com>
11468 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
11469 (express_from_1): Wrap lines.
11470 * rtlanal.c (commutative_operand_precedence): Rename from
11471 operand_preference; export.
11472 * rtl.h: Declare it.
11473 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
11474 (simplify_binary_operation): Invoke simplify_plus_minus on
11475 (CONST (PLUS ...)) as well.
11476 (struct simplify_plus_minus_op_data): New.
11477 (simplify_plus_minus_op_data_cmp): New.
11478 (simplify_plus_minus): Use them. Avoid infinite recursion with
11479 simplify_binary_operation wrt CONST.
11481 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
11483 * h8300-protos.h (general_operand_dst_push): Remove.
11484 * h8300.c (general_operand_dst_push): Likewise.
11485 * h8300.h (OK_FOR_T): Likewise.
11486 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
11487 * h8300.md (pushqi_h8300): New.
11488 (pushqi_h8300hs): Likewise.
11489 (pushqi): Likewise.
11490 (pushhi_h8300): Likewise.
11491 (pushhi_h8300hs): Likewise.
11492 (pushhi): Likewise.
11494 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11496 * genattrtab.c (attr_printf): First arg is unsigned.
11497 Clean up formatting of callers.
11499 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
11501 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
11504 2001-09-07 Andreas Jaeger <aj@suse.de>
11506 * i386.h (TARGET_SWITCHES): Fix descriptions.
11508 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11510 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
11512 2001-09-06 Ira Ruben <ira@apple.com>
11514 Remove OP_IDENTIFIER.
11515 * tree.def (OP_IDENTIFIER): Remove.
11516 * tree.c (tree_node_kind enum): Remove op_id_kind.
11517 (tree_node_kind_names): Remove "op_identifiers".
11518 (make_node): Remove OP_IDENTIFIER test.
11519 (build_op_identifier): Removed because it isn't being used.
11520 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
11521 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
11523 2001-09-06 Richard Henderson <rth@redhat.com>
11525 * simplify-rtx.c (simplify_binary_operation): Revert last change.
11527 2001-09-06 Richard Henderson <rth@redhat.com>
11529 * simplify-rtx.c (simplify_binary_operation): Simplify contents
11532 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11534 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
11535 number used for CR register.
11537 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11538 Joern Rennecke (amylaar@cygnus.com)
11540 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
11541 * h8300.c (initial_offset): Handle offset between RP and FP.
11542 (h8300_return_addr_rtx): New function.
11543 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
11545 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
11546 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
11547 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
11548 (CAN_ELIMINATE, REGISTER_NAMES):
11549 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
11551 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
11553 Remove TYPE_NONCOPIED_PARTS.
11554 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
11555 (struct tree_type): Remove noncopied_parts.
11556 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
11557 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
11558 (fixed_type_p): Remove.
11559 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
11560 (expand_expr, MODIFY_EXPR): Likewise.
11561 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
11562 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
11564 2001-09-06 Alan Modra <amodra@bigpond.net.au>
11566 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
11568 (mask64_operand): Likewise.
11569 (includes_rldic_lshift_p): Likewise.
11570 (includes_rldicr_lshift_p): Likewise.
11572 2001-09-05 Ziemowit Laski <zlaski@apple.com>
11574 * objc/objc-act.c (build_message_expr): If a class method cannot
11575 be found, do not issue a warning if a corresponding instance
11576 method exists in the root class.
11578 2001-09-05 Richard Henderson <rth@redhat.com>
11580 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
11582 2001-09-05 Zack Weinberg <zack@codesourcery.com>
11584 * function.c (ggc_mark_struct_function): Mark f->outer.
11585 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
11586 * integrate.c (output_inline_function): ... not here.
11588 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
11590 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
11592 * i386.c (size_cost): New static variable.
11593 (override_function): Use size_cost when -Os is specified.
11595 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
11596 properly; Use current_function_calls_eh_return.
11597 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
11598 use leave to avoid dependency chain.
11600 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
11601 get BB loop_depth instead of computing it from LOOP notes.
11603 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
11605 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11607 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
11608 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11609 UNALIGNED_DOUBLE_INT_ASM_OP): Define
11611 2001-09-05 Jeffrey A Law (law@cygnus.com)
11612 Jason Merrill (jason@redhat.com)
11614 * stor-layout.c (layout_type): Complain if an array's size can
11615 not be represented in a size_t.
11617 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
11619 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
11621 * gcc.c: (process_command) Add parentheses around assignment
11622 used as truth value.
11624 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11626 * config/mips/mips.c (save_restore_insns): Don't mark any register
11627 save slots as unchanging if current_function_calls_eh_return.
11629 2001-09-05 Richard Henderson <rth@redhat.com>
11631 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
11632 * config/alpha/alpha-protos.h: Declare it.
11633 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
11634 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
11635 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
11636 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
11637 (REG_OK_FOR_BASE_P): Select one of the above.
11639 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
11641 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
11642 (crti.o): Prefix name of object file with $(T).
11643 (crtn.o): Likewise.
11645 2001-09-05 David S. Miller <davem@redhat.com>
11647 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
11648 * config/sparc/linux64.h: Likewise.
11650 2001-09-05 Andreas Jaeger <aj@suse.de>
11652 * doc/invoke.texi (i386 Options): -mwide-multiply is not
11653 available anymore, remove the documentation.
11654 (i386 Options): Fix typo, cleanup index entries.
11656 * prefix.c (concat): Remove, we can use the version from liberty.
11658 2001-09-05 Richard Henderson <rth@redhat.com>
11660 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
11661 New functions split out of md file expanders.
11662 * config/alpha/alpha-protos.h: Declare them.
11663 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
11665 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
11667 * cppmacro.c (funlike_invocation_p): No need to restore context.
11669 2001-09-04 Richard Henderson <rth@redhat.com>
11671 * reload.c (push_reload): Export.
11672 * reload.h (push_reload): Declare it.
11674 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
11675 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
11676 * config/alpha/alpha.c (alpha_legitimize_address): New.
11677 (alpha_legitimize_reload_address): Likewise.
11678 * config/alpha/alpha-protos.h: Declare them.
11680 2001-09-04 Stan Shebs <shebs@apple.com>
11682 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
11683 * config/darwin.c (machopic_stub_name): Account for internally
11684 generated lib calls such as memcpy.
11686 2001-09-04 Richard Henderson <rth@redhat.com>
11688 * unwind.h (_UA_END_OF_STACK): New flag.
11689 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
11691 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
11693 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
11695 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
11697 * config/mips/mips.c (save_restore_insns): Change base_offset to
11698 fp_offset in second call to mips_emit_frame_related_store.
11700 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
11702 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
11703 sometimes be represented as a NOTE of type
11704 NOTE_INSN_DELETED_LABEL.
11705 (Insns): Document NOTE_INSN_DELETED_LABEL.
11707 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
11709 * c-common.h (tree_dump_index): Add more comments.
11710 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
11711 (dump_option_value_info): New struct.
11712 (dump_options): New array.
11713 (dump_switch_p): Parse switch options symbolically.
11714 * doc/invoke.texi (-fdump-ast): Rename to ...
11715 (-fdump-tree): ... here. Document that options are symbolic, and
11716 not all are applicable.
11718 2001-09-04 David S. Miller <davem@redhat.com>
11720 * config/sparc/sparc.md (define_splits): Kill constraints.
11722 Cleanup redundant and unused insn attributes.
11723 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
11724 binary, and move. Mark ialu as default.
11725 (commented out define_function_unit "alu"): Kill.
11726 (define_attr "use_clobbered"): Kill.
11727 (whole file): Kill address insn type references. Replace
11728 all unary/binary/move references with ialu.
11729 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
11730 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
11733 Simplify length insn attribute and make more judicious use
11734 of insn attribute defaulting.
11735 * config/sparc/sparc.md (all insns with length > one): Mark as
11736 insn type multi if real instructions, else use default if
11737 it is a forced splitter.
11738 (all insns with length == one): Use default insn length.
11739 (all insns of type ialu): Use default insn type.
11741 Fix erroneous insn attribute settings.
11742 (addx): Set insn type to misc.
11743 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
11744 const_umulsidi3_sp64): Set insn type to imul.
11746 Track SFmode vs DFmode insns according to UltraSPARC
11748 * config/sparc/sparc.md ("fptype"): New attribute, default
11750 (all DFmode single insns): Mark as fptype "double".
11752 2001-09-03 Jakub Jelinek <jakub@redhat.com>
11754 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
11756 2001-09-03 Richard Henderson <rth@redhat.com>
11758 * function.h (struct function): Add arg_pointer_save_area_init.
11759 * function.c (expand_function_end): Init arg_pointer_save_area.
11760 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
11761 when called from a nested function.
11763 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
11765 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
11768 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11770 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
11772 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
11774 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
11775 (emit_push_insn): Use specified padding direction when
11776 STACK_PUSH_CODE is POST_INC.
11778 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
11780 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11782 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
11784 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
11786 * cppinit.c (cpp_start_read): Free the imacros list as we
11787 traverse it. Don't free the chains before returning.
11788 (_cpp_push_next_buffer): Only try pushing buffers if we've
11789 completed -imacros handling.
11791 2001-08-31 Eric Christopher <echristo@redhat.com>
11793 * gcc.c (handle_braces): Add explaination for abort.
11795 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
11797 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
11798 move adjustment of bitpos instead.
11800 2001-08-31 Zack Weinberg <zack@codesourcery.com>
11802 * function.c: Remove all_functions. Make outer_function_chain
11804 (init_function_start): Don't add new function structure to
11806 (find_function_data, push_function_context_to,
11807 pop_function_context_from, put_var_into_stack,
11808 trampoline_address): Update for changed structure element names.
11809 (push_function_context_to): Disentangle.
11810 (free_after_compilation): Also free F.
11811 (expand_dummy_function_end): Don't free cfun here.
11812 (put_var_into_stack): Comment why we can't use find_function_data here.
11813 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
11814 (mark_function_chain): Split into maybe_mark_struct_function and
11815 ggc_mark_struct_function. Export the latter.
11816 (init_function_once): Mark from cfun and outer_function_chain;
11819 * function.h (struct function): Kill next_global. Rename next
11820 to outer. All users updated to match.
11821 (all_functions, outer_function_chain): Don't declare.
11823 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
11824 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
11825 don't touch f->inlinable, after calling rest_of_compilation.
11827 * tree.h: Forward-declare struct function. Prototype
11828 ggc_mark_struct_function.
11830 2001-08-31 Kazu Hirata <kazu@hxi.com>
11832 * config/h8300/h8300.md (*andorhi3): Fix typos.
11834 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11836 * calls.c (emit_library_call_value): Don't use a fixed
11837 argument after VA_CLOSE, i.e. out of scope in traditional C.
11839 * emit-rtl.c (gen_rtvec): Likewise.
11841 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11843 * Makefile.in (c-pragma.o): Depend on output.h.
11844 (reorg.o): Depend on except.h.
11846 * c-pragma.c: Include output.h.
11848 * reorg.c: Include except.h.
11850 * unwind-dw2.c: Call __builtin_alloca, not alloca.
11852 2001-08-31 Richard Henderson <rth@redhat.com>
11854 * sched-deps.c (add_dependence): Don't elide dependency if the
11855 conditional used by insn is modified in elem.
11857 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
11859 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
11861 2001-08-31 Diego Novillo <dnovillo@redhat.com>
11863 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
11866 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
11868 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
11870 (stormy16_asm_out_constructor): New function.
11871 (TARGET_ASM_CONSTRUCTOR): Define.
11872 (TARGET_ASM_DESTRUCTOR): Define.
11874 2001-08-31 Andreas Jaeger <aj@suse.de>
11876 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
11877 * loop.c (add_label_notes): Likewise.
11878 * reload.c (find_reloads): Likewise.
11879 * config/sh/sh.c (machine_dependent_reorg): Likewise.
11881 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
11883 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
11884 code here. Take _Unwind_{W,Sw}ord*.
11885 (read_encoded_value_with_base): Use them.
11886 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
11888 (extract_cie_info): Simplify read_?leb128 handling.
11889 (execute_stack_op, execute_cfa_program): Likewise.
11890 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
11892 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
11894 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
11895 the frame pointer to pop the stack if convenient.
11897 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
11898 Don't use post-increment before combine.
11899 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
11900 a call-saved register.
11902 2001-08-31 Andreas Jaeger <aj@suse.de>
11904 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
11907 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
11909 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
11910 not DIV/MOD, of course.
11912 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
11914 * rtl.def: Undo my patch commited 2001-08-27.
11916 * genattrtab.c: Ditto.
11920 * sched-int.h: Ditto.
11922 * target-def.h: Ditto.
11926 * haifa-sched.c: Ditto.
11928 * sched-rgn.c: Ditto.
11930 * sched-vis.c: Ditto.
11932 * Makefile.in: Ditto.
11934 * doc/md.texi: Ditto.
11936 * doc/tm.texi: Ditto.
11938 * doc/contrib.texi: Ditto.
11940 * doc/gcc.texi: Ditto.
11942 * genattrtab.h: Remove it.
11944 * genautomata.c: Remove it.
11946 * genattr.c: Undo my patch and Richard Henderson's patch commited
11949 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
11951 * config.gcc (h8300-*-elf*): New case.
11952 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
11953 (SUBTARGET_CPP_SPEC): Define.
11954 (EXTRA_SPECS): Define.
11955 (SUBTARGET_EXTRA_SPECS): Define.
11956 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
11957 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
11959 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
11961 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
11962 (LIB2FUNCS_EXTRA): Define.
11963 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
11964 config/h8300/fixunssfsi.c: New file.
11966 2001-08-30 Kazu Hirata <kazu@hxi.com>
11968 * config/h8300/h8300.md (zero_extendqihi2): Changes to
11969 define_expand to accommodate target-specific attributes.
11970 (anonymous zero_extendqihi2 patterns): New.
11972 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
11974 * h8300.md (*andorhi3): New pattern.
11976 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
11978 * h8300.c (dosize): Fix test for "sub".
11980 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
11982 * c-typeck.c (pointer_diff): Try to eliminate common term before
11985 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
11987 * config/arm/arm.c (arm_compute_initial_elimination_offset):
11988 Account for the saves of the FP registers.
11990 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
11991 (TEXT_SECTION_ASM_OP): Define.
11992 (INIT_SECTION_ASM_OP): Define.
11993 (FINI_SECTION_ASM_OP): Define.
11994 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
11995 (RDATA_SECTION_FUNCITON): Provide prototype.
11997 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
11999 * reload1.c (move2add_note_store): Correct typo checking for
12002 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
12004 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
12005 note should not be considered outside the libcall block.
12007 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12009 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
12011 2001-08-29 Kazu Hirata <kazu@hxi.com>
12013 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
12015 2001-08-29 Kazu Hirata <kazu@hxi.com>
12017 * config/h8300/h8300-protos.h: Add a prototype for
12019 * config/h8300/h8300.c (emit_logical_op): New.
12020 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
12021 (andsi3): Likewise.
12022 (iorhi3): Likewise.
12023 (iorsi3): Likewise.
12024 (xorhi3): Likewise.
12025 (xorsi3): Likewise.
12027 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12029 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
12030 comparison with rtx INTVAL.
12031 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
12033 * pa.h (FUNCTION_ARG_SIZE): Likewise.
12035 2001-08-29 Kazu Hirata <kazu@hxi.com>
12037 * config/h8300/lib1funcs.asm: Update the copyright. Fix
12040 2001-08-29 Kazu Hirata <kazu@hxi.com>
12042 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
12043 (reg n) to (mem (pre_dec (reg n))
12044 (anonymous movsi pattern): Likewise.
12046 2001-08-29 Kazu Hirata <kazu@hxi.com>
12048 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
12050 2001-08-29 Kazu Hirata <kazu@hxi.com>
12052 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
12053 several special constants.
12055 2001-08-29 Kazu Hirata <kazu@hxi.com>
12057 * config/h8300/lib1funcs.asm: Fix comment typos.
12059 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12061 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
12062 Fix format specifier warnings.
12064 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
12065 inet_makeaddr, semctl): Prototype.
12067 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
12068 (save_restore_insns): Use base_offset, not gp_offset.
12070 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
12071 (ASM_OUTPUT_BYTE): Fix format specifier warning.
12073 2001-08-29 Richard Henderson <rth@redhat.com>
12075 * bb-reorder.c (function_tail_eff_head): New.
12076 (record_effective_endpoints): Set it.
12077 (fixup_reorder_chain): Use it.
12079 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12081 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
12083 2001-08-28 Dale Johannesen <dalej@apple.com>
12085 * config/darwin.c (machopic_function_base_name): Add const
12086 qualifier to a string.
12087 (darwin_encode_section_info): Ditto.
12089 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12091 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
12092 function definition.
12094 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12096 * df.h (struct df): Add rts_order variable.
12098 * df.c (df_visit_next_rts): New function.
12099 (df_visit_next): Renamed to df_visit_next_rc
12100 (df_analyse_1): Allocate/compute/free rts_order as well.
12101 (df_rd_global_compute): Use df_visit_next_rc instead of
12103 (df_ru_global_compute): Use df_visit_next_rts instead of
12106 * flow.c (flow_reverse_top_sort_order_compute): New function.
12108 * basic-block.h: Add prototype.
12110 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
12112 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
12113 blocks, the BB_REACHABLE is now set, rather than aux being
12114 non-NULL. Update the test to reflect this.
12116 2001-08-28 Eric Christopher <echristo@redhat.com>
12118 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
12119 config/mips/crti.asm: Ditto.
12121 2001-08-28 Eric Christopher <echristo@redhat.com>
12122 Richard Henderson <rth@redhat.com>
12124 * c-pragma.h (add_weak): Move prototype from here...
12125 * output.h (add_weak): ... to here.
12126 * varasm.c (add_weak): Fix typo.
12127 * config/mips/crti.asm: New file.
12128 * config/mips/crtn.asm: Ditto.
12129 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
12130 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
12131 (INVOKE__main): Ditto.
12132 (INIT_SECTION_ASM_OP): New.
12133 (FINI_SECTION_ASM_OP): Ditto.
12134 (STARTFILE_SPEC): Add crti.
12135 (ENDFILE_SPEC): Add crtn.
12136 * config/mips/elf64.h: Same.
12137 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
12139 * config/mips/vxworks.h: Ditto.
12140 * config/mips/t-elf: Support crti and crtn.
12142 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
12144 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
12147 2001-08-28 Richard Henderson <rth@redhat.com>
12149 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
12150 (one_cmplbi2 splitter): Remove redundant test.
12152 2001-08-28 Dale Johannesen <dalej@apple.com>
12154 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
12156 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
12158 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
12160 2001-08-28 Stan Shebs <shebs@apple.com>
12162 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
12163 (UNALIGNED_SHORT_ASM_OP): Define.
12164 (UNALIGNED_INT_ASM_OP): Define.
12166 2001-08-28 Will Cohen <wcohen@redhat.com>
12168 * config/rs6000/rs6000.md (store_multiple): Correct RTL
12169 generation for first set.
12171 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12173 * flow.c (redirect_edge_succ_nodup): Return new edge.
12174 (try_simplify_condjump): Use new edge.
12175 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
12177 * cse.c (cse_basic_block): Skip note instructions.
12179 2001-08-27 Richard Henderson <rth@redhat.com>
12181 * combine.c (combine_simplify_rtx): Don't reverse condition
12182 if there is no reverse for the condition.
12183 (simplify_comparison): Don't simplify subregs from INT to FP.
12185 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
12186 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
12187 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
12188 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
12189 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
12190 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
12192 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12194 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
12195 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
12197 (adddi_dilshr32, adddi_dishl32): Only data register can be
12198 source for mem destination.
12200 * expmed.c (store_bit_field): Ignore adjustment to bitpos
12201 and use bitnum to decide about register move.
12203 2001-08-27 Richard Henderson <rth@redhat.com>
12205 * genattr.c (main): Emit state_t even when not doing scheduling.
12207 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12208 Richard Henderson <rth@redhat.com>
12210 * gcse.c (reg_first_set, reg_last_set): Replace with ...
12211 (reg_avail_info, current_bb): ... these.
12212 (oprs_unchanged_p, record_last_reg_set_info): Use them.
12213 (compute_hash_table): Likewise.
12215 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
12217 * flow.c (verify_flow_info): Use checksums to verify edges.
12219 2001-08-27 Richard Henderson <rth@redhat.com>
12221 * genautomata.c (expand_automata): Always create a description.
12223 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12225 * optabs.c (expand_binop): Correctly handle the carry in multiword
12226 add/subtract operations.
12228 2001-08-27 Fred Fish <fnf@be.com>
12230 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
12233 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
12235 * reload.c (find_reloads_toplev): Back out this change:
12237 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
12239 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
12240 mem if the address is a mode_dependent_address_p.
12242 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
12244 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
12245 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
12246 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
12249 * genattr.c (main): New variable num_insn_reservations. Increase
12250 it if there is DEFINE_INSN_RESERVATION. Output automaton based
12251 pipeline hazard recognizer interface.
12253 * genattrtab.h: New file.
12255 * genattrtab.c: Include genattrtab.h.
12256 (attr_printf, check_attr_test, make_internal_attr,
12257 make_numeric_value): Move protypes into genattrtab.h. Define them
12259 (num_dfa_decls): New global variable.
12260 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
12261 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
12262 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
12263 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
12265 * genautomata.c: New file.
12267 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
12269 * sched-int.h: (curr_state): Add the external definition for
12270 automaton pipeline interface.
12271 (haifa_insn_data): Add comments for members blockage and units.
12273 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12274 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12275 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12276 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12277 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12278 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12279 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
12281 (TARGET_SCHED): Use the new macros.
12283 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
12284 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
12285 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
12286 dfa_bubble): New members in gcc_target.sched.
12288 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
12289 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
12290 (insn_queue): Redefine it as pointer to array.
12291 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
12293 (max_insn_queue_index_macro_value): New variable.
12294 (curr_state, dfa_state_size, ready_try): New varaibles for
12295 automaton interface.
12296 (ready_element, ready_remove, max_issue): New function prototypes
12297 for automaton interface.
12298 (choose_ready): New function prototype.
12299 (insn_unit, blockage_range): Add comments.
12300 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
12301 FUNCTION_UNITS_SIZE == 0.
12302 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
12303 actual_hazard, potential_hazard): Add comments.
12304 (insn_cost): Use cost -1 as undefined value. Remove
12305 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
12306 pipeline interface.
12307 (ready_element, ready_remove): New functions for automaton
12309 (schedule_insn): Add new code for automaton pipeline interface.
12310 (queue_to_ready): Add new code for automaton pipeline interface.
12311 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
12312 (debug_ready_list): Print newline when the queue is empty.
12313 (max_issue): New function for automaton pipeline interface.
12314 (choose_ready): New function.
12315 (schedule_block): Add new code for automaton pipeline interface.
12316 Print ready list before scheduling each insn.
12317 (sched_init): Add new code for automaton pipeline interface.
12318 Initiate insn cost by -1.
12319 (sched_finish): Free the current automaton state and finalize
12320 automaton pipeline interface.
12322 * sched-rgn.c: Include target.h.
12323 (init_ready_list, new_ready, debug_dependencies): Add new code for
12324 automaton pipeline interface.
12326 * sched-vis.c: Include target.h.
12327 (get_visual_tbl_length): Add code for automaton interface.
12328 (target_units, print_block_visualization): Add comments.
12330 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
12331 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
12332 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
12333 (getruntime.o, genautomata.o): New entries.
12334 (genattrtab.o): Add new dependency file genattrtab.h.
12335 (genattrtab): Add new dependencies. Link it with `libm.a'.
12336 (getruntime.o, hashtab.o): New entries for canadian cross.
12338 * doc/md.texi: Description of automaton based model.
12340 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
12342 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
12343 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
12344 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
12345 TARGET_SCHED_DFA_POST_CYCLE_INSN,
12346 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
12347 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
12348 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
12350 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
12351 MAX_DFA_ISSUE_RATE): New macro descriptions.
12353 * doc/contrib.texi: Add dfa based scheduler contribution.
12355 * doc/gcc.texi: Add more information about genattrtab.
12357 2001-08-27 Diego Novillo <dnovillo@redhat.com>
12359 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
12360 an RTL basic block.
12362 2001-08-27 Richard Henderson <rth@redhat.com>
12364 * function.c (expand_function_end): Don't init arg_pointer_save_area.
12365 (get_arg_pointer_save_area): New. Create an init it here.
12366 (fix_lexical_addr): Use it.
12367 * function.h: Declare it.
12368 * builtins.c (expand_builtin_setjmp_receiver): Use it.
12369 * stmt.c (expand_nl_goto_receiver): Use it.
12371 2001-08-27 Richard Henderson <rth@redhat.com>
12373 * final.c (final_scan_insn): Don't enter APP_ON mode for
12376 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
12377 alignment for assemble_integer for DW_EH_PE_aligned.
12378 * except.c (output_function_exception_table): Likewise.
12380 2001-08-26 Andreas Jaeger <aj@suse.de>
12382 * c-tree.h: Add prototyp for c_sizeof_nowarn.
12384 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
12386 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
12388 2001-08-27 Alan Modra <amodra@bigpond.net.au>
12390 * config/rs6000/rs6000.c (mask_operand): Rewrite without
12392 (mask64_operand): Likewise.
12393 (rldic_operand): Delete.
12394 (includes_lshift64_p): Delete.
12395 (includes_rldic_lshift_p): New function.
12396 (includes_rldicr_lshift_p): New function.
12397 (print_operand): Don't call rldic_operand in case 'W'.
12398 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
12399 (includes_lshift64_p): Remove.
12400 (includes_rldic_lshift_p): Declare.
12401 (includes_rldicr_lshift_p): Declare.
12402 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
12403 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
12404 Replace match_operand rldic_operand predicate with
12405 const_int_operand. Replace includes_lshift64_p condition with
12406 includes_rldic_lshift_p.
12407 <ashldi3_internal 64 bit rldicr patterns>: New.
12409 2001-08-27 Andreas Jaeger <aj@suse.de>
12411 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
12412 * errors.c: Likewise.
12413 * final.c: Likewise.
12414 * dwarf2asm.c: Likewise.
12415 * doprint.c (checkit): Likewise.
12416 * diagnostic.c: Likewise.
12417 * collect2.c: Likewise.
12418 * calls.c: Likewise.
12419 * c-semantics.c (build_stmt): Likewise.
12420 * c-format.c (status_warning): Likewise.
12421 * c-errors.c (pedwarn_c99): Likewise.
12422 * builtins.c (validate_arglist): Likewise.
12423 * config/pj/pj.c (pj_printf): Likewise.
12424 * fix-header.c: Likewise.
12426 * gcov.c (fnotice): Likewise.
12427 * gensupport.c (message_with_line): Likewise.
12428 * mips-tfile.c: Likewise.
12429 * protoize.c (notice): Likewise.
12430 * read-rtl.c (fatal_with_file_and_line): Likewise.
12431 * rtl-error.c: Likewise.
12432 * tradcpp.c: Likewise.
12433 * tree.c: Likewise.
12434 * cp/tree.c (build_min_nt): Likewise.
12435 (build_min): Likewise.
12436 * cp/lex.c: Likewise.
12437 * cp/errfn.c: Likewise.
12438 * cp/rtti.c (create_pseudo_type_info): Likewise.
12440 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
12442 * df.c (df_uses_record): Return after recording all uses
12445 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
12447 * df.c (df_insn_modify): Realloc the INSN table here, if
12448 necessary, here, too.
12450 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
12452 * config/mips/mips.c (mips_function_value): Handle complex return
12455 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
12457 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
12459 * reload.c (make_memloc): Copy result if it is still
12460 reg_equiv_memory_loc[regno] on return.
12461 (subst_reloads) [ENABLE_CHECKING]: Check that none of
12462 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
12463 reg_equiv_mem are modified by the substitutions.
12465 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12467 * predict.c (expensive_function_p): New.
12468 * rtl.h (expensive_function_p): Declare.
12469 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
12470 (use_fast_prologue_epilogue): New static variable.
12471 (expand_prologue): Set it; emit short prologues if unset.
12472 (expand_epilogue): Likewise.
12474 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12476 * config.gcc: Add stormy16-*-elf case.
12477 * config/stormy16/stormy-abi: New file.
12478 * config/stormy16/stormy16-lib2.c: New file.
12479 * config/stormy16/stormy16-protos.h: New file.
12480 * config/stormy16/stormy16.c: New file.
12481 * config/stormy16/stormy16.h: New file.
12482 * config/stormy16/stormy16.md: New file.
12483 * config/stormy16/t-stormy16: New file.
12485 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
12487 * i386.h (no-accumulate-outgoing-args): Use proper mask.
12489 2001-08-24 David Edelsohn <edelsohn@gnu.org>
12491 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
12492 descriptor members are pointer size, not constant 4.
12493 * config/rs6000/rs6000.md (define_splits): Remove more unused
12496 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12498 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
12500 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
12502 * cp/rtti.c (VPARAMS): Fix parameter.
12504 2001-08-24 Zack Weinberg <zackw@panix.com>
12506 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
12508 (mode_for_extraction): No need for #ifdefs. Add default-case abort
12510 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
12511 in if controlling use of insv.
12512 (extract_bit_field): Likewise, for extv and extzv.
12514 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
12516 * i386.md (movcc peep2): Fix load of 0.
12518 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12520 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
12521 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
12523 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
12525 * c-pragma.h: Move weak_syms and weak_decls...
12526 * varasm.c: ...here. Now static.
12527 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
12528 depend on HANDLE_PRAGMA_WEAK.
12530 * c-common.c (c_alignof, c_alignof_expr): Move here...
12531 * c-typeck.c: ...from here.
12532 * c-tree.h, c-common.h: Adjust.
12534 2001-08-23 Bernd Schmidt <bernds@redhat.com>
12536 * config/ia64/ia64.c (rws_update): If !pred, set write_count
12537 instead of incrementing it.
12539 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
12540 asm ready, don't try to move them all into the same array element.
12542 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12544 * function.c (thread_prologue_and_epilogue_insns): Avoid
12545 fallthru flag on edge to exit.
12547 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
12549 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
12552 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12554 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
12555 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
12556 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
12559 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
12561 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
12562 replace "GNU CC" with "GCC".
12564 2001-08-23 Richard Henderson <rth@redhat.com>
12566 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
12567 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
12568 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
12569 Need GR between FR and not GR_AND_FR.
12570 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
12571 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
12572 AR regs before GR regs.
12573 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
12574 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
12575 (REGISTER_MOVE_COST): Update.
12576 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
12578 2001-08-23 Richard Henderson <rth@redhat.com>
12580 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
12583 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
12585 * reload1.c (emit_reload_insns): Don't look for notes
12586 on a NULL store_insn.
12588 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12590 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
12591 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
12592 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
12593 format specifier warnings.
12594 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
12596 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
12598 * config/i386/i386-protos.h: Correct declaration of
12599 i386_pe_asm_named_section.
12601 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
12603 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
12605 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
12607 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12609 * cpperror.c (print_location): Don't show _Pragma.
12610 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
12611 and file change callback generation here.
12612 (stack_include_file): Update use of cpp_push_buffer.
12613 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
12614 (struct cpp_buffer): Remove type, pfile members.
12615 * cppinit.c (cpp_handle_option): Use free_chain.
12616 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
12617 (skip_escaped_newlines, get_effective_char, lex_percent): Take
12618 a cpp_reader rather than a cpp_buffer.
12619 (skip_escaped_newlines, get_effective_char, skip_block_comment,
12620 skip_line_comment, parse_string, lex_percent, lex_dot,
12621 _cpp_lex_token): Update accordingly.
12622 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
12624 (cpp_push_buffer): Update prototype.
12625 (run_directive): Update use of cpp_push_buffer.
12626 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
12627 handle_assertion): Update use of run_directive.
12628 * cpplib.h (enum cpp_buffer_type): Remove.
12629 (cpp_push_buffer): Update prototype.
12630 * fix-header.c (read_scan_file): Update.
12632 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12634 * gcc.c (struct prefix_list): Change prefix to const char *.
12636 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12638 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
12640 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
12642 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
12645 * jump.c (squeeze_notes): Take parms by reference. Handle END being
12648 * ifcvt.c (dead_or_predicable): Adjust.
12649 * loop.c (find_and_verify_loops): Adjust.
12650 * stmt.c (expand_end_case): Adjust.
12651 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
12652 head and end insn pointers in the basic block, not just local copies.
12653 (merge_blocks_move_predecessor_nojumps): Likewise.
12655 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
12657 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
12658 bitmap.h, builtin-types.def, builtins.c, builtins.def,
12659 c-aux-info.c, c-common.c, c-common.def, c-common.h,
12660 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
12661 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
12662 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
12663 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
12664 conditions.h, config.gcc, configure.frag, configure.in,
12665 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
12666 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
12667 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
12668 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
12669 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
12670 emit-rtl.c, errors.c, errors.h, except.c, except.h,
12671 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
12672 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
12673 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
12674 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
12675 gencheck.c, gencodes.c, genconfig.c, genemit.c,
12676 genextract.c, genflags.c, gengenrtl.c, genmultilib,
12677 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
12678 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
12679 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
12680 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
12681 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
12682 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
12683 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
12684 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
12685 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
12686 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
12687 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
12688 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
12689 params.h, predict.c, predict.def, predict.h, prefix.c,
12690 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
12691 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
12692 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
12693 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
12694 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
12695 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
12696 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
12697 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
12698 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
12699 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
12700 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
12701 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
12702 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
12703 xcoffout.h: replace "GNU CC" with "GCC".
12705 2001-08-21 Richard Henderson <rth@redhat.com>
12707 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
12708 (final_scan_insn): Consider jump tables data even if we have no
12709 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
12711 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
12712 (ASM_OUTPUT_CASE_END): Remove.
12713 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
12714 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
12715 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
12717 2001-08-21 Richard Henderson <rth@redhat.com>
12719 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
12720 at barrier insns. Emit stop bits before barriers.
12722 * flow.c (flow_find_cross_jump): Don't consider unconditional
12723 return insns for commoning.
12725 * final.c (compute_alignments): Fix typo.
12727 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
12728 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
12729 (store_bit_field): Use mode_for_extraction more places.
12730 (extract_bit_field): Likewise.
12732 2001-08-21 Zack Weinberg <zackw@panix.com>
12734 * caller-save.c: Don't include insn-codes.h.
12735 (reg_save_code, reg_restore_code): Make arrays of int.
12736 All uses updated to match.
12737 (insert_save, insert_restore): No need to initialize "code"
12738 variable upon declaration.
12739 * Makefile.in: update dependencies; fix typo in clean rule.
12741 2001-08-21 Richard Henderson <rth@redhat.com>
12743 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
12744 (merge_if_block): Handle fallout from same.
12746 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12748 * builtins.c (type_to_class): Fix typo in last change.
12750 2001-08-21 Richard Henderson <rth@redhat.com>
12752 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
12753 ia64_asm_output_label.
12755 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
12756 copy of gp while the real gp register contains garbage.
12758 2001-08-21 Zack Weinberg <zackw@panix.com>
12760 * expmed.c (mode_for_extraction): New function.
12761 (store_bit_field, extract_bit_field): Use it.
12762 * expr.h: Prototype it and provide an enum for its first argument.
12764 * combine.c, function.c, recog.c: Don't include insn-codes.h.
12765 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
12766 and digging through the insn_data tables.
12767 * Makefile.in: Update dependencies.
12769 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
12771 * cppfiles.c (stack_include_file): line-map.c now handles include
12773 (handle_missing_handler): Similarly.
12774 (_cpp_execute_include): Similarly.
12775 (_cpp_pop_file_buffer): Similarly.
12776 * cpphash.h (struct cpp_reader): Remove system_include_depth,
12777 buffer_stack_depth and include_depth.
12778 * cpplib.c (do_include_common): line-map.c now handles include depth.
12779 (cpp_push_buffer): Similarly.
12780 (_cpp_pop_buffer): Similarly.
12781 * cppmacro.c (builtin_macro): Update.
12782 * line-map.c (init_line_maps): Set depth.
12783 (add_line_map): Increment "used" earlier. Update and use the
12785 (trace_include): Use the include depth.
12786 * line-map.h (struct line_maps): New member depth.
12788 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12790 * cppfiles.c (stack_include_file): Don't handle -H here.
12791 * cppinit.c (cpp_start_read): Set include tracing after
12792 cpp_post_options and after stacking the main file.
12793 * line-map.c (trace_include): New.
12794 (init_line_maps, add_line_map): Update.
12795 * line-map.h (struct line_maps): New member trace_includes.
12797 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12799 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
12800 * cppfiles.c (stack_include_file): Only stack a file if there
12801 is something to do. Return a boolean indicating whether a
12802 buffer was stacked or not.
12803 (_cpp_execute_include): Similarly.
12804 (_cpp_read_file): Similarly.
12805 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
12807 2001-08-21 Sam Steingold <sds@gnu.org>
12809 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
12810 (RECACHE): keep obufp_before_macroname up to date
12812 2001-08-21 Zack Weinberg <zackw@panix.com>
12814 * stmt.c: Don't include insn-codes.h.
12815 (expand_end_case): Machine specific logic moved to expr.c.
12816 No need to worry about __builtin_classify_type.
12817 (check_for_full_enumeration_handling, emit_case_nodes):
12820 * builtins.o (expand_builtin_classify_type): Split up so code
12821 can be shared with fold_builtin_classify_type.
12822 (type_to_class, fold_builtin_classify_type): New functions.
12823 (fold_builtins): Handle __builtin_classify_type.
12825 * expr.c (do_tablejump): Now static.
12826 (case_values_threshold, try_casesi, try_tablejump): New;
12827 code mostly from stmt.c (expand_end_case).
12828 (expr.h): Update prototypes.
12830 * Makefile.in (stmt.o): Update dependencies.
12832 2001-08-21 Will Cohen <wcohen@redhat.com>
12834 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
12835 declaration of variable i.
12836 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
12837 declaration of variable i.
12839 2001-08-21 Richard Henderson <rth@redhat.com>
12841 * crtstuff.c: Fix thinko last change. Move list tails to start
12842 of CRT_END section. Tidy ifdefs.
12843 (__EH_FRAME_BEGIN__): Always static for ELF.
12844 (__do_global_ctors_1): Rename from __frame_dummy.
12845 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
12846 name change; don't hide __EH_FRAME_BEGIN__.
12848 2001-08-21 Richard Henderson <rth@redhat.com>
12850 * gdbinit.in: Move break on exit after break on fancy_abort.
12852 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
12855 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
12857 * cpphash.h (_cpp_push_next_buffer): New.
12858 * cppinit.c (do_includes): Remove.
12859 (push_include, free_chain, _cpp_push_next_buffer): New.
12860 (cpp_start_read): Use them to rework command line option handling.
12861 (cpp_handle_option): Combine handling of -include and -imacros.
12862 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
12863 appropriate. Always insert missing \n at EOF.
12864 * cpplib.c (start_directive): Get the directive position right.
12865 * cppmain.c (cb_file_change): Always print the first line, unless
12868 2001-08-20 Andreas Jaeger <aj@suse.de>
12870 * profile.c (compute_branch_probabilities): Remove extra new-line
12872 * flow.c (verify_flow_info): Likewise.
12874 2001-08-20 Diego Novillo <dnovillo@redhat.com>
12876 * basic-block.h (basic_block): Add new field 'flags'.
12877 (BB_REACHABLE): Define.
12878 (expunge_block): Declare.
12879 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
12880 (EXIT_BLOCK_PTR): Ditto.
12881 (expunge_block): Remove static declaration.
12882 (cleanup_cfg): Clear bb->aux on every basic block.
12883 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
12884 computing reachability.
12885 (delete_unreachable_blocks): Delete block b if b->flags has
12886 BB_REACHABLE unset.
12888 2001-08-20 Diego Novillo <dnovillo@redhat.com>
12890 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
12892 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12894 * sparc.c (sparc_variable_issue): Fix typo in last change.
12896 2001-08-20 Richard Henderson <rth@redhat.com>
12898 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
12900 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
12902 * pa.h (RETURN_IN_MEMORY): Improve comment.
12904 2001-08-20 Janis Johnson <janis187@us.ibm.com>
12906 * doc/invoke.texi (Profiling options): Clarify the interactions
12907 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
12909 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
12911 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
12914 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12916 * gcc.c (make_relative_prefix): Allocate a sufficiently large
12919 2001-08-20 Richard Henderson <rth@redhat.com>
12921 * final.c (end_final): Fix typo last change.
12923 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
12925 * cppinit.c (init_standard_includes): The returned buffer
12926 is already malloc-ed.
12927 * gcc.c (add_prefix): Similarly.
12928 * prefix.c (translate_name): Update to support clear buffer
12930 (update_path): Similarly. Be sure to free any newly allocated
12931 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
12932 (tr): New function.
12933 * prefix.h (update_path): Update prototype and document.
12934 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
12935 up and update to new buffer ownership rules.
12936 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
12938 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
12940 * final.c (compute_alignments): New function.
12941 (init_insn_lengths): Do not care label_align.
12942 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
12943 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
12944 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
12945 (shorted_branches): Realloc label_align array; do
12946 not call init_insn_lengths; Do not care about loop alignments.
12947 * output.h (compute_alignments): Declare.
12948 * toplev.c (rest_of_compilation): Call compute_alignments.
12949 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
12951 * predict.c (block_info_def): Add npredecesors, remove nvisited;
12952 change visited to tovisit.
12953 (propagate_freq): Use faster traversing algorithm.
12954 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
12955 to tovisit; reverse meaning.
12957 * predict.c (struct block_info_def): Remove nvisited.
12958 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
12959 (estimate_bb_frequencies): Call mark_dfs_back_edges.
12961 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
12963 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
12964 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
12965 (TARGET_FUSED_MADD): New.
12966 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
12967 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
12968 the multiply-add instructions.
12970 2001-08-19 Richard Henderson <rth@redhat.com>
12972 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
12973 is aligned to pointer size.
12975 2001-08-19 Richard Henderson <rth@redhat.com>
12977 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
12978 display markers during final schedule.
12980 2001-08-19 Richard Henderson <rth@redhat.com>
12982 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
12984 2001-08-19 Richard Henderson <rth@redhat.com>
12986 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
12987 in the same string.
12988 (ASM_NAME_TO_STRING): Remove.
12989 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
12990 in the same string. Remove support for expressions.
12992 2001-08-19 Richard Henderson <rth@redhat.com>
12994 * config/i386/i386.md (tablejump): Make an expander; handle
12995 pic relative addressing here.
12996 (tablejump_1): Rename from tablejump_pic.
12999 2001-08-19 Richard Henderson <rth@redhat.com>
13001 * regclass.c (fix_register): Fix typo.
13003 2001-08-18 Richard Henderson <rth@redhat.com>
13005 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
13006 (struct _Unwind_Context): Expand br_loc to hold it.
13007 (uw_frame_state_for): Handle leaf functions better.
13008 (uw_update_reg_address): Update for br_loc change.
13010 2001-08-18 Richard Henderson <rth@redhat.com>
13012 * crtstuff.c: Move list heads before code that uses them.
13013 (__JCR_LIST__): Remove initial null.
13014 (frame_dummy, __frame_dummy): Do java registration here ...
13015 (__do_global_ctors_aux): ... not here.
13017 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
13018 (__do_global_dtors_aux): Update to match.
13019 (__JCR_LIST__, __do_jv_register_classes): New.
13021 * config/ia64/crtend.asm (__JCR_END__): New.
13022 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
13023 instead of an indirect LTOFF22 reloc.
13025 2001-08-18 Richard Henderson <rth@redhat.com>
13027 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
13028 * regclass.c (init_reg_sets_1): Fix typo.
13029 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
13030 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
13031 (ia64_compute_frame_size): Make ar.unat live when in use.
13032 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
13033 for ar.pfs; remove ar.unat handling.
13034 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
13036 (PREDICATE_CODES): Add ar_pfs_reg_operand.
13037 * config/ia64/ia64-protos.h: Update decls.
13038 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
13039 (sibcall_pic): Likewise.
13041 2001-08-18 Richard Henderson <rth@redhat.com>
13043 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
13044 pred_rel_mutex when searching for insn_group_barrier.
13045 * config/ia64/ia64.md (cycle_display): Combine the expander
13048 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
13049 bit before asm as needed.
13051 2001-08-18 Richard Henderson <rth@redhat.com>
13053 * timevar.def (TV_MACH_DEP): New.
13054 * toplev.c (rest_of_compilation): Use it.
13055 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
13057 2001-08-18 Zack Weinberg <zackw@panix.com>
13059 * unwind-dw2.c (execute_stack_op): Add default aborts to
13060 the inner switches to prevent warnings.
13062 2001-08-18 Richard Henderson <rth@redhat.com>
13064 * timevar.h (struct timevar_time_def): Change element type to float.
13065 (ticks_to_msec, clocks_to_msec): Likewise.
13066 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
13067 (get_time): Likewise.
13068 (timevar_print): Adjust zero check and printing to match.
13070 2001-08-18 Zack Weinberg <zackw@panix.com>
13072 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
13073 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
13074 Eliminate overfull or underfull hboxes.
13076 2001-08-18 Zack Weinberg <zackw@panix.com>
13078 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
13080 2001-08-18 Zack Weinberg <zackw@panix.com>
13082 * haifa-sched.c: Convert to target hooks. Macros replaced
13083 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
13084 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
13085 MD_SCHED_FINISH, and HAVE_cycle_display.
13086 * target-def.h (TARGET_SCHED_ADJUST_COST,
13087 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
13088 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
13089 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
13090 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
13091 New hook #defines to be overridden.
13092 (TARGET_SCHED): Bring them all together.
13093 (TARGET_INITIALIZER): Update.
13094 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
13095 instead of 'struct rtx_def *' throughout.
13096 (struct sched): New set of hooks for the scheduler.
13097 * Makefile.in (haifa-sched.o): Depend on target.h.
13098 * doc/tm.texi: Document the new scheduler hooks, together in
13099 their own section, instead of scattered around.
13100 Fix a bunch of underfull/overfull hboxes.
13102 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
13103 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
13104 sparc.h: Don't define any of the old scheduler macros.
13106 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
13107 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
13108 sparc.c: Create hook functions from code extracted from
13109 corresponding target header, or make existing hooks static, as
13110 appropriate. Set the appropriate entries in targetm.
13112 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
13113 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
13114 rs6000-protos.h, s390-protos.h, sparc-protos.h:
13115 Remove prototypes for functions which are now static.
13117 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
13118 related gunk; the Haifa scheduler is now the only choice.
13120 2001-08-18 Zack Weinberg <zackw@panix.com>
13122 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
13123 * genopinit.c: Put floating point divide insns in sdiv_optab.
13124 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
13125 * config/gofast.h, config/c4x/c4x.h,
13126 config/ia64/hpux_longdouble.h, config/mips/mips.h,
13127 config/pa/long_double.h, config/rs6000/sysv4.h,
13128 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
13129 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
13130 (init_optabs): Use init_optabv for overflow-trapping optabs.
13131 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
13132 cmp_optab RTX codes so have_insn_for can find them.
13134 * optabs.c (expand_simple_binop, expand_simple_unop,
13135 have_insn_for, gen_sub3_insn): New interfaces.
13136 * expr.h: Prototype new functions.
13137 (enum optab_methods): Move here from optabs.h.
13139 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
13140 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
13141 Use new functions instead of working directly with optabs.
13142 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
13143 unroll.c: Don't include optabs.h.
13144 * caller-save.c, combine.c, function.c, stmt.c: Just include
13145 insn-codes.h, not optabs.h.
13146 * Makefile.in: Update dependencies.
13148 * combine.c (make_compound_operation, simplify_comparison):
13149 Fix typos testing for this or that instruction.
13151 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13153 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
13154 generating libgcc.a.
13156 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13158 * except.c (TYPE_HASH): Delete.
13160 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
13163 * tree.c (TYPE_HASH): Delete.
13165 * tree.h (TYPE_HASH): Define.
13167 2001-08-18 Graham Stott <grahams@redhat.com>
13169 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
13171 (adddi3_internal_2+2): Likewise.
13172 (eh_set_lr_di+1): Likewise.
13174 2001-08-17 Richard Henderson <rth@redhat.com>
13176 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
13177 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
13178 * dwarf2asm.c: ... here.
13179 * dwarfout.c: Remove them.
13181 * varasm.c (assemble_integer): Add align parameter.
13182 (assemble_real, output_constant, output_constructor): Likewise.
13183 * output.h: Update decls.
13184 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
13185 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
13186 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
13187 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
13188 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
13189 Update all callers.
13191 * final.c (end_final): Abort profile block generation if we
13192 haven't layed it out properly.
13193 * output.h (assemble_eh_integer): Remove stale decl.
13194 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
13196 (assemble_integer): Handle unaligned data.
13197 (assemble_real): Abort on unaligned data.
13198 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
13200 (default_dtor_section_asm_out_destructor): Use assemble_align.
13201 (default_named_section_asm_out_constructor): Likewise.
13202 (default_ctor_section_asm_out_constructor): Likewise.
13203 * config/darwin.c (machopic_asm_out_constructor): Likewise.
13204 (machopic_asm_out_destructor): Likewise.
13205 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
13206 (nextstep_asm_out_destructor): Likewise.
13207 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
13208 (vms_asm_out_destructor): Likewise.
13210 2001-08-17 Richard Henderson <rth@redhat.com>
13212 * config/mips/iris6.h (TARGET_IRIX6): New.
13213 (current_section_name, current_section_flags): New.
13214 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
13215 (MAX_OFILE_ALIGNMENT): New.
13216 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
13217 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
13218 (copy_file_data): Split out from
13219 (mips_asm_file_end): ... here.
13220 (mips_asm_file_start): Remove extra .section directive. Use
13221 tmpfile instead of mips_make_temp_file.
13222 (mips_unique_section): Use const char * as needed for warnings.
13223 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
13224 re-add align parameter.
13225 (iris6_asm_named_section): New.
13226 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
13227 (iris6_asm_output_align, iris6_section_align_1): New.
13228 (iris6_asm_file_start, iris6_asm_file_end): New.
13229 * config/mips/mips-protos.h: Update decls.
13231 2001-08-17 Janis Johnson <janis187@us.ibm.com>
13233 * doc/install.texi (Install GCC): Add links to build status pages.
13235 (Final install): Ditto; request updates for specific info
13237 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
13239 * cpperror.c (print_location): Don't take a file name; use the
13241 (_cpp_begin_message): Similarly.
13242 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
13243 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
13244 (cpp_pedwarn_with_file_and_line): Remove.
13245 * cppfiles.c (stack_include_file): Update; set filename to stdin
13246 here when appropriate.
13247 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
13248 (_cpp_begin_message): Don't take a file name.
13249 * cppinit.c: Add comment.
13250 * cpplex.c: Fix end-of-directive indicator.
13251 * cpplib.c: Don't include intl.h.
13252 (run_directive, do_diagnostic): Update.
13253 (do_line): Update to not use nominal_fname.
13254 (cpp_push_buffer): Don't take a filename.
13255 * cpplib.h (struct ht): Remove.
13256 (cpp_push_buffer): Don't take a filename.
13257 (cpp_pedwarn_with_file_and_line): Remove.
13258 * cppmacro.c (struct cpp_macro): Remove file.
13259 (builtin_macro): Update.
13260 (_cpp_create_definition): Update.
13261 * cppmain.c: Correct comment.
13262 * fix-header.c (read_scan_file): Update.
13264 2001-08-17 Kazu Hirata <kazu@hxi.com>
13266 * sbitmap.c: Fix comment formatting.
13267 * sched-deps.c: Likewise.
13268 * sibcall.c: Likewise.
13269 * simplify-rtx.c: Likewise.
13271 * ssa-ccp.c: Likewise.
13272 * stor-layout.c: Likewise.
13273 * timevar.c: Likewise.
13274 * toplev.c: Likewise.
13275 * unwind-dw2.c: Likewise.
13276 * unwind-dw2-fde.c: Likewise.
13277 * varasm.c: Likewise.
13279 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
13281 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
13282 or larger than an integer in memory.
13284 2001-08-17 Zack Weinberg <zackw@panix.com>
13286 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
13287 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
13288 * rtl.h: Don't forward-declare union tree_node here. Don't
13289 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
13290 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13291 and tree respectively.
13292 * tree.h: Don't forward-declare struct rtx_def here. Don't
13293 typedef tree here. Change all uses of struct rtx_def *,
13294 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
13295 and tree respectively.
13297 2001-08-17 Richard Henderson <rth@redhat.com>
13299 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
13300 config/mips/openbsd.h: Fix typos last change.
13302 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13304 * doc/invoke.texi (Optimize Options): The default for
13305 -finline-limit is 600.
13307 2001-08-17 Richard Henderson <rth@redhat.com>
13309 * varasm.c (text_section): Allow TEXT_SECTION to override the
13310 printing of TEXT_SECTION_ASM_OP.
13311 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
13312 (DATA_SECTION, BSS_SECTION): Remove.
13313 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
13314 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
13315 Rename from s/_NAME//.
13316 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
13317 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
13318 (TEXT_SECTION): ... here. New.
13319 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
13320 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
13321 * config/mips/openbsd.h: Likewise.
13322 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
13323 (mips_asm_file_end): Likewise test.
13324 (mips_output_function_epilogue): Likewise. Switch back to data
13325 section after emitting the function.
13327 * doc/tm.texi (Sections): Document TEXT_SECTION.
13329 2001-08-17 Richard Henderson <rth@redhat.com>
13331 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
13332 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
13334 2001-08-17 Richard Henderson <rth@redhat.com>
13336 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
13337 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
13338 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
13339 Add aligned attribute.
13341 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
13343 * config/sh/sh.md: Add modes to unspecs in first insn to match
13344 those in the second.
13346 * Makefile.in: Fix collect2 copy for Cygwin.
13348 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
13350 Install the proper patch.
13351 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13352 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13353 (expand_function_start): Likewise.
13354 * stmt.c (expand_decl): Likewise.
13355 * varasm.c (make_decl_rtx): Likewise.
13357 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13359 * final.c: Undo my previous accidental checkin.
13360 * output.h: Likewise.
13361 * tm.texi: Likewise.
13363 2001-08-16 Richard Henderson <rth@redhat.com>
13365 * varasm.c (named_section_flags): Remove align parameter.
13366 * varasm.c, dwarf2out.c: Update all callers.
13367 * output.h: Update prototypes.
13369 * target.h (target.asm_out.named_section): Remove align parameter.
13370 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
13371 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
13372 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
13373 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
13374 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
13376 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
13377 (get_named_section_flags, set_named_section_flags): New.
13378 (named_section_flags): Use them.
13379 (named_section): Do decl vs section flags check here...
13380 (default_section_type_flags): ... not here.
13381 (init_varasm_once): Create in_named_htab.
13382 (resolve_unique_section): Mark reloc unused.
13384 2001-08-16 Richard Henderson <rth@redhat.com>
13386 * varasm.c (force_const_mem): Keep pool alignment in bits.
13387 (output_constant_pool): Use assemble_align.
13389 2001-08-16 Zack Weinberg <zackw@panix.com>
13391 * doc/tm.texi: Remove extra @table command.
13393 2001-08-16 Zack Weinberg <zackw@panix.com>
13395 * final.c (shorten_branches): Clear the end of the label_align
13396 array only if we made it larger. Break up messy expressions
13399 * diagnostic.c (internal_error): Check for error recursion
13400 before doing ICE suppression.
13402 * timevar.c: Timing variables now count in milliseconds.
13403 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
13404 (get_time): Not here.
13405 (timevar_print): Don't print any timer whose user, cpu, and
13406 wall times are all zero as displayed.
13407 * timevar.h: Update comment aboout units. Make timevar
13410 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13412 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
13413 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
13414 (expand_function_start): Likewise.
13415 * stmt.c (expand_decl): Likewise.
13416 * varasm.c (make_decl_rtx): Likewise.
13418 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
13420 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
13421 (finalize_record_size): Don't set TYPE_USER_ALIGN.
13423 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13425 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
13428 2001-08-16 Andreas Jaeger <aj@suse.de>
13430 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
13433 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
13435 * rtl.h (only_sets_cc0_p): New prototype.
13436 * jump.c (sets_cc0_p): Handle INSN.
13437 (only_sets_cc0_p): New function.
13438 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
13439 (tidy_fallthru_edge): Likewise.
13440 * integrate.c (copy_insn_list): Likewise.
13441 * unroll.c (unroll_loop): Likewise.
13442 (copy_loop_body): Likewise.
13444 2001-08-15 Jason Eckhardt <jle@redhat.com>
13446 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
13448 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13450 * predict.c (struct block_info_def): Remove nvisited.
13451 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
13452 (estimate_bb_frequencies): Call mark_dfs_back_edges.
13454 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
13455 (ix86_adjust_cost): Teach scheduler that latency to load operand can
13458 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
13460 * predict.def: Update hitrates.
13462 2001-08-15 Richard Henderson <rth@redhat.com>
13464 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
13466 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
13468 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
13469 note from its associated jump.
13471 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
13473 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
13474 also on 64-bit s390x targets.
13476 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
13478 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
13480 (arm_expand_prologue): Handled nested functions which take a
13481 variable argument list.
13482 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
13483 macro with an invocation of
13484 arm_compute_initial_elimination_offset.
13485 * config/arm/arm-protos.h: Prototype
13486 arm_compute_initial_elimination_offset.
13488 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13490 * doc/install.texi (Specific, avr): Fix markup.
13491 (Specific, c4x): Ditto.
13493 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13495 * predict.c (dump_prediction): Change `bool' parameter to `int'.
13497 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
13499 * Makefile.in (OBJS): Add rtl-error.o
13500 (rtl-error.o): New rule.
13501 (diagnostic.o): Adjust dependency.
13502 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
13503 error_for_asm, _fatal_insn, _fatal_insn_not_found,
13504 warning_for_asm): Move to...
13505 rtl-error.c: ...here. New file.
13507 2001-08-14 Richard Henderson <rth@redhat.com>
13509 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
13510 if USING_SJLJ_EXCEPTIONS.
13512 2001-08-14 Steve Ellcey <sje@cup.hp.com>
13514 * tlink.c (scan_linker_output): Check string for unsatisfied in
13515 addition to undefined and unresolved.
13517 2001-08-14 Graham Stott <grahams@redhat.com>
13519 * libgcc2.c (*): Replace EH_FRAME_SECTION with
13520 EH_FRAME_SECTION_NAME.
13522 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
13524 * genattrtab.c (simplify_test_exp_in_temp): New function.
13525 (simplify_test_exp): Avoid explicit use of temporary obstack.
13526 (simplify_cond, insert_right_side, evaluate_eq_attr,
13527 simplify_and_tree, simplify_or_tree, eliminate_known_true):
13528 Use simplify_test_exp_in_temp.
13529 (optimize_attrs): Iterate until expression stabilizes.
13531 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
13533 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
13534 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
13536 2001-08-13 Richard Henderson <rth@redhat.com>
13538 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
13539 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
13540 * config/arm/conix-elf.h: Likewise.
13542 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13544 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
13546 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
13548 * gcse.c (hash_scan_set): Expressions that are set as part of
13549 jump instructions are not available.
13551 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
13553 * config/s390/s390.c (print_operand, s390_function_prologue,
13554 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
13556 2001-08-13 Richard Henderson <rth@redhat.com>
13558 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
13559 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
13560 * doc/tm.texi (Exception Region Output): Document it.
13562 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
13564 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
13565 DWARF2 instead of stabs by default.
13567 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13569 * config/rs6000/rs6000.c: Include optabs.h.
13571 2001-08-13 David Edelsohn <edelsohn@gnu.org>
13573 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
13574 save/restore routines.
13575 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
13577 2001-08-13 Andreas Jaeger <aj@suse.de>
13579 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
13580 the english is correct.
13582 2001-08-13 Zack Weinberg <zackw@panix.com>
13584 * expr.h: Split out optab- and libfunc-related code to...
13585 * optabs.h, libfuncs.h: ... these new headers.
13587 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
13589 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
13591 * mkconfig.sh: Don't include insn-codes.h from config.h.
13593 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
13594 enum insn_code is available. Move reload_in_optab and
13595 reload_out_optab array declarations to optabs.h.
13596 * regmove.c (gen_add3_insn): Move to optabs.c, export from
13597 there, prototype in expr.h.
13598 * gencodes.c: Cleanup: zap global variables, don't use
13599 printf where puts will do, don't bother defining MAX_INSN_CODE
13600 which nothing uses, let CODE_FOR_nothing get its value implicitly.
13602 * genemit.c, genopinit.c: Include optabs.h in generated file.
13603 * genoutput.c: Include insn-codes.h in generated file.
13604 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
13605 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
13606 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
13607 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
13608 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
13609 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
13611 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
13612 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
13613 config/m88k/m88k.c, config/sparc/sparc.c:
13614 Include libfuncs.h.
13615 * reload.c: Include expr.h and optabs.h before reload.h.
13616 * config/alpha/alpha.c: Include tree.h before reload.h.
13617 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
13618 and reload.h in that order.
13619 * config/sparc/sparc.c: Include debug.h.
13620 * recog.c: Include insn-codes.h.
13622 2001-08-13 Andreas Jaeger <aj@suse.de>
13624 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
13627 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
13629 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
13630 * gcc.c (init_spec): Fix typo in comment.
13631 * varasm.c (data_section): Fix typo in comment.
13633 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
13635 * predict.c (dump_prediction): New argument "USED".
13636 (combine_predictions_for_insn): Determine the used heuristics,
13637 output the case no heuristic applied.
13638 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
13640 2001-08-13 Andreas Jaeger <aj@suse.de>
13642 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
13645 2001-08-13 Kazu Hirata <kazu@hxi.com>
13647 * jump.c: Fix formatting.
13649 2001-08-13 Kazu Hirata <kazu@hxi.com>
13651 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
13654 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
13656 * loop.c (check_dbra_loop): Use condjump_label to compute
13659 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
13660 to better document the files they're in.
13662 2001-08-12 Zack Weinberg <zackw@panix.com>
13664 * recog.h (struct insn_operand_data): Shrink 'mode' field
13667 2001-08-12 Kazu Hirata <kazu@hxi.com>
13669 * gcc.c: Fix comment formatting.
13670 * gccspec.c: Likewise.
13671 * gcov.c: Likewise.
13672 * gcse.c: Likewise.
13673 * genemit.c: Likewise.
13674 * gengenrtl.c: Likewise.
13675 * genrecog.c: Likewise.
13676 * gensupport.c: Likewise.
13677 * ggc-page.c: Likewise.
13678 * global.c: Likewise.
13679 * graph.c: Likewise.
13680 * ifcvt.c: Likewise.
13681 * integrate.c: Likewise.
13683 * libgcc2.c: Likewise.
13684 * loop.c: Likewise.
13685 * mbchar.c: Likewise.
13686 * optabs.c: Likewise.
13687 * predict.c: Likewise.
13688 * prefix.c: Likewise.
13689 * profile.c: Likewise.
13690 * protoize.c: Likewise.
13691 * real.c: Likewise.
13692 * recog.c: Likewise.
13693 * regclass.c: Likewise.
13694 * regmove.c: Likewise.
13695 * reg-stack.c: Likewise.
13696 * reload1.c: Likewise.
13697 * resource.c: Likewise.
13698 * rtlanal.c: Likewise.
13701 2001-08-12 Kazu Hirata <kazu@hxi.com>
13703 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
13704 a tree representing a constant is passed to the macro.
13706 2001-08-12 Richard Henderson <rth@redhat.com>
13708 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
13709 (rs6000_elf_asm_out_destructor): New.
13710 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
13711 (DTORS_SECTION_ASM_OP): Remove.
13712 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
13713 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
13715 2001-08-12 David Edelsohn <edelsohn@gnu.org>
13718 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13719 * gcc.c (set_collect_gcc_options): New function, split out from
13721 Ignore elided switches.
13722 (do_spec_1): Invoke before executing command.
13723 (set_input): Export.
13724 Move declaration ...
13725 * gcc.h (set_input): ... here.
13726 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13729 2001-08-12 Richard Henderson <rth@redhat.com>
13731 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
13732 thinko wrt TARGET_RELOCATABLE.
13734 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
13736 * fix-header.c (cb_file_change): Update prototype.
13738 2001-08-11 Zack Weinberg <zackw@panix.com>
13740 * toplev.c (set_float_handler): Make static.
13741 * toplev.h: Don't prototype set_float_handler.
13743 * simplify-rtx.c: Don't include setjmp.h.
13744 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
13746 (simplify_unary_operation, simplify_binary_operation): Use them,
13747 via do_float_handler.
13749 * fold-const.c: Don't include setjmp.h.
13750 (exact_real_inverse_1): New function.
13751 (exact_real_inverse): Use it, via do_float_handler.
13753 * varasm.c: Don't include setjmp.h.
13754 (assemble_real_1): New function.
13755 (assemble_real): Use it, via do_float_handler.
13756 Call internal_error if we get a trap here.
13758 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
13759 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
13761 2001-08-11 Zack Weinberg <zackw@panix.com>
13763 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
13764 STACK_BOUNDARY if not already defined.
13766 * calls.c, function.c, reload1.c, explow.c: Don't default
13767 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
13768 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
13770 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
13773 * doc/tm.texi: Document that STACK_BOUNDARY is required;
13774 clarify difference between it and PREFERRED_STACK_BOUNDARY.
13776 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
13778 * cppmacro.c (enter_macro_context): Push macro expansions even
13781 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13783 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
13784 (rs6000_elf_section_type_flags): Actually return a value.
13786 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13788 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
13789 Clean up code: add missing comments and prototypes, fix warnings,
13790 remove obsolete code, fix spacing to conform to coding style.
13792 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
13794 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
13795 and TARGET_ASM_CLOSE_PAREN.
13796 (regclass_map): CC register belongs to class NO_REGS.
13797 (legitimize_pic_address): Don't generate unnecessary moves
13798 (to avoid confusing loop optimization).
13799 (check_and_change_labels): Replace jump_long by indirect_jump.
13800 (s390_final_chunkify): Don't start a new literal pool on section
13801 switch in 64-bit code.
13802 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
13804 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
13805 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
13806 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
13808 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
13809 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
13810 (CONST_COSTS): Fixed incorrect costs.
13812 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
13813 Use emit_jump instead of emit_jump_insn (gen_jump).
13814 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
13815 (to avoid confusing flow analysis).
13816 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
13817 (casesi, casesi_jump): New.
13818 (jump_long): Removed. Functionality merged into indirect_jump.
13819 (indirect_jump): Accept address_operand, not just register_operand.
13820 (cjump_long, icjump_long): Use same logic as indirect_jump.
13821 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
13822 Fixed broken setjmp/longjmp handling.
13823 (do_builtin_setjmp_setup): Removed.
13825 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
13826 broken GNU as versions that don't accept .quad with large
13827 negative values. Use hexadecimal output instead.
13828 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
13829 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
13830 FUNCTION_EPILOGUE): Removed. Now in targetm.
13832 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
13834 * config/s390/fixdfdi.h: Add missing copyright statement.
13835 Fix type conflicts on 64-bit. Add missing SFmode routines.
13837 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
13840 2001-08-11 Richard Henderson <rth@redhat.com>
13842 * rtl.h (REG_EH_RETHROW): Remove.
13843 * rtl.c (reg_note_name): Update.
13844 * combine.c (distribute_notes): Don't check for it.
13846 2001-08-11 Richard Henderson <rth@redhat.com>
13848 * combine.c (distribute_notes): Place REG_SETJMP.
13850 2001-08-11 Richard Henderson <rth@redhat.com>
13852 * doc/extend.texi (Arrays and pointers implementation): Discourage
13853 relying on sign-extension of pointers.
13855 2001-08-11 H.J. Lu <hjl@gnu.org>
13857 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
13859 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
13860 RDATA_SECTION_ASM_OP.
13862 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13864 * doc/install.texi (Specific, c4x): Fix cross-reference to the
13865 main manual to work both for info and HTML versions.
13867 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
13868 Matt Kraai <kraai@alumni.carnegiemellon.edu>
13870 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
13871 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
13872 (struct cpp_pool): New member first.
13873 * cppinit.c (append_include_chain): Plug memory leaks.
13874 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
13875 Allocate pragma structures from the (aligned) macro pool to
13876 avoid leaking memory.
13877 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
13878 so we don't leak memory.
13879 * hashtable.c (ht_destroy): New.
13880 * hashtable.h (ht_destroy): New.
13882 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
13883 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13885 * c-lex.c (map): Make const.
13886 (cb_file_change): Update for callback passing a line map.
13887 Don't assume we have a previous map. Remove sanity check
13888 about popping too many files.
13889 * cpperror.c (print_location): Make map const.
13890 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
13891 (cpp_make_system_header): Similarly.
13892 (search_from): Similarly.
13893 (_cpp_execute_include): Don't remember where we came from.
13894 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
13895 (struct cpp_reader): Make map const.
13896 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
13897 * cpplib.c (do_line): Update; line maps now hold sysp.
13898 (cpp_push_buffer): Similarly.
13899 (_cpp_do_file_change): Similarly; callback with map instead.
13900 (cpp_get_line_maps): Constify return value.
13901 (_cpp_pop_buffer): Update.
13902 * cpplib.h (struct cpp_file_change): Remove.
13903 (struct cpp_callbacks): Update.
13904 (cpp_get_line_maps): Constify return value.
13905 * cppmacro.c (_cpp_create_definition): Update.
13906 * cppmain.c (struct printer): Constify map.
13907 (maybe_print_line): Similarly.
13908 (print_line): Similarly. Deduce flags 1 and 2 here.
13909 (cb_file_change): Update.
13910 * line-map.c (free_line_maps): Warn regardless.
13911 (add_line_map): Return pointer to const. When passed NULL to_file
13912 with LC_LEAVE, use the obvious values for the return point so the
13913 caller doesn't have to figure them out.
13914 (lookup_line): Return pointer to const.
13915 (print_containing_files): Take pointer to const.
13916 * line-map.h (struct line_map): New members reason, sysp.
13917 (add_line_map): Return pointer to const.
13918 (lookup_line): Similarly.
13919 (print_containing_files): Take pointer to const.
13921 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
13922 Richard Henderson <rth@redhat.com>
13924 * regmove.c (regmove_optimize): Avoid setting a register twice in
13927 2001-08-10 Richard Henderson <rth@redhat.com>
13929 * doc/extend.texi (Arrays and pointers implementation): Document
13930 behavior of pointer/integer conversion.
13932 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
13934 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
13936 2001-08-10 Richard Henderson <rth@redhat.com>
13938 * doc/extend.texi (C Implementation): New chapter.
13939 * doc/gcc.texi (Top): Link it in.
13941 2001-08-10 Andrew Cagney <ac131313@redhat.com>
13943 * doc/install.texi (Specific): Fix CVS merge botch.
13945 2001-08-10 Richard Henderson <rth@redhat.com>
13947 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
13948 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
13950 2001-08-10 Zack Weinberg <zackw@stanford.edu>
13952 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
13953 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
13954 this macro is now required.
13956 * cselib.c (cselib_process_insn), flow.c (propagate_block),
13957 loop.c (find_and_verify_loops), reload.c (reload): Check
13958 for rtx code of CALL_INSN, not CALL, when deciding if we
13959 need to check for REG_SETJMP note.
13961 * gcse.c (compute_hash_table, compute_store_table): Update
13962 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
13965 * config/avr/avr.c: Fix typo.
13966 * config/convex/convex.c (expand_movstr): Use adjust_address.
13967 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
13969 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
13970 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
13972 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
13973 Do define STACK_BOUNDARY.
13974 * config/i370/i370.c: Include expr.h.
13975 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
13976 config/pa/som.h, config/v850/v850.h: Take in_ctors and
13977 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
13978 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
13979 * config/m88k/m88k.c: Include c-tree.h after expr.h.
13980 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
13981 * config/romp/romp.c: Include expr.h after tree.h.
13983 (output_fpop): Use xmalloc, not oballoc.
13984 * config/we32k/we32k.c: Include expr.h.
13986 2001-08-10 Kazu Hirata <kazu@hxi.com>
13988 * config/h8300/h8300.h: Fix formatting.
13990 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
13992 * c-common.h (RETURN_NULLIFIED_P): Lose.
13993 * c-semantics.c (genrtl_return_stmt): Don't check it.
13995 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
13997 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
13998 (mips_annotate_frame_insn): New function.
13999 (mips_emit_frame_related_store): New function.
14000 (save_restore_insns): Don't mark instructions that set up the base
14001 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
14002 the store instructions instead.
14003 (mips_expand_prologue): If the stack size is moved into a temporary
14004 register, do not mark that move as frame-related. Add a
14005 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
14007 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14009 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
14010 stack slot as unchanging if current_function_calls_eh_return.
14012 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
14014 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
14015 access the second half of the TFmode scratch operand.
14017 2001-08-10 Anthony Green <green@redhat.com>
14019 * java/class.c (emit_register_classes): Conditionalize code on
14022 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14024 * doc/install.texi (Specific, avr): Fix cross-reference to the
14025 main manual to work both for info and HTML versions.
14027 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14029 * stmt.c (expand_null_return_1): Remove code to generate simple returns
14030 and "use_goto" argument.
14031 (expand_null_return, expand_value_return): Update all callers.
14032 * function.c (expand_function_end): Remove code to generate simple
14034 * config/vax/vax.md (epilogue): New expander for function return.
14035 * doc/md.texi (epilogue): Remove "if defined".
14037 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14039 * Makefile.in: Partially revert my previous change:
14040 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
14041 of the hashtab.o and safe-ctype.o rules.
14043 2001-08-09 Richard Henderson <rth@redhat.com>
14045 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
14046 (USE_COLLECT2): Remove duplicate definition.
14047 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
14048 (use_collect2): Remove dead code.
14049 * configure.in (use_collect2): Remove will_use_collect2 and
14050 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
14051 * configure: Rebuild.
14053 * target.h (targetm.asm_out.constructor): New.
14054 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
14055 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
14056 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
14057 * varasm.c (in_ctors, in_dtors): New.
14058 (assemble_constructor, assemble_destructor): Remove.
14059 (default_stabs_asm_out_destructor): New.
14060 (default_named_section_asm_out_destructor): New.
14061 (dtors_section, default_dtor_section_asm_out_destructor): New.
14062 (default_stabs_asm_out_constructor): New.
14063 (default_named_section_asm_out_constructor): New.
14064 (ctors_section, default_ctor_section_asm_out_constructor): New.
14065 * output.h: Update declarations.
14066 * c-decl.c (c_expand_body): Use target hooks instead of
14067 assemble_constructor and assemble_destructor.
14068 * profile.c (output_func_start_profiler): Likewise.
14069 * objc/objc-act.c (finish_objc): Likewise.
14070 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
14071 for the constructor.
14072 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
14074 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
14075 (DTORS_SECTION_ASM_OP): Likewise.
14076 (__CTOR_LIST__): Use attribute section when possible.
14077 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
14079 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
14080 ASM_OUTPUT_CONSTRUCTOR.
14082 * config/darwin.c (machopic_asm_out_constructor): New.
14083 (machopic_asm_out_destructor): New.
14084 * config/darwin-protos.h: Update declarations.
14085 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14086 (ASM_OUTPUT_DESTRUCTOR): Remove.
14087 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14088 * config/nextstep.c (nextstep_asm_out_constructor): New.
14089 (nextstep_asm_out_destructor): New.
14090 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14091 (ASM_OUTPUT_DESTRUCTOR): Remove.
14092 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14093 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
14094 ASM_OUTPUT_*STRUCTOR.
14095 * config/i386/aix386ng.h: Likewise.
14097 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
14098 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
14099 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14100 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14101 * config/lynx.h: Likewise.
14102 * config/netware.h: Likewise.
14103 * config/psos.h: Likewise.
14104 * config/alpha/alpha-interix.h: Likewise.
14105 * config/alpha/elf.h: Likewise.
14106 * config/arc/arc.h: Likewise.
14107 * config/arm/aof.h: Likewise.
14108 * config/arm/coff.h: Likewise.
14109 * config/arm/elf.h: Likewise.
14110 * config/c4x/c4x.h: Likewise.
14111 * config/h8300/h8300.h: Likewise.
14112 * config/i386/cygwin.h: Likewise.
14113 * config/i386/djgpp.h: Likewise.
14114 * config/i386/i386-coff.h: Likewise.
14115 * config/i386/i386-interix.h: Likewise.
14116 * config/i386/sco5.h: Likewise.
14117 * config/i386/vsta.h: Likewise.
14118 * config/i386/win32.h: Likewise.
14119 * config/i960/i960-coff.h: Likewise.
14120 * config/ia64/sysv4.h: Likewise.
14121 * config/m68hc11/m68hc11.h: Likewise.
14122 * config/m68k/coff.h: Likewise.
14123 * config/m68k/mot3300.h: Likewise.
14124 * config/m88k/m88k.h: Likewise.
14125 * config/mcore/mcore-pe.h: Likewise.
14126 * config/mcore/mcore.h: Likewise.
14127 * config/mips/elf.h: Likewise.
14128 * config/mips/elf64.h: Likewise.
14129 * config/mips/iris6.h: Likewise.
14130 * config/pa/pa64-hpux.h: Likewise.
14131 * config/rs6000/sysv4.h: Likewise.
14132 * config/sh/sh.h: Likewise.
14133 * config/sparc/litecoff.h: Likewise.
14135 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
14136 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
14137 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14138 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14139 (ASM_OUTPUT_DESTRUCTOR): Remove.
14140 * config/a29k/a29k.c: Move include of tree.h.
14141 * config/a29k/udi.h: Delete file.
14142 * config/alpha/alpha.c (vms_asm_out_constructor): New.
14143 (vms_asm_out_destructor): New.
14144 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
14145 (EXTRA_SECTION_FUNCTIONS): Likewise.
14146 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14147 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14148 * config/c4x/c4x.c: Move include of tree.h.
14149 * config/clipper/clipper.c (clix_asm_out_constructor): New.
14150 (clix_asm_out_destructor): New.
14151 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14152 (ASM_OUTPUT_DESTRUCTOR): Remove.
14153 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14154 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14155 (TARGET_ASM_CONSTRUCTOR): New.
14156 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
14157 (sco_asm_out_constructor): New.
14158 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
14159 * config/i386/svr3gas.h: Remove stack grows up code.
14160 Remove code duplicated from i386/sysv3.h.
14161 (TARGET_ASM_CONSTRUCTOR): New.
14162 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
14163 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
14164 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14165 (TARGET_ASM_CONSTRUCTOR): New.
14166 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
14167 (m68hc11_asm_out_destructor): New.
14168 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
14169 (TARGET_ASM_DESTRUCTOR): New.
14170 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
14171 * config/m68k/dpx2.h: Properly undef all the bits inherited from
14172 config/svr3.h pertaining to section manipulation.
14173 * config/m68k/dpx2g.h: Remove #if 0 code.
14174 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
14175 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
14176 (ASM_OUTPUT_CONSTRUCTOR): Remove.
14177 (TARGET_ASM_CONSTRUCTOR): New.
14178 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
14179 (m88k_svr3_asm_out_constructor): New.
14180 (m88k_svr3_asm_out_destructor): New.
14181 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14182 (ASM_OUTPUT_DESTRUCTOR): Remove.
14183 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14184 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
14185 * config/rs6000/aix.h: Likewise.
14186 * config/mips/rtems64.h: Don't undef removed constructor related bits.
14187 * config/mips/vxworks.h: Likewise.
14188 * config/rs6000/lynx.h: Likewise.
14189 * config/sh/elf.h: Likewise.
14190 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
14191 (DTORS_SECTION_ASM_OP): New.
14192 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14193 (ASM_OUTPUT_DESTRUCTOR): Remove.
14194 * config/sparc/sol2-sld-64.h: Likewise.
14195 * config/vax/vax.c (vms_asm_out_constructor): New.
14196 (vms_asm_out_destructor): New.
14197 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
14198 (ASM_OUTPUT_DESTRUCTOR): Remove.
14199 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
14201 * doc/tm.texi (@node Initialization): Update.
14203 2001-08-09 Richard Henderson <rth@redhat.com>
14205 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
14206 (__do_global_dtors_aux): Use gp-relative static data to avoid
14207 one dynamic relocation.
14208 (__do_frame_setup): Register Java classes.
14209 * config/alpha/crtend.asm (__JCR_END__): New.
14211 2001-08-09 Zack Weinberg <zackw@stanford.edu>
14213 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
14214 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
14215 (GEN, STAGESTUFF): Add new files.
14216 (insn-constants.h, s-constants, tm-preds.h, s-preds,
14217 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
14218 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
14219 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
14220 as well as insn-codes.h and insn-flags.h in config.h; and no
14221 extra headers in tconfig.h and hconfig.h.
14223 * gencodes.c: Eliminate code to generate predicate declarations
14224 or #defines for md-file constants.
14225 * genconstants.c, genpreds.c: New files.
14227 * i386.md: Re-order guard expressions such that TARGET_64BIT
14228 comes first, when this permits better optimization. Add
14229 TARGET_64BIT to more x86-64 patterns. Add comment explaining
14230 why this is desirable.
14232 2001-08-09 Jakub Jelinek <jakub@redhat.com>
14234 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
14235 (find_fde_for_dso): Remove.
14236 (_Unwind_IteratePhdrCallback): New.
14237 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
14238 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
14240 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14242 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
14243 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
14245 2001-08-09 Graham Stott <grahams@redhat.com>
14247 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
14248 (vis_no_unit): Use it.
14249 (visualize_no_unit): Add the insn only if room exists.
14251 2001-08-09 Graham Stott <grahams@redhat.com>
14253 * predict.c (estimate_probability): Replace magic numbers with
14254 appropriate enumeration.
14256 2001-08-09 Graham Stott <grahams@redhat.com>
14258 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
14260 (EXTRACT_FLAGS): Likewise.
14262 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
14264 * config/mips/mips.c (mips_legitimate_address_p): Check for
14265 CONST_INT in last patch.
14267 2001-08-08 Anthony Green <green@redhat.com>
14269 * java/class.c (emit_register_classes): Use assemble_jcr if
14270 possible. Keep the original mechanism as a fallback.
14271 * defaults.h (JCR_SECTION_NAME): Define if we have named section
14272 and weak symbol support.
14273 * crtstuff.c (__JCR_LIST__): Define.
14274 (__JCR_END__): Define.
14275 (_Jv_RegiserClasses): Define weak symbol if possible.
14276 (__do_global_ctors_aux): Register classes for ELF targets with
14277 weak symbol support.
14279 2001-08-08 Kazu Hirata <kazu@hxi.com>
14281 * dbxout.c: Fix comment formatting.
14282 * dependence.c: Likewise.
14284 * diagnostic.c: Likewise.
14285 * dominance.c: Likewise.
14286 * doprint.c: Likewise.
14287 * dwarf2out.c: Likewise.
14288 * dwarfout.c: Likewise.
14289 * emit-rtl.c: Likewise.
14290 * except.c: Likewise.
14291 * explow.c: Likewise.
14292 * expmed.c: Likewise.
14293 * expr.c: Likewise.
14294 * flow.c: Likewise.
14295 * fold-const.c: Likewise.
14296 * function.c: Likewise.
14298 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14300 * global.c (retry_global_alloc): Avoid shadowing allocno.
14302 2001-08-08 Mark Mitchell <mark@codesourcery.com>
14304 * except.c (remove_fixup_regions): Fix typo.
14306 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
14308 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
14309 unsigned HOST_WIDE_INT to avoid warning.
14310 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
14311 * flow.c (set_block_for_new_insns): Likewise.
14313 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
14315 * sibcall.c (return_value_pseudo): New static variable.
14316 (skip_copy_to_return_value): Handle return_value_pseudo.
14317 (call_ends_block_p): Ensure that return_value_pseudo is set.
14318 (optimize_sibling_and_tail_recursive_call): Discover the
14319 load of pseudo return value in alternate exit block.
14321 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
14323 * calls.c (ECF_ALWAYS_RETURN): New constant.
14324 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
14325 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
14326 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
14327 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
14328 * rtl.c (reg_note_name): New name.
14329 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
14331 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
14333 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
14335 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
14337 * alias.c (get_alias_set): Return a previously calculated
14338 alias set for a VAR_DECL.
14339 * function.c (gen_mem_addressof): Calculate the alias set before
14342 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
14344 * predict.def: Set hitrates according our experimental run.
14346 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
14348 * i386.h (HARD_REGNO_RENAME_OK): New macro.
14350 2001-08-08 H.J. Lu <hjl@gnu.org>
14352 * config/mips/mips.c (mips_unique_section): New. Copied from
14355 * config/mips/mips-protos.h (mips_unique_section): New
14358 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
14360 * config/mips/little.h: New. Generic little endian mips
14361 targets. Only mips*-*-linux* is converted to use it so far.
14363 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
14364 (WCHAR_TYPE): Defined
14365 (WCHAR_TYPE_SIZE): Likewise.
14366 (INIT_SUBTARGET_OPTABS): Likewise.
14367 (BSS_SECTION_ASM_OP): Likewise.
14368 (SBSS_SECTION_ASM_OP): Likewise.
14369 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
14370 (ASM_DECLARE_OBJECT_NAME): Likewise.
14371 (UNIQUE_SECTION): Likewise.
14372 (EXTRA_SECTIONS): Likewise.
14373 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
14374 (ASM_OUTPUT_DESTRUCTOR): Likewise.
14375 (ASM_OUTPUT_DEF): Likewise.
14376 (HANDLE_SYSV_PRAGMA): Removed.
14377 (NO_IMPLICIT_EXTERN_C): Likewise.
14378 (TARGET_MEM_FUNCTIONS): Likewise.
14379 (STARTFILE_SPEC): Likewise.
14380 (ENDFILE_SPEC): Likewise.
14381 (LIB_SPEC): Likewise.
14382 (INVOKE__main): Likewise.
14383 (CTOR_LIST_BEGIN): Likewise.
14384 (CTOR_LIST_END): Likewise.
14385 (DTOR_LIST_BEGIN): Likewise.
14386 (DTOR_LIST_END): Likewise.
14387 (SET_ASM_OP): Likewise.
14388 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14389 (ASM_OUTPUT_DEF): Likewise.
14390 (ASM_OUTPUT_IDENT): Likewise.
14392 * config/mips/mips.h (ASM_SPEC): Undefine before define.
14393 (CPLUSPLUS_CPP_SPEC): Likewise.
14394 (ASM_APP_ON) Redefine only if not defined.
14395 (ASM_APP_OFF): Likewise.
14396 (ASM_OUTPUT_SOURCE_LINE): Likewise.
14397 (ASM_OUTPUT_IDENT): Likewise.
14399 * config.gcc: Update tm_file for Linux/mips.
14401 2001-08-08 Bernd Schmidt <bernds@redhat.com>
14403 * cselib.c (cselib_record_sets): If insn is predicated, turn
14404 sources into IF_THEN_ELSEs.
14406 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
14407 Turn into define_insn_and_split.
14409 * sched-deps.c: Include "cselib.h".
14410 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
14411 Use cselib to turn memory addresses into VALUEs.
14412 (sched_analyze): Call cselib_init/cselib_finish if necessary.
14413 * sched-int.h (struct sched_info): New member USE_CSELIB.
14414 * sched-ebb.c (ebb_sched_info): Initialize it.
14415 * sched-rgn.c (rgn_sched_info): Likewise.
14416 * Makefile.in (sched-deps.o): Update dependencies.
14418 * cselib.h (cselib_subst_to_values): Declare.
14419 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
14420 that have no value and autoincs to be handled by generating a new
14423 2001-08-08 Graham Stott <grahams@redhat.com>
14425 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
14426 within fixed length SEQUENCE.
14428 2001-08-08 Graham Stott <grahams@redhat.com>
14430 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
14431 (diagnostic_prefixing_rule): Likewise.
14432 (diagnostic_line_cutoff): Likewise.
14433 (diagnostic_kind_count): Likewise.
14435 2001-08-08 Graham Stott <grahams@redhat.com>
14437 * alias.c (find_base_decl): Delete redundent assignment.
14439 2001-08-08 Graham Stott <grahams@redhat.com>
14441 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
14442 (abs): Uppercase and paranthesize macro parameter.
14443 (MEM_DEPENDENCY): Add whitespace.
14445 2001-08-08 Graham Stott <grahams@redhat.com>
14447 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
14448 failure check for CONST_INT
14450 2001-08-08 Graham Stott <grahams@redhat.com>
14452 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
14453 (libcall_dead_p): Likewise.
14455 (mark_used_regs): Constify fmt.
14456 (find_use_as_address): Likewise.
14458 2001-08-08 Graham Stott <grahams@redhat.com>
14460 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
14463 2001-08-08 Graham Stott <grahams@redhat.com>
14465 * combine.c (combine_simplify_rtx): Update comment and
14466 remove erroneous test.
14468 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14470 * cppinit.c (cpp_finish): Pop the final buffer without comment.
14471 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
14472 take care to avoid multiple no-newline at EOF warnings in that
14475 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
14477 * calls.c (expand_call): Do not emit INSN_SETJMP note.
14478 (emit_library_call_value_1): Likewise.
14479 (emit_call_1): Emit REG_SETJMP note.
14480 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
14482 * cselib.c (cselib_process_insn): Likewise.
14483 * flow.c (propagate_block): Likewise.
14484 * loop.c (find_and_verify_loops): Likewise.
14485 * reload.c (find_equiv_regs): Likewise.
14486 * reload1.c (reload): Likewise.
14487 * resource.c (mark_referenced_resources,
14488 mark_set_resources): Likewise.
14489 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
14490 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
14491 * haifa-sched.c (unlink_other_notes): Likewise.
14492 (reemit_notes): Likewise.
14493 * sched-ebb.c (sched_ebb): Likewise.
14494 * sched-rgc.c (sched_region): Likewise.
14495 * rtl.c (note_insn_name): Likewise.
14496 (reg_note_name): Add REG_SETJMP
14497 * rtl.h (reg_note): Add REG_SETJMP.
14498 (insn_note): Remove NOTE_INSN_SETJMP.
14500 * profile.c (branch_prob): Add fake edges for setjmp.
14502 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
14504 * config.gcc: Quote target_cpu_default2 correctly for
14505 powerpc*-*-* targets.
14507 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
14509 * cpplib.h, line-map.h: Update comments.
14510 * cppmain.c (printer_init): Move inline.
14511 (maybe_print_line, print_line): Take a map pointer.
14512 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
14513 (cb_file_change): Don't use prior value of print.map.
14515 2001-08-07 David Edelsohn <edelsohn@gnu.org>
14517 * doc/install.texi: Document fine-grained multilib configuration.
14519 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
14521 * rtlanal.c (find_first_parameter_load): Call note_stores
14522 only on the instructions.
14524 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14526 * alias.c (nonlocal_mentioned_p):
14527 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
14528 * calls.c (emit_call_1): Likewise.
14529 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
14530 * cselib.c (cselib_process_insn): Likewise.
14531 * df.c (df_insns_modify): Likewise.
14532 * flow.c (need_fake_edge_p): Likewise.
14533 (propagate_one_insn): Likewise.
14534 * haifa-sched.c (reemit_notes): Likewise.
14535 * integrate.c (copy_insn_list): Likewise.
14536 * jump.c (delete_prior_computation): Likewise.
14537 * local-alloc.c (validate_equiv_mem): Likewise.
14538 * loop.c (scan_loop): Likewise.
14539 * predict.c (estimate_probability): Likewise.
14540 * reload.c (reload): Likewise.
14541 * sched-deps (sched_analyze): Likewise.
14542 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
14543 * gcse.c (compute_hash_table): Likewise.
14544 (mark_call): Likewise.
14545 (store_killed_in_insn): Likewise.
14547 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
14549 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
14551 2001-08-06 Richard Henderson <rth@redhat.com>
14553 * varasm.c (assemble_gc_entry): Remove.
14554 * output.h: Likewise.
14556 2001-08-06 Richard Henderson <rth@redhat.com>
14558 * varasm.c (assemble_constructor): Take a symbol_ref and a
14559 priority instead of a bare string. Move priority handling
14560 here from cp/decl2.c.
14561 * output.h: Update decls.
14563 * c-decl.c (c_expand_body): Update calls to assemble_constructor
14564 and assemble_destructor.
14565 * profile.c (output_func_start_profiler): Likewise.
14566 * objc/objc-act.c (finish_objc): Likewise.
14567 (build_module_descriptor): Return the symbol not the symbol name.
14569 2001-08-06 David Edelsohn <edelsohn@gnu.org>
14571 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
14572 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
14573 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
14574 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
14575 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
14576 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
14578 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14580 * cpperror.c (print_containing_files): Moved to line-map.c.
14581 (print_location): line-map.c handles re-listing or otherwise.
14582 * cpphash.h (struct lexer_state): Remove next_bol.
14583 (struct cpp_buffer): Remove include_stack_listed.
14584 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
14585 Remove faked buffer handling.
14586 (_cpp_do_file_change): Tweak.
14587 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
14588 * cppmain.c (struct printer): Remove filename.
14589 (print_line, cb_file_change): Update accordingly.
14590 * line-map.c: Include intl.h.
14591 (init_line_maps): Initialize last_listed.
14592 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
14593 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
14594 (print_containing_files): New.
14595 * line-map.h (struct line_maps): New member last_listed.
14596 (print_containing_files, INCLUDED_FROM): New.
14597 * Makefile.in: Update.
14598 * po/POTFILES.in: Add line-map.c.
14600 2001-08-06 Richard Henderson <rth@redhat.com>
14602 * except.c (convert_from_eh_region_ranges_1): Never mark
14603 USE or CLOBBER insns as throwing.
14605 * expr.c (store_constructor): Don't clobber memory targets.
14607 2001-08-06 Andreas Jaeger <aj@suse.de>
14609 * profile.c (branch_prob): Remove unused variable insn.
14611 * Makefile.in (local-alloc.o): Add dependency on except.h.
14613 * local-alloc.c: Include except.h for can_throw_internal prototype.
14615 2001-08-06 Richard Henderson <rth@redhat.com>
14617 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
14618 * function.c (expand_main_function): Implement it.
14619 * doc/tm.texi: Document it.
14621 2001-08-06 Stan Shebs <shebs@apple.com>
14623 * doc/install.texi: Document powerpc-*-darwin* details.
14625 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
14627 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
14628 (ASM_CPU_SPEC): Move back to rs6000.h
14629 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
14631 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
14633 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
14636 * config/rs6000/linux64.h: Ditto.
14638 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14639 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
14642 Remove accidently readded definitions of FUNCTION_PROLOGUE,
14643 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
14645 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
14648 2001-08-05 Richard Henderson <rth@redhat.com>
14650 * local-alloc.c (update_equiv_regs): Do not move insns that
14653 2001-08-05 Jan Hubicka <jh@suse.cz>
14655 * Makefile.in (reload1.o): Add dedendancy on except.h
14656 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
14658 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
14659 indicating wehther edges has been cleaned up.
14660 * reload1.c: Inlucde except.h
14661 (fixup_abnormal_edges): Accept deleted insns.
14662 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
14665 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
14667 * cpplib.c (do_line): Correct line number after pop_buffer.
14669 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14671 PR preprocessor/3824
14672 * line-map.c: Update comments.
14673 * line-map.h: Update comments.
14674 * tradcif.y: Don't consider large numbers unsigned.
14676 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
14678 PR preprocessor/3081
14679 * c-lex.c (map): New.
14680 (cb_file_change): Update map and use it.
14681 (cb_def_pragma, cb_define, cb_undef): Use map and line.
14682 (c_lex): Update to use map.
14683 * cpperror.c (print_location): Move to using logical line numbers.
14684 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
14685 (cpp_make_system_header): Similarly.
14686 (_cpp_execute_include): Stop line numbering hacks. Store the
14687 line we will return to.
14688 * cpphash.h (CPP_BUF_LINE): Remove.
14689 (struct cpp_buffer): Remove lineno and pseudo_newlines.
14690 Add map and return_to_line.
14691 (_cpp_do_file_change): Update.
14692 * cppinit.c (cpp_start_read): Update line kludge.
14693 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
14694 (trigraph_ok): Use logical line numbers for diagnostics.
14695 (skip_block_comment): Likewise.
14696 (skip_whitespace): Likewise.
14697 (skip_line_comment): Use pfile->line instead.
14698 (_cpp_lex_token): Update to use logical line numbering exclusively.
14699 Handle BOL locally. Accept new lines in directives, but keep
14700 pfile->line decremented. Diagnostics use logical lines. Update
14701 directive handling.
14702 * cpplib.c (SEEN_EOL): New.
14703 (skip_rest_of_line, check_eol): Use it.
14704 (end_directive): Increase line number when accepting the newline
14705 at the end of a directive.
14706 (run_directive): Simplify.
14707 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
14708 (_cpp_do_file_change): Update to take buffer line number as an
14709 argument, and store the current map in the cpp_reader. Remove
14710 line number kludges.
14711 (_cpp_do__Pragma): Restore output position after a _Pragma.
14712 (cpp_push_buffer): Don't set output line or lineno.
14713 (_cpp_pop_buffer): Transfer more info from a faked buffer.
14714 Remove line kludge. Set output_line.
14715 * cppmacro.c (builtin_macro): Update handling of __LINE__.
14716 (parse_arg): Use logical lines.
14717 (save_lookahead_token): Save EOFs too now.
14718 * cppmain.c (struct printer): Fix comments.
14719 (printer_init): Simplify, let caller do errors.
14720 (scan_translation_unit, check_multiline_token, dump_macro): Update.
14721 (maybe_print_line): Simplify.
14722 (print_line): Don't print a linemarker if -P.
14723 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
14724 (cb_file_change): Simplify.
14725 * line-map.h (LAST_SOURCE_LINE): Fix.
14726 (CURRENT_LINE_MAP): New.
14728 2001-08-05 Bernd Schmidt <bernds@redhat.com>
14730 * doloop.c (doloop_modify_runtime): Properly compute number of
14731 iterations if loop was unrolled.
14733 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
14734 if their CSELIB_VAL_PTRs are.
14736 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
14737 (setup_spill_pointers): Initialize it.
14738 (spill_restore_mem): Set it.
14739 (do_spill, do_restore): Use it to add REG_INC note.
14740 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
14742 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
14743 asms if other insns are available.
14745 * config/ia64/ia64.c (condop_operator): New predicate.
14746 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
14747 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
14750 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
14751 temporary register than directly using a MEM.
14753 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14755 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
14756 parameter in last change.
14758 2001-08-04 Zack Weinberg <zackw@panix.com>
14760 * sparc.md: Don't use #if inside C test expression.
14762 2001-08-04 Richard Henderson <rth@redhat.com>
14764 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
14766 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
14768 * cpphash.h (struct cpp_reader): New member directive_line.
14769 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
14770 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
14771 do_pragma): Pass line to callbacks.
14772 (start_directive): Record line of directive.
14773 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
14774 cb_include): Similarly.
14775 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
14778 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14780 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
14783 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14785 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
14787 * reload1.c (fixup_abnormal_edges): New static function.
14790 * flow.c (need_fake_edge_p): New function.
14791 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
14792 avoid call insn to be very last insn in the insn stream.
14794 * profile.c (branch_prob): Call flow_call_edges_add instead of
14795 doing that by hand; cleanup cfg to re-merge basic blocks once
14798 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14800 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
14801 are also on line-map.h.
14802 * cppfiles.c (stack_include_file): Update.
14803 * cpphash.h (struct cpp_buffer): New member return_at_eof.
14804 (_cpp_pop_buffer): New.
14805 * cppinit.c (cpp_destroy, cpp_finish): Update.
14806 (do_includes): Mark each buffer to return at EOF.
14807 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
14808 return as requested.
14809 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
14810 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
14811 * cpplib.h (cpp_pop_buffer): Remove.
14812 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
14813 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
14815 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
14817 (do_preprocessing): Update.
14818 * fix-header.c (read_scan_file): Update. No need to pop buffers.
14819 * c-parse.in (_yylex): Similarly.
14820 * scan-decls.c (scan_decls): Similarly.
14821 * line-map.h: Update comments.
14823 * objc/Make-lang.in (objc-act.o): Update dependencies.
14825 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14827 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
14828 and soft register for operand 0.
14829 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
14831 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14833 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
14834 register for operand 0.
14835 ("bitcmpqi_z_used"): Allow memory for operand 0.
14836 (split "bitcmpqi"): New split to handle address reg as operand 1.
14838 2001-08-04 Andreas Jaeger <aj@suse.de>
14840 * gcse.c: Revert Daniel's last patch.
14842 2001-08-03 Zack Weinberg <zackw@stanford.edu>
14844 * sparc-protos.h: Add prototypes for fp_zero_operand and
14846 * sh-protos.h: Add prototype for fpul_operand.
14848 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
14850 * doc/extend.texi (Other Builtins): Fix typo in last change.
14852 2001-08-03 Richard Henderson <rth@redhat.com>
14854 * target.h (gcc_target): Add asm_out.named_section,
14855 section_type_flags, have_named_sections.
14856 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
14857 (TARGET_HAVE_NAMED_SECTIONS): New.
14858 (TARGET_SECTION_TYPE_FLAGS): New.
14860 * Makefile.in (toplev.o): Depend on TARGET_H.
14861 (varasm.o, dbxout.o): Likewise.
14862 * c-common.c (decl_attributes): Check targetm.have_named_sections
14863 instead of ifdef ASM_OUTPUT_SECTION_NAME.
14864 * dbxout.c (dbxout_function_decl): Likewise.
14865 (dbxout_function_end): Likewise.
14866 * toplev.c (compile_file): Likewise.
14867 * varasm.c (exception_section): Likewise.
14868 * cp/decl2.c (finish_objects): Likewise.
14870 * defaults.h (EH_FRAME_SECTION): Remove.
14871 (EH_FRAME_SECTION_ASM_OP): Remove.
14872 (EH_FRAME_SECTION_NAME): New.
14873 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
14874 (UNIQUE_SECTION_P): Remove.
14875 * dwarf2out.c (SECTION_FORMAT): Remove.
14876 (ASM_OUTPUT_SECTION): Remove.
14877 (output_call_frame_info): Use named_section_flags.
14878 (output_comp_unit, dwarf2out_start_source_file): Likewise.
14879 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
14880 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
14881 * varasm.c (in_eh_frame, eh_frame_section): Remove.
14882 (named_section_flags): New.
14883 (named_section): Use it and targetm.section_type_flags.
14884 (resolve_unique_section): New.
14885 (assemble_start_function): Use it.
14886 (asm_emit_uninitialised, assemble_variable): Likewise.
14887 (default_section_type_flags): New.
14888 (default_no_named_section, default_elf_asm_named_section): New.
14889 (default_coff_asm_named_section, default_pe_asm_named_section): New.
14890 * output.h: Update varasm.c decls.
14891 (SECTION_*): New flags.
14893 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
14894 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
14896 * config/elfos.h (UNIQUE_SECTION_P): Remove.
14897 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
14898 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
14899 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
14900 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
14901 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
14902 * config/mips/elf.h, config/mips/elf64.h: Likewise.
14903 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
14904 * config/pa/pa64-hpux.h,
14906 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
14907 (TARGET_ASM_NAMED_SECTION): New.
14908 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
14909 * config/alpha/vms.h, config/arm/coff.h: Likewise.
14910 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
14911 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
14912 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
14913 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
14914 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
14915 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
14916 * config/i386/sco5.h, config/i386/win32.h: Likewise.
14917 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
14918 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
14919 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
14920 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
14921 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
14922 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
14923 * config/sparc/sysv4.h: Likewise.
14925 * config/nextstep.h: Error until named sections implemented.
14927 * config/a29k/a29k.c (a29k_asm_named_section): New.
14928 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
14929 (vms_section_type_flags, vms_asm_named_section): New.
14930 * config/arm/arm.c (arm_elf_asm_named_section): New.
14931 * config/avr/avr.c (asm_output_section_name): Remove.
14932 * config/avr/avr-protos.h: Update.
14933 * config/c4x/c4x.c (c4x_asm_named_section): New.
14934 * config/h8300/h8300.c (h8300_asm_named_section): New.
14935 * config/i386/i386.c (sco_asm_named_section): New.
14936 * config/i386/winnt.c (SECTION_PE_SHARED): New.
14937 (i386_pe_section_type_flags): New.
14938 (i386_pe_asm_named_section): New.
14939 * config/i386/i386-protos.h: Update.
14940 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
14941 * config/mcore/mcore.c (mcore_asm_named_section): New.
14942 * config/mips/mips.c (iris6_asm_named_section): New.
14943 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
14944 instead of UNIQUE_SECTION_P.
14945 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
14946 (xcoff_asm_named_section): New.
14947 * config/sh/sh.c (sh_asm_named_section): New.
14948 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
14950 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
14951 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
14952 (EH_FRAME_SECTION_NAME): New.
14953 (EXCEPTION_SECTION): New.
14954 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
14955 (DEBUG_*_SECTION): Remove.
14956 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
14957 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
14958 (EH_FRAME_SECTION_ASM_OP): Remove.
14960 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
14961 (ASM_OUTPUT_SECTION_NAME): Remove.
14962 (TARGET_ASM_NAMED_SECTION): New.
14963 (TARGET_HAVE_NAMED_SECTIONS): New.
14964 (TARGET_SECTION_TYPE_FLAGS): New.
14965 (EH_FRAME_SECTION_ASM_OP): Remove.
14966 (EH_FRAME_SECTION_NAME): New.
14968 2001-08-03 Zack Weinberg <zackw@stanford.edu>
14970 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
14971 for complex expressions when cfun == 0.
14972 * doc/extend.texi: Document that __builtin_constant_p can be
14973 used in data initializers as well as functions.
14975 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
14977 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
14978 variable I locally, instead of expecting a declaration in the
14981 2001-08-03 Richard Henderson <rth@redhat.com>
14983 * except.c (collect_one_action_chain): Add an explicit cleanup
14984 action if regions surrounding a catch were encoded entirely
14985 within the call-site entry.
14987 2001-08-03 Richard Henderson <rth@redhat.com>
14989 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
14990 don't take REGNO of a non-register.
14992 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
14994 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
14995 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
14996 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
14997 (__gthread_mutex_init_function): New function for mutex initialization.
14999 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15001 * Makefile.in: Revert screwed up commit.
15003 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15005 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
15006 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
15007 merged by linker script to get a final _exit().
15008 (__do_global_dtors): New for destructor handling in specific exit
15010 (__do_global_ctors): New for constructors in specific install section.
15011 (__map_data_section): Map data sections before running constructors.
15012 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
15013 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
15014 (DTORS_SECTION_ASM_OP): Likewise.
15015 (CTORS_SECTION_FUNCTION): Define to force a reference to
15017 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
15019 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15021 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
15023 * Makefile.in: Add df.h to gcse.c dependencies.
15025 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15027 * varasm.c (output_constant_def_contents): Use for the length of a
15028 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
15029 depending on which is larger.
15031 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
15033 * gcse.c: Include df.h for use as a dataflow analyzer.
15035 Declaration of reg_set_info: gone.
15036 New df_analyzer variable used by store motion.
15037 (reg_set_info): Deleted.
15038 (mark_mem_regs): New function, analyze regs used by a mem.
15039 (store_ops_ok): Use dataflow analyzer results to determine if
15040 necessary regs are changed in the block.
15041 (find_moveable_store): Remove check for symbol ref, we can handle
15042 much more complex expressions now.
15043 (compute_store_table): Remove most of the code, it's unnecessary
15044 now that the dataflow analyzer records the info for us.
15045 (store_killed_after): Add parameter to say whether to do the
15046 store_ops_okay test, used to speed up testing when we already know
15047 the answer, and just want to know if the store itself was killed.
15048 (build_store_vector): Largely rewritten to calculate the various
15049 vectors properly, and somewhat optimized.
15050 (store_motion): Init the df_analyzer, get REG_DEF chains.
15051 Also handle trapping expressions (since mems almost always trap)
15052 (simple_mem): Redefine what a simple mem is.
15054 2001-08-03 DJ Delorie <dj@redhat.com>
15056 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
15057 set from a constant part of the condition.
15059 2001-08-01 Andrew Cagney <ac131313@redhat.com>
15061 * mkdeps.c (deps_add_default_target): Make local variable
15062 ``start'' a const char pointer.
15063 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
15065 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15067 * doc/install.texi (Configuration): Fix markup.
15068 (Specific, i?86-*-udk): Likewise.
15069 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
15071 Document --enable-threads and --enable-libgcj status.
15072 (Specific, mips-sgi-irix*): Canonicalize triples.
15073 (Specific, mips-sgi-irix5): Warn about problems with this config.
15074 Mention required GNU as patch.
15075 Native assembler problems are fixed.
15076 (Specific, mips-sgi-irix6): Update O32 ABI support status.
15077 Document --enable-threads and --enable-libgcj status.
15079 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15081 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
15084 2001-08-03 Richard Henderson <rth@redhat.com>
15086 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
15089 2001-08-03 Richard Henderson <rth@redhat.com>
15091 * rtlanal.c (find_first_parameter_load): Stop if we
15092 reach a CODE_LABEL at BOUNDARY.
15094 2001-08-03 Richard Henderson <rth@redhat.com>
15096 * config/alpha/alpha.md (force_movdi): New insn.
15097 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
15098 Tweek FRP marking of VMS prologue insns.
15099 * config/alpha/vms.h (EPILOGUE_USES): New.
15101 2001-08-02 Richard Henderson <rth@redhat.com>
15103 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
15105 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15107 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
15108 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
15109 config/convex/convex.h, config/d30v/d30v.c,
15110 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
15111 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
15112 config/mips/mips.h, config/mn10200/mn10200.h,
15113 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
15114 config/v850/v850.h, config/vax/openbsd.h,
15115 config/vax/openbsd1.h, config/vax/ultrix.h,
15116 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
15117 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
15118 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
15119 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
15120 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
15121 in comments and documentation.
15123 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15127 * Makefile.in (line-map.o): New.
15128 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
15129 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
15130 * cpperror.c (print_containing_files): Similarly.
15131 (print_location): Update. Don't output a space before _Pragma.
15132 * cppfiles.c (stack_include_file): Set to line 1 immediately.
15133 (stack_include_filee, cpp_make_system_header): Update.
15134 (_cpp_execute_include): Get logical line number right for calling
15135 as-yet-unterminated #include.
15136 * cpphash.h (struct cpp_reader): Add line_maps.
15137 (_cpp_do_file_change): Update.
15138 * cppinit.c (cpp_create_reader): Initialize line maps.
15139 (cpp_destroy): Destroy line maps.
15140 (cpp_start_read): Get logical line number right.
15141 * cpplex.c (parse_string): Only warn once for multi-line strings.
15142 Use boolean variable for null warning.
15143 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
15145 (do_include_common): End the directive early.
15146 (do_line): Don't warn about out-of-range lines in preprocessed
15147 source. Update. Remove unused variables.
15148 (_cpp_do_file_change): Update for new line mapping.
15149 (pragma_cb): New typedef.
15150 (cpp_register_pragma): Stop looking ahead before calling the
15152 (do_pragma_system_header): End directive early.
15153 (cpp_get_line_maps): New.
15154 (cpp_pop_buffer): Fudge logical line. Update.
15155 * cpplib.h: Include line-map.h
15156 (enum cpp_fc_reason): Remove.
15157 (struct cpp_file_change): Update.
15158 (cpp_get_line_maps): New.
15159 * cppmain.c (struct_printer): New member map.
15160 (cb_file_change): Update for new mappings.
15161 * fix-header.c (cb_file_change): Similarly.
15163 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15165 * Makefile.in (libgcc.mk): Define mkinstalldirs.
15166 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
15168 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
15170 * config/vax/vax.c: include expr.h.
15172 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
15174 * Makefile.in ($(srcdir)/configure): Only rebuild in
15176 ($(srcdir)/config.in): Only define in maintainer mode.
15177 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
15179 2001-08-02 David Edelsohn <edelsohn@gnu.org>
15181 * doc/install.texi (Install GCC: Binaries): Update Bull info.
15183 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15185 * gcc.c (set_collect_gcc_options): New function, split out from
15187 Ignore elided switches.
15188 (do_spec_1): Invoke before executing command.
15189 (set_input): Export.
15190 Move declaration ...
15191 * gcc.h (set_input): ... here.
15192 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
15195 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
15198 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
15200 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
15202 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
15204 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
15205 for the unnamed instructions it expands to.
15207 2001-08-02 Richard Henderson <rth@redhat.com>
15209 * regclass.c (call_really_used_regs): Conditionally define.
15210 (init_reg_sets_1): Don't use it if not defined.
15211 (fix_register): Similarly, don't set it.
15213 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15215 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
15216 Correct comment that had been missed in the previous change.
15218 2001-08-01 Stan Shebs <shebs@apple.com>
15220 * config/darwin.c (machopic_stub_name): Try matching by name.
15221 (update_stubs): New function.
15222 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
15225 2001-08-01 Richard Henderson <rth@redhat.com>
15227 * except.c (output_function_exception_table): Use assemble_align.
15228 * varasm.c (assemble_eh_label): Remove.
15229 (assemble_eh_align, assemble_eh_integer): Remove.
15231 2001-08-01 Robert Lipe <robertl@caldera.com>
15233 * dwarfout.c: Remove reference to README.DWARF.
15235 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
15237 * regclass.c (call_really_used_regs): New array for registers which
15238 are actually used by a call.
15239 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
15241 (fix_register): Set call_really_used too.
15242 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
15243 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
15245 2001-08-01 Richard Henderson <rth@redhat.com>
15247 * read-rtl.c (read_name): Consider \r whitespace.
15249 2001-07-11 Andrew Cagney <ac131313@redhat.com>
15251 * config.gcc: Recognize powerpc-*-netbsd*.
15253 * doc/install.texi (Host/target specific installation notes for
15254 GCC): Mention powerpc-*-netbsd*.
15256 * config/rs6000/netbsd.h: New file.
15257 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
15258 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
15259 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
15260 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
15261 (TARGET_VERSION): Redefine.
15263 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
15264 mcall-netbsd as a match for mcall-sysv.
15265 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
15266 (ncrti.S, ncrtn.S): New targets.
15267 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
15269 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
15270 "netbsd' as a V4 ABI.
15271 (ASM_SPEC): Check for -mcall-netbsd.
15272 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
15273 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
15274 (LIB_SPEC, ENDFILE_SPEC): Ditto.
15275 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
15276 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
15277 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
15278 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
15280 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
15281 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
15283 2001-08-01 Mark Kettenis <kettenis@gnu.org>
15285 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
15286 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
15287 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
15288 including "unwind-pe.h".
15290 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
15292 * rs6000.md (define_splits): Kill unused constraints.
15294 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
15295 Jan Hubicka <jh@suse.cz>
15297 * function.c (thread_prologue_and_epilogue_insns): Kill code
15298 dealing with non-existent CFG.
15300 2001-08-01 Kazu Hirata <kazu@hxi.com>
15302 * alias.c: Fix comment formatting.
15303 * bitmap.c: Likewise.
15304 * builtins.c: Likewise.
15305 * calls.c: Likewise.
15306 * c-common.c: Likewise.
15307 * c-decl.c: Likewise.
15308 * c-dump.c: Likewise.
15309 * c-lex.c: Likewise.
15310 * collect2.c: Likewise.
15311 * combine.c: Likewise.
15312 * conflict.c: Likewise.
15313 * cppfiles.c: Likewise.
15314 * cppinit.c: Likewise.
15315 * cpplex.c: Likewise.
15316 * cpplib.c: Likewise.
15317 * cppmacro.c: Likewise.
15318 * cppspec.c: Likewise.
15319 * c-pragma.c: Likewise.
15320 * crtstuff.c: Likewise.
15322 * cselib.c: Likewise.
15323 * c-semantics.c: Likewise.
15324 * c-typeck.c: Likewise.
15326 2001-08-01 H.J. Lu <hjl@gnu.org>
15328 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
15330 2001-08-01 H.J. Lu <hjl@gnu.org>
15332 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
15334 2001-08-01 Ziemowit Laski <zlaski@apple.com>
15336 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
15337 contextualizing Objective-C class name lookup by the lexer.
15338 (typespec_reserved_nonattr): Disable ObjC class name lookup after
15340 (protocoldef): Add support for forward @protocol declarations.
15341 (yylexname): Suppress ObjC class name lookup in certain contexts;
15342 re-enable after lookup is complete.
15343 (_yylex): Re-enable ObjC class name lookup when certain
15344 punctuation marks are seen.
15346 * objc/objc-act.c (check_protocol_recursively): New function used
15347 for finding circular dependencies in protocols.
15348 (objc_declare_protocols): New function for handling forward
15349 @protocol declarations.
15350 (receiver_is_class_object): Detect the case when 'self' is used
15351 inside of a class method.
15352 (build_message_expr): Issue a warning if class method is desired
15353 but instance method is found instead.
15354 (conforms_to_protocol): Streamline.
15355 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
15356 protocol Foo, even if 'Bar foo' does not.
15357 (check_protocols): Streamline.
15358 (start_protocol): Add checks for circular and duplicate protocol
15360 (encode_aggregate_within): For typedefs of structs, encode the
15362 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
15363 (objc_declare_protocols): New prototype.
15365 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15367 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
15368 * cpplex.c (handle_newline): Update prototype. Maintain logical
15370 (skip_escaped_newlines, skip_block_comment, parse_string):
15371 Update accordingly.
15372 (_cpp_lex_token): Update, and store token position within the token.
15373 * cpplib.h (struct cpp_token): Add line and column entries.
15374 * cppmacro.c (replace_args): Position stringified tokens correctly.
15376 2001-08-01 Andreas Jaeger <aj@suse.de>
15378 * basic-block.h: Add prototype for last_loop_beg_note.
15380 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
15382 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
15383 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
15385 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
15386 while handling WITH_CLEANUP_EXPR node. Use second operand calling
15387 expand_decl_cleanup.
15388 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
15390 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
15391 operand while calling simple_cst_equal.
15392 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
15393 operand is the cleanup expression, the third is the RTL_EXPR.
15394 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
15396 2001-07-31 Jeff Sturm <jsturm@one-point.com>
15398 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
15400 2001-07-31 matthew green <mrg@eterna.com.au>
15402 * config.gcc (i386-*-netbsdelf): New description.
15403 * config/i386/netbsd-elf.h: New file.
15405 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
15407 * loop.c (check_dbra_loop): Use single_set to compute
15410 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
15412 PowerPC reorg and support for powerpc64-*-linux*.
15414 Also fixes emitting of constants on 32 bit and 64 bit
15417 * config.gcc: powerpc64-*-linux* is a new target.
15418 Things that needed aix.h now also include xcoff.h
15420 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
15422 Move AIX specific stuff into aix.h.
15423 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
15424 with more than just XCOFF now.
15425 (SET_ASM_OP): Remove, now defined where needed.
15426 (FUNCTION_PROLOGUE): New macro definition.
15427 (FUNCTION_EPILOGUE): New macro definition.
15428 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
15430 * config/rs6000/xcoff.h: New file.
15432 * config/rs6000/linux64.h: New file.
15434 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
15436 2001-07-31 Alan Modra <amodra@bigpond.net.au>
15438 * rs6000.c (print_operand_address): Handle ELF syntax.
15439 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
15440 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
15441 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
15443 2001-07-31 David Edelsohn <edelsohn@gnu.org>
15445 * rs6000.c (rs6000_override_options): Only disable
15446 flag_function_sections for XCOFF.
15447 (exact_log2_cint_operand): New predicate.
15448 (reg_or_{add,sub}_cint64_operand): New predicates.
15449 (add_operand): Compare CONST_INT with fewer function calls.
15450 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
15451 (print_operand, case 'p'): Ensure positive operand.
15452 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
15453 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
15454 (PREDICATE_CODES): Add new predicates.
15455 * rs6000.md (addsi3): Split 32-bit constants more correctly.
15456 (divsi3, modsi3): Ensure positive power-of-2.
15457 (adddi3): Use new predicate. Split 32-bit constants more
15458 correctly. Re-arrange splitter to handle any constant.
15459 (subdi3): Use new predicate.
15460 (divdi3, moddi3): Ensure positive power-of-2.
15461 (movdi): Use rs6000_emit_set_const.
15462 (load_toc_v4_pic_di): Delete.
15464 2001-07-31 Graham Stott <grahams@redhat.com>
15466 * function.c (pad_below): Revert 2001-07-26 patch.
15468 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15470 * reg-stack (convert_regs_1): Fix best edge condition.
15472 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
15474 * jump.c (duplicate_loop_exit_test): Better test for jumps
15475 entering the loop; create loop pre_header.
15477 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
15479 * doc/install.texi: Add s390 and s390x as new targets.
15480 * doc/invoke.texi: Add documentation of S/390 and zSeries
15482 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
15484 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15486 * config/m68k/m68k.md: Replace all general_operand with
15487 nonimmediate_operand for all destinations.
15488 * config/m68k/m68k.c (not_sp_operand): Likewise.
15490 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
15492 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
15494 2001-07-30 Richard Henderson <rth@redhat.com>
15496 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
15497 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
15499 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
15501 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
15502 Add missing doc strings
15503 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
15504 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
15506 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
15508 * i386.c (ix86_output_main_function_alignment_hack): New function.
15509 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
15511 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
15512 edges by EDGE_DFS_BACK flag.
15513 (dump_edge_info): Add dfs_back flag.
15514 * basic-block.h (EDGE_DFS_BACK): New constant.
15515 (mark_dfs_back_edges): Declare.
15516 * alias.c (loop_p): Remove.
15517 (mark_constant_function): Use mark_dfs_back_edges.
15519 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
15520 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
15521 (compensate_edge): Break out from ...
15522 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
15523 (convert_regs_2): Set block_done once block is really done;
15524 Do updating of the predecessors counts.
15526 * toplev.c (rest_of_compilation): Recompute block_for_insn
15527 before post-reload cfg_cleanup.
15528 * function.c (thread_prologue_epilogue_insns):
15529 Call set_block_for_new_insns when emitting prologue directly.
15531 2001-07-30 Andreas Jaeger <aj@suse.de>
15533 * jump.c: Add prototype for mark_modified_reg.
15535 * cse.c (set_live_p): Add unused attribute.
15537 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
15539 (scan_for_source_files): Use long for count to avoid overflow.
15540 (output_data): Likewise.
15541 (output_data): Don't use string concatatenation to silence gcc
15544 * predict.c: Fix typos and grammar.
15546 * gcse.c (insert_insn_end_bb): Remove unused variables.
15548 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
15550 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
15551 (attempt_auto_inc): LIkewise.
15552 (mark_used_reg): Likewise.
15553 (try_pre_increment_1): Likewise.
15554 * regclass.c (regclass): Likewise.
15555 * global.c (allocno_compare): Update comment; change scaling factor.
15556 * local-alloc.c (QTY_CMP_PRI): Likewise.
15557 * regs.h (REG_FREQ_FROM_BB): New.
15558 (REG_FREQ_MAX): Likewise.
15560 2001-07-30 H.J. Lu <hjl@gnu.org>
15562 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
15565 2001-07-30 H.J. Lu (hjl@gnu.org)
15567 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
15568 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15569 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
15571 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
15573 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
15574 as -mthumb-interwork when -mcpu=arm7 is specified.
15576 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
15578 * predict.def (noreturn, loop branch, loop exit): Mark as first
15581 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
15583 * combine.c (try_combine): Avoid barrier after noop jumps.
15585 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15587 * cpphash.h (struct cpp_reader): Remove import_warning.
15588 * cpplib.c (skip_rest_of_line): Don't bother turning off
15590 (parse_include): Move include handling to...
15591 (do_include_common): ... here. Move import warning from...
15592 (do_import): ... here.
15593 (do_pragma_poison): Don't do a callback for poison identifiers.
15594 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
15595 * cppmain.c (setup_callbacks): Similarly.
15597 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
15599 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
15600 handle multiple sets.
15601 * except.c (sjlj_mark_call_sites): .... here.
15602 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
15604 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
15606 Suggested by Richard Henderson and Richard Kenner:
15607 * combine.c (recog_for_combine): Use the fake recog
15608 only if instruction does not match.
15609 * rtl.h (NOOP_MOVE_INSN_CODE): New.
15610 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
15612 * combine.c (try_combine): Discover noop jump as direct jump.
15614 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
15616 * df.c (df_rd_global_compute): Add successors to worklist, not
15618 (df_ru_global_compute): Ditto.
15620 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
15622 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
15623 increment REG_N_SETS.
15625 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
15627 * sbitmap.h: New prototype for sbitmap_a_xor_b.
15629 * sbitmap.c (sbitmap_a_xor_b): New function.
15630 ifdef the basic block stuff on IN_GCC.
15632 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15634 * cppexp.c (parse_defined): Always record the macro name.
15635 (lex): Don't worry about identifiers, or special-case
15637 (_cpp_parse_expr): Figure out at the end of the routine
15638 whether we saw a valid !defined() expression.
15639 * cppfiles.c (stack_include_file): Update for mi_valid.
15640 (_cpp_pop_file_buffer): Similarly.
15641 * cpplex.c (_cpp_lex_token): Similarly.
15642 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
15643 mi_if_not_defined, mi_lexed): Remove.
15645 * cpplib.c (do_if): Simplify.
15646 (do_endif, push_conditional, _cpp_handle_directive): Update
15647 for renaming of mi_state to mi_valid.
15649 * cpp.texi: Add index entries for digraphs, and add comment
15650 that C++ refers to them as alternative tokens.
15652 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
15654 * basic-block.h (CLEANUP_PRE_LOOP): New.
15655 * except.c (finish_eh_generation): Update call of cleanup_cfg.
15656 * sibcall.c (optimize_sibling_calls): Likewise.
15657 * toplev.c (rest_of_compilation): Likewise.
15658 * flow.c (try_forward_edges): Take argument MODE;
15659 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
15660 (try_optimize_cfg): Update call of try_forward_edges.
15662 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
15663 Jan Hubicka <jh@suse.cz>
15665 * (validate_replace_rtx_1): Fix simplification of MINUS.
15667 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
15669 PR preprocessor/3669
15670 * cppinit.c (init_dependency_output): Turn off dump requests
15671 if sending dependencies to stdout.
15673 2001-07-28 Richard Henderson <rth@redhat.com>
15675 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
15678 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
15680 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
15682 2001-07-28 Kazu Hirata <kazu@hxi.com>
15684 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
15685 is VAR_DECL first to prevent an ICE.
15687 2001-07-28 Richard Henderson <rth@redhat.com>
15689 * varasm.c (immed_real_const_1): Don't elide special cases for
15691 (clear_const_double_mem): Clear const_tiny_rtx too.
15693 2001-07-28 Richard Henderson <rth@redhat.com>
15695 * dwarf2out.c (dw_val_class_offset): New.
15696 (struct dw_ranges_struct, dw_ranges_ref): New.
15697 (ranges_table, ranges_table_allocated): New.
15698 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
15699 (add_AT_offset, add_ranges, output_ranges): New.
15700 (print_die, output_die): Handle dw_val_class_offset.
15701 (attr_checksum, size_of_die, value_format): Likewise.
15702 (gen_lexical_block_die): Handle non-contiguous blocks.
15703 (gen_block_die): Likewise.
15704 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
15705 if needed. Dump the ranges table.
15706 * final.c (final_start_function): Remove unnecessary notes and
15707 rebuild the block tree before numbering the blocks.
15708 * function.c (reorder_blocks_0): Walk the existing block tree
15709 to unmark all blocks.
15710 (reorder_blocks_1): Create block fragments when duplicate block
15712 (reorder_fix_fragments): New.
15713 (reorder_blocks): Call it.
15714 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
15716 2001-07-28 Richard Henderson <rth@redhat.com>
15718 * emit-rtl.c (adjust_address): Make a copy of the memory address.
15720 2001-07-28 Richard Henderson <rth@redhat.com>
15722 * flow.c (add_to_mem_set_list): New function.
15723 (init_propagate_block_info): Use it.
15724 (mark_set_1): Likewise.
15725 (insn_dead_p): Canonicalize memory address for dead store
15726 comparison. Allow wider mode stores to kill narrower mode stores.
15727 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
15728 (invalidate_mems_from_set): Don't handle MEMs.
15730 2001-07-28 Kazu Hirata <kazu@hxi.com>
15732 * config/h8300/h8300.h: Fix formatting.
15734 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15736 * basic-block.h (EDGE_FREQUENCY): New macro.
15737 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
15739 * flow.c (find_sub_basic_blocks): Likewise.
15740 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
15741 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
15743 * predict.c (DEF_PREDICTOR): New argument FLAGS.
15744 (HITRATE): New macro.
15745 (PRED_FLAG_FIRST_MATCH): New constant.
15746 (predictor_info): New field flgags.
15747 (combine_predictions_for_insn): Use DS theory to combine
15748 probabilities; set the edge probabilities when finished.
15749 (estimate_probability): Avoid duplicated matches
15750 of LOOP_BRANCH heuristics for nested loops; update comment.
15751 * predict.def: Add flags for each prediction, set probabilities
15752 according to B&L paper.
15753 * predict.h (DEF_PREDICTOR): New argument FLAGS.
15755 * profile.c (compute_branch_probabilities): Cleanup way the edge
15756 probabilities are computed and REG_BR_PROB notes are dropped; if
15757 values does not match, emit error.
15758 (init_branch_prob): Do error instead of warning when profile driven
15759 feedback is missing or corrupt.
15761 2001-07-27 DJ Delorie <dj@redhat.com>
15763 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
15764 against a constant, try to adjust the compare to have the desired
15765 constant in it so that min/max optimizations happen more often.
15767 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15769 * flow.c (last_loop_beg_note): New function.
15770 (redirect_edge_and_branch): Use it.
15771 (split_edge): Likewise.
15773 * alias.c (loop_p): Avoid uninitialized memory access.
15775 * flow.c (try_forward_edges): Avoid accessing freed memory.
15777 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
15780 2001-07-26 Andrew Haley <aph@redhat.com>
15781 Joern Rennecke <amylaar@redhat.com>
15783 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
15784 (SUBTARGET_CPP_ENDIAN_SPEC): New.
15785 (SUBTARGET_CPP_SPEC): New.
15786 (CPP_SPEC): Remove.
15787 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
15788 (SUBTARGET_CPP_PTR_SPEC): New.
15789 (CPP_DEFAULT_CPU_SPEC): New.
15790 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
15791 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15792 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
15793 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
15794 (SUBTARGET_CPP_SPEC): Define as an empty string.
15796 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15798 * doc/install.texi (Configuration): Properly link the host
15799 specific instructions also when generating HTML.
15801 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
15803 * flow.c (redirect_edge_and_branch_force): Test
15804 target->global_live_at_start.
15806 2001-07-26 Richard Henderson <rth@redhat.com>
15808 * simplify-rtx.c (avoid_constant_pool_reference): Export.
15809 * rtl.h (avoid_constant_pool_reference): Declare it.
15810 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
15811 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
15813 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
15815 * rtl.h (cleanup_barriers): Declare.
15816 * jump.c (cleanup_barriers): New function.
15817 * toplev.c (rest_of_compilation): Call cleanup_barriers
15818 before loop optimizer and after bb_reorder.
15820 * flow.c (back_edge_of_syntactic_loop_p): New.
15821 (split_edge): Use it.
15823 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15825 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
15827 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
15829 * cse.c (cse_process_notes): Replace any registers if the address
15832 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
15834 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
15835 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
15836 (propagate_block): Update prototype.
15837 * flow.c (update_life_info): Simplify the CFG and
15838 recalculate the global regs which are alive when
15839 removing dead code during a global update.
15840 (propagate_block): Return non-zero if an INSN is
15843 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15845 * Makefile.in (LIBICONV): Define.
15847 2001-07-26 Catherine Moore <clm@redhat.com>
15849 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
15850 of conditional to avoid tree checking errors.
15852 2001-07-26 Kazu Hirata <kazu@hxi.com>
15854 * regmove.c (regmove_optimize): Don't replace a reg with
15855 another reg of a different mode.
15857 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
15859 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
15860 limit length of dependency flush list.
15861 * params.h (MAX_PENDING_LIST_LENGTH): Define.
15862 * sched-int.h (struct deps): Add pending_flush_length field.
15863 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
15864 has 1 element in it.
15865 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
15866 (sched_analyze): After a jump, if the pending memory flush list is too
15867 large, flush the pending lists.
15868 (init_deps): Initialize pending_flush_length to 0.
15869 * doc/invoke.texi (max_pending_list_length): Document parameter.
15871 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
15873 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
15874 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
15875 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
15877 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15879 * cpphash.h (struct_lexer_state): Delete was_skipping.
15880 Move skipping here from struct cpp_reader.
15881 * cpplex.c (parse_identifier): Update.
15882 (_cpp_lex_token): Don't skip tokens in a directive.
15883 * cpplib.c (struct if_stack): Update.
15884 (start_directive, end_directive): Don't change skipping state.
15885 (_cpp_handle_directive): Update.
15886 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
15887 (do_else, do_endif): Update; only check for excess tokens if not
15888 in a skipped conditional block.
15889 (push_conditional): Update for new struct if_stack.
15891 2001-07-26 Graham Stott <grahams@redhat.com>
15893 * function.c (locate_and_pad_parm): Also pad initial offset
15894 so that the total argument size also includes the padding.
15896 2001-07-26 Graham Stott <grahams@redhat.com>
15898 * gensupport.c (alter_output_for_insn): Correct enable checking failure
15899 change XSTR to XTMPL.
15901 (process_one_cond_exec): Likewise
15903 2001-07-25 Richard Henderson <rth@redhat.com>
15905 * varasm.c (assemble_variable): Create DECL_RTL before setting
15908 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
15910 * predict.c (estimate_probability): Avoid duplicated predictions.
15912 * loop.c (find_and_verify_loops): Grok multiple barriers.
15914 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15916 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
15918 * dbxout.c: Consistently use putc instead of fputc.
15919 (print_wide_int): New function; call instead of direct fprintf.
15920 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
15921 (dbxout_type_fields, dbxout_type_method_1): Likewise.
15922 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
15923 (print_int_cst_octal): Likewise.
15924 (print_octal): Show we wrote characters.
15925 (dbxout_type): Set have_used_extensions in more places.
15927 2001-07-25 Catherine Moore <clm@redhat.com>
15929 * config/v850/v850.c (v850_va_arg): Use addr
15930 instead of valist to build incr.
15932 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
15934 * flow.c (delete_dead_jumptables): New function.
15935 (life_analyzis): Call it.
15936 * bb-reorder.c (skip_insns_after_block): Handle contradictory
15939 2001-07-25 Richard Henderson <rth@redhat.com>
15941 * except.c (reachable_handlers): Handle a region being removed
15942 out from under a RESX.
15944 2001-07-25 Richard Henderson <rth@redhat.com>
15946 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
15947 swap GE/GT if it is an fp comparison.
15949 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
15951 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
15954 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
15956 * ssa.c (rename_insn_1): Do not wrap an assignment to a
15957 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
15960 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
15961 throw an exception.
15962 (visit_expression): When attempting to simplify an expression,
15963 retrieve any modes for arguments before they are simplified
15966 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
15967 Janis Johnson <janis@us.ibm.com>
15969 * stmt.c (expand_goto): A nonlocal goto can be a call too.
15970 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
15971 pointer parameters to match documented usage of nonlocal_goto.
15972 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
15973 parameters to their correct order.
15974 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
15975 parameters to their correct order.
15977 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
15979 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
15981 2001-07-25 Jan Hubicka <jh@suse.cz>
15982 Richard Henderson <rth@redhat.com>
15984 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
15986 (make_edges): New argument update_p; populate the edge cache if set.
15987 (find_basic_blocks): Update make_edges invocation.
15989 2001-07-24 Joel Sherrill <joel@OARcorp.com>
15991 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
15993 2001-07-24 Joel Sherrill <joel@OARcorp.com>
15995 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
15996 -Acpu and -Amachine.h.
15997 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
15998 Corrected header to say ELF not a.out.
15999 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
16000 when given -msoft-float.
16002 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16004 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
16005 extra multilib parts like arm-elf.
16006 (i960-*-coff*, i960-*-rtems): Should not use collect2.
16007 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
16008 crtfini.o as extra multilib parts.
16010 2001-07-24 Joel Sherrill <joel@OARcorp.com>
16012 * configure.in: Add rtems as a supported thread model.
16013 * gthr-rtems.h: Add missing entry point __gthread_active_p.
16014 * configure: Rebuilt.
16016 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
16018 * stor-layout.c (get_mode_alignment): make it work when
16019 BITS_PER_UNIT is not a power of two.
16020 * builtins.c (get_pointer_alignment): Likewise.
16022 2001-07-24 Richard Henderson <rth@redhat.com>
16024 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
16025 the retrieved constant into the expected mode.
16027 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
16029 * flow.c (try_simplify_condjump): Avoid duplicated edges.
16030 (verify_flow_info): Check for duplicated edges; clarify
16033 * flow.c (block_label): Update basic_block_for_insn.
16034 (commit_edge_insertions): Call compute_bb_for_insn.
16036 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
16039 * flow.c (redirect_edge_and_branch,
16040 try_optimize_cfg): Use redirect_edge_succ_nodup
16041 (redirect_edge_succ_nodup): New.
16042 * basic_block.h (redirect_edge_succ_nodup): Declare.
16044 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
16047 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
16049 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
16050 (try_crossjump_to_edge): Update commetns.
16051 (try_crossjump_bb): Likewise.
16053 2001-07-24 Richard Henderson <rth@redhat.com>
16055 * combine.c (distribute_notes): Move set of need_refresh
16056 for noop_move_p down to catch all cases.
16058 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
16060 * recog.c (split_all_insns_noflow): New.
16061 * rtl.h (split_all_insns_noflow): Declare.
16062 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
16063 * m68hc11.c (m68hc11_reorg): Likewise.
16064 * sh.c (machine_dependent_reorg): Likewise.
16065 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
16068 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16070 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
16071 (ashlsi3_n splitter): Likewise.
16072 (lshrsi3_n splitter): Likewise.
16074 (GOTaddr2picreg): Make const SImode.
16075 (sym_label2reg): Likewise.
16076 (symGOT2reg): Likewise.
16077 (symGOTOFF2reg) Likewise.
16079 (casesi_worker_0): Make unspec SImode.
16081 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
16083 * config/sh/sh.c (barrier_align): Check that an operand really is
16084 an insn before extracting its INSN_CODE.
16086 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
16088 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
16091 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
16092 for SImode to prevent overflow.
16094 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16096 * config/mips/irix6-libc-compat.c: New file.
16097 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
16098 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
16099 passing workaround.
16101 2001-07-24 lars brinkhoff <lars@nocrew.org>
16103 * rtl.texi (REG_POINTER): Document.
16104 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
16105 QFmode, HFmode, TQFmode, QCmode, and HCmode.
16107 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
16109 * flow.c (delete_noop_moves): Do not confuse libcall regions.
16111 2001-07-23 Richard Henderson <rth@redhat.com>
16113 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
16115 2001-07-23 Kazu Hirata <kazu@hxi.com>
16117 * config/h8300/h8300-protos.h: Add a prototype for
16118 general_operand_dst_push.
16119 * config/h8300/h8300.c (general_operand_dst_push): New.
16120 * config/h8300/h8300.h (OK_FOR_T): New.
16121 (EXTRA_CONSTRAINT): Use it.
16122 * config/h8300/h8300.md (movqi_push): Remove and integrate into
16123 the existing movqi pattern.
16124 (movhi_push): Likewise.
16126 * reload.c: Fix comment typos.
16128 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
16130 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
16132 2001-07-23 H.J. Lu (hjl@gnu.org)
16134 * doc/extend.texi: Update __builtin_return_address and
16135 __builtin_frame_address.
16137 2001-07-23 Richard Henderson <rth@redhat.com>
16139 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
16141 * config/i386/i386.md: New setcc+movzbl peephole2.
16143 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16145 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
16146 * objc/objc-act.c: Include debug.h.
16147 (synth_module_prologue): Save and restore debug hooks too.
16149 2001-07-23 lars brinkhoff <lars@nocrew.org>
16151 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
16152 and C4X_FLOAT_FORMAT.
16153 (BOOL_TYPE_SIZE): Document.
16155 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
16157 * unroll.c (loop_iterations): Fix miscalculation of initial
16160 2001-07-13 Andrew Haley <aph@redhat.com>
16162 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
16163 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
16164 * config/sh/sh.c (sh_can_redirect_branch): New function.
16165 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
16166 * reorg.c (steal_delay_list_from_target): Use
16167 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
16169 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
16171 * flow.c (try_simplify_condjump): Unlink insn chain on
16172 fallthru edge; use can_fallthru.
16174 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
16176 * basic-block.h (find_sub_basic_block): Declare.
16177 * flow.c (make_edges): New arguments MIN and MAX;
16178 (find_sub_basic_blocks): Revamp to use make_edges
16179 and purge_dead_edges.
16180 (find_basic_blocks): Update call of find_sub_basic_block.
16182 * recog.c (split_all_insns): Always expect CFG to be consistent;
16183 call find_sub_basic_blocks in case something has changed.
16184 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
16187 * basic-block.h (delete_noop_moves): Declare.
16188 * combine.c (combine_instructions): Call it.
16189 (recog_for_combine): Tolerate noop moves
16190 (distribute_notes): Force refresh when register dies at noop move.
16191 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
16193 (life_analysis): Update delete_noop_moves call.
16194 (set_noop_p): Move too ...
16195 * rtlanal.c (noop_move_p): ... here.
16196 * rtl.h (noop_move_p): Declare.
16198 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
16199 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
16201 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
16202 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
16204 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
16206 * reload.c (push_reload): Fix typo in comment.
16207 (find_reloads_address): Ditto.
16208 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
16210 2001-07-22 Richard Henderson <rth@redhat.com>
16212 * flow.c: Grammar check and clarify a lot of comments.
16213 (try_simplify_condjump): Rename variables to be clearer.
16214 (try_forward_edges): Skip complex and fallthru edges.
16215 Rearrange tests to avoid duplicate checks.
16216 (flow_find_cross_jump): Likewise.
16217 (outgoing_edges_match): Allow match if neither branch has
16218 probability data. Loosen probability match to 5%.
16219 (try_crossjump_to_edge): Hoist repeated indirection into
16221 (try_crossjump_bb): Don't check complex edges. Eliminate
16222 redundant crossjump tests.
16223 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
16224 checks before more expensive checks.
16226 2001-07-22 Richard Henderson <rth@redhat.com>
16228 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
16229 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
16232 2001-07-22 Richard Henderson <rth@redhat.com>
16234 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
16235 (const_sint32_operand): Likewise.
16236 * m68k.md (anon mulsi pattern): Use const_int_operand not
16237 const_sint32_operand.
16238 (umulsi3_highpart): Zero extend a constant input.
16239 (smulsi3_highpart): Don't bother checking SImode constant.
16240 (const_umulsi3_highpart): Give op3 DImode.
16241 (const_smulsi3_highpart): Likewise.
16243 2001-07-22 Richard Henderson <rth@redhat.com>
16245 * flow.c (split_block): Make sure bb_note is included in the
16246 new block when splitting before a label.
16248 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
16250 * basic-block.h (redirect_edge_and_branch_force,
16251 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
16252 * flow.c (redirect_edge_and_branch_force,
16253 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
16254 (redirect_edge_and_branch_force): Fix copying of lifeness information.
16255 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
16256 * ifcvt.c (dead_or_predictable): Take BB as an new destination
16257 instead of label; update CFG after transformation.
16258 (find_if_case_1): Update call, use redirect_edge_and_branch_force
16259 for finishing the transformation; handle even case where ELSE
16260 does not follow THEN.
16261 (find_if_case_2): Update call of dead_or_predictable; simplify
16264 * emit-rtl.c (split_branch_probability): New global variable.
16265 (try_split): Take care to set split_branch_probability and
16266 create REG_BR_PROB note for new jump insns.
16267 * md.texi (define_split): Document new feature.
16269 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
16271 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16273 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
16274 (asm_out_file): Remove redundant declaration.
16275 (assemble_asm): Remove old #if 0 block.
16276 (assemble_variable): Remove end of function; debug output is
16277 now handled with global_decl. Remove old #if 0 block. Update.
16278 Remove saved_in_section and associated no-op code.
16279 * Makefile.in (varasm.o): Correct dependencies.
16281 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
16283 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
16284 the definition in defaults.h.
16286 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
16288 * jump.c: Update comments.
16289 (delete_barrier_successors, delete_unreferenced_labels,
16290 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
16291 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
16292 jump_optimize, jump_optimize_minimal): Kill.
16293 (rebuild_jump_labels): Move code from jump_optimize_1.
16294 (purge_line_number_notes): Likewise.
16295 (copy_loop_headers): Likewise.
16296 * reg-stack.c: Update comment.
16297 * stmt.c: Likewise.
16298 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
16299 JUMP_AFTER_REGSCAN): Kill.
16300 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
16301 purge_line_number_notes and copy_loop_headers.
16303 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
16304 Richard Henderson <rth@redhat.com>
16306 * dbxout.c (dbxout_global_decl): New.
16307 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16308 * sdbout.c (sdbout_finish): New.
16309 (sdbout_debug_hooks): Use it, add comments.
16310 (sdbout_global_decl): Defer initialised public vars to
16312 * varasm.c (assemble_variable): Don't output debug information
16313 for file-scope variables.
16315 2001-07-22 Richard Henderson <rth@redhat.com>
16317 * config/alpha/alpha.c (get_trap_mode_suffix): New.
16318 (get_round_mode_suffix): New.
16319 (print_operand): Use them for [/]. Remove support for [&'`()+].
16320 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
16321 * config/alpha/alpha.md (attr round_suffix): New.
16322 (attr trap_suffix): New.
16323 (all insns): Set them appropriately. Use %/ instead of the
16324 myriad punctuators.
16326 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16328 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
16330 2001-07-22 Richard Henderson <rth@redhat.com>
16332 * regrename.c (regrename_optimize): Compute nregs for each
16333 potential target register.
16335 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
16336 Richard Henderson <rth@redhat.com>
16338 * dbxout.c (dbxout_global_decl): New.
16339 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
16340 * sdbout.c (sdbout_finish): New.
16341 (sdbout_debug_hooks): Use it, add comments.
16342 (sdbout_global_decl): Defer initialised public vars to
16344 * varasm.c (assemble_variable): Don't output debug information
16345 for file-scope variables.
16347 2001-07-21 H.J. Lu (hjl@gnu.org)
16349 * config/mips/mips.c (mips_cpu): Moved into ...
16350 (override_options): Here.
16352 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
16354 (mips_cpu): Removed.
16356 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16358 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
16359 ("iorqi3"): Likewise.
16360 ("xorqi3"): Likewise.
16361 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
16362 ("*subhi3_sp): Likewise.
16363 ("*subhi3"): Likewise.
16364 ("extendhisi2"): Accept D, X and Y as source operand to avoid
16367 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
16369 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
16370 * config/freebsd.h: Likewise.
16371 * config/linux.h: Likewise.
16372 * config/openbsd.h: Likewise.
16373 * config/alpha/linux-elf.h: Likewise.
16374 * config/arm/linux-elf.h: Likewise.
16375 * config/d30v/d30v.h: Likewise.
16376 * config/fr30/fr30.h: Likewise.
16377 * config/ia64/aix.h: Likewise.
16378 * config/ia64/ia64.h: Likewise.
16379 * config/mips/linux.h: Likewise.
16380 * config/pj/pj.h: Likewise.
16381 * config/rs6000/linux.h: Likewise.
16382 * config/sparc/linux.h: Likewise.
16383 * config/sparc/linux64.h: Likewise.
16385 2001-07-20 Bruce Korb <bkorb@gnu.org>
16387 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
16388 because getc() and char* may disagree on signedness.
16390 2001-07-20 Richard Henderson <rth@redhat.com>
16392 * doc/rtl.texi (REG_DEAD): Update for current semantics.
16394 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
16395 insns to delete in the presence of cc0 in a jump insn.
16397 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
16398 Jan Hubicka <jh@suse.cz>
16400 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
16401 of doing the change by hand.
16403 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
16405 * rtlanal.c (set_noop_p): Return true for noop jumps.
16407 * expr.c (emit_single_push_insn): Add call to push expander.
16408 * expr.h (optab_index): Add OTI_push
16409 (push_optab): New constant.
16410 * genopinit.c (optabs): Add push_optab.
16411 * optabs.c (init_optab): Init push optab.
16412 * md.texi (push??1): Document
16414 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16416 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
16417 expand to emit the pattern; put a REG_INC note for push/pop
16419 ("movdf", "movdf_internal"): Likewise.
16420 ("movsi", "movsi_internal"): Likewise.
16421 ("movsf", "movsf_internal"): Likewise.
16422 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
16424 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16426 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
16429 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
16431 * params.def: Change default max inline insns to 100.
16433 2001-07-20 Diego Novillo <dnovillo@redhat.com>
16435 * combine.c (combine_simplify_rtx): Generate a new shift operation
16436 when simplifying the first operand of a (neg (ashift)) expression.
16438 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16440 * regclass.c (N_REG_INTS): Use only 32 bits per element.
16442 2001-07-20 Kelley Cook <kelley.cook@home.com>
16444 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
16445 information. Move rest into ...
16446 (*-*-solaris): ... here. Eliminate redundant information and
16447 reword necessary packages section. Delete 4.x assembler bug info.
16448 (sparc-sun-*): Merge into ...
16449 (sparc-sun-sunos*): here.
16451 2001-07-20 Catherine Moore <clm@redhat.com>
16453 * config/v850/v850.md (casesi): Generate LABEL_REF
16456 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
16458 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
16459 * i386.c (ix86_zero_extend_to_Pmode): Make global.
16460 * i386.md (strclrsi expander): Use it.
16462 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16464 * integrate.c (copy_insn_list): handle
16465 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
16466 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
16467 identically as to CODE_LABEL.
16469 * fold-const (fold): Convert A/B/C to A/(B*C) and
16472 * except.c (connect_post_landing_pads): Delete the RESX insns.
16474 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
16476 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
16478 * config/mips/mips.md (nmadd/nmsub): Use macro.
16480 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
16482 * cppinit.c (remove_dup_dir): Make static.
16483 (remove_dup_dirs): Make static. Only warn about preempting a
16484 system directory with a non-system directory.
16486 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16488 * ifcvt.c (noce_try_store_flag_constants): Correct order
16489 of parameters to trunc_int_for_mode.
16491 2001-07-19 Mark Mitchell <mark@codesourcery.com>
16493 * reorg.c (fill_simple_delay_slots): If an instruction might throw
16494 an exception that will be caught within this function, do not fill
16495 its delay slot with any subsequent instruction.
16497 2001-07-19 Steve Ellcey <sje@cup.hp.com>
16499 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
16500 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
16501 pointer extension instruction.
16502 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
16503 * simplify-rtx.c (simplify_unary_operation) Likewise.
16504 * explow.c (convert_memory_address) Check value of
16505 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
16507 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
16508 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
16509 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
16510 Add Multilib Support.
16511 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
16512 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
16513 Add Multilib Support.
16514 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
16516 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
16517 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
16518 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
16520 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
16522 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
16523 old and new operands in `<', `3' and `b'.
16525 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16527 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
16528 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
16529 (toplev.o): Don't depend on xcoffout.h.
16530 * c-decl.c: Include debug.h
16531 (duplicate_decls): Use debug hook.
16532 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
16533 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16534 (dbxout_types): Remove.
16535 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
16536 * debug.c (do_nothing_debug_hooks): Update.
16537 (debug_true_tree, debug_nothing_rtx): New.
16538 * debug.h (struct rtx_def): New.
16539 (struct gcc_debug_hooks): New hooks ignore_block,
16540 outlining_inline_function and label.
16541 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
16542 dwarf2out_frame_finish): New.
16543 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
16544 Make static, update prototype.
16545 (dwarf2_debug_hooks): Update.
16546 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
16547 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
16548 * dwarfout.c (dwarf_debug_hooks): Update.
16549 * emit-rtl.c: Include debug.h.
16550 (remove_unnecessary_notes): Use debug hook.
16551 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
16552 (final_scan_insn): Use debug hook.
16553 * integrate.c (output_inline_function): Use debug hook.
16554 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
16555 (sdb_debug_hooks): Update.
16556 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
16557 * toplev.c: Don't include xcoffout.h.
16558 (note_outlining_of_inline_function, debug_ignore_block): Remove.
16559 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
16561 * tree.h (dwarf2out_do_frame): Remove.
16563 2001-07-19 Catherine Moore <clm@cygnus.com>
16565 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
16567 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
16569 * reload1.c (eliminate_regs_in_insn): When updating a set
16570 to the frame pointer to the hardware frame pointer, perform
16571 the update always not just when REPLACE is set.
16573 * reload1.c (choose_reload_regs): Don't inherit a reload
16574 that crosses multiple registers if registers past the first
16575 don't fit in the desired class.
16577 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
16578 when negating constants.
16580 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
16582 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
16583 * doc/tree.texi: Ditto.
16585 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
16586 Jakub Jelinek <jakub@redhat.com>
16588 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
16589 (extract_cie_info): Handle "eh" augmentation properly,
16591 (struct frame_state, __frame_state_for): New.
16593 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16595 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
16596 HANDLE_SYSV_PRAGMA): Define.
16597 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
16599 (copy_object): Caller changed.
16601 2001-07-19 Andreas Schwab <schwab@suse.de>
16603 * configure.in (assembler dwarf2 debug_line support): Define nop
16605 * configure: Regenerated.
16607 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16609 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
16611 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
16612 to conditionally compiled block.
16613 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16614 * dbxout.h (dbxout_function): Remove.
16615 * debug.c (do_nothing_debug_hooks): Update.
16616 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
16617 global_decl, deferred_inline_function.
16618 * dwarf2out.c (dwarf2_debug_hooks): Update.
16619 (dwarf2out_global_decl): New.
16620 * dwarfout.c: Don't include dwarfout.h.
16621 (dwarfout_global_decl, dwarfout_function_decl,
16622 dwarfout_deferred_inline_function): New.
16623 (dwarf_debug_hooks): Update.
16624 * dwarfout.h: Remove.
16625 * final.c: Don't include dwarfout.h.
16626 * sdbout.c (sdbout_global_decl): New.
16627 (sdbout_debug_hooks): Update.
16628 * toplev.c: Don't include dwarfout.h.
16629 (check_global_declarations, rest_of_compilation): Use new debug hooks.
16630 (note_deferral_of_defined_inline_function): Remove.
16631 * toplev.h (note_deferral_of_defined_inline_function): Remove.
16632 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
16633 * ch/lex.c: Don't include dwarfout.h.
16634 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
16635 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
16636 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
16637 * cp/optimize.c: Include debug.h.
16638 (maybe_clone_body): Use debug hook.
16639 * cp/semantics.c: Include debug.h.
16640 (expand_body): Use debug hook.
16641 * po/POTFILES.in: Remove dwarfout.h.
16643 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
16645 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
16646 * c-parse.in (yyerror, _yylex): Similarly.
16647 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
16648 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
16650 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
16651 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
16653 2001-07-18 Jeff Sturm <jsturm@one-point.com>
16655 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
16656 in-class declaration at -g1. Fixes c++/2814.
16658 2001-07-18 Richard Henderson <rth@redhat.com>
16660 * doc/md.texi (reload_in/out): Document restrictions in predicates
16661 and constraints for these patterns. Document empty string matching
16664 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16666 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
16668 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
16670 * cse.c: Undo my previous patch.
16672 2001-07-18 Tom Tromey <tromey@redhat.com>
16675 * configure: Rebuilt.
16676 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
16678 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
16680 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
16681 Jan Hubicka <jh@suse.cz>
16683 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
16684 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
16685 * jump.c (mark_jump_label): Do not forward branches.
16687 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
16689 * cse.c (delete_trivially_dead_insns): Delete the libcall block
16690 when return value is unused.
16692 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16694 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
16696 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
16698 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
16699 on error. We can't blindly return the result of
16700 pthread_mutex_trylock because it returns a positive number on
16701 error, while we must return -1 on error.
16702 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
16704 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
16706 2001-07-18 Andreas Jaeger <aj@suse.de>
16708 * integrate.c (output_inline_function): Correct type of debug_hooks.
16710 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
16712 * combine.c (combine_simplify_rtx): DIV can be treated
16713 associatively for floats if unsafe math optimisations are enabled.
16715 2001-07-17 Richard Henderson <rth@redhat.com>
16717 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
16719 2001-07-17 Richard Henderson <rth@redhat.com>
16721 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
16722 don't force the function address into a register.
16723 (expand_call, emit_library_call_value_1): Update callers.
16724 * builtins.c (expand_builtin_apply): Likewise.
16725 * expr.h (prepare_call_address): Update decl.
16727 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
16729 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
16731 * config/i386/chorus.h: Move up.
16732 * config/sparc/chorus.h: Likewise.
16733 * config/rs6000/chorus.h: Likewise.
16734 * config/chorus.h: Moved here.
16736 2001-07-17 Andreas Schwab <schwab@suse.de>
16738 * configure.in (assembler eh_frame optimization): Handle big
16740 * configure: Regenerated.
16742 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
16744 * expr.c (epxand_expr): Convert divisions into multiplications by
16745 reciprocals if -ffast-math.
16747 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
16749 * dbxout.c (dbxout_really_begin_function): Rename to
16750 dbxout_begin_function.
16751 (dbx_debug_hooks, xcoff_debug_hooks): Update.
16752 (dbxout_begin_function): Remove.
16753 (dbxout_function): Update.
16754 (dbxout_source_line): Update prototype.
16755 * dbxout.h (dbxout_begin_function): Remove.
16756 * debug.c (do_nothing_debug_hooks): Update.
16757 (debug_nothing_tree): Update.
16758 (debug_nothing_charstar_rtx): Remove.
16759 * debug.h (union tree_node): Declare.
16760 (struct rtx_def): Remove.
16761 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
16762 begin_function. Change source_line prototype.
16763 (debug_nothing_tree): New.
16764 (debug_nothing_charstar_rtx): Delete.
16765 (dwarf2out_begin_prologue): Moved from ...
16766 * tree.h: ... here.
16767 * dwarf2out.c (dwarf2_debug_hooks): Update.
16768 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
16769 debug info, call dwarf2out_source_line.
16770 (dwarf2out_souce_line): Update prototype.
16771 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
16772 Change prototype, make static.
16773 (dwarfout_source_line): Update prototype.
16774 (dwarf_debug_hooks): Update.
16775 * dwarfout.h (dwarfout_begin_function): Remove.
16776 * final.c (final_start_function, final_scan_insn): Use appropriate
16777 debug hooks, update to use notice_source_line.
16778 (output_source_line): Rename notice_source_line. Don't call the
16779 source_line debug hook.
16780 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
16781 make static, update prototype.
16782 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
16784 (sdbout_end_prologue): New.
16785 (sdbout_source_line): Update prototype.
16786 (sdbout_debug_hooks): Update.
16787 (sdbout_symbol): Remove unused var.
16788 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
16790 * varasm.c: Include debug.h.
16791 (assemble_start_function): Use begin_function debug_hook.
16792 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16793 update with prototype.
16794 (xcoffout_source_line): Update prototype.
16795 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
16797 (xcoffout_source_line): Update prototype.
16799 2001-07-17 Richard Henderson <rth@redhat.com>
16801 * c-typeck.c (build_binary_op): Do not shorten unsigned
16802 right shift after sign extension.
16804 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
16806 * combine.c (combine_simplify_rtx): Attempt to simplify
16807 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
16809 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
16810 (simplify_binary_operation, simplify_unary_operation,
16811 simplify_relational_operation): Use it.
16813 * combine.c (combine_simplify_rtx): Don't do associative law
16814 on divisions; allow associative law on floats.
16816 2001-07-17 H.J. Lu <hjl@gnu.org>
16817 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16819 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
16820 ASM_OUTPUT_WEAK_ALIAS are defined.
16821 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
16822 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
16824 * config/mips/iris5.h: ... here.
16825 (HANDLE_SYSV_PRAGMA): Defined as 1.
16826 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
16827 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
16830 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
16832 * c-parse.in (all_prefix_attributes): New variable.
16833 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
16834 (maybe_resetattrs): New production.
16835 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
16836 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
16837 notype_initdcl, nested_function, notype_nested_function,
16838 component_decl, components, components_notype,
16839 component_declarator, component_notype_declarator,
16840 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
16841 ivars, mydecl, myparm): Update. Avoid prefix attributes just
16842 after a comma being applied to more than one declarator.
16843 * doc/extend.texi (Attribute Syntax): Update. Remove
16844 documentation of bugs that are no longer present.
16846 2001-07-13 Eric Christopher <echristo@redhat.com>
16848 * config/mips/mips.h: Change TUNE_MIPS* options to use
16850 (EXTRA_SPECS): Add cc1_cpu_spec.
16851 * config/mips/mips.md (muldf3): Fix typo.
16853 2001-07-16 Richard Henderson <rth@redhat.com>
16855 * config/m68k/m68k.c: Include expr.h and reload.h.
16856 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
16857 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
16859 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
16860 Richard Henderson <rth@redhat.com>
16862 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
16863 (insn_live_p): Fix fall off end of function.
16864 (dead_libcall_p): Remove COUNTS argument; update callers.
16865 (delete_trivially_dead_insns): Remove unused variables.
16867 2001-07-17 Andreas Jaeger <aj@suse.de>
16869 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
16870 x86-64 pic support.
16872 * lcm.c (optimize_mode_switching): Avoid warning for unused
16873 variable if !NORMAL_MODE.
16875 * flow.c (try_crossjump_to_edge): Remove unused variable.
16877 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
16879 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
16880 atexit declaration in stdlib.h.
16882 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
16884 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
16886 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16888 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
16889 * except.c (finish_eh_generation): Update call of cleanup_cfg;
16890 do rebuild_jump_labels instead of jump_optimize
16891 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
16892 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
16893 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
16895 * flow.c: Include timevar.h
16896 (find_basic_block): Push/pop timevar;
16897 (cleanup_cfg): Likewise.
16898 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
16899 * Makefile: Add dependencies on timevar.h
16901 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
16902 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
16904 * rtl.h (delete_trivially_dead_insns): Add new parameter.
16905 * toplev.c (rest_of_compilation): Update calls.
16906 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
16907 (delete_trivially_dead_insns): ... here; accept new argument
16908 preserve_basic_blocks; preserve basic blocks if set.
16910 * reg-stack.c (stack_regs_mentioned): Return 0 if
16911 stack_regs_mentioned_data is not initialized.
16912 (reg_to_stack): Make stack_regs_mentioned survive after the
16913 reg-stack is completted; do not call cleanup_cfg.
16914 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
16915 make cleanup_cfg after bb-reorder to output to debug file.
16917 2001-07-16 Richard Henderson <rth@redhat.com>
16919 * regclass.c (init_reg_sets): Use only 32 bits per initializer
16920 from int_reg_class_contents.
16922 2001-07-16 Richard Henderson <rth@redhat.com>
16924 * hard-reg-set.h (regs_invalidated_by_call): Declare.
16925 * regclass.c (regs_invalidated_by_call): Move from cse.c.
16926 (init_reg_sets_1): Move initialization from cse_main.
16927 * cse.c (regs_invalidated_by_call): Move to regclass.c.
16928 (cse_main): Move its initialization also.
16929 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
16930 * flow.c (propagate_one_insn): Likewise.
16931 * gcse.c (compute_hash_table): Likewise.
16932 (compute_kill_rd, compute_store_table): Likewise.
16933 * sched-deps.c (sched_analyze_1): Likewise.
16935 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
16937 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
16940 2001-07-16 Steve Ellcey <sje@cup.hp.com>
16942 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
16943 in if statement so we don't access undefined memory.
16945 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
16947 * gcse.c: Update comment at top.
16948 Update comment on mem handling.
16949 mem_last_set, mem_first_set, mem_set_in_block: gone.
16950 Declaration of reg_set_info: gone.
16951 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
16952 pointless with load_killed_in_block_p (they are *more*
16953 conservative then it, not less, and less accurate).
16954 (oprs_not_set_p): Ditto.
16955 (alloc_gcse_mem): Don't allocate mem_set_in_block
16956 (free_gcse_mem): Don't free it, either.
16957 (record_last_mem_set_info): Update comment in front, remove
16958 mem_*set_* stuff. Note the reason we don't handle stores directly
16960 (compute_hash_table): Update comments to reflect reality. Remove
16961 mem_*set_* references.
16962 (reset_opr_set_tables): Remove mem_*set_* references.
16963 (mark_call): Ditto.
16964 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
16965 (mark_clobber): Ditto (on both parts, we double set here too).
16966 (expr_killed_p): Remove mem_set_in_block test.
16967 (compute_transp): Remove mem_set_in_block test.
16969 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
16970 of edge, and removal of phi alternative to dump file.
16971 (ssa_ccp_substitute_constants): Add note about register now being
16972 constant, and which uses were replaced in what insns to dump file.
16974 2001-07-16 Andreas Jaeger <aj@suse.de>
16976 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
16977 variables of type HOST_WIDEST_INT.
16979 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
16980 (__bb_exit_func): Correct type of count_max to avoid overflow.
16981 (num_digits): Handle long long argument.
16983 * combine.c (gen_lowpart_for_combine): Remove unused variable.
16985 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
16987 * output.h (sdb_begin_function_line): Restore as an extern
16989 * sdbout.c (sdb_begin_function_line): Make extern.
16991 2001-07-15 Richard Henderson <rth@redhat.com>
16993 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
16994 * genrecog.c (maybe_both_true_mode): New.
16995 (maybe_both_true_2): Use it.
16996 (write_switch): Don't put Pmode in a switch.
16997 * rtl.c (mode arrays): Don't explicitly size them.
16999 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
17001 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
17002 handling; move unconditional splitting before mode switching.
17004 * i386.md (type): Add fistp type.
17005 (i387, length_attr, scheduling definitions): Handle this type.
17006 (fix_trunc?f?i2): Revamp to use mode switching.
17007 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
17008 * i386.h (fp_cw_mode): New enum
17009 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
17010 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
17012 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17014 * Makefile.in (integrate.o): Add debug.h.
17015 * integrate.c (debug.h): Add.
17016 (output_inline_function): Save, reset, and restore debug_hooks.
17018 2001-07-15 Richard Henderson <rth@redhat.com>
17020 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
17021 instead of COMPARE for the EQUIV expression.
17023 2001-07-15 Richard Henderson <rth@redhat.com>
17025 * flow.c (redirect_edge_and_branch_force): Initialize
17026 global_live_at_start and global_live_at_end.
17027 (allocate_bb_life_data): Export.
17028 * basic-block.h (allocate_bb_life_data): Declare.
17029 * toplev.c (rest_of_compilation): Call it.
17031 2001-07-15 Richard Henderson <rth@redhat.com>
17033 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
17034 (alpha_tablejump_best_label): New.
17035 * config/alpha/alpha-protos.h: Declare them.
17036 * config/alpha/alpha.md: Use braced strings for code blocks.
17037 (tablejump_osf): Break out add with r29.
17038 (tablejump_osf_internal): Remove.
17039 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
17040 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
17042 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
17044 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
17047 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
17049 * i386-protos.h (ix86_split_fp_branch): Update prototype.
17050 (ix86_fp_jump_nontrivial_p): New.
17051 * i386.md (fp_jcc_?): Update call of split_fp_branch;
17052 use ix86_fp_jump_nontrivial_p.
17053 * i386.c (ix86_fp_jump_nontrivial_p): New.
17054 (ix86_split_fp_branch): Accept code instead of rtx.
17055 (ix86_expand_compare): Expand comparison early in case
17056 doing so is resonably cheap.
17058 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
17060 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
17062 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
17063 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
17065 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
17067 * dbxout.c (dbxout_source_line): Make static, update prototype.
17068 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
17069 (dbxout_init, dbxout_finish, dbxout_source_line,
17070 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
17071 * dbxout.h (dbxout_source_line): Delete.
17072 * debug.c (debug_nothing_file, debug_nothing_file_int,
17073 debug_nothing_file_charstar_rtx): New.
17074 (do_nothing_debug_hooks): Update.
17075 (debug_nothing_void, debug_nothing_charstar_rtx,
17076 dwarf2out_end_epilogue): New.
17077 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17078 * debug.h (struct rtx_def): Declare.
17079 (gcc_debug_hooks): New hooks source_line, end_epilogue
17081 (debug_nothing_void, debug_nothing_charstar_rtx,
17082 dwarf2out_end_epilogue): New.
17083 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
17084 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
17085 (dwarf2_debug_hooks): Update.
17086 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
17087 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
17088 * dwarf2out.h (dwarf2out_source_line): Remove.
17089 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
17090 Make static, update prototype.
17091 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
17092 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
17093 (dwarf_debug_hooks): Update.
17094 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
17095 dwarfout_end_function): Remove.
17096 * final.c (profile_function): Use debug hooks for ending functions
17098 (output_source_line, final_end_function): Update prototype,
17100 (final_start_function, final_scan_insn): Update.
17101 * output.h (sdb_begin_function_line): Remove.
17102 (final_end_function): Update prototype.
17103 * sdbout.c (sdb_begin_function_line): Make static.
17104 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
17105 (sdbout_source_line): New.
17106 (sdbout_end_epilogue, sdbout_end_function): Make static, update
17108 (sdb_debug_hooks): Update.
17109 (sdbout_init, sdbout_source_line,
17110 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
17111 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
17112 * toplev.c (compile_file, rest_of_compilation): Update.
17113 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
17114 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
17115 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
17116 Update for prototype changes.
17117 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
17118 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
17120 2001-07-15 Richard Henderson <rth@redhat.com>
17122 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
17123 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
17124 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
17125 * config/alpha/alpha.c: Likewise.
17126 * config/alpha/alpha.md: Likewise.
17127 * config/alpha/alpha32.h: Likewise.
17128 * config/alpha/vms.h: Likewise.
17129 (OPEN_VMS): Remove.
17131 2001-07-14 Richard Henderson <rth@redhat.com>
17133 * config/alpha/alpha.md: Use define_constants for unspec values.
17134 Substitute throughout.
17136 2001-07-14 Tim Josling <tej@melbpc.org.au>
17138 * tree.def (EXPON_EXPR) remove. Never supported anyway.
17140 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
17142 * pa.md: Remove unused constraints from define_split's.
17144 2001-04-14 Richard Henderson <rth@redhat.com>
17146 * ifcvt.c (find_cond_trap): Test for exit block.
17148 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
17150 Re-install recently reverted patch.
17151 * emit-rtl.c (try_split): Update mark_jump_label call.
17152 * flow.c (find_sub_basic_blocks): Likewise.
17153 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17154 jump_back_p): Kill.
17155 (mark_all_labels): Kill second parameter.
17156 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17157 (rebuild_jump_labels, jump_optimize_minimal): Update call
17158 of jump_optimize_1.
17159 (jump_optimize_1): Kill crossjumping code.
17160 (mark_jump_label): Kill cross_jump parameter.
17161 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17162 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17163 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17165 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17167 (dump_file_info): Likewise.
17168 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17169 reorganize passes to do reg-stack first, bb-reorder second.
17170 * invoke.texi (-d letters doc): Remove the jump2 pass.
17172 2001-07-14 Richard Henderson <rth@redhat.com>
17174 * ifcvt.c (find_cond_trap): New.
17175 (find_if_header): Call it.
17176 (merge_if_block): Relax existing jump sanity check.
17177 * jump.c (jump_optimize_1): Remove conditional trap handling.
17179 2001-07-14 Alan Modra <amodra@bigpond.net.au>
17181 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
17183 (insn_refs_are_delayed): Correct comment.
17184 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
17185 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
17186 instead of r31. Make associated insn !TARGET_64BIT, and
17187 provide an additional 64-bit insn that clobbers r2.
17188 (divsi3): Likewise.
17189 (udivsi3): Likewise.
17190 (modsi3): Likewise.
17191 (umodsi3): Likewise.
17193 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
17195 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
17197 * flow.c (redirect_edge_and_branch_force, split_edge,
17198 try_crossjump_to_edge): Use set_block_for_new_insns.
17199 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
17201 2001-07-13 H.J. Lu (hjl@gnu.org)
17203 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
17206 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17208 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
17210 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
17212 * c-common.c (decl_attributes): Take a pointer to the node to
17213 which attributes are to be attached, and a flags argument.
17214 * c-common.h (enum attribute_flags): New.
17215 (decl_attributes): Update prototype.
17216 * c-decl.c (start_decl, push_parm_decl, finish_struct,
17217 finish_enum, start_function): Update calls to decl_attributes.
17218 * c-parse.in (component_declarator, component_notype_declarator,
17219 label): Update calls to decl_attributes.
17221 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
17223 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
17224 * config/avr/avr.c (legitimate_address_p): Return value changed
17225 from letter to register classes. For better debugging.
17227 2001-07-13 Kazu Hirata <kazu@hxi.com>
17229 * jump.c (reversed_comparison_code_parts): Fix comment typos.
17231 2001-07-13 H.J. Lu (hjl@gnu.org)
17233 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
17235 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
17237 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
17238 correctly for shared configurations.
17239 * config/t-libgcc-pic: New.
17240 * config/{i386,m68k,sparc}/t-openbsd: New.
17241 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
17242 Support -shared. Support debugging libraries with -g.
17243 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
17244 frame information does not emit pointer diffs.
17245 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
17246 emit pointer diffs.
17248 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
17250 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
17252 2001-07-13 David Edelsohn <edelsohn@gnu.org>
17254 * combine.c (try_combine): Ensure const_int pow2 is positive.
17256 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
17258 * config.gcc: Add configuration for s/390.
17259 * config/s390/s390.c: New. Subroutines for code generation.
17260 * config/s390/s390.h: New. Definitions for s/390.
17261 * config/s390/s390-protos.h: New. Prototypes.
17262 * config/s390/linux.h: New. Definitions for linux for s/390.
17263 * config/s390/linux64.h: New. Definitions for linux for zSeries.
17264 * config/s390/t-linux: New. Makefile fragment.
17265 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
17266 * config/s390/fixdfdi.h: New. Fix L_fix*di.
17268 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
17270 * emit-rtl.c (try_split): Update mark_jump_label call.
17271 * flow.c (find_sub_basic_blocks): Likewise.
17272 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
17273 jump_back_p): Kill.
17274 (mark_all_labels): Kill second parameter.
17275 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
17276 (rebuild_jump_labels, jump_optimize_minimal): Update call
17277 of jump_optimize_1.
17278 (jump_optimize_1): Kill crossjumping code.
17279 (mark_jump_label): Kill cross_jump parameter.
17280 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
17281 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
17282 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
17284 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
17286 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
17287 reorganize passes to do reg-stack first, bb-reorder second.
17288 * invoke.texi (-d letters doc): Remove the jump2 pass.
17290 2001-07-12 Steve Ellcey <sje@cup.hp.com>
17292 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
17294 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
17296 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
17298 (verify_flow_info): Make diagnostics prettier.
17300 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
17302 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
17304 * flow.c (outgoing_edges_match): Return early if condition reversal
17307 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
17309 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
17310 (mips_move_2words): When splitting a move into two instructions,
17311 prefix the second address operand with '%D'.
17313 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
17315 * Makefile.in (final.o): Depend on debug.h.
17316 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
17317 (dbx_debug_hooks): Add new hooks.
17318 (xcoff_debug_hooks): New.
17319 * debug.c (debug_nothing_file_int_int): New.
17320 (do_nothing_debug_hooks): Update.
17321 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
17322 (debug_nothing_file_int_int): New.
17323 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
17324 static, update prototype.
17325 (dwarf2_debug_hooks): Update.
17326 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
17327 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
17328 static, update prototype.
17329 (dwarf_debug_hooks): Update.
17330 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
17331 * final.c: Include debug.h.
17332 (final_scan_insn): Use debug hooks when beginning and ending blocks.
17333 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
17334 static, update prototype.
17335 (sdb_debug_hooks): Update.
17336 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
17337 * toplev.c: Distinguish between xcoff and dbx.
17339 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
17340 Call all debug hooks, not just dwarf ones.
17342 2001-07-11 Timothy Wall <twall@redhat.com>
17344 * config.gcc: Add configuration for AIX5/IA64.
17345 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
17346 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
17347 support prefix/suffix code.
17348 * config/ia64/t-aix: New. Makefile fragment.
17349 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
17351 2001-07-11 Kazu Hirata <kazu@hxi.com>
17353 * recog.c (validate_change): Fix a comment typo.
17355 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
17357 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
17358 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
17360 * dbxout.c (dbx_debug_hooks): Add new hooks.
17361 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
17363 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
17365 * dbxout.h (dbxout_start_new_source_file,
17366 dbxout_resume_previous_source_file): Delete.
17367 * debug.c (do_nothing_debug_hooks): Add new hooks.
17368 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17369 (debug_nothing_int_charstar, debug_nothing_int): New.
17370 * debug.h (gcc_debug_hooks): New hooks define, undef,
17371 start_source_file and end_source_file.
17372 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
17373 (debug_nothing_int_charstar, debug_nothing_int): New.
17374 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
17375 the conditionally compiled section.
17376 (dwarf2out_start_source_file, dwarf2out_end_source_file,
17377 dwarf2out_define, dwarf2out_undef): Make static.
17378 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
17379 dwarf2out_define, dwarf2out_undef): Remove.
17380 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
17381 (dwarfout_start_source_file, dwarfout_end_source_file,
17382 dwarfout_define, dwarfout_undef): Make static.
17383 (dwarfout_start_source_file_check,
17384 dwarfout_end_source_file_check): New.
17385 (dwarfout_define, dwarfout_finish): Update.
17386 * dwarfout.h (dwarfout_start_new_source_file,
17387 dwarfout_resume_previous_source_file, dwarfout_define,
17388 dwarfout_undef): Remove.
17389 * sdbout.c (sdb_debug_hooks): Add new hooks.
17390 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
17392 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
17393 make static, take an arg.
17394 * sdbout.h (sdbout_start_new_source_file,
17395 sdbout_resume_previous_source_file): Delete.
17396 * toplev.c (debug_start_source_file, debug_end_source_file,
17397 debug_define, debug_undef): Delete.
17398 * toplev.h (debug_start_source_file, debug_end_source_file,
17399 debug_define, debug_undef): Delete.
17401 * java/jcf-parse.c: Include debug.h.
17402 (parse_class_file): Update to use debug hooks directly.
17403 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
17405 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17407 * alias.c (set_mem_alias_set): New function.
17408 * rtl.h (set_mem_alias_set): Declare it.
17409 * builtins.c (expand_builtin_return_addr): Call it instead of
17410 using MEM_ALIAS_SET accessor.
17411 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
17412 (get_memory_rtx, expand_builtin_va_arg): Likewise.
17413 (expand_builtin_va_copy):Likewise.
17414 * caller-save.c (setup_save_areas): Likewise.
17415 * calls.c (compute_argument_addresses): Likewise.
17416 * explow.c (set_mem_attributes): Likewise.
17417 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
17418 (expand_assignment, store_constructor_field, store_field): Likewise.
17419 (expand_expr_unaligned): Likewise.
17420 * function.c (assign_stack_temp_for_type): Likewise.
17421 (put_reg_into_stack, gen_mem_addressof): Likewise.
17422 * ifcvt.c (noce_try_cmove_arith): Likewise.
17423 * reload1.c (reload, alter_reg): Likewise.
17424 * config/alpha/alpha.c (get_aligned_mem): Likewise.
17425 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
17426 (alpha_expand_unaligned_store): Likewise
17427 (alpha_expand_unaligned_load_words): Likewise.
17428 (alpha_expand_unaligned_store_words): Likewise.
17429 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
17430 (alpha_expand_epilogue): Likewise.
17431 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
17432 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
17433 * config/i386/i386.c (legitimize_pic_address): Likewise.
17434 * config/i960/i960.c (setup_incoming_varargs): Likewise.
17435 * config/ia64/ia64.c (spill_restore_mem): Likewise.
17436 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
17437 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
17438 * config/mips/mips.c (mips_va_arg): Likewise.
17439 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
17440 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
17441 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
17442 (setup_incoming_varargs, rs6000_va_arg): Likewise.
17443 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
17444 (rs6000_emit_epilogue): Likewise.
17445 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
17446 * config/sparc/sparc.c (sparc_va_arg): Likewise.
17447 * config/v850/v850.c (v850_va_arg): Likewise.
17449 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
17451 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
17452 when fallthru edge is present.
17453 (mege_blocks): Handle case where creation of jump insn
17456 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
17457 CLEANUP_POST_REGSTACK): New constants.
17458 * except.c (finish_eh_generation): Update call of cleanup_cfg,
17459 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
17460 * output.h (cleanup_cfg): Update prototype.
17461 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
17462 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
17463 cleanup_cfg call; kill missleading comment.
17464 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
17465 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
17466 parameter; control optimizations performed using it.
17467 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
17468 try_crossjump_bb): New functions.
17470 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17472 * pa.c (pa_output_function_prologue): Delete prototype. Make function
17474 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
17475 pa_output_function_prologue.
17476 * pa-protos.h (pa_output_function_prologue): New prototype.
17478 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
17480 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
17481 and low to get correct sign extension in low+high test.
17483 2001-07-11 Janis Johnson <janis@us.ibm.com>
17485 * gcov.c (arcdata): Use gcov_type to fix branch percentage
17486 for large hit count.
17488 * profile.c (branch_prob): Fix .bbg info for computed gotos
17491 2001-07-11 Mark Mitchell <mark@codesourcery.com>
17493 * stmt.c (parse_output_constraint): New function, split out
17495 (expand_asm_operands): ... here. Use parse_output_constraint.
17496 * tree.h (parse_output_constraint): Declare it.
17498 2001-07-11 Richard Henderson <rth@redhat.com>
17500 * bitmap.c: Comment some functions; fiddle whitespace.
17501 (bitmap_free): Don't export.
17502 (bitmap_element_allocate): Use memset.
17503 * bitmap.h (bitmap_free): Don't declare.
17505 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
17507 * gcse.c, lcm.c, sched-deps.c:
17508 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
17510 * flow.c (flow_loops_find): Free dom if we found no loops, since
17511 we aren't going to save it.
17513 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
17516 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
17518 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
17520 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17522 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
17523 #ifndef DWARF2_DEBUGGING_INFO.
17525 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17527 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
17529 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17531 * config/mips/mips.c (gen_int_relational): Tell the caller not to
17532 reverse a branch if a NE comparison is implemented with GTU.
17534 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
17535 H.J. Lu <hjl@gnu.org>
17537 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
17538 constant addresses.
17539 (call_internal2): Likewise.
17540 (call_value_internal1): Likewise.
17541 (call_value_internal2): Likewise.
17542 (call_value_multiple_internal1): Likewise.
17543 (call_value_multiple_internal2): Likewise.
17545 2001-07-10 Kazu Hirata <kazu@hxi.com>
17547 * calls.c (emit_library_call_value_1): Fix a comment typo.
17548 * dwarf2out.c (mem_loc_descriptor): Likewise.
17549 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
17551 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
17553 * simplify-rtx.c (simplify_subreg): Fix typo in comment
17555 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17557 * recog.c (offsettable_address_p): Handle LO_SUM case.
17558 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
17559 instead of plus_constant.
17561 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17563 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
17564 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
17566 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17568 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
17569 adjust_address_nv instead of plus_constant.
17571 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
17573 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
17574 dwarf2out.o): Depend on debug.h, wrap long lines.
17575 * dbxout.c: Include debug.h.
17576 (dbx_debug_hooks): New.
17577 (dbxout_init): Make static, take just 2 args.
17578 (dbxout_finish): Make static.
17579 * dbxout.h (dbxout_init, dbxout_finish): Delete.
17580 * debug.c: New file.
17581 * debug.h: New file.
17582 * dwarf2out.c: Include debug.h.
17583 (dwarf2_debug_hooks): New.
17584 (dwarf2out_init): Make static.
17585 (dwarf2out_finish): Make static, take 2 args.
17586 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
17587 * dwarfout.c: Include debug.h.
17588 (dwarf_debug_hooks): New.
17589 (dwarfout_init): Make static.
17590 (dwarfout_finish): Make static, take 2 args.
17591 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
17592 * sdbout.c: Include debug.h.
17593 (sdb_debug_hooks): New.
17594 (sdbout_init): Make static, take 2 args.
17595 * sdbout.h (sdbout_init): Delete.
17596 * toplev.c: Include debug.h.
17597 (debug_hooks): New.
17598 (compile_file): Set deubg_hooks based on command line options.
17599 Use the hooks unconditionally rather than conditional compilation.
17601 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
17603 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
17604 first_insn_after_basic_block_note instead.
17606 * df.c (df_bb_refs_unlink): #if 0 out for now.
17608 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
17610 * ssa.h: Add prototype for ssa_const_prop
17611 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
17612 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
17613 (ssa_fast_dce): Remove unused variable
17615 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17617 * diagnostic.c (finish_diagnostic): Rename to
17618 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
17621 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
17623 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
17626 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
17627 (dump_file): Only pad the demangled name with spaces if the
17628 mangled name was padded with spaces.
17630 2001-07-10 Bernd Schmidt <bernds@redhat.com>
17632 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
17635 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17637 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
17638 extraction if no direct load if either EXPAND_CONST_ADDRESS or
17639 EXPAND_INITIALIZER.
17641 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
17642 whether can put offset inside LO_SUM to check mode alignment, not size.
17644 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
17646 * doc/tm.texi (Misc): Fix thinko.
17648 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
17650 * regmove.c (replace_in_call_usage): Fix warnings.
17651 * sched-deps.c (add_dependence): Fix warnings.
17652 * simplify-rtx.c (simplify_subreg): Likewise.
17653 Return NULL_RTX instead of NULL.
17655 * reg-stack.c (emit_swap_insn): Eliminate warnings.
17656 (subst_asm_stack_regs): Likewise.
17658 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
17661 * dwarf2out.c (output_call_frame_info): Declare i as int.
17662 (build_abbrev_table): Declare n_alloc as int.
17663 (dwarf2out_finish): Initialize die.
17664 * except.c: Declare sjlj_funcdef_number as unsigned.
17665 (connect_post_landing_pads): Declare j as unsigned.
17666 (convert_to_eh_region_ranges): Initialize call_site.
17667 (output_function_exception_table): Initialize tt_format_size.
17668 * expr.c (move_by_pieces_1): Initialize to1.
17669 (store_constructor): Initialize minelt and maxelt.
17670 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
17671 * function.c (instantiate_decls): Avoid signed/unsigned warning.
17673 * c-decl.c (combine_parm_decls): Unused, remove.
17674 * c-tree.h: Remove prototype for combine_parm_decls.
17676 * reload.c (push_reload): Fix warning.
17677 (regno_clobbered_p): Likewise.
17678 * reload1.c (replace_pseudos_in_call_usage): Likewise.
17679 (reload_combine): Likewise.
17681 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
17682 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
17684 * bitmap.c (bitmap_operation): Change user.
17685 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
17687 2001-07-10 Eric Christopher <echristo@redhat.com>
17689 * config/mips/mips.c (override_options): Fix typo.
17691 2001-07-09 Stan Shebs <shebs@apple.com>
17693 * target.h (struct gcc_target): New fields init_builtins and
17695 * target-def.h (TARGET_INIT_BUILTINS): New macro.
17696 (TARGET_EXPAND_BUILTIN): New macro.
17697 (TARGET_INITIALIZER): Add them.
17698 * builtins.c: Include target.h.
17699 (expand_builtin): Use targetm.expand_builtin.
17700 (default_init_builtins): New function.
17701 (default_expand_builtin): New function.
17702 * expr.h (default_init_builtins): Declare.
17703 (default_expand_builtin): Declare.
17704 * c-common.c (c_common_nodes_and_builtins): Use
17705 targetm.init_builtins.
17706 * defaults.h (MD_INIT_BUILTINS): Remove.
17707 * Makefile.in (builtins.o): Depend on target.h.
17709 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
17710 (TARGET_EXPAND_BUILTIN): Define.
17711 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
17712 (MD_EXPAND_BUILTIN): Remove.
17714 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
17715 (TARGET_EXPAND_BUILTIN): Define.
17716 (c4x_init_builtins): Make endlink arg a local.
17717 (c4x_print_operand): Fix typos in adjust_address usages.
17718 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
17719 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
17720 (MD_EXPAND_BUILTIN): Remove.
17722 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
17723 (TARGET_EXPAND_BUILTIN): Define.
17724 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
17725 (ix86_init_builtins): Call new function only if TARGET_MMX.
17726 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
17727 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
17728 (MD_EXPAND_BUILTIN): Remove.
17730 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
17731 (TARGET_EXPAND_BUILTIN): Define.
17732 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
17733 (MD_EXPAND_BUILTIN): Remove.
17735 * doc/tm.texi: Document these changes.
17737 2001-07-09 Diego Novillo <dnovillo@redhat.com>
17739 * basic-block.h (tree_node): Forward declare if needed.
17740 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
17741 (BLOCK_HEAD_TREE): Define.
17742 (BLOCK_END_TREE): Define.
17743 (struct loops): Rename field 'tree' to 'tree_root'.
17744 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
17746 (flow_loops_tree_build): Rename reference to field 'tree' to
17748 (flow_loops_level_compute): Ditto.
17749 * predict.c (estimate_bb_frequencies): Ditto.
17750 * tree.h (struct tree_common): Add field 'aux'.
17752 2001-07-09 Stan Shebs <shebs@apple.com>
17754 * config/darwin.c (darwin_encode_section_info): Don't mark any
17755 DECL_EXTERNAL node as defined.
17757 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
17759 * pa.c (pa_init_machine_status, pa_mark_machine_status,
17760 pa_free_machine_status, hppa_init_pic_save): Delete.
17761 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
17762 (hppa_profile_hook): Use hppa_pic_save_rtx.
17763 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
17764 hppa_init_pic_save): Delete.
17765 (hppa_pic_save_rtx): Declare.
17766 * pa.md (call, call_value, sibcall, sibcall_value,
17767 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
17769 2001-07-09 Kazu Hirata <kazu@hxi.com>
17771 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
17772 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
17774 2001-07-09 Andreas Jaeger <aj@suse.de>
17776 * output.h: Add declaration of final_forward_branch_p.
17778 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
17780 * varray.c: Include errors.h for internal_error and trim_filename
17783 * Makefile.in (varray.o): Add errors.h.
17785 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
17787 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
17788 * optabs.c (have_add2_insn): Check whether the add insn chosen
17789 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
17790 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
17792 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
17794 * Makefile.in (OBJS): Add ssa-ccp.o
17795 (ssa-ccp.o): Add dependencies.
17796 * toplev.c (DFI_ssa_ccp): New dump file enum.
17797 (dump_file): Add entry for dumping after SSA CCP.
17798 (flag_ssa_ccp): New flag variable.
17799 (f_options): Add -fssa-ccp.
17800 (rest_of_compilation): Run SSA CCP if requested.
17801 * timevar.def (TV_SSA_CCP): New timevar.
17802 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
17803 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
17804 Fix minor typo in SSA DCE documentation.
17805 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
17806 Add documentation for new dump option. Renumber dump files
17809 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17811 * emit-rtl.c (gen_highpart_mode): New.
17812 * rtl.h (gen_highpart_mode): Declare.
17813 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
17814 operand can be VOIDmode constant.
17816 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
17818 * flow.c (redirect_edge_and_branch_force): New.
17819 (can_fallthru): Ensure that basic blocks are succeeding.
17820 (try_optimize_cfg): Do not delete basic block if it is the last one.
17822 * flow.c (try_redirect_by_replacing_jump): Do not remove
17823 jumps with side effects, unlink chain on fallthru edge;
17824 set block for new jump instruction; avoid basic block to
17825 over by line number note.
17827 * flow.c (try_simplify_condjump): Verify that the condjump
17828 is not always falling through.
17831 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
17833 * flow.c (forwarder_block_p): Fix for fallthru blocks.
17834 (try_redirect_by_replacing_jump): Update properly the count
17835 and frequency information.
17837 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17839 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
17840 address that is a LO_SUM specially.
17841 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
17843 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
17845 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
17846 (operand_subword): Use them.
17847 (change_address_1): Renamed from change_address; new arg VALIDATE.
17848 * expr.h: Reflect above changes; change_address now macro.
17849 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
17851 * cselib.c (add_mem_for_addr): Likewise.
17852 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
17853 * regmove.c (try_apply_stack_adjustment): Likewise.
17854 * reload.c (push_reload, make_memloc): Likewise.
17855 * reload1.c (eliminate_regs): Likewise.
17856 * simplify-rtx.c (simplify_replace_rtx): Likewise.
17857 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
17859 * combine.c (make_extraction, simplify_shift_const): Likewise.
17860 (gen_lowpart_for_combine): Likewise.
17861 * cse.c (gen_lowpart_if_possible): Likewise.
17862 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
17863 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
17864 * optabs.c (gen_move_insn): Likewise.
17865 * reload1.c (alter_reg): Likewise.
17866 * simplify-rtx.c (simplify_subreg): Likewise.
17867 * stmt.c (expand_anon_union_decl): Likewise.
17868 * recog.c (validate_replace_rtx_1): Likewise.
17870 * Makefile.in (recog.o): Add $(EXPR_H).
17871 * explow.c (stabilize): Call replace_equiv_address.
17872 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
17873 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
17875 2001-07-03 Andrew Haley <aph@redhat.com>
17877 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
17878 the mode of the memory location.
17880 2001-07-09 Bo Thorsen <bo@suse.co.uk>
17882 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
17884 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
17886 * final.c (output_addr_const): Use target opening and
17887 closing parentheses.
17888 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
17889 defaults, add to TARGET_ASM_OUT.
17890 * target.h (struct gcc_target): Add open_paren and close_paren.
17891 * doc/md.texi: Update.
17892 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
17893 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
17894 TARGET_ASM_CLOSE_PAREN.
17895 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17897 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17899 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
17900 * config/a29k/a29k.h: Similarly.
17901 * config/alpha/alpha.h: Similarly.
17902 * config/arc/arc.h: Similarly.
17903 * config/arm/aof.h: Similarly.
17904 * config/arm/aout.h: Similarly.
17905 * config/avr/avr.h: Similarly.
17906 * config/c4x/c4x.h: Similarly.
17907 * config/clipper/clipper.h: Similarly.
17908 * config/convex/convex.h: Similarly.
17909 * config/d30v/d30v.h: Similarly.
17910 * config/dsp16xx/dsp16xx.h: Similarly.
17911 * config/elxsi/elxsi.h: Similarly.
17912 * config/fr30/fr30.h: Similarly.
17913 * config/h8300/h8300.h: Similarly.
17914 * config/i370/i370.h: Similarly.
17915 * config/i386/i386.h: Similarly.
17916 * config/i860/i860.h: Similarly.
17917 * config/i960/i960.h: Similarly.
17918 * config/ia64/ia64.h: Similarly.
17919 * config/m32r/m32r.h: Similarly.
17920 * config/m68hc11/m68hc11.h: Similarly.
17921 * config/m68k/m68k.h: Similarly.
17922 * config/m88k/m88k.h: Similarly.
17923 * config/mcore/mcore.h: Similarly.
17924 * config/mips/mips.h: Similarly.
17925 * config/mn10200/mn10200.h: Similarly.
17926 * config/mn10300/mn10300.h: Similarly.
17927 * config/ns32k/ns32k.h: Similarly.
17928 * config/pa/pa.h: Similarly.
17929 * config/pdp11/pdp11.h: Similarly.
17930 * config/pj/pj.h: Similarly.
17931 * config/romp/romp.h: Similarly.
17932 * config/rs6000/rs6000.h: Similarly.
17933 * config/sh/sh.h: Similarly.
17934 * config/sparc/sparc.h: Similarly.
17935 * config/v850/v850.h: Similarly.
17936 * config/vax/vax.h: Similarly.
17937 * config/we32k/we32k.h: Similarly.
17939 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
17941 * doc/c-tree.texi: Document representation of attributes.
17943 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
17945 * doc/tm.texi: Update some places for the rename of target to
17948 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
17950 * target.h (struct gcc_target): Add insert_attributes.
17951 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
17952 (TARGET_INITIALIZER): Update.
17953 * tree.c, tree.h (default_insert_attributes): New function.
17954 Update comments on other default functions to refer to targetm,
17956 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
17957 TARGET_INSERT_ATTRIBUTES.
17958 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
17959 * c-common.c (decl_attributes): Use targetm.insert_attributes.
17960 Don't use PRAGMA_INSERT_ATTRIBUTES.
17961 * Makefile.in (c-common.o): Depend on $(TARGET_H).
17962 * c-decl.c (start_decl, start_function): Don't call
17963 SET_DEFAULT_DECL_ATTRIBUTES.
17964 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
17965 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
17967 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
17968 (c4x_check_attribute): Avoid modifying attribute list itself.
17969 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
17971 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
17972 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
17974 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
17975 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
17977 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
17978 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
17980 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
17981 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
17982 Adjust parameters. Make static.
17984 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
17986 * c-common.c (decl_attributes): Only take a single attributes
17988 * c-common.h (decl_attributes): Update prototype.
17989 * c-decl.c (start_decl, start_function): Only take a single
17990 attributes parameter. Update calls to decl_attributes.
17991 (finish_struct, finish_enum): Update calls to decl_attributes.
17992 (push_parm_decl): Expect unified list of attributes. Update call
17993 to decl_attributes.
17994 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
17995 notype_nested_function, component_declarator,
17996 component_notype_declarator, label): Update calls to
17998 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
17999 lists that are passed to push_parm_decl.
18000 * c-tree.h (start_function, start_decl): Update prototypes.
18001 * config/sh/sh-protos.h, config/sh/sh.c
18002 (sh_pragma_insert_attributes): Only take a single attributes
18004 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
18005 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
18006 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
18007 build_module_descriptor, generate_static_references,
18008 generate_strings, build_selector_translation_table,
18009 generate_descriptor_table, generate_protocols,
18010 generate_ivars_list, generate_dispatch_table,
18011 generate_protocol_list, generate_category,
18012 generate_shared_structures, really_start_method, add_objc_decls,
18013 generate_classref_translation_entry): Update calls to start_decl
18014 and start_function.
18015 (build_tmp_function_decl, start_method_def): Unify attribute lists
18016 that are passed to push_parm_decl.
18018 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
18020 * final.c (no_asm_to_stream): New.
18021 (final_scan_insn): Use target structures for prologue ends
18022 and epilogue starts.
18023 * output.h (no_asm_to_stream): New.
18024 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
18025 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
18026 (TARGET_ASM_OUT): Update.
18027 * target.h (struct gcc_target): New members function_end_prologue
18028 and function_begin_epilogue.
18029 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
18030 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
18031 * config/alpha/alpha.c (output_end_prologue): Rename to
18032 alpha_output_function_end_prologue. Use in target struct
18034 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
18035 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
18036 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
18037 ia64_output_function_end_prologue. Use in target struct
18039 (ia64_function_prologue, ia64_funciton_epilogue): Rename
18040 mistyped prototypes.
18041 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
18042 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
18044 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
18045 an use in target struct, make static.
18046 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
18049 2001-07-08 Richard Henderson <rth@redhat.com>
18051 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
18053 2001-07-08 Richard Henderson <rth@redhat.com>
18055 * config/i386/i386.md: Remove constraints strings from define_split
18056 and define_peephole2 patterns.
18057 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
18058 (eh_return): Use them.
18060 2001-07-08 Richard Henderson <rth@redhat.com>
18062 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
18063 Document MD_FALLBACK_FRAME_STATE_FOR.
18065 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18067 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
18068 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
18070 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
18072 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
18074 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
18075 of the label inside NAME as opposed to just the end of NAME.
18077 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
18079 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
18080 * config/alpha/alpha.c (alpha_init_machine_status,
18081 alpha_mark_machine_status, alpha_free_machine_status): Delete.
18082 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
18083 (vms_valid_decl_attribute_p): Make static, conditionally compile.
18084 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
18086 2001-07-06 Stan Shebs <shebs@apple.com>
18088 * target.h (targetm): Rename global from "target", so as not to
18089 conflict with local variables.
18091 * c-typeck.c: Ditto.
18094 * cp/decl.c: Ditto.
18095 * cp/decl2.c: Ditto.
18096 * cp/typeck.c: Ditto.
18097 * 1750a/1750a.c: Ditto.
18098 * a29k/a29k.c: Ditto.
18099 * arc/arc.c: Ditto.
18100 * arm/arm.c: Ditto.
18101 * avr/avr.c: Ditto.
18102 * clipper/clipper.c: Ditto.
18103 * convex/convex.c: Ditto.
18104 * d30v/d30v.c: Ditto.
18105 * dsp16xx/dsp16xx.c: Ditto.
18106 * elxsi/elxsi.c: Ditto.
18107 * fr30/fr30.c: Ditto.
18108 * h8300/h8300.c: Ditto.
18109 * i370/i370.c: Ditto.
18110 * i386/i386.c: Ditto.
18111 * i860/i860.c: Ditto.
18112 * i960/i960.c: Ditto.
18113 * ia64/ia64.c: Ditto.
18114 * m32r/m32r.c: Ditto.
18115 * m68hc11/m68hc11.c: Ditto.
18116 * m68k/m68k.c: Ditto.
18117 * m88k/m88k.c: Ditto.
18118 * mips/mips.c: Ditto.
18119 * ns32k/ns32k.c: Ditto.
18121 * pdp11/pdp11.c: Ditto.
18122 * romp/romp.c: Ditto.
18123 * rs6000/rs6000.c: Ditto.
18125 * sparc/sparc.c: Ditto.
18126 * vax/vax.c: Ditto.
18127 * we32k/we32k.c: Ditto.
18128 * doc/tm.texi: Update the manual to match.
18130 2001-07-06 Richard Henderson <rth@redhat.com>
18132 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
18133 DWARF2_UNWIND_INFO not just whether it is defined.
18135 2001-07-06 Diego Novillo <dnovillo@redhat.com>
18137 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
18138 call to simplify_binary_operation returns a new pattern.
18140 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
18142 * glimits.h (__SHRT_MAX__): New.
18143 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
18144 (SHRT_MAX): Define in terms of __SHRT_MAX__.
18146 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
18148 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
18151 2001-07-06 Richard Henderson <rth@redhat.com>
18153 * bitmap.c (bitmap_release_memory): Move adjacent to the
18154 allocation functions.
18155 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
18156 the implementation. Binary search for the set bit.
18157 (bitmap_union_of_diff): Allocate the temporary on the stack
18158 instead of using xmalloc.
18160 2001-07-06 Richard Henderson <rth@redhat.com>
18162 * genrecog.c (validate_pattern): Warn for constraints in
18163 define_{expand,split,peephole2}. Remove strict_low_part
18164 before looking up match_dup.
18166 2001-07-06 DJ Delorie <dj@redhat.com>
18168 * doc/gcc.texi (Makefile): Rename to be a more general purpose
18169 chapter about various build hints and history. Add section
18170 talking about the various types of native and cross builds.
18172 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
18174 * Makefile.in (final.o): Depend on target.h.
18175 * final.c: Include target.h.
18176 (default_function_pro_epilogue): New.
18177 (final_start_function): Use target structure for function prologues.
18178 (final_end_function): Use target structure for function epilogues.
18179 * fold-const.c (real_hex_to_f): Constify s and p.
18180 * output.h (default_function_pro_epilogue): New.
18181 * real.h (real_hex_to_f): Update prototype.
18182 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
18183 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
18184 (TARGET_INITIALIZER): Update.
18185 * target.h (gcc_target): Add struct asm_out.
18186 * doc/tm.texi: Update.
18189 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
18190 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
18191 in cpu/cpu.c, or rename old functions consistently. Take
18192 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
18193 redundant macros and prototypes. Make new functions static.
18195 * 1750a/1750a.c: Similarly.
18196 * 1750a/1750a.h: Similarly.
18197 * a29k/a29k-protos.h: Similarly.
18198 * a29k/a29k.c: Similarly.
18199 * a29k/a29k.h: Similarly.
18200 * arc/arc-protos.h: Similarly.
18201 * arc/arc.c: Similarly.
18202 * arc/arc.h: Similarly.
18203 * arm/arm-protos.h: Similarly.
18204 * arm/arm.c: Similarly.
18205 * arm/arm.h: Similarly.
18206 * avr/avr-protos.h: Similarly.
18207 * avr/avr.c: Similarly.
18208 * avr/avr.h: Similarly.
18209 * clipper/clipper-protos.h: Similarly.
18210 * clipper/clipper.c: Similarly.
18211 * clipper/clipper.h: Similarly.
18212 * convex/convex.c: Similarly.
18213 * convex/convex.h: Similarly.
18214 * d30v/d30v-protos.h: Similarly.
18215 * d30v/d30v.c: Similarly.
18216 * d30v/d30v.h: Similarly.
18217 * d30v/d30v.md: Similarly.
18218 * dsp16xx/dsp16xx-protos.h: Similarly.
18219 * dsp16xx/dsp16xx.c: Similarly.
18220 * dsp16xx/dsp16xx.h: Similarly.
18221 * elxsi/elxsi.c: Similarly.
18222 * elxsi/elxsi.h: Similarly.
18223 * fr30/fr30.c: Similarly.
18224 * fr30/fr30.md: Similarly.
18225 * h8300/h8300-protos.h: Similarly.
18226 * h8300/h8300.c: Similarly.
18227 * h8300/h8300.h: Similarly.
18228 * i370/i370-protos.h: Similarly.
18229 * i370/i370.c: Similarly.
18230 * i370/i370.h: Similarly.
18231 * i386/i386.c: Similarly.
18232 * i386/osf1elf.h: Similarly.
18233 * i386/osfrose.h: Similarly.
18234 * i860/i860-protos.h: Similarly.
18235 * i860/i860.c: Similarly.
18236 * i860/i860.h: Similarly.
18237 * i960/i960-protos.h: Similarly.
18238 * i960/i960.c: Similarly.
18239 * i960/i960.h: Similarly.
18240 * ia64/ia64-protos.h: Similarly.
18241 * ia64/ia64.c: Similarly.
18242 * ia64/ia64.h: Similarly.
18243 * m32r/m32r-protos.h: Similarly.
18244 * m32r/m32r.c: Similarly.
18245 * m32r/m32r.h: Similarly.
18246 * m68hc11/m68hc11-protos.h: Similarly.
18247 * m68hc11/m68hc11.c: Similarly.
18248 * m68hc11/m68hc11.h: Similarly.
18249 * m68k/crds.h: Similarly.
18250 * m68k/dpx2.h: Similarly.
18251 * m68k/m68k-protos.h: Similarly.
18252 * m68k/m68k.c: Similarly.
18253 * m68k/m68k.h: Similarly.
18254 * m68k/news.h: Similarly.
18255 * m88k/m88k-protos.h: Similarly.
18256 * m88k/m88k.c: Similarly.
18257 * m88k/m88k.h: Similarly.
18258 * mips/mips-protos.h: Similarly.
18259 * mips/mips.c: Similarly.
18260 * mips/mips.h: Similarly.
18261 * ns32k/merlin.h: Similarly.
18262 * ns32k/ns32k.c: Similarly.
18263 * ns32k/ns32k.h: Similarly.
18264 * ns32k/tek6000.h: Similarly.
18265 * pa/pa-protos.h: Similarly.
18266 * pa/pa.c: Similarly.
18267 * pa/pa.h: Similarly.
18268 * pdp11/2bsd.h: Similarly.
18269 * pdp11/pdp11-protos.h: Similarly.
18270 * pdp11/pdp11.c: Similarly.
18271 * pdp11/pdp11.h: Similarly.
18272 * romp/romp-protos.h: Similarly.
18273 * romp/romp.c: Similarly.
18274 * romp/romp.h: Similarly.
18275 * rs6000/rs6000-protos.h: Similarly.
18276 * rs6000/rs6000.c: Similarly.
18277 * rs6000/rs6000.h: Similarly.
18278 * rs6000/sysv4.h: Similarly.
18279 * sh/sh-protos.h: Similarly.
18280 * sh/sh.c: Similarly.
18281 * sh/sh.h: Similarly.
18282 * sparc/sparc-protos.h: Similarly.
18283 * sparc/sparc.c: Similarly.
18284 * sparc/sparc.h: Similarly.
18285 * vax/vax.c: Similarly.
18286 * vax/vax.h: Similarly.
18287 * vax/vms.h: Similarly.
18288 * we32k/we32k.c: Similarly.
18289 * we32k/we32k.h: Similarly.
18291 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
18293 * basic-block.h (first_insn_after_basic_block_note): Declare.
18294 * flow.c (first_insn_after_basic_block_note): Define. Moved
18296 * ssa.c (first_insn_after_basic_block_note): Remove.
18297 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
18299 (ssa_eliminate_dead_code): Properly update the CFG and PHI
18300 nodes when we find a dead conditional branch. Insert BARRIERs
18301 after any blocks with no successors, but which do not have
18304 2001-07-06 Zack Weinberg <zackw@stanford.edu>
18306 * varray.c (varray_check_failed): Use internal_error.
18308 2001-07-05 Andrew Haley <aph@redhat.com>
18310 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
18311 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
18312 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
18314 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
18316 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
18317 reference if the target constant is also a SYMBOL_REF.
18319 2001-07-05 Eric Christopher <echristo@redhat.com>
18321 * config/mips/mips.h (MASK_MIPS3900): Remove.
18322 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
18323 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
18324 (TARGET_MIPS3900): Change to use mips_arch.
18325 (TARGET_MIPS4000): New.
18326 (TARGET_MIPS4100): New.
18327 (TARGET_MIPS4300): New.
18328 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
18329 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
18331 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
18332 (ISA_HAS_BRANCHLIKELY): To here.
18333 (CC1_CPU_SPEC): New.
18334 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
18335 (mips_arch_string): Declare.
18336 (mips_arch): Declare.
18337 (TARGET_OPTIONS): Add -march and -mtune.
18339 * config/mips/mips.c (mips_arch_string): New.
18341 (override_options): Handle -march for codegen and -mtune
18342 for scheduling. Use mips_arch. Move tx39 target default here.
18343 (mips_parse_cpu): Move error message to override_options.
18345 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
18347 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
18349 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
18350 (MIPS Options): Ditto. Change mcpu entry to historical text.
18352 2001-07-05 H.J. Lu (hjl@gnu.org)
18354 * config/mips/mips.c (mips_parse_cpu): New function to parse
18357 2001-07-05 Jim Wilson <wilson@redhat.com>
18359 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
18360 * config/ia64/t-ia64: Likewise.
18361 (LIB1ASMFUNCS): Update comment.
18363 2001-07-05 David Edelsohn <edelsohn@gnu.org>
18365 * doc/install.texi (Install GCC: Binaries): Fix typo.
18367 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18369 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
18370 reference using the stack pointer, adjust it since we push Y
18372 ("*ashrsi3"): Likewise.
18373 ("*lshrsi3"): Likewise.
18375 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18377 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
18378 when -fomit-frame-pointer is used.
18380 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
18382 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
18383 (try_redirect_by_replacing_jump): Reverse updating properly the
18384 count and frequency information. Reverse removing cc0 setter.
18385 (forwarder_block_p): Reverse fixing for fallthru blocks.
18387 2001-07-05 DJ Delorie <dj@redhat.com>
18389 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
18390 (translate_options): If the above is defined, use it to map
18391 given options to new options.
18392 * doc/tm.texi: Document it.
18394 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
18395 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18397 * doc/invoke.texi (Optimize Options): Document that -fgcse may
18398 cause programs using computed gotos to run more slowly.
18400 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18402 * doc/install.texi (Specific): Markup, spelling and typo fixes.
18404 Consistently require binutils 2.11.2, not prereleases.
18405 (Specific, decstation-*): Canonicalize as mips-dec-*.
18406 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
18408 (Specific, m68k-altos): Removed reference to README.altos, deleted.
18409 (Specific, mips-*): Reword MIPS C compiler requirements.
18410 (Specific, powerpc*-*-*): New, mention --with-cpu once.
18411 (Specific, sunv5): Removed, obsolete.
18413 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
18415 * dwarf2out.c (output_loc_list): Use an all ones mask for
18416 .text asm output and don't rely on long long
18417 literals. Reformat some long lines.
18419 2001-07-05 Andreas Jaeger <aj@suse.de>
18421 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
18424 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18426 * dwarf2out.c (dwarf2out_define): Update comment.
18427 (dwarf2out_undef): Ditto.
18428 (dwarf2out_start_source_file): Ditto.
18429 (dwarf2out_end_source_file): Ditto.
18430 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
18431 since we never call the start/end debug hook for the primary file.
18433 2001-07-04 Kazu Hirata <kazu@hxi.com>
18435 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
18438 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18440 * cppinit.c (remove_dup_dirs): Inform if a system include
18441 directory is being reordered.
18442 * doc/invoke.texi (Directory Options): GCC warns if you hide a
18444 * doc/cpp.texi (Search Paths): Likewise.
18445 * doc/gcc.texi (Interoperation): Remove information about
18448 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
18450 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
18451 (VARRAY_TOP_CHAR_PTR): Likewise.
18453 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18455 * gcc.c (process_command): Don't assign elements of a const char*.
18457 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18459 * emit-rtl.c (change_address): Don't abort if invalid address while
18460 reload is in progress.
18462 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18464 * c-lex.c (cb_file_change): Pass line number to
18465 debug_start_source_file.
18466 (cb_undefine): Pass correct line number to debug_undef.
18468 * toplev.c (debug_start_source_file): Add line number to
18469 parameters. Pass it along to dwarf2out_start_source_file.
18470 (decode_g_option): Stop resetting debug level back to normal when
18471 we change debug formats, unless the current level is
18472 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
18475 * toplev.h (debug_start_source_file): Add line number to
18478 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
18481 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
18483 Output debug_macinfo data for starting file if requested.
18484 (dwarf2out_end_source_file): Output debug_macinfo data for ending
18486 (dwarf2out_define): Output debug_macinfo data for defining a macro
18488 (dwarf2out_undef): Output debug_macinfo data for undefining a
18489 macro if requested.
18490 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
18491 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
18492 (macinfo_section_label): New. DWARF2 macro info section label.
18493 (dwarf2out_init): If we want macro info, output the start label
18495 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
18496 attribute to the compilation unit die pointing to the macro info.
18498 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
18500 * dwarf2out.c (new_loc_list): Move to inside #ifdef
18501 DWARF2_DEBUGGING_INFO.
18502 (add_loc_descr_to_loc_list): Ditto.
18503 (output_loc_list): Ditto.
18504 Also, fix thinko in curr not being initialized.
18505 (gen_internal_sym): Ditto.
18507 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18509 * emit-rtl.c (replace_equiv_address): New function.
18510 * expr.h (replace_equiv_address): New declaration.
18511 * explow.c (validize_mem): Call it instead of change_address and
18512 also call if -fforce-addr and address is constant.
18513 * expr.c: Replace more calls to change_address with adjust_address
18514 and/or replace_equiv_address or to validize_mem.
18515 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
18516 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
18517 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18518 * config/i370/i370.md, config/i860/i860.md: Likewise.
18519 * config/i960/i960.md, config/mips/mips.c: Likewise.
18520 * config/mips/mips.md, config/pa/pa.md: Likewise.
18521 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
18522 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
18524 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18526 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
18528 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
18531 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
18533 * doc/include: New directory.
18534 * doc/fdl.texi: Move to doc/include/fdl.texi.
18535 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
18536 * doc/include/funding.texi, doc/include/gpl.texi: New files.
18537 * doc/gcc.texi: Use funding.texi and gpl.texi.
18538 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
18539 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
18540 Update dependencies and use -I $(docdir)/include.
18542 2001-07-04 Anthony Green <green@redhat.com>
18544 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
18546 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18548 * doc/install.texi (sparc64-*-*): Remove garbage.
18550 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
18552 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
18553 Fix typo in last change to use adjust_address.
18555 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18557 * doc/install.texi (Specific): Update information for *-*-solaris*.
18559 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18561 * explow.c (plus_constant_wide): Reinitialize Y for restart.
18563 2001-07-03 Stan Shebs <shebs@apple.com>
18565 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
18566 case for flag_no_mach_text_sections.
18567 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
18568 * config/darwin.c (flag_no_mach_text_sections): Remove.
18569 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
18571 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18573 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
18574 and avoid checking for constant as first operand.
18575 * recog.c (find_constant_term_loc): No longer static.
18576 (adj_offettable_operand): Delete.
18577 * rtl.h (adj_offsettable_operand): Delete declaration.
18578 (find_constant_term): Add declaration.
18579 * caller-save.c: Replace calls to adj_offsettable_operand with calls
18581 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
18582 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
18583 * config/i386/i386.c, config/i386/i386.md: Likewise.
18584 * config/i860/i860.c, config/i960/i960.c: Likewise.
18585 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
18586 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
18587 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
18588 * config/mips/mips.c, config/mips/mips.md: Likewise.
18589 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
18590 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
18591 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
18592 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
18593 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
18594 * config/ns32k/ns32k.md: Likewise.
18596 2001-07-03 Zack Weinberg <zackw@stanford.edu>
18598 * rtl.c (copy_rtx): Handle 'T' format letter.
18599 * gensupport.c (collect_insn_data): Likewise.
18600 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
18602 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
18604 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
18605 -B option. Use 'dir' not 'foo' as example directory name.
18607 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18609 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
18610 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
18612 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18614 * doc/cppinternals.texi: Improve formatting and logical markup.
18616 2001-07-03 Andreas Jaeger <aj@suse.de>
18618 * Makefile.in (insn-recog.o): Add dependency on reload.h.
18620 * genrecog.c (write_header): Include reload.h for prototypes in
18623 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
18626 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
18627 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
18628 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
18629 i386_pe_valid_type_attribute_p): Add.
18630 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
18631 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
18633 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18635 * explow.c (plus_constant_wide, case LO_SUM): New case.
18636 (plus_constant_for_output_wide): Delete.
18637 * rtl.h (plus_constant_for_output): Delete.
18638 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
18639 instead of plus_constant_for_output.
18640 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
18641 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
18642 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
18643 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
18644 * config/sparc/sparc.md: Likewise.
18645 Convert some change_address calls to adjust_address.
18647 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
18649 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
18650 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
18651 documentation of -std and -Wwrite-strings.
18653 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18655 * cse.c (canon_hash): Don't register registers in very small
18656 register classes, as extending their lifetime might cause
18659 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
18661 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
18663 * flow.c (forwarder_block_p): Fix for fallthru blocks.
18664 (try_redirect_by_replacing_jump): Update properly the count
18665 and frequency information.
18667 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
18669 * toplev.c (dump_file_index): Move SSA dumps just after first
18671 (dump_file): Corresponding changes.
18672 (rest_of_compilation): Move SSA path to just after the first
18674 * doc/gcc.texi (Passes): Update due to movement of SSA path.
18675 * doc/invoke.texi: Update dump file #s as they were completely
18676 out of date with reality.
18678 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
18680 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
18682 * expr.c (emit_move_insn_1): Deal with non-default
18685 * expr.c (emit_single_push_insn): Fix warning.
18687 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
18689 * expr.c (emit_move_insn_1): Avoid modifying
18690 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
18692 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18694 * emit-rtl.c (adjust_address): New function.
18695 * expr.h (adjust_address): Add declaration.
18696 * builtins.c: Replace some calls to change_address with calls to it
18697 or to validize_mem.
18698 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
18699 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
18700 * config/arm/arm.c, config/convex/convex.c: Likewise.
18701 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
18702 * config/i386/i386.c, config/i386/i386.md: Likewise.
18703 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
18704 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
18705 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
18706 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
18707 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
18709 2001-07-02 Jim Wilson <wilson@redhat.com>
18711 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
18713 2001-07-02 Steve Ellcey <sje@cup.hp.com>
18715 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
18716 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
18718 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18720 * cppinit.c (lang_defaults): New table.
18721 (set_lang): Just read from lang_defaults into the live options
18724 2001-07-02 Zack Weinberg <zackw@stanford.edu>
18726 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
18727 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
18728 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
18730 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18732 * doc/install.texi: Various spelling and markup fixes.
18733 (Installing GCC): Component specific installation instructions are
18736 Warn about removing old install dir in the presence of shared libs.
18737 (Configuration): Invoke with options target to match configure
18739 Consistently refer to gas, gld pathnames.
18740 Invert --enable-multilib documentation.
18741 Remove references to old compiler versions.
18743 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18745 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
18747 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18749 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
18751 (Specific, mips*-sgi-irix5): Note IDO download.
18752 Reworded MIPS C hints.
18753 Use GNU as instead of GAS.
18755 Removed SGI Freeware reference, IRIX 6 only.
18756 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
18757 Note N64 library requirement/workaround.
18759 Complete list of structure passing bug victims.
18761 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18763 * doc/install.texi: Remove CVS Id.
18765 2001-07-02 Andreas Jaeger <aj@suse.de>
18767 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
18768 (find_inherently_necessary): Remove unused variable.
18770 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
18772 * c-common.h (TDI_inlined): New ast dump phase.
18773 (dump_flag_name): New function.
18774 * c-dump.c (dump_files): Add inlined phase.
18775 (dump_flag_name): Define.
18776 * doc/invoke.texi (-fdump-ast-inlined): Document.
18778 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18780 * stor-layout.c (layout_decl): Revert change to handling of alignment
18783 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18785 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
18788 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
18790 * doc/tm.texi (FUNCTION_ARG): Document that the last call
18793 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
18795 * tlink.c (recompile_files): Remove COMPILER_PATH and
18796 LIBRARY_PATH from the environment.
18798 2001-07-01 Zack Weinberg <zackw@stanford.edu>
18800 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
18801 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
18803 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
18805 * c-parse.in (OBJC_STRING): Kill.
18806 (objc_string): Decompose to [objc_string] '@' STRING.
18807 (reswords): Take the leading '@' off all the Objective C keywords.
18808 (objc_rid_sans_at): Kill.
18809 (init_reswords): Don't initialize it.
18810 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
18811 (_yylex): Kill reconsider label. Look ahead one token after
18812 an '@'; if we get an identifier, check whether it's an
18813 Objective C @-keyword. If so, return the keyword. Otherwise,
18814 put back the token and return the '@' as a terminal.
18816 * cpplib.c (lex_macro_node): Remove unnecessary check for
18817 leading '@' on identifier. Clarify control flow and commentary.
18819 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18821 * cse.c (new_label_ref): Variable deleted.
18822 (insert): Remove set of new_label_ref.
18823 (check_for_label_ref): New function.
18824 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
18826 See ChangeLog.5 for earlier changes.