1 2001-11-30 Richard Henderson <rth@redhat.com>
3 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
5 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
7 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
8 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
9 the values in call_used_registers.
11 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
13 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
16 2001-11-30 Jason Merrill <jason@redhat.com>
18 * dwarf2out.c (is_cxx): New fn.
19 (add_data_member_location_attribute): Check it.
20 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
22 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
24 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
26 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
28 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
29 MODE_VECTOR_FLOAT as allowed.
31 2001-11-29 Zack Weinberg <zack@codesourcery.com>
33 Purge cruft now we have build libiberty.
35 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
36 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
37 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
38 USE_HOST_STRSTR): Delete variables.
39 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
40 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
41 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
42 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
43 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
44 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
45 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
46 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
48 (HOST_RTL): Remove hashtab.o safe-ctype.o.
49 (OBJS): Remove splay-tree.o.
50 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
51 (distclean): No need to delete splay-tree.c obstack.c
52 hashtab.c safe-ctype.c.
53 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
54 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
55 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
57 * configure.in: Don't use them.
58 Set and substitute @FORBUILD@.
59 * config.in, configure: Regenerate.
60 * doprint.c: Move to libiberty/_doprnt.c.
61 * doc/configterms.texi: Document that libiberty is now built
62 up to three times. Fix typo.
64 2001-11-30 Jason Merrill <jason@redhat.com>
66 * dwarf2out.c (add_data_member_location_attribute): Do the
67 right thing for virtual bases.
68 * dbxout.c (dbxout_type): For a virtual base, print the offset
71 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
73 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
75 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
77 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
79 Remove unused attribute for named.
81 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
83 * genattrtab.c (attr_rtx_1): New function containing the
84 majority of `attr_rtx'. Move variable declarations into the
85 scope where they are used. Eliminate unnecessary gotos.
86 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
87 VA_FIXEDARG, and VA_CLOSE.
89 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
91 * config/cris/cris.c (cris_notice_update_cc): Check first
92 destination also against overlap with cc_status.value2 and second
93 destination against overlap with cc_status.value1. For overlaps,
94 clear overlapped value, don't just CC_STATUS_INIT.
96 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
98 (LINK_SPEC): Remove whitespace at end of line.
100 2001-11-29 Jakub Jelinek <jakub@redhat.com>
102 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
104 2001-11-29 Jakub Jelinek <jakub@redhat.com>
106 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
107 macros for the supported debugging types.
109 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
112 * config/i386/i386.c (print_operand): Verify that the
113 argument to %c is a constant and not a conditional which
114 needs to be reversed.
116 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
118 * emit-rtl.c (gen_lowpart_common): Fix conversion of
119 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
120 of low part of those arrays for 32bit and 64bit hosts.
122 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
124 * Makefile.in (insn-output.o): Depend on insn-codes.h.
126 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
128 * configure.in (target_list): Add generated-manpages.
129 * configure: Regenerate.
130 * Makefile.in (generated-manpages): Depend on
131 lang.generated-manpages.
132 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
134 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
136 * config/arm/crti.asm (_init): Add .thumb_func if compiled
138 (_fini): Add .thumb_func if compiled with -mthumb.
140 2001-11-28 Eric Christopher <echristo@redhat.com>
142 * config/mips/mips.c (override_options): Fix thinko in mips_tune
143 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
145 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
147 * alpha.md (tablejump): Use pic_offset_table_rtx
148 instead of gen_rtx_REG.
150 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
152 * expr.c (store_expr): When copying a string constant into an
153 array, reset the known alignment of the MEM for the section to
154 be cleared to BITS_PER_UNIT.
156 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
158 * config/cris/cris.c: Remove whitespace at end of line.
160 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
162 * config.gcc (i[34567]86-*-interix3*): New case.
163 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
166 2001-11-28 Richard Henderson <rth@redhat.com>
168 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
169 symbolic_operand as the predicate.
171 2001-11-28 Richard Henderson <rth@redhat.com>
173 * doloop.c (doloop_modify_runtime): Properly select induction
174 variable; skip late entry test if biv initializer created by loop.
176 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
178 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
179 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
181 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
183 * tree.h: Add missing checks on some macros; make formatting more
186 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
187 level; only add to pending_sizes if find it.
189 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
191 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
192 Add casts to remove warnings.
194 * Makefile.in (OBJS): Sort alphabetically.
196 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
199 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
201 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
202 (FLAGS_TO_PASS): Add STAGE_PREFIX.
203 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
206 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
208 * cse.c (true_dependence_in_rtx): New function.
209 (invalidate): Use it.
211 * c-common.h (GOTO_FAKE_P): New macro.
212 * tree-inline.c (GOTO_FAKE_P): Set.
213 * c-tree.texi (GOTO_FAKE_P): Document.
215 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
217 (output_addressed_constants): Check for local/external relocations.
218 * elfos.h (SELECT_SECTION): Classify data section.
219 * tm.texi (SELECT_SECTION): Update documentation.
221 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
222 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
224 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
227 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
230 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
232 * config/cris/cris.c: Tweak spacing for prototypes.
233 (LOSE_AND_RETURN): New macro.
234 (cris_operand_lossage): New function.
235 (cris_print_index, cris_print_base): Use cris_operand_lossage
236 rather than fatal_insn.
237 (cris_print_operand, cris_print_operand_address): Use
238 LOSE_AND_RETURN rather than fatal_insn and internal_error.
239 (cris_output_addr_const): Use LOSE_AND_RETURN and
240 output_operand_lossage rather than fatal_insn and internal_error
241 for valid but unexpected rtx expressions.
243 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
244 for a SUBREG in src or dest, abort instead.
246 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
248 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
251 2001-11-27 Jakub Jelinek <jakub@redhat.com>
253 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
254 preprocessor define. If only DBX_DEBUGGING_INFO or only
255 DWARF2_DEBUGGING_INFO is supported for the target, provide
256 appropriate definitions.
258 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
260 * Makefile.in: Update, and add c-objc-common.o dependencies.
261 * c-lang.c: Remove unnecessary includes.
262 (c_init): Move bulk of code to c_objc_common_init, and call it.
263 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
264 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
266 * c-objc-common.c: New. Mostly pulled from c-lang.c.
267 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
268 c_objc_common_init, c_missing_noreturn_ok_p): New.
269 * toplev.c: Update comment.
270 * doc/passes.texi: Update.
272 * ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
273 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
274 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
275 (objc_init): Update to use c_objc_common_init.
277 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
279 * cpphash.c (_cpp_init_hashtable): Update.
280 * cpphash.h (struct spec_nodes): Remove n_L.
281 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
283 2001-11-17 Richard Henderson <rth@redhat.com>
285 * unroll.c (loop_iterations): Move last change ...
286 * doloop.c (doloop_modify_runtime): ... here.
288 2001-11-17 Corey Minyard <minyard@acm.org>
289 Richard Henderson <rth@redhat.com>
291 * unroll.c (loop_iterations): Detect one situation in which we
292 overestimate the number of iterations.
294 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
296 * gcc.c (set_input): Export.
298 gcc.h (set_input): ... here.
300 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
302 * gcc.c (set_collect_gcc_options): New function, split out from
304 Ignore elided switches.
305 (do_spec): Invoke before executing command.
306 (do_spec_1): Likewise.
309 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
311 * config/cris/cris.h (INT_ASM_OP): Remove.
313 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
315 * config/i386/sol2.h (WINT_TYPE): Redefine.
316 (WINT_TYPE_SIZE): Likewise.
318 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
320 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
321 (dup2): Make static and add prototype.
322 * m68k/plexus.h: Don't define NO_DUP2.
323 * configure.in (AC_CHECK_FUNCS): Add dup2.
324 * config.in, configure: Regenerate.
326 * ia64/aix.h (REG_SIZE): Don't #undef.
327 * sparc.h (REG_SIZE): Delete.
328 * flow.c (mark_used_regs): Don't use REG_SIZE.
329 * regs.h (REG_SIZE): Delete.
331 2001-11-27 Andreas Schwab <schwab@suse.de>
333 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
334 PREFERRED_DEBUGGING_TYPE.
336 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
338 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
339 (expr.o, varasm.o): Depends on langhooks.h.
340 * c-common.c (c_safe_from_p): Always declare.
341 (c_expand_expr): Refine when declared.
342 * c-lang.c (c-common.h): Now include.
343 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
344 (c_init): Don't set lang_safe_from_expr.
345 * expr.c (langhooks.h): Now include.
346 (lang_safe_from_p): No longer define.
347 (safe_from_p): Use lang hook.
348 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
349 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
350 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
351 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
352 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
353 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
354 * langhooks.h (struct lang_hooks): New fields expand_constant
356 * output.h (output_constant): Size arg is HOST_WIDE_INT.
357 * stmt.c (expand_decl_init): No longer need to expand constant
359 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
360 * toplev.c (lang_expand_constant): Delete var.
361 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
362 operations on SAVE_EXPR.
363 * varasm.c (langhooks.h): Now include.
364 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
365 (record_constant_1, output_addressed_constants): Likewise.
366 (initializer_constant_valid_p, output_constant): Likewise.
367 (output_constant_def): Process no-defer of string constant.
368 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
369 (output_constant): Strip more conversions.
370 Track our size and pad for the rest.
371 (array_size_for_constructor): Remove code for non-byte STRING_CST.
372 (output_constructor): SIZE now HOST_WIDE_INT.
374 2001-11-27 Richard Henderson <rth@redhat.com>
376 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
379 2001-11-27 Zack Weinberg <zack@codesourcery.com>
381 * cppfiles.c (read_include_file): Add comment.
383 2001-11-26 Richard Henderson <rth@redhat.com>
385 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
387 2001-11-26 Richard Henderson <rth@redhat.com>
389 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
390 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
391 commented out override.
393 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
395 * cppfiles.c (stack_include_file): Don't optimize zero-length
397 (read_include_file): NUL-terminate read files.
398 * cpplex.c (handle_newline, skip_escaped_newlines,
399 get_effective_char, skip_whitespace, parse_identifier,
400 parse_identifier_slow, parse_number, parse_string,
401 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
403 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
404 Be sure buffers are NUL terminated.
405 * cppmacro.c (warn_of_redefinition): Kill compile warning.
407 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
409 * c-common.c: Include tree-inline.h.
410 (c_language): Move separate definitions here.
411 (c_common_init_options, c_common_post_options): New.
412 (c_common_lang_init): Rename c_common_init.
413 * c-common.h (c_common_lang_init): Similarly.
414 (c_common_init_options, c_common_post_options): New.
415 * c-lang.c (c_post_options): Move body to c_common_post_options.
416 (c_init_options): Use c_common_init_options.
418 * langhooks.def: Rearrange.
419 * langhooks.h: Rearrange, and improve comments.
420 * toplev.c (do_compile): New function.
421 (toplev_main): Use it.
422 (lang_independent_f_options, parse_options_and_default_flags,
423 process_options): Remove trailing periods.
424 * Makefile.in: Update.
425 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
429 2001-11-26 Richard Henderson <rth@redhat.com>
431 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
433 2001-11-26 DJ Delorie <dj@redhat.com>
435 * expr.c (store_constructor): Actually use the value computed
436 if WORD_REGISTER_OPERATIONS.
438 2001-11-26 Richard Henderson <rth@redhat.com>
440 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
443 2001-11-26 David Edelsohn <edelsohn@gnu.org>
445 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
446 correct function on AIX.
448 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
450 * toplev.c (process_options): Don't force
451 flag_optimize_sibling_calls to zero just because exceptions are
454 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
456 * df.h (transfer_function_sbitmap): Use PARAMS around argument
457 list in function prototypes.
458 (transfer_function_bitmap): Likewise.
460 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
462 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
463 * config/i386/netbsd-elf.h: Likewise.
465 2001-11-26 David Edelsohn <edelsohn@gnu.org>
467 * doc/trouble.texi: Remove outdated RS/6000 comments.
469 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
471 * final.c (walk_alter_subreg): Fix return value.
473 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
475 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
477 * sparc.md (post-reload splitters): Do not call alter_subreg.
478 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
480 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
482 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
484 2001-11-26 Alan Modra <amodra@bigpond.net.au>
486 * final.c: (insn_lengths): Make it an int *, so that large jump
487 tables don't overflow.
489 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
491 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
492 (format_types): Use it for scanf.
493 (dollar_arguments_pointer_p): New.
494 (init_dollar_format_checking): Store details of which arguments
496 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
497 (finish_dollar_format_checking): Take extra parameter
498 pointer_gap_ok. Treat unused arguments differently if
499 pointer_gap_ok and the unused arguments are pointers.
500 (check_format_info_main): Pass extra argument to
501 finish_dollar_format_checking.
502 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
503 unused arguments are present between used arguments with operand
506 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
508 * df.c: Add prototypes for hybrid_search_bitmap and
509 hybrid_search_sbitmap.
510 (hybrid_search_bitmap): New function.
511 (hybrid_search_sbitmap): New function.
512 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
513 (iterative_dataflow_bitmap): Ditto.
515 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
517 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
518 address computations.
520 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
522 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
523 register b (low part of d).
525 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
527 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
530 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
532 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
533 * config/alpha/x-vms: New file, to compile the above.
534 * config.gcc (alpha*-dec-vms*): Add x-vms.
536 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
538 * genextract.c (main): Set ro_loc for peepholes.
540 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
542 * fix-header.c (main): Move inf_buffer termination and inf_limit
543 calculation to after read.
545 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
546 (__UNIX_FOPEN): Define.
548 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
550 * function.c (assign_stack_temp_for_type): Clear alias set before
553 2001-11-23 David Edelsohn <edelsohn@gnu.org>
555 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
557 * rs6000.md (cmptf): Fix typo.
559 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
561 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
562 * varasm.c (output_constructor): Use assemble_integer rather
563 than ASM_OUTPUT_BYTE.
565 2001-11-23 Andreas Jaeger <aj@suse.de>
567 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
570 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
572 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
574 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
575 (MULTILIB_DEFAULTS): Remove previous definition.
577 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
579 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
580 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
582 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
584 * cris.h: Revert thinko in last patch.
586 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
588 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
589 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
590 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
591 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
592 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
593 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
595 * predict.c, reg-stack.c: Fix spelling errors.
597 2001-10-09 Andrew Haley <aph@redhat.com>
599 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
602 2001-11-22 Graham Stott <grahams@redhat.com>
604 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
605 replacement jump after original jump.
607 (verify_flow_info): Remove redundent initialisation.
608 Handle reaching end of insn list before finding a BARRIER.
609 Only issue one missing barrier diagnostic.
611 2001-11-22 Graham Stott <grahams@redhat.com>
613 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
615 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
617 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
620 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
622 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
623 Fix typo -mm32rx=> -m32rx.
625 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
628 * config.gcc (xscale-coff): Add necessary header files to
631 2001-11-20 Zack Weinberg <zack@codesourcery.com>
633 * rs6000.c (output_cbranch): Use $, not %$, in output template.
635 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
637 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
638 (lang_type_quals): Declare.
639 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
640 retrieve language-specific qualifiers for a type node, instead of
641 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
643 * tree-dump.h: Rename from c-dump.h.
644 * c-common.h (C_TYPE_QUALS): Removed.
645 Move declarations for tree-dump.c interface to...
646 * tree.h: ... here. Remove lang_dump_tree.
647 * langhooks.h (struct lang_hooks_for_tree_dump): New.
648 (struct lang_hooks): Add tree_dump hooks.
649 * langhooks.c (lhd_tree_dump_dump_tree): New function.
650 (lhd_tree_dump_type_quals): New function.
651 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
653 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
654 * Makefile.in: Move tree-dump.o to language-independent back-end.
656 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
658 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
659 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
660 * arc.h (DBX_REGISTER_NUMBER): Likewise.
661 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
662 * avr.h (DBX_REGISTER_NUMBER): Likewise.
663 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
664 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
665 * convex.h (DBX_REGISTER_NUMBER): Likewise.
666 * cris.h (DBX_REGISTER_NUMBER): Likewise.
667 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
668 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
669 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
670 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
671 * i370.h (DBX_REGISTER_NUMBER): Likewise.
672 * i860.h (DBX_REGISTER_NUMBER): Likewise.
673 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
674 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
675 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
676 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
677 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
678 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
679 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
680 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
681 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
682 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
683 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
684 * romp.h (DBX_REGISTER_NUMBER): Likewise.
685 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
686 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
687 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
688 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
689 * v850.h (DBX_REGISTER_NUMBER): Likewise.
690 * vax.h (DBX_REGISTER_NUMBER): Likewise.
691 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
693 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
694 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
696 2001-11-21 H.J. Lu <hjl@gnu.org>
698 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
700 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
702 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
703 emit_cmp_and_jump_insns.
705 * stormy16.c (xstormy16_expand_builtin_va_arg,
706 xstormy16_expand_casesi): Likewise.
708 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
710 * function.c (keep_stack_depressed): Major rework.
711 (handle_epilogue_set, emit_equiv_load): New functions.
712 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
714 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
715 * rtl.h (SET_IS_RETURN_P): New macro.
717 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
718 and also support TREE_ADDRESSABLE.
719 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
721 2001-11-21 David Edelsohn <edelsohn@gnu.org>
723 * rs6000.md (cmptf_internal1): Replace %$ with $.
725 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
727 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
728 (read_include_file): Use STAT_SIZE_TOO_BIG.
730 * cppinit.c (INO_T_COPY): Define.
731 (INO_T_EQ): Uppercase parameters.
732 (append_include_chain): Use INO_T_COPY.
734 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
736 * cfg.c: Fix typos and formatting in the introductory comment.
738 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
740 * profile.c (compute_branch_probabilites): Compute probabilities
741 for entry/exit edges; estimate probabilities for zero counts.
743 2001-11-21 Jakub Jelinek <jakub@redhat.com>
745 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
746 to emit_library_call.
747 * function.c (expand_main_function, expand_function_start,
748 expand_function_end): Likewise.
749 * profile.c (output_func_start_profiler): Likewise.
750 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
751 second argument to emit_library_call.
752 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
753 as second argument to emit_library_call.
754 * calls.c (emit_library_call): Update fn_type description.
756 2001-11-21 Jakub Jelinek <jakub@redhat.com>
758 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
759 if fndecl is still DECL_INLINE and has DECL_RESULT.
761 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
763 * clipper.c (clipper_movstr): Avoid uninitialized warning.
764 * i960.c (is_mask, legitimize_address): Likewise.
765 * m88k.c (m88k_expand_prologue): Likewise.
767 * mcore.c (emit_new_cond_insn): Likewise.
768 * stormy16.c (xstormy16_emit_cbranch): Likewise.
770 2001-11-20 Zack Weinberg <zack@codesourcery.com>
772 * config.gcc: Delete powerpcle-*-solaris2* stanza.
773 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
774 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
775 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
776 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
777 config/rs6000/t-ppcos: Expunge all references to Solaris.
779 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
781 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
783 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
784 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
786 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
788 * sh.md: Avoid uninitialized warnings.
789 * vax.c (vax_rtx_cost): Likewise.
791 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
793 * rs6000.c (direct_return): Check if we are saving altivec
795 (first_altivec_reg_to_save): New.
796 Updated stack frame layout comments.
797 (rs6000_stack_info): Calculate altivec register save size.
798 Save link register if we saved some altivec registers.
799 (rs6000_stack_info): Align save size to 16 if altivec abi or
801 (rs6000_stack_info): Calculate altivec register offsets.
802 (rs6000_stack_info): Add altivec info to save_size.
803 (debug_stack_info): Add altivec debug info.
804 (rs6000_emit_prologue): Save altivec registers and vrsave.
805 (compute_vrsave_mask): New.
806 (altivec_expand_builtin): Remove unused variables.
807 (rs6000_parse_abi_options): Add static qualifier.
808 (rs6000_expand_builtin): Remove unused parameters.
809 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
810 (altivec_init_builtins): Same.
811 (is_altivec_return_reg): New.
812 (vrsave_operation): New.
813 (ALTIVEC_REG_BIT): New.
814 (generate_set_vrsave): New.
816 * rs6000.md (get_vrsave): New.
818 (*set_vrsave_internal): New.
820 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
821 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
822 altivec_padding_size, vrsave_mask.
823 (TOTAL_ALTIVEC_REGS): New.
824 (EPILOGUE_USES): Add VRSAVE_REGNO.
826 2001-11-20 Jeff Law <law@redhat.com>
828 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
829 exit label as necessary.
831 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
833 * reload1.c (elimination_effects): Use function_invariant_p
834 instead of CONSTANT_P when considering register equivalences.
836 2001-11-20 David O'Brien <obrien@FreeBSD.org>
838 * config.gcc: Add FreeBSD/PowerPC target.
839 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
840 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
841 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
842 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
843 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
844 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
845 freebsd-spec.h to tm_file.
846 (rs6000-*-lynxos*): Add lynx.h to tm_file.
847 * config/freebsd.h: Tidy up.
848 (USING_CONFIG_FREEBSD): Define.
849 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
850 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
851 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
852 (TARGET_HAS_F_SETLKW): Define.
853 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
854 * config/freebsd-spec.h: New file.
855 * config/rs6000/freebsd.h: New file.
856 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
857 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
858 USING_SVR4_H to know when to turn on ELF support.
859 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
860 define only if not already defined.
862 * config/rs6000/aix.h (TARGET_VERSION): Define.
863 * config/rs6000/beos.h: Likewise.
864 * config/rs6000/darwin.h: Likewise.
865 * config/rs6000/mach.h: Likewise.
866 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
867 Don't include lynx.h directly.
869 2001-11-20 Graham Stott <grahams@redhat.com>
871 * unwind-dw2-fde.c (__deregister_frame_info_bases):
872 Fix lossage in last change return OB.
874 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
876 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
877 Remove unneeded exit related macros.
879 2001-11-20 David Edelsohn <edelsohn@gnu.org>
881 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
883 * rs6000.c (rs6000_emit_move): Add TFmode case.
884 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
885 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
886 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
887 * rs6000.h: ... to here.
888 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
889 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
890 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
892 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
894 * emit-rtl.c (get_mem_attrs): Fix typo.
896 2001-11-20 Jakub Jelinek <jakub@redhat.com>
898 * c-lang.c (finish_file): Backout 2001-11-16
899 changes, instead set DECL_DEFER_OUTPUT for static inline functions
900 before calling c_expand_deferred_function.
902 2001-11-20 Jakub Jelinek <jakub@redhat.com>
904 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
905 Don't register empty .eh_frame sections.
906 (__deregister_frame_info_bases, __deregister_frame): Don't
907 unregister them either.
909 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
911 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
912 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
913 * configure: Regenerate.
914 * config.in: Add dummy definitions of new flags.
915 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
916 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
917 * gcc.c (ASM_DEBUG_SPEC): New macro.
918 (asm_debug): New static variable.
919 (default_compilers): Add asm_debug when assembling from
921 (static_specs): Add asm_debug.
923 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
925 * config.gcc (*-*-freebsd*): Remove configuration block.
927 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
930 * configure.in: Setup ability to run ./stage[1234]/xgcc in
931 fixinc *as if* it were a proper lang subdirectory.
932 * configure: Rebuilt.
934 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
936 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
938 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
940 * 1750a.md: Don't use hex format for a const_int.
942 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
944 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
946 2001-11-19 Zack Weinberg <zack@codesourcery.com>
948 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
949 defined (prevents link errors when gettext isn't in the system
952 2001-11-19 DJ Delorie <dj@redhat.com>
954 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
955 (validate_const_int): New.
956 (read_rtx): Validate constant integers.
957 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
959 2001-11-19 Jakub Jelinek <jakub@redhat.com>
961 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
963 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
965 * toplev.c (DUMPFILE_FORMAT): Define default.
966 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
967 (close_dump_file, compile_file): Likewise.
968 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
969 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
971 2001-11-19 Jeff Law <law@redhat.com>
973 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
976 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
978 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
979 Don't fall off the base token run.
981 2001-11-19 Jason Wilkins <fenix@io.com>
983 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
985 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
987 * tree.def (VIEW_CONVERT_EXPR): New tree code.
988 * tree.h (handled_component_p): New declaration.
989 * alias.c (handled_component_p): Move function from here ...
990 * expr.c (handled_component_p): ... to here and non longer static.
991 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
992 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
993 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
994 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
995 (expand_expr, case VIEW_CONVERT_EXPR): New case.
996 (expand_expr, cse ADDR_EXPR): No need to copy if already
998 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
999 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
1000 (output_constant): Handle VIEW_CONVERT_EXPR.
1001 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
1002 Add new case for VIEW_CONVERT_EXPR.
1004 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1006 * a29k/unix.h (ASM_FILE_START): Const-ify.
1007 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
1008 * i386/isc.h (ASM_FILE_START): Const-ify.
1009 * i386/sun386.h (ASM_FILE_START): Likewise.
1010 * m32r.md: Likewise.
1011 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
1012 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
1013 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
1014 * mn10200.md: Initialize variable.
1016 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
1018 * gcse.c (try_replace_reg): Copy RTX before creating note.
1020 * df.h (df_ref_flags): New uenum.
1021 (DF_REF_FLAGS): New macro.
1022 (struct ref): Add field "flags".
1023 * df.c (HANDLE_SUBREG): Remove.
1024 (df_ref_create): Likewise; set flags field of ref.
1025 (df_def_record_1): Strip down read_write subreg; remove
1026 commented out code; set READ_WRITE flag.
1027 (read_modify_subreg_p): New static function.
1028 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
1029 new argument "flags".
1030 (df_insn_refs_record): Update call of df_uses_record.
1031 (df_insn_modify): Avoid #if 0 around comment.
1032 (df_dump): Dump the read/write flag.
1034 * predict.c (propagate_freq): Make cyclic_probability and frequency
1037 * i386.c (ix86_cc_mode): Accept USE.
1039 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
1040 jump is turned into simplejump.
1042 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
1044 * doc/fragments.texi, doc/trouble.texi: Remove links to old
1045 installation chapter.
1046 * doc/gcc.texi: Don't claim that this manual documents
1047 installation. Mark Installation menu entry as being out of date.
1049 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
1051 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
1052 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
1053 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
1055 2001-11-19 Jason Merrill <jason@redhat.com>
1057 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
1058 cur_token, not after.
1060 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
1061 Lose ASM_OUTPUT_CONSTRUCTOR.
1062 * system.h: Poison it and INT_ASM_OP.
1063 * c-lang.c (finish_file): Don't check for it.
1064 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
1066 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1068 * mmix.c (mmix_cc1_ignored_option): Const-ify.
1069 (mmix_init_machine_status): Make static to match declaration.
1070 (mmix_unique_section): Const-ify.
1071 (mmix_output_quoted_string): Avoid automatic aggregate
1073 (mmix_output_register_setting): Likewise.
1074 (mmix_output_shiftvalue_op_from_str): Likewise.
1076 * mmix.h (mmix_cc1_ignored_option): Const-ify.
1077 (ASM_OUTPUT_BYTE): Fix format specifier warning.
1078 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1080 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1083 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
1084 name __objc_thread_exit_status so that it matches the
1085 variable defined in objc/thr.h.
1087 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1090 * mklibgcc.in: Add missing semi-colons.
1091 * Makefile.in: Same.
1093 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1095 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
1096 after re-laying out decl in incomplete case.
1097 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
1099 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1101 * doc/install-old.texi: Move some sections out to ...
1102 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
1103 ... here. New files. Make into chapters rather than sections.
1104 * doc/gcc.texi: Include the new files and add menu entries for
1106 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1108 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1110 * tree.h (TYPE_ALIGN_OK): New flag.
1111 * emit-rtl.c (set_mem_attributes): Handle it.
1112 * expr.c (emit_single_push_insn): Only set to alias set 0 if
1113 doing sibcall optimization.
1114 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
1115 when make temporary.
1116 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
1117 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
1119 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
1121 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1123 * c-decl.c (c_decode_option): Give deprecation warning for
1125 * doc/invoke.texi (-traditional): Note that this option is
1128 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
1130 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
1131 arg to HOST_WIDE_INT, not long.
1133 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
1134 (HAS_INIT_SECTION): Define.
1135 (REAL_ARITHMETIC): Don't undefine.
1137 2001-11-18 Egor Duda <deo@logos-m.ru>
1139 * config/i386/cygwin.h: Strip leading '*' from name, if any.
1141 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
1143 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
1144 * c-common.c: Include diagnostic.h.
1145 (c_common_finish): New.
1146 * c-common.h (c_common_finish): New.
1147 * c-lang.c (LANG_HOOKS_FINISH): Override.
1148 * c-parse.in: Don't include diagnostic.h.
1149 (finish_parse): Remove.
1150 * langhooks.h: Update comments.
1151 * toplev.c (lang_dependent_init): New prototype.
1153 (compile_file): Split cleanup code out to finalize.
1154 (lang_dependent_init): Stop if lang_hooks.init fails.
1155 (toplev_main): Update.
1156 * tree.h (finish_parse): Remove.
1158 * objc-act.c (LANG_HOOKS_FINISH): Override.
1160 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
1162 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
1163 * config/alpha/vms_tramp.asm: New file.
1164 * config/alpha/vms-tramp.asm: Removed.
1166 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1168 * c-common.c (struct disabled_builtin, disabled_builtins,
1169 disable_builtin_function, builtin_function_disabled_p): New.
1170 (builtin_function_2): Check for disabled built-in functions.
1171 * c-common.h (disable_builtin_function): Declare.
1172 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
1173 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
1174 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
1176 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
1179 * config.gcc: Remove reference to va-clipper.h.
1181 2001-11-17 Stan Shebs <shebs@apple.com>
1183 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
1184 AltiVec-related bitfields.
1186 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1188 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
1189 (mark_eh_region, case ERT_UKNONW): New case.
1191 2001-11-17 Christopher Faylor <cgf@redhat.com>
1192 Corinna Vinschen <vinschen@redhat.com>
1194 * config/i386/cygwin.h: Search target specific include directory for
1195 w32api stuff, if appropriate.
1197 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
1199 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
1201 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
1203 * config/rs6000/rs6000.md: Change all ldvx to lvx.
1205 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
1207 * gensupport.c (process_rtx): Don't assume filename is the first
1208 argument of any rtl.
1210 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1212 * vax-protos.h (reg_was_0_p): New prototype.
1213 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
1214 * vax.c (follows_p, reg_was_0_p): New functions.
1216 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1218 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
1219 (casesi1): Likewise. Define new pattern which arises by simplification
1220 when operand 1 is a constant int. Correct pattern which arises by
1221 simplification when operand 1 is zero.
1223 2001-11-16 David O'Brien <obrien@FreeBSD.org>
1225 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
1226 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
1227 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
1228 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
1229 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
1230 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
1231 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
1232 * config/arm/aof.h: Don't include arm.h.
1233 * config/arm/aout.h: Likewise.
1234 * config/arm/coff.h: Don't include semi.h and aout.h.
1235 * config/arm/elf.h: Don't include aout.h.
1236 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
1237 (TARGET_VERSION): Undef before defining.
1238 (ARM_OS_NAME): Likewise
1239 (TARGET_DEFAULT): Likewise
1240 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
1241 * config/arm/pe.h: Don't include arm/coff.h.
1242 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
1243 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
1244 * config/arm/riscix1-1.h: Likewise.
1245 * config/arm/rix-gas.h: Don't include riscix.h.
1246 (DBX_CONTIN_LENGTH): Undef before defining.
1247 * config/arm/semi.h: Don't include aout.h.
1248 * config/arm/semiaof.h: Don't include aof.h.
1249 * config/arm/strongarm-coff.h: Don't include coff.h.
1250 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
1251 * config/arm/vxarm.h: Don't include arm/coff.h.
1252 * config/arm/xscale-coff.h: Don't include coff.h.
1254 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1256 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
1259 2001-11-16 Andreas Jaeger <aj@suse.de>
1261 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
1263 (fixup_fallthru_exit_predecessor): ... this.
1264 Change callers and prototype.
1266 2001-11-16 Bernd Schmidt <bernds@redhat.com>
1268 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
1269 hand; don't use gen_setcc_2.
1270 (ix86_expand_builtin): Fix pshufw.
1271 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
1272 case UNORDERED to emit the right assembler instruction.
1273 (mmx_pshufw): Lose operand 2.
1274 (cvtsi2ss): Fix representation.
1276 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
1278 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
1280 * doc/include/linux-and-gnu.texi: Remove.
1281 * doc/gnu.texi: New.
1282 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
1283 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1285 2001-11-16 Kazu Hirata <kazu@hxi.com>
1287 * config/a29k/a29k.c: Fix comment formatting.
1288 * config/a29k/a29k.h: Likewise.
1289 * config/arc/arc.c: Likewise.
1290 * config/arc/arc.h: Likewise.
1291 * config/vax/vax.c: Likewise.
1292 * config/vax/vax.h: Likewise.
1293 * config/we32k/we32k.c: Likewise.
1294 * config/we32k/we32k.h: Likewise.
1296 2001-11-16 Jeff Law <law@redhat.com>
1298 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
1299 creating a new jump insn.
1301 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1303 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
1304 copy misaligned data.
1305 * varasm.c (assemble_variable): Set alignment into MEM when changed.
1307 2001-11-16 Graham Stott <grahams@redhat.com>
1309 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
1312 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
1314 * except.c: Support for catching a list of types with a single handler
1315 (struct eh_region): Change type and filter to lists for catch regions.
1316 (mark_eh_region): Mark the filter list for GC also.
1317 (expand_start_catch): Always build a list if argument not NULL and
1318 register each type of the list through add_type_for_runtime.
1319 (duplicate_eh_region_1): Change type into type_list for catch regions.
1320 (assign_filter_values): Assign a filter to each type associated with a
1321 catch region. Assign filter for NULL types in a unique entry in the
1323 (build_post_landing_pads): Emit compare and jump for each filter of
1324 the list associated with a catch region.
1325 (reachable_next_level): When the type thrown is known, stop the search
1326 as soon as one type within a catch list matches. Also, a handler is
1327 potentially reachable only if at least one of the types it catches
1328 has not been previously caught.
1329 (collect_one_action_chain): Retrieve the filter for a NULL type list
1330 from the first filter list entry. For non NULL type lists, add an
1331 action record for every filter assigned.
1332 * except.h: Reflect changes in comment before expand_start_catch.
1334 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1336 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
1339 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
1341 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
1343 2001-11-16 Jakub Jelinek <jakub@redhat.com>
1345 * c-lang.c (finish_file): Don't emit static inline functions if
1346 they weren't referenced.
1348 2001-11-15 Stan Shebs <shebs@apple.com>
1350 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
1352 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1354 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
1356 * config/i386/i386.md: Likewise.
1358 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1360 * timevar.c (rtl.h): Include so get fancy abort.
1362 2001-11-15 Dale Johannesen <dalej@apple.com>
1364 * config/darwin.h (SELECT_RTX_SECTION): Force address
1365 initializers into 'const' section
1366 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
1367 if_then_else to match result, not operands
1369 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1371 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
1372 * emit-rtl.c (change_address): Fix typo in default alignment.
1373 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
1374 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
1375 * rtl.h (REGNO_PTR_FRAME_P): New macro.
1377 * expr.c (store_field): Pass tree instead of max size; callers changed.
1378 Change handling of alignment.
1379 Only copy to_rtx if is TARGET.
1380 (expand_expr_unaligned): Delete; callers now use expand_expr.
1381 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
1382 (expand_assignment): Change handling of alignment.
1383 Only copy to_rtx if was original.
1384 (get_inner_reference): No longer return alginment; callers changed.
1385 (expand_expr, case COMPONENT_REF): Change handling of alignment.
1386 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
1387 (compare_from_rtx): Delete ALIGN parm; all callers changed.
1388 (do_compare_rtx_and_jump): Likewise.
1389 * expr.h: Reflect above changes.
1391 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
1392 to get_inner_reference.
1393 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
1394 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
1395 * optabs.c: Likewise.
1396 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
1397 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
1398 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
1399 compare_rtx_and_jump, and emit_cmp_jump_insns.
1400 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
1401 * function.c (assign_stack_temp_for_type): No longer static.
1402 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
1403 (prepare_cmp_insn): Delete declaration.
1404 * rtl.h (assign_stack_temp_for_type): Add declaration.
1405 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
1406 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
1407 * config/i386/i386.c,config/mips/mips.c: Likewise.
1408 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
1409 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
1411 2001-11-15 Stan Shebs <shebs@apple.com>
1413 * config/rs6000/rs6000.h: Fix a comment typo.
1414 (RTX_COSTS): Sort processor versions better.
1416 2001-11-15 Kazu Hirata <kazu@hxi.com>
1418 * config/h8300/h8300.md: Fix insn length of bit insns.
1420 2001-11-15 Jason Merrill <jason@redhat.com>
1422 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
1423 DIEs if there were errors in the source.
1425 * config/alpha/alpha-interix.h, config/alpha/elf.h,
1426 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
1427 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
1428 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
1429 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
1430 config/elfos.h, config/lynx.h, config/netware.h,
1431 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
1432 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
1433 uses to use ASM_LONG.
1435 2001-11-15 Alan Matsuoka <alanm@redhat.com>
1437 * gensupport.c process_include : Change call to alloca to
1440 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
1442 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
1445 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1447 * final.c (alter_subreg): If simplify_subreg can't do anything,
1448 handle REG ourselves and abort for others.
1450 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
1452 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
1455 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
1457 * fix-header.c (read_scan_file): Update.
1459 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1461 * toplev.c (toplev_main): Don't start timing until after
1462 command-line options are parsed.
1464 2001-11-15 Andreas Schwab <schwab@suse.de>
1466 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
1467 makefile frag, not host makefile frag.
1468 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
1469 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
1471 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
1472 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
1473 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
1474 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
1475 * config/i386/t-dgux (STMP_FIXPROTO): Define.
1476 * config/x-interix: Don't define STMP_FIXPROTO and
1478 * config/t-interix: New file, define STMP_FIXPROTO.
1479 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
1480 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
1481 * config/t-svr4 (FIXPROTO_DEFINES): Define.
1482 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
1483 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
1484 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
1485 * config/m68k/t-hp3200: Renamed from x-hp3200.
1486 * config/i370/t-oe: Renamed from x-oe.
1487 * config/mips/t-iris: Renamed from x-iris.
1488 * config/pa/t-bsd: Renamed from x-pa.
1489 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
1490 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
1491 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
1492 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
1493 config/rs6000/x-cygwin: Remove files.
1495 * configure.in: Check for target objdump and use that in eh_frame
1497 * configure: Regenerated.
1499 2001-11-15 Jakub Jelinek <jakub@redhat.com>
1501 * jump.c (squeeze_notes): Return true if no real insns were found.
1502 * rtl.h (squeeze_notes): Adjust prototype.
1503 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
1504 squeeze_notes finds no real instructions, abort.
1505 (merge_blocks_move_successor_nojumps): Likewise.
1506 * loop.c (find_and_verify_loops): Likewise.
1507 * stmt.c (expand_end_case): Likewise.
1508 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
1509 find any real instructions.
1511 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
1513 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
1514 conditional jump, request updating life into for the block
1515 containing it. Fix a typo which prevented life info update.
1516 Clear blocks bitmap before using it.
1518 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
1520 * c-common.c: Include c-lex.h.
1521 (c_common_lang_init): Change prototype. Call init_c_lex and
1522 init_pragma from here.
1523 * c-common.h (c_common_lang_init): Change prototype.
1524 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
1525 * c-lang.c (c_init): Change prototype. Update.
1526 (c_init_options): Update.
1527 * c-lex.c (cpp_filename): Remove.
1528 (init_c_lex): Update. Read the main file, and get the original
1530 (yyparse): Finish the command line options.
1531 * c-parse.in (c_parse_init): Call init_reswords here.
1532 (init_parse): Remove.
1533 * c-tree.h (c_init_decl_processing): New.
1534 * cpphash.c (_cpp_init_hashtable): After initializing the hash
1536 * cppinit.c (read_original_filename, cpp_finish_options): New.
1537 (cpp_create_reader): New prototype. Defer hash table initialization.
1538 (cpp_start_read): Rename cpp_read_main_file. Initialize the
1539 hash table. Get the original filename.
1540 * cpplib.h (cpp_create_reader): Update.
1541 (cpp_start_read): Remove.
1542 (cpp_read_main_file, cpp_finish_options): New.
1543 * cppmain.c (main, do_preprocessing): Update.
1544 * langhooks.h (struct langhooks): Update init prototype.
1545 * toplev.c (general_init, parse_options_and_default_flags,
1546 process_options, lang_indpendent_init, lang_dependent_init,
1547 init_asm_output): New; perform the bulk of initialization.
1548 (compile_file): Move most of initialization to above functions.
1549 (debug_hooks): Initialize statically.
1550 (set_Wunused): Relocate.
1551 (toplev_main): Move most of initialization to other init functions.
1552 Have a clear logic flow.
1553 * tree.h (init_parse, init_decl_processing): Remove.
1555 * objc-act.c (objc_init): Update prototype, combine with old
1557 (objc_init_options): Update.
1560 2001-11-15 Andreas Jaeger <aj@suse.de>
1562 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
1564 * basic-block.h: Adjust prototype.
1566 2001-11-15 Kazu Hirata <kazu@hxi.com>
1568 * config/rs6000/aix31.h: Fix comment formatting.
1569 * config/rs6000/beos.h: Likewise.
1570 * config/rs6000/darwin.h: Likewise.
1571 * config/rs6000/eabi.asm: Likewise.
1572 * config/rs6000/linux.h: Likewise.
1573 * config/rs6000/linux64.h: Likewise.
1574 * config/rs6000/lynx.h: Likewise.
1575 * config/rs6000/netbsd.h: Likewise.
1576 * config/rs6000/rs6000.c: Likewise.
1577 * config/rs6000/rs6000.h: Likewise.
1578 * config/rs6000/rs6000.md: Likewise.
1579 * config/rs6000/sol2.h: Likewise.
1580 * config/rs6000/tramp.asm: Likewise.
1581 * config/rs6000/xcoff.h: Likewise.
1582 * config/rs6000/xm-beos.h: Likewise.
1584 2001-11-14 Alan Matsuoka <alanm@redhat.com>
1586 * rtl.def (INCLUDE) : Define.
1587 * gensupport.c (init_include_reader, process_include,
1588 save_string) : New functions to implement an include facility
1590 * gensupport.h : Add prototype for init_md_reader_args.
1591 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
1592 genextract.c genflags.c genopinit.c genoutput.c
1593 genpeep.c genrecog.c: Change call to init_md_reader to
1594 init_md_reader_args.
1595 * md.texi: Document (include "path") and -I directives for RTL
1598 2001-11-14 DJ Delorie <dj@redhat.com>
1600 * integrate.c (get_hard_reg_initial_reg): New.
1601 * integrate.h (get_hard_reg_initial_reg): Prototype.
1602 * local-alloc.c (block_alloc): Don't tie pseudos that
1603 represent call-saved hard regs' initial values.
1605 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1607 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
1610 2001-11-14 Roger Sayle <roger@eyesopen.com>
1612 * fold-const.c (fold): Optimize strlen comparisons against zero.
1614 2001-11-14 David O'Brien <obrien@FreeBSD.org>
1616 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
1617 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
1618 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
1619 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
1620 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
1621 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
1622 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
1623 Include various CPU headers via tm_file. a.out based platforms now
1624 properly include sparc/aout.h. sol2.h usage now implies including
1625 elfos.h, svr4.h, and sparc/sysv4.h.
1626 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
1628 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
1629 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
1630 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
1631 Remove. They are a.out specific and belong in sparc/aout.h.
1632 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
1633 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
1634 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
1636 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
1637 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
1638 Moved here from sparc/sparc.h.
1639 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
1641 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
1642 * config/sparc/lynx.h: Don't include lynx.h.
1643 (SELECT_SECTION): Do not undef.
1644 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
1645 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
1647 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
1648 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
1650 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1651 Don't undef, there is no need.
1652 * config/sparc/splet.h (CPP_PREDEFINES): Define.
1653 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
1654 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
1655 Don't include sparc/sparc.h.
1656 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
1657 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
1658 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
1660 (TARGET_VERSION): Define.
1661 * config/sparc/vxsim.h (TARGET_VERSION): Define.
1663 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
1665 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
1666 (cfg_layout_finalize): Use it.
1667 * bb-reorder.c (HAVE_epilogue): Remove.
1668 (make_reorder_chain): Do not care special placement of
1671 * predict.c (expected_value_to_br_prob): Delete the note
1674 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
1675 measure integration time separately.
1677 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1679 * function.c (struct temp_slot): ALIGN now unsigned.
1681 2001-11-14 Kazu Hirata <kazu@hxi.com>
1683 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
1684 * config/dsp16xx/dsp16xx.h: Likewise.
1685 * config/dsp16xx/dsp16xx.md: Likewise.
1687 2001-11-14 Kazu Hirata <kazu@hxi.com>
1689 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
1690 that deals with 7-bit shifts in HImode.
1692 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
1694 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
1695 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
1696 (final_scan_insn): Update call of alter_subreg.
1697 (cleanup_subreg_operands): Likewise.
1698 (alter_subreg): Rewrite using simplify_subreg.
1699 (output_address, output_operand): Update call of alter_subreg.
1700 * output.h (alter_subreg): Update prototype.
1701 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
1702 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
1703 * Makefile.in (final.o): Add dependency on expr.h
1705 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1707 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
1709 2001-11-13 Jeff Sturm <jsturm@one-point.com>
1711 * doc/install.texi (sparc-*-linux*): Mention requirements for
1714 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
1716 * Makefile.in (POD2MAN): Don't include --section=1.
1717 (manext): Rename to man1ext. All users changed.
1720 (generated-manpages): Also depend on $(docdir)/gfdl.7,
1721 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
1722 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
1723 --section=1 in calls to $(POD2MAN).
1724 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
1725 (maintainer-clean, install, uninstall): Handle the new man pages.
1726 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
1727 (installdirs): Create man7dir.
1728 * doc/cpp.texi: Include GFDL in this manual. In the man page,
1729 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
1730 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
1731 the SEE ALSO man page section.
1732 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
1733 and fsf-funding(7) in the SEE ALSO man page section.
1734 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
1735 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
1736 * doc/include/fdl.texi, doc/include/funding.texi,
1737 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
1738 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
1740 2001-11-13 Richard Henderson <rth@redhat.com>
1742 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
1743 as appropriate for the artificial decl.
1745 2001-11-13 Richard Henderson <rth@redhat.com>
1747 * loop.c (combine_movables): Turn off combination until
1748 move_movables validation bugs are fixed.
1750 2001-11-13 DJ Delorie <dj@redhat.com>
1752 * config.gcc (powerpc|rs6000): Set default cpp options based
1753 on --with-cpu settings.
1754 * config/rs6000/softfloat.h: New.
1756 2001-11-13 Kazu Hirata <kazu@hxi.com>
1758 * config/h8300/h8300.c (shift_alg_si): Use special code for
1759 25-bit shifts on H8/S.
1760 (get_shift_alg): Generate special code for 25-bit shifts on
1763 2001-11-13 Jakub Jelinek <jakub@redhat.com>
1765 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
1766 (adjust_automodify_address_1): New.
1767 * expr.h (adjust_address, adjust_address_nv): Adjust.
1768 (adjust_automodify_address, adjust_automodify_address_nv): Define.
1769 (adjust_address_1): Update prototype.
1770 (adjust_automodify_address_1): Add prototype.
1771 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
1772 (store_by_pieces_2): Likewise.
1774 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1776 * Makefile.in (explow.o): Now depends on ggc.h.
1777 * explow.c (ggc.h): Include.
1778 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
1780 * Makefile.in (expr.o): Depends on insn-attr.h.
1781 * expr.c (insn-attr.h): New include.
1782 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
1784 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
1785 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
1786 clean up related usage in ADDR_EXPR.
1787 (expand_expr_unaligned): Likewise.
1789 * emit-rtl.c (change_address): Fix typo in alias setting.
1791 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1793 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
1795 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
1798 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
1799 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
1801 2001-11-12 David O'Brien <obrien@FreeBSD.org>
1803 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
1804 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
1805 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
1806 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
1807 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
1808 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
1809 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
1810 sparc64-*-linux*): Include various CPU headers via tm_file.
1811 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
1812 (SELECT_SECTION): Likewise.
1813 (SELECT_RTX_SECTION): Likewise.
1814 * config/sparc/sparc_bi.h: New file.
1815 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
1816 * config/sparc/linux-aout.h: Likewise.
1817 * config/sparc/linux.h: Don't include sparc/sysv4.h.
1818 * config/sparc/linux64.h: Likewise.
1819 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
1820 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
1821 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
1823 (ASM_OUTPUT_IDENT): Do not #undef.
1824 (SELECT_SECTION): Likewise.
1825 (SELECT_RTX_SECTION): Likewise.
1826 * config/sparc/liteelf.h: Don't include gofast.h.
1827 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
1828 * config/sparc/lynx.h: Don't include sparc/sparc.h.
1829 * config/sparc/pbd.h: Likewise.
1830 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
1831 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
1832 * config/sparc/rtemself.h: Don't include rtems.h.
1833 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
1834 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
1836 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
1837 * config/sparc/sol2.h: Include sparc/sparc.h directly.
1838 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
1839 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
1840 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
1841 * config/sparc/sp86x-elf.h: Don't include gofast.h.
1842 * config/sparc/splet.h: Don't include sparc/aout.h.
1843 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
1844 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
1845 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
1846 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
1847 * config/sparc/vxsparc64.h: Don't include gofast.h.
1848 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
1850 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
1852 * doc/standards.texi: Mention C99 TC1.
1854 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1856 * mips-protos.h (mips_output_conditional_branch): Const-ify.
1857 * mips.c (mips_output_conditional_branch): Likewise.
1859 2001-11-12 Kazu Hirata <kazu@hxi.com>
1861 * config/h8300/h8300.c (shift_alg_si): Use special code for
1862 15-bit logical shifts and 31-bit logical shifts.
1863 (get_shift_alg): Generate special code for 15-bit and 31-bit
1866 2001-11-12 Kazu Hirata <kazu@hxi.com>
1868 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
1869 doing 6-bit logical shifts on H8/S.
1870 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
1871 (get_shift_alg): Generate special code for 21-bit shifts on
1874 2001-11-12 Kazu Hirata <kazu@hxi.com>
1876 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
1879 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1881 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
1882 if both size and offset known.
1884 2001-11-12 David O'Brien <obrien@FreeBSD.org>
1886 * config/ia64/freebsd.h: Fix misspelling.
1888 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
1890 * doc/gcc.texi: Move several chapters out to ...
1891 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
1892 doc/include/linux-and-gnu.texi, doc/interface.texi,
1893 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
1894 ... here. New files.
1895 * doc/gcc.texi, doc/contrib.texi: Move section headings into
1897 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1899 2001-11-12 Kazu Hirata <kazu@hxi.com>
1901 * config/alpha/alpha-interix.h: Fix comment formatting.
1902 * config/alpha/alpha.c: Likewise.
1903 * config/alpha/alpha.h: Likewise.
1904 * config/alpha/alpha32.h: Likewise.
1905 * config/alpha/freebsd.h: Likewise.
1906 * config/alpha/unicosmk.h: Likewise.
1907 * config/alpha/vms.h: Likewise.
1909 2001-11-12 Kazu Hirata <kazu@hxi.com>
1911 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1913 2001-11-12 Jakub Jelinek <jakub@redhat.com>
1915 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
1918 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1920 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
1922 (replace_equiv_address): Call update_temp_slot_address.
1924 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
1926 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
1928 2001-11-12 Kazu Hirata <kazu@hxi.com>
1930 * config/h8300/h8300.c (shift_alg_qi): New.
1931 (shift_alg_hi): Likewise.
1932 (shift_alg_si): Likewise.
1933 (get_shift_alg): Change the type of count to unsigned int.
1936 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
1938 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
1939 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
1940 to decide whether to defer a function.
1941 (finish_function): Adjust.
1942 (c_expand_deferred_function): New function.
1943 * c-lang.c (deferred_fns): New variable.
1944 (c_init): Initialize it, and mark it as a root.
1945 (defer_fn): New function.
1946 (finish_file): Expand all deferred functions.
1947 * c-tree.h (defer_fn): Declare.
1948 (c_expand_deferred_function): Likewise.
1949 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
1950 * objc-act.c (deferred_fns): New variable.
1951 (objc_init): Initialize it, and mark it as a root.
1952 (defer_fn): New function.
1953 (finish_file): Expand all deferred functions.
1955 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1957 * alpha.c (unicosmk_special_name): Prototype.
1958 (unicosmk_ssib_name): Delete unused variable.
1959 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
1960 * alpha/vms.h (PREFIX): Undef before defining.
1961 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
1962 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
1963 controlling usage. Const-ify.
1964 (alias_number): Delete unused variable.
1965 * m32r/m32r.c (m32r_sched_init): Add missing argument.
1966 (m32r_expand_block_move): Fix uninitialized warnings.
1967 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
1968 always true' warnings.
1969 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
1970 * sh/sh.c: Include "integrate.h".
1971 (output_far_jump): Fix uninitialized warning.
1972 * final.c (shorten_branches): Avoid automatic aggregate
1974 * integrate.c (subst_constants): Likewise.
1976 2001-11-11 Kazu Hirata <kazu@hxi.com>
1978 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
1979 (get_shift_alg): Remove redundant code.
1981 2001-11-11 Kazu Hirata <kazu@hxi.com>
1983 * config/pa/milli64.S: Fix comment formatting.
1984 * config/pa/pa-64.h: Likewise.
1985 * config/pa/pa-linux.h: Likewise.
1986 * config/pa/pa-protos.h: Likewise.
1987 * config/pa/pa.c: Likewise.
1988 * config/pa/pa.h: Likewise.
1989 * config/pa/pa32-linux.h: Likewise.
1990 * config/pa/pa32-regs.h: Likewise.
1991 * config/pa/pa64-hpux.h: Likewise.
1992 * config/pa/pa64-regs.h: Likewise.
1993 * config/pa/som.h: Likewise.
1995 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1997 * doc/gcc.texi: Move several chapters out to ...
1998 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
1999 doc/service.texi, doc/standards.texi, doc/trouble.texi,
2000 doc/vms.texi: ... here. New files.
2001 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2003 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
2005 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
2006 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
2007 collect2.c, combine.c, config.in, configure, configure.in,
2008 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
2009 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
2010 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
2013 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2015 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
2016 Adjust operand number in CONST_DOUBLE.
2018 * expmed.c (extract_bit_field): No longer pass in alignment.
2019 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2020 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
2022 * expr.c (store_constructor, store_constructor_field): Likewise.
2023 (store_field, emit_group_load, emit_group_store): Likewise.
2024 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
2025 (store_bit_field, extract_bit_field): Likewise.
2026 * calls.c, expr.c, function.c: Change calls to above functions.
2027 * ifcvt.c, stmt.c: Likewise.
2029 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
2030 constant and one is on frame.
2031 If know memref offset, adjust size from decl.
2033 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2035 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
2036 format specifier warning.
2037 * convex.h (ASM_OUTPUT_BYTE): Likewise.
2038 * elfos.h (ALIGN_ASM_OP): Undef before defining.
2039 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
2041 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2042 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2043 * i386-interix.h (gen_stdcall_suffix): Prototype.
2044 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2045 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2046 ASM_OUTPUT_LONG_DOUBLE): Likewise.
2047 * i386/interix.c (gen_stdcall_suffix): Const-ify.
2048 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2049 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
2051 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2052 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2053 ASM_OUTPUT_LONG_DOUBLE): Likewise.
2054 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2055 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2056 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2057 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2058 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
2059 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
2060 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2061 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2063 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2065 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
2066 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2067 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
2069 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
2071 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2073 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
2074 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2075 * m68k/news.h (PRINT_OPERAND): Likewise.
2076 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
2077 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2078 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2079 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
2081 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2082 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
2083 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
2084 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2085 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
2086 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
2087 PRINT_OPERAND): Likewise.
2088 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2090 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2091 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2092 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
2093 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2094 * mips.c (mips_output_external_libcall): Mark parameter with
2096 (mips_asm_file_start): Move variable into the scope where it's
2098 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
2099 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2100 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
2101 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2102 * ns32k.c (print_operand): Likewise.
2103 * pa.c (print_operand, output_div_insn): Likewise.
2104 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
2105 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
2106 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
2107 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
2109 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2110 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2111 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
2112 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
2114 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2116 * sdbout.c (sdbout_end_epilogue): Mark parameter with
2118 * varasm.c (assemble_global): Likewise.
2120 2001-11-11 H.J. Lu <hjl@gnu.org>
2122 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
2124 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
2126 * final.c (*_MAX_SKIP): Use *_max_skip variables.
2127 * flags.h (align_loops_max_skip, align_jumps_max_skip,
2128 align_labels_max_skip): New global variables.
2129 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
2130 align_labels_max_skip): New global variables.
2131 (toplev_main): Set new variables.
2132 * i386.c (override_options): Set max_skip values.
2134 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
2136 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
2137 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
2138 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
2139 don't print an @fptr for labels either.
2140 (xstormy16_output_addr_vec): Don't print @fptr here.
2141 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
2143 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
2145 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
2146 an ANSI/ISO definitino.
2147 (ssa_const_prop): Likewise.
2149 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
2151 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
2154 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2156 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
2157 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
2158 * cppmain.c (general_init): Call hex_init.
2159 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
2161 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
2163 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
2164 of dgux.c:output_file_start().
2166 * i386/dgux.c: Delete file.
2168 2001-11-09 Richard Henderson <rth@redhat.com>
2170 * config/alpha/alpha.c (decl_in_text_section): New.
2171 (current_file_function_operand): Use it.
2172 (alpha_encode_section_info, alpha_end_function): Likewise.
2174 2001-11-07 David O'Brien <obrien@FreeBSD.org>
2176 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
2177 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
2178 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
2179 so OS specific files and use CPP_PREDEFINES for their needs.
2180 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
2181 target headers to tm_file.
2182 * config/ia64/aix.h (TARGET_VERSION): Likewise.
2183 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
2184 * config/ia64/linux.h (TARGET_VERSION): Likewise.
2185 (FUNCTION_PROFILER): Remove.
2186 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
2187 version in config/ia64/linux.h.
2188 * config/ia64/freebsd.h: New file.
2189 * config/freebsd.h: Tidy up.
2190 (_USING_CONFIG_FREEBSD): Define.
2191 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
2192 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
2193 (FBSD_STARTFILE_SPEC): Likewise.
2194 (FBSD_ENDFILE_SPEC): Likewise.
2195 (FBSD_LIB_SPEC): Likewise.
2196 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
2197 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
2198 set an ELF-improper one.
2200 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2202 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
2203 constant can be loaded in a single instruction to a register. When
2204 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
2205 depdi for insertion of most significant 32-bits on 64-bit hosts.
2206 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
2207 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
2208 * pa.md: New addmove pattern for adding constant_int to HImode
2209 register and moving result to HImode register. Remove HImode HIGH
2210 and LO_SUM patterns.
2212 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2214 * Makefile.in: Update.
2215 * c-decl.c (print_lang_decl, print_lang_type): Remove.
2216 (print_lang_identifier): Rename c_print_identifier.
2217 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
2218 (print_lang_statistics, lang_print_xnode): Remove.
2219 * c-parse.in (set_yydebug): Rename c_set_yydebug.
2220 * c-tree.h (c_set_yydebug, c_print_identifier): New.
2221 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
2222 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
2223 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
2224 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
2225 (LANG_HOOKS_INITIALIZER): Update.
2226 * langhooks.h (struct lang_hooks): New members.
2227 (lang_print_tree_hook): New.
2228 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
2229 * print-tree.c: Include langhooks.h.
2230 (print_node): Update.
2231 * toplev.c (decode_d_option): Update.
2232 * tree.c: Include langhooks.h.
2233 (dump_tree_statistics): Update.
2234 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
2235 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
2237 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
2238 LANG_HOOKS_SET_YYDEBUG): Override.
2239 (lang_print_xnode, print_lang_statistics): Remove.
2241 2001-11-09 Richard Henderson <rth@redhat.com>
2243 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
2244 on the symbol string.
2246 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2248 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
2249 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
2250 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
2252 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
2254 * tlink.c (recompile_files): Copy strings passed to `putenv'.
2256 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
2258 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
2259 (TYPE_READONLY): Likewise.
2261 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
2263 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
2264 don't pass --gdwarf2 to the assembler if the compiler will also
2267 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
2270 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2272 * alias.c (nonoverlapping_memrefs_p): New function.
2273 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
2275 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
2277 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
2279 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
2280 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
2281 generating altivec code.
2282 (FIXED_REGISTERS): VRSAVE is fixed.
2283 (CALL_USED_REGISTERS): VRSAVE is call used.
2285 2001-11-09 Jason Eckhardt <jle@rice.edu>
2287 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
2288 code the branch target as ".+16/.+12", but rather use labels.
2290 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
2292 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
2293 to work around limitations of certain versions of GAS.
2295 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
2296 (muldi3): Update due to SUBREG_BYTE changes.
2297 (casesi): Similarly.
2299 2001-11-09 Zack Weinberg <zack@codesourcery.com>
2301 * doc/invoke.texi: Remove comment referring to -xf77-version.
2303 2001-11-09 Kazu Hirata <kazu@hxi.com>
2305 * config/convex/convex.c: Fix comment formatting.
2306 * config/convex/convex.h: Likewise.
2308 2001-11-08 Zack Weinberg <zack@codesourcery.com>
2310 * Makefile.in (.po.pox): Look both in srcdir and builddir
2312 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
2313 to the source directory.
2315 2001-11-09 Ben Elliston <bje@redhat.com>
2316 Michael Meissner <meissner@redhat.com>
2317 Andrew MacLeod <amacleod@redhat.com>
2318 Richard Henderson <rth@redhat.com>
2319 Nick Clifton <nickc@redhat.com>
2320 Catherine Moore <clm@redhat.com>
2322 * m32r.c: Add support for m32rx processor.
2326 * m32r-protos.h: Add prototypes for m32rx functions.
2327 * doc/invoke.texi: Document -m32rx option.
2329 2001-11-09 Jakub Jelinek <jakub@redhat.com>
2331 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
2334 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2336 * doc/install.texi2html: Use $MAKEINFO --no-split.
2338 2001-11-09 Andreas Schwab <schwab@suse.de>
2340 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
2341 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
2342 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
2343 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
2344 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
2346 2001-11-09 H.J. Lu <hjl@gnu.org>
2348 * config/mips/mips.c (mips_output_function_prologues): Cast
2349 `tsize' to long for output.
2351 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2353 * c-lang.c (LANG_HOOKS_NAME): New.
2354 (lang_hooks): Constify.
2355 (c_init_options): Update.
2356 (lang_identify): Remove.
2357 * c-parse.in (language_string): Remove.
2358 * dbxout.c: Include langhooks.h.
2359 (dbxout_symbol_location): Update.
2360 * dwarf2out.c: Include langhooks.h.
2361 (gen_compile_unit_die): Update.
2362 * dwarfout.c: Include langhooks.h.
2363 (prototyped_attribute, output_compile_unit_die): Update.
2364 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
2365 (LANG_HOOKS_INITIALIZER): Update.
2366 * langhooks.h (struct lang_hooks): New members. Constify.
2367 * stringpool.c: Don't include toplev.h.
2368 (set_identifier_size): Remove.
2369 * toplev.c (toplev_main): Initialize identifier size.
2370 (print_version): Update.
2371 * tree.h (language_string, init_lex, lang_identify,
2372 set_identifier_size): Remove.
2373 * Makefile.in: Update dependencies.
2374 * config/darwin.c: Include langhooks.h.
2375 (func_name_maybe_scoped): Update.
2376 * config/darwin.h (ASM_END_FILE): Update.
2377 * config/nextstep.h (ASM_END_FILE): Update.
2378 * config/nextstep21.h (ASM_END_FILE): Update.
2379 * config/i386/sun386.h (ASM_END_FILE): Update.
2380 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
2381 (rs6000_output_function_epilogue): Update.
2383 * objc-act.c (LANG_HOOKS_NAME): Override.
2384 (struct lang_hooks): Constify.
2385 (objc_init_options): Update.
2386 (lang_identify): Remove.
2388 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
2390 * fold-const.c (lshift_double): Honor PREC.
2391 (rshift_double): Likewise.
2393 2001-11-08 Kazu Hirata <kazu@hxi.com>
2395 * config/1750a/1750a.c: Fix comment formatting.
2396 * config/1750a/1750a.h: Likewise.
2398 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
2400 * configure.in (--enable-languages): Be more permissive about
2401 syntax. Check for empty lists better. Warn about $LANGUAGES.
2402 * configure: Regenerated.
2404 2001-11-08 Richard Henderson <rth@redhat.com>
2406 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
2408 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
2410 * config.gcc: Rename stormy16 to xstormy16.
2411 * config/stormy16/stormy-abi: Likewise.
2412 * config/stormy16/stormy16-protos.h: Likewise.
2413 * config/stormy16/stormy16.c: Likewise.
2414 * config/stormy16/stormy16.h: Likewise.
2415 * config/stormy16/stormy16.md: Likewise.
2417 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
2419 * tree.h (TYPE_VOLATILE): Add enable-checking code.
2420 (TYPE_READONLY): Likewise.
2422 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2424 * reload1.c (reload): Don't delete equiv insn if can throw.
2426 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
2427 (clear_storage): Likewise, for OBJECT.
2429 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
2431 * pa.c (emit_move_sequence): Fix SUBREG expression to
2432 use proper byte offset when extending a constant from
2435 2001-11-09 Jakub Jelinek <jakub@redhat.com>
2437 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
2440 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2442 * explow.c (convert_memory_address, case SUBREG): Only return
2443 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
2445 2001-11-08 Richard Henderson <rth@redhat.com>
2447 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
2448 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
2449 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
2451 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
2453 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
2455 2001-11-08 Jakub Jelinek <jakub@redhat.com>
2457 * dwarf2out.c (debug_str_hash): New.
2458 (struct indirect_string_node): New.
2459 (struct dw_val_struct): Change type of val_str to it.
2460 (DEBUG_STR_SECTION_FLAGS): Define.
2461 (add_AT_string): Push string into hashtable, increment reference
2463 (AT_string): Return string from ht_identifier.
2464 (AT_string_form): New.
2465 (free_AT): For dw_val_class_str, just decrement reference counter.
2466 (size_of_string): Remove.
2467 (size_of_die): Use AT_string_form to decide what size the string
2469 (size_of_pubnames): Use strlen instead of size_of_string.
2470 (value_format): Use AT_string_form for dw_val_class_str.
2471 (output_die): Output DW_FORM_strp strings using
2472 dw2_asm_output_offset.
2473 (indirect_string_alloc, output_indirect_string): New.
2474 (dwarf2out_finish): Emit .debug_str strings if there are any.
2476 2001-11-08 Andreas Franck <afranck@gmx.de>
2478 * configure.in: Add AC_ARG_PROGRAM to support program name
2479 transformation with --program-prefix, --program-suffix and
2480 --program-transform-name.
2481 * configure: Regenerated.
2482 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
2483 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
2484 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
2485 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
2486 program_transform_name the way suggested by autoconf.
2487 (GCC_TARGET_INSTALL_NAME): Define.
2488 (install-driver): Use the transformed target alias name.
2490 2001-11-08 Richard Henderson <rth@redhat.com>
2492 * config/mips/mips.c (save_restore_insns): Remove GP from the
2493 restore registers mask early instead of special casing it inside
2496 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
2498 * cp/decl.c (shadow_warning): New function.
2499 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
2500 and an error when a block scope decl shadows a parameter.
2502 2001-11-08 Richard Henderson <rth@redhat.com>
2504 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
2507 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2509 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
2510 to implement floating negation on processors prior to PA 2.0.
2512 2001-11-08 Jakub Jelinek <jakub@redhat.com>
2514 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
2515 (USE_LINKONCE_INDIRECT): Define.
2516 (dw2_output_indirect_constant_1): Try to output indirect constants
2517 into linkonce sections if possible.
2518 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
2519 (dw2_output_indirect_constants): Likewise.
2521 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
2523 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
2525 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
2527 * c-decl.c (pushdecl): Remove file and line.
2528 * c-typeck.c (pop_init_level): Remove size.
2530 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
2532 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
2535 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
2536 (TARGET_ALTIVEC): New.
2537 (TARGET_SWITCHES): Add altivec.
2538 (FIRST_PSEUDO_REGISTER): Change to 109.
2539 (CALL_USED_REGISTERS): Same.
2540 (FIRST_ALTIVEC_REGNO): New.
2541 (LAST_ALTIVEC_REGNO): New.
2542 (ALTIVEC_REGNO_P): New.
2543 (UNITS_PER_ALTIVEC_WORD): New.
2544 (ALTIVEC_VECTOR_MODE): New.
2545 (FIXED_REGISTERS): Add altivec registers.
2546 (REG_ALLOC_ORDER): Same.
2547 (HARD_REGNO_NREGS): Adjust for altivec registers.
2548 (HARD_REGNO_MODE_OK): Same.
2549 (MODES_TIEABLE_P): Same.
2550 (REGISTER_MOVE_COST): Same.
2551 (REGNO_REG_CLASS): Same.
2552 (reg_class): Add ALTIVEC_REGS.
2553 (REG_CLASS_NAMES): Same.
2554 (REG_CLASS_CONTENTS): Same.
2555 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
2556 (ALTIVEC_ARG_RETURN): New.
2557 (FUNCTION_VALUE): Handle VECTOR_TYPE.
2558 (LIBCALL_VALUE): Handle altivec vector modes.
2559 (VECTOR_MODE_SUPPORTED_P): New.
2560 (ALTIVEC_ARG_MIN_REG): New.
2561 (ALTIVEC_ARG_MAX_REG): New.
2562 (ALTIVEC_ARG_NUM_REG): New.
2563 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
2564 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
2565 (REGISTER_NAMES): Add altivec regs.
2566 (DEBUG_REGISTER_NAMES): Same.
2567 (ADDITIONAL_REGISTER_NAMES): Same.
2568 (rs6000_builtins): New.
2569 (MD_EXPAND_BUILTIN): New.
2570 (MD_INIT_BUILTINS): New.
2571 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
2572 for AltiVec instructions.
2573 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
2574 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
2576 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
2577 (TARGET_SWITCHES): Add no-altivec.
2578 (DATA_ALIGNMENT): Align vectors to 128 bits.
2579 (TARGET_OPTIONS): Add abi= option.
2580 Add rs6000_abi_string extern.
2581 (LOCAL_ALIGNMENT): New.
2582 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
2583 (MASK_ALTIVEC_ABI): New.
2584 (TARGET_ALTIVEC_ABI): New.
2585 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
2587 (STACK_BOUNDARY): Adjust for altivec.
2588 (BIGGEST_ALIGNMENT): Same.
2589 (rs6000_args): Add vregno.
2590 (USE_ALTIVEC_FOR_ARG_P): New.
2591 (FIXED_REGISTERS): Add vrsave register.
2592 (CALL_USED_REGISTERS): Same.
2593 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
2594 (VRSAVE_REGNO): New.
2595 (reg_class): Add VRSAVE_REGS.
2596 (REG_CLASS_NAMES): Same.
2597 (REG_CLASS_CONTENTS): Same.
2598 (REGNO_REG_CLASS): Same.
2600 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
2601 (ABI_STACK_BOUNDARY): Same.
2602 (BIGGEST_ALIGNMENT): Same.
2603 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
2604 (ROUND_TYPE_ALIGN): Same.
2606 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2609 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2612 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2615 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
2616 (altivec_expand_builtin): New.
2617 (altivec_init_builtins): New.
2618 (TARGET_EXPAND_BUILTIN): New.
2619 (TARGET_INIT_BUILTINS): New.
2620 (rs6000_init_builtins): New.
2621 (struct builtin_description): New.
2623 (rs6000_reg_names): Add altivec registers.
2624 (alt_reg_names): Same.
2625 (secondary_reload_class): Altivec regs can hold altivec regs and
2627 (rs6000_emit_move): Force constants into memory for AltiVec moves.
2628 (print_operand): Add 'y' case for printing altivec memory
2630 (rs6000_legitimize_address): Legitimize vector addresses into
2632 (altivec_expand_binop_builtin): New.
2633 New string rs6000_current_abi.
2634 (rs6000_override_options): Call rs6000_parse_abi_options.
2635 (rs6000_parse_abi_options): New.
2636 (function_arg_boundary): Vector arguments must be 16
2638 (function_arg_advance): Handle vector arguments.
2639 (function_arg_partial_nregs): Same.
2640 (init_cumulative_args): Same.
2641 (function_arg): Same.
2643 * config/rs6000/rs6000.md (altivec_lvx): New.
2644 (type): Add altivec attribute.
2646 (*movv4si_internal): New.
2648 (*movv16qi_internal): New.
2650 (*movv8hi_internal1): New.
2652 (*movv4sf_internal1): New.
2653 (altivec_stvx): New.
2769 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
2771 * Makefile.in (df.o): Add fibheap.h to dependencies.
2773 * df.h: Add prototypes for transfer functions, iterative_dataflow
2775 (enum df_flow_dir): New enum.
2776 (enum df_confluence_op): New enum.
2777 (struct df): Add inverse_rts_map.
2779 * df.c: Add sbitmap.h to the list of includes.
2780 (df_rd_global_compute): Removed.
2781 (df_ru_global_compute): Removed.
2782 (df_lr_global_compute): Removed.
2783 (df_rd_transfer_function): New function.
2784 (df_ru_transfer_function): New function.
2785 (df_lr_transfer_function): New function.
2786 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
2787 Use iterative_dataflow_bitmap instead of df_*_global_compute.
2788 (iterative_dataflow_sbitmap): New function.
2789 (iterative_dataflow_bitmap): New function.
2791 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
2793 * doc/gcc.texi: Move terminology and spelling conventions to
2794 htdocs/codingconventions.html.
2796 2001-11-07 Graham Stott <grahams@redhat.com>
2798 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
2800 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
2802 * expmed.c (expand_mult): Force operand to register before computing
2804 * i386.c (x86_decompose_lea): New global vairable.
2805 * i386.h (x86_decompose_lea): Declare.
2806 (TARGET_DECOMPOSE_LEA): New macro.
2807 (RTX_COST): Handle leas properly.
2809 2001-11-06 Richard Henderson <rth@redhat.com>
2811 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
2812 defined for a CONSTRUCTOR; don't check it.
2814 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
2816 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
2817 test for absolute pathnames.
2819 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
2821 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
2822 instructions up to the target pc inclusive.
2824 2001-11-06 Steve Christiansen <smc@us.ibm.com>
2826 * loop.c (loop_regs_scan): Don't invalidate PIC register.
2828 2001-11-06 Eric Christopher <echristo@redhat.com>
2830 * config/mips/mips.md(movdf_internal2): Add constraints for float
2831 to general register move.
2832 * config/mips/elf64.h: Add default ABI.
2834 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2836 * alias.c:: Include langhooks.h.
2837 * emit-rtl.c: Similarly.
2838 * toplev.c: Similarly.
2839 * tree-inline.c: Similarly.
2840 * langhooks-def.h: New, the old langhooks.h. Give the default
2841 hooks a common prefix.
2842 * langhooks.h: Contents extracted from toplev.h.
2843 * toplev.h: Move langhook stuff to langhooks.h.
2844 * langhooks.c: Give default hooks a common prefix.
2846 * c-lang.c: Include langhooks-def.h.
2847 * objc/objc-act.c: Similarly.
2848 * Makefile.in: Update.
2849 * objc/Make-lang.in: Update.
2851 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
2853 * doc/install.texi: Document that configure options not listed in
2854 this file are unsupported. Document --with-system-zlib.
2856 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2858 * rtl.h (mem_for_const_double): New declaration.
2859 * varasm.c (mem_for_const_double): New function.
2860 * config/convex/convex.md (movdf): Use it.
2861 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
2862 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
2863 * config/m68k/m68kv4.h: Likewise.
2865 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
2866 of new GP reg classes.
2868 * expr.c (store_field): When making temp object for unaligned
2869 component, set it to alias set 0.
2871 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
2873 * c-common.c (c_expand_expr_stmt): Apply default conversions to
2874 non-lvalue arrays if C99.
2875 * c-typeck.c (default_conversion): Split out code handling
2876 array-to-pointer and function-to-pointer conversions into a
2877 separate default_function_array_conversion function.
2878 (default_function_array_conversion): New function. Keep track of
2879 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
2880 arrays unchanged outside C99 mode instead of giving an error for
2882 (build_component_ref): Use pedantic_non_lvalue when handling
2883 COMPOUND_EXPR. Don't handle COND_EXPR specially.
2884 (convert_arguments): Use default_function_array_conversion.
2885 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
2887 (unary_complex_lvalue): Likewise.
2888 (internal_build_compound_expr): Use
2889 default_function_array_conversion. Apply default conversions to
2890 function in compound expression.
2891 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
2892 Use default_function_array_conversion.
2893 * doc/extend.texi: Update documentation of subscripting non-lvalue
2897 2001-11-05 Zack Weinberg <zack@codesourcery.com>
2899 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
2900 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
2901 corresponding to the complete set of .po and .gmo files in
2902 the source directory's po subdir, modified by LINGUAS. Don't
2903 look at ALL_LINGUAS.
2904 * configure.in: Don't set ALL_LINGUAS.
2905 * configure: Regenerate.
2907 * Makefile.in (.po.gmo): Don't move into source directory.
2908 (.po.pox): Clarify comments.
2909 (install-po): Look for .gmo files in both srcdir and objdir;
2910 don't fail if a file is totally missing.
2911 (distclean): rmdir ada subdirectory too.
2913 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
2915 * config/rs6000/rs6000.c (rs6000_select_section): Handle
2916 CONSTRUCTORs _correctly_.
2918 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2920 * c-decl.c (delete_block): Remove.
2921 * c-tree.h (delete_block): Remove.
2923 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2925 * cppexp.c (lex, parse_defined): Update warning about defined.
2927 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
2929 * config/rs6000/rs6000.c (rs6000_select_section): Handle
2932 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
2934 * config/arm/arm.c (arm_return_in_memory): Cope with
2935 int_size_in_bytes returning -1.
2937 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
2940 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
2942 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
2943 remove unneeded dependencies;
2945 * cfglayout.c, cfglayout.h: New files; break out from ...
2946 * bb-reorder.c: ... here; Remove unneeded includes;
2948 2001-11-04 Alan Modra <amodra@bigpond.net.au>
2950 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
2952 2001-11-04 David Edelsohn <edelsohn@gnu.org>
2954 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
2955 mode as well. Do not explicitly create intermediate regs.
2957 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2959 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
2960 (common_section): Delete unused variable.
2961 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
2962 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
2963 * arm-protos.h (arm_poke_function_name, aof_add_import,
2964 aof_delete_import): Const-ify.
2965 * arm.c (legitimize_pic_address): Wrap variables in the macro
2966 controlling their usage.
2967 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
2968 (arm_poke_function_name, pic_chain, import, aof_add_import,
2969 aof_delete_import): Const-ify.
2970 * i386.c (ix86_osf_output_function_prologue): Const-ify.
2971 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2972 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
2973 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
2974 * i860/sysv3.h: Add missing comment closure.
2975 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
2976 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
2977 to symbolic_operand.
2979 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
2980 (i960-*-*): Set tmake_file.
2981 (sparc86x-*-elf*): Fix typo in header name.
2983 * sched-rgn.c (schedule_insns): Delete unused variable.
2985 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2988 * c-typeck.c (lookup_field): Rework to return a chain down to
2989 the looked-up field.
2990 (build_component_ref): Use the new lookup_field to handle
2991 nested anonymous entities correctly.
2993 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2995 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
2996 Change parameters to gen_rtx_CONST_DOUBLE.
2997 (GEN_INT64, sparc_emit_set_const64): Likewise.
2998 * config/sparc/sparc.md (movdf split): Likewise.
3000 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
3002 * unroll.c (calculate_giv_inc): Use find_last_value rather
3003 than just hoping the last instruction is the right SET.
3004 [Fixes 990604-1.c on stormy16.]
3006 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
3007 library at all if -T is used.
3009 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
3010 some uses of uninitialized variables in error cases.
3012 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
3013 look at 'temp' if we won't be using it.
3015 * config/stormy16/stormy16.h (CONST_COSTS): Define.
3016 (RTX_COSTS): Define.
3017 (ADDRESS_COST): Define.
3018 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
3020 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
3022 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
3023 stormy16_asm_output_mi_thunk.
3024 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
3026 * config/stormy16/stormy16-protos.h
3027 (stormy16_asm_output_mi_thunk): New prototype.
3029 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
3031 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
3032 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
3033 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
3034 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
3035 sched-int.h, toplev.c, config/alpha/alpha.c,
3036 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
3037 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
3038 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
3039 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
3040 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
3041 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
3042 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
3044 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3046 * Makefile.in (dbxout.o): Depend on function.h.
3047 * collect2.c (is_in_list): Hide unused function.
3048 * dbxout.c: Include function.h.
3049 (source_label_number, dbxout_source_line, dbxout_source_file,
3050 dbxout_function_end, dbxout_begin_function): Wrap/move inside
3051 macros controlling usage.
3052 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
3053 * output.h (exports_section): Prototype.
3055 * convex.c (convex_output_function_prologue): Fix format specifier
3057 (asm_declare_function_name): Fix signed/unsigned warning.
3058 (print_operand): Fix format specifier warning.
3059 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
3060 * dsp16xx-protos.h (uns_comparison_operator,
3061 num_1600_core_shifts): Prototype.
3062 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
3063 (frame_size, frame_pointer_offset): Delete.
3064 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
3065 Make static. Fix format specifier warnings.
3066 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
3067 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
3068 * dsp16xx.md: Add default case in switches.
3069 * fr30.h (IN_RANGE): Delete.
3070 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
3071 * mcore-protos.h (mcore_output_cmov): Const-ify.
3072 * mcore.c (mcore_output_cmov): Likewise.
3073 * mcore.h (switch_to_section): Make static and prototype.
3074 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
3075 unsigned>=0 warnings.
3076 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
3077 * rs6000-protos.h (read_only_data_section,
3078 read_only_private_data_section): Prototype.
3079 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3080 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
3081 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
3083 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3085 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
3087 * final.c (final_scan_insn): Add brackets around body of if-stmt.
3088 * gcc.c (convert_filename): Add static prototype. Const-ify.
3089 Wrap variable in macros controlling its use.
3090 * output.h (sdata_section): Add prototype.
3092 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3093 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
3094 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
3095 (ASM_FILE_START): Const-ify.
3096 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
3098 * c4x.md: Don't use the 'U' integer suffix.
3099 * clipper.md (clipper_movstr): Delete declaration.
3100 * d30v-protos.h (d30v_move_2words): Const-ify.
3101 (debug_stack_info): Add prototype.
3102 * d30v.c: Include "integrate.h".
3103 (d30v_function_arg_boundary, d30v_function_arg,
3104 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
3105 signed/unsigned warnings.
3106 (d30v_print_operand_memory_reference, d30v_move_2words):
3108 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
3109 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
3110 * fr30.md: Const-ify.
3111 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3112 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
3113 (mvs_get_label_page): Hide unused static function.
3114 * i860.c (current_function_original_name): Const-ify.
3115 * i860/sysv3.h (current_function_original_name): Likewise.
3116 * i860/sysv4.h (current_function_original_name): Likewise.
3117 * i960.md: Add default case in switches. Remove unused variable.
3118 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
3119 * m32r.md: Const-ify.
3120 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
3121 * m68hc11.c: Include "reload.h".
3122 (static_chain_reg, print_options, m68hc11_asm_file_start):
3124 * m68hc11.md: Delete unused variable. Const-ify. Add parens
3125 around & in comparison.
3126 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
3127 * mn10200.c (shift_mode): Remove trailing comma.
3128 * mn10300-protos.h (output_tst): Const-ify.
3129 * mn10300.c (output_tst): Likewise.
3130 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
3132 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
3133 * pa.c (output_ascii): Likewise.
3134 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3135 * pdp11.md (expand_unop): Delete declarations.
3136 * pj-protos.h (pj_output_addsi3): Const-ify.
3137 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
3138 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
3139 unique_src_operand): Add prototypes.
3140 (pj_output_store_into_lval): Make definition static.
3141 (pj_function_incoming_arg): Don't use unary plus.
3142 (pj_output_addsi3): Const-ify.
3143 * romp.md (get_symref): Delete declarations.
3144 * v850-c.c (mark_current_function_as_interrupt): Don't return
3145 value from void function.
3146 * v850.c: Include "integrate.h".
3147 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
3148 * vax-protos.h (const_section): Add prototype.
3150 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
3152 * machmode.def: Add documentation for the seventh argument in
3155 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
3157 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
3159 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
3160 <-melf>: Don't have markup for ELF acronym.
3162 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
3164 * config.gcc (mmix-*-*): New target.
3165 * doc/invoke.texi: Document MMIX options.
3166 * doc/contrib.texi: Add note about MMIX port to my entry.
3167 * config/mmix/t-mmix: New file.
3168 * config/mmix/mmix.h: New file.
3169 * config/mmix/mmix-protos.h: New file.
3170 * config/mmix/mmix.c: New file.
3171 * config/mmix/mmix.md: New file.
3172 * config/mmix/crti.asm: New file.
3173 * config/mmix/crtn.asm: New file.
3175 2001-11-03 Kazu Hirata <kazu@hxi.com>
3177 * config/sparc/linux-aout.h: Fix comment formatting.
3178 * config/sparc/linux.h: Likewise.
3179 * config/sparc/linux64.h: Likewise.
3180 * config/sparc/lynx.h: Likewise.
3181 * config/sparc/pbd.h: Likewise.
3182 * config/sparc/sol2-sld-64.h: Likewise.
3183 * config/sparc/sol2.h: Likewise.
3184 * config/sparc/sparc.c: Likewise.
3185 * config/sparc/sparc.h: Likewise.
3186 * config/sparc/sparc.md: Likewise.
3187 * config/sparc/sunos4.h: Likewise.
3188 * config/sparc/vxsim.h: Likewise.
3189 * config/sparc/vxsparc.h: Likewise.
3190 * config/sparc/vxsparc64.h: Likewise.
3192 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3194 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
3195 reference to CONST_DOUBLE_MEM in comment.
3196 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
3197 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
3198 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
3199 * function.c (pop_function_context_from): Don't call
3200 restore_varasm_status.
3201 * function.h (restore_varasm_status): Delete declaration.
3202 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
3204 * rtl.def (CONST_DOUBLE): Update comment.
3205 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
3206 (CONST_DOUBLE_CHAIN): Likewise.
3207 (CONST_DOUBLE_MEM): Delete.
3208 (gen_rtx_CONST_DOUBLE): Update parameters.
3209 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
3210 Remove reference to CONST_DOUBLE_MEM.
3211 (const_alias_set): New variable.
3212 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
3213 (immed_real_const_1): Adjust tests for 0, 1, and 2.
3214 Don't set CONST_DOUBLE_MEM.
3215 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
3216 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
3217 Put constant in const_alias_set.
3218 (struct pool_constant): ALIGN now unsigned.
3219 OFFSET now HOST_WIDE_INT.
3221 (restore_varasm_status): Deleted.
3222 (mark_pool_constant): Mark desc->rtl.
3223 (force_const_mem): Rework to store rtl in hash table,
3224 not CONST_DOUBLE_MEM.
3225 Put constant in const_alias_set.
3226 (find_pool_constant): Check desc->rtl.
3227 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
3228 (init_varasm_once): Initialize const_alias_set.
3230 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
3233 * reload.c (combine_reloads): Don't combine an output reload if there
3234 are other reloads around for part of the output.
3236 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
3237 constant expression.
3238 (set_mem_decl): New function.
3239 * expr.h (set_mem_decl): New declaration.
3240 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
3241 (output_asm_operand_names): Add tab.
3242 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
3244 * builtins.c (get_memory_rtx): Properly set MEM alias set and
3247 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
3249 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
3250 Use "invalid" instead of "illegal". Use @r in comments in
3253 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
3255 * c-decl.c (pushdecl): Move block inside if conditional to remove
3256 possibility of a segfault. Lookup block-level extern
3257 variables in enclosing scopes correctly.
3259 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
3261 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
3263 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
3264 SUBREG so we avoid SUBREGing memory.
3266 * expmed.c (store_bit_field): Same.
3268 2001-11-02 DJ Delorie <dj@redhat.com>
3270 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
3271 using FP registers for DImode mem-mem moves is acceptable.
3273 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
3275 * builtins.c (apply_args_size): Handle vector arguments.
3276 (apply_result_size): Same.
3278 * machmode.def: Set WIDER mode field for all vector entries.
3280 2001-11-02 Graham Stott <grahams@redhat.com>
3282 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
3284 2001-11-01 Eric Christopher <echristo@redhat.com>
3286 * config.gcc: Revert part of earlier patch.
3287 * config/mips/linux.h: Ditto.
3288 * df.c: Include tm_p.h to avoid warnings.
3289 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
3291 * config/mips/mips.c: Define mips_abi regardless.
3292 (mips_output_function_prologues): Add long casts for .frame
3294 (override_options): Allow use of ABI_32.
3296 2001-11-01 Kazu Hirata <kazu@hxi.com>
3298 * config/m68hc11/m68hc11.c: Fix comment formatting.
3299 * config/m68hc11/m68hc11.h: Likewise.
3300 * config/m68hc11/m68hc11.md: Likewise.
3302 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
3304 * c-typeck.c (default_conversion): Retain the original expression
3306 * gcc.dg/Wparentheses.c: New tests.
3308 2001-11-01 David S. Miller <davem@redhat.com>
3310 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
3311 64-bit Sparc description more in line with reality.
3313 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
3315 * Makefile.in (GCOV_OBJS): Add version.o.
3316 * gcov.c: Include "version.h" and <getopt.h>.
3317 (gcov_version_string): Remove.
3318 (print_usage): Take a parameter to determine whether this is a
3319 call from --help or an error message. Give fuller output that
3320 follows the GNU Coding Standards for --help.
3321 (print_version): New function.
3323 (process_args): Use getopt_long. Support long options. Follow
3324 GNU Coding Standards for --help and --version.
3325 * doc/gcov.texi: Document long options.
3326 Addresses part of PR other/704.
3328 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
3330 * pa.c (output_move_double): Fix typo in double load.
3332 2001-11-01 Kazu Hirata <kazu@hxi.com>
3334 * config/h8300/h8300.c (h8300_encode_label): Compute a string
3335 before passing it to ggc_alloc_string.
3337 2001-11-01 Kazu Hirata <kazu@hxi.com>
3339 * config/m68k/3b1.h: Fix comment formatting.
3340 * config/m68k/3b1g.h: Likewise.
3341 * config/m68k/a-ux.h: Likewise.
3342 * config/m68k/amix.h: Likewise.
3343 * config/m68k/apollo68.h: Likewise.
3344 * config/m68k/atari.h: Likewise.
3345 * config/m68k/aux-exit.c: Likewise.
3346 * config/m68k/ccur-GAS.h: Likewise.
3347 * config/m68k/crds.h: Likewise.
3348 * config/m68k/dpx2.h: Likewise.
3349 * config/m68k/dpx2g.h: Likewise.
3350 * config/m68k/hp310.h: Likewise.
3351 * config/m68k/hp320.h: Likewise.
3352 * config/m68k/isi.h: Likewise.
3353 * config/m68k/linux.h: Likewise.
3354 * config/m68k/lynx.h: Likewise.
3355 * config/m68k/m68k-psos.h: Likewise.
3356 * config/m68k/m68k.c: Likewise.
3357 * config/m68k/m68k.h: Likewise.
3358 * config/m68k/m68k.md: Likewise.
3359 * config/m68k/m68kelf.h: Likewise.
3360 * config/m68k/m68kv4.h: Likewise.
3361 * config/m68k/mot3300.h: Likewise.
3362 * config/m68k/news.h: Likewise.
3363 * config/m68k/next.h: Likewise.
3364 * config/m68k/pbb.h: Likewise.
3365 * config/m68k/plexus.h: Likewise.
3366 * config/m68k/sgs.h: Likewise.
3367 * config/m68k/sun3.h: Likewise.
3368 * config/m68k/tower.h: Likewise.
3369 * config/m68k/vxm68k.h: Likewise.
3371 2001-10-31 DJ Delorie <dj@redhat.com>
3373 * config/mips/mips.h (mips_cache_flush_func): Prototype.
3374 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
3375 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
3376 * config/mips/mips.c (mips_cache_flush_func): New.
3377 * doc/invoke.texi: Document the new options.
3379 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
3381 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
3382 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
3384 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
3386 * config/cris/cris.c: Include output.h after tree.h but before
3389 2001-10-31 Zack Weinberg <zack@codesourcery.com>
3391 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
3392 (INTL_SUBDIRS): Just intl.
3393 (.SUFFIXES): Add .gmo .po .pox.
3394 (native): Also depend on build-@POSUB@.
3395 (intl.all, intl.install): Depend on config.h and things it includes.
3396 (po-generated): New target; depend on c-parse.c and tradcif.c.
3397 (install-normal): Also depend on install-@POSUB@.
3398 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
3399 (build-, install-, build-po, update-po, install-po,
3400 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
3402 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
3403 * configure.in: Don't munge XGETTEXT. Don't generate
3405 * configure: Regenerate.
3407 * exgettext: Delete.
3408 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
3409 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
3411 2001-10-31 Kazu Hirata <kazu@hxi.com>
3413 * config/h8300/h8300.md (two anonymous patterns): New.
3415 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
3417 * tree.h (tree_index): Add support for V16QI and V8HI.
3418 (V8HI_type_node): New.
3419 (V16QI_type_node): New.
3421 * tree.c (build_common_tree_nodes_2): Same.
3423 * c-common.c (type_for_mode): Same.
3425 2001-10-31 Kazu Hirata <kazu@hxi.com>
3427 * config/i386/att.h: Fix comment formatting.
3428 * config/i386/beos-elf.h: Likewise.
3429 * config/i386/bsd.h: Likewise.
3430 * config/i386/bsd386.h: Likewise.
3431 * config/i386/crtdll.h: Likewise.
3432 * config/i386/cygwin.asm: Likewise.
3433 * config/i386/cygwin.h: Likewise.
3434 * config/i386/djgpp.h: Likewise.
3435 * config/i386/freebsd-aout.h: Likewise.
3436 * config/i386/freebsd.h: Likewise.
3437 * config/i386/gas.h: Likewise.
3438 * config/i386/i386-interix.h: Likewise.
3439 * config/i386/i386-protos.h: Likewise.
3440 * config/i386/i386.c: Likewise.
3441 * config/i386/i386.h: Likewise.
3442 * config/i386/i386.md: Likewise.
3443 * config/i386/i386elf.h: Likewise.
3444 * config/i386/interix.c: Likewise.
3445 * config/i386/isc.h: Likewise.
3446 * config/i386/isccoff.h: Likewise.
3447 * config/i386/iscdbx.h: Likewise.
3448 * config/i386/linux.h: Likewise.
3449 * config/i386/lynx.h: Likewise.
3450 * config/i386/mingw32.h: Likewise.
3451 * config/i386/netbsd-elf.h: Likewise.
3452 * config/i386/next.h: Likewise.
3453 * config/i386/osf1elf.h: Likewise.
3454 * config/i386/osfrose.h: Likewise.
3455 * config/i386/sco5.h: Likewise.
3456 * config/i386/seq-gas.h: Likewise.
3457 * config/i386/seq-sysv3.h: Likewise.
3458 * config/i386/sequent.h: Likewise.
3459 * config/i386/sol2.h: Likewise.
3460 * config/i386/sun386.h: Likewise.
3461 * config/i386/uwin.asm: Likewise.
3462 * config/i386/uwin.h: Likewise.
3463 * config/i386/vxi386.h: Likewise.
3464 * config/i386/win32.h: Likewise.
3465 * config/i386/winnt.c: Likewise.
3466 * config/i386/xm-cygwin.h: Likewise.
3467 * config/i386/xm-mingw32.h: Likewise.
3469 2001-10-31 Kazu Hirata <kazu@hxi.com>
3471 * builtins.def: Fix comment typos.
3472 * config/alpha.c: Likewise.
3473 * config/arm/arm.c: Likewise.
3474 * config/avr/avr.h: Likewise.
3475 * config/d30v/d30v.c: Likewise.
3476 * config/d30v/d30v.h: Likewise.
3477 * config/d30v/d30v.md: Likewise.
3478 * config/dsp16xx/dsp16xx.c: Likewise.
3479 * config/fr30/fr30.c: Likewise.
3480 * config/fr30/fr30.md: Likewise.
3481 * config/i386/i386.c: Likewise.
3482 * config/i860/i860.c: Likewise.
3483 * config/i960/i960.c: Likewise.
3484 * config/ia64/ia64.c: Likewise.
3485 * config/mips/mips.c: Likewise.
3486 * config/pa/pa.c: Likewise.
3487 * config/rs6000/rs6000.c: Likewise.
3488 * config/s390/s390.c: Likewise.
3489 * config/sparc/sparc.c: Likewise.
3491 2001-10-30 Kazu Hirata <kazu@hxi.com>
3493 * config/mips/elf.h: Fix comment formatting.
3494 * config/mips/elf64.h: Likewise.
3495 * config/mips/iris5.h: Likewise.
3496 * config/mips/iris5gas.h: Likewise.
3497 * config/mips/iris6.h: Likewise.
3498 * config/mips/isa3264.h: Likewise.
3499 * config/mips/linux.h: Likewise.
3500 * config/mips/mips.c: Likewise.
3501 * config/mips/mips.h: Likewise.
3502 * config/mips/mips.md: Likewise.
3503 * config/mips/mips16.S: Likewise.
3504 * config/mips/netbsd.h: Likewise.
3505 * config/mips/osfrose.h: Likewise.
3506 * config/mips/r3900.h: Likewise.
3507 * config/mips/sni-svr4.h: Likewise.
3508 * config/mips/svr4-t.h: Likewise.
3509 * config/mips/ultrix.h: Likewise.
3511 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
3513 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
3514 when we update head->current.
3516 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
3518 * tree.c (id_string_size): Remove.
3519 (dump_tree_statistics): Update.
3520 * toplev.c (compile_file): If dumping stats, dump tree stats too.
3522 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
3524 * sched-rgn.c (schedule_insns): Fix comment.
3526 2001-10-30 Zack Weinberg <zack@codesourcery.com>
3528 * configure.in: Correct previous change: don't assume that
3529 gas's version number _isn't_ the last thing on the line, or
3530 isn't the only number on the line, either.
3531 * configure: Regenerate.
3533 2001-10-30 Kazu Hirata <kazu@hxi.com>
3535 * cfgcleanup.c: Fix a comment typo.
3537 2001-10-30 Kazu Hirata <kazu@hxi.com>
3539 * alias.c: Fix comment formatting.
3540 * recog.c: Likewise.
3541 * config/cris/cris.c: Likewise.
3542 * config/cris/cris.h: Likewise.
3543 * config/i960/i960.c: Likewise.
3544 * config/i960/i960.h: Likewise.
3546 2001-10-30 Kazu Hirata <kazu@hxi.com>
3548 * config/arm/arm.c: Fix a comment typo.
3549 * config/arm/arm.h: Likewise.
3550 * config/ia64/ia64.c: Likewise.
3552 2001-10-30 Jakub Jelinek <jakub@redhat.com>
3554 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
3555 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
3556 * rtl.h (set_unique_reg_note): Change return value.
3557 * gcse.c (try_replace_reg): Use set_unique_reg_note.
3558 * cse.c (cse_insn): Likewise.
3559 * expr.c (emit_move_insn): Likewise.
3560 * explow.c (force_reg): Likewise.
3561 * local-alloc (update_equiv_regs): Likewise.
3562 * loop.c (move_moveables, load_mems): Likewise.
3563 * reload (find_reloads): Likewise.
3565 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
3568 * c-decl.c (parmlist_tags_warning, start_struct,
3569 check_for_loop_decls): Separate messages for struct, union and
3570 enum cases to allow for languages in which they have different
3572 * c-format.c (scanf_flag_specs): Separate short and long name of
3573 the assignment suppression feature.
3574 (check_format_types): Localize "pointer" and "different types"
3576 * c-lex.c (lex_number): Localize "an unsigned long int" and
3578 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
3580 * c-typeck.c (build_unary_up): Separate messages for increment and
3581 decrement cases to allow for languages in which they use different
3582 articles. Localize the strings "increment" and "decrement" in one
3585 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
3587 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
3588 when no changes has been made.
3590 * gcse.c (reg_set_bitmap): Turn into reg_set.
3591 (modify_mem_list_set, canon_modify_mem_list_set)
3592 (clear_modify_mem_tables, free_modify_mem_tables): New.
3593 (gcse_main); Use free_modify_mem_tables.
3594 (free_gcse_mem): Likewise; free the bitmaps.
3595 (alloc_gcse_main): Initialize the bitmaps.
3596 (canon_list_insert): Set canon_modify_mem_list_set.
3597 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
3598 (compute_hash_table): Use clear_modify_mem_tables.
3599 (reset_opr_set_tables): Likewise.
3600 (oprs_not_set_p): reg_set_bitmap is regset.
3601 (mark_set, mark_clobber): Likewise.
3603 * df.h (DF_EQUIV_NOTES): New constant.
3604 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
3607 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
3608 (init_regions, schedule_insns): Conditionalize the checking
3609 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
3611 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
3613 * i386.md (movti_rex64 splitter): Fix condition.
3615 2001-10-29 Zack Weinberg <zack@codesourcery.com>
3617 * configure.in: Do not assume that gas's version number is the
3618 last thing on the first line of as --version output.
3619 * configure: Regenerate.
3621 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
3622 MT_WARNING, MT_ERROR, MT_FATAL.
3623 (main): Call gcc_init_libintl.
3624 (v_message): Call gettext on msgid and "warning: "
3625 * tradcif.y: Include intl.h.
3626 (yyerror): Make parameter definition consistent with
3627 prototype. Call gettext on msgid argument.
3629 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3631 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
3634 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
3636 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3638 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
3639 before referencing it.
3641 2001-10-26 DJ Delorie <dj@redhat.com>
3643 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
3644 override -G, and force -G0.
3646 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
3648 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
3649 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
3650 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
3651 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
3653 * loop.h (struct induction): Rename ext_dependant to
3655 * loop.c: Change all uses.
3656 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
3657 All callers changed.
3658 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
3660 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
3662 * c-parse.in (expr_no_commas, primary), c-typeck.c
3663 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
3665 2001-10-29 David Edelsohn <edelsohn@gnu.org>
3667 Undo assemble_name change in earlier patch.
3669 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
3671 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
3672 determining the type of the receiver, do not check that TREE_CODE
3673 of receiver is CALL_EXPR before calling receiver_is_class_object().
3674 (receiver_is_class_object): For the GNU runtime: recognize
3675 the case that the receiver is self in a class method context.
3676 Check that TREE_CODE of receiver is CALL_EXPR when checking that
3677 the receiver is a call to objc_get_class.
3679 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
3681 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
3683 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3685 * Makefile.in (OBJS): Put all files in alphabetical order.
3687 * dwarf2out.c (add_const_value_attribute): Fix error in last
3690 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
3692 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
3693 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
3695 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
3696 (life_analysis): call purge_all_dead_edges after deleting noops.
3697 (delete_noop_move): Do not purge CFG.
3698 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
3700 2001-10-28 David Edelsohn <edelsohn@gnu.org>
3702 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
3703 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
3704 (ASM_GLOBALIZE_LABEL): Use assemble_name.
3705 (ASM_OUTPUT_COMMON): Likewise.
3706 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
3707 (rs6000_output_function_epilogue): Likewise.
3708 (output_mi_thunk): Fix typo.
3709 (rs6000_output_symbol_ref): Use assemble_name.
3710 (output_toc): Likewise.
3711 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
3712 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
3713 assemble_name calls STRIP_NAME_ENCODING.
3714 (ASM_OUTPUT_LABEL): Use assemble_name.
3715 (ASM_GLOBALIZE_LABEL): Likewise.
3716 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3717 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
3718 (ASM_OUTPUT_LOCAL): Likewise.
3720 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3722 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
3723 (expand_builtin_apply, expand_builtin_return): Likewise.
3724 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
3726 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
3728 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
3729 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
3730 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
3731 configure, configure.in, except.c, except.h, flow.c, function.c,
3732 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
3733 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
3734 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
3735 unroll.c: Fix spelling errors.
3737 * doc/extend.texi, doc/invoke.texi: Fix spelling.
3739 * doc/gcc.texi: Document use of "dependent" and American spelling.
3741 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
3743 * expr.c (emit_group_load): Support CONCATs by storing them to memory
3746 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3748 * expr.c (store_constructor_field): Only call adjust_address on MEM.
3750 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
3752 * genrecog.c (write_switch): Output if before switch for
3753 DT_elt_zero_wide_safe.
3755 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3757 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
3758 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
3759 (FUNCTION_PROFILER): Const-ify.
3760 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
3761 (eliminate_constant_term, assemble_name, output_addr_const):
3762 Remove declarations.
3763 (ptr_half_pic_address_p, half_pic_hash): Prototype.
3764 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
3765 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
3766 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
3767 (half_pic_declare, half_pic_external): Const-ify.
3768 * toplev.c: Include "halfpic.h".
3770 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
3772 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
3773 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
3774 config/i386/i386.c, config/i386/i386-interix.h,
3775 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
3776 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
3777 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
3778 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
3779 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
3780 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
3781 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
3784 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
3785 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
3786 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
3787 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
3788 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
3789 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
3790 system.h, toplev.c: Fix spelling errors.
3792 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3794 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
3796 * dwarf2out.c (reg_number): Abort if pseudo.
3797 (reg_loc_descriptor): Return 0 if pseudo.
3798 (is_based_loc): Return 0 if pseudo.
3799 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
3801 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
3802 (loc_descriptor): Return 0 if can't find location and handle 0
3803 return from recursive calls.
3804 (loc_descriptor_from_tree): Likewise.
3805 Fix handling of indirect.
3806 Also return 0 for PLACEHOLDER_EXPR.
3807 Clean up COMPONENT_REF cases.
3808 (add_AT_location_descriptor): Simplify, but handle 0 return from
3810 (add_const_value_attribute): Avoid shift count warning.
3811 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
3812 Set comp_unit_die as context if not in function.
3814 * config/mips/mips-protos.h: Break up long lines.
3815 Remove needless #ifdef/#endif blocks.
3816 Don't declare functions declared in file made by genpreds or recog.h.
3817 * config/mips/mips.c (mips_output_function_prologue): TSIZE
3818 is now HOST_WIDE_INT; delete unneeded casts.
3819 * config/mips/mips.h: Don't use #elif.
3821 * expr.c (stor_constructor_field): Always call adjust_address.
3822 Copy TARGET before changing its alias set.
3823 (store_field): Likewise, for TO_RTX.
3824 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
3826 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
3827 (find_placeholder): Return 0 if can't find object.
3828 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
3831 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
3833 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
3835 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
3837 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
3838 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
3839 (merge_blocks): Properly udpate life after making edge nonfallthru.
3840 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
3842 2001-10-26 Kazu Hirata <kazu@hxi.com>
3844 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3846 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
3848 * c-typeck.c (convert_arguments): When comparing for enumeral
3849 type equality, use TYPE_MAIN_VARIANT.
3850 * gcc.dg/Wconversion.c: New tests.
3852 2001-10-26 Kazu Hirata <kazu@hxi.com>
3854 * s390/s390.c: Fix comment typos.
3855 * s390/s390.h: Likewise.
3856 * s390/s390.md: Likewise.
3858 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3860 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
3861 (walk_tree): Use it for tail calls where appropriate.
3863 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3865 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
3866 non-local label_refs.
3868 2001-10-26 Kazu Hirata <kazu@hxi.com>
3870 * config/h8300/h8300.md (4 anonymous patterns): New.
3872 2001-10-26 Kazu Hirata <kazu@hxi.com>
3874 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
3875 algorithm through the shift_info structure.
3876 (emit_a_shift): Update the use of get_shift_alg.
3878 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
3880 * sched-rgn.c: Remove bitset typedef.
3881 Change bitset to sbitmap in prototypes / variable types.
3883 Remove edgeset_bits.
3884 Remove edgeset_size.
3885 s/BITSET_ADD/SET_BIT/g
3886 s/BITSET_INVERT/sbitmap_ones/g
3887 s/BITSET_INTER/sbitmap_a_and_b/g
3888 s/BITSET_UNION/sbitmap_a_or_b/g
3889 s/BITSET_DIFFER/sbitmap_difference/g
3890 s/bitset_member/TEST_BIT/g
3891 (BITSET_*): Removed.
3892 (bitset_member): Removed.
3893 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
3894 EXECUTE_IF_SET_IN_SBITMAP.
3895 (split_edges): Rewrite, use sbitmap functions instead of bitset
3897 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
3899 2001-10-26 Andreas Schwab <schwab@suse.de>
3901 * reload1.c (emit_input_reload_insns): Fix parens in last
3902 (undocumented) change that was supposed to change only whitespace.
3904 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3906 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
3908 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
3911 2001-10-26 Andreas Jaeger <aj@suse.de>
3913 * flow.c (clear_log_links): Remove unused variable.
3914 * cfgcleanup.c (cleanup_cfg): Likewise.
3916 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3918 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
3919 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
3921 2001-10-26 Richard Henderson <rth@redhat.com>
3923 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
3924 rename PV_REG to R27_REG.
3925 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
3926 (REG_CLASS_FROM_LETTER): Update.
3927 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
3928 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
3929 (udivsi3, modsi3, umodsi3): Likewise.
3930 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
3932 2001-10-26 Richard Henderson <rth@redhat.com>
3934 * cfg.c (clear_aux_for_blocks): Split out of ...
3935 (free_aux_for_blocks): here.
3936 (clear_aux_for_edges): Split from ...
3937 (free_aux_for_edges): here.
3938 * basic-block.h: Declare them.
3939 * lcm.c (compute_antinout_edge): Use them.
3940 (compute_laterin, compute_available, compute_nearerout): Likewise.
3941 (optimize_mode_switching): Likewise.
3943 2001-10-26 Richard Henderson <rth@redhat.com>
3945 * Makefile.in (unstage*): Remove as, ld, collect-ld before
3946 moving everything back to the main build directory.
3948 2001-10-26 Christopher Faylor <cgf@redhat.com>
3950 * config/i386/cygwin.h: Search target specific include directory, if
3953 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3955 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
3956 of macro guards. Fix #endif comment.
3958 * output.h (default_exception_section, default_eh_frame_section):
3959 Move prototypes outside of macro guard.
3961 * crtstuff.c: Fix #endif comment.
3963 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
3965 * doc/md.texi (movMM): Clarify semantics of storing into a
3966 non-paradoxical SUBREG.
3968 2001-10-25 Zack Weinberg <zack@codesourcery.com>
3970 * langhooks.c (lang_hook_default_clear_binding_stack): New.
3971 (lang_hook_default_get_alias_set): Move next to other alias
3973 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
3974 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
3975 (LANG_HOOKS_INITIALIZER): Add it.
3976 * toplev.h (struct lang_hooks): Add clear_binding_stack.
3977 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
3978 instead of a loop calling poplevel.
3980 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
3982 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
3983 occurrences of #elif with #if...#endif.
3985 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3987 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
3989 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3991 * alias.c (can_address_p): No longer static.
3992 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
3993 Return 0 if all parameters are default values.
3994 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
3995 (adjust_address_1): Try harder to compute a size.
3996 * expr.c (expand_assignment, store_constructor): If can't address,
3997 set MEM_KEEP_ALIAS_SET_P.
3998 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
3999 (store_field): Likewise.
4000 (store_constructor): Simplify call to store_constructor_field.
4001 * expr.h (can_address_p): New declaration.
4002 * gensupport.c (gen_rtx_CONST_INT): New function.
4003 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
4004 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
4005 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
4007 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
4009 2001-10-24 Christopher Faylor <cgf@redhat.com>
4011 * config/i386/cygwin.h: Use proper path for mingw crt files when
4014 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4016 * dwarf2out.c (file_info_cmp): Always return consistent results.
4018 2001-10-24 Roger Sayle <roger@eyesopen.com>
4020 * stmt.c (expand_end_case): Index jumptables from zero for
4021 suitably small values of minval.
4023 2001-10-24 Jakub Jelinek <jakub@redhat.com>
4025 * stor-layout.c (place_union_field): If any field was aligned with
4026 attribute aligned, set record type's TYPE_USER_ALIGN.
4027 (place_field): Likewise.
4028 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
4029 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
4031 2001-10-24 Zack Weinberg <zack@codesourcery.com>
4033 * c-common.h (struct c_common_identifier): Remove rid_code field.
4034 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
4036 * c-typeck.c (constructor_designated): New local flag.
4037 (struct constructor_stack): Add "designated" field to match.
4038 (start_init): Clear it.
4039 (really_start_incremental_init, push_init_level): Push and
4041 (pop_init_level): Pop it.
4042 (set_designator): Set it.
4044 (pop_init_level): Suppress "missing initializer" warnings if
4045 constructor_designated is true.
4046 (process_init_element): Suppress warning about union
4047 initialization under traditional C, if constructor_designated
4050 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4052 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
4055 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
4057 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
4059 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
4061 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
4062 the node was already a set to a constant.
4064 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4066 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
4067 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
4069 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4071 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
4072 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
4073 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4074 * s390.c (s390_final_chunkify): Don't use string concatenation.
4075 (s390_function_prologue, s390_function_epilogue): Const-ify.
4076 * s390.h (FUNCTION_PROFILER): Remove unused variable.
4078 2001-10-24 Jakub Jelinek <jakub@redhat.com>
4080 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
4083 2001-10-23 Stan Shebs <shebs@apple.com>
4085 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
4086 -traditional-cpp in first-stage compilation.
4088 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4090 * gensupport.c (target_flags): Add.
4092 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
4094 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
4096 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
4097 * except.c (expand_builtin_frob_return_addr): Likewise.
4098 (expand_builtin_eh_return): Likewise.
4099 * stmt.c (expand_computed_goto): Likewise.
4100 * explow.c (memory_address): Likewise.
4101 (allocate_dynamic_stack_space): Clean up predicate testing.
4102 (probe_stack_range): Convert SIZE to Pmode.
4103 * calls.c (rtx_for_function_call): Only call convert_memory_address
4105 Pass function call operand as ptr_mode, not Pmode.
4106 * expr.c (expand_assignment): Clean up calls to convert_memory
4107 address by only doing so when needed and making offsets Pmode.
4108 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
4109 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
4110 is in Pmode, not ptr_mode.
4112 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4114 * darwin-protos.h (constructor_section, destructor_section,
4115 mod_init_section, mod_term_section): Prototype.
4116 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
4118 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
4120 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
4121 objc_section_init declaration.
4122 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
4123 (objc_section_init, try_section_alias): Make static.
4124 (alias_section): Make static and hide unused function.
4125 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4127 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4129 * alias.c (can_address_p): Compnonents are not addressable if
4130 the containing type has alias set 0.
4131 (get_alias_set): Rework to use STRIP_NOPS.
4132 Only call front-end routine on object, type, or object with
4133 NOPs stripped, not inner values.
4134 Use language hook to call front-end routine.
4135 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
4136 (expand_builtin_apply): Call set_mem_align on MEMs we make.
4137 Don't pass alignment to emit_block_move.
4138 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4139 (expand_builtin_memset): Likewise, but for clear_storage.
4140 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
4141 and remove C++ specific parts.
4142 * c-common.h (c_common_get_alias_set): Add declaration.
4143 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
4144 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
4145 (save_fixed_argument_area): Call set_mem_align.
4146 Remove alignment in call to emit_block_move.
4147 (emit_library_call_value_1, store_one_arg): Likewise.
4148 (target_for_arg): Remove; disabled long ago.
4149 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
4150 once and similar cleanups.
4151 (offset_address): Use proper introductory comment.
4152 * expr.c (emit_block_move): Use alignment from that of MEM args, not
4153 from explicit operand; all callers changed.
4154 (clear_storage): Likewise.
4155 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
4156 (store_field): Remove kludge on alias set used for to_rtx.
4157 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
4158 (expand_expr_unaligned): Call set_mem_attributes instead of
4160 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
4161 * function.c (assign_stack_temp_for_type): Set MEM alignment.
4162 (expand_function_end): Track MEM attributes of trampolines.
4163 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
4164 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
4165 attributes from original.
4166 * langhooks.c (lang_hook_default_get_alias_set): New function.
4167 (hook_get_alias_set_0): New function.
4168 * langhooks.h (hook_get_alias_set_0): New declaration.
4169 (lang_hook_default_get_alias_set): Likewise.
4170 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
4171 * reload1.c (alter_reg): Use adjust_address_nv.
4172 * rtl.c (get_mode_alignment): Moved to here.
4173 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
4174 change default if unknown from 1 to BITS_PER_UNIT.
4175 * stor-layout.c (get_mode_alignment): Remove from here.
4176 * toplev.h (struct lang_hoks): Add get_alias_set field.
4177 * tree.h (lang_get_alias_set): Delete declaration.
4178 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
4179 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
4180 (ix86_va_arg): Likewise.
4181 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
4182 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
4183 * config/sparc/sparc.c (sparc_va_arg): Likewise.
4184 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
4185 (expand_block_move_mem): Remove dead code.
4187 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
4189 * c-common.c (warn_div_by_zero): New.
4190 * c-common.h (warn_div_by_zero): New.
4191 * c-decl.c (c_decode_option): Take it on the command line.
4192 * c-typeck.c (build_binary_op): Warn about division by zero.
4193 * doc/invoke.texi: Document the new command line option, fix
4194 documentation of -Wmultichar.
4195 * testsuite/gcc.dg/divbyzero.c: New tests.
4196 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
4198 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
4200 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
4202 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
4203 to avoid update_life_info call.
4204 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
4205 * cfgcleanup.c (bb_flags): New enum.
4206 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
4207 (notice_new_block, update_forwarder_flag): New functions.
4208 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
4209 (try_forward_edges): Likewise; update flags.
4210 (merge_blocks): Likewise.
4211 (outgoing_edges_match): Likewise.
4212 (try_crossjump_to_edge): Likewise.
4213 (try_optimize_cfg): Likewise; initialize and clear the flags;
4214 recompute life info if needed.
4215 (cleanup_cfg): No need to clear aux pointers.
4217 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
4219 * config/i386/i386.c (override_options): Default to minimum
4220 stack alignment when optimizing for code size.
4221 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
4224 * config/i386/i386.c (override_options): Set upper limit of
4225 -mpreferred-stack-boundary to 12.
4227 2001-10-22 Zack Weinberg <zack@codesourcery.com>
4229 * recog.c (peephole2_optimize): Add default case to switch.
4231 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
4233 * doc/gcc.texi (Sending Patches): Remove.
4235 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
4237 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
4238 fields when comparing.
4240 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4242 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
4243 * arm.c (HOST_INT, HOST_UINT): Likewise.
4245 2001-10-22 Stan Shebs <shebs@apple.com>
4247 * config/darwin-protos.h (darwin_exception_section): Declare.
4248 (darwin_eh_frame_section): Declare.
4250 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
4252 * i386.md (movti_rex64): Fix mode.
4254 2001-10-22 Stan Shebs <shebs@apple.com>
4256 * target.h (struct gcc_target): Add asm_out.exception_section,
4257 asm_out.eh_frame_section.
4258 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
4259 (TARGET_ASM_EH_FRAME_SECTION): New.
4260 (TARGET_INITIALIZER): Update.
4261 * output.h (default_exception_section): Declare.
4262 (default_eh_frame_section): Declare.
4263 * dwarf2out.c: Include target.h.
4264 (output_call_frame_info): Call target hook for eh frames.
4265 (default_eh_frame_section): New function.
4266 * except.c: Include target.h.
4267 (output_function_exception_table): Call target hook for exception
4269 * varasm.c (default_exception_section): Rename from
4270 exception_section, remove EXCEPTION_SECTION macro.
4272 * config/darwin.h (darwin_eh_frame_section): New function.
4273 (EXCEPTION_SECTION): Remove.
4274 (TARGET_ASM_EXCEPTION_SECTION): Define.
4275 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
4276 (nextstep_exception_section): New function.
4277 (nextstep_eh_frame_section): New function.
4278 (TARGET_ASM_EXCEPTION_SECTION): Define.
4279 (TARGET_ASM_EH_FRAME_SECTION): Define.
4281 * config/pa/som.h (EXCEPTION_SECTION): Remove.
4282 (TARGET_ASM_EXCEPTION_SECTION): Define.
4283 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
4284 (EXCEPTION_SECTION): Remove.
4285 (TARGET_ASM_EXCEPTION_SECTION): Define.
4286 * config/stormy16/stormy16.h: Remove comments referencing
4287 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
4289 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
4290 TARGET_ASM_EH_FRAME_SECTION.
4292 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
4294 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
4297 * c-format.c: Fix spelling typo in comment.
4299 * sched-int.h: Fix typo in GCC preamble.
4301 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
4304 * doc/invoke.texi: Remove references to -fdump-translation-unit.
4306 2001-10-22 Richard Henderson <rth@redhat.com>
4308 * config/i386/i386.c (ix86_expand_clear): New.
4309 * config/i386/i386-protos.h: Declare it.
4310 * config/i386/i386.md (setcc peep2s): Use it.
4311 (movsi_xor): Unexport.
4313 2001-10-22 Richard Henderson <rth@redhat.com>
4315 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
4316 free_EXPR_LIST_list for LOG_LINKS.
4318 2001-10-21 Robert Lipe <robertlipe@usa.net>
4320 * config/i386/i386.c (sco_asm_named_section): Delete.
4321 (sco_asm_out_constructor): Delete.
4322 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
4323 (ASM_OUTPUT_DOUBLE_INT): Likewise.
4324 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
4325 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
4326 (EXCEPTION_SECTION): Delete EH scn renaming hack.
4328 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4330 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
4331 and/or fold extra calls into fewer ones.
4332 * collect2.c (dump_file): Likewise.
4333 * cppexp.c (parse_number): Likewise.
4334 * cpplex.c (_cpp_lex_direct): Likewise.
4335 * final.c (output_asm_insn, asm_fprintf): Likewise.
4336 * fix-header.c (inf_scan_ident, main): Likewise.
4337 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
4339 * fold-const.c (real_hex_to_f): Likewise.
4340 * gen-protos.c (parse_fn_proto): Likewise.
4341 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
4342 * genrecog.c (change_state, write_action): Likewise.
4343 * gensupport.c (shift_output_template): Likewise.
4344 * local-alloc.c (requires_inout): Likewise.
4345 * mips-tfile.c (IS_ASM_IDENT): Likewise.
4346 * protoize.c (is_id_char, main): Likewise.
4347 * real.c (asctoeg): Likewise.
4348 * recog.c (asm_operand_ok): Likewise.
4349 * reload.c (find_reloads): Likewise.
4350 * scan.c (scan_identget_token): Likewise.
4351 * sched-vis.c (print_value): Likewise.
4352 * stringpool.c (ggc_alloc_string): Likewise.
4353 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
4354 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
4355 * tradcpp.c (rescan): Likewise.
4356 * tree.c (clean_symbol_name): Likewise.
4357 * varasm.c (decode_reg_name): Likewise.
4359 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
4360 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
4361 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
4362 * m88k.c (output_ascii): Likewise.
4363 * m88k.h (OVERRIDE_OPTIONS): Likewise.
4364 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
4365 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
4366 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
4368 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
4370 * langhooks.c (lang_hook_default_do_nothing,
4371 lang_hook_default_decode_option): New defaults.
4372 * langhooks.h: Make hooks unconditional and non-NULL.
4373 * toplev.c (compile_file, toplev_main): Update.
4374 * toplev.h: Update comments.
4375 * objc/objc-act.c (lang_hooks): Update to new paradigm.
4377 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4379 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
4381 * system.h (IN_RANGE): New macro.
4383 2001-10-21 Zack Weinberg <zack@codesourcery.com>
4385 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
4386 INTLDEPS variable, which does not include $LIBICONV.
4387 * Makefile.in: Use INTLDEPS in LIBDEPS.
4388 * configure: Regenerate.
4390 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
4392 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
4393 * cpplex.c (lex_percent, lex_dot): Remove.
4394 (get_effective_char, skip_block_comment, skip_line_comment,
4395 parse_identifier_slow, parse_number, parse_string, save_comment,
4396 _cpp_lex_direct): Update to do lookback freely.
4397 (IF_NEXT_IS, BACKUP): New macros.
4398 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
4399 * cppmacro.c (paste_tokens): Update.
4401 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
4403 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
4405 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
4407 * reload1.c (reload): Check CONSTANT_P before calling
4408 LEGITIMATE_PIC_OPERAND_P.
4409 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
4410 workaround of 2001-10-13.
4412 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
4414 * i386.c (split_di): Handle splitting of DFmode.
4416 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4418 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
4419 (adjust_address_1, offset_address): Likewise.
4421 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
4422 (output_asm_insn): Call it for each line output.
4423 Don't record an operand more than once.
4425 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
4426 * main.c: Include config.h and system.h, but not ansidecl.h.
4427 * Makefile.in (main.o): Update accordingly.
4429 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
4431 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
4433 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
4435 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
4436 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
4438 (find_sub_basic_blocks): ... here;
4439 (find_many_sub_basic_blocks): New.
4440 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
4442 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
4444 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
4446 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
4448 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
4449 * flow.c (update_life_info): Measure time.
4450 * c-decl.c: Include timevar.h
4451 (c_expand_body): Measure time.
4452 * toplev.c (rest_of_compilation): Measure time of mode switching
4454 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
4456 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
4457 (lang_independent_options): Add asynchronous-unwind-tables
4458 (toplev_main): flag_asynchronous_unwind_tables implies
4460 * flags.h (flag_asynchronous_unwind_tables): Declare.
4461 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
4462 flag_asynchronous_unwind_tables.
4463 (output_call_frame_info): Likewise.
4464 * invoke.texi (-fasynchronous-unwind-tables): Document.
4465 * i386.c (optimization_options): Enable
4466 flag_asynchronous_unwind_tables.
4468 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
4469 * i386.md (s* expanders): Destination is QImode.
4471 * toplev.c (rest_of_compilation): Do not call clear_log_links.
4472 * rtl.h (clear_log_links): Kill.
4473 * flow.c (clear_log_links): Make static; accept blocks parameter;
4474 do no clear life info.
4475 (update_life_info): Call clear_log_links.
4477 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
4479 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
4481 * cpplex.c (handle_newline, skip_escaped_newlines,
4482 get_effective_char, skip_block_comment, skip_line_comment,
4483 parse_identifier_slow, parse_number, parse_string,
4484 _cpp_lex_direct): Update to do more stepping back.
4485 (trigraph_ok): Similarly. Rename trigraph_p.
4486 (SAVE_STATE, RESTORE_STATE): Remove.
4487 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
4489 * cpplib.c (destringize): Rename destringize_and_run, and
4490 call run_directive directly.
4491 (_cpp_do__Pragma): Simplify.
4493 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4495 * pe.c (arm_pe_unique_section): Const-ify.
4496 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4497 (switch_to_section): Add static prototype.
4499 * output.h (drectve_section): Prototype.
4501 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4503 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
4504 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
4505 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
4506 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
4507 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4508 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
4509 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
4510 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
4511 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
4512 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
4513 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
4514 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
4515 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
4516 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
4517 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
4518 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
4519 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
4520 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
4521 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
4522 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
4523 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
4524 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
4525 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
4526 cris-*-none, cris-*-linux*: Update ${tmfile} list.
4527 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
4528 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
4529 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
4530 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
4531 v850-*-*): Delete superflous ${cpu_type} setting.
4532 * config/linux.h: Delete svr4.h include.
4533 (SET_ASM_OP): Delete.
4534 * config/netware.h (INT_ASM_OP): Undef before define.
4535 * config/ptx4.h: Delete elfos.h include.
4536 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
4537 * config/svr4.h: Delete elfos.h include. Update commentary.
4538 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
4539 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
4540 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
4541 config/v850/v850.h: Delete svr4.h include.
4542 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
4543 config/m68k/m68kv4.h, config/m88k/sysv4.h,
4544 config/sparc/sysv4.h: Update includes.
4545 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
4546 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
4547 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
4548 config/m88k/dguxbcs.h: Delete includes.
4549 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
4550 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
4551 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
4553 * config/m88k/dgux.h: Delete include.
4554 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
4556 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
4557 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
4558 * config/sh/elf.h: Update include.
4559 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
4560 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
4562 2001-10-19 Catherine Moore <clm@redhat.com>
4564 * config/stormy16/stormy-abi: Updates to varargs descriptions.
4565 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
4566 base and count fields.
4567 (stormy16_expand_builtin_va_start): last_reg_count changed to
4568 size_of_reg_args. Use count + size in first comparison.
4570 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4572 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
4573 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
4574 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
4575 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
4576 Set alignment from type if INDIRECT_REF.
4577 (adjust_address_1, offset_address): Simplify alignment compuitation.
4578 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
4579 here; done by set_mem_attributes.
4581 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4583 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
4584 * arm-protos.h (rdata_section, zero_init_section, common_section):
4586 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
4587 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
4588 traditional mode stringification.
4589 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
4590 in macros controling its use.
4591 * rtlanal.c: Include tm_p.h.
4592 * varasm.c (asm_output_aligned_bss): Mark parameter with
4594 (assemble_constant_align, assemble_start_function, assemble_align,
4595 assemble_variable, assemble_trampoline_template,
4596 output_constant_def_contents): Wrap potentially empty if-stmt body
4599 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4601 * a29k-protos.h (literal_section): Prototype.
4602 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
4603 * a29k.md: Ensure function pointers are prototyped.
4604 * genattrtab.c (write_eligible_delay): Mark parameter with
4607 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4609 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
4610 * 1750a.c (print_operand): Fix format specifier warning.
4611 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
4612 * 1750a.md: Likewise.
4613 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
4614 * genemit.c (output_add_clobbers): Mark parameter with
4616 * genrecog.c (write_subroutine): Likewise.
4617 * integrate.c (expand_inline_function): Delete unused variable.
4618 * varasm.c (remove_from_pending_weak_list): Wrap with
4621 2001-10-19 Jakub Jelinek <jakub@redhat.com>
4623 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
4624 field is different to previous argument's neg field.
4626 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
4628 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4630 * final.c (get_decl_from_op): New function.
4631 (output_asm_insn): Call it; write "*" when item with decl is address.
4633 2001-10-19 Janis Johnson <janis187@us.ibm.com>
4635 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
4636 about 64-bit support from the 3.0_branch version.
4638 2001-10-19 Zack Weinberg <zack@codesourcery.com>
4640 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
4641 USE_INCLUDED_LIBINTL when appropriate.
4642 * configure, config.in: Regenerate.
4643 * Makefile.in (datadir): Set to @datadir@.
4644 (intl.o): Also depend on $(CONFIG_H) and system.h.
4646 * intl.c: Factor out common gettext initialization sequence.
4647 (gcc_init_libintl): New function.
4648 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
4649 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
4650 off NLS. Add multiple include guard. No need to #ifdef-guard
4651 an #undef. Prototype gcc_init_libintl here.
4653 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
4654 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
4655 Use gcc_init_libintl.
4657 2001-10-19 Catherine Moore <clm@redhat.com>
4659 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
4661 * config/stormy16/stormy16.c (stormy16_split_move): Make
4662 sure that REG_INC notes are present for auto_inc operands.
4664 2001-10-19 Andreas Jaeger <aj@suse.de>
4666 * configure: Regenerated.
4667 * configure.in: Add x86_64 to switch statements.
4669 2001-10-18 Richard Henderson <rth@redhat.com>
4671 * config/alpha/alpha.md (sibcall_osf_1): Load destination
4672 address into $27 explicitly.
4673 (sibcall_value_osf_1): Likewise.
4675 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4677 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
4678 (offset_address): New function.
4679 (free_emit_status): Free regno_decl.
4680 (init_emit): Pass proper number of elements to xcalloc.
4681 Allocate regno_decl.
4682 (mark_emit_status): Mark regno_decl values.
4683 * expr.c (highest_pow2_factor): New function.
4684 (expand_assigment): Use it and offset_address.
4685 Properly handle ptr_mode vs. Pmode in offset calculation.
4686 (store_constructor, expand_expr_unaligned): Likewise.
4687 (expand_expr, case COMPONENT_EXPR): Likewise.
4688 * expr.h (offset_address): New decl.
4689 * function.h (struct emit_status): Add regno_decl.
4690 (REGNO_DECL): New macro.
4691 * final.c (output_asm_name): Move in file and don't conditionalize
4692 on flag_print_asm_name.
4693 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
4694 Output names of operands, if known.
4695 * function.c (assign_parms): Set REGNO_DECL.
4696 * integrate.c (integrate_decl_tree): Likewise.
4697 * stmt.c (expand_decl): Likewise.
4698 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
4700 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
4702 * attribs.c (handle_noinline_attribute): New function.
4703 (handle_used_attribute): Likewise.
4704 (c_common_attribute_table): Added noinline and used.
4705 * doc/extend.texi (Function Attributes): Document them.
4706 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
4707 Warn when merging inline with attribute noinline.
4708 (start_decl, start_function): Warn if inline and attribute
4709 noinline appear in the same declaration.
4711 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
4713 * config.gcc: Update c4x and i370 for C front end-specific
4715 * config/c4x/c4x-c.c: New.
4716 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
4717 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
4719 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
4720 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
4722 (c4x_init_pragma): Remove.
4723 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
4724 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
4725 c4x_pr_ignored): Move to c4x-c.c.
4726 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
4727 * config/c4x/t-c4x: Update.
4728 * config/i370/i370-c.c: New.
4729 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
4730 (i370_pr_map): Move to i370-c.c.
4731 * config/i370/t-i370: New.
4733 * doc/tm.texi: Update.
4735 2001-10-17 Stan Shebs <shebs@apple.com>
4737 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
4738 typo fixes throughout.
4739 (machopic_output_stub): Remove some dead code.
4741 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
4743 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
4746 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4748 * Makefile.in (print-rtl.o): Depend on TREE_H.
4749 * alias.c (get_alias_set): Make two passes over objects to first
4750 see if inner object is access via restricted pointer.
4751 Defer allocating alias set for restricted pointer until here.
4752 Call find_placeholder with second arg nonzero.
4754 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
4755 set for restricted pointer types.
4756 * emit-rtl.c (set_mem_attributes): Set more attributes.
4757 (set_mem_align, change_address, adjust_address_1): New functions.
4758 (change_address_1): Now static.
4759 (adjust_address, adjust_address_nv): Deleted.
4760 (replace_equiv_address): Call change_address_1.
4761 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
4762 (find_placeholder): Get starting point from PLIST arg.
4763 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
4764 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
4765 (adjust_address, adjust_address_nv): New macros.
4766 * print-rtl.c (tree.h): New include.
4767 (print_rtx, case MEM): Print all memory attributes.
4769 2001-10-17 Richard Henderson <rth@redhat.com>
4771 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
4773 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4775 * c-tree.texi: Eliminate duplicated word.
4776 * cpp.texi: Likewise.
4777 * install.texi: Likewise.
4778 * invoke.texi: Likewise.
4779 * tm.texi: Likewise.
4781 2001-10-17 Michael Collison <collison@isisinc.net>
4783 * dsp16xx.c: Fix comment formatting to match GNU standards.
4784 (dsp16xx_output_function_prologue): Change type of 'size'
4785 parameter from 'int' to HOST_WIDE_INT.
4786 (dsp16xx_output_function_epilogue): Change type of 'size'
4787 parameter from 'int' to HOST_WIDE_INT.
4789 2001-10-16 Richard Henderson <rth@redhat.com>
4791 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
4792 * configure, config.in: Rebuild.
4794 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
4795 (ix86_output_addr_diff_elt): New.
4796 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
4797 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4798 (JUMP_TABLES_IN_TEXT_SECTION): New.
4799 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
4800 * config/i386/i386-protos.h: Update.
4802 * config/i386/386bsd.h, config/i386/beos-elf.h,
4803 config/i386/freebsd-aout.h, config/i386/freebsd.h,
4804 config/i386/i386-interix.h, config/i386/i386elf.h,
4805 config/i386/linux.h, config/i386/netbsd-elf.h,
4806 config/i386/netbsd.h, config/i386/openbsd.h,
4807 config/i386/ptx4-i.h, config/i386/rtemself.h,
4808 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
4809 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
4811 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
4813 * stmt.c (expand_asm_operands): Update commentary.
4815 2001-10-16 Stan Shebs <shebs@apple.com>
4817 * config/darwin.h (GCC_NAME): Remove, no longer used.
4818 (NO_MATH_LIBRARY): Ditto.
4819 (MATH_LIBRARY): Define to emptiness.
4820 (DWARF2_DEBUGGING_INFO): Define.
4821 (PREFERRED_DEBUGGING_TYPE): Define.
4822 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
4823 (EXCEPTION_SECTION): Define.
4824 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4825 * config/darwin.c (darwin_encode_section_info): Handle case of
4826 DECL_INITIAL being error_mark_node.
4828 2001-10-16 Richard Henderson <rth@redhat.com>
4830 * alpha.c (current_file_function_operand): Don't fail for profiling.
4831 (direct_call_operand): New.
4832 * alpha-protos.h: Declare it.
4833 * alpha.h (EXTRA_CONSTRAINT): Use it.
4834 (PREDICATE_CODES): Add it.
4835 (ASM_OUTPUT_MI_THUNK): Remove.
4836 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
4837 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
4839 2001-10-16 Krister Walfridsson <cato@df.lth.se>
4841 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
4842 (JUMP_TABLES_IN_TEXT_SECTION): Define.
4844 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
4846 * cfg.c (free_edge): Break out from ....
4847 (remove_edge): ... here.
4848 (clear_edges): Use free_edge.
4850 * att.h (ASM_QUAD): Add comment.
4851 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
4853 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
4855 * i386.c (split_ti): New function.
4856 (ix86_split_to_parts): Support TImodes.
4857 * i386.h (VALID_INT_MODE_P): Add TImode.
4858 * i386.md (movdi splitter): Fix.
4859 (movti): Support 64bit integer registers.
4860 (movti_rex64): New function and splitter.
4862 * i386.c (*_cost): Add movsx/movzx cost.
4863 * i386.h (struct processor_costs): Add movsx/movzx fields.
4864 (RTX_COSTS): Handle zero/sign extend + avoid believing that
4865 64bit operations require split on 64bit machine.
4866 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
4868 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
4869 (ix86_expand_move): Avoid pushes of memory if size does not match;
4870 move long constants to register.
4871 (x86_initialize_trampoline): Fix mode.
4872 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
4873 Use ASM_QUAD on 64bit.
4874 * i386.md (test pattern): Disallow impossible constants.
4875 (tablejump PIC expander): Fix emitting of sum.
4876 (movdicc_rex64): Rename to movdicc.
4877 * linux64.h (LINK_SPEC): Add missing '%'.
4879 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
4881 * tree-inline.c (inlinable_function_p): Leave it up to the
4882 front-end to turn -finline-functions into DECL_INLINE set for all
4885 2001-10-16 Stan Shebs <shebs@apple.com>
4887 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
4889 2001-10-16 Alan Modra <amodra@bigpond.net.au>
4891 * recog.c: Formatting and comment typo fixes.
4893 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
4894 version in single tree build.
4895 * configure: Regenerate.
4897 2001-10-15 David Edelsohn <edelsohn@gnu.org>
4899 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
4900 MODE arguments to gen_rtx and compare operand with const0_rtx.
4902 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
4904 * system.h: Poison old unused target macros.
4905 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
4906 * config/stormy16/stormy16.c: Update references to obsolete macros.
4907 * config/stormy16/stormy16.h: Similarly.
4908 * config/stormy16/stormy16.md: Similarly.
4909 * config/cris/cris.h: Similarly.
4911 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
4913 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
4914 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
4915 cpp_register_pragma): Update accordingly.
4917 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
4919 * c-pragma.h (cpp_register_pragma_space): Remove.
4920 * cpplib.h (cpp_register_pragma_space): Remove.
4921 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
4922 (cpp_register_pragma_space): Remove.
4923 (cpp_register_pragma): Simplify using lookup_pragma_entry,
4925 (do_pragma): Similarly.
4926 (_cpp_init_internal_pragmas): Don't register namespaces.
4928 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
4929 Don't register namespaces.
4930 * cp/lex.c (init_cp_pragma): Similarly.
4931 * doc/tm.texi: Update.
4933 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
4936 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
4938 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
4940 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
4941 add scheduling support.
4942 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
4943 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
4944 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
4947 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
4949 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
4950 missing CONSTANT_P test in core GCC.
4952 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
4954 * cppmain.c (struct printer): New member source.
4955 (scan_translation_unit): Fix spacing at start of lines.
4956 (cb_line_change): Update.
4958 * gcc.dg/cpp/spacing2.c: New test.
4960 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
4962 * config/cris/arit.c: Use __builtin_labs, not abs.
4964 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
4966 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
4967 misplaced sprintf and fprintf argument.
4969 2001-10-12 Zack Weinberg <zack@codesourcery.com>
4971 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
4972 * configure.in, Makefile.in: Take out obsolete check-po logic.
4973 * configure, config.in: Regenerate.
4975 2001-10-12 Ziemowit Laski <zlaski@apple.com>
4977 * objc/objc-act.c (finish_objc): Correct precondition for emitting
4978 symtab declarations.
4980 2001-10-12 Stan Shebs <shebs@apple.com>
4982 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
4983 declarations of arguments and local variables.
4985 2001-10-12 Christopher Faylor <cgf@redhat.com>
4987 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
4988 ENDFILE_SPEC definition.
4990 2001-10-12 Kazu Hirata <kazu@hxi.com>
4992 * gthr-dce.h: Fix comment formatting.
4993 * gthr-posix.h: Likewise.
4994 * gthr-single.h: Likewise.
4995 * gthr-solaris.h: Likewise.
4996 * gthr-vxworks.h: Likewise.
4997 * gthr-win32.h: Likewise.
4999 2001-10-12 Jakub Jelinek <jakub@redhat.com>
5001 * final.c (output_asm_insn): Make sure assembly dialects are
5002 terminated, not nested. Output `|' and `}' characters if they
5003 don't appear inside assembly dialect selection.
5004 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
5005 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
5006 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
5007 strsetsi_rex_1): Add {} braces.
5009 2001-10-11 Zack Weinberg <zack@codesourcery.com>
5011 * toplev.c (compile_file): Ignore return value from yyparse.
5012 Always pop any nested binding levels after yyparse returns.
5014 2001-10-11 Richard Henderson <rth@redhat.com>
5016 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
5018 2001-10-11 Richard Henderson <rth@redhat.com>
5020 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
5021 fall back to add_AT_long_long for large CONST_INT.
5023 2001-10-11 Richard Henderson <rth@redhat.com>
5025 * config/i386/i386.md (setcc splitters): Add four splitters to
5026 simplify compound compares that simplify_comparison can't handle.
5028 2001-10-11 Zack Weinberg <zack@codesourcery.com>
5030 * cpplex.c (digraph_spellings, token_spellings): Make static.
5032 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5034 * unroll.c (loop_iterations): Fixup last patch.
5036 2001-10-11 Richard Henderson <rth@redhat.com>
5038 * rtl.h (REG_VTABLE_REF): New.
5039 * rtl.c (reg_note_name): Add it.
5040 * combine.c (distribute_notes): Handle it.
5041 * final.c (final_scan_insn): Handle it.
5042 * tree.def (VTABLE_REF): New.
5043 * expr.c (expand_expr): Handle it.
5044 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
5045 * output.h: Declare them.
5047 2001-10-11 Richard Henderson <rth@redhat.com>
5049 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
5052 2001-10-11 David Edelsohn <edelsohn@gnu.org>
5054 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
5055 available in 64-bit mode.
5057 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
5059 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
5060 cris-*-linux* cases.
5061 * config/cris/cris-protos.h: New file.
5062 * config/cris/cris.c: New file.
5063 * config/cris/cris.h: New file.
5064 * config/cris/cris.md: New file.
5065 * config/cris/linux.h: New file.
5066 * config/cris/aout.h: New file.
5067 * config/cris/arit.c: New file.
5068 * config/cris/cris_abi_symbol.c: New file.
5069 * config/cris/mulsi3.asm: New file.
5070 * config/cris/t-aout: New file.
5071 * config/cris/t-cris: New file.
5072 * config/cris/t-elfmulti: New file.
5073 * config/cris/t-linux: New file.
5074 * doc/invoke.texi: Add CRIS options.
5075 * doc/install.texi (Specific): Add blurb for CRIS.
5077 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
5079 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
5081 * config/float/i32.h: Likewise.
5082 * config/float-i386.h: Likewise.
5083 * config/float-i64.h: Likewise.
5084 * config/float-m68k.h: Likewise.
5085 * config/float-sh.h: Likewise.
5086 * config/float-sparc.h: Likewise.
5088 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
5090 * doc/contrib.texi: Add note about CRIS port to my entry.
5092 2001-10-11 Kazu Hirata <kazu@hxi.com>
5094 * basic-block.h: Fix formatting.
5095 * bitmap.h: Likewise.
5096 * cpplib.h: Likewise.
5097 * c-tree.h: Likewise.
5098 * diagnostic.h: Likewise.
5099 * flags.h: Likewise.
5101 * longlong.h: Likewise.
5103 * reload.h: Likewise.
5107 2001-10-10 Richard Henderson <rth@redhat.com>
5109 * c-parse.in (asm_operand): Allow named operands.
5110 * genconfig.c (max_recog_operands): Set to 29.
5111 * local-alloc.c (requires_inout): Skip multiple digits.
5112 * recog.c (asm_operand_ok): Likewise.
5113 (preprocess_constraints): Use strtoul for matching constraints.
5114 (constrain_operands): Likewise.
5115 * regmove.c (find_matches): Likewise.
5116 * reload.c (find_reloads): Likewise.
5117 * stmt.c (parse_output_constraint): Don't reject in-out
5118 constraint on operands > 9. Reject '[' in constraint.
5119 (expand_asm_operands): Handle named operands. Use strtoul
5120 for matching constraints.
5121 (check_operand_nalternatives): Split out from expand_asm_operands.
5122 (check_unique_operand_names): New.
5123 (resolve_operand_names, resolve_operand_name_1): New.
5125 * doc/extend.texi (Extended Asm): Document named operands.
5126 * doc/md.texi (Simple Constraints): Document matching constraints
5129 2001-10-10 Richard Henderson <rth@redhat.com>
5131 * combine.c (try_combine): Handle a SEQUENCE of one insn.
5133 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
5134 (jcc splitters): Add two splitters to simplify compound compares
5135 that simplify_comparison can't handle.
5137 2001-10-10 Richard Henderson <rth@redhat.com>
5139 * langhooks.c: Include langhooks.h.
5140 * Makefile.in (langhooks.o): Depend on it.
5142 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
5144 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
5145 should not be considered as a no-op.
5146 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
5148 2001-10-10 Stan Shebs <shebs@apple.com>
5150 * alias.c: Remove uses of "register" specifier in declarations
5151 of arguments and local variables.
5152 * c-common.c: Ditto.
5153 * c-convert.c: Ditto.
5155 * c-format.c: Ditto.
5156 * c-semantics.c: Ditto.
5157 * c-typeck.c: Ditto.
5158 * caller-save.c: Ditto.
5161 * cfgbuild.c: Ditto.
5163 * collect2.c: Ditto.
5167 * cppfiles.c: Ditto.
5170 * defaults.h: Ditto.
5172 * dwarf2out.c: Ditto.
5173 * dwarfout.c: Ditto.
5174 * emit-rtl.c: Ditto.
5179 * fix-header.c: Ditto.
5180 * floatlib.c: Ditto.
5182 * fold-const.c: Ditto.
5183 * function.c: Ditto.
5186 * gen-protos.c: Ditto.
5187 * genattrtab.c: Ditto.
5188 * gencheck.c: Ditto.
5189 * genconfig.c: Ditto.
5191 * genextract.c: Ditto.
5192 * genflags.c: Ditto.
5193 * gengenrtl.c: Ditto.
5194 * genoutput.c: Ditto.
5196 * genrecog.c: Ditto.
5197 * gensupport.c: Ditto.
5201 * haifa-sched.c: Ditto.
5202 * hard-reg-set.h: Ditto.
5204 * integrate.c: Ditto.
5207 * local-alloc.c: Ditto.
5209 * mips-tdump.c: Ditto.
5210 * mips-tfile.c: Ditto.
5213 * print-rtl.c: Ditto.
5214 * read-rtl.c: Ditto.
5217 * reg-stack.c: Ditto.
5218 * regclass.c: Ditto.
5223 * resource.c: Ditto.
5227 * sched-deps.c: Ditto.
5228 * sched-rgn.c: Ditto.
5230 * simplify-rtx.c: Ditto.
5232 * stor-layout.c: Ditto.
5239 * xcoffout.c: Ditto.
5241 2001-10-10 Richard Henderson <rth@redhat.com>
5243 * rtl.h (can_reverse_comparison_p): Remove.
5245 2001-10-10 Christopher Faylor <cgf@redhat.com>
5247 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
5250 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5252 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
5253 (Thanks to Chris Faylor for suggesting macro name).
5254 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
5256 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
5257 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
5258 (MATH_LIBRARY): Undef before definition.
5259 (OUTPUT_QUOTED_STRING): Likewise.
5260 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
5262 2001-10-10 Richard Henderson <rth@redhat.com>
5264 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
5265 (fde_unencoded_compare): Likewise. Don't use subtraction to get
5266 a tristate comparison value.
5267 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
5269 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5272 * unroll.c (loop_iterations): Ignore insns generated by loop
5275 * config.gcc (mips*-*-gnu*): Delete support.
5276 * config/mips/gnu.h: Remove.
5278 2001-10-10 Kazu Hirata <kazu@hxi.com>
5280 * calls.c: Fix formatting.
5281 * c-decl.c: Likewise.
5282 * cfgcleanup.c: Likewise.
5283 * combine.c: Likewise.
5284 * cppfiles.c: Likewise.
5285 * cpplib.c: Likewise.
5286 * cppmacro.c: Likewise.
5287 * crtstuff.c: Likewise.
5289 * dwarf2out.c: Likewise.
5290 * expmed.c: Likewise.
5292 * fold-const.c: Likewise.
5293 * function.c: Likewise.
5295 * genattrtab.c: Likewise.
5296 * ggc-page.c: Likewise.
5297 * integrate.c: Likewise.
5298 * libgcc2.c: Likewise.
5300 * optabs.c: Likewise.
5301 * profile.c: Likewise.
5302 * protoize.c: Likewise.
5304 * recog.c: Likewise.
5305 * reload1.c: Likewise.
5306 * reload.c: Likewise.
5307 * reorg.c: Likewise.
5308 * resource.c: Likewise.
5309 * sched-rgn.c: Likewise.
5310 * sdbout.c: Likewise.
5312 * toplev.c: Likewise.
5313 * varasm.c: Likewise.
5315 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
5317 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
5318 * Makefile.in (langhooks.o): Add dependencies.
5320 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
5322 * rs6000.c (rs6000_emit_load_toc_table): Don't
5323 strdup the toc label.
5324 (create_TOC_reference): Likewise.
5326 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5328 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
5331 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5333 * config/i386/i386.c (ix86_attribute_table): Correct
5334 min_len, max_len fields for dllimport, dllexport and shared.
5336 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
5338 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
5339 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
5340 Consistently use "nonzero" instead of "non-zero".
5342 2001-10-09 Kazu Hirata <kazu@hxi.com>
5344 * acconfig.h: Fix comment formatting.
5345 * c-dump.h: Likewise.
5346 * c-tree.h: Likewise.
5347 * conditions.h: Likewise.
5349 * function.h: Likewise.
5351 * hwint.h: Likewise.
5352 * integrate.h: Likewise.
5355 * optabs.h: Likewise.
5357 2001-10-09 Kazu Hirata <kazu@hxi.com>
5359 * c-common.h: Fix comment formatting.
5360 * c-dump.c: Likewise.
5362 * diagnostic.h: Likewise.
5363 * except.c: Likewise.
5365 * gcov-io.h: Likewise.
5366 * genattrtab.c: Likewise.
5367 * output.h: Likewise.
5368 * predict.h: Likewise.
5369 * reload1.c: Likewise.
5370 * reload.h: Likewise.
5371 * resource.h: Likewise.
5373 * system.h: Likewise.
5375 * tree-inline.c: Likewise.
5376 * tsystem.h: Likewise.
5377 * varasm.c: Likewise.
5378 * xcoffout.h: Likewise.
5380 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
5382 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
5384 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
5386 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
5387 config/i386/i386elf.h, config/i386/netbsd-elf.h,
5388 config/i386/netware.h, config/mcore/gfloat.h,
5389 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
5390 config/netware.h, gccbug.in: Update FSF address.
5392 2001-10-09 Kazu Hirata <kazu@hxi.com>
5394 * c-common.c: Fix comment typos.
5395 * cfgrtl.c: Likewise.
5396 * collect2.c: Likewise.
5397 * cpplex.c: Likewise.
5398 * doloop.c: Likewise.
5399 * dwarf2out.c: Likewise.
5400 * dwarfout.c: Likewise.
5402 * fold-const.c: Likewise.
5406 * global.c: Likewise.
5407 * ifcvt.c: Likewise.
5409 * optabs.c: Likewise.
5410 * protoize.c: Likewise.
5411 * regclass.c: Likewise.
5412 * reorg.c: Likewise.
5416 * doc/cpp.texi: Likewise.
5417 * doc/c-tree.texi: Likewise.
5418 * doc/extend.texi: Likewise.
5419 * doc/invoke.texi: Likewise.
5420 * doc/objc.texi: Likewise.
5421 * doc/tm.texi: Likewise.
5423 2001-10-08 Richard Henderson <rth@redhat.com>
5425 * varasm.c (set_named_section_flags): Initialize "declared".
5427 2001-10-08 Robert Lipe <robertlipe@usa.net>
5429 * varasm.c (struct in_named_entry): Add declared.
5430 (named_section_first_declaration): New function.
5431 (default_elf_asm_named_section): Use it.
5432 * output.h (named_section_first_declaration): New.
5434 2001-10-08 Richard Henderson <rth@redhat.com>
5436 * i386.md (movsi_xor): Export.
5437 (setcc peep2): Use it when available; add an alternative to
5438 match zero_extendhisi2_and.
5440 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5442 * romp-protos.h (romp_initialize_trampoline): New function.
5443 * romp.c (romp_initialize_trampoline): Likewise.
5444 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
5445 romp_initialize_trampoline.
5447 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5449 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
5450 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5451 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5452 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5454 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5456 * unroll.c (loop_iterations): Extend check for multiple back edges.
5458 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
5460 * langhooks.h: New file.
5461 * Makefile.in (OBJS): Added langhooks.o.
5462 (c-lang.o): Depend on langhooks.h.
5463 (c-common.o): Don't depend on tree-inline.h.
5464 (tree-inline.o): Depend on toplev.h.
5465 (langhooks.o): New rule.
5466 * c-common.c: Don't include tree-inline.h.
5467 (c_mark_lang_decl): Mark argument c as unused.
5468 (c_common_lang_init): Don't initialize hooks here.
5469 * c-lang.c: Include langhooks.h, then override some macros.
5470 (lang_hooks): Initialize with macros in langhooks.h.
5471 (c_init): Don't initialize hooks here.
5472 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
5473 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
5474 * tree-inline.c: Include toplev.h. Don't define hook variables.
5475 * tree-inline.h: Don't define hook types nor declare hook
5476 variables. Move macros to...
5477 * langhooks.c: ... new file, as functions. Adjust all callers.
5479 2001-10-08 Jeffrey A Law <law@cygnus.com>
5481 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
5482 purge_mem_unchanging_flag on all instructions, not just on those
5483 before NOTE_INSN_FUNCTION_BEG.
5485 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5487 * cppmacro.c (_cpp_create_definition): Leave comments off.
5489 * doc/cpp.texi: Update.
5491 2001-10-08 DJ Delorie <dj@redhat.com>
5493 * c-decl.c (grokfield): Make sure the only unnamed fields
5494 we're allowing are either structs or unions.
5495 * doc/extend.texi: Add documentation for the unnamed field
5498 2001-10-08 Zack Weinberg <zack@codesourcery.com>
5500 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
5501 * configure.in: Use it.
5502 * configure: Regenerated.
5503 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
5504 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
5506 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5508 * cppfiles.c (open_file): Don't mark zero-length files
5509 never-reread here. Don't output diagnostics here either.
5510 (stack_include_file): Mark them never-reread here.
5511 (_cpp_read_file): Update.
5513 2001-10-08 Richard Henderson <rth@redhat.com>
5515 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
5517 2001-10-08 Richard Henderson <rth@redhat.com>
5519 * expr.c (store_expr): When converting a CONST_INT for storage
5520 in a SUBREG, convert it to both SUBREG modes before stripping
5523 2001-10-08 Richard Henderson <rth@redhat.com>
5525 * varasm.c (restore_varasm_status): New.
5526 * function.h: Declare it.
5527 * function.c (pop_function_context_from): Call it.
5529 2001-10-08 Richard Henderson <rth@redhat.com>
5531 * c-common.h (struct c_lang_decl): Add declared_inline.
5532 * c-tree.h (DECL_DECLARED_INLINE_P): New.
5533 * c-lang.c (c_disregard_inline_limits): Use it.
5534 * c-decl.c (duplicate_decls): Likewise.
5535 (pushdecl, redeclaration_error_message): Likewise.
5536 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
5537 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
5538 Set DECL_INLINE if -finline-functions.
5539 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
5541 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5543 * cppmacro.c (funlike_invocation_p): Move some logic to caller
5544 in enter_macro_context. Create a padding token in its own context
5545 if necessary when the search for '(' fails.
5546 (enter_macro_context): Update.
5548 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5550 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
5551 genmultilib, toplev.c: Fix spelling errors of "separate" as
5552 "seperate", and corresponding spelling errors of related words.
5554 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5556 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
5557 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
5559 * c-dump.c (dump_option_value_info): Likewise.
5560 * c-format.c (format_length_info, format_char_info,
5561 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
5562 * collect2.c (names): Likewise.
5563 * cppdefault.h (default_include): Likewise.
5564 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
5565 * flow.c (life_analysis): Likewise.
5566 * gcc.c (dir_separator_str, modify_target, option_map,
5567 target_option_translations, spec_list_1, extra_specs_1,
5568 init_spec): Likewise.
5569 * gcov.c (gcov_version_string): Likewise.
5570 * genattr.c (write_units): Likewise.
5571 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
5572 * gengenrtl.c (rtx_definition, defs): Likewise.
5573 * genrecog.c (pred_table): Likewise.
5574 * global.c (global_alloc): Likewise.
5575 * lcm.c (optimize_mode_switching): Likewise.
5576 * local-alloc.c (find_free_reg): Likewise.
5577 * params.h (param_info): Likewise.
5578 * predict.c (predictor_info): Likewise.
5579 * protoize.c (unexpansion_struct): Likewise.
5580 * real.c (bmask): Likewise.
5581 * recog.h (insn_operand_data, insn_data): Likewise.
5582 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
5583 * stmt.c (expand_nl_goto_receiver): Likewise.
5584 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
5585 target_switches, target_options): Likewise.
5586 * tradcif.y (token, tokentab2, yylex): Likewise.
5587 * tree.h (attribute_spec): Likewise.
5589 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
5591 * arc.c (arc_output_function_epilogue): Likewise.
5592 * arm.c (processors, all_cores, all_architectures,
5593 arm_override_options, isr_attribute_arg, isr_attribute_args,
5594 arm_isr_value): Likewise.
5595 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
5597 * c4x.c (c4x_int_reglist): Likewise.
5598 * d30v.c (override_options): Likewise.
5599 * h8300.c (shift_insn): Likewise.
5600 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
5601 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
5602 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
5603 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
5604 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
5605 * i386.h (processor_costs, ix86_cost): Likewise.
5606 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
5607 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
5608 * m68k.c (codes_68881, codes_FPA): Likewise.
5609 * m88k.c (mode_from_align, max_from_align, all_from_align,
5610 best_from_align, m_options): Likewise.
5611 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
5612 * mcore.c (mode_from_align): Likewise.
5613 * mips/elf64.h (UNIQUE_SECTION): Likewise.
5614 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
5615 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
5616 * mips.h (mips_regno_to_class): Likewise.
5617 * ns32k.c (scales): Likewise.
5618 * pa.c (import_string, magic_milli): Likewise.
5619 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
5620 * sparc.c (leaf_reg_remap, sparc_override_options,
5621 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
5623 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
5625 2001-10-07 Dale Johannesen <dalej@apple.com>
5627 * reload1.c (reload_reg_free_p): Teach register interference
5628 checking that multiple output reloads are emitted in
5630 reload1.c (reload_reg_reaches_end_p): Ditto.
5631 reload1.c (reloads_conflict): Ditto.
5633 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5635 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
5636 NULL_TREE inside @code.
5638 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5640 * doc/gcc.texi: Document consistent style of "32-bit",
5641 "Objective-C", and "@code{NULL}".
5643 2001-10-06 Zack Weinberg <zack@codesourcery.com>
5645 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
5646 (cpp_token_len, cpp_spell_token, cpp_output_token,
5647 _cpp_equiv_tokens): Handle it.
5648 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
5649 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
5650 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
5653 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5655 * gcc.c (default_compilers): Remove .ada.
5657 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
5659 * doc/cppinternals.texi: Update.
5661 2001-10-06 Zack Weinberg <zack@codesourcery.com>
5663 * gcc.c (main): Set this_file_error if the appropriate
5664 compiler for a language has not been installed.
5666 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
5668 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
5670 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
5672 * gccbug.in (CATEGORIES): Add ada.
5674 2001-10-05 Catherine Moore <clm@redhat.com>
5676 * config/stormy16/stormy-abi: Document abi changes.
5677 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
5678 (ICALL_REGS): New register class.
5679 (NUM_ARGUMENT_REGISTERS): Now 6.
5680 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
5682 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
5683 * config/stormy16.md (call_internal, call_value_internal,
5684 indirect_jump): Use new 'z' constraint.
5686 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
5688 * doc/cppinternals.texi: Update.
5690 2001-10-05 Richard Henderson <rth@redhat.com>
5692 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
5693 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
5694 the gas section-name-as-label feature.
5696 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
5698 * doc/cppinternals.texi: Update.
5700 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5702 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
5703 to ensure valid SImode constants.
5705 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
5707 * Makefile.in (c-decl.o): Depend on tree-inline.h.
5708 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
5709 * c-decl.c: Include tree-inline.h.
5710 (c_expand_body): Call optimize_inline_calls. Determine whether
5711 a function is inlinable upfront, and only clear
5712 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
5713 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
5714 (c_disregard_inline_limits): New function.
5715 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
5716 (c_post_options): Enable tree inlining if inlining is enabled.
5717 Don't inline trees when instrumenting functions.
5718 (c_init): Initialize lang_disregard_inline_limits and
5719 lang_cannot_inline_tree_fn.
5720 * tree-inline.c (initialize_inlined_parameters): Handle calls
5721 with fewer arguments than declared parameters, and fewer
5722 parameters than passed arguments. Don't assume value is a
5724 (declare_return_variable): Convert return value back to the
5725 original type, if it was promoted.
5726 (tree_inlinable_function_p): New function.
5727 (inlinable_function_p): Don't look at DECL_INLINE if we're
5728 inlining all functions. Make it work with a NULL id.
5729 Re-check DECL_UNINLINABLE after language-specific checks.
5730 * tree-inline.h (tree_inlinable_function_p): Declare it.
5731 * integrate.c (save_for_inline): Don't bother to prepare argvec
5733 * cse.c (check_for_label_ref): Don't check deleted labels.
5735 * Makefile.in (tree-inline.o): Depend on newly-included headers.
5736 * tree-inline.c: Include headers needed for the functions moved in.
5737 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
5738 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
5739 (copy_body, initialize_inlined_parameters): Likewise.
5740 (declare_return_variable, inlinable_function_p): Likewise.
5741 (expand_call_inline, expand_calls_inline): Likewise.
5742 (optimize_inline_calls, clone_body): Likewise.
5743 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
5744 (copy_tree_r, remap_save_expr): Likewise.
5746 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
5748 * Makefile.in (OBJS): Added tree-inline.o.
5749 (c-common.o): Depend on tree-inline.h.
5750 (tree-inline.o): New target.
5751 * c-common.c: Include tree-inline.h.
5752 (c_mark_lang_decl): Don't mark saved_tree.
5753 (c_common_lang_init): Set lang_anon_aggr_type_p.
5754 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
5755 (struct c_lang_decl): Moved saved_tree to tree_decl.
5756 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
5757 * integrate.h (function_attribute_inlinable_p): Declare it.
5758 * integrate.c (function_attribute_inlinable_p): Export it.
5759 * tree-inline.c: New file. Define variables declared in...
5760 * tree-inline.h: New file. Declare functions to be moved to
5761 tree-inline.c. Define macros and declare types and hooks for
5762 language-specific tree inlining.
5763 (flag_inline_trees): Moved definition from cp/decl2.c.
5764 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
5765 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
5766 (struct tree_decl): Moved saved_tree from c_lang_decl and
5767 inlined_fns from C++'s lang_decl.
5769 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
5771 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
5772 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
5774 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
5776 * doc/cppinternals.texi: Update.
5778 2001-10-04 Eric Christopher <echristo@redhat.com>
5780 * config/mips/mips.c (init_cumulative_args): Remember to set
5782 * config.gcc: Redo linux configuration. Add target_cpu_default
5783 of soft-float to all mipsisa32 combinations and tx39.
5784 * config/mips/linux.h: Remove include of mips.h.
5786 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
5788 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
5789 HOST_LDFLAGS and HOST_CPPFLAGS.
5791 2001-10-03 Ziemowit Laski <zlaski@apple.com>
5793 * c-parse.in (objc_inherit_code, objc_pq_context,
5794 objc_public_flag): Make static.
5795 (objc_interface_context, objc_implementation_context,
5796 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
5797 global tree array in objc/objc-act.[ch].
5798 (methoddef): Remove unnecessary code.
5800 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
5801 Hoist struct definitions to objc-act.h.
5802 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
5803 cat_count): Place declaration in objc-act.h.
5804 (objc_tree_index): Move enumeration to objc-act.h.
5805 (objc_global_trees): Place declaration and macro accessors in
5807 (implementation_context): Remove duplicate; use
5808 objc_implementation_context instead:
5809 (method_context): Remove duplicate; use objc_method_context
5811 (objc_ellipsis_node, objc_method_prototype_template,
5812 implemented_classes, function_type): Move global vars to
5814 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
5815 (build_message_expr): Move actual construction of ObjC message
5816 send nodes to finish_message_expr.
5817 (finish_message_expr): New routine, contains code formerly in
5819 * objc/objc-act.h (finish_message_expr): New prototype.
5820 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
5821 declarations; these vars are now part of objc_global_trees.
5822 (objc_tree_index, objc_global_trees): Move definitions from
5824 * objc/objc-tree.def: Update copyright info.
5826 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
5828 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
5830 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
5831 only if TARGET_ARCH64.
5833 2001-10-02 Bernd Schmidt <bernds@redhat.com>
5835 * doc/extend.texi: Fix some problems with previous checkin.
5836 * doc/invoke.texi: Likewise.
5838 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
5840 * cpphash.h: Update comments.
5841 (cpp_context): Update.
5842 (spec_nodes): Remove n__Pragma.
5843 * cppinit.c (cpp_create_reader): Update.
5844 (builtin_array): Add _Pragma.
5845 * cpplib.h: Update comments.
5846 (NODE_DISABLED, BT_PRAGMA): New.
5847 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
5848 * cppmacro.c (struct cpp_macro): Remove disabled.
5849 (builtin_macro): Return int, handle _Pragma, push the new token
5850 on the context stack.
5851 (funlike_invocation_p): Unconstify, update.
5852 (enter_macro_context): Handle builtins here.
5853 (replace_args, push_token_context, push_ptoken_context):
5854 Update for prototype changes.
5855 (_cpp_pop_context): Update.
5856 (cpp_get_token): Don't handle buitins, nor _Pragma here.
5857 (cpp_sys_macro_p): Update.
5858 (_cpp_free_definition): Clear disabled flag.
5859 (_cpp_create_definition): Upate.
5860 * cppmain.c: Update comments.
5862 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
5863 Andreas Jaeger <aj@suse.de>,
5864 Jan Hubicka <jh@suse.cz>
5866 * doc/invoke.texi (i386 Options): Document x86-64 options.
5867 (i386 and x86-64 Options): Rename i386 options section.
5869 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
5870 (TARGET_SWITCHES): Add -munwind-info.
5871 (MASK_NO_UNWIND_INFO): New.
5872 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
5874 (ASM_OUTPUT_DOUBLE_INT): New.
5876 * config/i386/linux64.h: New spec file for Linux x86-64 support.
5877 * config.gcc: Fix tm_file settings for x86-64.
5878 * config/i386/x86-64.h: New file with OS independent x86-64
5880 * config/i386/biarch64.h: New file used to configure compiler
5881 to biarch/64bit compilation.
5883 * config/i386/i386.c: (override_options): Set flags default
5884 for 64bit compilation.
5886 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
5888 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
5889 (ix86_expand_int_movcc): Optimize DImode conditional moves with
5890 constants on x86_64.
5891 (ix86_attr_length_immediate_default): Support MODE_DI.
5892 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
5894 (indirect_jump, tablejump): Turn into expander.
5896 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5898 * c-common.c (c_format_attribute_table): Make format and
5899 format_arg attributes apply to function types rather than to
5901 (is_valid_printf_arglist): Construct an attribute list and pass
5902 that to check_function_format rather than a name.
5903 * c-common.h (check_function_format): Adjust prototype.
5904 * c-decl.c (duplicate_decls): Preserve attributes from type of
5905 built-in decl when allowing for harmless conflict in types.
5906 * c-format.c (record_function_format,
5907 record_international_format, function_format_list,
5908 international_format_info, international_format_list): Remove.
5909 (function_format_info): Remove next, name and assembler_name.
5910 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
5911 (decode_format_attr): New.
5912 (handle_format_attribute): Handle receiving a type rather than a
5913 decl. Call decode_format_attr. Store format information in a
5914 function_format_info.
5915 (handle_format_arg_attribute): Correct comment. Handle receiving
5916 a type rather than a decl. Use unsigned HOST_WIDE_INT for
5918 (check_format_info_recurse, check_format_info_main): Take argument
5919 numbers as unsigned HOST_WIDE_INT.
5920 (check_function_format): Take a list of attributes from the
5921 function type rather than a name or assembler name. Check for
5922 format attributes in that list and the attributes on the type of
5923 the current function rather than looking through
5924 function_format_list.
5925 (check_format_info): Use unsigned HOST_WIDE_INT for argument
5927 (check_format_info_recurse): Take format_arg attributes from the
5928 type of the function calls rather than using
5929 international_format_list. Allow for multiple format_arg
5931 * c-typeck.c (build_function_call): Pass type attributes to
5932 check_function_format rather than name or assembler name. Don't
5933 require there to be a name or assembler name to check formats.
5935 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5937 * attribs.c (decl_attributes): Possibly call
5938 insert_default_attributes to insert default attributes on
5939 functions in a lazy manner.
5940 * builtin-attrs.def: New file; define the default format and
5941 format_arg attributes.
5942 * c-common.c (c_format_attribute_table): Move to earlier in the
5944 (c_common_nodes_and_builtins): Initialize format_attribute_table.
5945 (enum built_in_attribute, built_in_attributes,
5946 c_attrs_initialized, c_init_attributes,
5947 c_common_insert_default_attributes): New.
5948 (c_common_lang_init): Don't initialize format_attribute_table. Do
5949 call c_init_attributes.
5950 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
5951 * c-common.h (init_function_format_info): Don't declare.
5952 (c_common_insert_default_attributes): Declare.
5953 * c-decl.c (implicitly_declare, builtin_function): Call
5955 (init_decl_processing): Don't call init_function_format_info.
5956 (insert_default_attributes): New.
5957 * c-format.c (handle_format_attribute,
5958 handle_format_arg_attribute): Be quiet about inappropriate
5959 declaration when applying default attributes.
5960 (init_function_format_info): Remove.
5961 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
5962 (insert_default_attributes): Declare.
5964 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5966 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
5968 2001-10-01 Jim Wilson <wilson@redhat.com>
5970 * sched-deps.c (add_dependence): When elide conditional dependence,
5971 check that insn doesn't modify cond2.
5973 2001-10-01 Dale Johannesen <dalej@apple.com>
5975 * config/rs6000/rs6000.h (enum processor_type): Add support
5976 for 7400 (G4) and 7450.
5978 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
5979 (rs6000_issue_rate): Ditto.
5980 (rs6000_adjust_cost): Fix cycle counts for compares.
5981 (debug_stack_info): Fix an obvious typo.
5982 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
5983 * doc/invoke.texi: Document.
5984 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
5986 (PROCESSOR_DEFAULT): Ditto.
5988 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
5990 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
5991 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
5992 later recursive make invocation.
5994 2001-10-01 Hans Boehm <boehm@acm.org>
5996 * optabs.c (emit_libcall_block): When using non-call exceptions,
5997 don't add REG_LIBCALL reg notes to trapping calls.
5999 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
6001 * flow.c (propagate_block_delete_libcall): Remove unused first arg
6002 (propagate_one_insn): Update for above change
6004 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
6006 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
6007 _Unwind_GetTextRelBase): Argument is unused.
6009 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6011 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
6012 Loop through NOPs, placeholders, and components.
6013 Don't go through NOPs if change mode.
6014 (record_alias_subset): Do nothing if SUBSET and SET are the same.
6015 * emit-rtl.c (set_mem_alias_set): Enable check.
6016 * expr.c (find_placeholder): New function.
6017 (expand_expr, case PLACEHOLDER_EXPR): Use it.
6018 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
6019 to modify it and avoid unneeded copies.
6020 * expr.h (expand_expr): Always define.
6021 (find_placeholder): New declaration.
6023 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6025 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
6026 operand 2 is the stack pointer.
6027 ("addr-peephole"): Fix address computation peephole when operand 2
6028 is the stack pointer.
6030 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6032 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
6033 (ix86_setup_incoming_varargs): Likewise.
6035 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
6037 * stor-layout.c (layout_type): Don't complain about too-large
6040 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6042 * function.c (keep_stack_depressed): Don't use delete_insn.
6044 * expr.h (set_mem_alias_set): Move decl to here.
6045 * rtl.h (mem_attrs): New typedef and struct.
6046 (union rtunion_def): Add field for mem_attrs.
6047 (X0MEMATTR, MEM_ATTRS): New macros.
6048 (MEM_ALIAS_SET): Use MEM_ATTRS.
6049 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
6050 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
6051 (set_mem_alias_set): Delete decl from here.
6053 * alias.c (set_mem_alias_set): Delete from here.
6054 * emit-rtl.c (mem_attrs_htab): New variable.
6055 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
6056 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
6057 (mem_attrs_mark, get_mem_attrs): Likewise.
6058 (gen_rtx_MEM): Clear MEM_ATTRS.
6059 (set_mem_attributes): Move to here.
6060 (set_mem_alias_set): Likewise, and call get_mem_attrs.
6061 (init_emit_once): const_int_htab now deletable htab.
6062 Initialize mem_attrs_htab.
6063 * explow.c (set_mem_attributes): Delete from here.
6064 * function.c (put_var_into_stack): Clear MEM_ATTRS.
6065 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
6066 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
6067 * reload1.c (reload): Rework changing REG to MEM.
6069 2001-09-30 H.J. Lu <hjl@gnu.org>
6071 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
6072 * config.in: Rebuild.
6074 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6076 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
6077 ("tsthi_1"): Avoid allocation in register y.
6078 ("*movqi_68hc12"): Reorganize and fix constraints.
6079 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
6080 ("addqi3"): Likewise.
6081 ("addhi3"): Fix constraints.
6082 ("*logicalhi3_zexthi"): Disparage soft registers.
6084 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6086 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
6089 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6091 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
6092 that we use setjmp/longjmp exceptions.
6094 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
6096 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
6097 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
6098 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
6099 _cpp_pool_alloc, _cpp_next_chunk): Remove.
6100 (_cpp_extend_buff, BUFF_ROOM): Update.
6101 (_cpp_append_extend_buff): New.
6102 (struct cpp_reader): Remove macro_pool, add a_buff.
6103 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
6105 (cpp_destroy): Free a_buff instead of macro_pool.
6106 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
6107 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
6108 _cpp_pool_alloc, ): Remove.
6109 (parse_number, parse_string): Update use of _cpp_extend_buff.
6110 (_cpp_extend_buff): Update.
6111 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
6112 * cpplib.c (glue_header_name, parse_answer):
6113 Update use of _cpp_extend_buff.
6114 (cpp_register_pragma, cpp_register_pragma_space): Use
6116 (do_assert, do_unassert): Check for EOL, update.
6117 * cppmacro.c (stringify_arg, collect_args): Update to use
6118 _cpp_extend_buff and _cpp_append_extend_buff.
6119 (save_parameter, parse_params, alloc_expansion_token,
6120 _cpp_create_definition): Rework memory management.
6122 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
6124 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
6125 update md_exec_prefix.
6126 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
6129 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
6131 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
6132 (SELECT_CC_MODE): Use s390_select_ccmode.
6133 * config/s390/s390-protos.h (s390_select_ccmode): Add.
6134 * config/s390/s390.c (s390_select_ccmode): New.
6135 (s390_match_ccmode): Add CCLmode.
6136 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
6137 (output_branch_condition, output_inverse_branch_condition): Removed.
6138 (print_operand): Use s390_branch_condition_mnemonic.
6139 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
6140 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
6141 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
6143 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
6144 when converting conditional branches to far branches.
6145 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
6146 cmpint_di): Use CCSmode instead of CCUmode.
6148 * config/s390/s390.c (legitimate_la_operand_p): New.
6149 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
6150 * config/s390/s390.md (movsi): Convert load address patterns to
6151 arithmetic operations when necessary.
6152 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
6153 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
6154 (*do_la_reg_0): Don't use before reload.
6156 * config/s390/s390.c (legitimize_address): Make more efficient
6157 use of two-register addressing mode.
6159 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
6160 with -mno-backchain in some corner cases.
6162 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
6164 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
6166 * reload.c (find_reloads): Mark new USE insns with QImode.
6167 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
6168 find_reloads_subreg_address): Likewise.
6169 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
6171 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
6173 (reload): Make sure there are no USEs with mode other than
6174 VOIDmode. At the end, remove those marked with QImode.
6176 2001-09-29 Per Bothner <per@bothner.com>
6178 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
6179 * Makefile.in (includedir): Rename to local_includedir.
6180 (includedir): Define as $(prefix)/include.
6181 * config.in (PREFIX_INCLUDE_DIR): New variable.
6182 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
6184 2001-09-29 Bernd Schmidt <bernds@redhat.com>
6186 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
6188 * doc/extend.texi (Vector Extensions): New node.
6189 * doc/invoke.texi (Machine Dependent Options): Add documentation for
6190 i386 -mmmx, -msse, -m3dnow.
6192 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
6194 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
6196 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
6198 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
6200 * doc/invoke.texi (Optimize Options): Delete spurious @table.
6202 2001-09-28 Richard Henderson <rth@redhat.com>
6204 * varasm.c (assemble_integer): Bound alignment check by
6207 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
6209 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6211 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
6213 2001-09-25 Bernd Schmidt <bernds@redhat.com>
6215 Mostly from Graham Stott <grahams@redhat.com>
6216 * c-common.c (type_for_mode): Add support for V2SFmode.
6217 * tree.c (build_common_tree_nodes_2): Likewise.
6218 * tree.h (enum tree_index, global_trees): Likewise.
6219 * config/i386/i386.c (x86_3dnow_a): New variable.
6220 (override_options): Support 3Dnow extensions.
6221 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
6222 Athlon's version of 3Dnow.
6223 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
6224 (ix86_expand_builtin): Handle them.
6225 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
6226 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
6227 TARGET_3DNOW_A): New macros.
6228 (TARGET_SWITCHES): Add 3Dnow switches.
6229 (VALID_MMX_REG_MODE_3DNOW): New macro.
6230 (VECTOR_MODE_SUPPORTED_P): Use it.
6231 (enum ix86_builtins): Add entries for 3Dnow builtins.
6232 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
6233 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
6234 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
6235 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
6236 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
6237 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
6238 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
6239 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
6240 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
6241 sfence_insn, prefetch): Make these available if TARGET_SSE or
6244 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
6246 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
6247 ix86_va_start, ix86_build_va_list): Declare.
6248 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
6249 ix86_va_start, ix86_build_va_list): New global functions.
6250 * i386.md (sse_prologue_save_insn): New insn.
6251 (sse_prologue_save): New expander.
6252 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
6253 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
6255 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
6257 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
6258 Use size_t everywhere, make definitions consistent with
6261 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
6263 * gcse.c (replace_store_insn): Use delete_insn.
6264 * loop.c (move_movables): Likewise; avoid delete_insn
6265 from clobbering notes moved elsewhere.
6266 (check_dbra_loop): Use delete_insn.
6267 * ssa.c (convert_from_ssa): Likewise.
6268 * cse.c (cse_insn): Use delete_insn.
6270 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
6272 * cpphash.h (struct cpp_buff): Make unsigned.
6273 (_cpp_get_buff): Take length of size_t.
6274 (_cpp_unaligned_alloc): New.
6275 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
6276 (struct cpp_reader): Remove ident_pool. Add u_buff.
6277 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
6278 (cpp_destroy): Destroy u_buff, not ident_pool.
6279 * cpplex.c (parse_number, parse_string, save_comment,
6280 cpp_token_as_text): Update to use the unaligned buffer.
6281 (new_buff): Make unsigned.
6282 (_cpp_unaligned_alloc): New.
6283 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
6284 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
6286 (collect_args): Make unsigned.
6288 2001-09-27 Zack Weinberg <zack@codesourcery.com>
6290 * cpplex.c (cpp_output_token): Use a putc loop for
6291 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
6293 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
6294 * configure, config.in: Regenerate.
6295 * system.h: Replace fwrite and fprintf with their unlocked
6296 variants if available.
6298 2001-09-27 Richard Henderson <rth@redhat.com>
6300 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
6301 in favour of .eh_frame.
6303 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
6305 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
6307 (LIBCALL_VALUE): Likewise.
6309 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
6311 * cpphash.h: Update comment.
6312 * cpplex.c: Update comments.
6313 (_cpp_can_paste): Remove.
6314 * cpplib.h (_cpp_can_paste): Remove.
6315 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
6316 lexer rather than _cpp_can_paste.
6318 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
6320 * doc/cppinternals.texi: Update.
6322 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
6324 * cpphash.h (struct cpp_pool): Remove locks and locked.
6325 (struct cpp_context): Add member buff.
6326 (struct cpp_reader): Remove member argument_pool.
6327 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
6328 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
6329 * cpplex.c (chunk_suitable): Remove pool argument.
6330 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
6331 (new_buff, _cpp_extend_buff): Update.
6332 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
6333 which buffer is returned.
6334 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
6335 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
6336 * cppmacro.c (lock_pools, unlock_pools): Remove.
6337 (push_ptoken_context): Take a _cpp_buff.
6338 (enter_macro_context): Pool locking removed.
6339 (replace_args): Use a _cpp_buff for the replacement list with
6341 (push_token_context): Clear buff.
6342 (expand_arg): Use _cpp_pop_context.
6343 (_cpp_pop_context): Free a context's buffer, if any.
6345 2001-09-26 DJ Delorie <dj@redhat.com>
6347 * c-typeck.c (digest_init): Check for sizeless arrays.
6349 2001-09-26 Richard Henderson <rth@redhat.com>
6351 * optabs.c (init_one_libfunc): Create a dummy function type
6352 instead of using error_mark_node.
6354 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
6356 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
6357 _cpp_extend_buff, _cpp_free_buff): New.
6358 (struct cpp_reader): New member free_buffs.
6359 * cppinit.c (cpp_destroy): Free buffers.
6360 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
6361 _cpp_extend_buff, _cpp_free_buff): New.
6362 * cpplib.h (struct cpp_options): Remove unused member.
6363 * cppmacro.c (collect_args): New. Combines the old parse_arg
6364 and parse_args. Use _cpp_buff for memory allocation.
6365 (funlike_invocation_p, replace_args): Update.
6367 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
6369 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
6371 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
6373 * except.c (sjlj_mark_call_sites): Change address inside sequence.
6375 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
6377 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
6380 2001-09-25 Janis Johnson <janis187@us.ibm.com>
6381 Jim Wilson <wilson@redhat.com>
6383 * doc/install.texi (Specific, ia64-*-linux): Document.
6385 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
6387 * Makefile.in (cfgrtl.o): Add.
6388 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
6389 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
6390 free_aux_for_edge): Declare.
6392 (HAVE_return): Undefine.
6393 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
6394 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
6395 free_aux_for_edge): New global functions.
6396 (first_delete_block): New static variable.
6397 (init_flow): Clear first_delete_block.
6398 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
6399 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
6400 try_redirect_by_replacing_jump, last_loop_beg_note,
6401 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
6402 delete_insn, delete_insn_chain, create_basic_block_structure,
6403 create_basic_block, flow_delete_block, compute_bb_for_insn,
6404 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
6405 set_block_for_new_insns, split_block, merge_blocks_nomove,
6406 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
6407 redirect_edge_and_branch, force_nonfallthru_and_redirect,
6408 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
6409 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
6410 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
6411 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
6412 purge_all_dead_edges): Move to ....
6413 * cfgrtl.c: New file; .... Here.
6415 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
6416 (reroder_basic_block): Use alloc_aux_for_blocks.
6417 * predict.c (estimate_bb_frequencies): Likewise; use
6418 alloc_aux_for_edges.
6419 * profile.c (compute_branch_probabilities): Likewise.
6420 (branch_prob): Likewise.
6421 * reg-stack.c (reg_to_stack): Likewise.
6423 * emit-rtl.c (emit_insns_after): Never return NULL.
6425 * basic-block.h (set_block_for_new_insns): Delete.
6426 * cfgrtl.c (set_block_for_new_insns): Delete.
6428 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
6429 calls when crossjumping.
6431 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
6432 * unroll.c (copy_loop_body): Use delete_insn.
6434 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
6435 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
6436 keep_stack_depressed): Likewise.
6437 * gcse.c (cprop_cc0_jump): Likewise.
6438 * local-alloc.c (update_equiv_regs): Likewise.
6439 * loop.c (scan_loop, loop_delete_insns): Likewise.
6440 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
6441 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
6442 delete_output_reload, delete_address_reloads_1,
6443 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
6445 * sibcall.c (replace_call_placeholder): Likewise.
6446 * cse.c (cse_insn): Likewise.
6448 2001-09-25 Bernd Schmidt <bernds@redhat.com>
6450 From Graham Stott <grahams@redhat.com>
6451 (def_builtin): Only define builtins appropriate for target_flags. All
6453 (builtin_decsription): Add new field mask which is used to determine
6454 when to define the builtin via the macro def_builtin.
6456 (bdesc_comi): Initialise new mask fields.
6457 (bdesc_2srg): Likewise.
6458 (bdesc_1arg): Likewise.
6460 * config/i386/i386.c (ix86_init_builtins): Correct return type
6461 building v4hi_ftype_v4hi_int_int tree node.
6462 (ix86_expand_sse_comi): Fix typo swapping operands.
6463 Don't swap comparision condition, it is already swapped.
6464 (ix86_expand_sse_compare): Before swapping operands
6465 move operand 1 into new rtx and not the target rtx.
6466 Don't swap comparison condition, it is already swapped.
6467 Always check whether we need to create a new TARGET.
6469 * config/i386/i386.md: (sse_comi) Fix typos.
6470 (sse_ucomi): Likewise.
6471 (cvtss2si): Fix operand 0 contraint.
6472 (cvttss2si): Likewise.
6473 (sse_unpckhps): Fix mode for operand 2.
6474 (sse_unpcklps): Likewise.
6476 2001-09-25 Graham Stott <grahams@redhat.com>
6478 * sibcall.c (skip_copy_to_return_value): Tighten return value
6481 2001-09-24 David Edelsohn <edelsohn@gnu.org>
6483 * rs6000.c (lwa_operand): Address must be word aligned.
6485 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6487 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
6488 number has been set.
6489 (type_hash_mark): Mark type itself.
6491 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
6493 * c-lex.c (cb_def_pragma): Update.
6494 (c_lex): Update, and skip padding.
6495 * cppexp.c (lex, parse_defined): Update, remove unused variable.
6496 * cpphash.h (struct toklist): Delete.
6497 (union utoken): New.
6498 (struct cpp_context): Update.
6499 (struct cpp_reader): New members eof, avoid_paste.
6500 (_cpp_temp_token): New.
6501 * cppinit.c (cpp_create_reader): Update.
6502 * cpplex.c (_cpp_temp_token): New.
6503 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
6504 (cpp_output_token): Don't print leading whitespace.
6505 (cpp_output_line): Update.
6506 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
6507 do_include_common, do_line, do_ident, do_pragma,
6508 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
6509 parse_assertion): Update.
6510 (get_token_no_padding): New.
6511 * cpplib.h (CPP_PADDING): New.
6512 (AVOID_LPASTE): Delete.
6513 (struct cpp_token): New union member source.
6514 (cpp_get_token): Update.
6515 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
6516 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
6517 replace_args, quote_string, stringify_arg, parse_arg, next_context,
6518 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
6519 _cpp_backup_tokens, _cpp_create_definition): Update.
6520 (push_arg_context): Delete.
6521 (padding_token, push_token_context, push_ptoken_context): New.
6522 (make_string_token, make_number_token): Update, rename.
6523 (cpp_get_token): Update to handle tokens as pointers to const,
6524 and insert padding appropriately.
6525 * cppmain.c (struct printer): New member prev.
6526 (check_multiline_token): Constify.
6527 (do_preprocessing, cb_line_change): Update.
6528 (scan_translation_unit): Update to handle spacing.
6529 * scan-decls.c (get_a_token): New.
6530 (skip_to_closing_brace, scan_decls): Update.
6531 * fix-header.c (read_scan_file): Update.
6533 * doc/cpp.texi: Update.
6535 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6537 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
6538 leak by passing malloc'ed pointer to reconcat, not concat.
6540 2001-09-24 DJ Delorie <dj@redhat.com>
6542 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
6544 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
6546 * flow.c (delete_dead_jumptables): Delete jumptable if the only
6547 reference is from the literal pool.
6549 2001-09-24 Janis Johnson <janis187@us.ibm.com>
6551 * doc/install.texi (Final install): Request additional information
6552 in mail about successful builds.
6554 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6556 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
6557 initial value of return pointer register instead of value in frame-20.
6560 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6562 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
6563 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
6564 the libcall if there isn't a referenced identifier for the symbol.
6566 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6568 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
6569 non 64-bit machines. Use these as a plabel for the trampoline.
6570 (TRAMPOLINE_SIZE): Adjust size for new words.
6571 (INITIALIZE_TRAMPOLINE): Initialize new words.
6572 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
6573 pointer to the plabel in the trampoline.
6575 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6577 * pa.c (function_arg): Pass floating arguments in both general and
6578 floating registers in indirect (dynamic) calls when generating code
6579 for the 32 bit ABI and the HP assembler.
6581 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6583 * doc/install.texi: Markup fixes.
6584 Use Solaris 2, SunOS 4 as appropriate.
6585 (Specific, *-*-solaris2*): Explain this.
6586 Unconditionally warn against /usr/ucb tools.
6587 Remove Sun as warning, obsolete.
6588 Move X11 header bug workaround here, update patches.
6589 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
6590 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
6592 2001-09-23 Zack Weinberg <zack@codesourcery.com>
6594 * errors.h (warning, error, fatal, internal_error): Don't mark
6595 with ATTRIBUTE_PRINTF_n.
6596 * toplev.h (internal_error, fatal_io_error, warning, error,
6597 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
6598 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
6601 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6603 * function.c (pop_function_context_from): var_refs_queue
6604 and temp slots now in GC memory.
6605 (mark_function_status, free_after_compilation): Likewise;
6606 also struct function now in GC memory.
6607 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
6608 (combine_temp_slots): Likewise.
6609 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
6610 (prepare_function_start): Use GC memory for struct function.
6611 (mark_temp_slot): Deleted.
6612 (gcc_mark_struct_function): struct function now in GC memory.
6614 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
6615 code for division, not modulus.
6617 * rtl.def (MEM): Remove obsolete part of comment.
6619 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
6621 * c-format.c (init_function_format_info): Check __builtin_printf
6622 and __builtin_fprintf even if -ffreestanding. Check C99 functions
6625 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6627 * c-common.c (format_attribute_table): Remove decl.
6628 * tree.h (format_attribute_table, lang_attribute_table): New decls.
6629 (lang_attribute_common): Likewise.
6631 * function.c (fix_lexical_address): Use set_mem_alias_set.
6632 (expand_function_start): Likewise.
6633 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
6635 * varasm.c (output_constant): Fix unused variable warning.
6637 * attribs.c: New file, from c-common.c.
6638 (attribute_tables): Now four elements.
6639 (format_attribute_table, lang_attribute_common): New variables.
6640 (init_attributes): Reflect above changes.
6641 (handle_mode_attribute): Delete check for wider than uintmax.
6642 * c-common.c: Delete parts moved to attribs.c.
6643 (enum attrs): Deleted; unused.
6644 (c_format_attribute_table): New variable.
6645 (c_common_lang_init): Initialize format_attribute_table with it.
6646 * c-common.h (decl_attributes): Remove decl.
6647 * tree.h (decl_attribute): Move it to here.
6648 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
6649 (attribs.o): New rule.
6651 2001-09-22 Andreas Jaeger <aj@suse.de>
6653 * builtins.c (c_getstr): Remove unused variable.
6655 2001-09-21 Richard Henderson <rth@redhat.com>
6657 * reload1.c (reload): Use delete_insn instead of splatting
6660 2001-09-21 Richard Henderson <rth@redhat.com>
6662 * reload.c (push_secondary_reload): Don't check for "=" in output
6663 constraint after ""->ALL_REGS check.
6665 2001-09-21 Richard Henderson <rth@redhat.com>
6667 * predict.c (expected_value_to_br_prob): Use pc_set.
6669 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
6670 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
6672 2001-09-21 Richard Henderson <rth@redhat.com>
6674 * rtl.h (LCT_RETURNS_TWICE): New.
6675 * calls.c (emit_call_1): Set current_function_calls_setjmp for
6677 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
6678 to ECF_RETURNS_TWICE.
6679 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
6682 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
6684 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
6685 (JMP_BUF_SIZE): New.
6687 2001-09-21 Richard Henderson <rth@redhat.com>
6689 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
6692 2001-09-21 Richard Henderson <rth@redhat.com>
6694 * tree.def (FDESC_EXPR): New.
6695 * expr.c (expand_expr): Handle it.
6696 * varasm.c (initializer_constant_valid_p): Likewise.
6697 (output_constant): Likewise.
6698 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
6699 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
6700 (ASM_OUTPUT_FDESC): New.
6701 * doc/tm.texi: Document the new macros.
6703 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
6705 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
6706 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
6707 once merging is complete.
6709 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6711 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
6713 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
6715 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
6716 that would be invalid after a merge.
6718 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
6720 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
6721 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
6723 (flow_delete_insn): This one.
6724 (delete_insn_chain): Rename from ...; do not care labels.
6725 (flow_delete_insn_chain): ... this one.
6726 (flow_delete_block): Remove the insns one BB has been expunged.
6727 (merge_blocks_nomove): Likewise.
6728 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
6729 updating BB boundaries.
6730 (tidy_fallthru_edge): Likewise.
6731 (commit_one_edge_insertion): Likewise.
6732 * cfgbuild.c (find_basic_block): Likewise.
6733 (find_basic_blocks_1): Likewise.
6734 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
6735 (try_crossjump_to_edge): Likewise.
6736 (try_optimize_cfg): Likewise.
6737 * cse.c (delete_trivially_dead_insns): Likewise.
6738 * df.c (df_insn_delete): Likewise.
6739 * doloop.c (doloop_modify): Use delete_related_insns.
6740 * emit-rtl.c (try_split): Likewise.
6741 (remove_insn): Update BB boundaries.
6742 * expect.c (connect_post_landing_pads): Use delete_related_insns.
6743 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
6744 updating BB boundaries.
6745 (propagate_block_delete_insn): Likewise.
6746 (propagate_block_delete_libcall): Likewise.
6747 * function.c (delete_handlers): Use delete_related_insns.
6748 (thread_prologue_and_epilogue_insns): Likewise.
6749 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
6750 * genpeep.c (gen_peephole): Use delete_related_insns.
6751 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
6753 (find_cond_trap): Likewise.
6754 * integrate.c (save_for_inline): Use delete_related_insns.
6755 (copy_insn_list): Likewise.
6756 * jump.c (pruge_linie_number_notes): Likewise.
6757 (duplicate_loop_exit_test): Likewise.
6758 (delete_computation): Likewise.
6759 (delete_related_insn): Rename from ...; use delete_insn
6760 (delete_insn): ... this one.
6761 (redirect_jump): Use delete_related_insns.
6762 * loop.c (scan_loop): Likewise.
6763 (move_movables): Likewise.
6764 (find_and_verify_loops): Likewise.
6765 (check_dbra_loop): Likewise.
6766 * recog.c (peephole2_optimize): Likewise.
6767 * reg-stack.c (delete_insn_for_stacker): Remove.
6768 (move_for_stack_reg): Use delete_insn.
6769 * regmove.c (combine_stack_adjustments_for_block): Likewise.
6770 * reload1.c (delete_address_reloads): Use delete_related_insns.
6771 (fixup_abnormal_edges): Use delete_insn.
6772 * recog.c (emit_delay_sequence): Use delete_related_insns.
6773 (delete_from-delay_slot): Likewise.
6774 (delete_scheduled_jump): likewise.
6775 (optimize_skip): Likewise.
6776 (try_merge_delay_insns): Likewise.
6777 (full_simple_delay_slots): Likewise.
6778 (fill_slots_from_thread): Likewise.
6779 (relax_delay_slots): Likewise.
6780 (make_return_insns): Likewise.
6781 (dbr_schedule): Likewise.
6782 * rtl.h (delete_insn): Rename to delete_related_insns.
6783 (delete_insn, delete_insn_chain): New prototypes.
6784 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
6785 by df_insn_delete already.
6786 * ssa-dce.c (delete_insn_bb): Use delete_insn.
6787 * ssa.c (convert_from_ssa): Use delete_related_insns.
6788 * unroll.c (unroll_loop): Likewise.
6789 (calculate_giv_inc): Likewise.
6790 (copy_loop_body): Likewise.
6792 * i386-protos.h (ix86_libcall_value, ix86_function_value,
6793 ix86_function_arg_regno_p, ix86_function_arg_boundary,
6794 ix86_return_in_memory, ix86_function_value): Declare.
6795 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
6796 new static valurables.
6797 (x86_64_reg_class): New enum
6798 (x86_64_reg_class_name): New array.
6799 (classify_argument, examine_argument, construct_container,
6800 merge_classes): New static functions.
6801 (optimization_options): Enable flag_omit_frame_pointer and disable
6802 flag_pcc_struct_return on 64bit.
6803 (ix86_libcall_value, ix86_function_value,
6804 ix86_function_arg_regno_p, ix86_function_arg_boundary,
6805 ix86_return_in_memory, ix86_function_value): New global functions.
6806 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
6807 (function_arg_advance): Handle x86_64 passing conventions.
6808 (function_arg): Likewise.
6809 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
6810 (RETURN_IN_MEMORY): Move offline.
6811 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
6812 (FUNCTION_VALUE_REGNO_P): New macro.
6813 (FUNCTION_ARG_REGNO_P): Move offline.
6814 (struct ix86_args): Add maybe_vaarg.
6815 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
6816 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
6818 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
6820 * s390.md: Changed attributes for scheduling.
6821 * s390.c: (s390_adjust_cost, s390_adjust_priority)
6824 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
6826 Table-driven attributes.
6827 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
6828 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
6829 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
6830 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
6831 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
6832 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
6833 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
6834 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
6835 * tree.h (struct tree_decl): Change machine_attributes to
6837 * doc/c-tree.texi: Document that all attributes are now attached
6839 * c-common.c (add_attribute, attrtab, attrtab_idx,
6840 default_valid_lang_attribute, valid_lang_attribute): Remove.
6841 (attribute_tables, attributes_initialized,
6842 c_common_attribute_table, default_lang_attribute_table): New
6844 (handle_packed_attribute, handle_nocommon_attribute,
6845 handle_common_attribute, handle_noreturn_attribute,
6846 handle_unused_attribute, handle_const_attribute,
6847 handle_transparent_union_attribute, handle_constructor_attribute,
6848 handle_destructor_attribute, handle_mode_attribute,
6849 handle_section_attribute, handle_aligned_attribute,
6850 handle_weak_attribute, handle_alias_attribute,
6851 handle_no_instrument_function_attribute,
6852 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
6853 handle_no_limit_stack_attribute, handle_pure_attribute): New
6855 (init_attributes, decl_attributes): Rewrite to implement
6856 table-driven attributes.
6857 * c-common.h (enum attribute_flags): Move to tree.h.
6858 * c-format.c (decl_handle_format_attribute,
6859 decl_handle_format_arg_attribute): Rename to
6860 handle_format_attribute and handle_format_arg_attribute. Update
6861 for table-driven attributes.
6862 * c-common.h (decl_handle_format_attribute,
6863 decl_handle_format_arg_attribute): Remove prototypes.
6864 (handle_format_attribute, handle_format_arg_attribute): Add
6866 * c-decl.c (grokdeclarator): Handle attributes nested inside
6868 * c-parse.in (setattrs, maybe_setattrs): Remove.
6869 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
6870 Update to handle nested attributes properly.
6871 (maybe_resetattrs, after_type_declarator,
6872 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
6873 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
6875 (make_pointer_declarator): Update to handle nested attributes
6877 * doc/extend.texi: Update documentation of limits of attributes
6878 syntax. Warn about problems with attribute semantics in C++.
6879 * target.h (struct target): Remove valid_decl_attribute and
6880 valid_type_attribute. Add attribute_table and
6881 function_attribute_inlinable_p.
6882 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
6883 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
6884 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
6886 (TARGET_INITIALIZER): Update.
6887 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
6889 (function_attribute_inlinable_p): New function. Check for the
6890 presence of any machine attributes before using
6891 targetm.function_attribute_inlinable_p.
6892 (function_cannot_inline_p): Update.
6893 * Makefile.in (integrate.o): Update dependencies.
6894 * doc/tm.texi: Update documentation of target attributes and
6895 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
6896 * tree.c (default_valid_attribute_p, valid_machine_attribute):
6898 (default_target_attribute_table,
6899 default_function_attribute_inlinable_p): New.
6900 (lookup_attribute): Update comment to clarify handling of multiple
6901 attributes with the same name.
6902 (merge_attributes, attribute_list_contained): Allow multiple
6903 attributes with the same name but different arguments to appear in
6904 the same attribute list.
6905 * tree.h (default_valid_attribute_p): Remove prototype.
6906 (struct attribute_spec): New.
6907 (default_target_attribute_table): Declare.
6908 (enum attribute_flags): Move from c-common.h. Add
6909 ATTR_FLAG_TYPE_IN_PLACE.
6910 (default_function_attribute_inlinable_p): Declare.
6911 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
6912 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6913 (TARGET_ATTRIBUTE_TABLE): Define.
6914 (vms_attribute_table): New.
6915 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
6916 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6917 (TARGET_ATTRIBUTE_TABLE): Define.
6918 (arc_attribute_table, arc_handle_interrupt_attribute): New.
6919 * config/arm/arm.c (arm_valid_type_attribute_p,
6920 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
6922 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
6924 (TARGET_ATTRIBUTE_TABLE): Define.
6925 (arm_attribute_table, arm_handle_fndecl_attribute,
6926 arm_handle_isr_attribute): New.
6927 * config/avr/avr.c (avr_valid_type_attribute,
6928 avr_valid_decl_attribute): Remove.
6929 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
6931 (TARGET_ATTRIBUTE_TABLE): Define.
6932 (avr_attribute_table, avr_handle_progmem_attribute,
6933 avr_handle_fndecl_attribute): New.
6934 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
6935 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6936 (TARGET_ATTRIBUTE_TABLE): Define.
6937 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
6938 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
6939 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6940 (TARGET_ATTRIBUTE_TABLE): Define.
6941 (h8300_attribute_table, h8300_handle_fndecl_attribute,
6942 h8300_handle_eightbit_data_attribute,
6943 h8300_handle_tiny_data_attribute): New.
6944 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
6945 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
6947 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
6949 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
6950 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
6952 (TARGET_ATTRIBUTE_TABLE): Define.
6953 (ix86_attribute_table, ix86_handle_cdecl_attribute,
6954 ix86_handle_regparm_attribute): New.
6955 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
6956 i386_pe_valid_type_attribute_p): Remove.
6957 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
6958 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
6959 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6960 (TARGET_ATTRIBUTE_TABLE): Define.
6961 (ia64_attribute_table): New.
6962 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
6963 interrupt_ident2, model_ident1, model_ident2): Remove.
6964 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6965 (TARGET_ATTRIBUTE_TABLE): Define.
6966 (init_idents): Update.
6967 (m32r_attribute_table, m32r_handle_model_attribute): New.
6968 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
6970 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6971 (TARGET_ATTRIBUTE_TABLE): Define.
6972 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
6973 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
6974 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6975 (TARGET_ATTRIBUTE_TABLE): Define.
6976 (mcore_attribute_table, mcore_handle_naked_attribute): New.
6977 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
6978 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6979 (TARGET_ATTRIBUTE_TABLE): Define.
6980 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
6981 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
6982 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6983 (TARGET_ATTRIBUTE_TABLE): Define.
6984 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
6985 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
6986 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6987 (TARGET_ATTRIBUTE_TABLE): Define.
6988 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
6989 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
6991 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
6993 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
6994 (TARGET_ATTRIBUTE_TABLE): Define.
6995 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
6997 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
6998 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6999 (TARGET_ATTRIBUTE_TABLE): Define.
7000 (v850_attribute_table, v850_handle_interrupt_attribute,
7001 v850_handle_data_area_attribute): New.
7002 * config/v850/v850-c.c (mark_current_function_as_interrupt):
7003 Return void. Call decl_attributes instead of
7004 valid_machine_attribute.
7006 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
7008 * sh-protos.h (sh_pr_n_sets): Declare.
7009 * sh.c (calc_live_regs): If the initial value for PR has been copied,
7010 look at the copy to determine if PR needs to be saved.
7011 sh_pr_n_sets: New function.
7012 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
7013 (ALLOCATE_INITIAL_VALUE): Define.
7015 * sh.c (initial_elimination_offset):
7016 Fix RETURN_ADDRESS_POINTER_REGNUM case.
7018 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
7020 * integrate.c (allocate_initial_values): New function.
7021 * integrate.h (allocate_initial_values): Declare.
7022 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
7024 * reload1.c (reload): And initialization of reg_equiv_memory_loc
7026 * toplev.c (rest_of_compilation): To here.
7027 Call allocate_initial_values.
7028 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
7030 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7032 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
7034 2001-09-20 DJ Delorie <dj@redhat.com>
7036 * c-typeck.c (really_start_incremental_init): Discriminate
7037 between zero-length arrays and flexible arrays.
7038 (push_init_level): Detect zero-length arrays and handle them
7039 like fixed-sized arrays.
7040 * expr.c (store_constructor): Handle zero-length arrays and
7041 flexible arrays correctly.
7042 * doc/extend.texi: Update zero-length array notes.
7044 2001-09-20 Jim Wilson <wilson@redhat.com>
7046 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
7047 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
7048 for issue port conflicts.
7049 (cycle_end_fill_slots): TYPE_L instructions take two slots.
7051 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
7053 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
7056 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7058 * fold-const.c (hashtab.h): Include.
7059 (int_const_binop): Remove FORSIZE arg and compute from type; all
7061 Call size_int_type_wide for all single-word constants.
7062 (size_htab_hash, size_htab_eq): New functions.
7063 (size_int_type_wide): Rework to use hash table.
7064 * ggc-common.c (hashtab.h): Include.
7065 (struct d_htab_root): New struct.
7066 (d_htab_roots): New variable.
7067 (ggc_add_deletable_htab, ggc_htab_delete): New functions
7068 (ggc_mark_roots): Handle deletable htabs.
7069 * ggc-page.c (ggc_marked_p): New function.
7070 * ggc-simple.c (ggc_marked_p): Likewise.
7071 * ggc.h: Reformatting throughout.
7072 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
7073 * tree.c (init_obstacks): Make type_hash_table a deletable root.
7074 (type_hash_add): Allocate struct type_hash from GC memory.
7075 (mark_hash_entry, mark_type_hash): Deleted.
7076 (type_hash_marked_p, type_hash_mark): New functions.
7077 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
7079 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
7081 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
7084 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7086 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
7087 array-too-large test for signed sizetype.
7089 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
7091 * i386.md (indirect_jump): Allow Pmode operand.
7092 (tablejump): LIkewise; perform expansion to 64bit mode.
7093 * i386.c (symbolic_operand): Allow 64bit PIC references.
7094 (pic_symbolic_operand): Likewise.
7095 (ix86_find_base_term): Strip the 64bit PIC references.
7096 (legitimate_pic_address_disp_p): Handle 64bit PIC.
7097 (legitimize_pic_address): Likewise.
7098 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
7099 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
7101 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
7103 * stringpool.c (get_identifier_with_length): New function.
7104 * tree.h (get_identifier_with_length): New prototype.
7106 2001-09-19 Alan Modra <amodra@bigpond.net.au>
7107 David Edelsohn <edelsohn@gnu.org>
7110 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
7111 already sign-extended.
7113 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
7114 * config/rs6000/rs6000.c (logical_operand): Always compare op as
7116 (rs6000_emit_set_long_const): Avoid unnecessary shift.
7117 (output_profile_hook): Declare label_name const.
7118 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
7119 to match constraints.
7121 2001-09-19 Stan Shebs <shebs@apple.com>
7123 * alias.c: Fix typos in comments.
7124 * sched-rgn.c (init_ready_list): Ditto.
7125 * unwind-dw2.c (uw_frame_state_for): Ditto.
7126 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
7127 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
7128 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
7130 2001-09-19 Richard Henderson <rth@redhat.com>
7132 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
7134 * Makefile.in (cfg.o): Depend on TM_P_H.
7136 2001-09-19 Richard Henderson <rth@redhat.com>
7138 * config/alpha/alpha.c (local_symbol_p): Split out from ...
7139 (local_symbolic_operand): ... here.
7140 (small_symbolic_operand): Check mode.
7141 (global_symbolic_operand): New.
7142 (input_operand): Reject symbolics if explicit relocs.
7143 (call_operand): Tidy.
7144 (alpha_legitimize_address): Use movdi_er_high_g.
7145 (alpha_expand_mov): Likewise.
7146 * config/alpha/alpha-protos.h: Update.
7147 * config/alpha/alpha.h (PREDICATE_CODES): Update.
7148 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
7149 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
7150 (UNSPECV_LDGP2): Remove.
7151 (all call patterns): Use 's' not 'i' for symbolic constraint.
7152 (call_osf call_value_osf): Use call_operand.
7153 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
7154 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
7155 (prologue_ldgp_1_er): Remove.
7156 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
7157 (builtin_setjmp_receiver_er patterns): Use them.
7158 (exception_receiver_er): Likewise.
7160 2001-09-19 Richard Henderson <rth@redhat.com>
7162 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
7164 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
7165 and NON_LOCAL_GOTO notes.
7166 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
7167 copy over CALL_INSN_FUNCTION_USAGE.
7169 2001-09-18 Catherine Moore <clm@redhat.com>
7171 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
7174 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
7176 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
7177 new-style tm_file specification. Specify correct tm_p_file,
7178 md_file, and out_file for s390x.
7180 * config/s390/linux.h, linux64.h: Don't include other target
7181 macro header files. Now handled via tm_file.
7183 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
7184 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
7185 are defined before use.
7187 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
7189 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
7190 code generation only for Gnu assembler.
7192 2001-09-18 Catherine Moore <clm@redhat.com>
7194 * config/stormy16 (LIB_SPEC): Remove -lnosys.
7196 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
7198 * config/mips/mips.c (mips_frame_set): New.
7199 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
7200 a parallel frame-related expression with a set for each register.
7202 2001-09-18 Philip Blundell <philb@gnu.org>
7204 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
7207 2001-09-17 Dale Johannesen <dalej@apple.com>
7209 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
7210 * config/rs6000/aix.h (FIXED_R2): Define.
7211 * config/rs6000/darwin.h (FIXED_R2): Define.
7212 * config/rs6000/sysv4.h (FIXED_R2): Define.
7214 2001-09-17 Jeff Sturm <jsturm@one-point.com>
7216 * except.c (dw2_build_landing_pads): New local
7217 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
7218 barrier after clobbers. Fixes c++/4012.
7220 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7222 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
7224 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
7226 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
7227 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
7229 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7231 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
7234 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
7236 * cpphash.h (_cpp_lex_direct): New.
7237 * cpplex.c (_cpp_lex_token): Update.
7238 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
7239 and increment that pointer.
7240 * cppmacro.c (alloc_expansion_token): New.
7241 (lex_expansion_token): Lex macro expansion directly into
7244 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
7246 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
7248 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
7250 * basic-block.h (free_bb_for_insn): Declare.
7251 * bb-reorder.c (label_for_bb): Use block_label.
7252 (emit_jump_to_block_after): Remove.
7253 (insert_intra_1): Do not update block_for_insn.
7254 (insert_inter_bb_scope_notes): Likewise; update bb->end
7255 * cfg.c (free_bb_for_insn): New.
7256 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
7257 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
7258 (commit_one_edge_insertion): Likewise.
7259 (commit_one_edge_insertion): Do not update BB boundary.
7260 (commit_edge_insertions): Do not call compute_bb_for_insn.
7261 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
7262 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
7263 (merge_blocks_move_successor_nojumps): Likewise.
7264 (try_crossjump_to_edge): Do not update block_for_insn.
7265 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
7266 * df.c (df_pattern_emit_later): Do not update BB boundary.
7267 (df_jump_pattern_emit_after): Likewise.
7268 (df_insn_move_before): Use emit_insn_before.
7269 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
7271 (add_insn_after, add_insn_before, emit_insns_after): Update BB
7272 boundaries and basic_block_for_insn.
7273 (reorder_insns_nobb): Rename from reorder_insns.
7274 (reorder_insns): New.
7275 (emit_block_insn_before, emit_block_insn_after): Kill.
7276 * flow.c (check_function_return_warnings): Do not call
7277 compute_bb_for_insn; Do not free basic_block_for_insn.
7278 (attempt_auto_inc): Do not update basic_block_for_insn.
7279 * function.c (emit_return_into_block): Likewise;
7280 do not update BB boundaries.
7281 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
7282 (insert_insn_end_bb): Use emit_insn_before; Likewise.
7283 (pre_insert_copy_insn): Likewise.
7284 (update_ld_motion_notes): Likewise.
7285 (insert_insn_start_bb): Likewise.
7286 (replace_store_insn): Likewise.
7287 * ifcvt.c (noce_process_if_block): Likewise.
7288 (if_convert): Do not call compute_bb_for_insn.
7289 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
7290 Use emit_insn_before and emit_insn_after.
7291 * recog.c (split_all_insns): Do not update BB boundaries;
7292 Do not call compute_bb_for_insn.
7293 (peephole2_optimize): Do not update BB boundaries.
7294 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
7296 (emit_swap_insn): Likewise.
7297 (convert_regs_1): Likewise.
7298 * reload1.c (reload): Call compute_bb_for_insn.
7299 * rtl.h (reorder_insns_nobb): Declare.
7300 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
7301 * toplev.c (rest_of_compilation): Call free_bb_for_insn
7302 at places CFG is invalidated; do not call compute_bb_for_insn.
7304 * cfg.c (expunge_block): Invalidate BB structure.
7306 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
7309 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
7311 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
7313 * cpphash.h (_cpp_lex_token): Update prototype.
7314 * cpplex.c (_cpp_lex_token): New prototype.
7315 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
7316 lex_macro_node, read_flag, do_pragma_poison): Update.
7317 * cppmacro.c (cpp_get_token, parse_params,
7318 lex_expansion_token): Update.
7320 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
7322 * cppmain.c (scan_translation_unit): Don't worry about
7323 putting a space after hashes.
7324 * cpplib.c (directive_diagnostics): New.
7325 (_cpp_handle_directive): Update to use directive_diagnostics.
7326 (run_directive): Don't toggle prevent_expansion.
7327 (do_line): Backup in case of the line extension.
7328 * cpplib.h (cpp_lexer_pos): Remove.
7329 * cppmacro.c (_cpp_create_definition): Precede a leading #
7332 2001-09-15 Richard Henderson <rth@redhat.com>
7334 * c-typeck.c (comptypes): Handle zero-length arrays properly.
7336 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7338 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
7340 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7342 PR preprocessor/3571
7343 * tradcpp.c (handle_directive): Skip non-vertical space.
7345 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7347 * cppmain.c (setup_callbacks): Set line callback only
7348 if outputting preprocessed source.
7350 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7352 * collect2.c (main): Const-ification.
7353 * gcc.c (translate_options, process_command): Use xstrdup in
7354 lieu of xmalloc/strcpy.
7355 (main): Use concat in lieu of xmalloc/strcpy/strcat.
7357 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7359 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
7362 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7364 * scan-decls.c (scan_decls): Fix typo.
7366 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7368 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
7369 Split mlstring_pos into mls_line and mls_col.
7370 * cppinit.c (cpp_create_reader): Initialize line to 1.
7371 (cpp_destroy): Free tokenruns.
7372 (push_include): Don't update lexer_pos.
7373 * cpplex.c (unterminated, parse_string): Update.
7374 (lex_token): Don't update lexer_pos, update.
7375 * cpplib.c (if_stack): Save line instead of line + col.
7376 (start_directive, _cpp_do__Pragma, do_else, do_elif,
7377 push_conditional, _cpp_pop_buffer): Update.
7378 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
7379 (_cpp_create_definition): Update.
7381 2001-09-15 Eric Christopher <echristo@redhat.com>
7383 * config/mips/abi64.h: Add support for MEABI.
7385 2001-09-15 Eric Christopher <echristo@redhat.com>
7387 * config/mips/mips.md: Add unspec #2.
7389 (reload_outdi): Ditto.
7390 (reload_outsi): Ditto.
7393 2001-09-15 Eric Christopher <echristo@redhat.com>
7394 Jason Eckhardt <jle@redhat.com>
7396 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
7397 * config/mips/isa32-linux.h: New file.
7398 * config/mips/isa3264.h: Ditto.
7399 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
7400 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
7401 (output_block_mode): Support MEABI.
7402 (function_arg): Ditto. Fix floating point arg passing.
7403 (mips_va_start): Ditto.
7404 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
7406 (mips_asm_file_start): Add new section to pass abi to gdb.
7407 (function_arg_pass_by_reference): Support MEABI.
7408 (mips_parse_cpu): Support mips32 and mips64 processors.
7409 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
7410 TARGET_MIPS5KC. Support isa32 and isa64.
7411 (processor_type): Add r4kc, r5kc, r20kc.
7412 (GENERATE_MULT3_SI): New.
7413 (GENERATE_MULT3_DI): Ditto.
7414 (GENERATE_MULT3): Remove.
7415 (ISA_HAS_64BIT_REGS): Add isa == 64.
7416 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
7417 (ISA_HAS_MADD_MSUB): New.
7418 (ISA_HAS_CLZ_CLO): Ditto.
7419 (ISA_HAS_DCLZ_DCLO): Ditto.
7420 (ABI_GAS_ASM_SPEC): New.
7421 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
7424 (SUBTARGET_CC1_SPEC): Ditto.
7425 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
7426 (PAD_VARARGS_DOWN): Support MEABI.
7427 (HARD_REGNO_NREGS): Move to mips.c.
7428 (ASM_OUTPUT_IDENT): Add #undef.
7429 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
7430 (mulsi3): Use GENERATE_MULT3_SI.
7431 (mulsi3_mult3): Ditto. Support mips32, mips64.
7432 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
7433 (mul_sub_si): New pattern.
7434 (unnamed splitters): New.
7435 (muldi3): Use GENERATE_MULT3_DI.
7436 (muldi3_internal2): Ditto.
7437 (movdicc): Support mips32.
7438 * config/mips/t-isa3264: New file.
7440 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
7442 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
7443 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
7444 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
7446 * reorg.c (fill_slots_from_thread): After call to
7447 steal_delay_list_from_target, update own_thread as new_thread may
7450 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
7452 * cpperror.c (print_location): Take line and column, for
7453 default positioning use the previously lexed token.
7454 (_cpp_begin_message): Take line and column.
7455 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
7456 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
7457 * cpphash.h (_cpp_begin_message): Update prototype.
7458 * cppinit.c (push_include): Don't set output line.
7459 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
7460 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
7461 (do_pragma): Kludge for front ends. Don't expand macros at all.
7462 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
7463 (struct cpp_token): Remove output_line.
7464 (struct cpp_callbacks): New member line_change.
7465 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
7466 cpp_get_token): Preserve BOL flag.
7467 (cpp_get_line): Remove.
7468 (_cpp_backup_tokens): Remove useless abort().
7469 * cppmain.c (cb_line_change): New.
7470 (scan_translation_unit): Don't worry about starting new lines here.
7471 * scan-decls.c (scan_decls): Update.
7472 * c-lex.c (c_lex, init_c_lex): Update.
7473 (cb_line_change, src_lineno): New.
7475 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
7477 * tree.c (append_random_chars): Generate the random
7478 characters in a reproducable fashion.
7480 2001-09-14 Richard Henderson <rth@redhat.com>
7482 * config/i386/i386.c (internal_label_prefix): New.
7483 (internal_label_prefix_len): New.
7484 (override_options): Set them.
7485 (local_symbolic_operand): New.
7486 (legitimate_pic_address_disp_p): Use it.
7487 (legitimize_pic_address): Likewise.
7489 2001-09-14 Marc Espie <espie@openbsd.org>
7491 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
7494 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7496 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
7497 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
7499 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7501 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
7502 invocation of SUBREG_REGNO_OFFSET.
7504 * haifa-sched.c: Fix typo in FSF copyright statement.
7505 * sched-deps.c: Fix typo in FSF copyright statement.
7506 * sched-ebb.c: Fix typo in FSF copyright statement.
7507 * sched-rgn.c: Fix typo in FSF copyright statement.
7508 * sched-vis.c: Fix typo in FSF copyright statement.
7510 * config.gcc: Move inclusion of arm elf specific header files
7511 from the files themselves into the tm_file variable. Make
7512 sure that elfos.h is included before target specific elf
7514 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
7516 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
7517 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
7518 ASM_OUTPUT_CASE_LABEL): Protect definition.
7519 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
7520 not already defined.
7521 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
7522 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
7523 Remove duplicate definition.
7524 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
7525 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
7526 (RDATA_SECTION_FUNCTION): Remove redundant definition.
7527 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
7528 Remove inclusion of arm/elf.h.
7529 * config/arm/unknown-elf.h: as for conix-elf.h.
7530 (STARTFILE_SPEC): Include crti.o and crtn.o.
7531 * config/arm/linux-elf.h: as for conix-elf.h.
7532 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
7533 * config/arm/strongarm-elf.h: Remove inclusion of
7535 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
7536 * config/arm/unknown-elf-oabi.h: Remove inclusion of
7537 unknown-elf.h and elf.h.
7538 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
7539 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
7540 ASM_WEAKEN_LABEL): Remove redundant definition.
7541 * config/arm/elf.h: Test for inclusion of elfos.h
7542 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
7543 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
7544 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
7545 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
7546 redundant definition.
7547 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
7548 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
7549 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
7550 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
7551 Add rules to build crti.o and crtn.o
7552 * crti.asm: New file.
7553 * crtn.asm: New file.
7555 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
7557 * c-parse.in (_yylex): Use _cpp_backup_tokens.
7558 * cpphash.h (struct tokenrun): Add prev.
7559 (struct lexer_state): Remove bol.
7560 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
7561 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
7563 * cppinit.c (cpp_create_reader): Don't set bol.
7564 (cpp_destroy): Don't free lookaheads.
7565 * cpplex.c (lex_directive): Remove.
7566 (next_tokenrun): Update.
7567 (_cpp_lex_token): Clean up logic.
7568 (lex_token): Update to return a pointer to lexed token, since it
7569 can move to the start of the buffer. Simpify newline handling.
7570 * cpplib.c (SEEN_EOL): Update.
7571 (skip_rest_of_line): Remove lookahead stuff.
7572 (end_directive): Line numbers are already incremented. Revert
7573 to start of lexed token buffer if we can.
7574 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
7575 parse_answer): Use _cpp_backup_tokens.
7576 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
7577 instead. Don't check for EOL.
7578 (do_include_common, do_line, do_pragma_system_header): Use
7580 * cpplib.h (BOL, _cpp_backup_tokens): New.
7581 * cppmacro.c (save_lookahead_token, take_lookahead_token,
7582 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
7583 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
7584 (builtin_macro): Don't use cpp_get_line.
7585 (cpp_get_line): Short term kludge.
7586 (parse_arg): Handle directives in arguments here. Back up when
7587 appropriate. Store EOF at end of argument list.
7588 (funlike_invocation_p): Use _cpp_backup_tokens.
7589 (push_arg_context): Account for EOF at end of list.
7590 (cpp_get_token): Remove lookahead stuff. Update.
7592 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7594 * c-parse.in (yyerror): Const-ification and/or static-ization.
7595 * c-typeck.c (push_member_name): Likewise.
7596 * collect2.c (main): Likewise.
7597 * dbxout.c (dbxout_parms): Likewise.
7598 * diagnostic.c (format_with_decl): Likewise.
7599 * dwarf2out.c (output_ranges): Likewise.
7600 * dwarfout.c (fundamental_type_code): Likewise.
7601 * except.c (dw2_output_call_site_table): Likewise.
7602 * gcc.c (do_spec_1): Likewise.
7603 * genopinit.c (optabs): Likewise.
7604 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
7605 gen_declaration_1, handle_impent): Likewise.
7606 * protoize.c (default_include, in_system_include_dir, abspath):
7608 * sched-vis.c (visualize_stall_cycles): Likewise.
7609 * sdbout.c (plain_type_1, sdbout_end_function,
7610 sdbout_end_epilogue): Likewise.
7611 * varasm.c (decode_reg_name): Likewise.
7613 * 1750a.c (mod_regno_adjust): Likewise.
7614 * alpha.c (alpha_write_one_linkage,
7615 unicosmk_output_default_externs): Likewise.
7616 * arm.c (arm_condition_codes): Likewise.
7617 * arm.h (arm_condition_codes): Likewise.
7618 * avr.c (output_movsisf, encode_section_info): Likewise.
7619 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
7621 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
7622 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
7623 * m88k.c (output_function_profiler): Likewise.
7624 * mips.c (mips_output_conditional_branch): Likewise.
7625 * ns32k.c (ns32k_out_reg_names): Likewise.
7626 * ns32k.h (ns32k_out_reg_names): Likewise.
7627 * pj.c (pj_output_rval): Likewise.
7628 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
7629 * sparc.c (sparc_flat_function_prologue,
7630 sparc_flat_function_epilogue): Likewise.
7632 2001-09-13 Markus Werle <numerical.simulation@web.de>
7633 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7635 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
7636 Aachen University of Technology".
7638 2001-09-13 Andreas Schwab <schwab@suse.de>
7640 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
7643 2001-09-13 Richard Henderson <rth@redhat.com>
7645 * config/alpha/alpha.c (small_symbolic_operand): New.
7646 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
7647 (some_operand, input_operand): Don't handle HIGH.
7648 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
7649 (alpha_expand_mov): Likewise.
7650 (print_operand) [H]: Just print HIGH symbol.
7651 (print_operand_address): Handle small data.
7652 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
7653 (TARGET_SWITCHES): Add -msmall-data/large-data.
7654 (PIC_OFFSET_TABLE_REGNUM): New.
7655 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
7656 (PREDICATE_COES): Update.
7657 * config/alpha/alpha.md (adddi_er_high): New.
7658 (adddi_er_low): Handle small data.
7659 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
7660 prefer .sdata to .rodata.
7661 (SELECT_RTX_SECTION): Likewise.
7663 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
7665 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
7666 defining __size_t and leaving size_t undefined.
7668 2001-09-12 Diego Novillo <dnovillo@redhat.com>
7670 * basic-block.h (expunge_block): Declare.
7671 * cfg.c (expunge_block): Remove static declaration.
7673 2001-09-12 Richard Henderson <rth@redhat.com>
7675 * integrate.c (copy_insn_list): Copy label name from
7676 NOTE_INSN_DELETED_LABEL.
7678 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7680 * c-common.c (c_tree_code_name): Const-ification.
7681 * c-decl.c (c_decode_option): Likewise.
7682 * c-typeck.c (warn_for_assignment): Likewise.
7683 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
7685 * cppinit.c (output_deps): Likewise.
7686 * dependence.c (dependence_string, direction_string): Likewise.
7687 * dwarf2out.c (output_ranges): Likewise.
7688 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
7689 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
7690 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
7691 standard_startfile_prefix, standard_startfile_prefix_1,
7692 standard_startfile_prefix_2, tooldir_base_prefix,
7693 standard_bindir_prefix, find_a_file): Likewise.
7694 * genattrtab.c (make_length_attrs): Likewise.
7695 * gencheck.c (tree_codes): Likewise.
7696 * genemit.c (gen_split): Likewise.
7697 * genrecog.c (special_mode_pred_table): Likewise.
7698 * graph.c (graph_ext): Likewise.
7699 * protoize (default_include): Likewise.
7700 * reload.c (reload_when_needed_name): Likewise.
7701 * sched-vis.c (visualize_stall_cycles): Likewise.
7702 * tlink.c (recompile_files): Likewise.
7703 * toplev.c (decode_g_option): Likewise.
7704 * tradcpp.c (output_deps): Likewise.
7705 * varasm.c (decode_reg_name): Likewise.
7707 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
7710 * avr.c (avr_regnames, encode_section_info): Likewise.
7711 * c4x.c (float_reg_names): Likewise.
7712 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
7713 * elfos.h (const_section): Likewise.
7714 * i386.c (ix86_comp_type_attributes): Likewise.
7715 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
7716 * ia64/aix.h (UNIQUE_SECTION): Likewise.
7717 * ia64.c (type_names): Likewise.
7718 * m68hc11.c (reg_class_names): Likewise.
7719 * m88k.c (m_options): Likewise.
7720 * mips.c (mips_output_conditional_branch, mips_unique_section):
7722 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
7723 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
7724 ultra_code_names): Likewise.
7725 * sparc.h (OVERRIDE_OPTIONS): Likewise.
7727 2001-09-12 Jakub Jelinek <jakub@redhat.com>
7729 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
7730 Use --fatal-warnings option for gas.
7731 * configure: Rebuilt.
7733 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7735 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
7737 2001-09-11 Jim Wilson <wilson@redhat.com>
7739 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
7741 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7743 * builtins.c (c_strlen): Treat an offset too large for a
7744 HOST_WIDE_INT as out of range.
7746 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
7748 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
7749 (EDGE_CRITICAL_P): New predicate.
7750 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
7752 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
7753 (dump_edge_info): Remove "crit".
7754 * cfganal.c (mark_critical_edges): Kill.
7755 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
7756 * cfgcleanup.c (cleanup_cfg): Likewise.
7757 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
7758 (find_spanning_tree): Likewise.
7759 * reg-stack.c (convert_regs_1): Likewise.
7760 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
7762 * basic-block.h (create_basic_block_structure): New.
7763 (create_basic_block): Update prototype.
7764 (force_nonfallthru): New.
7765 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
7766 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
7767 handle updating of block_for_insn, creating of empty BBs and BBs at
7768 the end of INSN chain.
7769 (create_basic_block): New function.
7770 (split_block): Use create_basic_block.
7771 (force_nonfallthru_and_redirect): Break out from ...; cleanup
7772 (redirect_edge_and_branch_force): ... here.
7773 (force_nonfallthru): New.
7774 (split_edge): Rewrite to use force_nonfallthru and create_block.
7775 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
7776 (find_basic_blocks): Free basic_block_for_insn.
7777 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
7779 * cfg.c: Fix formating.
7780 * cfgcleanup.c: Fix formating.
7781 (merge_blocks, tail_recursion_label_p): Return bool.
7782 (merge_blocks_move_predecessor_nojumps,
7783 merge_blocks_move_successor_nojumps): Return void.
7785 2001-09-11 Jakub Jelinek <jakub@redhat.com>
7787 * configure.in: Check whether assembler supports section merging.
7788 * config.in: Rebuilt.
7789 * configure: Rebuilt.
7790 * varasm.c (variable_section, output_constant_pool): Pass alignment
7791 to SELECT_SECTION and SELECT_RTX_SECTION.
7792 (mergeable_string_section): New.
7793 (mergeable_constant_section): New.
7794 (default_elf_asm_named_section): Output SECTION_MERGE and
7795 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
7796 * output.h (mergeable_string_section): New.
7797 (mergeable_constant_section): New.
7798 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
7799 * toplev.c (flag_merge_constants): New.
7800 (f_options): Add -fmerge-constants and -fmerge-all-constants
7802 (toplev_main): Default to -fno-merge-constants if not optimizing.
7803 * flags.h (flag_merge_constants): Add extern.
7804 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
7805 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
7807 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
7808 Define if assembler has working .subsection -1 support.
7809 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
7810 Put constant into special SHF_MERGE sections if the linker should
7811 attempt to merge duplicates.
7812 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
7814 Put constant into special SHF_MERGE sections if the linker should
7815 attempt to merge duplicates.
7816 * config/alpha/elf.h: Likewise.
7817 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
7818 has working .subsection -1 support.
7819 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
7821 * config/svr3.h: Likewise.
7822 * config/darwin.h: Likewise.
7823 * config/arm/aof.h: Likewise.
7824 * config/arm/linux-elf.h: Likewise.
7825 * config/avr/avr.h: Likewise.
7826 * config/c4x/c4x.h: Likewise.
7827 * config/d30v/d30v.h: Likewise.
7828 * config/i386/dgux.h: Likewise.
7829 * config/i386/osfrose.h: Likewise.
7830 * config/i386/sco5.h: Likewise.
7831 * config/i386/svr3gas.h: Likewise.
7832 * config/ia64/aix.h: Likewise.
7833 * config/m32r/m32r.h: Likewise.
7834 * config/m68k/m68k.h: Likewise.
7835 * config/m88k/dgux.h: Likewise.
7836 * config/m88k/m88k.h: Likewise.
7837 * config/mcore/mcore-pe.h: Likewise.
7838 * config/mips/mips.h: Likewise.
7839 * config/pa/pa.h: Likewise.
7840 * config/pa/pa-linux.h: Likewise.
7841 * config/romp/romp.h: Likewise.
7842 * config/rs6000/sysv4.h: Likewise.
7843 * config/rs6000/xcoff.h: Likewise.
7844 * config/s390/linux.h: Likewise.
7845 * config/sparc/sparc.h: Likewise.
7846 * config/sparc/sysv4.h: Likewise.
7847 * config/stormy16/stormy16.h: Likewise.
7848 * config/v850/v850.h: Likewise.
7849 * config/vax/vms.h: Likewise.
7850 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
7851 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
7852 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
7853 default_elf_asm_named_section for SHF_MERGE sections.
7855 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
7857 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
7860 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
7862 * c-common.c (split_specs_attrs): Allow for empty attributes with
7863 empty TREE_PURPOSE. Fixes PR c/4294.
7865 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
7867 * basic-block.h (cached_make_edge, make_single_succ): New.
7868 (make_edge): Remove first parameter.
7869 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
7870 * cfg.c (cached_make_edge): Rename from make_edge; return newly
7871 created edge; use obstack allocation.
7872 (make_edge, make_single_succ_edge): New.
7873 (first_removed_edge): New static variable.
7874 (init_flow): Initialize first_removed_edge and n_edges.
7875 (clear_edges): Use remove_edge.
7876 (flow_delete_block): Likewise.
7877 (remove_edge): Add removed edges to the removed edges list.
7878 (split_block, redirect_edge_and_branch_force, split_edge):
7880 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
7881 (add_noreturn_fake_exit_edges): Likewise.
7882 (connect_infinite_loops_to_exit): Liekwise.
7883 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
7884 Use cached_make_edge.
7885 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
7886 * profile.c (branch_prob): Update make_edge call.
7887 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
7889 2001-09-11 Richard Henderson <rth@redhat.com>
7891 * config/alpha/alpha.c: Tidy formatting.
7892 (local_symbolic_operand): Verify mode.
7893 (alpha_sa_mask): Ignore unicos for eh_return.
7894 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
7895 * config/alpha/alpha.md (umk divsi patterns): Remove.
7896 (extendsfdf2): Remove unicos check.
7897 (tablejump): Merge vms and unicos code; always use direct set
7900 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7902 * config.gcc (alpha*-*-unicosmk*): New target.
7904 * config/alpha/alpha-protos.h (symbolic_operand,
7905 unicosmk_add_call_info_word, unicosmk_add_extern,
7906 unicosmk_defer_case_vector, unicosmk_unique_section,
7907 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
7908 unicosmk_asm_file_start, unicosmk_asm_file_end,
7909 unicosmk_output_common): Declare.
7911 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
7912 direct_return, function_arg, alpha_va_start, alpha_va_arg,
7913 alpha_does_function_need_gp, alpha_end_function): Support Cray
7915 (alpha_init_machine_status, alpha_mark_machine_status,
7916 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
7917 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
7918 unicosmk_asm_named_section, unicosmk_insert_attributes,
7919 unicosmk_section_type_flags, symbolic_operand,
7920 unicosmk_output_module_name, unicosmk_output_default_externs,
7921 unicosmk_output_dex, unicosmk_output_externs,
7922 unicosmk_output_addr_vec, unicosmk_ssib_name,
7923 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
7924 unicosmk_asm_file_end, unicosmk_output_common,
7925 unicosmk_section_type_flags, unicosmk_unique_section,
7926 unicosmk_add_call_info_word, unicosmk_text_section,
7927 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
7928 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
7929 unicosmk_dex_count, unicosmk_special_name): New.
7930 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
7931 TARGET_ABI_UNICOSMK.
7932 (get_aligned_mem, alpha_expand_unaligned_load,
7933 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
7934 alpha_expand_unaligned_store_words): Support big-endian mode.
7935 (print_operand): Likewise. New format specifier 't'. Use
7936 TARGET_AS_SLASH_BEFORE_SUFFIX.
7937 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
7938 (alpha_pv_save_size): Update with above change.
7939 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
7940 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
7943 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
7944 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
7945 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
7946 (EXTRA_CONSTRAINT): New constraint 'U'.
7947 (PREDICATE_CODES): Add symbolic_operand.
7949 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
7950 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
7951 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
7952 (integer division and modulus patterns): Split in default and
7954 (*divmodsi_internal, *divmoddi_internal): Disable for
7955 TARGET_ABI_UNICOSMK.
7956 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
7957 little-endian and big-endian versions.
7958 (ext, ins, msk): Likewise.
7959 (extv, extzv, insv): Support big-endian mode.
7960 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
7961 (call_umk, call_value_umk, *call_umk, tablejump_umk,
7962 *tablejump_umk_internal, *call_value_umk): New.
7963 (*movdi_nofix): Add pattern for loading an address into a register on
7964 TARGET_ABI_UNICOSMK.
7965 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
7966 (umk_mismatch_args, arg_home_umk): New.
7967 (various insns): Don't use mov, fmov, nop, fnop and unop.
7968 (realign): Support TARGET_ABI_UNICOSMK.
7970 * config/alpha/unicosmk.h: New file.
7971 * config/alpha/t-unicosmk: New file.
7973 * fixinc/inclhack.def (unicosmk_restrict): New.
7974 * fixinc/fixincl.x: Regenerate.
7976 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
7977 (wchar_t): Check for and define __WCHAR_T__.
7979 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
7981 * combine.c (simplify_shift_const): Treat shifts by the mode
7984 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
7986 * cpphash.h (struct tokenrun): New.
7987 (struct cpp_context): New member bol.
7988 (struct cpp_reader): New members.
7989 (_cpp_init_tokenrun): New.
7990 * cppinit.c (cpp_create_reader): Set up the token runs.
7991 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
7992 (lex_token): New internalised version of _cpp_lex_token. Don't
7993 handle directives or the multiple include optimization here any
7994 more. Simply lex a token.
7995 * cpplib.c (run_directive): Clear bol.
7996 (_cpp_pop_buffer): Set bol.
7997 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
8000 2001-09-11 Michael Meissner <meissner@redhat.com>
8002 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
8003 give an error if the user uses -mfp32.
8004 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
8006 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
8007 floating point register size.
8008 (EXTRA_SPECS): Add CPP_FPR_SPEC.
8010 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
8011 HOST_WIDE_INT_PRINT_DEC to properly print the result of
8013 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
8014 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
8016 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
8018 * dbxout.c (dbxout_parms): Fix typo in comment.
8019 * unroll.c (loop_find_equiv_value): Ditto.
8020 * toplev.c (rest_of_compilation): Ditto.
8021 * loop.c (scan_loop): Ditto.
8022 * dwarf2out.c (struct dw_fde_struct): Ditto.
8024 2001-09-10 Zack Weinberg <zackw@panix.com>
8026 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
8027 copying identifier when we're just going to throw it away.
8028 (parse_identifier_slow): New routine to handle abnormal cases.
8029 (_cpp_lex_token): Update call site.
8031 * hashtable.c (ht_lookup): Don't assume that the string we've
8032 been given is NUL-terminated.
8033 * system.h: #define __builtin_expect(a, b) to (a) if not
8036 2001-09-10 Michael Meissner <meissner@redhat.com>
8038 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
8041 2001-09-10 David Edelsohn <edelsohn@gnu.org>
8043 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
8045 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8047 * builtins.c (c_getstr): Correct thinko in last change and further
8050 2001-09-10 Tim Freeman <tim@fungibole.com>
8052 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
8053 into varray's and register them as roots with the garbage
8054 collector so they are not collected too soon.
8056 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
8058 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
8060 * basic-block.h (flow_obstack, label_value_list,
8061 tail_recursion_label_list): Declare
8062 (tidy_fallthru_edges): Declare.
8063 (expunge_block, last_loop_beg_note): Delete.
8064 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
8066 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
8067 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
8068 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
8069 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
8070 expunge_block, flow_delete_block, compute_bb_for_insn,
8071 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
8072 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
8073 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
8074 try_redirect_by_replacing_jump, last_loop_beg_note,
8075 redirect_edge_and_branch, redirect_edge_and_branch_force,
8076 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
8077 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
8078 commit_edge_insertions, dump_flow_info, debug_flow_info,
8079 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
8080 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
8081 Move here from flow.c
8082 * cfganal.c: New file.
8083 (forwarder_block_p, can_fallthru, mark_critical_edges,
8084 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
8085 find_unreachable_blocks, create_edge_list, free_edge_list,
8086 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
8087 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
8088 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
8089 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
8090 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
8091 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
8092 Move here from flow.c
8093 * cfgbuild.c: New file
8094 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
8095 make_edges, find_basic_blocks_1, find_basic_blocks,
8096 find_sub_basic_blocks): Move here from flow.c
8097 * cfgcleanup.c: New file.
8098 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
8099 merge_blocks_move_predecessor_nojumps,
8100 merge_blocks_move_successor_nojumps, merge_blocks,
8101 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
8102 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
8103 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
8105 * cfgloop.c: New file
8106 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
8107 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
8108 flow_loop_exit_edges_find, flow_loop_nodes_find,
8109 flow_loop_pre_header_scan, flow_loop_pre_header_find,
8110 flow_loop_tree_node_add, flow_loops_tree_build,
8111 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
8112 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
8113 Move here from flow.c
8114 * flow.c: Remove everything moved elsewhere
8115 * output.h (cleanup_cfg): Return bool.
8117 * bb-reorder.c (reorder_block_def): Remove 'index'.
8118 (insert_intra_1): Add argument BB, set block for new note.
8119 (make_reorder_chain): Do not depdent on BB indexes.
8120 (make_reorder_chain_1): Do not use BB indexes.
8121 (label_for_bb): Likewise; set BB for new insn.
8122 (emit_jump_to_block_after): Likewise.
8123 (fixup_reorder_chain): Sanity check that all basic blocks
8124 are chained; verify newly created insn chain; remove
8125 undocnitional jump simplifying; Do not use BB indexes;
8126 properly initialize count and frequency information;
8127 dump reordered sequence.
8128 (insert_intra_bb_scope_notes): update call of insert_intra_1.
8129 (insert_inter_bb_scope_notes): Set block for new insn.
8130 (reorder_basic_blocks): Dump flow info before reoredering.
8132 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8134 * alias.c (clear_reg_alias_info): Use K&R format definition.
8135 Avoid unsigned warning.
8136 * builtins.c: Use "unsigned int", not "unsigned".
8137 (target_char_cast): Use host_integerp and tree_low_cst.
8138 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
8139 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
8140 (c_getstr): Likewise.
8141 (std_expand_builtin_va_arg): Use int_size_in_bytes.
8142 (builtin_memcpy_read_str): Avoid unsigned warning.
8143 (expand_builtin_memcpy): Alignments are unsigned.
8144 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
8145 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
8146 * predict.c (expensive_function_p): LIMIT now unsigned.
8147 * resource.c (mark_target_live_regs): Make some vars unsigned.
8148 * sdbout.c: Use "unsigned int", not "unsigned".
8149 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
8150 (sdbout_source_line): Likewise.
8151 (sdbout_record_type_name): Remove "const" for NAME declaration.
8152 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
8154 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
8156 * calls.c (store_one_arg): Expand comment.
8158 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8160 * calls.c (store_one_arg): Make sure that the entire argument is
8161 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
8163 2001-09-09 Richard Henderson <rth@redhat.com>
8165 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
8167 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
8169 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
8171 2001-09-09 Richard Henderson <rth@redhat.com>
8173 * config/alpha/alpha.c (alpha_next_sequence_number): New.
8174 (alpha_this_literal_sequence_number): New.
8175 (alpha_this_gpdisp_sequence_number): New.
8176 (some_operand, input_operand): Add HIGH.
8177 (local_symbolic_operand): New.
8178 (alpha_encode_section_info): New.
8179 (alpha_legitimate_address_p): Allow LO_SUM.
8180 (alpha_legitimize_address): Generate HIGH+LO_SUM.
8181 (alpha_expand_mov): Likewise.
8182 (secondary_reload_class): Check memory_operand not general_operand
8184 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
8185 (alpha_expand_unaligned_store): Likewise.
8186 (alpha_expand_unaligned_load_words): Likewise.
8187 (alpha_expand_unaligned_store_words): Likewise.
8188 (alpha_expand_block_clear): Likewise.
8189 (print_operand): Handle %#, %*, %H.
8190 (print_operand_address): Handle LO_SUM.
8192 (alpha_does_function_need_gp): Use it.
8193 (alpha_expand_block_move): Fix signed compare warnings.
8194 (alpha_sa_mask, alpha_align_insns): Likewise.
8195 * config/alpha/alpha-protos.h: Update.
8196 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
8197 (MASK_EXPLICIT_RELOCS): New.
8198 (TARGET_SWITCHES): Add -mexplicit-relocs.
8199 (EXTRA_CONSTRAINT): Add 'T'.
8200 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
8201 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
8202 (ENCODE_SECTION_INFO): Out line.
8203 (REDO_SECTION_INFO_P): New.
8204 (STRIP_NAME_ENCODING): New.
8205 (ASM_OUTPUT_LABELREF): New.
8206 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
8207 (PREDICATE_CODES): Update.
8208 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
8209 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
8210 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
8211 builtin_setjmp_receiver_er, exception_receiver_1_er,
8212 call_value_osf_1_er): New patterns.
8213 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
8214 (movqi, movhi, movsi): Add explicit $31 base register to lda.
8215 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
8216 (FINAL_PRESCAN_INSN): New.
8218 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
8220 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
8222 2001-09-08 Andreas Jaeger <aj@suse.de>
8224 * i386.h (TARGET_SWITCHES): Fix description.
8226 2001-09-07 David Edelsohn <edelsohn@gnu.org>
8228 * rs6000.c (num_insns_constant): Compute number of instructions
8231 * doc/install.texi: Explain AIX exception handling work-around.
8232 Update URL for AIX fixes.
8234 2001-09-07 Jim Wilson <wilson@redhat.com>
8236 * alias.c (clear_reg_alias_info): New.
8237 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
8238 * rtl.h (clear_reg_alias_info): Declare.
8240 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8242 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
8244 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
8245 (m16m,edivm,emulm): Change declaration to match definition.
8247 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8249 * reload.c (push_reload): Check for subreg_lowpart_p instead of
8250 SUBREG_BYTE being 0 when determining if the inner part of a subreg
8253 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8255 * c-common.c (signed_or_unsigned_type): Handle machine mode types
8256 which have no corresponding C type.
8257 * fold_const.c (target_isinf,target_isnan,target_negative): Update
8258 the representation of 64-bit doubles to work with 64-bit ints.
8260 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
8262 * config/mips/mips.c (override_options): Do not override ISA when ABI
8263 specified if MIPS_CPU_STRING_DEFAULT was specified.
8265 2001-09-07 Richard Henderson <rth@redhat.com>
8267 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
8268 (express_from_1): Wrap lines.
8269 * rtlanal.c (commutative_operand_precedence): Rename from
8270 operand_preference; export.
8271 * rtl.h: Declare it.
8272 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
8273 (simplify_binary_operation): Invoke simplify_plus_minus on
8274 (CONST (PLUS ...)) as well.
8275 (struct simplify_plus_minus_op_data): New.
8276 (simplify_plus_minus_op_data_cmp): New.
8277 (simplify_plus_minus): Use them. Avoid infinite recursion with
8278 simplify_binary_operation wrt CONST.
8280 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
8282 * h8300-protos.h (general_operand_dst_push): Remove.
8283 * h8300.c (general_operand_dst_push): Likewise.
8284 * h8300.h (OK_FOR_T): Likewise.
8285 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
8286 * h8300.md (pushqi_h8300): New.
8287 (pushqi_h8300hs): Likewise.
8289 (pushhi_h8300): Likewise.
8290 (pushhi_h8300hs): Likewise.
8293 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8295 * genattrtab.c (attr_printf): First arg is unsigned.
8296 Clean up formatting of callers.
8298 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
8300 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
8303 2001-09-07 Andreas Jaeger <aj@suse.de>
8305 * i386.h (TARGET_SWITCHES): Fix descriptions.
8307 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8309 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
8311 2001-09-06 Ira Ruben <ira@apple.com>
8313 Remove OP_IDENTIFIER.
8314 * tree.def (OP_IDENTIFIER): Remove.
8315 * tree.c (tree_node_kind enum): Remove op_id_kind.
8316 (tree_node_kind_names): Remove "op_identifiers".
8317 (make_node): Remove OP_IDENTIFIER test.
8318 (build_op_identifier): Removed because it isn't being used.
8319 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
8320 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
8322 2001-09-06 Richard Henderson <rth@redhat.com>
8324 * simplify-rtx.c (simplify_binary_operation): Revert last change.
8326 2001-09-06 Richard Henderson <rth@redhat.com>
8328 * simplify-rtx.c (simplify_binary_operation): Simplify contents
8331 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8333 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
8334 number used for CR register.
8336 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
8337 Joern Rennecke (amylaar@cygnus.com)
8339 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
8340 * h8300.c (initial_offset): Handle offset between RP and FP.
8341 (h8300_return_addr_rtx): New function.
8342 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
8344 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
8345 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
8346 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
8347 (CAN_ELIMINATE, REGISTER_NAMES):
8348 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
8350 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
8352 Remove TYPE_NONCOPIED_PARTS.
8353 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
8354 (struct tree_type): Remove noncopied_parts.
8355 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
8356 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
8357 (fixed_type_p): Remove.
8358 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
8359 (expand_expr, MODIFY_EXPR): Likewise.
8360 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
8361 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
8363 2001-09-06 Alan Modra <amodra@bigpond.net.au>
8365 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
8367 (mask64_operand): Likewise.
8368 (includes_rldic_lshift_p): Likewise.
8369 (includes_rldicr_lshift_p): Likewise.
8371 2001-09-05 Ziemowit Laski <zlaski@apple.com>
8373 * objc/objc-act.c (build_message_expr): If a class method cannot
8374 be found, do not issue a warning if a corresponding instance
8375 method exists in the root class.
8377 2001-09-05 Richard Henderson <rth@redhat.com>
8379 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
8381 2001-09-05 Zack Weinberg <zack@codesourcery.com>
8383 * function.c (ggc_mark_struct_function): Mark f->outer.
8384 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
8385 * integrate.c (output_inline_function): ... not here.
8387 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
8389 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
8391 * i386.c (size_cost): New static variable.
8392 (override_function): Use size_cost when -Os is specified.
8394 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
8395 properly; Use current_function_calls_eh_return.
8396 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
8397 use leave to avoid dependency chain.
8399 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
8400 get BB loop_depth instead of computing it from LOOP notes.
8402 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
8404 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8406 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8407 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8408 UNALIGNED_DOUBLE_INT_ASM_OP): Define
8410 2001-09-05 Jeffrey A Law (law@cygnus.com)
8411 Jason Merrill (jason@redhat.com)
8413 * stor-layout.c (layout_type): Complain if an array's size can
8414 not be represented in a size_t.
8416 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
8418 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
8420 * gcc.c: (process_command) Add parentheses around assignment
8421 used as truth value.
8423 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
8425 * config/mips/mips.c (save_restore_insns): Don't mark any register
8426 save slots as unchanging if current_function_calls_eh_return.
8428 2001-09-05 Richard Henderson <rth@redhat.com>
8430 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
8431 * config/alpha/alpha-protos.h: Declare it.
8432 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
8433 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
8434 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
8435 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
8436 (REG_OK_FOR_BASE_P): Select one of the above.
8438 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
8440 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
8441 (crti.o): Prefix name of object file with $(T).
8444 2001-09-05 David S. Miller <davem@redhat.com>
8446 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
8447 * config/sparc/linux64.h: Likewise.
8449 2001-09-05 Andreas Jaeger <aj@suse.de>
8451 * doc/invoke.texi (i386 Options): -mwide-multiply is not
8452 available anymore, remove the documentation.
8453 (i386 Options): Fix typo, cleanup index entries.
8455 * prefix.c (concat): Remove, we can use the version from liberty.
8457 2001-09-05 Richard Henderson <rth@redhat.com>
8459 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
8460 New functions split out of md file expanders.
8461 * config/alpha/alpha-protos.h: Declare them.
8462 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
8464 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
8466 * cppmacro.c (funlike_invocation_p): No need to restore context.
8468 2001-09-04 Richard Henderson <rth@redhat.com>
8470 * reload.c (push_reload): Export.
8471 * reload.h (push_reload): Declare it.
8473 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
8474 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
8475 * config/alpha/alpha.c (alpha_legitimize_address): New.
8476 (alpha_legitimize_reload_address): Likewise.
8477 * config/alpha/alpha-protos.h: Declare them.
8479 2001-09-04 Stan Shebs <shebs@apple.com>
8481 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
8482 * config/darwin.c (machopic_stub_name): Account for internally
8483 generated lib calls such as memcpy.
8485 2001-09-04 Richard Henderson <rth@redhat.com>
8487 * unwind.h (_UA_END_OF_STACK): New flag.
8488 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
8490 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
8492 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
8494 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
8496 * config/mips/mips.c (save_restore_insns): Change base_offset to
8497 fp_offset in second call to mips_emit_frame_related_store.
8499 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
8501 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
8502 sometimes be represented as a NOTE of type
8503 NOTE_INSN_DELETED_LABEL.
8504 (Insns): Document NOTE_INSN_DELETED_LABEL.
8506 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
8508 * c-common.h (tree_dump_index): Add more comments.
8509 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
8510 (dump_option_value_info): New struct.
8511 (dump_options): New array.
8512 (dump_switch_p): Parse switch options symbolically.
8513 * doc/invoke.texi (-fdump-ast): Rename to ...
8514 (-fdump-tree): ... here. Document that options are symbolic, and
8515 not all are applicable.
8517 2001-09-04 David S. Miller <davem@redhat.com>
8519 * config/sparc/sparc.md (define_splits): Kill constraints.
8521 Cleanup redundant and unused insn attributes.
8522 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
8523 binary, and move. Mark ialu as default.
8524 (commented out define_function_unit "alu"): Kill.
8525 (define_attr "use_clobbered"): Kill.
8526 (whole file): Kill address insn type references. Replace
8527 all unary/binary/move references with ialu.
8528 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
8529 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
8532 Simplify length insn attribute and make more judicious use
8533 of insn attribute defaulting.
8534 * config/sparc/sparc.md (all insns with length > one): Mark as
8535 insn type multi if real instructions, else use default if
8536 it is a forced splitter.
8537 (all insns with length == one): Use default insn length.
8538 (all insns of type ialu): Use default insn type.
8540 Fix erroneous insn attribute settings.
8541 (addx): Set insn type to misc.
8542 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
8543 const_umulsidi3_sp64): Set insn type to imul.
8545 Track SFmode vs DFmode insns according to UltraSPARC
8547 * config/sparc/sparc.md ("fptype"): New attribute, default
8549 (all DFmode single insns): Mark as fptype "double".
8551 2001-09-03 Jakub Jelinek <jakub@redhat.com>
8553 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
8555 2001-09-03 Richard Henderson <rth@redhat.com>
8557 * function.h (struct function): Add arg_pointer_save_area_init.
8558 * function.c (expand_function_end): Init arg_pointer_save_area.
8559 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
8560 when called from a nested function.
8562 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
8564 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
8567 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
8569 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
8571 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
8573 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
8574 (emit_push_insn): Use specified padding direction when
8575 STACK_PUSH_CODE is POST_INC.
8577 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
8579 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8581 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
8583 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
8585 * cppinit.c (cpp_start_read): Free the imacros list as we
8586 traverse it. Don't free the chains before returning.
8587 (_cpp_push_next_buffer): Only try pushing buffers if we've
8588 completed -imacros handling.
8590 2001-08-31 Eric Christopher <echristo@redhat.com>
8592 * gcc.c (handle_braces): Add explaination for abort.
8594 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
8596 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
8597 move adjustment of bitpos instead.
8599 2001-08-31 Zack Weinberg <zack@codesourcery.com>
8601 * function.c: Remove all_functions. Make outer_function_chain
8603 (init_function_start): Don't add new function structure to
8605 (find_function_data, push_function_context_to,
8606 pop_function_context_from, put_var_into_stack,
8607 trampoline_address): Update for changed structure element names.
8608 (push_function_context_to): Disentangle.
8609 (free_after_compilation): Also free F.
8610 (expand_dummy_function_end): Don't free cfun here.
8611 (put_var_into_stack): Comment why we can't use find_function_data here.
8612 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
8613 (mark_function_chain): Split into maybe_mark_struct_function and
8614 ggc_mark_struct_function. Export the latter.
8615 (init_function_once): Mark from cfun and outer_function_chain;
8618 * function.h (struct function): Kill next_global. Rename next
8619 to outer. All users updated to match.
8620 (all_functions, outer_function_chain): Don't declare.
8622 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
8623 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
8624 don't touch f->inlinable, after calling rest_of_compilation.
8626 * tree.h: Forward-declare struct function. Prototype
8627 ggc_mark_struct_function.
8629 2001-08-31 Kazu Hirata <kazu@hxi.com>
8631 * config/h8300/h8300.md (*andorhi3): Fix typos.
8633 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8635 * calls.c (emit_library_call_value): Don't use a fixed
8636 argument after VA_CLOSE, i.e. out of scope in traditional C.
8638 * emit-rtl.c (gen_rtvec): Likewise.
8640 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8642 * Makefile.in (c-pragma.o): Depend on output.h.
8643 (reorg.o): Depend on except.h.
8645 * c-pragma.c: Include output.h.
8647 * reorg.c: Include except.h.
8649 * unwind-dw2.c: Call __builtin_alloca, not alloca.
8651 2001-08-31 Richard Henderson <rth@redhat.com>
8653 * sched-deps.c (add_dependence): Don't elide dependency if the
8654 conditional used by insn is modified in elem.
8656 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
8658 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
8660 2001-08-31 Diego Novillo <dnovillo@redhat.com>
8662 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
8665 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
8667 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
8669 (stormy16_asm_out_constructor): New function.
8670 (TARGET_ASM_CONSTRUCTOR): Define.
8671 (TARGET_ASM_DESTRUCTOR): Define.
8673 2001-08-31 Andreas Jaeger <aj@suse.de>
8675 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
8676 * loop.c (add_label_notes): Likewise.
8677 * reload.c (find_reloads): Likewise.
8678 * config/sh/sh.c (machine_dependent_reorg): Likewise.
8680 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
8682 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
8683 code here. Take _Unwind_{W,Sw}ord*.
8684 (read_encoded_value_with_base): Use them.
8685 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
8687 (extract_cie_info): Simplify read_?leb128 handling.
8688 (execute_stack_op, execute_cfa_program): Likewise.
8689 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
8691 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
8693 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
8694 the frame pointer to pop the stack if convenient.
8696 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
8697 Don't use post-increment before combine.
8698 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
8699 a call-saved register.
8701 2001-08-31 Andreas Jaeger <aj@suse.de>
8703 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
8706 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
8708 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
8709 not DIV/MOD, of course.
8711 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
8713 * rtl.def: Undo my patch commited 2001-08-27.
8715 * genattrtab.c: Ditto.
8719 * sched-int.h: Ditto.
8721 * target-def.h: Ditto.
8725 * haifa-sched.c: Ditto.
8727 * sched-rgn.c: Ditto.
8729 * sched-vis.c: Ditto.
8731 * Makefile.in: Ditto.
8733 * doc/md.texi: Ditto.
8735 * doc/tm.texi: Ditto.
8737 * doc/contrib.texi: Ditto.
8739 * doc/gcc.texi: Ditto.
8741 * genattrtab.h: Remove it.
8743 * genautomata.c: Remove it.
8745 * genattr.c: Undo my patch and Richard Henderson's patch commited
8748 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
8750 * config.gcc (h8300-*-elf*): New case.
8751 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
8752 (SUBTARGET_CPP_SPEC): Define.
8753 (EXTRA_SPECS): Define.
8754 (SUBTARGET_EXTRA_SPECS): Define.
8755 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
8756 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
8758 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
8760 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
8761 (LIB2FUNCS_EXTRA): Define.
8762 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
8763 config/h8300/fixunssfsi.c: New file.
8765 2001-08-30 Kazu Hirata <kazu@hxi.com>
8767 * config/h8300/h8300.md (zero_extendqihi2): Changes to
8768 define_expand to accommodate target-specific attributes.
8769 (anonymous zero_extendqihi2 patterns): New.
8771 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
8773 * h8300.md (*andorhi3): New pattern.
8775 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
8777 * h8300.c (dosize): Fix test for "sub".
8779 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
8781 * c-typeck.c (pointer_diff): Try to eliminate common term before
8784 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
8786 * config/arm/arm.c (arm_compute_initial_elimination_offset):
8787 Account for the saves of the FP registers.
8789 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
8790 (TEXT_SECTION_ASM_OP): Define.
8791 (INIT_SECTION_ASM_OP): Define.
8792 (FINI_SECTION_ASM_OP): Define.
8793 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
8794 (RDATA_SECTION_FUNCITON): Provide prototype.
8796 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
8798 * reload1.c (move2add_note_store): Correct typo checking for
8801 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
8803 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
8804 note should not be considered outside the libcall block.
8806 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8808 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
8810 2001-08-29 Kazu Hirata <kazu@hxi.com>
8812 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
8814 2001-08-29 Kazu Hirata <kazu@hxi.com>
8816 * config/h8300/h8300-protos.h: Add a prototype for
8818 * config/h8300/h8300.c (emit_logical_op): New.
8819 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
8826 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
8828 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
8829 comparison with rtx INTVAL.
8830 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
8832 * pa.h (FUNCTION_ARG_SIZE): Likewise.
8834 2001-08-29 Kazu Hirata <kazu@hxi.com>
8836 * config/h8300/lib1funcs.asm: Update the copyright. Fix
8839 2001-08-29 Kazu Hirata <kazu@hxi.com>
8841 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
8842 (reg n) to (mem (pre_dec (reg n))
8843 (anonymous movsi pattern): Likewise.
8845 2001-08-29 Kazu Hirata <kazu@hxi.com>
8847 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
8849 2001-08-29 Kazu Hirata <kazu@hxi.com>
8851 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
8852 several special constants.
8854 2001-08-29 Kazu Hirata <kazu@hxi.com>
8856 * config/h8300/lib1funcs.asm: Fix comment typos.
8858 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8860 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
8861 Fix format specifier warnings.
8863 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
8864 inet_makeaddr, semctl): Prototype.
8866 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
8867 (save_restore_insns): Use base_offset, not gp_offset.
8869 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
8870 (ASM_OUTPUT_BYTE): Fix format specifier warning.
8872 2001-08-29 Richard Henderson <rth@redhat.com>
8874 * bb-reorder.c (function_tail_eff_head): New.
8875 (record_effective_endpoints): Set it.
8876 (fixup_reorder_chain): Use it.
8878 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8880 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
8882 2001-08-28 Dale Johannesen <dalej@apple.com>
8884 * config/darwin.c (machopic_function_base_name): Add const
8885 qualifier to a string.
8886 (darwin_encode_section_info): Ditto.
8888 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8890 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
8891 function definition.
8893 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
8895 * df.h (struct df): Add rts_order variable.
8897 * df.c (df_visit_next_rts): New function.
8898 (df_visit_next): Renamed to df_visit_next_rc
8899 (df_analyse_1): Allocate/compute/free rts_order as well.
8900 (df_rd_global_compute): Use df_visit_next_rc instead of
8902 (df_ru_global_compute): Use df_visit_next_rts instead of
8905 * flow.c (flow_reverse_top_sort_order_compute): New function.
8907 * basic-block.h: Add prototype.
8909 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
8911 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
8912 blocks, the BB_REACHABLE is now set, rather than aux being
8913 non-NULL. Update the test to reflect this.
8915 2001-08-28 Eric Christopher <echristo@redhat.com>
8917 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
8918 config/mips/crti.asm: Ditto.
8920 2001-08-28 Eric Christopher <echristo@redhat.com>
8921 Richard Henderson <rth@redhat.com>
8923 * c-pragma.h (add_weak): Move prototype from here...
8924 * output.h (add_weak): ... to here.
8925 * varasm.c (add_weak): Fix typo.
8926 * config/mips/crti.asm: New file.
8927 * config/mips/crtn.asm: Ditto.
8928 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
8929 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
8930 (INVOKE__main): Ditto.
8931 (INIT_SECTION_ASM_OP): New.
8932 (FINI_SECTION_ASM_OP): Ditto.
8933 (STARTFILE_SPEC): Add crti.
8934 (ENDFILE_SPEC): Add crtn.
8935 * config/mips/elf64.h: Same.
8936 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
8938 * config/mips/vxworks.h: Ditto.
8939 * config/mips/t-elf: Support crti and crtn.
8941 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
8943 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
8946 2001-08-28 Richard Henderson <rth@redhat.com>
8948 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
8949 (one_cmplbi2 splitter): Remove redundant test.
8951 2001-08-28 Dale Johannesen <dalej@apple.com>
8953 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
8955 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
8957 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
8959 2001-08-28 Stan Shebs <shebs@apple.com>
8961 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
8962 (UNALIGNED_SHORT_ASM_OP): Define.
8963 (UNALIGNED_INT_ASM_OP): Define.
8965 2001-08-28 Will Cohen <wcohen@redhat.com>
8967 * config/rs6000/rs6000.md (store_multiple): Correct RTL
8968 generation for first set.
8970 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
8972 * flow.c (redirect_edge_succ_nodup): Return new edge.
8973 (try_simplify_condjump): Use new edge.
8974 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
8976 * cse.c (cse_basic_block): Skip note instructions.
8978 2001-08-27 Richard Henderson <rth@redhat.com>
8980 * combine.c (combine_simplify_rtx): Don't reverse condition
8981 if there is no reverse for the condition.
8982 (simplify_comparison): Don't simplify subregs from INT to FP.
8984 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
8985 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
8986 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
8987 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
8988 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
8989 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
8991 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
8993 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
8994 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
8996 (adddi_dilshr32, adddi_dishl32): Only data register can be
8997 source for mem destination.
8999 * expmed.c (store_bit_field): Ignore adjustment to bitpos
9000 and use bitnum to decide about register move.
9002 2001-08-27 Richard Henderson <rth@redhat.com>
9004 * genattr.c (main): Emit state_t even when not doing scheduling.
9006 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
9007 Richard Henderson <rth@redhat.com>
9009 * gcse.c (reg_first_set, reg_last_set): Replace with ...
9010 (reg_avail_info, current_bb): ... these.
9011 (oprs_unchanged_p, record_last_reg_set_info): Use them.
9012 (compute_hash_table): Likewise.
9014 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
9016 * flow.c (verify_flow_info): Use checksums to verify edges.
9018 2001-08-27 Richard Henderson <rth@redhat.com>
9020 * genautomata.c (expand_automata): Always create a description.
9022 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
9024 * optabs.c (expand_binop): Correctly handle the carry in multiword
9025 add/subtract operations.
9027 2001-08-27 Fred Fish <fnf@be.com>
9029 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
9032 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
9034 * reload.c (find_reloads_toplev): Back out this change:
9036 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
9038 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
9039 mem if the address is a mode_dependent_address_p.
9041 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
9043 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
9044 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
9045 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
9048 * genattr.c (main): New variable num_insn_reservations. Increase
9049 it if there is DEFINE_INSN_RESERVATION. Output automaton based
9050 pipeline hazard recognizer interface.
9052 * genattrtab.h: New file.
9054 * genattrtab.c: Include genattrtab.h.
9055 (attr_printf, check_attr_test, make_internal_attr,
9056 make_numeric_value): Move protypes into genattrtab.h. Define them
9058 (num_dfa_decls): New global variable.
9059 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
9060 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
9061 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
9062 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
9064 * genautomata.c: New file.
9066 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
9068 * sched-int.h: (curr_state): Add the external definition for
9069 automaton pipeline interface.
9070 (haifa_insn_data): Add comments for members blockage and units.
9072 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
9073 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
9074 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
9075 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
9076 TARGET_SCHED_DFA_POST_CYCLE_INSN,
9077 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
9078 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
9080 (TARGET_SCHED): Use the new macros.
9082 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
9083 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
9084 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
9085 dfa_bubble): New members in gcc_target.sched.
9087 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
9088 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
9089 (insn_queue): Redefine it as pointer to array.
9090 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
9092 (max_insn_queue_index_macro_value): New variable.
9093 (curr_state, dfa_state_size, ready_try): New varaibles for
9094 automaton interface.
9095 (ready_element, ready_remove, max_issue): New function prototypes
9096 for automaton interface.
9097 (choose_ready): New function prototype.
9098 (insn_unit, blockage_range): Add comments.
9099 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
9100 FUNCTION_UNITS_SIZE == 0.
9101 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
9102 actual_hazard, potential_hazard): Add comments.
9103 (insn_cost): Use cost -1 as undefined value. Remove
9104 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
9106 (ready_element, ready_remove): New functions for automaton
9108 (schedule_insn): Add new code for automaton pipeline interface.
9109 (queue_to_ready): Add new code for automaton pipeline interface.
9110 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
9111 (debug_ready_list): Print newline when the queue is empty.
9112 (max_issue): New function for automaton pipeline interface.
9113 (choose_ready): New function.
9114 (schedule_block): Add new code for automaton pipeline interface.
9115 Print ready list before scheduling each insn.
9116 (sched_init): Add new code for automaton pipeline interface.
9117 Initiate insn cost by -1.
9118 (sched_finish): Free the current automaton state and finalize
9119 automaton pipeline interface.
9121 * sched-rgn.c: Include target.h.
9122 (init_ready_list, new_ready, debug_dependencies): Add new code for
9123 automaton pipeline interface.
9125 * sched-vis.c: Include target.h.
9126 (get_visual_tbl_length): Add code for automaton interface.
9127 (target_units, print_block_visualization): Add comments.
9129 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
9130 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
9131 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
9132 (getruntime.o, genautomata.o): New entries.
9133 (genattrtab.o): Add new dependency file genattrtab.h.
9134 (genattrtab): Add new dependencies. Link it with `libm.a'.
9135 (getruntime.o, hashtab.o): New entries for canadian cross.
9137 * doc/md.texi: Description of automaton based model.
9139 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
9141 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
9142 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
9143 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
9144 TARGET_SCHED_DFA_POST_CYCLE_INSN,
9145 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
9146 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
9147 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
9149 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
9150 MAX_DFA_ISSUE_RATE): New macro descriptions.
9152 * doc/contrib.texi: Add dfa based scheduler contribution.
9154 * doc/gcc.texi: Add more information about genattrtab.
9156 2001-08-27 Diego Novillo <dnovillo@redhat.com>
9158 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
9161 2001-08-27 Richard Henderson <rth@redhat.com>
9163 * function.c (expand_function_end): Don't init arg_pointer_save_area.
9164 (get_arg_pointer_save_area): New. Create an init it here.
9165 (fix_lexical_addr): Use it.
9166 * function.h: Declare it.
9167 * builtins.c (expand_builtin_setjmp_receiver): Use it.
9168 * stmt.c (expand_nl_goto_receiver): Use it.
9170 2001-08-27 Richard Henderson <rth@redhat.com>
9172 * final.c (final_scan_insn): Don't enter APP_ON mode for
9175 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
9176 alignment for assemble_integer for DW_EH_PE_aligned.
9177 * except.c (output_function_exception_table): Likewise.
9179 2001-08-26 Andreas Jaeger <aj@suse.de>
9181 * c-tree.h: Add prototyp for c_sizeof_nowarn.
9183 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
9185 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
9187 2001-08-27 Alan Modra <amodra@bigpond.net.au>
9189 * config/rs6000/rs6000.c (mask_operand): Rewrite without
9191 (mask64_operand): Likewise.
9192 (rldic_operand): Delete.
9193 (includes_lshift64_p): Delete.
9194 (includes_rldic_lshift_p): New function.
9195 (includes_rldicr_lshift_p): New function.
9196 (print_operand): Don't call rldic_operand in case 'W'.
9197 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
9198 (includes_lshift64_p): Remove.
9199 (includes_rldic_lshift_p): Declare.
9200 (includes_rldicr_lshift_p): Declare.
9201 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
9202 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
9203 Replace match_operand rldic_operand predicate with
9204 const_int_operand. Replace includes_lshift64_p condition with
9205 includes_rldic_lshift_p.
9206 <ashldi3_internal 64 bit rldicr patterns>: New.
9208 2001-08-27 Andreas Jaeger <aj@suse.de>
9210 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
9211 * errors.c: Likewise.
9212 * final.c: Likewise.
9213 * dwarf2asm.c: Likewise.
9214 * doprint.c (checkit): Likewise.
9215 * diagnostic.c: Likewise.
9216 * collect2.c: Likewise.
9217 * calls.c: Likewise.
9218 * c-semantics.c (build_stmt): Likewise.
9219 * c-format.c (status_warning): Likewise.
9220 * c-errors.c (pedwarn_c99): Likewise.
9221 * builtins.c (validate_arglist): Likewise.
9222 * config/pj/pj.c (pj_printf): Likewise.
9223 * fix-header.c: Likewise.
9225 * gcov.c (fnotice): Likewise.
9226 * gensupport.c (message_with_line): Likewise.
9227 * mips-tfile.c: Likewise.
9228 * protoize.c (notice): Likewise.
9229 * read-rtl.c (fatal_with_file_and_line): Likewise.
9230 * rtl-error.c: Likewise.
9231 * tradcpp.c: Likewise.
9233 * cp/tree.c (build_min_nt): Likewise.
9234 (build_min): Likewise.
9235 * cp/lex.c: Likewise.
9236 * cp/errfn.c: Likewise.
9237 * cp/rtti.c (create_pseudo_type_info): Likewise.
9239 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
9241 * df.c (df_uses_record): Return after recording all uses
9244 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
9246 * df.c (df_insn_modify): Realloc the INSN table here, if
9247 necessary, here, too.
9249 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
9251 * config/mips/mips.c (mips_function_value): Handle complex return
9254 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
9256 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
9258 * reload.c (make_memloc): Copy result if it is still
9259 reg_equiv_memory_loc[regno] on return.
9260 (subst_reloads) [ENABLE_CHECKING]: Check that none of
9261 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
9262 reg_equiv_mem are modified by the substitutions.
9264 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
9266 * predict.c (expensive_function_p): New.
9267 * rtl.h (expensive_function_p): Declare.
9268 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
9269 (use_fast_prologue_epilogue): New static variable.
9270 (expand_prologue): Set it; emit short prologues if unset.
9271 (expand_epilogue): Likewise.
9273 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
9275 * config.gcc: Add stormy16-*-elf case.
9276 * config/stormy16/stormy-abi: New file.
9277 * config/stormy16/stormy16-lib2.c: New file.
9278 * config/stormy16/stormy16-protos.h: New file.
9279 * config/stormy16/stormy16.c: New file.
9280 * config/stormy16/stormy16.h: New file.
9281 * config/stormy16/stormy16.md: New file.
9282 * config/stormy16/t-stormy16: New file.
9284 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
9286 * i386.h (no-accumulate-outgoing-args): Use proper mask.
9288 2001-08-24 David Edelsohn <edelsohn@gnu.org>
9290 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
9291 descriptor members are pointer size, not constant 4.
9292 * config/rs6000/rs6000.md (define_splits): Remove more unused
9295 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9297 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
9299 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
9301 * cp/rtti.c (VPARAMS): Fix parameter.
9303 2001-08-24 Zack Weinberg <zackw@panix.com>
9305 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
9307 (mode_for_extraction): No need for #ifdefs. Add default-case abort
9309 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
9310 in if controlling use of insv.
9311 (extract_bit_field): Likewise, for extv and extzv.
9313 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
9315 * i386.md (movcc peep2): Fix load of 0.
9317 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9319 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
9320 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
9322 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
9324 * c-pragma.h: Move weak_syms and weak_decls...
9325 * varasm.c: ...here. Now static.
9326 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
9327 depend on HANDLE_PRAGMA_WEAK.
9329 * c-common.c (c_alignof, c_alignof_expr): Move here...
9330 * c-typeck.c: ...from here.
9331 * c-tree.h, c-common.h: Adjust.
9333 2001-08-23 Bernd Schmidt <bernds@redhat.com>
9335 * config/ia64/ia64.c (rws_update): If !pred, set write_count
9336 instead of incrementing it.
9338 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
9339 asm ready, don't try to move them all into the same array element.
9341 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
9343 * function.c (thread_prologue_and_epilogue_insns): Avoid
9344 fallthru flag on edge to exit.
9346 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
9348 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
9351 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
9353 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
9354 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
9355 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
9358 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
9360 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
9361 replace "GNU CC" with "GCC".
9363 2001-08-23 Richard Henderson <rth@redhat.com>
9365 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
9366 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
9367 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
9368 Need GR between FR and not GR_AND_FR.
9369 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
9370 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
9371 AR regs before GR regs.
9372 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
9373 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
9374 (REGISTER_MOVE_COST): Update.
9375 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
9377 2001-08-23 Richard Henderson <rth@redhat.com>
9379 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
9382 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
9384 * reload1.c (emit_reload_insns): Don't look for notes
9385 on a NULL store_insn.
9387 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9389 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
9390 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
9391 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
9392 format specifier warnings.
9393 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
9395 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
9397 * config/i386/i386-protos.h: Correct declaration of
9398 i386_pe_asm_named_section.
9400 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
9402 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
9404 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9406 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
9408 * cpperror.c (print_location): Don't show _Pragma.
9409 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
9410 and file change callback generation here.
9411 (stack_include_file): Update use of cpp_push_buffer.
9412 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
9413 (struct cpp_buffer): Remove type, pfile members.
9414 * cppinit.c (cpp_handle_option): Use free_chain.
9415 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
9416 (skip_escaped_newlines, get_effective_char, lex_percent): Take
9417 a cpp_reader rather than a cpp_buffer.
9418 (skip_escaped_newlines, get_effective_char, skip_block_comment,
9419 skip_line_comment, parse_string, lex_percent, lex_dot,
9420 _cpp_lex_token): Update accordingly.
9421 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
9423 (cpp_push_buffer): Update prototype.
9424 (run_directive): Update use of cpp_push_buffer.
9425 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
9426 handle_assertion): Update use of run_directive.
9427 * cpplib.h (enum cpp_buffer_type): Remove.
9428 (cpp_push_buffer): Update prototype.
9429 * fix-header.c (read_scan_file): Update.
9431 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9433 * gcc.c (struct prefix_list): Change prefix to const char *.
9435 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9437 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
9439 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
9441 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
9444 * jump.c (squeeze_notes): Take parms by reference. Handle END being
9447 * ifcvt.c (dead_or_predicable): Adjust.
9448 * loop.c (find_and_verify_loops): Adjust.
9449 * stmt.c (expand_end_case): Adjust.
9450 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
9451 head and end insn pointers in the basic block, not just local copies.
9452 (merge_blocks_move_predecessor_nojumps): Likewise.
9454 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
9456 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
9457 bitmap.h, builtin-types.def, builtins.c, builtins.def,
9458 c-aux-info.c, c-common.c, c-common.def, c-common.h,
9459 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
9460 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
9461 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
9462 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
9463 conditions.h, config.gcc, configure.frag, configure.in,
9464 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
9465 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
9466 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
9467 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
9468 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
9469 emit-rtl.c, errors.c, errors.h, except.c, except.h,
9470 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
9471 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
9472 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
9473 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
9474 gencheck.c, gencodes.c, genconfig.c, genemit.c,
9475 genextract.c, genflags.c, gengenrtl.c, genmultilib,
9476 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
9477 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
9478 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
9479 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
9480 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
9481 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
9482 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
9483 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
9484 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
9485 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
9486 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
9487 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
9488 params.h, predict.c, predict.def, predict.h, prefix.c,
9489 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
9490 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
9491 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
9492 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
9493 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
9494 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
9495 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
9496 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
9497 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
9498 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
9499 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
9500 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
9501 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
9502 xcoffout.h: replace "GNU CC" with "GCC".
9504 2001-08-21 Richard Henderson <rth@redhat.com>
9506 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
9507 (final_scan_insn): Consider jump tables data even if we have no
9508 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
9510 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
9511 (ASM_OUTPUT_CASE_END): Remove.
9512 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
9513 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
9514 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
9516 2001-08-21 Richard Henderson <rth@redhat.com>
9518 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
9519 at barrier insns. Emit stop bits before barriers.
9521 * flow.c (flow_find_cross_jump): Don't consider unconditional
9522 return insns for commoning.
9524 * final.c (compute_alignments): Fix typo.
9526 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
9527 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
9528 (store_bit_field): Use mode_for_extraction more places.
9529 (extract_bit_field): Likewise.
9531 2001-08-21 Zack Weinberg <zackw@panix.com>
9533 * caller-save.c: Don't include insn-codes.h.
9534 (reg_save_code, reg_restore_code): Make arrays of int.
9535 All uses updated to match.
9536 (insert_save, insert_restore): No need to initialize "code"
9537 variable upon declaration.
9538 * Makefile.in: update dependencies; fix typo in clean rule.
9540 2001-08-21 Richard Henderson <rth@redhat.com>
9542 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
9543 (merge_if_block): Handle fallout from same.
9545 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9547 * builtins.c (type_to_class): Fix typo in last change.
9549 2001-08-21 Richard Henderson <rth@redhat.com>
9551 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
9552 ia64_asm_output_label.
9554 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
9555 copy of gp while the real gp register contains garbage.
9557 2001-08-21 Zack Weinberg <zackw@panix.com>
9559 * expmed.c (mode_for_extraction): New function.
9560 (store_bit_field, extract_bit_field): Use it.
9561 * expr.h: Prototype it and provide an enum for its first argument.
9563 * combine.c, function.c, recog.c: Don't include insn-codes.h.
9564 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
9565 and digging through the insn_data tables.
9566 * Makefile.in: Update dependencies.
9568 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
9570 * cppfiles.c (stack_include_file): line-map.c now handles include
9572 (handle_missing_handler): Similarly.
9573 (_cpp_execute_include): Similarly.
9574 (_cpp_pop_file_buffer): Similarly.
9575 * cpphash.h (struct cpp_reader): Remove system_include_depth,
9576 buffer_stack_depth and include_depth.
9577 * cpplib.c (do_include_common): line-map.c now handles include depth.
9578 (cpp_push_buffer): Similarly.
9579 (_cpp_pop_buffer): Similarly.
9580 * cppmacro.c (builtin_macro): Update.
9581 * line-map.c (init_line_maps): Set depth.
9582 (add_line_map): Increment "used" earlier. Update and use the
9584 (trace_include): Use the include depth.
9585 * line-map.h (struct line_maps): New member depth.
9587 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9589 * cppfiles.c (stack_include_file): Don't handle -H here.
9590 * cppinit.c (cpp_start_read): Set include tracing after
9591 cpp_post_options and after stacking the main file.
9592 * line-map.c (trace_include): New.
9593 (init_line_maps, add_line_map): Update.
9594 * line-map.h (struct line_maps): New member trace_includes.
9596 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9598 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
9599 * cppfiles.c (stack_include_file): Only stack a file if there
9600 is something to do. Return a boolean indicating whether a
9601 buffer was stacked or not.
9602 (_cpp_execute_include): Similarly.
9603 (_cpp_read_file): Similarly.
9604 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
9606 2001-08-21 Sam Steingold <sds@gnu.org>
9608 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
9609 (RECACHE): keep obufp_before_macroname up to date
9611 2001-08-21 Zack Weinberg <zackw@panix.com>
9613 * stmt.c: Don't include insn-codes.h.
9614 (expand_end_case): Machine specific logic moved to expr.c.
9615 No need to worry about __builtin_classify_type.
9616 (check_for_full_enumeration_handling, emit_case_nodes):
9619 * builtins.o (expand_builtin_classify_type): Split up so code
9620 can be shared with fold_builtin_classify_type.
9621 (type_to_class, fold_builtin_classify_type): New functions.
9622 (fold_builtins): Handle __builtin_classify_type.
9624 * expr.c (do_tablejump): Now static.
9625 (case_values_threshold, try_casesi, try_tablejump): New;
9626 code mostly from stmt.c (expand_end_case).
9627 (expr.h): Update prototypes.
9629 * Makefile.in (stmt.o): Update dependencies.
9631 2001-08-21 Will Cohen <wcohen@redhat.com>
9633 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
9634 declaration of variable i.
9635 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
9636 declaration of variable i.
9638 2001-08-21 Richard Henderson <rth@redhat.com>
9640 * crtstuff.c: Fix thinko last change. Move list tails to start
9641 of CRT_END section. Tidy ifdefs.
9642 (__EH_FRAME_BEGIN__): Always static for ELF.
9643 (__do_global_ctors_1): Rename from __frame_dummy.
9644 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
9645 name change; don't hide __EH_FRAME_BEGIN__.
9647 2001-08-21 Richard Henderson <rth@redhat.com>
9649 * gdbinit.in: Move break on exit after break on fancy_abort.
9651 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
9654 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9656 * cpphash.h (_cpp_push_next_buffer): New.
9657 * cppinit.c (do_includes): Remove.
9658 (push_include, free_chain, _cpp_push_next_buffer): New.
9659 (cpp_start_read): Use them to rework command line option handling.
9660 (cpp_handle_option): Combine handling of -include and -imacros.
9661 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
9662 appropriate. Always insert missing \n at EOF.
9663 * cpplib.c (start_directive): Get the directive position right.
9664 * cppmain.c (cb_file_change): Always print the first line, unless
9667 2001-08-20 Andreas Jaeger <aj@suse.de>
9669 * profile.c (compute_branch_probabilities): Remove extra new-line
9671 * flow.c (verify_flow_info): Likewise.
9673 2001-08-20 Diego Novillo <dnovillo@redhat.com>
9675 * basic-block.h (basic_block): Add new field 'flags'.
9676 (BB_REACHABLE): Define.
9677 (expunge_block): Declare.
9678 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
9679 (EXIT_BLOCK_PTR): Ditto.
9680 (expunge_block): Remove static declaration.
9681 (cleanup_cfg): Clear bb->aux on every basic block.
9682 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
9683 computing reachability.
9684 (delete_unreachable_blocks): Delete block b if b->flags has
9687 2001-08-20 Diego Novillo <dnovillo@redhat.com>
9689 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
9691 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9693 * sparc.c (sparc_variable_issue): Fix typo in last change.
9695 2001-08-20 Richard Henderson <rth@redhat.com>
9697 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
9699 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
9701 * pa.h (RETURN_IN_MEMORY): Improve comment.
9703 2001-08-20 Janis Johnson <janis187@us.ibm.com>
9705 * doc/invoke.texi (Profiling options): Clarify the interactions
9706 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
9708 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
9710 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
9713 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9715 * gcc.c (make_relative_prefix): Allocate a sufficiently large
9718 2001-08-20 Richard Henderson <rth@redhat.com>
9720 * final.c (end_final): Fix typo last change.
9722 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
9724 * cppinit.c (init_standard_includes): The returned buffer
9725 is already malloc-ed.
9726 * gcc.c (add_prefix): Similarly.
9727 * prefix.c (translate_name): Update to support clear buffer
9729 (update_path): Similarly. Be sure to free any newly allocated
9730 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
9732 * prefix.h (update_path): Update prototype and document.
9733 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
9734 up and update to new buffer ownership rules.
9735 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
9737 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
9739 * final.c (compute_alignments): New function.
9740 (init_insn_lengths): Do not care label_align.
9741 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
9742 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
9743 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
9744 (shorted_branches): Realloc label_align array; do
9745 not call init_insn_lengths; Do not care about loop alignments.
9746 * output.h (compute_alignments): Declare.
9747 * toplev.c (rest_of_compilation): Call compute_alignments.
9748 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
9750 * predict.c (block_info_def): Add npredecesors, remove nvisited;
9751 change visited to tovisit.
9752 (propagate_freq): Use faster traversing algorithm.
9753 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
9754 to tovisit; reverse meaning.
9756 * predict.c (struct block_info_def): Remove nvisited.
9757 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
9758 (estimate_bb_frequencies): Call mark_dfs_back_edges.
9760 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
9762 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
9763 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
9764 (TARGET_FUSED_MADD): New.
9765 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
9766 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
9767 the multiply-add instructions.
9769 2001-08-19 Richard Henderson <rth@redhat.com>
9771 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
9772 is aligned to pointer size.
9774 2001-08-19 Richard Henderson <rth@redhat.com>
9776 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
9777 display markers during final schedule.
9779 2001-08-19 Richard Henderson <rth@redhat.com>
9781 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
9783 2001-08-19 Richard Henderson <rth@redhat.com>
9785 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
9787 (ASM_NAME_TO_STRING): Remove.
9788 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
9789 in the same string. Remove support for expressions.
9791 2001-08-19 Richard Henderson <rth@redhat.com>
9793 * config/i386/i386.md (tablejump): Make an expander; handle
9794 pic relative addressing here.
9795 (tablejump_1): Rename from tablejump_pic.
9798 2001-08-19 Richard Henderson <rth@redhat.com>
9800 * regclass.c (fix_register): Fix typo.
9802 2001-08-18 Richard Henderson <rth@redhat.com>
9804 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
9805 (struct _Unwind_Context): Expand br_loc to hold it.
9806 (uw_frame_state_for): Handle leaf functions better.
9807 (uw_update_reg_address): Update for br_loc change.
9809 2001-08-18 Richard Henderson <rth@redhat.com>
9811 * crtstuff.c: Move list heads before code that uses them.
9812 (__JCR_LIST__): Remove initial null.
9813 (frame_dummy, __frame_dummy): Do java registration here ...
9814 (__do_global_ctors_aux): ... not here.
9816 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
9817 (__do_global_dtors_aux): Update to match.
9818 (__JCR_LIST__, __do_jv_register_classes): New.
9820 * config/ia64/crtend.asm (__JCR_END__): New.
9821 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
9822 instead of an indirect LTOFF22 reloc.
9824 2001-08-18 Richard Henderson <rth@redhat.com>
9826 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
9827 * regclass.c (init_reg_sets_1): Fix typo.
9828 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
9829 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
9830 (ia64_compute_frame_size): Make ar.unat live when in use.
9831 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
9832 for ar.pfs; remove ar.unat handling.
9833 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
9835 (PREDICATE_CODES): Add ar_pfs_reg_operand.
9836 * config/ia64/ia64-protos.h: Update decls.
9837 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
9838 (sibcall_pic): Likewise.
9840 2001-08-18 Richard Henderson <rth@redhat.com>
9842 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
9843 pred_rel_mutex when searching for insn_group_barrier.
9844 * config/ia64/ia64.md (cycle_display): Combine the expander
9847 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
9848 bit before asm as needed.
9850 2001-08-18 Richard Henderson <rth@redhat.com>
9852 * timevar.def (TV_MACH_DEP): New.
9853 * toplev.c (rest_of_compilation): Use it.
9854 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
9856 2001-08-18 Zack Weinberg <zackw@panix.com>
9858 * unwind-dw2.c (execute_stack_op): Add default aborts to
9859 the inner switches to prevent warnings.
9861 2001-08-18 Richard Henderson <rth@redhat.com>
9863 * timevar.h (struct timevar_time_def): Change element type to float.
9864 (ticks_to_msec, clocks_to_msec): Likewise.
9865 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
9866 (get_time): Likewise.
9867 (timevar_print): Adjust zero check and printing to match.
9869 2001-08-18 Zack Weinberg <zackw@panix.com>
9871 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
9872 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
9873 Eliminate overfull or underfull hboxes.
9875 2001-08-18 Zack Weinberg <zackw@panix.com>
9877 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
9879 2001-08-18 Zack Weinberg <zackw@panix.com>
9881 * haifa-sched.c: Convert to target hooks. Macros replaced
9882 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
9883 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
9884 MD_SCHED_FINISH, and HAVE_cycle_display.
9885 * target-def.h (TARGET_SCHED_ADJUST_COST,
9886 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
9887 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
9888 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
9889 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
9890 New hook #defines to be overridden.
9891 (TARGET_SCHED): Bring them all together.
9892 (TARGET_INITIALIZER): Update.
9893 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
9894 instead of 'struct rtx_def *' throughout.
9895 (struct sched): New set of hooks for the scheduler.
9896 * Makefile.in (haifa-sched.o): Depend on target.h.
9897 * doc/tm.texi: Document the new scheduler hooks, together in
9898 their own section, instead of scattered around.
9899 Fix a bunch of underfull/overfull hboxes.
9901 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
9902 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
9903 sparc.h: Don't define any of the old scheduler macros.
9905 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
9906 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
9907 sparc.c: Create hook functions from code extracted from
9908 corresponding target header, or make existing hooks static, as
9909 appropriate. Set the appropriate entries in targetm.
9911 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
9912 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
9913 rs6000-protos.h, s390-protos.h, sparc-protos.h:
9914 Remove prototypes for functions which are now static.
9916 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
9917 related gunk; the Haifa scheduler is now the only choice.
9919 2001-08-18 Zack Weinberg <zackw@panix.com>
9921 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
9922 * genopinit.c: Put floating point divide insns in sdiv_optab.
9923 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
9924 * config/gofast.h, config/c4x/c4x.h,
9925 config/ia64/hpux_longdouble.h, config/mips/mips.h,
9926 config/pa/long_double.h, config/rs6000/sysv4.h,
9927 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
9928 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
9929 (init_optabs): Use init_optabv for overflow-trapping optabs.
9930 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
9931 cmp_optab RTX codes so have_insn_for can find them.
9933 * optabs.c (expand_simple_binop, expand_simple_unop,
9934 have_insn_for, gen_sub3_insn): New interfaces.
9935 * expr.h: Prototype new functions.
9936 (enum optab_methods): Move here from optabs.h.
9938 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
9939 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
9940 Use new functions instead of working directly with optabs.
9941 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
9942 unroll.c: Don't include optabs.h.
9943 * caller-save.c, combine.c, function.c, stmt.c: Just include
9944 insn-codes.h, not optabs.h.
9945 * Makefile.in: Update dependencies.
9947 * combine.c (make_compound_operation, simplify_comparison):
9948 Fix typos testing for this or that instruction.
9950 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9952 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
9953 generating libgcc.a.
9955 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9957 * except.c (TYPE_HASH): Delete.
9959 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
9962 * tree.c (TYPE_HASH): Delete.
9964 * tree.h (TYPE_HASH): Define.
9966 2001-08-18 Graham Stott <grahams@redhat.com>
9968 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
9970 (adddi3_internal_2+2): Likewise.
9971 (eh_set_lr_di+1): Likewise.
9973 2001-08-17 Richard Henderson <rth@redhat.com>
9975 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9976 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
9977 * dwarf2asm.c: ... here.
9978 * dwarfout.c: Remove them.
9980 * varasm.c (assemble_integer): Add align parameter.
9981 (assemble_real, output_constant, output_constructor): Likewise.
9982 * output.h: Update decls.
9983 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
9984 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
9985 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
9986 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
9987 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
9990 * final.c (end_final): Abort profile block generation if we
9991 haven't layed it out properly.
9992 * output.h (assemble_eh_integer): Remove stale decl.
9993 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
9995 (assemble_integer): Handle unaligned data.
9996 (assemble_real): Abort on unaligned data.
9997 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
9999 (default_dtor_section_asm_out_destructor): Use assemble_align.
10000 (default_named_section_asm_out_constructor): Likewise.
10001 (default_ctor_section_asm_out_constructor): Likewise.
10002 * config/darwin.c (machopic_asm_out_constructor): Likewise.
10003 (machopic_asm_out_destructor): Likewise.
10004 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
10005 (nextstep_asm_out_destructor): Likewise.
10006 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
10007 (vms_asm_out_destructor): Likewise.
10009 2001-08-17 Richard Henderson <rth@redhat.com>
10011 * config/mips/iris6.h (TARGET_IRIX6): New.
10012 (current_section_name, current_section_flags): New.
10013 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
10014 (MAX_OFILE_ALIGNMENT): New.
10015 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
10016 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
10017 (copy_file_data): Split out from
10018 (mips_asm_file_end): ... here.
10019 (mips_asm_file_start): Remove extra .section directive. Use
10020 tmpfile instead of mips_make_temp_file.
10021 (mips_unique_section): Use const char * as needed for warnings.
10022 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
10023 re-add align parameter.
10024 (iris6_asm_named_section): New.
10025 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
10026 (iris6_asm_output_align, iris6_section_align_1): New.
10027 (iris6_asm_file_start, iris6_asm_file_end): New.
10028 * config/mips/mips-protos.h: Update decls.
10030 2001-08-17 Janis Johnson <janis187@us.ibm.com>
10032 * doc/install.texi (Install GCC): Add links to build status pages.
10034 (Final install): Ditto; request updates for specific info
10036 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
10038 * cpperror.c (print_location): Don't take a file name; use the
10040 (_cpp_begin_message): Similarly.
10041 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
10042 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
10043 (cpp_pedwarn_with_file_and_line): Remove.
10044 * cppfiles.c (stack_include_file): Update; set filename to stdin
10045 here when appropriate.
10046 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
10047 (_cpp_begin_message): Don't take a file name.
10048 * cppinit.c: Add comment.
10049 * cpplex.c: Fix end-of-directive indicator.
10050 * cpplib.c: Don't include intl.h.
10051 (run_directive, do_diagnostic): Update.
10052 (do_line): Update to not use nominal_fname.
10053 (cpp_push_buffer): Don't take a filename.
10054 * cpplib.h (struct ht): Remove.
10055 (cpp_push_buffer): Don't take a filename.
10056 (cpp_pedwarn_with_file_and_line): Remove.
10057 * cppmacro.c (struct cpp_macro): Remove file.
10058 (builtin_macro): Update.
10059 (_cpp_create_definition): Update.
10060 * cppmain.c: Correct comment.
10061 * fix-header.c (read_scan_file): Update.
10063 2001-08-17 Kazu Hirata <kazu@hxi.com>
10065 * sbitmap.c: Fix comment formatting.
10066 * sched-deps.c: Likewise.
10067 * sibcall.c: Likewise.
10068 * simplify-rtx.c: Likewise.
10070 * ssa-ccp.c: Likewise.
10071 * stor-layout.c: Likewise.
10072 * timevar.c: Likewise.
10073 * toplev.c: Likewise.
10074 * unwind-dw2.c: Likewise.
10075 * unwind-dw2-fde.c: Likewise.
10076 * varasm.c: Likewise.
10078 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
10080 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
10081 or larger than an integer in memory.
10083 2001-08-17 Zack Weinberg <zackw@panix.com>
10085 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
10086 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
10087 * rtl.h: Don't forward-declare union tree_node here. Don't
10088 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
10089 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
10090 and tree respectively.
10091 * tree.h: Don't forward-declare struct rtx_def here. Don't
10092 typedef tree here. Change all uses of struct rtx_def *,
10093 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
10094 and tree respectively.
10096 2001-08-17 Richard Henderson <rth@redhat.com>
10098 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
10099 config/mips/openbsd.h: Fix typos last change.
10101 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10103 * doc/invoke.texi (Optimize Options): The default for
10104 -finline-limit is 600.
10106 2001-08-17 Richard Henderson <rth@redhat.com>
10108 * varasm.c (text_section): Allow TEXT_SECTION to override the
10109 printing of TEXT_SECTION_ASM_OP.
10110 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
10111 (DATA_SECTION, BSS_SECTION): Remove.
10112 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
10113 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
10114 Rename from s/_NAME//.
10115 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
10116 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
10117 (TEXT_SECTION): ... here. New.
10118 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
10119 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
10120 * config/mips/openbsd.h: Likewise.
10121 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
10122 (mips_asm_file_end): Likewise test.
10123 (mips_output_function_epilogue): Likewise. Switch back to data
10124 section after emitting the function.
10126 * doc/tm.texi (Sections): Document TEXT_SECTION.
10128 2001-08-17 Richard Henderson <rth@redhat.com>
10130 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
10131 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
10133 2001-08-17 Richard Henderson <rth@redhat.com>
10135 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
10136 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
10137 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
10138 Add aligned attribute.
10140 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
10142 * config/sh/sh.md: Add modes to unspecs in first insn to match
10143 those in the second.
10145 * Makefile.in: Fix collect2 copy for Cygwin.
10147 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
10149 Install the proper patch.
10150 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
10151 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
10152 (expand_function_start): Likewise.
10153 * stmt.c (expand_decl): Likewise.
10154 * varasm.c (make_decl_rtx): Likewise.
10156 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10158 * final.c: Undo my previous accidental checkin.
10159 * output.h: Likewise.
10160 * tm.texi: Likewise.
10162 2001-08-16 Richard Henderson <rth@redhat.com>
10164 * varasm.c (named_section_flags): Remove align parameter.
10165 * varasm.c, dwarf2out.c: Update all callers.
10166 * output.h: Update prototypes.
10168 * target.h (target.asm_out.named_section): Remove align parameter.
10169 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
10170 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
10171 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
10172 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
10173 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
10175 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
10176 (get_named_section_flags, set_named_section_flags): New.
10177 (named_section_flags): Use them.
10178 (named_section): Do decl vs section flags check here...
10179 (default_section_type_flags): ... not here.
10180 (init_varasm_once): Create in_named_htab.
10181 (resolve_unique_section): Mark reloc unused.
10183 2001-08-16 Richard Henderson <rth@redhat.com>
10185 * varasm.c (force_const_mem): Keep pool alignment in bits.
10186 (output_constant_pool): Use assemble_align.
10188 2001-08-16 Zack Weinberg <zackw@panix.com>
10190 * doc/tm.texi: Remove extra @table command.
10192 2001-08-16 Zack Weinberg <zackw@panix.com>
10194 * final.c (shorten_branches): Clear the end of the label_align
10195 array only if we made it larger. Break up messy expressions
10198 * diagnostic.c (internal_error): Check for error recursion
10199 before doing ICE suppression.
10201 * timevar.c: Timing variables now count in milliseconds.
10202 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
10203 (get_time): Not here.
10204 (timevar_print): Don't print any timer whose user, cpu, and
10205 wall times are all zero as displayed.
10206 * timevar.h: Update comment aboout units. Make timevar
10209 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
10211 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
10212 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
10213 (expand_function_start): Likewise.
10214 * stmt.c (expand_decl): Likewise.
10215 * varasm.c (make_decl_rtx): Likewise.
10217 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
10219 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
10220 (finalize_record_size): Don't set TYPE_USER_ALIGN.
10222 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10224 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
10227 2001-08-16 Andreas Jaeger <aj@suse.de>
10229 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
10232 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
10234 * rtl.h (only_sets_cc0_p): New prototype.
10235 * jump.c (sets_cc0_p): Handle INSN.
10236 (only_sets_cc0_p): New function.
10237 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
10238 (tidy_fallthru_edge): Likewise.
10239 * integrate.c (copy_insn_list): Likewise.
10240 * unroll.c (unroll_loop): Likewise.
10241 (copy_loop_body): Likewise.
10243 2001-08-15 Jason Eckhardt <jle@redhat.com>
10245 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
10247 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
10249 * predict.c (struct block_info_def): Remove nvisited.
10250 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
10251 (estimate_bb_frequencies): Call mark_dfs_back_edges.
10253 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
10254 (ix86_adjust_cost): Teach scheduler that latency to load operand can
10257 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
10259 * predict.def: Update hitrates.
10261 2001-08-15 Richard Henderson <rth@redhat.com>
10263 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
10265 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
10267 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
10268 note from its associated jump.
10270 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
10272 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
10273 also on 64-bit s390x targets.
10275 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
10277 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
10279 (arm_expand_prologue): Handled nested functions which take a
10280 variable argument list.
10281 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
10282 macro with an invocation of
10283 arm_compute_initial_elimination_offset.
10284 * config/arm/arm-protos.h: Prototype
10285 arm_compute_initial_elimination_offset.
10287 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10289 * doc/install.texi (Specific, avr): Fix markup.
10290 (Specific, c4x): Ditto.
10292 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10294 * predict.c (dump_prediction): Change `bool' parameter to `int'.
10296 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
10298 * Makefile.in (OBJS): Add rtl-error.o
10299 (rtl-error.o): New rule.
10300 (diagnostic.o): Adjust dependency.
10301 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
10302 error_for_asm, _fatal_insn, _fatal_insn_not_found,
10303 warning_for_asm): Move to...
10304 rtl-error.c: ...here. New file.
10306 2001-08-14 Richard Henderson <rth@redhat.com>
10308 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
10309 if USING_SJLJ_EXCEPTIONS.
10311 2001-08-14 Steve Ellcey <sje@cup.hp.com>
10313 * tlink.c (scan_linker_output): Check string for unsatisfied in
10314 addition to undefined and unresolved.
10316 2001-08-14 Graham Stott <grahams@redhat.com>
10318 * libgcc2.c (*): Replace EH_FRAME_SECTION with
10319 EH_FRAME_SECTION_NAME.
10321 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
10323 * genattrtab.c (simplify_test_exp_in_temp): New function.
10324 (simplify_test_exp): Avoid explicit use of temporary obstack.
10325 (simplify_cond, insert_right_side, evaluate_eq_attr,
10326 simplify_and_tree, simplify_or_tree, eliminate_known_true):
10327 Use simplify_test_exp_in_temp.
10328 (optimize_attrs): Iterate until expression stabilizes.
10330 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
10332 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
10333 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
10335 2001-08-13 Richard Henderson <rth@redhat.com>
10337 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
10338 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
10339 * config/arm/conix-elf.h: Likewise.
10341 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
10343 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
10345 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
10347 * gcse.c (hash_scan_set): Expressions that are set as part of
10348 jump instructions are not available.
10350 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
10352 * config/s390/s390.c (print_operand, s390_function_prologue,
10353 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
10355 2001-08-13 Richard Henderson <rth@redhat.com>
10357 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
10358 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
10359 * doc/tm.texi (Exception Region Output): Document it.
10361 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
10363 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
10364 DWARF2 instead of stabs by default.
10366 2001-08-13 David Edelsohn <edelsohn@gnu.org>
10368 * config/rs6000/rs6000.c: Include optabs.h.
10370 2001-08-13 David Edelsohn <edelsohn@gnu.org>
10372 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
10373 save/restore routines.
10374 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
10376 2001-08-13 Andreas Jaeger <aj@suse.de>
10378 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
10379 the english is correct.
10381 2001-08-13 Zack Weinberg <zackw@panix.com>
10383 * expr.h: Split out optab- and libfunc-related code to...
10384 * optabs.h, libfuncs.h: ... these new headers.
10386 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
10388 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
10390 * mkconfig.sh: Don't include insn-codes.h from config.h.
10392 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
10393 enum insn_code is available. Move reload_in_optab and
10394 reload_out_optab array declarations to optabs.h.
10395 * regmove.c (gen_add3_insn): Move to optabs.c, export from
10396 there, prototype in expr.h.
10397 * gencodes.c: Cleanup: zap global variables, don't use
10398 printf where puts will do, don't bother defining MAX_INSN_CODE
10399 which nothing uses, let CODE_FOR_nothing get its value implicitly.
10401 * genemit.c, genopinit.c: Include optabs.h in generated file.
10402 * genoutput.c: Include insn-codes.h in generated file.
10403 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
10404 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
10405 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
10406 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
10407 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
10408 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
10410 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
10411 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
10412 config/m88k/m88k.c, config/sparc/sparc.c:
10413 Include libfuncs.h.
10414 * reload.c: Include expr.h and optabs.h before reload.h.
10415 * config/alpha/alpha.c: Include tree.h before reload.h.
10416 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
10417 and reload.h in that order.
10418 * config/sparc/sparc.c: Include debug.h.
10419 * recog.c: Include insn-codes.h.
10421 2001-08-13 Andreas Jaeger <aj@suse.de>
10423 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
10426 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
10428 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
10429 * gcc.c (init_spec): Fix typo in comment.
10430 * varasm.c (data_section): Fix typo in comment.
10432 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
10434 * predict.c (dump_prediction): New argument "USED".
10435 (combine_predictions_for_insn): Determine the used heuristics,
10436 output the case no heuristic applied.
10437 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
10439 2001-08-13 Andreas Jaeger <aj@suse.de>
10441 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
10444 2001-08-13 Kazu Hirata <kazu@hxi.com>
10446 * jump.c: Fix formatting.
10448 2001-08-13 Kazu Hirata <kazu@hxi.com>
10450 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
10453 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
10455 * loop.c (check_dbra_loop): Use condjump_label to compute
10458 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
10459 to better document the files they're in.
10461 2001-08-12 Zack Weinberg <zackw@panix.com>
10463 * recog.h (struct insn_operand_data): Shrink 'mode' field
10466 2001-08-12 Kazu Hirata <kazu@hxi.com>
10468 * gcc.c: Fix comment formatting.
10469 * gccspec.c: Likewise.
10470 * gcov.c: Likewise.
10471 * gcse.c: Likewise.
10472 * genemit.c: Likewise.
10473 * gengenrtl.c: Likewise.
10474 * genrecog.c: Likewise.
10475 * gensupport.c: Likewise.
10476 * ggc-page.c: Likewise.
10477 * global.c: Likewise.
10478 * graph.c: Likewise.
10479 * ifcvt.c: Likewise.
10480 * integrate.c: Likewise.
10482 * libgcc2.c: Likewise.
10483 * loop.c: Likewise.
10484 * mbchar.c: Likewise.
10485 * optabs.c: Likewise.
10486 * predict.c: Likewise.
10487 * prefix.c: Likewise.
10488 * profile.c: Likewise.
10489 * protoize.c: Likewise.
10490 * real.c: Likewise.
10491 * recog.c: Likewise.
10492 * regclass.c: Likewise.
10493 * regmove.c: Likewise.
10494 * reg-stack.c: Likewise.
10495 * reload1.c: Likewise.
10496 * resource.c: Likewise.
10497 * rtlanal.c: Likewise.
10500 2001-08-12 Kazu Hirata <kazu@hxi.com>
10502 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
10503 a tree representing a constant is passed to the macro.
10505 2001-08-12 Richard Henderson <rth@redhat.com>
10507 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
10508 (rs6000_elf_asm_out_destructor): New.
10509 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
10510 (DTORS_SECTION_ASM_OP): Remove.
10511 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10512 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
10514 2001-08-12 David Edelsohn <edelsohn@gnu.org>
10517 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10518 * gcc.c (set_collect_gcc_options): New function, split out from
10520 Ignore elided switches.
10521 (do_spec_1): Invoke before executing command.
10522 (set_input): Export.
10523 Move declaration ...
10524 * gcc.h (set_input): ... here.
10525 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
10528 2001-08-12 Richard Henderson <rth@redhat.com>
10530 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
10531 thinko wrt TARGET_RELOCATABLE.
10533 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
10535 * fix-header.c (cb_file_change): Update prototype.
10537 2001-08-11 Zack Weinberg <zackw@panix.com>
10539 * toplev.c (set_float_handler): Make static.
10540 * toplev.h: Don't prototype set_float_handler.
10542 * simplify-rtx.c: Don't include setjmp.h.
10543 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
10545 (simplify_unary_operation, simplify_binary_operation): Use them,
10546 via do_float_handler.
10548 * fold-const.c: Don't include setjmp.h.
10549 (exact_real_inverse_1): New function.
10550 (exact_real_inverse): Use it, via do_float_handler.
10552 * varasm.c: Don't include setjmp.h.
10553 (assemble_real_1): New function.
10554 (assemble_real): Use it, via do_float_handler.
10555 Call internal_error if we get a trap here.
10557 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
10558 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
10560 2001-08-11 Zack Weinberg <zackw@panix.com>
10562 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
10563 STACK_BOUNDARY if not already defined.
10565 * calls.c, function.c, reload1.c, explow.c: Don't default
10566 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
10567 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
10569 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
10572 * doc/tm.texi: Document that STACK_BOUNDARY is required;
10573 clarify difference between it and PREFERRED_STACK_BOUNDARY.
10575 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10577 * cppmacro.c (enter_macro_context): Push macro expansions even
10580 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10582 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
10583 (rs6000_elf_section_type_flags): Actually return a value.
10585 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
10587 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
10588 Clean up code: add missing comments and prototypes, fix warnings,
10589 remove obsolete code, fix spacing to conform to coding style.
10591 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
10593 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
10594 and TARGET_ASM_CLOSE_PAREN.
10595 (regclass_map): CC register belongs to class NO_REGS.
10596 (legitimize_pic_address): Don't generate unnecessary moves
10597 (to avoid confusing loop optimization).
10598 (check_and_change_labels): Replace jump_long by indirect_jump.
10599 (s390_final_chunkify): Don't start a new literal pool on section
10600 switch in 64-bit code.
10601 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
10603 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
10604 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
10605 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
10607 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
10608 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
10609 (CONST_COSTS): Fixed incorrect costs.
10611 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
10612 Use emit_jump instead of emit_jump_insn (gen_jump).
10613 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
10614 (to avoid confusing flow analysis).
10615 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
10616 (casesi, casesi_jump): New.
10617 (jump_long): Removed. Functionality merged into indirect_jump.
10618 (indirect_jump): Accept address_operand, not just register_operand.
10619 (cjump_long, icjump_long): Use same logic as indirect_jump.
10620 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
10621 Fixed broken setjmp/longjmp handling.
10622 (do_builtin_setjmp_setup): Removed.
10624 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
10625 broken GNU as versions that don't accept .quad with large
10626 negative values. Use hexadecimal output instead.
10627 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
10628 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
10629 FUNCTION_EPILOGUE): Removed. Now in targetm.
10631 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
10633 * config/s390/fixdfdi.h: Add missing copyright statement.
10634 Fix type conflicts on 64-bit. Add missing SFmode routines.
10636 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
10639 2001-08-11 Richard Henderson <rth@redhat.com>
10641 * rtl.h (REG_EH_RETHROW): Remove.
10642 * rtl.c (reg_note_name): Update.
10643 * combine.c (distribute_notes): Don't check for it.
10645 2001-08-11 Richard Henderson <rth@redhat.com>
10647 * combine.c (distribute_notes): Place REG_SETJMP.
10649 2001-08-11 Richard Henderson <rth@redhat.com>
10651 * doc/extend.texi (Arrays and pointers implementation): Discourage
10652 relying on sign-extension of pointers.
10654 2001-08-11 H.J. Lu <hjl@gnu.org>
10656 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
10658 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
10659 RDATA_SECTION_ASM_OP.
10661 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10663 * doc/install.texi (Specific, c4x): Fix cross-reference to the
10664 main manual to work both for info and HTML versions.
10666 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10667 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10669 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
10670 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
10671 (struct cpp_pool): New member first.
10672 * cppinit.c (append_include_chain): Plug memory leaks.
10673 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
10674 Allocate pragma structures from the (aligned) macro pool to
10675 avoid leaking memory.
10676 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
10677 so we don't leak memory.
10678 * hashtable.c (ht_destroy): New.
10679 * hashtable.h (ht_destroy): New.
10681 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10682 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10684 * c-lex.c (map): Make const.
10685 (cb_file_change): Update for callback passing a line map.
10686 Don't assume we have a previous map. Remove sanity check
10687 about popping too many files.
10688 * cpperror.c (print_location): Make map const.
10689 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
10690 (cpp_make_system_header): Similarly.
10691 (search_from): Similarly.
10692 (_cpp_execute_include): Don't remember where we came from.
10693 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
10694 (struct cpp_reader): Make map const.
10695 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
10696 * cpplib.c (do_line): Update; line maps now hold sysp.
10697 (cpp_push_buffer): Similarly.
10698 (_cpp_do_file_change): Similarly; callback with map instead.
10699 (cpp_get_line_maps): Constify return value.
10700 (_cpp_pop_buffer): Update.
10701 * cpplib.h (struct cpp_file_change): Remove.
10702 (struct cpp_callbacks): Update.
10703 (cpp_get_line_maps): Constify return value.
10704 * cppmacro.c (_cpp_create_definition): Update.
10705 * cppmain.c (struct printer): Constify map.
10706 (maybe_print_line): Similarly.
10707 (print_line): Similarly. Deduce flags 1 and 2 here.
10708 (cb_file_change): Update.
10709 * line-map.c (free_line_maps): Warn regardless.
10710 (add_line_map): Return pointer to const. When passed NULL to_file
10711 with LC_LEAVE, use the obvious values for the return point so the
10712 caller doesn't have to figure them out.
10713 (lookup_line): Return pointer to const.
10714 (print_containing_files): Take pointer to const.
10715 * line-map.h (struct line_map): New members reason, sysp.
10716 (add_line_map): Return pointer to const.
10717 (lookup_line): Similarly.
10718 (print_containing_files): Take pointer to const.
10720 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
10721 Richard Henderson <rth@redhat.com>
10723 * regmove.c (regmove_optimize): Avoid setting a register twice in
10726 2001-08-10 Richard Henderson <rth@redhat.com>
10728 * doc/extend.texi (Arrays and pointers implementation): Document
10729 behavior of pointer/integer conversion.
10731 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
10733 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
10735 2001-08-10 Richard Henderson <rth@redhat.com>
10737 * doc/extend.texi (C Implementation): New chapter.
10738 * doc/gcc.texi (Top): Link it in.
10740 2001-08-10 Andrew Cagney <ac131313@redhat.com>
10742 * doc/install.texi (Specific): Fix CVS merge botch.
10744 2001-08-10 Richard Henderson <rth@redhat.com>
10746 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
10747 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
10749 2001-08-10 Zack Weinberg <zackw@stanford.edu>
10751 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
10752 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
10753 this macro is now required.
10755 * cselib.c (cselib_process_insn), flow.c (propagate_block),
10756 loop.c (find_and_verify_loops), reload.c (reload): Check
10757 for rtx code of CALL_INSN, not CALL, when deciding if we
10758 need to check for REG_SETJMP note.
10760 * gcse.c (compute_hash_table, compute_store_table): Update
10761 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
10764 * config/avr/avr.c: Fix typo.
10765 * config/convex/convex.c (expand_movstr): Use adjust_address.
10766 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
10768 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
10769 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
10771 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
10772 Do define STACK_BOUNDARY.
10773 * config/i370/i370.c: Include expr.h.
10774 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
10775 config/pa/som.h, config/v850/v850.h: Take in_ctors and
10776 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
10777 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
10778 * config/m88k/m88k.c: Include c-tree.h after expr.h.
10779 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
10780 * config/romp/romp.c: Include expr.h after tree.h.
10782 (output_fpop): Use xmalloc, not oballoc.
10783 * config/we32k/we32k.c: Include expr.h.
10785 2001-08-10 Kazu Hirata <kazu@hxi.com>
10787 * config/h8300/h8300.h: Fix formatting.
10789 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
10791 * c-common.h (RETURN_NULLIFIED_P): Lose.
10792 * c-semantics.c (genrtl_return_stmt): Don't check it.
10794 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10796 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
10797 (mips_annotate_frame_insn): New function.
10798 (mips_emit_frame_related_store): New function.
10799 (save_restore_insns): Don't mark instructions that set up the base
10800 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
10801 the store instructions instead.
10802 (mips_expand_prologue): If the stack size is moved into a temporary
10803 register, do not mark that move as frame-related. Add a
10804 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
10806 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10808 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
10809 stack slot as unchanging if current_function_calls_eh_return.
10811 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10813 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
10814 access the second half of the TFmode scratch operand.
10816 2001-08-10 Anthony Green <green@redhat.com>
10818 * java/class.c (emit_register_classes): Conditionalize code on
10821 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10823 * doc/install.texi (Specific, avr): Fix cross-reference to the
10824 main manual to work both for info and HTML versions.
10826 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
10828 * stmt.c (expand_null_return_1): Remove code to generate simple returns
10829 and "use_goto" argument.
10830 (expand_null_return, expand_value_return): Update all callers.
10831 * function.c (expand_function_end): Remove code to generate simple
10833 * config/vax/vax.md (epilogue): New expander for function return.
10834 * doc/md.texi (epilogue): Remove "if defined".
10836 2001-08-09 Zack Weinberg <zackw@stanford.edu>
10838 * Makefile.in: Partially revert my previous change:
10839 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
10840 of the hashtab.o and safe-ctype.o rules.
10842 2001-08-09 Richard Henderson <rth@redhat.com>
10844 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
10845 (USE_COLLECT2): Remove duplicate definition.
10846 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
10847 (use_collect2): Remove dead code.
10848 * configure.in (use_collect2): Remove will_use_collect2 and
10849 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
10850 * configure: Rebuild.
10852 * target.h (targetm.asm_out.constructor): New.
10853 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
10854 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
10855 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
10856 * varasm.c (in_ctors, in_dtors): New.
10857 (assemble_constructor, assemble_destructor): Remove.
10858 (default_stabs_asm_out_destructor): New.
10859 (default_named_section_asm_out_destructor): New.
10860 (dtors_section, default_dtor_section_asm_out_destructor): New.
10861 (default_stabs_asm_out_constructor): New.
10862 (default_named_section_asm_out_constructor): New.
10863 (ctors_section, default_ctor_section_asm_out_constructor): New.
10864 * output.h: Update declarations.
10865 * c-decl.c (c_expand_body): Use target hooks instead of
10866 assemble_constructor and assemble_destructor.
10867 * profile.c (output_func_start_profiler): Likewise.
10868 * objc/objc-act.c (finish_objc): Likewise.
10869 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
10870 for the constructor.
10871 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
10873 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
10874 (DTORS_SECTION_ASM_OP): Likewise.
10875 (__CTOR_LIST__): Use attribute section when possible.
10876 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
10878 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
10879 ASM_OUTPUT_CONSTRUCTOR.
10881 * config/darwin.c (machopic_asm_out_constructor): New.
10882 (machopic_asm_out_destructor): New.
10883 * config/darwin-protos.h: Update declarations.
10884 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10885 (ASM_OUTPUT_DESTRUCTOR): Remove.
10886 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10887 * config/nextstep.c (nextstep_asm_out_constructor): New.
10888 (nextstep_asm_out_destructor): New.
10889 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10890 (ASM_OUTPUT_DESTRUCTOR): Remove.
10891 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10892 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
10893 ASM_OUTPUT_*STRUCTOR.
10894 * config/i386/aix386ng.h: Likewise.
10896 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
10897 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
10898 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
10899 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10900 * config/lynx.h: Likewise.
10901 * config/netware.h: Likewise.
10902 * config/psos.h: Likewise.
10903 * config/alpha/alpha-interix.h: Likewise.
10904 * config/alpha/elf.h: Likewise.
10905 * config/arc/arc.h: Likewise.
10906 * config/arm/aof.h: Likewise.
10907 * config/arm/coff.h: Likewise.
10908 * config/arm/elf.h: Likewise.
10909 * config/c4x/c4x.h: Likewise.
10910 * config/h8300/h8300.h: Likewise.
10911 * config/i386/cygwin.h: Likewise.
10912 * config/i386/djgpp.h: Likewise.
10913 * config/i386/i386-coff.h: Likewise.
10914 * config/i386/i386-interix.h: Likewise.
10915 * config/i386/sco5.h: Likewise.
10916 * config/i386/vsta.h: Likewise.
10917 * config/i386/win32.h: Likewise.
10918 * config/i960/i960-coff.h: Likewise.
10919 * config/ia64/sysv4.h: Likewise.
10920 * config/m68hc11/m68hc11.h: Likewise.
10921 * config/m68k/coff.h: Likewise.
10922 * config/m68k/mot3300.h: Likewise.
10923 * config/m88k/m88k.h: Likewise.
10924 * config/mcore/mcore-pe.h: Likewise.
10925 * config/mcore/mcore.h: Likewise.
10926 * config/mips/elf.h: Likewise.
10927 * config/mips/elf64.h: Likewise.
10928 * config/mips/iris6.h: Likewise.
10929 * config/pa/pa64-hpux.h: Likewise.
10930 * config/rs6000/sysv4.h: Likewise.
10931 * config/sh/sh.h: Likewise.
10932 * config/sparc/litecoff.h: Likewise.
10934 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
10935 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
10936 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10937 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10938 (ASM_OUTPUT_DESTRUCTOR): Remove.
10939 * config/a29k/a29k.c: Move include of tree.h.
10940 * config/a29k/udi.h: Delete file.
10941 * config/alpha/alpha.c (vms_asm_out_constructor): New.
10942 (vms_asm_out_destructor): New.
10943 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
10944 (EXTRA_SECTION_FUNCTIONS): Likewise.
10945 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10946 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10947 * config/c4x/c4x.c: Move include of tree.h.
10948 * config/clipper/clipper.c (clix_asm_out_constructor): New.
10949 (clix_asm_out_destructor): New.
10950 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10951 (ASM_OUTPUT_DESTRUCTOR): Remove.
10952 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10953 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10954 (TARGET_ASM_CONSTRUCTOR): New.
10955 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
10956 (sco_asm_out_constructor): New.
10957 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
10958 * config/i386/svr3gas.h: Remove stack grows up code.
10959 Remove code duplicated from i386/sysv3.h.
10960 (TARGET_ASM_CONSTRUCTOR): New.
10961 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10962 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
10963 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10964 (TARGET_ASM_CONSTRUCTOR): New.
10965 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
10966 (m68hc11_asm_out_destructor): New.
10967 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
10968 (TARGET_ASM_DESTRUCTOR): New.
10969 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
10970 * config/m68k/dpx2.h: Properly undef all the bits inherited from
10971 config/svr3.h pertaining to section manipulation.
10972 * config/m68k/dpx2g.h: Remove #if 0 code.
10973 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
10974 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
10975 (ASM_OUTPUT_CONSTRUCTOR): Remove.
10976 (TARGET_ASM_CONSTRUCTOR): New.
10977 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
10978 (m88k_svr3_asm_out_constructor): New.
10979 (m88k_svr3_asm_out_destructor): New.
10980 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10981 (ASM_OUTPUT_DESTRUCTOR): Remove.
10982 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10983 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
10984 * config/rs6000/aix.h: Likewise.
10985 * config/mips/rtems64.h: Don't undef removed constructor related bits.
10986 * config/mips/vxworks.h: Likewise.
10987 * config/rs6000/lynx.h: Likewise.
10988 * config/sh/elf.h: Likewise.
10989 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
10990 (DTORS_SECTION_ASM_OP): New.
10991 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10992 (ASM_OUTPUT_DESTRUCTOR): Remove.
10993 * config/sparc/sol2-sld-64.h: Likewise.
10994 * config/vax/vax.c (vms_asm_out_constructor): New.
10995 (vms_asm_out_destructor): New.
10996 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10997 (ASM_OUTPUT_DESTRUCTOR): Remove.
10998 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11000 * doc/tm.texi (@node Initialization): Update.
11002 2001-08-09 Richard Henderson <rth@redhat.com>
11004 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
11005 (__do_global_dtors_aux): Use gp-relative static data to avoid
11006 one dynamic relocation.
11007 (__do_frame_setup): Register Java classes.
11008 * config/alpha/crtend.asm (__JCR_END__): New.
11010 2001-08-09 Zack Weinberg <zackw@stanford.edu>
11012 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
11013 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
11014 (GEN, STAGESTUFF): Add new files.
11015 (insn-constants.h, s-constants, tm-preds.h, s-preds,
11016 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
11017 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
11018 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
11019 as well as insn-codes.h and insn-flags.h in config.h; and no
11020 extra headers in tconfig.h and hconfig.h.
11022 * gencodes.c: Eliminate code to generate predicate declarations
11023 or #defines for md-file constants.
11024 * genconstants.c, genpreds.c: New files.
11026 * i386.md: Re-order guard expressions such that TARGET_64BIT
11027 comes first, when this permits better optimization. Add
11028 TARGET_64BIT to more x86-64 patterns. Add comment explaining
11029 why this is desirable.
11031 2001-08-09 Jakub Jelinek <jakub@redhat.com>
11033 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
11034 (find_fde_for_dso): Remove.
11035 (_Unwind_IteratePhdrCallback): New.
11036 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
11037 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
11039 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11041 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
11042 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
11044 2001-08-09 Graham Stott <grahams@redhat.com>
11046 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
11047 (vis_no_unit): Use it.
11048 (visualize_no_unit): Add the insn only if room exists.
11050 2001-08-09 Graham Stott <grahams@redhat.com>
11052 * predict.c (estimate_probability): Replace magic numbers with
11053 appropriate enumeration.
11055 2001-08-09 Graham Stott <grahams@redhat.com>
11057 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
11059 (EXTRACT_FLAGS): Likewise.
11061 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
11063 * config/mips/mips.c (mips_legitimate_address_p): Check for
11064 CONST_INT in last patch.
11066 2001-08-08 Anthony Green <green@redhat.com>
11068 * java/class.c (emit_register_classes): Use assemble_jcr if
11069 possible. Keep the original mechanism as a fallback.
11070 * defaults.h (JCR_SECTION_NAME): Define if we have named section
11071 and weak symbol support.
11072 * crtstuff.c (__JCR_LIST__): Define.
11073 (__JCR_END__): Define.
11074 (_Jv_RegiserClasses): Define weak symbol if possible.
11075 (__do_global_ctors_aux): Register classes for ELF targets with
11076 weak symbol support.
11078 2001-08-08 Kazu Hirata <kazu@hxi.com>
11080 * dbxout.c: Fix comment formatting.
11081 * dependence.c: Likewise.
11083 * diagnostic.c: Likewise.
11084 * dominance.c: Likewise.
11085 * doprint.c: Likewise.
11086 * dwarf2out.c: Likewise.
11087 * dwarfout.c: Likewise.
11088 * emit-rtl.c: Likewise.
11089 * except.c: Likewise.
11090 * explow.c: Likewise.
11091 * expmed.c: Likewise.
11092 * expr.c: Likewise.
11093 * flow.c: Likewise.
11094 * fold-const.c: Likewise.
11095 * function.c: Likewise.
11097 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11099 * global.c (retry_global_alloc): Avoid shadowing allocno.
11101 2001-08-08 Mark Mitchell <mark@codesourcery.com>
11103 * except.c (remove_fixup_regions): Fix typo.
11105 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
11107 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
11108 unsigned HOST_WIDE_INT to avoid warning.
11109 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
11110 * flow.c (set_block_for_new_insns): Likewise.
11112 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
11114 * sibcall.c (return_value_pseudo): New static variable.
11115 (skip_copy_to_return_value): Handle return_value_pseudo.
11116 (call_ends_block_p): Ensure that return_value_pseudo is set.
11117 (optimize_sibling_and_tail_recursive_call): Discover the
11118 load of pseudo return value in alternate exit block.
11120 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
11122 * calls.c (ECF_ALWAYS_RETURN): New constant.
11123 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
11124 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
11125 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
11126 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
11127 * rtl.c (reg_note_name): New name.
11128 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
11130 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
11132 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
11134 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
11136 * alias.c (get_alias_set): Return a previously calculated
11137 alias set for a VAR_DECL.
11138 * function.c (gen_mem_addressof): Calculate the alias set before
11141 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
11143 * predict.def: Set hitrates according our experimental run.
11145 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
11147 * i386.h (HARD_REGNO_RENAME_OK): New macro.
11149 2001-08-08 H.J. Lu <hjl@gnu.org>
11151 * config/mips/mips.c (mips_unique_section): New. Copied from
11154 * config/mips/mips-protos.h (mips_unique_section): New
11157 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
11159 * config/mips/little.h: New. Generic little endian mips
11160 targets. Only mips*-*-linux* is converted to use it so far.
11162 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
11163 (WCHAR_TYPE): Defined
11164 (WCHAR_TYPE_SIZE): Likewise.
11165 (INIT_SUBTARGET_OPTABS): Likewise.
11166 (BSS_SECTION_ASM_OP): Likewise.
11167 (SBSS_SECTION_ASM_OP): Likewise.
11168 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11169 (ASM_DECLARE_OBJECT_NAME): Likewise.
11170 (UNIQUE_SECTION): Likewise.
11171 (EXTRA_SECTIONS): Likewise.
11172 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
11173 (ASM_OUTPUT_DESTRUCTOR): Likewise.
11174 (ASM_OUTPUT_DEF): Likewise.
11175 (HANDLE_SYSV_PRAGMA): Removed.
11176 (NO_IMPLICIT_EXTERN_C): Likewise.
11177 (TARGET_MEM_FUNCTIONS): Likewise.
11178 (STARTFILE_SPEC): Likewise.
11179 (ENDFILE_SPEC): Likewise.
11180 (LIB_SPEC): Likewise.
11181 (INVOKE__main): Likewise.
11182 (CTOR_LIST_BEGIN): Likewise.
11183 (CTOR_LIST_END): Likewise.
11184 (DTOR_LIST_BEGIN): Likewise.
11185 (DTOR_LIST_END): Likewise.
11186 (SET_ASM_OP): Likewise.
11187 (ASM_OUTPUT_SOURCE_LINE): Likewise.
11188 (ASM_OUTPUT_DEF): Likewise.
11189 (ASM_OUTPUT_IDENT): Likewise.
11191 * config/mips/mips.h (ASM_SPEC): Undefine before define.
11192 (CPLUSPLUS_CPP_SPEC): Likewise.
11193 (ASM_APP_ON) Redefine only if not defined.
11194 (ASM_APP_OFF): Likewise.
11195 (ASM_OUTPUT_SOURCE_LINE): Likewise.
11196 (ASM_OUTPUT_IDENT): Likewise.
11198 * config.gcc: Update tm_file for Linux/mips.
11200 2001-08-08 Bernd Schmidt <bernds@redhat.com>
11202 * cselib.c (cselib_record_sets): If insn is predicated, turn
11203 sources into IF_THEN_ELSEs.
11205 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
11206 Turn into define_insn_and_split.
11208 * sched-deps.c: Include "cselib.h".
11209 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
11210 Use cselib to turn memory addresses into VALUEs.
11211 (sched_analyze): Call cselib_init/cselib_finish if necessary.
11212 * sched-int.h (struct sched_info): New member USE_CSELIB.
11213 * sched-ebb.c (ebb_sched_info): Initialize it.
11214 * sched-rgn.c (rgn_sched_info): Likewise.
11215 * Makefile.in (sched-deps.o): Update dependencies.
11217 * cselib.h (cselib_subst_to_values): Declare.
11218 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
11219 that have no value and autoincs to be handled by generating a new
11222 2001-08-08 Graham Stott <grahams@redhat.com>
11224 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
11225 within fixed length SEQUENCE.
11227 2001-08-08 Graham Stott <grahams@redhat.com>
11229 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
11230 (diagnostic_prefixing_rule): Likewise.
11231 (diagnostic_line_cutoff): Likewise.
11232 (diagnostic_kind_count): Likewise.
11234 2001-08-08 Graham Stott <grahams@redhat.com>
11236 * alias.c (find_base_decl): Delete redundent assignment.
11238 2001-08-08 Graham Stott <grahams@redhat.com>
11240 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
11241 (abs): Uppercase and paranthesize macro parameter.
11242 (MEM_DEPENDENCY): Add whitespace.
11244 2001-08-08 Graham Stott <grahams@redhat.com>
11246 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
11247 failure check for CONST_INT
11249 2001-08-08 Graham Stott <grahams@redhat.com>
11251 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
11252 (libcall_dead_p): Likewise.
11254 (mark_used_regs): Constify fmt.
11255 (find_use_as_address): Likewise.
11257 2001-08-08 Graham Stott <grahams@redhat.com>
11259 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
11262 2001-08-08 Graham Stott <grahams@redhat.com>
11264 * combine.c (combine_simplify_rtx): Update comment and
11265 remove erroneous test.
11267 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
11269 * cppinit.c (cpp_finish): Pop the final buffer without comment.
11270 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
11271 take care to avoid multiple no-newline at EOF warnings in that
11274 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
11276 * calls.c (expand_call): Do not emit INSN_SETJMP note.
11277 (emit_library_call_value_1): Likewise.
11278 (emit_call_1): Emit REG_SETJMP note.
11279 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
11281 * cselib.c (cselib_process_insn): Likewise.
11282 * flow.c (propagate_block): Likewise.
11283 * loop.c (find_and_verify_loops): Likewise.
11284 * reload.c (find_equiv_regs): Likewise.
11285 * reload1.c (reload): Likewise.
11286 * resource.c (mark_referenced_resources,
11287 mark_set_resources): Likewise.
11288 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
11289 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
11290 * haifa-sched.c (unlink_other_notes): Likewise.
11291 (reemit_notes): Likewise.
11292 * sched-ebb.c (sched_ebb): Likewise.
11293 * sched-rgc.c (sched_region): Likewise.
11294 * rtl.c (note_insn_name): Likewise.
11295 (reg_note_name): Add REG_SETJMP
11296 * rtl.h (reg_note): Add REG_SETJMP.
11297 (insn_note): Remove NOTE_INSN_SETJMP.
11299 * profile.c (branch_prob): Add fake edges for setjmp.
11301 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
11303 * config.gcc: Quote target_cpu_default2 correctly for
11304 powerpc*-*-* targets.
11306 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
11308 * cpplib.h, line-map.h: Update comments.
11309 * cppmain.c (printer_init): Move inline.
11310 (maybe_print_line, print_line): Take a map pointer.
11311 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
11312 (cb_file_change): Don't use prior value of print.map.
11314 2001-08-07 David Edelsohn <edelsohn@gnu.org>
11316 * doc/install.texi: Document fine-grained multilib configuration.
11318 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11320 * rtlanal.c (find_first_parameter_load): Call note_stores
11321 only on the instructions.
11323 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
11325 * alias.c (nonlocal_mentioned_p):
11326 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
11327 * calls.c (emit_call_1): Likewise.
11328 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
11329 * cselib.c (cselib_process_insn): Likewise.
11330 * df.c (df_insns_modify): Likewise.
11331 * flow.c (need_fake_edge_p): Likewise.
11332 (propagate_one_insn): Likewise.
11333 * haifa-sched.c (reemit_notes): Likewise.
11334 * integrate.c (copy_insn_list): Likewise.
11335 * jump.c (delete_prior_computation): Likewise.
11336 * local-alloc.c (validate_equiv_mem): Likewise.
11337 * loop.c (scan_loop): Likewise.
11338 * predict.c (estimate_probability): Likewise.
11339 * reload.c (reload): Likewise.
11340 * sched-deps (sched_analyze): Likewise.
11341 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
11342 * gcse.c (compute_hash_table): Likewise.
11343 (mark_call): Likewise.
11344 (store_killed_in_insn): Likewise.
11346 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
11348 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
11350 2001-08-06 Richard Henderson <rth@redhat.com>
11352 * varasm.c (assemble_gc_entry): Remove.
11353 * output.h: Likewise.
11355 2001-08-06 Richard Henderson <rth@redhat.com>
11357 * varasm.c (assemble_constructor): Take a symbol_ref and a
11358 priority instead of a bare string. Move priority handling
11359 here from cp/decl2.c.
11360 * output.h: Update decls.
11362 * c-decl.c (c_expand_body): Update calls to assemble_constructor
11363 and assemble_destructor.
11364 * profile.c (output_func_start_profiler): Likewise.
11365 * objc/objc-act.c (finish_objc): Likewise.
11366 (build_module_descriptor): Return the symbol not the symbol name.
11368 2001-08-06 David Edelsohn <edelsohn@gnu.org>
11370 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
11371 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
11372 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
11373 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
11374 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
11375 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
11377 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
11379 * cpperror.c (print_containing_files): Moved to line-map.c.
11380 (print_location): line-map.c handles re-listing or otherwise.
11381 * cpphash.h (struct lexer_state): Remove next_bol.
11382 (struct cpp_buffer): Remove include_stack_listed.
11383 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
11384 Remove faked buffer handling.
11385 (_cpp_do_file_change): Tweak.
11386 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
11387 * cppmain.c (struct printer): Remove filename.
11388 (print_line, cb_file_change): Update accordingly.
11389 * line-map.c: Include intl.h.
11390 (init_line_maps): Initialize last_listed.
11391 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
11392 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
11393 (print_containing_files): New.
11394 * line-map.h (struct line_maps): New member last_listed.
11395 (print_containing_files, INCLUDED_FROM): New.
11396 * Makefile.in: Update.
11397 * po/POTFILES.in: Add line-map.c.
11399 2001-08-06 Richard Henderson <rth@redhat.com>
11401 * except.c (convert_from_eh_region_ranges_1): Never mark
11402 USE or CLOBBER insns as throwing.
11404 * expr.c (store_constructor): Don't clobber memory targets.
11406 2001-08-06 Andreas Jaeger <aj@suse.de>
11408 * profile.c (branch_prob): Remove unused variable insn.
11410 * Makefile.in (local-alloc.o): Add dependency on except.h.
11412 * local-alloc.c: Include except.h for can_throw_internal prototype.
11414 2001-08-06 Richard Henderson <rth@redhat.com>
11416 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
11417 * function.c (expand_main_function): Implement it.
11418 * doc/tm.texi: Document it.
11420 2001-08-06 Stan Shebs <shebs@apple.com>
11422 * doc/install.texi: Document powerpc-*-darwin* details.
11424 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
11426 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
11427 (ASM_CPU_SPEC): Move back to rs6000.h
11428 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
11430 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
11432 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
11435 * config/rs6000/linux64.h: Ditto.
11437 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
11438 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
11441 Remove accidently readded definitions of FUNCTION_PROLOGUE,
11442 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
11444 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
11447 2001-08-05 Richard Henderson <rth@redhat.com>
11449 * local-alloc.c (update_equiv_regs): Do not move insns that
11452 2001-08-05 Jan Hubicka <jh@suse.cz>
11454 * Makefile.in (reload1.o): Add dedendancy on except.h
11455 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
11457 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
11458 indicating wehther edges has been cleaned up.
11459 * reload1.c: Inlucde except.h
11460 (fixup_abnormal_edges): Accept deleted insns.
11461 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
11464 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
11466 * cpplib.c (do_line): Correct line number after pop_buffer.
11468 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
11470 PR preprocessor/3824
11471 * line-map.c: Update comments.
11472 * line-map.h: Update comments.
11473 * tradcif.y: Don't consider large numbers unsigned.
11475 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
11477 PR preprocessor/3081
11478 * c-lex.c (map): New.
11479 (cb_file_change): Update map and use it.
11480 (cb_def_pragma, cb_define, cb_undef): Use map and line.
11481 (c_lex): Update to use map.
11482 * cpperror.c (print_location): Move to using logical line numbers.
11483 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
11484 (cpp_make_system_header): Similarly.
11485 (_cpp_execute_include): Stop line numbering hacks. Store the
11486 line we will return to.
11487 * cpphash.h (CPP_BUF_LINE): Remove.
11488 (struct cpp_buffer): Remove lineno and pseudo_newlines.
11489 Add map and return_to_line.
11490 (_cpp_do_file_change): Update.
11491 * cppinit.c (cpp_start_read): Update line kludge.
11492 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
11493 (trigraph_ok): Use logical line numbers for diagnostics.
11494 (skip_block_comment): Likewise.
11495 (skip_whitespace): Likewise.
11496 (skip_line_comment): Use pfile->line instead.
11497 (_cpp_lex_token): Update to use logical line numbering exclusively.
11498 Handle BOL locally. Accept new lines in directives, but keep
11499 pfile->line decremented. Diagnostics use logical lines. Update
11500 directive handling.
11501 * cpplib.c (SEEN_EOL): New.
11502 (skip_rest_of_line, check_eol): Use it.
11503 (end_directive): Increase line number when accepting the newline
11504 at the end of a directive.
11505 (run_directive): Simplify.
11506 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
11507 (_cpp_do_file_change): Update to take buffer line number as an
11508 argument, and store the current map in the cpp_reader. Remove
11509 line number kludges.
11510 (_cpp_do__Pragma): Restore output position after a _Pragma.
11511 (cpp_push_buffer): Don't set output line or lineno.
11512 (_cpp_pop_buffer): Transfer more info from a faked buffer.
11513 Remove line kludge. Set output_line.
11514 * cppmacro.c (builtin_macro): Update handling of __LINE__.
11515 (parse_arg): Use logical lines.
11516 (save_lookahead_token): Save EOFs too now.
11517 * cppmain.c (struct printer): Fix comments.
11518 (printer_init): Simplify, let caller do errors.
11519 (scan_translation_unit, check_multiline_token, dump_macro): Update.
11520 (maybe_print_line): Simplify.
11521 (print_line): Don't print a linemarker if -P.
11522 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
11523 (cb_file_change): Simplify.
11524 * line-map.h (LAST_SOURCE_LINE): Fix.
11525 (CURRENT_LINE_MAP): New.
11527 2001-08-05 Bernd Schmidt <bernds@redhat.com>
11529 * doloop.c (doloop_modify_runtime): Properly compute number of
11530 iterations if loop was unrolled.
11532 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
11533 if their CSELIB_VAL_PTRs are.
11535 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
11536 (setup_spill_pointers): Initialize it.
11537 (spill_restore_mem): Set it.
11538 (do_spill, do_restore): Use it to add REG_INC note.
11539 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
11541 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
11542 asms if other insns are available.
11544 * config/ia64/ia64.c (condop_operator): New predicate.
11545 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
11546 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
11549 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
11550 temporary register than directly using a MEM.
11552 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11554 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
11555 parameter in last change.
11557 2001-08-04 Zack Weinberg <zackw@panix.com>
11559 * sparc.md: Don't use #if inside C test expression.
11561 2001-08-04 Richard Henderson <rth@redhat.com>
11563 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
11565 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
11567 * cpphash.h (struct cpp_reader): New member directive_line.
11568 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
11569 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
11570 do_pragma): Pass line to callbacks.
11571 (start_directive): Record line of directive.
11572 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
11573 cb_include): Similarly.
11574 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
11577 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11579 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
11582 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
11584 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
11586 * reload1.c (fixup_abnormal_edges): New static function.
11589 * flow.c (need_fake_edge_p): New function.
11590 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
11591 avoid call insn to be very last insn in the insn stream.
11593 * profile.c (branch_prob): Call flow_call_edges_add instead of
11594 doing that by hand; cleanup cfg to re-merge basic blocks once
11597 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11599 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
11600 are also on line-map.h.
11601 * cppfiles.c (stack_include_file): Update.
11602 * cpphash.h (struct cpp_buffer): New member return_at_eof.
11603 (_cpp_pop_buffer): New.
11604 * cppinit.c (cpp_destroy, cpp_finish): Update.
11605 (do_includes): Mark each buffer to return at EOF.
11606 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
11607 return as requested.
11608 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
11609 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
11610 * cpplib.h (cpp_pop_buffer): Remove.
11611 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
11612 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
11614 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
11616 (do_preprocessing): Update.
11617 * fix-header.c (read_scan_file): Update. No need to pop buffers.
11618 * c-parse.in (_yylex): Similarly.
11619 * scan-decls.c (scan_decls): Similarly.
11620 * line-map.h: Update comments.
11622 * objc/Make-lang.in (objc-act.o): Update dependencies.
11624 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11626 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
11627 and soft register for operand 0.
11628 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
11630 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11632 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
11633 register for operand 0.
11634 ("bitcmpqi_z_used"): Allow memory for operand 0.
11635 (split "bitcmpqi"): New split to handle address reg as operand 1.
11637 2001-08-04 Andreas Jaeger <aj@suse.de>
11639 * gcse.c: Revert Daniel's last patch.
11641 2001-08-03 Zack Weinberg <zackw@stanford.edu>
11643 * sparc-protos.h: Add prototypes for fp_zero_operand and
11645 * sh-protos.h: Add prototype for fpul_operand.
11647 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11649 * doc/extend.texi (Other Builtins): Fix typo in last change.
11651 2001-08-03 Richard Henderson <rth@redhat.com>
11653 * target.h (gcc_target): Add asm_out.named_section,
11654 section_type_flags, have_named_sections.
11655 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
11656 (TARGET_HAVE_NAMED_SECTIONS): New.
11657 (TARGET_SECTION_TYPE_FLAGS): New.
11659 * Makefile.in (toplev.o): Depend on TARGET_H.
11660 (varasm.o, dbxout.o): Likewise.
11661 * c-common.c (decl_attributes): Check targetm.have_named_sections
11662 instead of ifdef ASM_OUTPUT_SECTION_NAME.
11663 * dbxout.c (dbxout_function_decl): Likewise.
11664 (dbxout_function_end): Likewise.
11665 * toplev.c (compile_file): Likewise.
11666 * varasm.c (exception_section): Likewise.
11667 * cp/decl2.c (finish_objects): Likewise.
11669 * defaults.h (EH_FRAME_SECTION): Remove.
11670 (EH_FRAME_SECTION_ASM_OP): Remove.
11671 (EH_FRAME_SECTION_NAME): New.
11672 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
11673 (UNIQUE_SECTION_P): Remove.
11674 * dwarf2out.c (SECTION_FORMAT): Remove.
11675 (ASM_OUTPUT_SECTION): Remove.
11676 (output_call_frame_info): Use named_section_flags.
11677 (output_comp_unit, dwarf2out_start_source_file): Likewise.
11678 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
11679 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
11680 * varasm.c (in_eh_frame, eh_frame_section): Remove.
11681 (named_section_flags): New.
11682 (named_section): Use it and targetm.section_type_flags.
11683 (resolve_unique_section): New.
11684 (assemble_start_function): Use it.
11685 (asm_emit_uninitialised, assemble_variable): Likewise.
11686 (default_section_type_flags): New.
11687 (default_no_named_section, default_elf_asm_named_section): New.
11688 (default_coff_asm_named_section, default_pe_asm_named_section): New.
11689 * output.h: Update varasm.c decls.
11690 (SECTION_*): New flags.
11692 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
11693 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
11695 * config/elfos.h (UNIQUE_SECTION_P): Remove.
11696 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
11697 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
11698 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
11699 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
11700 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
11701 * config/mips/elf.h, config/mips/elf64.h: Likewise.
11702 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
11703 * config/pa/pa64-hpux.h,
11705 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
11706 (TARGET_ASM_NAMED_SECTION): New.
11707 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
11708 * config/alpha/vms.h, config/arm/coff.h: Likewise.
11709 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
11710 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
11711 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
11712 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
11713 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
11714 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
11715 * config/i386/sco5.h, config/i386/win32.h: Likewise.
11716 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
11717 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
11718 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
11719 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
11720 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
11721 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
11722 * config/sparc/sysv4.h: Likewise.
11724 * config/nextstep.h: Error until named sections implemented.
11726 * config/a29k/a29k.c (a29k_asm_named_section): New.
11727 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
11728 (vms_section_type_flags, vms_asm_named_section): New.
11729 * config/arm/arm.c (arm_elf_asm_named_section): New.
11730 * config/avr/avr.c (asm_output_section_name): Remove.
11731 * config/avr/avr-protos.h: Update.
11732 * config/c4x/c4x.c (c4x_asm_named_section): New.
11733 * config/h8300/h8300.c (h8300_asm_named_section): New.
11734 * config/i386/i386.c (sco_asm_named_section): New.
11735 * config/i386/winnt.c (SECTION_PE_SHARED): New.
11736 (i386_pe_section_type_flags): New.
11737 (i386_pe_asm_named_section): New.
11738 * config/i386/i386-protos.h: Update.
11739 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
11740 * config/mcore/mcore.c (mcore_asm_named_section): New.
11741 * config/mips/mips.c (iris6_asm_named_section): New.
11742 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
11743 instead of UNIQUE_SECTION_P.
11744 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
11745 (xcoff_asm_named_section): New.
11746 * config/sh/sh.c (sh_asm_named_section): New.
11747 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
11749 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
11750 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
11751 (EH_FRAME_SECTION_NAME): New.
11752 (EXCEPTION_SECTION): New.
11753 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
11754 (DEBUG_*_SECTION): Remove.
11755 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
11756 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
11757 (EH_FRAME_SECTION_ASM_OP): Remove.
11759 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
11760 (ASM_OUTPUT_SECTION_NAME): Remove.
11761 (TARGET_ASM_NAMED_SECTION): New.
11762 (TARGET_HAVE_NAMED_SECTIONS): New.
11763 (TARGET_SECTION_TYPE_FLAGS): New.
11764 (EH_FRAME_SECTION_ASM_OP): Remove.
11765 (EH_FRAME_SECTION_NAME): New.
11767 2001-08-03 Zack Weinberg <zackw@stanford.edu>
11769 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
11770 for complex expressions when cfun == 0.
11771 * doc/extend.texi: Document that __builtin_constant_p can be
11772 used in data initializers as well as functions.
11774 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
11776 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
11777 variable I locally, instead of expecting a declaration in the
11780 2001-08-03 Richard Henderson <rth@redhat.com>
11782 * except.c (collect_one_action_chain): Add an explicit cleanup
11783 action if regions surrounding a catch were encoded entirely
11784 within the call-site entry.
11786 2001-08-03 Richard Henderson <rth@redhat.com>
11788 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
11789 don't take REGNO of a non-register.
11791 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
11793 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
11794 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
11795 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
11796 (__gthread_mutex_init_function): New function for mutex initialization.
11798 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11800 * Makefile.in: Revert screwed up commit.
11802 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11804 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
11805 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
11806 merged by linker script to get a final _exit().
11807 (__do_global_dtors): New for destructor handling in specific exit
11809 (__do_global_ctors): New for constructors in specific install section.
11810 (__map_data_section): Map data sections before running constructors.
11811 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
11812 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
11813 (DTORS_SECTION_ASM_OP): Likewise.
11814 (CTORS_SECTION_FUNCTION): Define to force a reference to
11816 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
11818 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11820 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
11822 * Makefile.in: Add df.h to gcse.c dependencies.
11824 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
11826 * varasm.c (output_constant_def_contents): Use for the length of a
11827 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
11828 depending on which is larger.
11830 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11832 * gcse.c: Include df.h for use as a dataflow analyzer.
11834 Declaration of reg_set_info: gone.
11835 New df_analyzer variable used by store motion.
11836 (reg_set_info): Deleted.
11837 (mark_mem_regs): New function, analyze regs used by a mem.
11838 (store_ops_ok): Use dataflow analyzer results to determine if
11839 necessary regs are changed in the block.
11840 (find_moveable_store): Remove check for symbol ref, we can handle
11841 much more complex expressions now.
11842 (compute_store_table): Remove most of the code, it's unnecessary
11843 now that the dataflow analyzer records the info for us.
11844 (store_killed_after): Add parameter to say whether to do the
11845 store_ops_okay test, used to speed up testing when we already know
11846 the answer, and just want to know if the store itself was killed.
11847 (build_store_vector): Largely rewritten to calculate the various
11848 vectors properly, and somewhat optimized.
11849 (store_motion): Init the df_analyzer, get REG_DEF chains.
11850 Also handle trapping expressions (since mems almost always trap)
11851 (simple_mem): Redefine what a simple mem is.
11853 2001-08-03 DJ Delorie <dj@redhat.com>
11855 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
11856 set from a constant part of the condition.
11858 2001-08-01 Andrew Cagney <ac131313@redhat.com>
11860 * mkdeps.c (deps_add_default_target): Make local variable
11861 ``start'' a const char pointer.
11862 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
11864 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11866 * doc/install.texi (Configuration): Fix markup.
11867 (Specific, i?86-*-udk): Likewise.
11868 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
11870 Document --enable-threads and --enable-libgcj status.
11871 (Specific, mips-sgi-irix*): Canonicalize triples.
11872 (Specific, mips-sgi-irix5): Warn about problems with this config.
11873 Mention required GNU as patch.
11874 Native assembler problems are fixed.
11875 (Specific, mips-sgi-irix6): Update O32 ABI support status.
11876 Document --enable-threads and --enable-libgcj status.
11878 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11880 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
11883 2001-08-03 Richard Henderson <rth@redhat.com>
11885 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
11888 2001-08-03 Richard Henderson <rth@redhat.com>
11890 * rtlanal.c (find_first_parameter_load): Stop if we
11891 reach a CODE_LABEL at BOUNDARY.
11893 2001-08-03 Richard Henderson <rth@redhat.com>
11895 * config/alpha/alpha.md (force_movdi): New insn.
11896 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
11897 Tweek FRP marking of VMS prologue insns.
11898 * config/alpha/vms.h (EPILOGUE_USES): New.
11900 2001-08-02 Richard Henderson <rth@redhat.com>
11902 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
11904 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
11906 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
11907 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
11908 config/convex/convex.h, config/d30v/d30v.c,
11909 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
11910 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
11911 config/mips/mips.h, config/mn10200/mn10200.h,
11912 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
11913 config/v850/v850.h, config/vax/openbsd.h,
11914 config/vax/openbsd1.h, config/vax/ultrix.h,
11915 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
11916 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
11917 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
11918 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
11919 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
11920 in comments and documentation.
11922 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11926 * Makefile.in (line-map.o): New.
11927 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
11928 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
11929 * cpperror.c (print_containing_files): Similarly.
11930 (print_location): Update. Don't output a space before _Pragma.
11931 * cppfiles.c (stack_include_file): Set to line 1 immediately.
11932 (stack_include_filee, cpp_make_system_header): Update.
11933 (_cpp_execute_include): Get logical line number right for calling
11934 as-yet-unterminated #include.
11935 * cpphash.h (struct cpp_reader): Add line_maps.
11936 (_cpp_do_file_change): Update.
11937 * cppinit.c (cpp_create_reader): Initialize line maps.
11938 (cpp_destroy): Destroy line maps.
11939 (cpp_start_read): Get logical line number right.
11940 * cpplex.c (parse_string): Only warn once for multi-line strings.
11941 Use boolean variable for null warning.
11942 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
11944 (do_include_common): End the directive early.
11945 (do_line): Don't warn about out-of-range lines in preprocessed
11946 source. Update. Remove unused variables.
11947 (_cpp_do_file_change): Update for new line mapping.
11948 (pragma_cb): New typedef.
11949 (cpp_register_pragma): Stop looking ahead before calling the
11951 (do_pragma_system_header): End directive early.
11952 (cpp_get_line_maps): New.
11953 (cpp_pop_buffer): Fudge logical line. Update.
11954 * cpplib.h: Include line-map.h
11955 (enum cpp_fc_reason): Remove.
11956 (struct cpp_file_change): Update.
11957 (cpp_get_line_maps): New.
11958 * cppmain.c (struct_printer): New member map.
11959 (cb_file_change): Update for new mappings.
11960 * fix-header.c (cb_file_change): Similarly.
11962 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11964 * Makefile.in (libgcc.mk): Define mkinstalldirs.
11965 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
11967 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
11969 * config/vax/vax.c: include expr.h.
11971 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11973 * Makefile.in ($(srcdir)/configure): Only rebuild in
11975 ($(srcdir)/config.in): Only define in maintainer mode.
11976 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
11978 2001-08-02 David Edelsohn <edelsohn@gnu.org>
11980 * doc/install.texi (Install GCC: Binaries): Update Bull info.
11982 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11984 * gcc.c (set_collect_gcc_options): New function, split out from
11986 Ignore elided switches.
11987 (do_spec_1): Invoke before executing command.
11988 (set_input): Export.
11989 Move declaration ...
11990 * gcc.h (set_input): ... here.
11991 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11994 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
11997 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
11999 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
12001 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
12003 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
12004 for the unnamed instructions it expands to.
12006 2001-08-02 Richard Henderson <rth@redhat.com>
12008 * regclass.c (call_really_used_regs): Conditionally define.
12009 (init_reg_sets_1): Don't use it if not defined.
12010 (fix_register): Similarly, don't set it.
12012 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12014 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
12015 Correct comment that had been missed in the previous change.
12017 2001-08-01 Stan Shebs <shebs@apple.com>
12019 * config/darwin.c (machopic_stub_name): Try matching by name.
12020 (update_stubs): New function.
12021 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
12024 2001-08-01 Richard Henderson <rth@redhat.com>
12026 * except.c (output_function_exception_table): Use assemble_align.
12027 * varasm.c (assemble_eh_label): Remove.
12028 (assemble_eh_align, assemble_eh_integer): Remove.
12030 2001-08-01 Robert Lipe <robertl@caldera.com>
12032 * dwarfout.c: Remove reference to README.DWARF.
12034 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
12036 * regclass.c (call_really_used_regs): New array for registers which
12037 are actually used by a call.
12038 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
12040 (fix_register): Set call_really_used too.
12041 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
12042 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
12044 2001-08-01 Richard Henderson <rth@redhat.com>
12046 * read-rtl.c (read_name): Consider \r whitespace.
12048 2001-07-11 Andrew Cagney <ac131313@redhat.com>
12050 * config.gcc: Recognize powerpc-*-netbsd*.
12052 * doc/install.texi (Host/target specific installation notes for
12053 GCC): Mention powerpc-*-netbsd*.
12055 * config/rs6000/netbsd.h: New file.
12056 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
12057 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
12058 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
12059 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
12060 (TARGET_VERSION): Redefine.
12062 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
12063 mcall-netbsd as a match for mcall-sysv.
12064 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
12065 (ncrti.S, ncrtn.S): New targets.
12066 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
12068 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
12069 "netbsd' as a V4 ABI.
12070 (ASM_SPEC): Check for -mcall-netbsd.
12071 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
12072 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
12073 (LIB_SPEC, ENDFILE_SPEC): Ditto.
12074 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
12075 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
12076 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
12077 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
12079 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
12080 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
12082 2001-08-01 Mark Kettenis <kettenis@gnu.org>
12084 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
12085 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
12086 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
12087 including "unwind-pe.h".
12089 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
12091 * rs6000.md (define_splits): Kill unused constraints.
12093 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
12094 Jan Hubicka <jh@suse.cz>
12096 * function.c (thread_prologue_and_epilogue_insns): Kill code
12097 dealing with non-existent CFG.
12099 2001-08-01 Kazu Hirata <kazu@hxi.com>
12101 * alias.c: Fix comment formatting.
12102 * bitmap.c: Likewise.
12103 * builtins.c: Likewise.
12104 * calls.c: Likewise.
12105 * c-common.c: Likewise.
12106 * c-decl.c: Likewise.
12107 * c-dump.c: Likewise.
12108 * c-lex.c: Likewise.
12109 * collect2.c: Likewise.
12110 * combine.c: Likewise.
12111 * conflict.c: Likewise.
12112 * cppfiles.c: Likewise.
12113 * cppinit.c: Likewise.
12114 * cpplex.c: Likewise.
12115 * cpplib.c: Likewise.
12116 * cppmacro.c: Likewise.
12117 * cppspec.c: Likewise.
12118 * c-pragma.c: Likewise.
12119 * crtstuff.c: Likewise.
12121 * cselib.c: Likewise.
12122 * c-semantics.c: Likewise.
12123 * c-typeck.c: Likewise.
12125 2001-08-01 H.J. Lu <hjl@gnu.org>
12127 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
12129 2001-08-01 H.J. Lu <hjl@gnu.org>
12131 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
12133 2001-08-01 Ziemowit Laski <zlaski@apple.com>
12135 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
12136 contextualizing Objective-C class name lookup by the lexer.
12137 (typespec_reserved_nonattr): Disable ObjC class name lookup after
12139 (protocoldef): Add support for forward @protocol declarations.
12140 (yylexname): Suppress ObjC class name lookup in certain contexts;
12141 re-enable after lookup is complete.
12142 (_yylex): Re-enable ObjC class name lookup when certain
12143 punctuation marks are seen.
12145 * objc/objc-act.c (check_protocol_recursively): New function used
12146 for finding circular dependencies in protocols.
12147 (objc_declare_protocols): New function for handling forward
12148 @protocol declarations.
12149 (receiver_is_class_object): Detect the case when 'self' is used
12150 inside of a class method.
12151 (build_message_expr): Issue a warning if class method is desired
12152 but instance method is found instead.
12153 (conforms_to_protocol): Streamline.
12154 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
12155 protocol Foo, even if 'Bar foo' does not.
12156 (check_protocols): Streamline.
12157 (start_protocol): Add checks for circular and duplicate protocol
12159 (encode_aggregate_within): For typedefs of structs, encode the
12161 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
12162 (objc_declare_protocols): New prototype.
12164 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12166 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
12167 * cpplex.c (handle_newline): Update prototype. Maintain logical
12169 (skip_escaped_newlines, skip_block_comment, parse_string):
12170 Update accordingly.
12171 (_cpp_lex_token): Update, and store token position within the token.
12172 * cpplib.h (struct cpp_token): Add line and column entries.
12173 * cppmacro.c (replace_args): Position stringified tokens correctly.
12175 2001-08-01 Andreas Jaeger <aj@suse.de>
12177 * basic-block.h: Add prototype for last_loop_beg_note.
12179 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
12181 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
12182 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
12184 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
12185 while handling WITH_CLEANUP_EXPR node. Use second operand calling
12186 expand_decl_cleanup.
12187 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
12189 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
12190 operand while calling simple_cst_equal.
12191 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
12192 operand is the cleanup expression, the third is the RTL_EXPR.
12193 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
12195 2001-07-31 Jeff Sturm <jsturm@one-point.com>
12197 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
12199 2001-07-31 matthew green <mrg@eterna.com.au>
12201 * config.gcc (i386-*-netbsdelf): New description.
12202 * config/i386/netbsd-elf.h: New file.
12204 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
12206 * loop.c (check_dbra_loop): Use single_set to compute
12209 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
12211 PowerPC reorg and support for powerpc64-*-linux*.
12213 Also fixes emitting of constants on 32 bit and 64 bit
12216 * config.gcc: powerpc64-*-linux* is a new target.
12217 Things that needed aix.h now also include xcoff.h
12219 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
12221 Move AIX specific stuff into aix.h.
12222 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
12223 with more than just XCOFF now.
12224 (SET_ASM_OP): Remove, now defined where needed.
12225 (FUNCTION_PROLOGUE): New macro definition.
12226 (FUNCTION_EPILOGUE): New macro definition.
12227 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
12229 * config/rs6000/xcoff.h: New file.
12231 * config/rs6000/linux64.h: New file.
12233 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
12235 2001-07-31 Alan Modra <amodra@bigpond.net.au>
12237 * rs6000.c (print_operand_address): Handle ELF syntax.
12238 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
12239 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
12240 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
12242 2001-07-31 David Edelsohn <edelsohn@gnu.org>
12244 * rs6000.c (rs6000_override_options): Only disable
12245 flag_function_sections for XCOFF.
12246 (exact_log2_cint_operand): New predicate.
12247 (reg_or_{add,sub}_cint64_operand): New predicates.
12248 (add_operand): Compare CONST_INT with fewer function calls.
12249 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
12250 (print_operand, case 'p'): Ensure positive operand.
12251 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
12252 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
12253 (PREDICATE_CODES): Add new predicates.
12254 * rs6000.md (addsi3): Split 32-bit constants more correctly.
12255 (divsi3, modsi3): Ensure positive power-of-2.
12256 (adddi3): Use new predicate. Split 32-bit constants more
12257 correctly. Re-arrange splitter to handle any constant.
12258 (subdi3): Use new predicate.
12259 (divdi3, moddi3): Ensure positive power-of-2.
12260 (movdi): Use rs6000_emit_set_const.
12261 (load_toc_v4_pic_di): Delete.
12263 2001-07-31 Graham Stott <grahams@redhat.com>
12265 * function.c (pad_below): Revert 2001-07-26 patch.
12267 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12269 * reg-stack (convert_regs_1): Fix best edge condition.
12271 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
12273 * jump.c (duplicate_loop_exit_test): Better test for jumps
12274 entering the loop; create loop pre_header.
12276 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
12278 * doc/install.texi: Add s390 and s390x as new targets.
12279 * doc/invoke.texi: Add documentation of S/390 and zSeries
12281 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
12283 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
12285 * config/m68k/m68k.md: Replace all general_operand with
12286 nonimmediate_operand for all destinations.
12287 * config/m68k/m68k.c (not_sp_operand): Likewise.
12289 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
12291 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
12293 2001-07-30 Richard Henderson <rth@redhat.com>
12295 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
12296 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
12298 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
12300 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
12301 Add missing doc strings
12302 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
12303 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
12305 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
12307 * i386.c (ix86_output_main_function_alignment_hack): New function.
12308 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
12310 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
12311 edges by EDGE_DFS_BACK flag.
12312 (dump_edge_info): Add dfs_back flag.
12313 * basic-block.h (EDGE_DFS_BACK): New constant.
12314 (mark_dfs_back_edges): Declare.
12315 * alias.c (loop_p): Remove.
12316 (mark_constant_function): Use mark_dfs_back_edges.
12318 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
12319 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
12320 (compensate_edge): Break out from ...
12321 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
12322 (convert_regs_2): Set block_done once block is really done;
12323 Do updating of the predecessors counts.
12325 * toplev.c (rest_of_compilation): Recompute block_for_insn
12326 before post-reload cfg_cleanup.
12327 * function.c (thread_prologue_epilogue_insns):
12328 Call set_block_for_new_insns when emitting prologue directly.
12330 2001-07-30 Andreas Jaeger <aj@suse.de>
12332 * jump.c: Add prototype for mark_modified_reg.
12334 * cse.c (set_live_p): Add unused attribute.
12336 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
12338 (scan_for_source_files): Use long for count to avoid overflow.
12339 (output_data): Likewise.
12340 (output_data): Don't use string concatatenation to silence gcc
12343 * predict.c: Fix typos and grammar.
12345 * gcse.c (insert_insn_end_bb): Remove unused variables.
12347 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
12349 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
12350 (attempt_auto_inc): LIkewise.
12351 (mark_used_reg): Likewise.
12352 (try_pre_increment_1): Likewise.
12353 * regclass.c (regclass): Likewise.
12354 * global.c (allocno_compare): Update comment; change scaling factor.
12355 * local-alloc.c (QTY_CMP_PRI): Likewise.
12356 * regs.h (REG_FREQ_FROM_BB): New.
12357 (REG_FREQ_MAX): Likewise.
12359 2001-07-30 H.J. Lu <hjl@gnu.org>
12361 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
12364 2001-07-30 H.J. Lu (hjl@gnu.org)
12366 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
12367 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12368 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
12370 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
12372 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
12373 as -mthumb-interwork when -mcpu=arm7 is specified.
12375 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12377 * predict.def (noreturn, loop branch, loop exit): Mark as first
12380 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
12382 * combine.c (try_combine): Avoid barrier after noop jumps.
12384 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12386 * cpphash.h (struct cpp_reader): Remove import_warning.
12387 * cpplib.c (skip_rest_of_line): Don't bother turning off
12389 (parse_include): Move include handling to...
12390 (do_include_common): ... here. Move import warning from...
12391 (do_import): ... here.
12392 (do_pragma_poison): Don't do a callback for poison identifiers.
12393 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
12394 * cppmain.c (setup_callbacks): Similarly.
12396 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
12398 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
12399 handle multiple sets.
12400 * except.c (sjlj_mark_call_sites): .... here.
12401 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
12403 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
12405 Suggested by Richard Henderson and Richard Kenner:
12406 * combine.c (recog_for_combine): Use the fake recog
12407 only if instruction does not match.
12408 * rtl.h (NOOP_MOVE_INSN_CODE): New.
12409 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
12411 * combine.c (try_combine): Discover noop jump as direct jump.
12413 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
12415 * df.c (df_rd_global_compute): Add successors to worklist, not
12417 (df_ru_global_compute): Ditto.
12419 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
12421 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
12422 increment REG_N_SETS.
12424 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
12426 * sbitmap.h: New prototype for sbitmap_a_xor_b.
12428 * sbitmap.c (sbitmap_a_xor_b): New function.
12429 ifdef the basic block stuff on IN_GCC.
12431 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12433 * cppexp.c (parse_defined): Always record the macro name.
12434 (lex): Don't worry about identifiers, or special-case
12436 (_cpp_parse_expr): Figure out at the end of the routine
12437 whether we saw a valid !defined() expression.
12438 * cppfiles.c (stack_include_file): Update for mi_valid.
12439 (_cpp_pop_file_buffer): Similarly.
12440 * cpplex.c (_cpp_lex_token): Similarly.
12441 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
12442 mi_if_not_defined, mi_lexed): Remove.
12444 * cpplib.c (do_if): Simplify.
12445 (do_endif, push_conditional, _cpp_handle_directive): Update
12446 for renaming of mi_state to mi_valid.
12448 * cpp.texi: Add index entries for digraphs, and add comment
12449 that C++ refers to them as alternative tokens.
12451 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
12453 * basic-block.h (CLEANUP_PRE_LOOP): New.
12454 * except.c (finish_eh_generation): Update call of cleanup_cfg.
12455 * sibcall.c (optimize_sibling_calls): Likewise.
12456 * toplev.c (rest_of_compilation): Likewise.
12457 * flow.c (try_forward_edges): Take argument MODE;
12458 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
12459 (try_optimize_cfg): Update call of try_forward_edges.
12461 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
12462 Jan Hubicka <jh@suse.cz>
12464 * (validate_replace_rtx_1): Fix simplification of MINUS.
12466 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
12468 PR preprocessor/3669
12469 * cppinit.c (init_dependency_output): Turn off dump requests
12470 if sending dependencies to stdout.
12472 2001-07-28 Richard Henderson <rth@redhat.com>
12474 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
12477 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
12479 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
12481 2001-07-28 Kazu Hirata <kazu@hxi.com>
12483 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
12484 is VAR_DECL first to prevent an ICE.
12486 2001-07-28 Richard Henderson <rth@redhat.com>
12488 * varasm.c (immed_real_const_1): Don't elide special cases for
12490 (clear_const_double_mem): Clear const_tiny_rtx too.
12492 2001-07-28 Richard Henderson <rth@redhat.com>
12494 * dwarf2out.c (dw_val_class_offset): New.
12495 (struct dw_ranges_struct, dw_ranges_ref): New.
12496 (ranges_table, ranges_table_allocated): New.
12497 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
12498 (add_AT_offset, add_ranges, output_ranges): New.
12499 (print_die, output_die): Handle dw_val_class_offset.
12500 (attr_checksum, size_of_die, value_format): Likewise.
12501 (gen_lexical_block_die): Handle non-contiguous blocks.
12502 (gen_block_die): Likewise.
12503 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
12504 if needed. Dump the ranges table.
12505 * final.c (final_start_function): Remove unnecessary notes and
12506 rebuild the block tree before numbering the blocks.
12507 * function.c (reorder_blocks_0): Walk the existing block tree
12508 to unmark all blocks.
12509 (reorder_blocks_1): Create block fragments when duplicate block
12511 (reorder_fix_fragments): New.
12512 (reorder_blocks): Call it.
12513 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
12515 2001-07-28 Richard Henderson <rth@redhat.com>
12517 * emit-rtl.c (adjust_address): Make a copy of the memory address.
12519 2001-07-28 Richard Henderson <rth@redhat.com>
12521 * flow.c (add_to_mem_set_list): New function.
12522 (init_propagate_block_info): Use it.
12523 (mark_set_1): Likewise.
12524 (insn_dead_p): Canonicalize memory address for dead store
12525 comparison. Allow wider mode stores to kill narrower mode stores.
12526 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
12527 (invalidate_mems_from_set): Don't handle MEMs.
12529 2001-07-28 Kazu Hirata <kazu@hxi.com>
12531 * config/h8300/h8300.h: Fix formatting.
12533 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
12535 * basic-block.h (EDGE_FREQUENCY): New macro.
12536 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
12538 * flow.c (find_sub_basic_blocks): Likewise.
12539 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
12540 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
12542 * predict.c (DEF_PREDICTOR): New argument FLAGS.
12543 (HITRATE): New macro.
12544 (PRED_FLAG_FIRST_MATCH): New constant.
12545 (predictor_info): New field flgags.
12546 (combine_predictions_for_insn): Use DS theory to combine
12547 probabilities; set the edge probabilities when finished.
12548 (estimate_probability): Avoid duplicated matches
12549 of LOOP_BRANCH heuristics for nested loops; update comment.
12550 * predict.def: Add flags for each prediction, set probabilities
12551 according to B&L paper.
12552 * predict.h (DEF_PREDICTOR): New argument FLAGS.
12554 * profile.c (compute_branch_probabilities): Cleanup way the edge
12555 probabilities are computed and REG_BR_PROB notes are dropped; if
12556 values does not match, emit error.
12557 (init_branch_prob): Do error instead of warning when profile driven
12558 feedback is missing or corrupt.
12560 2001-07-27 DJ Delorie <dj@redhat.com>
12562 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
12563 against a constant, try to adjust the compare to have the desired
12564 constant in it so that min/max optimizations happen more often.
12566 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
12568 * flow.c (last_loop_beg_note): New function.
12569 (redirect_edge_and_branch): Use it.
12570 (split_edge): Likewise.
12572 * alias.c (loop_p): Avoid uninitialized memory access.
12574 * flow.c (try_forward_edges): Avoid accessing freed memory.
12576 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
12579 2001-07-26 Andrew Haley <aph@redhat.com>
12580 Joern Rennecke <amylaar@redhat.com>
12582 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
12583 (SUBTARGET_CPP_ENDIAN_SPEC): New.
12584 (SUBTARGET_CPP_SPEC): New.
12585 (CPP_SPEC): Remove.
12586 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
12587 (SUBTARGET_CPP_PTR_SPEC): New.
12588 (CPP_DEFAULT_CPU_SPEC): New.
12589 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
12590 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
12591 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
12592 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
12593 (SUBTARGET_CPP_SPEC): Define as an empty string.
12595 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12597 * doc/install.texi (Configuration): Properly link the host
12598 specific instructions also when generating HTML.
12600 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
12602 * flow.c (redirect_edge_and_branch_force): Test
12603 target->global_live_at_start.
12605 2001-07-26 Richard Henderson <rth@redhat.com>
12607 * simplify-rtx.c (avoid_constant_pool_reference): Export.
12608 * rtl.h (avoid_constant_pool_reference): Declare it.
12609 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
12610 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
12612 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
12614 * rtl.h (cleanup_barriers): Declare.
12615 * jump.c (cleanup_barriers): New function.
12616 * toplev.c (rest_of_compilation): Call cleanup_barriers
12617 before loop optimizer and after bb_reorder.
12619 * flow.c (back_edge_of_syntactic_loop_p): New.
12620 (split_edge): Use it.
12622 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12624 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
12626 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
12628 * cse.c (cse_process_notes): Replace any registers if the address
12631 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
12633 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
12634 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
12635 (propagate_block): Update prototype.
12636 * flow.c (update_life_info): Simplify the CFG and
12637 recalculate the global regs which are alive when
12638 removing dead code during a global update.
12639 (propagate_block): Return non-zero if an INSN is
12642 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12644 * Makefile.in (LIBICONV): Define.
12646 2001-07-26 Catherine Moore <clm@redhat.com>
12648 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
12649 of conditional to avoid tree checking errors.
12651 2001-07-26 Kazu Hirata <kazu@hxi.com>
12653 * regmove.c (regmove_optimize): Don't replace a reg with
12654 another reg of a different mode.
12656 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
12658 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
12659 limit length of dependency flush list.
12660 * params.h (MAX_PENDING_LIST_LENGTH): Define.
12661 * sched-int.h (struct deps): Add pending_flush_length field.
12662 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
12663 has 1 element in it.
12664 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
12665 (sched_analyze): After a jump, if the pending memory flush list is too
12666 large, flush the pending lists.
12667 (init_deps): Initialize pending_flush_length to 0.
12668 * doc/invoke.texi (max_pending_list_length): Document parameter.
12670 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
12672 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
12673 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
12674 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
12676 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12678 * cpphash.h (struct_lexer_state): Delete was_skipping.
12679 Move skipping here from struct cpp_reader.
12680 * cpplex.c (parse_identifier): Update.
12681 (_cpp_lex_token): Don't skip tokens in a directive.
12682 * cpplib.c (struct if_stack): Update.
12683 (start_directive, end_directive): Don't change skipping state.
12684 (_cpp_handle_directive): Update.
12685 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
12686 (do_else, do_endif): Update; only check for excess tokens if not
12687 in a skipped conditional block.
12688 (push_conditional): Update for new struct if_stack.
12690 2001-07-26 Graham Stott <grahams@redhat.com>
12692 * function.c (locate_and_pad_parm): Also pad initial offset
12693 so that the total argument size also includes the padding.
12695 2001-07-26 Graham Stott <grahams@redhat.com>
12697 * gensupport.c (alter_output_for_insn): Correct enable checking failure
12698 change XSTR to XTMPL.
12700 (process_one_cond_exec): Likewise
12702 2001-07-25 Richard Henderson <rth@redhat.com>
12704 * varasm.c (assemble_variable): Create DECL_RTL before setting
12707 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
12709 * predict.c (estimate_probability): Avoid duplicated predictions.
12711 * loop.c (find_and_verify_loops): Grok multiple barriers.
12713 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12715 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
12717 * dbxout.c: Consistently use putc instead of fputc.
12718 (print_wide_int): New function; call instead of direct fprintf.
12719 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
12720 (dbxout_type_fields, dbxout_type_method_1): Likewise.
12721 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
12722 (print_int_cst_octal): Likewise.
12723 (print_octal): Show we wrote characters.
12724 (dbxout_type): Set have_used_extensions in more places.
12726 2001-07-25 Catherine Moore <clm@redhat.com>
12728 * config/v850/v850.c (v850_va_arg): Use addr
12729 instead of valist to build incr.
12731 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
12733 * flow.c (delete_dead_jumptables): New function.
12734 (life_analyzis): Call it.
12735 * bb-reorder.c (skip_insns_after_block): Handle contradictory
12738 2001-07-25 Richard Henderson <rth@redhat.com>
12740 * except.c (reachable_handlers): Handle a region being removed
12741 out from under a RESX.
12743 2001-07-25 Richard Henderson <rth@redhat.com>
12745 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
12746 swap GE/GT if it is an fp comparison.
12748 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
12750 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
12753 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
12755 * ssa.c (rename_insn_1): Do not wrap an assignment to a
12756 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
12759 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
12760 throw an exception.
12761 (visit_expression): When attempting to simplify an expression,
12762 retrieve any modes for arguments before they are simplified
12765 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
12766 Janis Johnson <janis@us.ibm.com>
12768 * stmt.c (expand_goto): A nonlocal goto can be a call too.
12769 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
12770 pointer parameters to match documented usage of nonlocal_goto.
12771 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
12772 parameters to their correct order.
12773 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
12774 parameters to their correct order.
12776 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
12778 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
12780 2001-07-25 Jan Hubicka <jh@suse.cz>
12781 Richard Henderson <rth@redhat.com>
12783 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
12785 (make_edges): New argument update_p; populate the edge cache if set.
12786 (find_basic_blocks): Update make_edges invocation.
12788 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12790 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
12792 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12794 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
12795 -Acpu and -Amachine.h.
12796 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
12797 Corrected header to say ELF not a.out.
12798 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
12799 when given -msoft-float.
12801 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12803 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
12804 extra multilib parts like arm-elf.
12805 (i960-*-coff*, i960-*-rtems): Should not use collect2.
12806 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
12807 crtfini.o as extra multilib parts.
12809 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12811 * configure.in: Add rtems as a supported thread model.
12812 * gthr-rtems.h: Add missing entry point __gthread_active_p.
12813 * configure: Rebuilt.
12815 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
12817 * stor-layout.c (get_mode_alignment): make it work when
12818 BITS_PER_UNIT is not a power of two.
12819 * builtins.c (get_pointer_alignment): Likewise.
12821 2001-07-24 Richard Henderson <rth@redhat.com>
12823 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
12824 the retrieved constant into the expected mode.
12826 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
12828 * flow.c (try_simplify_condjump): Avoid duplicated edges.
12829 (verify_flow_info): Check for duplicated edges; clarify
12832 * flow.c (block_label): Update basic_block_for_insn.
12833 (commit_edge_insertions): Call compute_bb_for_insn.
12835 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
12838 * flow.c (redirect_edge_and_branch,
12839 try_optimize_cfg): Use redirect_edge_succ_nodup
12840 (redirect_edge_succ_nodup): New.
12841 * basic_block.h (redirect_edge_succ_nodup): Declare.
12843 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
12846 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
12848 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
12849 (try_crossjump_to_edge): Update commetns.
12850 (try_crossjump_bb): Likewise.
12852 2001-07-24 Richard Henderson <rth@redhat.com>
12854 * combine.c (distribute_notes): Move set of need_refresh
12855 for noop_move_p down to catch all cases.
12857 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
12859 * recog.c (split_all_insns_noflow): New.
12860 * rtl.h (split_all_insns_noflow): Declare.
12861 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
12862 * m68hc11.c (m68hc11_reorg): Likewise.
12863 * sh.c (machine_dependent_reorg): Likewise.
12864 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
12867 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
12869 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
12870 (ashlsi3_n splitter): Likewise.
12871 (lshrsi3_n splitter): Likewise.
12873 (GOTaddr2picreg): Make const SImode.
12874 (sym_label2reg): Likewise.
12875 (symGOT2reg): Likewise.
12876 (symGOTOFF2reg) Likewise.
12878 (casesi_worker_0): Make unspec SImode.
12880 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
12882 * config/sh/sh.c (barrier_align): Check that an operand really is
12883 an insn before extracting its INSN_CODE.
12885 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
12887 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
12890 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
12891 for SImode to prevent overflow.
12893 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12895 * config/mips/irix6-libc-compat.c: New file.
12896 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
12897 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
12898 passing workaround.
12900 2001-07-24 lars brinkhoff <lars@nocrew.org>
12902 * rtl.texi (REG_POINTER): Document.
12903 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
12904 QFmode, HFmode, TQFmode, QCmode, and HCmode.
12906 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
12908 * flow.c (delete_noop_moves): Do not confuse libcall regions.
12910 2001-07-23 Richard Henderson <rth@redhat.com>
12912 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
12914 2001-07-23 Kazu Hirata <kazu@hxi.com>
12916 * config/h8300/h8300-protos.h: Add a prototype for
12917 general_operand_dst_push.
12918 * config/h8300/h8300.c (general_operand_dst_push): New.
12919 * config/h8300/h8300.h (OK_FOR_T): New.
12920 (EXTRA_CONSTRAINT): Use it.
12921 * config/h8300/h8300.md (movqi_push): Remove and integrate into
12922 the existing movqi pattern.
12923 (movhi_push): Likewise.
12925 * reload.c: Fix comment typos.
12927 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
12929 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
12931 2001-07-23 H.J. Lu (hjl@gnu.org)
12933 * doc/extend.texi: Update __builtin_return_address and
12934 __builtin_frame_address.
12936 2001-07-23 Richard Henderson <rth@redhat.com>
12938 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
12940 * config/i386/i386.md: New setcc+movzbl peephole2.
12942 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12944 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
12945 * objc/objc-act.c: Include debug.h.
12946 (synth_module_prologue): Save and restore debug hooks too.
12948 2001-07-23 lars brinkhoff <lars@nocrew.org>
12950 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
12951 and C4X_FLOAT_FORMAT.
12952 (BOOL_TYPE_SIZE): Document.
12954 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
12956 * unroll.c (loop_iterations): Fix miscalculation of initial
12959 2001-07-13 Andrew Haley <aph@redhat.com>
12961 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
12962 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
12963 * config/sh/sh.c (sh_can_redirect_branch): New function.
12964 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
12965 * reorg.c (steal_delay_list_from_target): Use
12966 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
12968 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
12970 * flow.c (try_simplify_condjump): Unlink insn chain on
12971 fallthru edge; use can_fallthru.
12973 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
12975 * basic-block.h (find_sub_basic_block): Declare.
12976 * flow.c (make_edges): New arguments MIN and MAX;
12977 (find_sub_basic_blocks): Revamp to use make_edges
12978 and purge_dead_edges.
12979 (find_basic_blocks): Update call of find_sub_basic_block.
12981 * recog.c (split_all_insns): Always expect CFG to be consistent;
12982 call find_sub_basic_blocks in case something has changed.
12983 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
12986 * basic-block.h (delete_noop_moves): Declare.
12987 * combine.c (combine_instructions): Call it.
12988 (recog_for_combine): Tolerate noop moves
12989 (distribute_notes): Force refresh when register dies at noop move.
12990 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
12992 (life_analysis): Update delete_noop_moves call.
12993 (set_noop_p): Move too ...
12994 * rtlanal.c (noop_move_p): ... here.
12995 * rtl.h (noop_move_p): Declare.
12997 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
12998 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
13000 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
13001 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
13003 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
13005 * reload.c (push_reload): Fix typo in comment.
13006 (find_reloads_address): Ditto.
13007 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
13009 2001-07-22 Richard Henderson <rth@redhat.com>
13011 * flow.c: Grammar check and clarify a lot of comments.
13012 (try_simplify_condjump): Rename variables to be clearer.
13013 (try_forward_edges): Skip complex and fallthru edges.
13014 Rearrange tests to avoid duplicate checks.
13015 (flow_find_cross_jump): Likewise.
13016 (outgoing_edges_match): Allow match if neither branch has
13017 probability data. Loosen probability match to 5%.
13018 (try_crossjump_to_edge): Hoist repeated indirection into
13020 (try_crossjump_bb): Don't check complex edges. Eliminate
13021 redundant crossjump tests.
13022 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
13023 checks before more expensive checks.
13025 2001-07-22 Richard Henderson <rth@redhat.com>
13027 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
13028 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
13031 2001-07-22 Richard Henderson <rth@redhat.com>
13033 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
13034 (const_sint32_operand): Likewise.
13035 * m68k.md (anon mulsi pattern): Use const_int_operand not
13036 const_sint32_operand.
13037 (umulsi3_highpart): Zero extend a constant input.
13038 (smulsi3_highpart): Don't bother checking SImode constant.
13039 (const_umulsi3_highpart): Give op3 DImode.
13040 (const_smulsi3_highpart): Likewise.
13042 2001-07-22 Richard Henderson <rth@redhat.com>
13044 * flow.c (split_block): Make sure bb_note is included in the
13045 new block when splitting before a label.
13047 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
13049 * basic-block.h (redirect_edge_and_branch_force,
13050 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
13051 * flow.c (redirect_edge_and_branch_force,
13052 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
13053 (redirect_edge_and_branch_force): Fix copying of lifeness information.
13054 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
13055 * ifcvt.c (dead_or_predictable): Take BB as an new destination
13056 instead of label; update CFG after transformation.
13057 (find_if_case_1): Update call, use redirect_edge_and_branch_force
13058 for finishing the transformation; handle even case where ELSE
13059 does not follow THEN.
13060 (find_if_case_2): Update call of dead_or_predictable; simplify
13063 * emit-rtl.c (split_branch_probability): New global variable.
13064 (try_split): Take care to set split_branch_probability and
13065 create REG_BR_PROB note for new jump insns.
13066 * md.texi (define_split): Document new feature.
13068 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
13070 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
13072 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
13073 (asm_out_file): Remove redundant declaration.
13074 (assemble_asm): Remove old #if 0 block.
13075 (assemble_variable): Remove end of function; debug output is
13076 now handled with global_decl. Remove old #if 0 block. Update.
13077 Remove saved_in_section and associated no-op code.
13078 * Makefile.in (varasm.o): Correct dependencies.
13080 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
13082 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
13083 the definition in defaults.h.
13085 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
13087 * jump.c: Update comments.
13088 (delete_barrier_successors, delete_unreferenced_labels,
13089 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
13090 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
13091 jump_optimize, jump_optimize_minimal): Kill.
13092 (rebuild_jump_labels): Move code from jump_optimize_1.
13093 (purge_line_number_notes): Likewise.
13094 (copy_loop_headers): Likewise.
13095 * reg-stack.c: Update comment.
13096 * stmt.c: Likewise.
13097 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
13098 JUMP_AFTER_REGSCAN): Kill.
13099 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
13100 purge_line_number_notes and copy_loop_headers.
13102 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
13103 Richard Henderson <rth@redhat.com>
13105 * dbxout.c (dbxout_global_decl): New.
13106 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
13107 * sdbout.c (sdbout_finish): New.
13108 (sdbout_debug_hooks): Use it, add comments.
13109 (sdbout_global_decl): Defer initialised public vars to
13111 * varasm.c (assemble_variable): Don't output debug information
13112 for file-scope variables.
13114 2001-07-22 Richard Henderson <rth@redhat.com>
13116 * config/alpha/alpha.c (get_trap_mode_suffix): New.
13117 (get_round_mode_suffix): New.
13118 (print_operand): Use them for [/]. Remove support for [&'`()+].
13119 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
13120 * config/alpha/alpha.md (attr round_suffix): New.
13121 (attr trap_suffix): New.
13122 (all insns): Set them appropriately. Use %/ instead of the
13123 myriad punctuators.
13125 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13127 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
13129 2001-07-22 Richard Henderson <rth@redhat.com>
13131 * regrename.c (regrename_optimize): Compute nregs for each
13132 potential target register.
13134 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
13135 Richard Henderson <rth@redhat.com>
13137 * dbxout.c (dbxout_global_decl): New.
13138 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
13139 * sdbout.c (sdbout_finish): New.
13140 (sdbout_debug_hooks): Use it, add comments.
13141 (sdbout_global_decl): Defer initialised public vars to
13143 * varasm.c (assemble_variable): Don't output debug information
13144 for file-scope variables.
13146 2001-07-21 H.J. Lu (hjl@gnu.org)
13148 * config/mips/mips.c (mips_cpu): Moved into ...
13149 (override_options): Here.
13151 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
13153 (mips_cpu): Removed.
13155 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13157 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
13158 ("iorqi3"): Likewise.
13159 ("xorqi3"): Likewise.
13160 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
13161 ("*subhi3_sp): Likewise.
13162 ("*subhi3"): Likewise.
13163 ("extendhisi2"): Accept D, X and Y as source operand to avoid
13166 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
13168 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
13169 * config/freebsd.h: Likewise.
13170 * config/linux.h: Likewise.
13171 * config/openbsd.h: Likewise.
13172 * config/alpha/linux-elf.h: Likewise.
13173 * config/arm/linux-elf.h: Likewise.
13174 * config/d30v/d30v.h: Likewise.
13175 * config/fr30/fr30.h: Likewise.
13176 * config/ia64/aix.h: Likewise.
13177 * config/ia64/ia64.h: Likewise.
13178 * config/mips/linux.h: Likewise.
13179 * config/pj/pj.h: Likewise.
13180 * config/rs6000/linux.h: Likewise.
13181 * config/sparc/linux.h: Likewise.
13182 * config/sparc/linux64.h: Likewise.
13184 2001-07-20 Bruce Korb <bkorb@gnu.org>
13186 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
13187 because getc() and char* may disagree on signedness.
13189 2001-07-20 Richard Henderson <rth@redhat.com>
13191 * doc/rtl.texi (REG_DEAD): Update for current semantics.
13193 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
13194 insns to delete in the presence of cc0 in a jump insn.
13196 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13197 Jan Hubicka <jh@suse.cz>
13199 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
13200 of doing the change by hand.
13202 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13204 * rtlanal.c (set_noop_p): Return true for noop jumps.
13206 * expr.c (emit_single_push_insn): Add call to push expander.
13207 * expr.h (optab_index): Add OTI_push
13208 (push_optab): New constant.
13209 * genopinit.c (optabs): Add push_optab.
13210 * optabs.c (init_optab): Init push optab.
13211 * md.texi (push??1): Document
13213 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13215 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
13216 expand to emit the pattern; put a REG_INC note for push/pop
13218 ("movdf", "movdf_internal"): Likewise.
13219 ("movsi", "movsi_internal"): Likewise.
13220 ("movsf", "movsf_internal"): Likewise.
13221 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
13223 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13225 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
13228 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
13230 * params.def: Change default max inline insns to 100.
13232 2001-07-20 Diego Novillo <dnovillo@redhat.com>
13234 * combine.c (combine_simplify_rtx): Generate a new shift operation
13235 when simplifying the first operand of a (neg (ashift)) expression.
13237 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
13239 * regclass.c (N_REG_INTS): Use only 32 bits per element.
13241 2001-07-20 Kelley Cook <kelley.cook@home.com>
13243 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
13244 information. Move rest into ...
13245 (*-*-solaris): ... here. Eliminate redundant information and
13246 reword necessary packages section. Delete 4.x assembler bug info.
13247 (sparc-sun-*): Merge into ...
13248 (sparc-sun-sunos*): here.
13250 2001-07-20 Catherine Moore <clm@redhat.com>
13252 * config/v850/v850.md (casesi): Generate LABEL_REF
13255 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
13257 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
13258 * i386.c (ix86_zero_extend_to_Pmode): Make global.
13259 * i386.md (strclrsi expander): Use it.
13261 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
13263 * integrate.c (copy_insn_list): handle
13264 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
13265 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
13266 identically as to CODE_LABEL.
13268 * fold-const (fold): Convert A/B/C to A/(B*C) and
13271 * except.c (connect_post_landing_pads): Delete the RESX insns.
13273 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
13275 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
13277 * config/mips/mips.md (nmadd/nmsub): Use macro.
13279 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
13281 * cppinit.c (remove_dup_dir): Make static.
13282 (remove_dup_dirs): Make static. Only warn about preempting a
13283 system directory with a non-system directory.
13285 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
13287 * ifcvt.c (noce_try_store_flag_constants): Correct order
13288 of parameters to trunc_int_for_mode.
13290 2001-07-19 Mark Mitchell <mark@codesourcery.com>
13292 * reorg.c (fill_simple_delay_slots): If an instruction might throw
13293 an exception that will be caught within this function, do not fill
13294 its delay slot with any subsequent instruction.
13296 2001-07-19 Steve Ellcey <sje@cup.hp.com>
13298 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
13299 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
13300 pointer extension instruction.
13301 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
13302 * simplify-rtx.c (simplify_unary_operation) Likewise.
13303 * explow.c (convert_memory_address) Check value of
13304 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
13306 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
13307 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
13308 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
13309 Add Multilib Support.
13310 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
13311 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
13312 Add Multilib Support.
13313 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
13315 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
13316 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
13317 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
13319 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
13321 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
13322 old and new operands in `<', `3' and `b'.
13324 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13326 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
13327 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
13328 (toplev.o): Don't depend on xcoffout.h.
13329 * c-decl.c: Include debug.h
13330 (duplicate_decls): Use debug hook.
13331 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
13332 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13333 (dbxout_types): Remove.
13334 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
13335 * debug.c (do_nothing_debug_hooks): Update.
13336 (debug_true_tree, debug_nothing_rtx): New.
13337 * debug.h (struct rtx_def): New.
13338 (struct gcc_debug_hooks): New hooks ignore_block,
13339 outlining_inline_function and label.
13340 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
13341 dwarf2out_frame_finish): New.
13342 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
13343 Make static, update prototype.
13344 (dwarf2_debug_hooks): Update.
13345 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
13346 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
13347 * dwarfout.c (dwarf_debug_hooks): Update.
13348 * emit-rtl.c: Include debug.h.
13349 (remove_unnecessary_notes): Use debug hook.
13350 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
13351 (final_scan_insn): Use debug hook.
13352 * integrate.c (output_inline_function): Use debug hook.
13353 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
13354 (sdb_debug_hooks): Update.
13355 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
13356 * toplev.c: Don't include xcoffout.h.
13357 (note_outlining_of_inline_function, debug_ignore_block): Remove.
13358 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
13360 * tree.h (dwarf2out_do_frame): Remove.
13362 2001-07-19 Catherine Moore <clm@cygnus.com>
13364 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
13366 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
13368 * reload1.c (eliminate_regs_in_insn): When updating a set
13369 to the frame pointer to the hardware frame pointer, perform
13370 the update always not just when REPLACE is set.
13372 * reload1.c (choose_reload_regs): Don't inherit a reload
13373 that crosses multiple registers if registers past the first
13374 don't fit in the desired class.
13376 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
13377 when negating constants.
13379 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
13381 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
13382 * doc/tree.texi: Ditto.
13384 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
13385 Jakub Jelinek <jakub@redhat.com>
13387 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
13388 (extract_cie_info): Handle "eh" augmentation properly,
13390 (struct frame_state, __frame_state_for): New.
13392 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13394 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
13395 HANDLE_SYSV_PRAGMA): Define.
13396 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
13398 (copy_object): Caller changed.
13400 2001-07-19 Andreas Schwab <schwab@suse.de>
13402 * configure.in (assembler dwarf2 debug_line support): Define nop
13404 * configure: Regenerated.
13406 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13408 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
13410 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
13411 to conditionally compiled block.
13412 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13413 * dbxout.h (dbxout_function): Remove.
13414 * debug.c (do_nothing_debug_hooks): Update.
13415 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
13416 global_decl, deferred_inline_function.
13417 * dwarf2out.c (dwarf2_debug_hooks): Update.
13418 (dwarf2out_global_decl): New.
13419 * dwarfout.c: Don't include dwarfout.h.
13420 (dwarfout_global_decl, dwarfout_function_decl,
13421 dwarfout_deferred_inline_function): New.
13422 (dwarf_debug_hooks): Update.
13423 * dwarfout.h: Remove.
13424 * final.c: Don't include dwarfout.h.
13425 * sdbout.c (sdbout_global_decl): New.
13426 (sdbout_debug_hooks): Update.
13427 * toplev.c: Don't include dwarfout.h.
13428 (check_global_declarations, rest_of_compilation): Use new debug hooks.
13429 (note_deferral_of_defined_inline_function): Remove.
13430 * toplev.h (note_deferral_of_defined_inline_function): Remove.
13431 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
13432 * ch/lex.c: Don't include dwarfout.h.
13433 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
13434 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
13435 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
13436 * cp/optimize.c: Include debug.h.
13437 (maybe_clone_body): Use debug hook.
13438 * cp/semantics.c: Include debug.h.
13439 (expand_body): Use debug hook.
13440 * po/POTFILES.in: Remove dwarfout.h.
13442 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13444 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
13445 * c-parse.in (yyerror, _yylex): Similarly.
13446 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
13447 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
13449 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
13450 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
13452 2001-07-18 Jeff Sturm <jsturm@one-point.com>
13454 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
13455 in-class declaration at -g1. Fixes c++/2814.
13457 2001-07-18 Richard Henderson <rth@redhat.com>
13459 * doc/md.texi (reload_in/out): Document restrictions in predicates
13460 and constraints for these patterns. Document empty string matching
13463 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13465 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
13467 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13469 * cse.c: Undo my previous patch.
13471 2001-07-18 Tom Tromey <tromey@redhat.com>
13474 * configure: Rebuilt.
13475 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
13477 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
13479 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
13480 Jan Hubicka <jh@suse.cz>
13482 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
13483 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
13484 * jump.c (mark_jump_label): Do not forward branches.
13486 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
13488 * cse.c (delete_trivially_dead_insns): Delete the libcall block
13489 when return value is unused.
13491 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
13493 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
13495 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
13497 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
13498 on error. We can't blindly return the result of
13499 pthread_mutex_trylock because it returns a positive number on
13500 error, while we must return -1 on error.
13501 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
13503 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
13505 2001-07-18 Andreas Jaeger <aj@suse.de>
13507 * integrate.c (output_inline_function): Correct type of debug_hooks.
13509 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
13511 * combine.c (combine_simplify_rtx): DIV can be treated
13512 associatively for floats if unsafe math optimisations are enabled.
13514 2001-07-17 Richard Henderson <rth@redhat.com>
13516 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
13518 2001-07-17 Richard Henderson <rth@redhat.com>
13520 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
13521 don't force the function address into a register.
13522 (expand_call, emit_library_call_value_1): Update callers.
13523 * builtins.c (expand_builtin_apply): Likewise.
13524 * expr.h (prepare_call_address): Update decl.
13526 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
13528 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
13530 * config/i386/chorus.h: Move up.
13531 * config/sparc/chorus.h: Likewise.
13532 * config/rs6000/chorus.h: Likewise.
13533 * config/chorus.h: Moved here.
13535 2001-07-17 Andreas Schwab <schwab@suse.de>
13537 * configure.in (assembler eh_frame optimization): Handle big
13539 * configure: Regenerated.
13541 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
13543 * expr.c (epxand_expr): Convert divisions into multiplications by
13544 reciprocals if -ffast-math.
13546 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
13548 * dbxout.c (dbxout_really_begin_function): Rename to
13549 dbxout_begin_function.
13550 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13551 (dbxout_begin_function): Remove.
13552 (dbxout_function): Update.
13553 (dbxout_source_line): Update prototype.
13554 * dbxout.h (dbxout_begin_function): Remove.
13555 * debug.c (do_nothing_debug_hooks): Update.
13556 (debug_nothing_tree): Update.
13557 (debug_nothing_charstar_rtx): Remove.
13558 * debug.h (union tree_node): Declare.
13559 (struct rtx_def): Remove.
13560 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
13561 begin_function. Change source_line prototype.
13562 (debug_nothing_tree): New.
13563 (debug_nothing_charstar_rtx): Delete.
13564 (dwarf2out_begin_prologue): Moved from ...
13565 * tree.h: ... here.
13566 * dwarf2out.c (dwarf2_debug_hooks): Update.
13567 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
13568 debug info, call dwarf2out_source_line.
13569 (dwarf2out_souce_line): Update prototype.
13570 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
13571 Change prototype, make static.
13572 (dwarfout_source_line): Update prototype.
13573 (dwarf_debug_hooks): Update.
13574 * dwarfout.h (dwarfout_begin_function): Remove.
13575 * final.c (final_start_function, final_scan_insn): Use appropriate
13576 debug hooks, update to use notice_source_line.
13577 (output_source_line): Rename notice_source_line. Don't call the
13578 source_line debug hook.
13579 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
13580 make static, update prototype.
13581 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
13583 (sdbout_end_prologue): New.
13584 (sdbout_source_line): Update prototype.
13585 (sdbout_debug_hooks): Update.
13586 (sdbout_symbol): Remove unused var.
13587 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
13589 * varasm.c: Include debug.h.
13590 (assemble_start_function): Use begin_function debug_hook.
13591 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
13592 update with prototype.
13593 (xcoffout_source_line): Update prototype.
13594 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
13596 (xcoffout_source_line): Update prototype.
13598 2001-07-17 Richard Henderson <rth@redhat.com>
13600 * c-typeck.c (build_binary_op): Do not shorten unsigned
13601 right shift after sign extension.
13603 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
13605 * combine.c (combine_simplify_rtx): Attempt to simplify
13606 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
13608 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
13609 (simplify_binary_operation, simplify_unary_operation,
13610 simplify_relational_operation): Use it.
13612 * combine.c (combine_simplify_rtx): Don't do associative law
13613 on divisions; allow associative law on floats.
13615 2001-07-17 H.J. Lu <hjl@gnu.org>
13616 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13618 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
13619 ASM_OUTPUT_WEAK_ALIAS are defined.
13620 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
13621 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
13623 * config/mips/iris5.h: ... here.
13624 (HANDLE_SYSV_PRAGMA): Defined as 1.
13625 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
13626 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
13629 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
13631 * c-parse.in (all_prefix_attributes): New variable.
13632 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
13633 (maybe_resetattrs): New production.
13634 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
13635 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
13636 notype_initdcl, nested_function, notype_nested_function,
13637 component_decl, components, components_notype,
13638 component_declarator, component_notype_declarator,
13639 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
13640 ivars, mydecl, myparm): Update. Avoid prefix attributes just
13641 after a comma being applied to more than one declarator.
13642 * doc/extend.texi (Attribute Syntax): Update. Remove
13643 documentation of bugs that are no longer present.
13645 2001-07-13 Eric Christopher <echristo@redhat.com>
13647 * config/mips/mips.h: Change TUNE_MIPS* options to use
13649 (EXTRA_SPECS): Add cc1_cpu_spec.
13650 * config/mips/mips.md (muldf3): Fix typo.
13652 2001-07-16 Richard Henderson <rth@redhat.com>
13654 * config/m68k/m68k.c: Include expr.h and reload.h.
13655 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
13656 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
13658 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
13659 Richard Henderson <rth@redhat.com>
13661 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
13662 (insn_live_p): Fix fall off end of function.
13663 (dead_libcall_p): Remove COUNTS argument; update callers.
13664 (delete_trivially_dead_insns): Remove unused variables.
13666 2001-07-17 Andreas Jaeger <aj@suse.de>
13668 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
13669 x86-64 pic support.
13671 * lcm.c (optimize_mode_switching): Avoid warning for unused
13672 variable if !NORMAL_MODE.
13674 * flow.c (try_crossjump_to_edge): Remove unused variable.
13676 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
13678 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
13679 atexit declaration in stdlib.h.
13681 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
13683 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
13685 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13687 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
13688 * except.c (finish_eh_generation): Update call of cleanup_cfg;
13689 do rebuild_jump_labels instead of jump_optimize
13690 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
13691 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
13692 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
13694 * flow.c: Include timevar.h
13695 (find_basic_block): Push/pop timevar;
13696 (cleanup_cfg): Likewise.
13697 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
13698 * Makefile: Add dependencies on timevar.h
13700 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
13701 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
13703 * rtl.h (delete_trivially_dead_insns): Add new parameter.
13704 * toplev.c (rest_of_compilation): Update calls.
13705 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
13706 (delete_trivially_dead_insns): ... here; accept new argument
13707 preserve_basic_blocks; preserve basic blocks if set.
13709 * reg-stack.c (stack_regs_mentioned): Return 0 if
13710 stack_regs_mentioned_data is not initialized.
13711 (reg_to_stack): Make stack_regs_mentioned survive after the
13712 reg-stack is completted; do not call cleanup_cfg.
13713 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
13714 make cleanup_cfg after bb-reorder to output to debug file.
13716 2001-07-16 Richard Henderson <rth@redhat.com>
13718 * regclass.c (init_reg_sets): Use only 32 bits per initializer
13719 from int_reg_class_contents.
13721 2001-07-16 Richard Henderson <rth@redhat.com>
13723 * hard-reg-set.h (regs_invalidated_by_call): Declare.
13724 * regclass.c (regs_invalidated_by_call): Move from cse.c.
13725 (init_reg_sets_1): Move initialization from cse_main.
13726 * cse.c (regs_invalidated_by_call): Move to regclass.c.
13727 (cse_main): Move its initialization also.
13728 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
13729 * flow.c (propagate_one_insn): Likewise.
13730 * gcse.c (compute_hash_table): Likewise.
13731 (compute_kill_rd, compute_store_table): Likewise.
13732 * sched-deps.c (sched_analyze_1): Likewise.
13734 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
13736 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
13739 2001-07-16 Steve Ellcey <sje@cup.hp.com>
13741 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
13742 in if statement so we don't access undefined memory.
13744 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
13746 * gcse.c: Update comment at top.
13747 Update comment on mem handling.
13748 mem_last_set, mem_first_set, mem_set_in_block: gone.
13749 Declaration of reg_set_info: gone.
13750 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
13751 pointless with load_killed_in_block_p (they are *more*
13752 conservative then it, not less, and less accurate).
13753 (oprs_not_set_p): Ditto.
13754 (alloc_gcse_mem): Don't allocate mem_set_in_block
13755 (free_gcse_mem): Don't free it, either.
13756 (record_last_mem_set_info): Update comment in front, remove
13757 mem_*set_* stuff. Note the reason we don't handle stores directly
13759 (compute_hash_table): Update comments to reflect reality. Remove
13760 mem_*set_* references.
13761 (reset_opr_set_tables): Remove mem_*set_* references.
13762 (mark_call): Ditto.
13763 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
13764 (mark_clobber): Ditto (on both parts, we double set here too).
13765 (expr_killed_p): Remove mem_set_in_block test.
13766 (compute_transp): Remove mem_set_in_block test.
13768 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
13769 of edge, and removal of phi alternative to dump file.
13770 (ssa_ccp_substitute_constants): Add note about register now being
13771 constant, and which uses were replaced in what insns to dump file.
13773 2001-07-16 Andreas Jaeger <aj@suse.de>
13775 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
13776 variables of type HOST_WIDEST_INT.
13778 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
13779 (__bb_exit_func): Correct type of count_max to avoid overflow.
13780 (num_digits): Handle long long argument.
13782 * combine.c (gen_lowpart_for_combine): Remove unused variable.
13784 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13786 * output.h (sdb_begin_function_line): Restore as an extern
13788 * sdbout.c (sdb_begin_function_line): Make extern.
13790 2001-07-15 Richard Henderson <rth@redhat.com>
13792 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
13793 * genrecog.c (maybe_both_true_mode): New.
13794 (maybe_both_true_2): Use it.
13795 (write_switch): Don't put Pmode in a switch.
13796 * rtl.c (mode arrays): Don't explicitly size them.
13798 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13800 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
13801 handling; move unconditional splitting before mode switching.
13803 * i386.md (type): Add fistp type.
13804 (i387, length_attr, scheduling definitions): Handle this type.
13805 (fix_trunc?f?i2): Revamp to use mode switching.
13806 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
13807 * i386.h (fp_cw_mode): New enum
13808 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
13809 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
13811 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13813 * Makefile.in (integrate.o): Add debug.h.
13814 * integrate.c (debug.h): Add.
13815 (output_inline_function): Save, reset, and restore debug_hooks.
13817 2001-07-15 Richard Henderson <rth@redhat.com>
13819 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
13820 instead of COMPARE for the EQUIV expression.
13822 2001-07-15 Richard Henderson <rth@redhat.com>
13824 * flow.c (redirect_edge_and_branch_force): Initialize
13825 global_live_at_start and global_live_at_end.
13826 (allocate_bb_life_data): Export.
13827 * basic-block.h (allocate_bb_life_data): Declare.
13828 * toplev.c (rest_of_compilation): Call it.
13830 2001-07-15 Richard Henderson <rth@redhat.com>
13832 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
13833 (alpha_tablejump_best_label): New.
13834 * config/alpha/alpha-protos.h: Declare them.
13835 * config/alpha/alpha.md: Use braced strings for code blocks.
13836 (tablejump_osf): Break out add with r29.
13837 (tablejump_osf_internal): Remove.
13838 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
13839 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
13841 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13843 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
13846 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
13848 * i386-protos.h (ix86_split_fp_branch): Update prototype.
13849 (ix86_fp_jump_nontrivial_p): New.
13850 * i386.md (fp_jcc_?): Update call of split_fp_branch;
13851 use ix86_fp_jump_nontrivial_p.
13852 * i386.c (ix86_fp_jump_nontrivial_p): New.
13853 (ix86_split_fp_branch): Accept code instead of rtx.
13854 (ix86_expand_compare): Expand comparison early in case
13855 doing so is resonably cheap.
13857 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
13859 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
13861 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
13862 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
13864 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
13866 * dbxout.c (dbxout_source_line): Make static, update prototype.
13867 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
13868 (dbxout_init, dbxout_finish, dbxout_source_line,
13869 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
13870 * dbxout.h (dbxout_source_line): Delete.
13871 * debug.c (debug_nothing_file, debug_nothing_file_int,
13872 debug_nothing_file_charstar_rtx): New.
13873 (do_nothing_debug_hooks): Update.
13874 (debug_nothing_void, debug_nothing_charstar_rtx,
13875 dwarf2out_end_epilogue): New.
13876 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
13877 * debug.h (struct rtx_def): Declare.
13878 (gcc_debug_hooks): New hooks source_line, end_epilogue
13880 (debug_nothing_void, debug_nothing_charstar_rtx,
13881 dwarf2out_end_epilogue): New.
13882 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
13883 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
13884 (dwarf2_debug_hooks): Update.
13885 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
13886 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
13887 * dwarf2out.h (dwarf2out_source_line): Remove.
13888 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
13889 Make static, update prototype.
13890 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
13891 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
13892 (dwarf_debug_hooks): Update.
13893 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
13894 dwarfout_end_function): Remove.
13895 * final.c (profile_function): Use debug hooks for ending functions
13897 (output_source_line, final_end_function): Update prototype,
13899 (final_start_function, final_scan_insn): Update.
13900 * output.h (sdb_begin_function_line): Remove.
13901 (final_end_function): Update prototype.
13902 * sdbout.c (sdb_begin_function_line): Make static.
13903 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
13904 (sdbout_source_line): New.
13905 (sdbout_end_epilogue, sdbout_end_function): Make static, update
13907 (sdb_debug_hooks): Update.
13908 (sdbout_init, sdbout_source_line,
13909 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
13910 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
13911 * toplev.c (compile_file, rest_of_compilation): Update.
13912 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
13913 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
13914 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
13915 Update for prototype changes.
13916 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
13917 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
13919 2001-07-15 Richard Henderson <rth@redhat.com>
13921 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
13922 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
13923 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
13924 * config/alpha/alpha.c: Likewise.
13925 * config/alpha/alpha.md: Likewise.
13926 * config/alpha/alpha32.h: Likewise.
13927 * config/alpha/vms.h: Likewise.
13928 (OPEN_VMS): Remove.
13930 2001-07-14 Richard Henderson <rth@redhat.com>
13932 * config/alpha/alpha.md: Use define_constants for unspec values.
13933 Substitute throughout.
13935 2001-07-14 Tim Josling <tej@melbpc.org.au>
13937 * tree.def (EXPON_EXPR) remove. Never supported anyway.
13939 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
13941 * pa.md: Remove unused constraints from define_split's.
13943 2001-04-14 Richard Henderson <rth@redhat.com>
13945 * ifcvt.c (find_cond_trap): Test for exit block.
13947 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
13949 Re-install recently reverted patch.
13950 * emit-rtl.c (try_split): Update mark_jump_label call.
13951 * flow.c (find_sub_basic_blocks): Likewise.
13952 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
13953 jump_back_p): Kill.
13954 (mark_all_labels): Kill second parameter.
13955 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
13956 (rebuild_jump_labels, jump_optimize_minimal): Update call
13957 of jump_optimize_1.
13958 (jump_optimize_1): Kill crossjumping code.
13959 (mark_jump_label): Kill cross_jump parameter.
13960 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
13961 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
13962 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
13964 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
13966 (dump_file_info): Likewise.
13967 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
13968 reorganize passes to do reg-stack first, bb-reorder second.
13969 * invoke.texi (-d letters doc): Remove the jump2 pass.
13971 2001-07-14 Richard Henderson <rth@redhat.com>
13973 * ifcvt.c (find_cond_trap): New.
13974 (find_if_header): Call it.
13975 (merge_if_block): Relax existing jump sanity check.
13976 * jump.c (jump_optimize_1): Remove conditional trap handling.
13978 2001-07-14 Alan Modra <amodra@bigpond.net.au>
13980 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
13982 (insn_refs_are_delayed): Correct comment.
13983 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
13984 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
13985 instead of r31. Make associated insn !TARGET_64BIT, and
13986 provide an additional 64-bit insn that clobbers r2.
13987 (divsi3): Likewise.
13988 (udivsi3): Likewise.
13989 (modsi3): Likewise.
13990 (umodsi3): Likewise.
13992 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
13994 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
13996 * flow.c (redirect_edge_and_branch_force, split_edge,
13997 try_crossjump_to_edge): Use set_block_for_new_insns.
13998 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
14000 2001-07-13 H.J. Lu (hjl@gnu.org)
14002 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
14005 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
14007 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
14009 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
14011 * c-common.c (decl_attributes): Take a pointer to the node to
14012 which attributes are to be attached, and a flags argument.
14013 * c-common.h (enum attribute_flags): New.
14014 (decl_attributes): Update prototype.
14015 * c-decl.c (start_decl, push_parm_decl, finish_struct,
14016 finish_enum, start_function): Update calls to decl_attributes.
14017 * c-parse.in (component_declarator, component_notype_declarator,
14018 label): Update calls to decl_attributes.
14020 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
14022 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
14023 * config/avr/avr.c (legitimate_address_p): Return value changed
14024 from letter to register classes. For better debugging.
14026 2001-07-13 Kazu Hirata <kazu@hxi.com>
14028 * jump.c (reversed_comparison_code_parts): Fix comment typos.
14030 2001-07-13 H.J. Lu (hjl@gnu.org)
14032 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
14034 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
14036 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
14037 correctly for shared configurations.
14038 * config/t-libgcc-pic: New.
14039 * config/{i386,m68k,sparc}/t-openbsd: New.
14040 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
14041 Support -shared. Support debugging libraries with -g.
14042 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
14043 frame information does not emit pointer diffs.
14044 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
14045 emit pointer diffs.
14047 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
14049 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
14051 2001-07-13 David Edelsohn <edelsohn@gnu.org>
14053 * combine.c (try_combine): Ensure const_int pow2 is positive.
14055 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
14057 * config.gcc: Add configuration for s/390.
14058 * config/s390/s390.c: New. Subroutines for code generation.
14059 * config/s390/s390.h: New. Definitions for s/390.
14060 * config/s390/s390-protos.h: New. Prototypes.
14061 * config/s390/linux.h: New. Definitions for linux for s/390.
14062 * config/s390/linux64.h: New. Definitions for linux for zSeries.
14063 * config/s390/t-linux: New. Makefile fragment.
14064 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
14065 * config/s390/fixdfdi.h: New. Fix L_fix*di.
14067 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
14069 * emit-rtl.c (try_split): Update mark_jump_label call.
14070 * flow.c (find_sub_basic_blocks): Likewise.
14071 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
14072 jump_back_p): Kill.
14073 (mark_all_labels): Kill second parameter.
14074 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
14075 (rebuild_jump_labels, jump_optimize_minimal): Update call
14076 of jump_optimize_1.
14077 (jump_optimize_1): Kill crossjumping code.
14078 (mark_jump_label): Kill cross_jump parameter.
14079 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
14080 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
14081 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
14083 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
14085 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
14086 reorganize passes to do reg-stack first, bb-reorder second.
14087 * invoke.texi (-d letters doc): Remove the jump2 pass.
14089 2001-07-12 Steve Ellcey <sje@cup.hp.com>
14091 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
14093 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14095 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
14097 (verify_flow_info): Make diagnostics prettier.
14099 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
14101 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
14103 * flow.c (outgoing_edges_match): Return early if condition reversal
14106 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
14108 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
14109 (mips_move_2words): When splitting a move into two instructions,
14110 prefix the second address operand with '%D'.
14112 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
14114 * Makefile.in (final.o): Depend on debug.h.
14115 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
14116 (dbx_debug_hooks): Add new hooks.
14117 (xcoff_debug_hooks): New.
14118 * debug.c (debug_nothing_file_int_int): New.
14119 (do_nothing_debug_hooks): Update.
14120 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
14121 (debug_nothing_file_int_int): New.
14122 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
14123 static, update prototype.
14124 (dwarf2_debug_hooks): Update.
14125 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
14126 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
14127 static, update prototype.
14128 (dwarf_debug_hooks): Update.
14129 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
14130 * final.c: Include debug.h.
14131 (final_scan_insn): Use debug hooks when beginning and ending blocks.
14132 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
14133 static, update prototype.
14134 (sdb_debug_hooks): Update.
14135 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
14136 * toplev.c: Distinguish between xcoff and dbx.
14138 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
14139 Call all debug hooks, not just dwarf ones.
14141 2001-07-11 Timothy Wall <twall@redhat.com>
14143 * config.gcc: Add configuration for AIX5/IA64.
14144 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
14145 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
14146 support prefix/suffix code.
14147 * config/ia64/t-aix: New. Makefile fragment.
14148 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
14150 2001-07-11 Kazu Hirata <kazu@hxi.com>
14152 * recog.c (validate_change): Fix a comment typo.
14154 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
14156 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
14157 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
14159 * dbxout.c (dbx_debug_hooks): Add new hooks.
14160 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
14162 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
14164 * dbxout.h (dbxout_start_new_source_file,
14165 dbxout_resume_previous_source_file): Delete.
14166 * debug.c (do_nothing_debug_hooks): Add new hooks.
14167 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
14168 (debug_nothing_int_charstar, debug_nothing_int): New.
14169 * debug.h (gcc_debug_hooks): New hooks define, undef,
14170 start_source_file and end_source_file.
14171 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
14172 (debug_nothing_int_charstar, debug_nothing_int): New.
14173 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
14174 the conditionally compiled section.
14175 (dwarf2out_start_source_file, dwarf2out_end_source_file,
14176 dwarf2out_define, dwarf2out_undef): Make static.
14177 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
14178 dwarf2out_define, dwarf2out_undef): Remove.
14179 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
14180 (dwarfout_start_source_file, dwarfout_end_source_file,
14181 dwarfout_define, dwarfout_undef): Make static.
14182 (dwarfout_start_source_file_check,
14183 dwarfout_end_source_file_check): New.
14184 (dwarfout_define, dwarfout_finish): Update.
14185 * dwarfout.h (dwarfout_start_new_source_file,
14186 dwarfout_resume_previous_source_file, dwarfout_define,
14187 dwarfout_undef): Remove.
14188 * sdbout.c (sdb_debug_hooks): Add new hooks.
14189 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
14191 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
14192 make static, take an arg.
14193 * sdbout.h (sdbout_start_new_source_file,
14194 sdbout_resume_previous_source_file): Delete.
14195 * toplev.c (debug_start_source_file, debug_end_source_file,
14196 debug_define, debug_undef): Delete.
14197 * toplev.h (debug_start_source_file, debug_end_source_file,
14198 debug_define, debug_undef): Delete.
14200 * java/jcf-parse.c: Include debug.h.
14201 (parse_class_file): Update to use debug hooks directly.
14202 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
14204 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14206 * alias.c (set_mem_alias_set): New function.
14207 * rtl.h (set_mem_alias_set): Declare it.
14208 * builtins.c (expand_builtin_return_addr): Call it instead of
14209 using MEM_ALIAS_SET accessor.
14210 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
14211 (get_memory_rtx, expand_builtin_va_arg): Likewise.
14212 (expand_builtin_va_copy):Likewise.
14213 * caller-save.c (setup_save_areas): Likewise.
14214 * calls.c (compute_argument_addresses): Likewise.
14215 * explow.c (set_mem_attributes): Likewise.
14216 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
14217 (expand_assignment, store_constructor_field, store_field): Likewise.
14218 (expand_expr_unaligned): Likewise.
14219 * function.c (assign_stack_temp_for_type): Likewise.
14220 (put_reg_into_stack, gen_mem_addressof): Likewise.
14221 * ifcvt.c (noce_try_cmove_arith): Likewise.
14222 * reload1.c (reload, alter_reg): Likewise.
14223 * config/alpha/alpha.c (get_aligned_mem): Likewise.
14224 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
14225 (alpha_expand_unaligned_store): Likewise
14226 (alpha_expand_unaligned_load_words): Likewise.
14227 (alpha_expand_unaligned_store_words): Likewise.
14228 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
14229 (alpha_expand_epilogue): Likewise.
14230 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
14231 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
14232 * config/i386/i386.c (legitimize_pic_address): Likewise.
14233 * config/i960/i960.c (setup_incoming_varargs): Likewise.
14234 * config/ia64/ia64.c (spill_restore_mem): Likewise.
14235 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
14236 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
14237 * config/mips/mips.c (mips_va_arg): Likewise.
14238 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
14239 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
14240 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
14241 (setup_incoming_varargs, rs6000_va_arg): Likewise.
14242 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
14243 (rs6000_emit_epilogue): Likewise.
14244 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
14245 * config/sparc/sparc.c (sparc_va_arg): Likewise.
14246 * config/v850/v850.c (v850_va_arg): Likewise.
14248 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
14250 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
14251 when fallthru edge is present.
14252 (mege_blocks): Handle case where creation of jump insn
14255 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
14256 CLEANUP_POST_REGSTACK): New constants.
14257 * except.c (finish_eh_generation): Update call of cleanup_cfg,
14258 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
14259 * output.h (cleanup_cfg): Update prototype.
14260 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
14261 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
14262 cleanup_cfg call; kill missleading comment.
14263 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
14264 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
14265 parameter; control optimizations performed using it.
14266 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
14267 try_crossjump_bb): New functions.
14269 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
14271 * pa.c (pa_output_function_prologue): Delete prototype. Make function
14273 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
14274 pa_output_function_prologue.
14275 * pa-protos.h (pa_output_function_prologue): New prototype.
14277 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
14279 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
14280 and low to get correct sign extension in low+high test.
14282 2001-07-11 Janis Johnson <janis@us.ibm.com>
14284 * gcov.c (arcdata): Use gcov_type to fix branch percentage
14285 for large hit count.
14287 * profile.c (branch_prob): Fix .bbg info for computed gotos
14290 2001-07-11 Mark Mitchell <mark@codesourcery.com>
14292 * stmt.c (parse_output_constraint): New function, split out
14294 (expand_asm_operands): ... here. Use parse_output_constraint.
14295 * tree.h (parse_output_constraint): Declare it.
14297 2001-07-11 Richard Henderson <rth@redhat.com>
14299 * bitmap.c: Comment some functions; fiddle whitespace.
14300 (bitmap_free): Don't export.
14301 (bitmap_element_allocate): Use memset.
14302 * bitmap.h (bitmap_free): Don't declare.
14304 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
14306 * gcse.c, lcm.c, sched-deps.c:
14307 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
14309 * flow.c (flow_loops_find): Free dom if we found no loops, since
14310 we aren't going to save it.
14312 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
14315 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
14317 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
14319 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14321 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
14322 #ifndef DWARF2_DEBUGGING_INFO.
14324 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14326 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
14328 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14330 * config/mips/mips.c (gen_int_relational): Tell the caller not to
14331 reverse a branch if a NE comparison is implemented with GTU.
14333 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14334 H.J. Lu <hjl@gnu.org>
14336 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
14337 constant addresses.
14338 (call_internal2): Likewise.
14339 (call_value_internal1): Likewise.
14340 (call_value_internal2): Likewise.
14341 (call_value_multiple_internal1): Likewise.
14342 (call_value_multiple_internal2): Likewise.
14344 2001-07-10 Kazu Hirata <kazu@hxi.com>
14346 * calls.c (emit_library_call_value_1): Fix a comment typo.
14347 * dwarf2out.c (mem_loc_descriptor): Likewise.
14348 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
14350 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
14352 * simplify-rtx.c (simplify_subreg): Fix typo in comment
14354 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14356 * recog.c (offsettable_address_p): Handle LO_SUM case.
14357 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
14358 instead of plus_constant.
14360 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14362 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
14363 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
14365 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14367 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
14368 adjust_address_nv instead of plus_constant.
14370 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
14372 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
14373 dwarf2out.o): Depend on debug.h, wrap long lines.
14374 * dbxout.c: Include debug.h.
14375 (dbx_debug_hooks): New.
14376 (dbxout_init): Make static, take just 2 args.
14377 (dbxout_finish): Make static.
14378 * dbxout.h (dbxout_init, dbxout_finish): Delete.
14379 * debug.c: New file.
14380 * debug.h: New file.
14381 * dwarf2out.c: Include debug.h.
14382 (dwarf2_debug_hooks): New.
14383 (dwarf2out_init): Make static.
14384 (dwarf2out_finish): Make static, take 2 args.
14385 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
14386 * dwarfout.c: Include debug.h.
14387 (dwarf_debug_hooks): New.
14388 (dwarfout_init): Make static.
14389 (dwarfout_finish): Make static, take 2 args.
14390 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
14391 * sdbout.c: Include debug.h.
14392 (sdb_debug_hooks): New.
14393 (sdbout_init): Make static, take 2 args.
14394 * sdbout.h (sdbout_init): Delete.
14395 * toplev.c: Include debug.h.
14396 (debug_hooks): New.
14397 (compile_file): Set deubg_hooks based on command line options.
14398 Use the hooks unconditionally rather than conditional compilation.
14400 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
14402 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
14403 first_insn_after_basic_block_note instead.
14405 * df.c (df_bb_refs_unlink): #if 0 out for now.
14407 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
14409 * ssa.h: Add prototype for ssa_const_prop
14410 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
14411 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
14412 (ssa_fast_dce): Remove unused variable
14414 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14416 * diagnostic.c (finish_diagnostic): Rename to
14417 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
14420 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
14422 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
14425 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
14426 (dump_file): Only pad the demangled name with spaces if the
14427 mangled name was padded with spaces.
14429 2001-07-10 Bernd Schmidt <bernds@redhat.com>
14431 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
14434 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14436 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
14437 extraction if no direct load if either EXPAND_CONST_ADDRESS or
14438 EXPAND_INITIALIZER.
14440 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
14441 whether can put offset inside LO_SUM to check mode alignment, not size.
14443 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14445 * doc/tm.texi (Misc): Fix thinko.
14447 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
14449 * regmove.c (replace_in_call_usage): Fix warnings.
14450 * sched-deps.c (add_dependence): Fix warnings.
14451 * simplify-rtx.c (simplify_subreg): Likewise.
14452 Return NULL_RTX instead of NULL.
14454 * reg-stack.c (emit_swap_insn): Eliminate warnings.
14455 (subst_asm_stack_regs): Likewise.
14457 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
14460 * dwarf2out.c (output_call_frame_info): Declare i as int.
14461 (build_abbrev_table): Declare n_alloc as int.
14462 (dwarf2out_finish): Initialize die.
14463 * except.c: Declare sjlj_funcdef_number as unsigned.
14464 (connect_post_landing_pads): Declare j as unsigned.
14465 (convert_to_eh_region_ranges): Initialize call_site.
14466 (output_function_exception_table): Initialize tt_format_size.
14467 * expr.c (move_by_pieces_1): Initialize to1.
14468 (store_constructor): Initialize minelt and maxelt.
14469 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
14470 * function.c (instantiate_decls): Avoid signed/unsigned warning.
14472 * c-decl.c (combine_parm_decls): Unused, remove.
14473 * c-tree.h: Remove prototype for combine_parm_decls.
14475 * reload.c (push_reload): Fix warning.
14476 (regno_clobbered_p): Likewise.
14477 * reload1.c (replace_pseudos_in_call_usage): Likewise.
14478 (reload_combine): Likewise.
14480 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
14481 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
14483 * bitmap.c (bitmap_operation): Change user.
14484 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
14486 2001-07-10 Eric Christopher <echristo@redhat.com>
14488 * config/mips/mips.c (override_options): Fix typo.
14490 2001-07-09 Stan Shebs <shebs@apple.com>
14492 * target.h (struct gcc_target): New fields init_builtins and
14494 * target-def.h (TARGET_INIT_BUILTINS): New macro.
14495 (TARGET_EXPAND_BUILTIN): New macro.
14496 (TARGET_INITIALIZER): Add them.
14497 * builtins.c: Include target.h.
14498 (expand_builtin): Use targetm.expand_builtin.
14499 (default_init_builtins): New function.
14500 (default_expand_builtin): New function.
14501 * expr.h (default_init_builtins): Declare.
14502 (default_expand_builtin): Declare.
14503 * c-common.c (c_common_nodes_and_builtins): Use
14504 targetm.init_builtins.
14505 * defaults.h (MD_INIT_BUILTINS): Remove.
14506 * Makefile.in (builtins.o): Depend on target.h.
14508 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
14509 (TARGET_EXPAND_BUILTIN): Define.
14510 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
14511 (MD_EXPAND_BUILTIN): Remove.
14513 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
14514 (TARGET_EXPAND_BUILTIN): Define.
14515 (c4x_init_builtins): Make endlink arg a local.
14516 (c4x_print_operand): Fix typos in adjust_address usages.
14517 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
14518 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
14519 (MD_EXPAND_BUILTIN): Remove.
14521 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
14522 (TARGET_EXPAND_BUILTIN): Define.
14523 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
14524 (ix86_init_builtins): Call new function only if TARGET_MMX.
14525 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
14526 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
14527 (MD_EXPAND_BUILTIN): Remove.
14529 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
14530 (TARGET_EXPAND_BUILTIN): Define.
14531 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
14532 (MD_EXPAND_BUILTIN): Remove.
14534 * doc/tm.texi: Document these changes.
14536 2001-07-09 Diego Novillo <dnovillo@redhat.com>
14538 * basic-block.h (tree_node): Forward declare if needed.
14539 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
14540 (BLOCK_HEAD_TREE): Define.
14541 (BLOCK_END_TREE): Define.
14542 (struct loops): Rename field 'tree' to 'tree_root'.
14543 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
14545 (flow_loops_tree_build): Rename reference to field 'tree' to
14547 (flow_loops_level_compute): Ditto.
14548 * predict.c (estimate_bb_frequencies): Ditto.
14549 * tree.h (struct tree_common): Add field 'aux'.
14551 2001-07-09 Stan Shebs <shebs@apple.com>
14553 * config/darwin.c (darwin_encode_section_info): Don't mark any
14554 DECL_EXTERNAL node as defined.
14556 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14558 * pa.c (pa_init_machine_status, pa_mark_machine_status,
14559 pa_free_machine_status, hppa_init_pic_save): Delete.
14560 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
14561 (hppa_profile_hook): Use hppa_pic_save_rtx.
14562 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
14563 hppa_init_pic_save): Delete.
14564 (hppa_pic_save_rtx): Declare.
14565 * pa.md (call, call_value, sibcall, sibcall_value,
14566 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
14568 2001-07-09 Kazu Hirata <kazu@hxi.com>
14570 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
14571 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
14573 2001-07-09 Andreas Jaeger <aj@suse.de>
14575 * output.h: Add declaration of final_forward_branch_p.
14577 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
14579 * varray.c: Include errors.h for internal_error and trim_filename
14582 * Makefile.in (varray.o): Add errors.h.
14584 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
14586 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
14587 * optabs.c (have_add2_insn): Check whether the add insn chosen
14588 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
14589 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
14591 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
14593 * Makefile.in (OBJS): Add ssa-ccp.o
14594 (ssa-ccp.o): Add dependencies.
14595 * toplev.c (DFI_ssa_ccp): New dump file enum.
14596 (dump_file): Add entry for dumping after SSA CCP.
14597 (flag_ssa_ccp): New flag variable.
14598 (f_options): Add -fssa-ccp.
14599 (rest_of_compilation): Run SSA CCP if requested.
14600 * timevar.def (TV_SSA_CCP): New timevar.
14601 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
14602 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
14603 Fix minor typo in SSA DCE documentation.
14604 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
14605 Add documentation for new dump option. Renumber dump files
14608 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14610 * emit-rtl.c (gen_highpart_mode): New.
14611 * rtl.h (gen_highpart_mode): Declare.
14612 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
14613 operand can be VOIDmode constant.
14615 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
14617 * flow.c (redirect_edge_and_branch_force): New.
14618 (can_fallthru): Ensure that basic blocks are succeeding.
14619 (try_optimize_cfg): Do not delete basic block if it is the last one.
14621 * flow.c (try_redirect_by_replacing_jump): Do not remove
14622 jumps with side effects, unlink chain on fallthru edge;
14623 set block for new jump instruction; avoid basic block to
14624 over by line number note.
14626 * flow.c (try_simplify_condjump): Verify that the condjump
14627 is not always falling through.
14630 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
14632 * flow.c (forwarder_block_p): Fix for fallthru blocks.
14633 (try_redirect_by_replacing_jump): Update properly the count
14634 and frequency information.
14636 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14638 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
14639 address that is a LO_SUM specially.
14640 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
14642 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
14644 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
14645 (operand_subword): Use them.
14646 (change_address_1): Renamed from change_address; new arg VALIDATE.
14647 * expr.h: Reflect above changes; change_address now macro.
14648 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
14650 * cselib.c (add_mem_for_addr): Likewise.
14651 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
14652 * regmove.c (try_apply_stack_adjustment): Likewise.
14653 * reload.c (push_reload, make_memloc): Likewise.
14654 * reload1.c (eliminate_regs): Likewise.
14655 * simplify-rtx.c (simplify_replace_rtx): Likewise.
14656 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
14658 * combine.c (make_extraction, simplify_shift_const): Likewise.
14659 (gen_lowpart_for_combine): Likewise.
14660 * cse.c (gen_lowpart_if_possible): Likewise.
14661 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
14662 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
14663 * optabs.c (gen_move_insn): Likewise.
14664 * reload1.c (alter_reg): Likewise.
14665 * simplify-rtx.c (simplify_subreg): Likewise.
14666 * stmt.c (expand_anon_union_decl): Likewise.
14667 * recog.c (validate_replace_rtx_1): Likewise.
14669 * Makefile.in (recog.o): Add $(EXPR_H).
14670 * explow.c (stabilize): Call replace_equiv_address.
14671 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
14672 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
14674 2001-07-03 Andrew Haley <aph@redhat.com>
14676 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
14677 the mode of the memory location.
14679 2001-07-09 Bo Thorsen <bo@suse.co.uk>
14681 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
14683 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
14685 * final.c (output_addr_const): Use target opening and
14686 closing parentheses.
14687 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
14688 defaults, add to TARGET_ASM_OUT.
14689 * target.h (struct gcc_target): Add open_paren and close_paren.
14690 * doc/md.texi: Update.
14691 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
14692 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
14693 TARGET_ASM_CLOSE_PAREN.
14694 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
14696 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
14698 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
14699 * config/a29k/a29k.h: Similarly.
14700 * config/alpha/alpha.h: Similarly.
14701 * config/arc/arc.h: Similarly.
14702 * config/arm/aof.h: Similarly.
14703 * config/arm/aout.h: Similarly.
14704 * config/avr/avr.h: Similarly.
14705 * config/c4x/c4x.h: Similarly.
14706 * config/clipper/clipper.h: Similarly.
14707 * config/convex/convex.h: Similarly.
14708 * config/d30v/d30v.h: Similarly.
14709 * config/dsp16xx/dsp16xx.h: Similarly.
14710 * config/elxsi/elxsi.h: Similarly.
14711 * config/fr30/fr30.h: Similarly.
14712 * config/h8300/h8300.h: Similarly.
14713 * config/i370/i370.h: Similarly.
14714 * config/i386/i386.h: Similarly.
14715 * config/i860/i860.h: Similarly.
14716 * config/i960/i960.h: Similarly.
14717 * config/ia64/ia64.h: Similarly.
14718 * config/m32r/m32r.h: Similarly.
14719 * config/m68hc11/m68hc11.h: Similarly.
14720 * config/m68k/m68k.h: Similarly.
14721 * config/m88k/m88k.h: Similarly.
14722 * config/mcore/mcore.h: Similarly.
14723 * config/mips/mips.h: Similarly.
14724 * config/mn10200/mn10200.h: Similarly.
14725 * config/mn10300/mn10300.h: Similarly.
14726 * config/ns32k/ns32k.h: Similarly.
14727 * config/pa/pa.h: Similarly.
14728 * config/pdp11/pdp11.h: Similarly.
14729 * config/pj/pj.h: Similarly.
14730 * config/romp/romp.h: Similarly.
14731 * config/rs6000/rs6000.h: Similarly.
14732 * config/sh/sh.h: Similarly.
14733 * config/sparc/sparc.h: Similarly.
14734 * config/v850/v850.h: Similarly.
14735 * config/vax/vax.h: Similarly.
14736 * config/we32k/we32k.h: Similarly.
14738 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
14740 * doc/c-tree.texi: Document representation of attributes.
14742 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14744 * doc/tm.texi: Update some places for the rename of target to
14747 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14749 * target.h (struct gcc_target): Add insert_attributes.
14750 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
14751 (TARGET_INITIALIZER): Update.
14752 * tree.c, tree.h (default_insert_attributes): New function.
14753 Update comments on other default functions to refer to targetm,
14755 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
14756 TARGET_INSERT_ATTRIBUTES.
14757 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
14758 * c-common.c (decl_attributes): Use targetm.insert_attributes.
14759 Don't use PRAGMA_INSERT_ATTRIBUTES.
14760 * Makefile.in (c-common.o): Depend on $(TARGET_H).
14761 * c-decl.c (start_decl, start_function): Don't call
14762 SET_DEFAULT_DECL_ATTRIBUTES.
14763 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
14764 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
14766 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
14767 (c4x_check_attribute): Avoid modifying attribute list itself.
14768 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
14770 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
14771 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
14773 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
14774 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
14776 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
14777 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
14779 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
14780 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
14781 Adjust parameters. Make static.
14783 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14785 * c-common.c (decl_attributes): Only take a single attributes
14787 * c-common.h (decl_attributes): Update prototype.
14788 * c-decl.c (start_decl, start_function): Only take a single
14789 attributes parameter. Update calls to decl_attributes.
14790 (finish_struct, finish_enum): Update calls to decl_attributes.
14791 (push_parm_decl): Expect unified list of attributes. Update call
14792 to decl_attributes.
14793 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
14794 notype_nested_function, component_declarator,
14795 component_notype_declarator, label): Update calls to
14797 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
14798 lists that are passed to push_parm_decl.
14799 * c-tree.h (start_function, start_decl): Update prototypes.
14800 * config/sh/sh-protos.h, config/sh/sh.c
14801 (sh_pragma_insert_attributes): Only take a single attributes
14803 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
14804 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
14805 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
14806 build_module_descriptor, generate_static_references,
14807 generate_strings, build_selector_translation_table,
14808 generate_descriptor_table, generate_protocols,
14809 generate_ivars_list, generate_dispatch_table,
14810 generate_protocol_list, generate_category,
14811 generate_shared_structures, really_start_method, add_objc_decls,
14812 generate_classref_translation_entry): Update calls to start_decl
14813 and start_function.
14814 (build_tmp_function_decl, start_method_def): Unify attribute lists
14815 that are passed to push_parm_decl.
14817 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
14819 * final.c (no_asm_to_stream): New.
14820 (final_scan_insn): Use target structures for prologue ends
14821 and epilogue starts.
14822 * output.h (no_asm_to_stream): New.
14823 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
14824 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
14825 (TARGET_ASM_OUT): Update.
14826 * target.h (struct gcc_target): New members function_end_prologue
14827 and function_begin_epilogue.
14828 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
14829 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
14830 * config/alpha/alpha.c (output_end_prologue): Rename to
14831 alpha_output_function_end_prologue. Use in target struct
14833 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
14834 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
14835 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
14836 ia64_output_function_end_prologue. Use in target struct
14838 (ia64_function_prologue, ia64_funciton_epilogue): Rename
14839 mistyped prototypes.
14840 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
14841 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
14843 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
14844 an use in target struct, make static.
14845 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
14848 2001-07-08 Richard Henderson <rth@redhat.com>
14850 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
14852 2001-07-08 Richard Henderson <rth@redhat.com>
14854 * config/i386/i386.md: Remove constraints strings from define_split
14855 and define_peephole2 patterns.
14856 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
14857 (eh_return): Use them.
14859 2001-07-08 Richard Henderson <rth@redhat.com>
14861 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
14862 Document MD_FALLBACK_FRAME_STATE_FOR.
14864 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14866 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
14867 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
14869 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
14871 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
14873 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
14874 of the label inside NAME as opposed to just the end of NAME.
14876 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
14878 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
14879 * config/alpha/alpha.c (alpha_init_machine_status,
14880 alpha_mark_machine_status, alpha_free_machine_status): Delete.
14881 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
14882 (vms_valid_decl_attribute_p): Make static, conditionally compile.
14883 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
14885 2001-07-06 Stan Shebs <shebs@apple.com>
14887 * target.h (targetm): Rename global from "target", so as not to
14888 conflict with local variables.
14890 * c-typeck.c: Ditto.
14893 * cp/decl.c: Ditto.
14894 * cp/decl2.c: Ditto.
14895 * cp/typeck.c: Ditto.
14896 * 1750a/1750a.c: Ditto.
14897 * a29k/a29k.c: Ditto.
14898 * arc/arc.c: Ditto.
14899 * arm/arm.c: Ditto.
14900 * avr/avr.c: Ditto.
14901 * clipper/clipper.c: Ditto.
14902 * convex/convex.c: Ditto.
14903 * d30v/d30v.c: Ditto.
14904 * dsp16xx/dsp16xx.c: Ditto.
14905 * elxsi/elxsi.c: Ditto.
14906 * fr30/fr30.c: Ditto.
14907 * h8300/h8300.c: Ditto.
14908 * i370/i370.c: Ditto.
14909 * i386/i386.c: Ditto.
14910 * i860/i860.c: Ditto.
14911 * i960/i960.c: Ditto.
14912 * ia64/ia64.c: Ditto.
14913 * m32r/m32r.c: Ditto.
14914 * m68hc11/m68hc11.c: Ditto.
14915 * m68k/m68k.c: Ditto.
14916 * m88k/m88k.c: Ditto.
14917 * mips/mips.c: Ditto.
14918 * ns32k/ns32k.c: Ditto.
14920 * pdp11/pdp11.c: Ditto.
14921 * romp/romp.c: Ditto.
14922 * rs6000/rs6000.c: Ditto.
14924 * sparc/sparc.c: Ditto.
14925 * vax/vax.c: Ditto.
14926 * we32k/we32k.c: Ditto.
14927 * doc/tm.texi: Update the manual to match.
14929 2001-07-06 Richard Henderson <rth@redhat.com>
14931 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
14932 DWARF2_UNWIND_INFO not just whether it is defined.
14934 2001-07-06 Diego Novillo <dnovillo@redhat.com>
14936 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
14937 call to simplify_binary_operation returns a new pattern.
14939 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14941 * glimits.h (__SHRT_MAX__): New.
14942 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
14943 (SHRT_MAX): Define in terms of __SHRT_MAX__.
14945 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
14947 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
14950 2001-07-06 Richard Henderson <rth@redhat.com>
14952 * bitmap.c (bitmap_release_memory): Move adjacent to the
14953 allocation functions.
14954 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
14955 the implementation. Binary search for the set bit.
14956 (bitmap_union_of_diff): Allocate the temporary on the stack
14957 instead of using xmalloc.
14959 2001-07-06 Richard Henderson <rth@redhat.com>
14961 * genrecog.c (validate_pattern): Warn for constraints in
14962 define_{expand,split,peephole2}. Remove strict_low_part
14963 before looking up match_dup.
14965 2001-07-06 DJ Delorie <dj@redhat.com>
14967 * doc/gcc.texi (Makefile): Rename to be a more general purpose
14968 chapter about various build hints and history. Add section
14969 talking about the various types of native and cross builds.
14971 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
14973 * Makefile.in (final.o): Depend on target.h.
14974 * final.c: Include target.h.
14975 (default_function_pro_epilogue): New.
14976 (final_start_function): Use target structure for function prologues.
14977 (final_end_function): Use target structure for function epilogues.
14978 * fold-const.c (real_hex_to_f): Constify s and p.
14979 * output.h (default_function_pro_epilogue): New.
14980 * real.h (real_hex_to_f): Update prototype.
14981 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
14982 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
14983 (TARGET_INITIALIZER): Update.
14984 * target.h (gcc_target): Add struct asm_out.
14985 * doc/tm.texi: Update.
14988 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
14989 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
14990 in cpu/cpu.c, or rename old functions consistently. Take
14991 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
14992 redundant macros and prototypes. Make new functions static.
14994 * 1750a/1750a.c: Similarly.
14995 * 1750a/1750a.h: Similarly.
14996 * a29k/a29k-protos.h: Similarly.
14997 * a29k/a29k.c: Similarly.
14998 * a29k/a29k.h: Similarly.
14999 * arc/arc-protos.h: Similarly.
15000 * arc/arc.c: Similarly.
15001 * arc/arc.h: Similarly.
15002 * arm/arm-protos.h: Similarly.
15003 * arm/arm.c: Similarly.
15004 * arm/arm.h: Similarly.
15005 * avr/avr-protos.h: Similarly.
15006 * avr/avr.c: Similarly.
15007 * avr/avr.h: Similarly.
15008 * clipper/clipper-protos.h: Similarly.
15009 * clipper/clipper.c: Similarly.
15010 * clipper/clipper.h: Similarly.
15011 * convex/convex.c: Similarly.
15012 * convex/convex.h: Similarly.
15013 * d30v/d30v-protos.h: Similarly.
15014 * d30v/d30v.c: Similarly.
15015 * d30v/d30v.h: Similarly.
15016 * d30v/d30v.md: Similarly.
15017 * dsp16xx/dsp16xx-protos.h: Similarly.
15018 * dsp16xx/dsp16xx.c: Similarly.
15019 * dsp16xx/dsp16xx.h: Similarly.
15020 * elxsi/elxsi.c: Similarly.
15021 * elxsi/elxsi.h: Similarly.
15022 * fr30/fr30.c: Similarly.
15023 * fr30/fr30.md: Similarly.
15024 * h8300/h8300-protos.h: Similarly.
15025 * h8300/h8300.c: Similarly.
15026 * h8300/h8300.h: Similarly.
15027 * i370/i370-protos.h: Similarly.
15028 * i370/i370.c: Similarly.
15029 * i370/i370.h: Similarly.
15030 * i386/i386.c: Similarly.
15031 * i386/osf1elf.h: Similarly.
15032 * i386/osfrose.h: Similarly.
15033 * i860/i860-protos.h: Similarly.
15034 * i860/i860.c: Similarly.
15035 * i860/i860.h: Similarly.
15036 * i960/i960-protos.h: Similarly.
15037 * i960/i960.c: Similarly.
15038 * i960/i960.h: Similarly.
15039 * ia64/ia64-protos.h: Similarly.
15040 * ia64/ia64.c: Similarly.
15041 * ia64/ia64.h: Similarly.
15042 * m32r/m32r-protos.h: Similarly.
15043 * m32r/m32r.c: Similarly.
15044 * m32r/m32r.h: Similarly.
15045 * m68hc11/m68hc11-protos.h: Similarly.
15046 * m68hc11/m68hc11.c: Similarly.
15047 * m68hc11/m68hc11.h: Similarly.
15048 * m68k/crds.h: Similarly.
15049 * m68k/dpx2.h: Similarly.
15050 * m68k/m68k-protos.h: Similarly.
15051 * m68k/m68k.c: Similarly.
15052 * m68k/m68k.h: Similarly.
15053 * m68k/news.h: Similarly.
15054 * m88k/m88k-protos.h: Similarly.
15055 * m88k/m88k.c: Similarly.
15056 * m88k/m88k.h: Similarly.
15057 * mips/mips-protos.h: Similarly.
15058 * mips/mips.c: Similarly.
15059 * mips/mips.h: Similarly.
15060 * ns32k/merlin.h: Similarly.
15061 * ns32k/ns32k.c: Similarly.
15062 * ns32k/ns32k.h: Similarly.
15063 * ns32k/tek6000.h: Similarly.
15064 * pa/pa-protos.h: Similarly.
15065 * pa/pa.c: Similarly.
15066 * pa/pa.h: Similarly.
15067 * pdp11/2bsd.h: Similarly.
15068 * pdp11/pdp11-protos.h: Similarly.
15069 * pdp11/pdp11.c: Similarly.
15070 * pdp11/pdp11.h: Similarly.
15071 * romp/romp-protos.h: Similarly.
15072 * romp/romp.c: Similarly.
15073 * romp/romp.h: Similarly.
15074 * rs6000/rs6000-protos.h: Similarly.
15075 * rs6000/rs6000.c: Similarly.
15076 * rs6000/rs6000.h: Similarly.
15077 * rs6000/sysv4.h: Similarly.
15078 * sh/sh-protos.h: Similarly.
15079 * sh/sh.c: Similarly.
15080 * sh/sh.h: Similarly.
15081 * sparc/sparc-protos.h: Similarly.
15082 * sparc/sparc.c: Similarly.
15083 * sparc/sparc.h: Similarly.
15084 * vax/vax.c: Similarly.
15085 * vax/vax.h: Similarly.
15086 * vax/vms.h: Similarly.
15087 * we32k/we32k.c: Similarly.
15088 * we32k/we32k.h: Similarly.
15090 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
15092 * basic-block.h (first_insn_after_basic_block_note): Declare.
15093 * flow.c (first_insn_after_basic_block_note): Define. Moved
15095 * ssa.c (first_insn_after_basic_block_note): Remove.
15096 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
15098 (ssa_eliminate_dead_code): Properly update the CFG and PHI
15099 nodes when we find a dead conditional branch. Insert BARRIERs
15100 after any blocks with no successors, but which do not have
15103 2001-07-06 Zack Weinberg <zackw@stanford.edu>
15105 * varray.c (varray_check_failed): Use internal_error.
15107 2001-07-05 Andrew Haley <aph@redhat.com>
15109 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
15110 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
15111 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
15113 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
15115 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
15116 reference if the target constant is also a SYMBOL_REF.
15118 2001-07-05 Eric Christopher <echristo@redhat.com>
15120 * config/mips/mips.h (MASK_MIPS3900): Remove.
15121 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
15122 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
15123 (TARGET_MIPS3900): Change to use mips_arch.
15124 (TARGET_MIPS4000): New.
15125 (TARGET_MIPS4100): New.
15126 (TARGET_MIPS4300): New.
15127 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
15128 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
15130 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
15131 (ISA_HAS_BRANCHLIKELY): To here.
15132 (CC1_CPU_SPEC): New.
15133 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
15134 (mips_arch_string): Declare.
15135 (mips_arch): Declare.
15136 (TARGET_OPTIONS): Add -march and -mtune.
15138 * config/mips/mips.c (mips_arch_string): New.
15140 (override_options): Handle -march for codegen and -mtune
15141 for scheduling. Use mips_arch. Move tx39 target default here.
15142 (mips_parse_cpu): Move error message to override_options.
15144 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
15146 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
15148 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
15149 (MIPS Options): Ditto. Change mcpu entry to historical text.
15151 2001-07-05 H.J. Lu (hjl@gnu.org)
15153 * config/mips/mips.c (mips_parse_cpu): New function to parse
15156 2001-07-05 Jim Wilson <wilson@redhat.com>
15158 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
15159 * config/ia64/t-ia64: Likewise.
15160 (LIB1ASMFUNCS): Update comment.
15162 2001-07-05 David Edelsohn <edelsohn@gnu.org>
15164 * doc/install.texi (Install GCC: Binaries): Fix typo.
15166 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15168 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
15169 reference using the stack pointer, adjust it since we push Y
15171 ("*ashrsi3"): Likewise.
15172 ("*lshrsi3"): Likewise.
15174 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15176 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
15177 when -fomit-frame-pointer is used.
15179 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
15181 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
15182 (try_redirect_by_replacing_jump): Reverse updating properly the
15183 count and frequency information. Reverse removing cc0 setter.
15184 (forwarder_block_p): Reverse fixing for fallthru blocks.
15186 2001-07-05 DJ Delorie <dj@redhat.com>
15188 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
15189 (translate_options): If the above is defined, use it to map
15190 given options to new options.
15191 * doc/tm.texi: Document it.
15193 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
15194 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15196 * doc/invoke.texi (Optimize Options): Document that -fgcse may
15197 cause programs using computed gotos to run more slowly.
15199 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15201 * doc/install.texi (Specific): Markup, spelling and typo fixes.
15203 Consistently require binutils 2.11.2, not prereleases.
15204 (Specific, decstation-*): Canonicalize as mips-dec-*.
15205 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
15207 (Specific, m68k-altos): Removed reference to README.altos, deleted.
15208 (Specific, mips-*): Reword MIPS C compiler requirements.
15209 (Specific, powerpc*-*-*): New, mention --with-cpu once.
15210 (Specific, sunv5): Removed, obsolete.
15212 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
15214 * dwarf2out.c (output_loc_list): Use an all ones mask for
15215 .text asm output and don't rely on long long
15216 literals. Reformat some long lines.
15218 2001-07-05 Andreas Jaeger <aj@suse.de>
15220 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
15223 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15225 * dwarf2out.c (dwarf2out_define): Update comment.
15226 (dwarf2out_undef): Ditto.
15227 (dwarf2out_start_source_file): Ditto.
15228 (dwarf2out_end_source_file): Ditto.
15229 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
15230 since we never call the start/end debug hook for the primary file.
15232 2001-07-04 Kazu Hirata <kazu@hxi.com>
15234 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
15237 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
15239 * cppinit.c (remove_dup_dirs): Inform if a system include
15240 directory is being reordered.
15241 * doc/invoke.texi (Directory Options): GCC warns if you hide a
15243 * doc/cpp.texi (Search Paths): Likewise.
15244 * doc/gcc.texi (Interoperation): Remove information about
15247 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
15249 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
15250 (VARRAY_TOP_CHAR_PTR): Likewise.
15252 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15254 * gcc.c (process_command): Don't assign elements of a const char*.
15256 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15258 * emit-rtl.c (change_address): Don't abort if invalid address while
15259 reload is in progress.
15261 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15263 * c-lex.c (cb_file_change): Pass line number to
15264 debug_start_source_file.
15265 (cb_undefine): Pass correct line number to debug_undef.
15267 * toplev.c (debug_start_source_file): Add line number to
15268 parameters. Pass it along to dwarf2out_start_source_file.
15269 (decode_g_option): Stop resetting debug level back to normal when
15270 we change debug formats, unless the current level is
15271 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
15274 * toplev.h (debug_start_source_file): Add line number to
15277 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
15280 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
15282 Output debug_macinfo data for starting file if requested.
15283 (dwarf2out_end_source_file): Output debug_macinfo data for ending
15285 (dwarf2out_define): Output debug_macinfo data for defining a macro
15287 (dwarf2out_undef): Output debug_macinfo data for undefining a
15288 macro if requested.
15289 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
15290 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
15291 (macinfo_section_label): New. DWARF2 macro info section label.
15292 (dwarf2out_init): If we want macro info, output the start label
15294 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
15295 attribute to the compilation unit die pointing to the macro info.
15297 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15299 * dwarf2out.c (new_loc_list): Move to inside #ifdef
15300 DWARF2_DEBUGGING_INFO.
15301 (add_loc_descr_to_loc_list): Ditto.
15302 (output_loc_list): Ditto.
15303 Also, fix thinko in curr not being initialized.
15304 (gen_internal_sym): Ditto.
15306 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15308 * emit-rtl.c (replace_equiv_address): New function.
15309 * expr.h (replace_equiv_address): New declaration.
15310 * explow.c (validize_mem): Call it instead of change_address and
15311 also call if -fforce-addr and address is constant.
15312 * expr.c: Replace more calls to change_address with adjust_address
15313 and/or replace_equiv_address or to validize_mem.
15314 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
15315 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
15316 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
15317 * config/i370/i370.md, config/i860/i860.md: Likewise.
15318 * config/i960/i960.md, config/mips/mips.c: Likewise.
15319 * config/mips/mips.md, config/pa/pa.md: Likewise.
15320 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
15321 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
15323 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15325 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
15327 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
15330 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
15332 * doc/include: New directory.
15333 * doc/fdl.texi: Move to doc/include/fdl.texi.
15334 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
15335 * doc/include/funding.texi, doc/include/gpl.texi: New files.
15336 * doc/gcc.texi: Use funding.texi and gpl.texi.
15337 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
15338 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
15339 Update dependencies and use -I $(docdir)/include.
15341 2001-07-04 Anthony Green <green@redhat.com>
15343 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
15345 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15347 * doc/install.texi (sparc64-*-*): Remove garbage.
15349 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
15351 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
15352 Fix typo in last change to use adjust_address.
15354 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15356 * doc/install.texi (Specific): Update information for *-*-solaris*.
15358 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15360 * explow.c (plus_constant_wide): Reinitialize Y for restart.
15362 2001-07-03 Stan Shebs <shebs@apple.com>
15364 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
15365 case for flag_no_mach_text_sections.
15366 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
15367 * config/darwin.c (flag_no_mach_text_sections): Remove.
15368 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
15370 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15372 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
15373 and avoid checking for constant as first operand.
15374 * recog.c (find_constant_term_loc): No longer static.
15375 (adj_offettable_operand): Delete.
15376 * rtl.h (adj_offsettable_operand): Delete declaration.
15377 (find_constant_term): Add declaration.
15378 * caller-save.c: Replace calls to adj_offsettable_operand with calls
15380 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
15381 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
15382 * config/i386/i386.c, config/i386/i386.md: Likewise.
15383 * config/i860/i860.c, config/i960/i960.c: Likewise.
15384 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
15385 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
15386 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
15387 * config/mips/mips.c, config/mips/mips.md: Likewise.
15388 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
15389 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
15390 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
15391 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
15392 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
15393 * config/ns32k/ns32k.md: Likewise.
15395 2001-07-03 Zack Weinberg <zackw@stanford.edu>
15397 * rtl.c (copy_rtx): Handle 'T' format letter.
15398 * gensupport.c (collect_insn_data): Likewise.
15399 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
15401 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
15403 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
15404 -B option. Use 'dir' not 'foo' as example directory name.
15406 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15408 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
15409 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
15411 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
15413 * doc/cppinternals.texi: Improve formatting and logical markup.
15415 2001-07-03 Andreas Jaeger <aj@suse.de>
15417 * Makefile.in (insn-recog.o): Add dependency on reload.h.
15419 * genrecog.c (write_header): Include reload.h for prototypes in
15422 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
15425 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
15426 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
15427 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
15428 i386_pe_valid_type_attribute_p): Add.
15429 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
15430 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
15432 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15434 * explow.c (plus_constant_wide, case LO_SUM): New case.
15435 (plus_constant_for_output_wide): Delete.
15436 * rtl.h (plus_constant_for_output): Delete.
15437 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
15438 instead of plus_constant_for_output.
15439 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
15440 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
15441 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
15442 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
15443 * config/sparc/sparc.md: Likewise.
15444 Convert some change_address calls to adjust_address.
15446 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
15448 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
15449 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
15450 documentation of -std and -Wwrite-strings.
15452 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
15454 * cse.c (canon_hash): Don't register registers in very small
15455 register classes, as extending their lifetime might cause
15458 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15460 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15462 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15463 (try_redirect_by_replacing_jump): Update properly the count
15464 and frequency information.
15466 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
15468 * toplev.c (dump_file_index): Move SSA dumps just after first
15470 (dump_file): Corresponding changes.
15471 (rest_of_compilation): Move SSA path to just after the first
15473 * doc/gcc.texi (Passes): Update due to movement of SSA path.
15474 * doc/invoke.texi: Update dump file #s as they were completely
15475 out of date with reality.
15477 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
15479 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
15481 * expr.c (emit_move_insn_1): Deal with non-default
15484 * expr.c (emit_single_push_insn): Fix warning.
15486 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
15488 * expr.c (emit_move_insn_1): Avoid modifying
15489 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
15491 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15493 * emit-rtl.c (adjust_address): New function.
15494 * expr.h (adjust_address): Add declaration.
15495 * builtins.c: Replace some calls to change_address with calls to it
15496 or to validize_mem.
15497 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
15498 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
15499 * config/arm/arm.c, config/convex/convex.c: Likewise.
15500 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
15501 * config/i386/i386.c, config/i386/i386.md: Likewise.
15502 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
15503 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
15504 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
15505 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
15506 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
15508 2001-07-02 Jim Wilson <wilson@redhat.com>
15510 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
15512 2001-07-02 Steve Ellcey <sje@cup.hp.com>
15514 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
15515 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
15517 2001-07-02 Zack Weinberg <zackw@stanford.edu>
15519 * cppinit.c (lang_defaults): New table.
15520 (set_lang): Just read from lang_defaults into the live options
15523 2001-07-02 Zack Weinberg <zackw@stanford.edu>
15525 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
15526 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
15527 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
15529 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15531 * doc/install.texi: Various spelling and markup fixes.
15532 (Installing GCC): Component specific installation instructions are
15535 Warn about removing old install dir in the presence of shared libs.
15536 (Configuration): Invoke with options target to match configure
15538 Consistently refer to gas, gld pathnames.
15539 Invert --enable-multilib documentation.
15540 Remove references to old compiler versions.
15542 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15544 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
15546 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15548 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
15550 (Specific, mips*-sgi-irix5): Note IDO download.
15551 Reworded MIPS C hints.
15552 Use GNU as instead of GAS.
15554 Removed SGI Freeware reference, IRIX 6 only.
15555 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
15556 Note N64 library requirement/workaround.
15558 Complete list of structure passing bug victims.
15560 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15562 * doc/install.texi: Remove CVS Id.
15564 2001-07-02 Andreas Jaeger <aj@suse.de>
15566 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
15567 (find_inherently_necessary): Remove unused variable.
15569 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
15571 * c-common.h (TDI_inlined): New ast dump phase.
15572 (dump_flag_name): New function.
15573 * c-dump.c (dump_files): Add inlined phase.
15574 (dump_flag_name): Define.
15575 * doc/invoke.texi (-fdump-ast-inlined): Document.
15577 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15579 * stor-layout.c (layout_decl): Revert change to handling of alignment
15582 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15584 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
15587 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
15589 * doc/tm.texi (FUNCTION_ARG): Document that the last call
15592 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
15594 * tlink.c (recompile_files): Remove COMPILER_PATH and
15595 LIBRARY_PATH from the environment.
15597 2001-07-01 Zack Weinberg <zackw@stanford.edu>
15599 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
15600 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
15602 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
15604 * c-parse.in (OBJC_STRING): Kill.
15605 (objc_string): Decompose to [objc_string] '@' STRING.
15606 (reswords): Take the leading '@' off all the Objective C keywords.
15607 (objc_rid_sans_at): Kill.
15608 (init_reswords): Don't initialize it.
15609 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
15610 (_yylex): Kill reconsider label. Look ahead one token after
15611 an '@'; if we get an identifier, check whether it's an
15612 Objective C @-keyword. If so, return the keyword. Otherwise,
15613 put back the token and return the '@' as a terminal.
15615 * cpplib.c (lex_macro_node): Remove unnecessary check for
15616 leading '@' on identifier. Clarify control flow and commentary.
15618 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15620 * cse.c (new_label_ref): Variable deleted.
15621 (insert): Remove set of new_label_ref.
15622 (check_for_label_ref): New function.
15623 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
15625 See ChangeLog.5 for earlier changes.