1 2001-11-30 Jason Merrill <jason@redhat.com>
3 * dwarf2out.c (is_cxx): New fn.
4 (add_data_member_location_attribute): Check it.
5 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
7 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
11 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
13 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
14 MODE_VECTOR_FLOAT as allowed.
16 2001-11-29 Zack Weinberg <zack@codesourcery.com>
18 Purge cruft now we have build libiberty.
20 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
21 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
22 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
23 USE_HOST_STRSTR): Delete variables.
24 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
25 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
26 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
27 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
28 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
29 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
30 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
31 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
33 (HOST_RTL): Remove hashtab.o safe-ctype.o.
34 (OBJS): Remove splay-tree.o.
35 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
36 (distclean): No need to delete splay-tree.c obstack.c
37 hashtab.c safe-ctype.c.
38 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
39 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
40 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
42 * configure.in: Don't use them.
43 Set and substitute @FORBUILD@.
44 * config.in, configure: Regenerate.
45 * doprint.c: Move to libiberty/_doprnt.c.
46 * doc/configterms.texi: Document that libiberty is now built
47 up to three times. Fix typo.
49 2001-11-30 Jason Merrill <jason@redhat.com>
51 * dwarf2out.c (add_data_member_location_attribute): Do the
52 right thing for virtual bases.
53 * dbxout.c (dbxout_type): For a virtual base, print the offset
56 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
58 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
60 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
62 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
64 Remove unused attribute for named.
66 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
68 * genattrtab.c (attr_rtx_1): New function containing the
69 majority of `attr_rtx'. Move variable declarations into the
70 scope where they are used. Eliminate unnecessary gotos.
71 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
72 VA_FIXEDARG, and VA_CLOSE.
74 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
76 * config/cris/cris.c (cris_notice_update_cc): Check first
77 destination also against overlap with cc_status.value2 and second
78 destination against overlap with cc_status.value1. For overlaps,
79 clear overlapped value, don't just CC_STATUS_INIT.
81 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
83 (LINK_SPEC): Remove whitespace at end of line.
85 2001-11-29 Jakub Jelinek <jakub@redhat.com>
87 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
89 2001-11-29 Jakub Jelinek <jakub@redhat.com>
91 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
92 macros for the supported debugging types.
94 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
97 * config/i386/i386.c (print_operand): Verify that the
98 argument to %c is a constant and not a conditional which
101 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
103 * emit-rtl.c (gen_lowpart_common): Fix conversion of
104 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
105 of low part of those arrays for 32bit and 64bit hosts.
107 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
109 * Makefile.in (insn-output.o): Depend on insn-codes.h.
111 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
113 * configure.in (target_list): Add generated-manpages.
114 * configure: Regenerate.
115 * Makefile.in (generated-manpages): Depend on
116 lang.generated-manpages.
117 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
119 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
121 * config/arm/crti.asm (_init): Add .thumb_func if compiled
123 (_fini): Add .thumb_func if compiled with -mthumb.
125 2001-11-28 Eric Christopher <echristo@redhat.com>
127 * config/mips/mips.c (override_options): Fix thinko in mips_tune
128 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
130 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
132 * alpha.md (tablejump): Use pic_offset_table_rtx
133 instead of gen_rtx_REG.
135 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
137 * expr.c (store_expr): When copying a string constant into an
138 array, reset the known alignment of the MEM for the section to
139 be cleared to BITS_PER_UNIT.
141 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
143 * config/cris/cris.c: Remove whitespace at end of line.
145 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
147 * config.gcc (i[34567]86-*-interix3*): New case.
148 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
151 2001-11-28 Richard Henderson <rth@redhat.com>
153 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
154 symbolic_operand as the predicate.
156 2001-11-28 Richard Henderson <rth@redhat.com>
158 * doloop.c (doloop_modify_runtime): Properly select induction
159 variable; skip late entry test if biv initializer created by loop.
161 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
163 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
164 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
166 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
168 * tree.h: Add missing checks on some macros; make formatting more
171 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
172 level; only add to pending_sizes if find it.
174 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
176 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
177 Add casts to remove warnings.
179 * Makefile.in (OBJS): Sort alphabetically.
181 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
184 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
186 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
187 (FLAGS_TO_PASS): Add STAGE_PREFIX.
188 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
191 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
193 * cse.c (true_dependence_in_rtx): New function.
194 (invalidate): Use it.
196 * c-common.h (GOTO_FAKE_P): New macro.
197 * tree-inline.c (GOTO_FAKE_P): Set.
198 * c-tree.texi (GOTO_FAKE_P): Document.
200 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
202 (output_addressed_constants): Check for local/external relocations.
203 * elfos.h (SELECT_SECTION): Classify data section.
204 * tm.texi (SELECT_SECTION): Update documentation.
206 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
207 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
209 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
211 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
212 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
215 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
217 * config/cris/cris.c: Tweak spacing for prototypes.
218 (LOSE_AND_RETURN): New macro.
219 (cris_operand_lossage): New function.
220 (cris_print_index, cris_print_base): Use cris_operand_lossage
221 rather than fatal_insn.
222 (cris_print_operand, cris_print_operand_address): Use
223 LOSE_AND_RETURN rather than fatal_insn and internal_error.
224 (cris_output_addr_const): Use LOSE_AND_RETURN and
225 output_operand_lossage rather than fatal_insn and internal_error
226 for valid but unexpected rtx expressions.
228 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
229 for a SUBREG in src or dest, abort instead.
231 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
233 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
236 2001-11-27 Jakub Jelinek <jakub@redhat.com>
238 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
239 preprocessor define. If only DBX_DEBUGGING_INFO or only
240 DWARF2_DEBUGGING_INFO is supported for the target, provide
241 appropriate definitions.
243 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
245 * Makefile.in: Update, and add c-objc-common.o dependencies.
246 * c-lang.c: Remove unnecessary includes.
247 (c_init): Move bulk of code to c_objc_common_init, and call it.
248 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
249 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
251 * c-objc-common.c: New. Mostly pulled from c-lang.c.
252 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
253 c_objc_common_init, c_missing_noreturn_ok_p): New.
254 * toplev.c: Update comment.
255 * doc/passes.texi: Update.
257 * ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
258 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
259 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
260 (objc_init): Update to use c_objc_common_init.
262 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
264 * cpphash.c (_cpp_init_hashtable): Update.
265 * cpphash.h (struct spec_nodes): Remove n_L.
266 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
268 2001-11-17 Richard Henderson <rth@redhat.com>
270 * unroll.c (loop_iterations): Move last change ...
271 * doloop.c (doloop_modify_runtime): ... here.
273 2001-11-17 Corey Minyard <minyard@acm.org>
274 Richard Henderson <rth@redhat.com>
276 * unroll.c (loop_iterations): Detect one situation in which we
277 overestimate the number of iterations.
279 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
281 * gcc.c (set_input): Export.
283 gcc.h (set_input): ... here.
285 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
287 * gcc.c (set_collect_gcc_options): New function, split out from
289 Ignore elided switches.
290 (do_spec): Invoke before executing command.
291 (do_spec_1): Likewise.
294 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
296 * config/cris/cris.h (INT_ASM_OP): Remove.
298 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
300 * config/i386/sol2.h (WINT_TYPE): Redefine.
301 (WINT_TYPE_SIZE): Likewise.
303 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
305 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
306 (dup2): Make static and add prototype.
307 * m68k/plexus.h: Don't define NO_DUP2.
308 * configure.in (AC_CHECK_FUNCS): Add dup2.
309 * config.in, configure: Regenerate.
311 * ia64/aix.h (REG_SIZE): Don't #undef.
312 * sparc.h (REG_SIZE): Delete.
313 * flow.c (mark_used_regs): Don't use REG_SIZE.
314 * regs.h (REG_SIZE): Delete.
316 2001-11-27 Andreas Schwab <schwab@suse.de>
318 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
319 PREFERRED_DEBUGGING_TYPE.
321 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
323 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
324 (expr.o, varasm.o): Depends on langhooks.h.
325 * c-common.c (c_safe_from_p): Always declare.
326 (c_expand_expr): Refine when declared.
327 * c-lang.c (c-common.h): Now include.
328 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
329 (c_init): Don't set lang_safe_from_expr.
330 * expr.c (langhooks.h): Now include.
331 (lang_safe_from_p): No longer define.
332 (safe_from_p): Use lang hook.
333 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
334 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
335 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
336 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
337 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
338 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
339 * langhooks.h (struct lang_hooks): New fields expand_constant
341 * output.h (output_constant): Size arg is HOST_WIDE_INT.
342 * stmt.c (expand_decl_init): No longer need to expand constant
344 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
345 * toplev.c (lang_expand_constant): Delete var.
346 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
347 operations on SAVE_EXPR.
348 * varasm.c (langhooks.h): Now include.
349 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
350 (record_constant_1, output_addressed_constants): Likewise.
351 (initializer_constant_valid_p, output_constant): Likewise.
352 (output_constant_def): Process no-defer of string constant.
353 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
354 (output_constant): Strip more conversions.
355 Track our size and pad for the rest.
356 (array_size_for_constructor): Remove code for non-byte STRING_CST.
357 (output_constructor): SIZE now HOST_WIDE_INT.
359 2001-11-27 Richard Henderson <rth@redhat.com>
361 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
364 2001-11-27 Zack Weinberg <zack@codesourcery.com>
366 * cppfiles.c (read_include_file): Add comment.
368 2001-11-26 Richard Henderson <rth@redhat.com>
370 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
372 2001-11-26 Richard Henderson <rth@redhat.com>
374 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
375 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
376 commented out override.
378 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
380 * cppfiles.c (stack_include_file): Don't optimize zero-length
382 (read_include_file): NUL-terminate read files.
383 * cpplex.c (handle_newline, skip_escaped_newlines,
384 get_effective_char, skip_whitespace, parse_identifier,
385 parse_identifier_slow, parse_number, parse_string,
386 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
388 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
389 Be sure buffers are NUL terminated.
390 * cppmacro.c (warn_of_redefinition): Kill compile warning.
392 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
394 * c-common.c: Include tree-inline.h.
395 (c_language): Move separate definitions here.
396 (c_common_init_options, c_common_post_options): New.
397 (c_common_lang_init): Rename c_common_init.
398 * c-common.h (c_common_lang_init): Similarly.
399 (c_common_init_options, c_common_post_options): New.
400 * c-lang.c (c_post_options): Move body to c_common_post_options.
401 (c_init_options): Use c_common_init_options.
403 * langhooks.def: Rearrange.
404 * langhooks.h: Rearrange, and improve comments.
405 * toplev.c (do_compile): New function.
406 (toplev_main): Use it.
407 (lang_independent_f_options, parse_options_and_default_flags,
408 process_options): Remove trailing periods.
409 * Makefile.in: Update.
410 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
414 2001-11-26 Richard Henderson <rth@redhat.com>
416 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
418 2001-11-26 DJ Delorie <dj@redhat.com>
420 * expr.c (store_constructor): Actually use the value computed
421 if WORD_REGISTER_OPERATIONS.
423 2001-11-26 Richard Henderson <rth@redhat.com>
425 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
428 2001-11-26 David Edelsohn <edelsohn@gnu.org>
430 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
431 correct function on AIX.
433 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
435 * toplev.c (process_options): Don't force
436 flag_optimize_sibling_calls to zero just because exceptions are
439 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
441 * df.h (transfer_function_sbitmap): Use PARAMS around argument
442 list in function prototypes.
443 (transfer_function_bitmap): Likewise.
445 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
447 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
448 * config/i386/netbsd-elf.h: Likewise.
450 2001-11-26 David Edelsohn <edelsohn@gnu.org>
452 * doc/trouble.texi: Remove outdated RS/6000 comments.
454 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
456 * final.c (walk_alter_subreg): Fix return value.
458 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
460 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
462 * sparc.md (post-reload splitters): Do not call alter_subreg.
463 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
465 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
467 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
469 2001-11-26 Alan Modra <amodra@bigpond.net.au>
471 * final.c: (insn_lengths): Make it an int *, so that large jump
472 tables don't overflow.
474 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
476 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
477 (format_types): Use it for scanf.
478 (dollar_arguments_pointer_p): New.
479 (init_dollar_format_checking): Store details of which arguments
481 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
482 (finish_dollar_format_checking): Take extra parameter
483 pointer_gap_ok. Treat unused arguments differently if
484 pointer_gap_ok and the unused arguments are pointers.
485 (check_format_info_main): Pass extra argument to
486 finish_dollar_format_checking.
487 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
488 unused arguments are present between used arguments with operand
491 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
493 * df.c: Add prototypes for hybrid_search_bitmap and
494 hybrid_search_sbitmap.
495 (hybrid_search_bitmap): New function.
496 (hybrid_search_sbitmap): New function.
497 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
498 (iterative_dataflow_bitmap): Ditto.
500 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
502 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
503 address computations.
505 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
507 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
508 register b (low part of d).
510 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
512 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
515 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
517 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
518 * config/alpha/x-vms: New file, to compile the above.
519 * config.gcc (alpha*-dec-vms*): Add x-vms.
521 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
523 * genextract.c (main): Set ro_loc for peepholes.
525 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
527 * fix-header.c (main): Move inf_buffer termination and inf_limit
528 calculation to after read.
530 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
531 (__UNIX_FOPEN): Define.
533 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
535 * function.c (assign_stack_temp_for_type): Clear alias set before
538 2001-11-23 David Edelsohn <edelsohn@gnu.org>
540 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
542 * rs6000.md (cmptf): Fix typo.
544 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
546 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
547 * varasm.c (output_constructor): Use assemble_integer rather
548 than ASM_OUTPUT_BYTE.
550 2001-11-23 Andreas Jaeger <aj@suse.de>
552 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
555 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
557 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
559 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
560 (MULTILIB_DEFAULTS): Remove previous definition.
562 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
564 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
565 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
567 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569 * cris.h: Revert thinko in last patch.
571 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
573 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
574 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
575 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
576 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
577 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
578 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
580 * predict.c, reg-stack.c: Fix spelling errors.
582 2001-10-09 Andrew Haley <aph@redhat.com>
584 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
587 2001-11-22 Graham Stott <grahams@redhat.com>
589 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
590 replacement jump after original jump.
592 (verify_flow_info): Remove redundent initialisation.
593 Handle reaching end of insn list before finding a BARRIER.
594 Only issue one missing barrier diagnostic.
596 2001-11-22 Graham Stott <grahams@redhat.com>
598 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
600 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
602 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
605 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
607 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
608 Fix typo -mm32rx=> -m32rx.
610 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
613 * config.gcc (xscale-coff): Add necessary header files to
616 2001-11-20 Zack Weinberg <zack@codesourcery.com>
618 * rs6000.c (output_cbranch): Use $, not %$, in output template.
620 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
622 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
623 (lang_type_quals): Declare.
624 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
625 retrieve language-specific qualifiers for a type node, instead of
626 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
628 * tree-dump.h: Rename from c-dump.h.
629 * c-common.h (C_TYPE_QUALS): Removed.
630 Move declarations for tree-dump.c interface to...
631 * tree.h: ... here. Remove lang_dump_tree.
632 * langhooks.h (struct lang_hooks_for_tree_dump): New.
633 (struct lang_hooks): Add tree_dump hooks.
634 * langhooks.c (lhd_tree_dump_dump_tree): New function.
635 (lhd_tree_dump_type_quals): New function.
636 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
638 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
639 * Makefile.in: Move tree-dump.o to language-independent back-end.
641 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
643 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
644 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
645 * arc.h (DBX_REGISTER_NUMBER): Likewise.
646 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
647 * avr.h (DBX_REGISTER_NUMBER): Likewise.
648 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
649 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
650 * convex.h (DBX_REGISTER_NUMBER): Likewise.
651 * cris.h (DBX_REGISTER_NUMBER): Likewise.
652 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
653 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
654 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
655 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
656 * i370.h (DBX_REGISTER_NUMBER): Likewise.
657 * i860.h (DBX_REGISTER_NUMBER): Likewise.
658 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
659 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
660 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
661 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
662 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
663 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
664 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
665 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
666 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
667 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
668 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
669 * romp.h (DBX_REGISTER_NUMBER): Likewise.
670 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
671 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
672 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
673 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
674 * v850.h (DBX_REGISTER_NUMBER): Likewise.
675 * vax.h (DBX_REGISTER_NUMBER): Likewise.
676 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
678 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
679 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
681 2001-11-21 H.J. Lu <hjl@gnu.org>
683 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
685 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
687 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
688 emit_cmp_and_jump_insns.
690 * stormy16.c (xstormy16_expand_builtin_va_arg,
691 xstormy16_expand_casesi): Likewise.
693 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
695 * function.c (keep_stack_depressed): Major rework.
696 (handle_epilogue_set, emit_equiv_load): New functions.
697 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
699 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
700 * rtl.h (SET_IS_RETURN_P): New macro.
702 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
703 and also support TREE_ADDRESSABLE.
704 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
706 2001-11-21 David Edelsohn <edelsohn@gnu.org>
708 * rs6000.md (cmptf_internal1): Replace %$ with $.
710 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
712 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
713 (read_include_file): Use STAT_SIZE_TOO_BIG.
715 * cppinit.c (INO_T_COPY): Define.
716 (INO_T_EQ): Uppercase parameters.
717 (append_include_chain): Use INO_T_COPY.
719 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
721 * cfg.c: Fix typos and formatting in the introductory comment.
723 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
725 * profile.c (compute_branch_probabilites): Compute probabilities
726 for entry/exit edges; estimate probabilities for zero counts.
728 2001-11-21 Jakub Jelinek <jakub@redhat.com>
730 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
731 to emit_library_call.
732 * function.c (expand_main_function, expand_function_start,
733 expand_function_end): Likewise.
734 * profile.c (output_func_start_profiler): Likewise.
735 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
736 second argument to emit_library_call.
737 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
738 as second argument to emit_library_call.
739 * calls.c (emit_library_call): Update fn_type description.
741 2001-11-21 Jakub Jelinek <jakub@redhat.com>
743 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
744 if fndecl is still DECL_INLINE and has DECL_RESULT.
746 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
748 * clipper.c (clipper_movstr): Avoid uninitialized warning.
749 * i960.c (is_mask, legitimize_address): Likewise.
750 * m88k.c (m88k_expand_prologue): Likewise.
752 * mcore.c (emit_new_cond_insn): Likewise.
753 * stormy16.c (xstormy16_emit_cbranch): Likewise.
755 2001-11-20 Zack Weinberg <zack@codesourcery.com>
757 * config.gcc: Delete powerpcle-*-solaris2* stanza.
758 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
759 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
760 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
761 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
762 config/rs6000/t-ppcos: Expunge all references to Solaris.
764 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
766 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
768 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
769 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
771 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
773 * sh.md: Avoid uninitialized warnings.
774 * vax.c (vax_rtx_cost): Likewise.
776 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
778 * rs6000.c (direct_return): Check if we are saving altivec
780 (first_altivec_reg_to_save): New.
781 Updated stack frame layout comments.
782 (rs6000_stack_info): Calculate altivec register save size.
783 Save link register if we saved some altivec registers.
784 (rs6000_stack_info): Align save size to 16 if altivec abi or
786 (rs6000_stack_info): Calculate altivec register offsets.
787 (rs6000_stack_info): Add altivec info to save_size.
788 (debug_stack_info): Add altivec debug info.
789 (rs6000_emit_prologue): Save altivec registers and vrsave.
790 (compute_vrsave_mask): New.
791 (altivec_expand_builtin): Remove unused variables.
792 (rs6000_parse_abi_options): Add static qualifier.
793 (rs6000_expand_builtin): Remove unused parameters.
794 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
795 (altivec_init_builtins): Same.
796 (is_altivec_return_reg): New.
797 (vrsave_operation): New.
798 (ALTIVEC_REG_BIT): New.
799 (generate_set_vrsave): New.
801 * rs6000.md (get_vrsave): New.
803 (*set_vrsave_internal): New.
805 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
806 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
807 altivec_padding_size, vrsave_mask.
808 (TOTAL_ALTIVEC_REGS): New.
809 (EPILOGUE_USES): Add VRSAVE_REGNO.
811 2001-11-20 Jeff Law <law@redhat.com>
813 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
814 exit label as necessary.
816 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
818 * reload1.c (elimination_effects): Use function_invariant_p
819 instead of CONSTANT_P when considering register equivalences.
821 2001-11-20 David O'Brien <obrien@FreeBSD.org>
823 * config.gcc: Add FreeBSD/PowerPC target.
824 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
825 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
826 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
827 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
828 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
829 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
830 freebsd-spec.h to tm_file.
831 (rs6000-*-lynxos*): Add lynx.h to tm_file.
832 * config/freebsd.h: Tidy up.
833 (USING_CONFIG_FREEBSD): Define.
834 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
835 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
836 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
837 (TARGET_HAS_F_SETLKW): Define.
838 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
839 * config/freebsd-spec.h: New file.
840 * config/rs6000/freebsd.h: New file.
841 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
842 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
843 USING_SVR4_H to know when to turn on ELF support.
844 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
845 define only if not already defined.
847 * config/rs6000/aix.h (TARGET_VERSION): Define.
848 * config/rs6000/beos.h: Likewise.
849 * config/rs6000/darwin.h: Likewise.
850 * config/rs6000/mach.h: Likewise.
851 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
852 Don't include lynx.h directly.
854 2001-11-20 Graham Stott <grahams@redhat.com>
856 * unwind-dw2-fde.c (__deregister_frame_info_bases):
857 Fix lossage in last change return OB.
859 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
861 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
862 Remove unneeded exit related macros.
864 2001-11-20 David Edelsohn <edelsohn@gnu.org>
866 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
868 * rs6000.c (rs6000_emit_move): Add TFmode case.
869 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
870 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
871 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
872 * rs6000.h: ... to here.
873 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
874 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
875 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
877 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
879 * emit-rtl.c (get_mem_attrs): Fix typo.
881 2001-11-20 Jakub Jelinek <jakub@redhat.com>
883 * c-lang.c (finish_file): Backout 2001-11-16
884 changes, instead set DECL_DEFER_OUTPUT for static inline functions
885 before calling c_expand_deferred_function.
887 2001-11-20 Jakub Jelinek <jakub@redhat.com>
889 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
890 Don't register empty .eh_frame sections.
891 (__deregister_frame_info_bases, __deregister_frame): Don't
892 unregister them either.
894 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
896 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
897 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
898 * configure: Regenerate.
899 * config.in: Add dummy definitions of new flags.
900 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
901 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
902 * gcc.c (ASM_DEBUG_SPEC): New macro.
903 (asm_debug): New static variable.
904 (default_compilers): Add asm_debug when assembling from
906 (static_specs): Add asm_debug.
908 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
910 * config.gcc (*-*-freebsd*): Remove configuration block.
912 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
915 * configure.in: Setup ability to run ./stage[1234]/xgcc in
916 fixinc *as if* it were a proper lang subdirectory.
917 * configure: Rebuilt.
919 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
921 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
923 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
925 * 1750a.md: Don't use hex format for a const_int.
927 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
929 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
931 2001-11-19 Zack Weinberg <zack@codesourcery.com>
933 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
934 defined (prevents link errors when gettext isn't in the system
937 2001-11-19 DJ Delorie <dj@redhat.com>
939 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
940 (validate_const_int): New.
941 (read_rtx): Validate constant integers.
942 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
944 2001-11-19 Jakub Jelinek <jakub@redhat.com>
946 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
948 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
950 * toplev.c (DUMPFILE_FORMAT): Define default.
951 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
952 (close_dump_file, compile_file): Likewise.
953 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
954 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
956 2001-11-19 Jeff Law <law@redhat.com>
958 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
961 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
963 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
964 Don't fall off the base token run.
966 2001-11-19 Jason Wilkins <fenix@io.com>
968 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
970 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
972 * tree.def (VIEW_CONVERT_EXPR): New tree code.
973 * tree.h (handled_component_p): New declaration.
974 * alias.c (handled_component_p): Move function from here ...
975 * expr.c (handled_component_p): ... to here and non longer static.
976 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
977 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
978 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
979 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
980 (expand_expr, case VIEW_CONVERT_EXPR): New case.
981 (expand_expr, cse ADDR_EXPR): No need to copy if already
983 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
984 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
985 (output_constant): Handle VIEW_CONVERT_EXPR.
986 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
987 Add new case for VIEW_CONVERT_EXPR.
989 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
991 * a29k/unix.h (ASM_FILE_START): Const-ify.
992 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
993 * i386/isc.h (ASM_FILE_START): Const-ify.
994 * i386/sun386.h (ASM_FILE_START): Likewise.
996 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
997 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
998 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
999 * mn10200.md: Initialize variable.
1001 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
1003 * gcse.c (try_replace_reg): Copy RTX before creating note.
1005 * df.h (df_ref_flags): New uenum.
1006 (DF_REF_FLAGS): New macro.
1007 (struct ref): Add field "flags".
1008 * df.c (HANDLE_SUBREG): Remove.
1009 (df_ref_create): Likewise; set flags field of ref.
1010 (df_def_record_1): Strip down read_write subreg; remove
1011 commented out code; set READ_WRITE flag.
1012 (read_modify_subreg_p): New static function.
1013 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
1014 new argument "flags".
1015 (df_insn_refs_record): Update call of df_uses_record.
1016 (df_insn_modify): Avoid #if 0 around comment.
1017 (df_dump): Dump the read/write flag.
1019 * predict.c (propagate_freq): Make cyclic_probability and frequency
1022 * i386.c (ix86_cc_mode): Accept USE.
1024 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
1025 jump is turned into simplejump.
1027 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
1029 * doc/fragments.texi, doc/trouble.texi: Remove links to old
1030 installation chapter.
1031 * doc/gcc.texi: Don't claim that this manual documents
1032 installation. Mark Installation menu entry as being out of date.
1034 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
1036 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
1037 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
1038 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
1040 2001-11-19 Jason Merrill <jason@redhat.com>
1042 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
1043 cur_token, not after.
1045 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
1046 Lose ASM_OUTPUT_CONSTRUCTOR.
1047 * system.h: Poison it and INT_ASM_OP.
1048 * c-lang.c (finish_file): Don't check for it.
1049 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
1051 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1053 * mmix.c (mmix_cc1_ignored_option): Const-ify.
1054 (mmix_init_machine_status): Make static to match declaration.
1055 (mmix_unique_section): Const-ify.
1056 (mmix_output_quoted_string): Avoid automatic aggregate
1058 (mmix_output_register_setting): Likewise.
1059 (mmix_output_shiftvalue_op_from_str): Likewise.
1061 * mmix.h (mmix_cc1_ignored_option): Const-ify.
1062 (ASM_OUTPUT_BYTE): Fix format specifier warning.
1063 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1065 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1068 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
1069 name __objc_thread_exit_status so that it matches the
1070 variable defined in objc/thr.h.
1072 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
1075 * mklibgcc.in: Add missing semi-colons.
1076 * Makefile.in: Same.
1078 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1080 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
1081 after re-laying out decl in incomplete case.
1082 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
1084 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1086 * doc/install-old.texi: Move some sections out to ...
1087 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
1088 ... here. New files. Make into chapters rather than sections.
1089 * doc/gcc.texi: Include the new files and add menu entries for
1091 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1093 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1095 * tree.h (TYPE_ALIGN_OK): New flag.
1096 * emit-rtl.c (set_mem_attributes): Handle it.
1097 * expr.c (emit_single_push_insn): Only set to alias set 0 if
1098 doing sibcall optimization.
1099 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
1100 when make temporary.
1101 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
1102 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
1104 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
1106 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1108 * c-decl.c (c_decode_option): Give deprecation warning for
1110 * doc/invoke.texi (-traditional): Note that this option is
1113 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
1115 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
1116 arg to HOST_WIDE_INT, not long.
1118 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
1119 (HAS_INIT_SECTION): Define.
1120 (REAL_ARITHMETIC): Don't undefine.
1122 2001-11-18 Egor Duda <deo@logos-m.ru>
1124 * config/i386/cygwin.h: Strip leading '*' from name, if any.
1126 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
1128 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
1129 * c-common.c: Include diagnostic.h.
1130 (c_common_finish): New.
1131 * c-common.h (c_common_finish): New.
1132 * c-lang.c (LANG_HOOKS_FINISH): Override.
1133 * c-parse.in: Don't include diagnostic.h.
1134 (finish_parse): Remove.
1135 * langhooks.h: Update comments.
1136 * toplev.c (lang_dependent_init): New prototype.
1138 (compile_file): Split cleanup code out to finalize.
1139 (lang_dependent_init): Stop if lang_hooks.init fails.
1140 (toplev_main): Update.
1141 * tree.h (finish_parse): Remove.
1143 * objc-act.c (LANG_HOOKS_FINISH): Override.
1145 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
1147 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
1148 * config/alpha/vms_tramp.asm: New file.
1149 * config/alpha/vms-tramp.asm: Removed.
1151 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1153 * c-common.c (struct disabled_builtin, disabled_builtins,
1154 disable_builtin_function, builtin_function_disabled_p): New.
1155 (builtin_function_2): Check for disabled built-in functions.
1156 * c-common.h (disable_builtin_function): Declare.
1157 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
1158 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
1159 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
1161 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
1164 * config.gcc: Remove reference to va-clipper.h.
1166 2001-11-17 Stan Shebs <shebs@apple.com>
1168 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
1169 AltiVec-related bitfields.
1171 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1173 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
1174 (mark_eh_region, case ERT_UKNONW): New case.
1176 2001-11-17 Christopher Faylor <cgf@redhat.com>
1177 Corinna Vinschen <vinschen@redhat.com>
1179 * config/i386/cygwin.h: Search target specific include directory for
1180 w32api stuff, if appropriate.
1182 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
1184 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
1186 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
1188 * config/rs6000/rs6000.md: Change all ldvx to lvx.
1190 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
1192 * gensupport.c (process_rtx): Don't assume filename is the first
1193 argument of any rtl.
1195 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1197 * vax-protos.h (reg_was_0_p): New prototype.
1198 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
1199 * vax.c (follows_p, reg_was_0_p): New functions.
1201 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1203 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
1204 (casesi1): Likewise. Define new pattern which arises by simplification
1205 when operand 1 is a constant int. Correct pattern which arises by
1206 simplification when operand 1 is zero.
1208 2001-11-16 David O'Brien <obrien@FreeBSD.org>
1210 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
1211 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
1212 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
1213 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
1214 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
1215 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
1216 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
1217 * config/arm/aof.h: Don't include arm.h.
1218 * config/arm/aout.h: Likewise.
1219 * config/arm/coff.h: Don't include semi.h and aout.h.
1220 * config/arm/elf.h: Don't include aout.h.
1221 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
1222 (TARGET_VERSION): Undef before defining.
1223 (ARM_OS_NAME): Likewise
1224 (TARGET_DEFAULT): Likewise
1225 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
1226 * config/arm/pe.h: Don't include arm/coff.h.
1227 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
1228 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
1229 * config/arm/riscix1-1.h: Likewise.
1230 * config/arm/rix-gas.h: Don't include riscix.h.
1231 (DBX_CONTIN_LENGTH): Undef before defining.
1232 * config/arm/semi.h: Don't include aout.h.
1233 * config/arm/semiaof.h: Don't include aof.h.
1234 * config/arm/strongarm-coff.h: Don't include coff.h.
1235 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
1236 * config/arm/vxarm.h: Don't include arm/coff.h.
1237 * config/arm/xscale-coff.h: Don't include coff.h.
1239 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1241 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
1244 2001-11-16 Andreas Jaeger <aj@suse.de>
1246 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
1248 (fixup_fallthru_exit_predecessor): ... this.
1249 Change callers and prototype.
1251 2001-11-16 Bernd Schmidt <bernds@redhat.com>
1253 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
1254 hand; don't use gen_setcc_2.
1255 (ix86_expand_builtin): Fix pshufw.
1256 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
1257 case UNORDERED to emit the right assembler instruction.
1258 (mmx_pshufw): Lose operand 2.
1259 (cvtsi2ss): Fix representation.
1261 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
1263 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
1265 * doc/include/linux-and-gnu.texi: Remove.
1266 * doc/gnu.texi: New.
1267 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
1268 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1270 2001-11-16 Kazu Hirata <kazu@hxi.com>
1272 * config/a29k/a29k.c: Fix comment formatting.
1273 * config/a29k/a29k.h: Likewise.
1274 * config/arc/arc.c: Likewise.
1275 * config/arc/arc.h: Likewise.
1276 * config/vax/vax.c: Likewise.
1277 * config/vax/vax.h: Likewise.
1278 * config/we32k/we32k.c: Likewise.
1279 * config/we32k/we32k.h: Likewise.
1281 2001-11-16 Jeff Law <law@redhat.com>
1283 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
1284 creating a new jump insn.
1286 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1288 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
1289 copy misaligned data.
1290 * varasm.c (assemble_variable): Set alignment into MEM when changed.
1292 2001-11-16 Graham Stott <grahams@redhat.com>
1294 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
1297 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
1299 * except.c: Support for catching a list of types with a single handler
1300 (struct eh_region): Change type and filter to lists for catch regions.
1301 (mark_eh_region): Mark the filter list for GC also.
1302 (expand_start_catch): Always build a list if argument not NULL and
1303 register each type of the list through add_type_for_runtime.
1304 (duplicate_eh_region_1): Change type into type_list for catch regions.
1305 (assign_filter_values): Assign a filter to each type associated with a
1306 catch region. Assign filter for NULL types in a unique entry in the
1308 (build_post_landing_pads): Emit compare and jump for each filter of
1309 the list associated with a catch region.
1310 (reachable_next_level): When the type thrown is known, stop the search
1311 as soon as one type within a catch list matches. Also, a handler is
1312 potentially reachable only if at least one of the types it catches
1313 has not been previously caught.
1314 (collect_one_action_chain): Retrieve the filter for a NULL type list
1315 from the first filter list entry. For non NULL type lists, add an
1316 action record for every filter assigned.
1317 * except.h: Reflect changes in comment before expand_start_catch.
1319 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1321 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
1324 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
1326 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
1328 2001-11-16 Jakub Jelinek <jakub@redhat.com>
1330 * c-lang.c (finish_file): Don't emit static inline functions if
1331 they weren't referenced.
1333 2001-11-15 Stan Shebs <shebs@apple.com>
1335 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
1337 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1339 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
1341 * config/i386/i386.md: Likewise.
1343 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1345 * timevar.c (rtl.h): Include so get fancy abort.
1347 2001-11-15 Dale Johannesen <dalej@apple.com>
1349 * config/darwin.h (SELECT_RTX_SECTION): Force address
1350 initializers into 'const' section
1351 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
1352 if_then_else to match result, not operands
1354 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1356 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
1357 * emit-rtl.c (change_address): Fix typo in default alignment.
1358 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
1359 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
1360 * rtl.h (REGNO_PTR_FRAME_P): New macro.
1362 * expr.c (store_field): Pass tree instead of max size; callers changed.
1363 Change handling of alignment.
1364 Only copy to_rtx if is TARGET.
1365 (expand_expr_unaligned): Delete; callers now use expand_expr.
1366 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
1367 (expand_assignment): Change handling of alignment.
1368 Only copy to_rtx if was original.
1369 (get_inner_reference): No longer return alginment; callers changed.
1370 (expand_expr, case COMPONENT_REF): Change handling of alignment.
1371 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
1372 (compare_from_rtx): Delete ALIGN parm; all callers changed.
1373 (do_compare_rtx_and_jump): Likewise.
1374 * expr.h: Reflect above changes.
1376 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
1377 to get_inner_reference.
1378 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
1379 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
1380 * optabs.c: Likewise.
1381 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
1382 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
1383 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
1384 compare_rtx_and_jump, and emit_cmp_jump_insns.
1385 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
1386 * function.c (assign_stack_temp_for_type): No longer static.
1387 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
1388 (prepare_cmp_insn): Delete declaration.
1389 * rtl.h (assign_stack_temp_for_type): Add declaration.
1390 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
1391 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
1392 * config/i386/i386.c,config/mips/mips.c: Likewise.
1393 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
1394 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
1396 2001-11-15 Stan Shebs <shebs@apple.com>
1398 * config/rs6000/rs6000.h: Fix a comment typo.
1399 (RTX_COSTS): Sort processor versions better.
1401 2001-11-15 Kazu Hirata <kazu@hxi.com>
1403 * config/h8300/h8300.md: Fix insn length of bit insns.
1405 2001-11-15 Jason Merrill <jason@redhat.com>
1407 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
1408 DIEs if there were errors in the source.
1410 * config/alpha/alpha-interix.h, config/alpha/elf.h,
1411 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
1412 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
1413 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
1414 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
1415 config/elfos.h, config/lynx.h, config/netware.h,
1416 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
1417 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
1418 uses to use ASM_LONG.
1420 2001-11-15 Alan Matsuoka <alanm@redhat.com>
1422 * gensupport.c process_include : Change call to alloca to
1425 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
1427 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
1430 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1432 * final.c (alter_subreg): If simplify_subreg can't do anything,
1433 handle REG ourselves and abort for others.
1435 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
1437 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
1440 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
1442 * fix-header.c (read_scan_file): Update.
1444 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1446 * toplev.c (toplev_main): Don't start timing until after
1447 command-line options are parsed.
1449 2001-11-15 Andreas Schwab <schwab@suse.de>
1451 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
1452 makefile frag, not host makefile frag.
1453 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
1454 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
1456 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
1457 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
1458 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
1459 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
1460 * config/i386/t-dgux (STMP_FIXPROTO): Define.
1461 * config/x-interix: Don't define STMP_FIXPROTO and
1463 * config/t-interix: New file, define STMP_FIXPROTO.
1464 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
1465 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
1466 * config/t-svr4 (FIXPROTO_DEFINES): Define.
1467 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
1468 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
1469 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
1470 * config/m68k/t-hp3200: Renamed from x-hp3200.
1471 * config/i370/t-oe: Renamed from x-oe.
1472 * config/mips/t-iris: Renamed from x-iris.
1473 * config/pa/t-bsd: Renamed from x-pa.
1474 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
1475 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
1476 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
1477 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
1478 config/rs6000/x-cygwin: Remove files.
1480 * configure.in: Check for target objdump and use that in eh_frame
1482 * configure: Regenerated.
1484 2001-11-15 Jakub Jelinek <jakub@redhat.com>
1486 * jump.c (squeeze_notes): Return true if no real insns were found.
1487 * rtl.h (squeeze_notes): Adjust prototype.
1488 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
1489 squeeze_notes finds no real instructions, abort.
1490 (merge_blocks_move_successor_nojumps): Likewise.
1491 * loop.c (find_and_verify_loops): Likewise.
1492 * stmt.c (expand_end_case): Likewise.
1493 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
1494 find any real instructions.
1496 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
1498 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
1499 conditional jump, request updating life into for the block
1500 containing it. Fix a typo which prevented life info update.
1501 Clear blocks bitmap before using it.
1503 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
1505 * c-common.c: Include c-lex.h.
1506 (c_common_lang_init): Change prototype. Call init_c_lex and
1507 init_pragma from here.
1508 * c-common.h (c_common_lang_init): Change prototype.
1509 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
1510 * c-lang.c (c_init): Change prototype. Update.
1511 (c_init_options): Update.
1512 * c-lex.c (cpp_filename): Remove.
1513 (init_c_lex): Update. Read the main file, and get the original
1515 (yyparse): Finish the command line options.
1516 * c-parse.in (c_parse_init): Call init_reswords here.
1517 (init_parse): Remove.
1518 * c-tree.h (c_init_decl_processing): New.
1519 * cpphash.c (_cpp_init_hashtable): After initializing the hash
1521 * cppinit.c (read_original_filename, cpp_finish_options): New.
1522 (cpp_create_reader): New prototype. Defer hash table initialization.
1523 (cpp_start_read): Rename cpp_read_main_file. Initialize the
1524 hash table. Get the original filename.
1525 * cpplib.h (cpp_create_reader): Update.
1526 (cpp_start_read): Remove.
1527 (cpp_read_main_file, cpp_finish_options): New.
1528 * cppmain.c (main, do_preprocessing): Update.
1529 * langhooks.h (struct langhooks): Update init prototype.
1530 * toplev.c (general_init, parse_options_and_default_flags,
1531 process_options, lang_indpendent_init, lang_dependent_init,
1532 init_asm_output): New; perform the bulk of initialization.
1533 (compile_file): Move most of initialization to above functions.
1534 (debug_hooks): Initialize statically.
1535 (set_Wunused): Relocate.
1536 (toplev_main): Move most of initialization to other init functions.
1537 Have a clear logic flow.
1538 * tree.h (init_parse, init_decl_processing): Remove.
1540 * objc-act.c (objc_init): Update prototype, combine with old
1542 (objc_init_options): Update.
1545 2001-11-15 Andreas Jaeger <aj@suse.de>
1547 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
1549 * basic-block.h: Adjust prototype.
1551 2001-11-15 Kazu Hirata <kazu@hxi.com>
1553 * config/rs6000/aix31.h: Fix comment formatting.
1554 * config/rs6000/beos.h: Likewise.
1555 * config/rs6000/darwin.h: Likewise.
1556 * config/rs6000/eabi.asm: Likewise.
1557 * config/rs6000/linux.h: Likewise.
1558 * config/rs6000/linux64.h: Likewise.
1559 * config/rs6000/lynx.h: Likewise.
1560 * config/rs6000/netbsd.h: Likewise.
1561 * config/rs6000/rs6000.c: Likewise.
1562 * config/rs6000/rs6000.h: Likewise.
1563 * config/rs6000/rs6000.md: Likewise.
1564 * config/rs6000/sol2.h: Likewise.
1565 * config/rs6000/tramp.asm: Likewise.
1566 * config/rs6000/xcoff.h: Likewise.
1567 * config/rs6000/xm-beos.h: Likewise.
1569 2001-11-14 Alan Matsuoka <alanm@redhat.com>
1571 * rtl.def (INCLUDE) : Define.
1572 * gensupport.c (init_include_reader, process_include,
1573 save_string) : New functions to implement an include facility
1575 * gensupport.h : Add prototype for init_md_reader_args.
1576 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
1577 genextract.c genflags.c genopinit.c genoutput.c
1578 genpeep.c genrecog.c: Change call to init_md_reader to
1579 init_md_reader_args.
1580 * md.texi: Document (include "path") and -I directives for RTL
1583 2001-11-14 DJ Delorie <dj@redhat.com>
1585 * integrate.c (get_hard_reg_initial_reg): New.
1586 * integrate.h (get_hard_reg_initial_reg): Prototype.
1587 * local-alloc.c (block_alloc): Don't tie pseudos that
1588 represent call-saved hard regs' initial values.
1590 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1592 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
1595 2001-11-14 Roger Sayle <roger@eyesopen.com>
1597 * fold-const.c (fold): Optimize strlen comparisons against zero.
1599 2001-11-14 David O'Brien <obrien@FreeBSD.org>
1601 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
1602 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
1603 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
1604 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
1605 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
1606 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
1607 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
1608 Include various CPU headers via tm_file. a.out based platforms now
1609 properly include sparc/aout.h. sol2.h usage now implies including
1610 elfos.h, svr4.h, and sparc/sysv4.h.
1611 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
1613 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
1614 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
1615 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
1616 Remove. They are a.out specific and belong in sparc/aout.h.
1617 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
1618 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
1619 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
1621 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
1622 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
1623 Moved here from sparc/sparc.h.
1624 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
1626 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
1627 * config/sparc/lynx.h: Don't include lynx.h.
1628 (SELECT_SECTION): Do not undef.
1629 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
1630 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
1632 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
1633 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
1635 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
1636 Don't undef, there is no need.
1637 * config/sparc/splet.h (CPP_PREDEFINES): Define.
1638 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
1639 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
1640 Don't include sparc/sparc.h.
1641 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
1642 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
1643 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
1645 (TARGET_VERSION): Define.
1646 * config/sparc/vxsim.h (TARGET_VERSION): Define.
1648 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
1650 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
1651 (cfg_layout_finalize): Use it.
1652 * bb-reorder.c (HAVE_epilogue): Remove.
1653 (make_reorder_chain): Do not care special placement of
1656 * predict.c (expected_value_to_br_prob): Delete the note
1659 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
1660 measure integration time separately.
1662 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1664 * function.c (struct temp_slot): ALIGN now unsigned.
1666 2001-11-14 Kazu Hirata <kazu@hxi.com>
1668 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
1669 * config/dsp16xx/dsp16xx.h: Likewise.
1670 * config/dsp16xx/dsp16xx.md: Likewise.
1672 2001-11-14 Kazu Hirata <kazu@hxi.com>
1674 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
1675 that deals with 7-bit shifts in HImode.
1677 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
1679 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
1680 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
1681 (final_scan_insn): Update call of alter_subreg.
1682 (cleanup_subreg_operands): Likewise.
1683 (alter_subreg): Rewrite using simplify_subreg.
1684 (output_address, output_operand): Update call of alter_subreg.
1685 * output.h (alter_subreg): Update prototype.
1686 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
1687 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
1688 * Makefile.in (final.o): Add dependency on expr.h
1690 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1692 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
1694 2001-11-13 Jeff Sturm <jsturm@one-point.com>
1696 * doc/install.texi (sparc-*-linux*): Mention requirements for
1699 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
1701 * Makefile.in (POD2MAN): Don't include --section=1.
1702 (manext): Rename to man1ext. All users changed.
1705 (generated-manpages): Also depend on $(docdir)/gfdl.7,
1706 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
1707 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
1708 --section=1 in calls to $(POD2MAN).
1709 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
1710 (maintainer-clean, install, uninstall): Handle the new man pages.
1711 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
1712 (installdirs): Create man7dir.
1713 * doc/cpp.texi: Include GFDL in this manual. In the man page,
1714 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
1715 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
1716 the SEE ALSO man page section.
1717 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
1718 and fsf-funding(7) in the SEE ALSO man page section.
1719 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
1720 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
1721 * doc/include/fdl.texi, doc/include/funding.texi,
1722 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
1723 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
1725 2001-11-13 Richard Henderson <rth@redhat.com>
1727 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
1728 as appropriate for the artificial decl.
1730 2001-11-13 Richard Henderson <rth@redhat.com>
1732 * loop.c (combine_movables): Turn off combination until
1733 move_movables validation bugs are fixed.
1735 2001-11-13 DJ Delorie <dj@redhat.com>
1737 * config.gcc (powerpc|rs6000): Set default cpp options based
1738 on --with-cpu settings.
1739 * config/rs6000/softfloat.h: New.
1741 2001-11-13 Kazu Hirata <kazu@hxi.com>
1743 * config/h8300/h8300.c (shift_alg_si): Use special code for
1744 25-bit shifts on H8/S.
1745 (get_shift_alg): Generate special code for 25-bit shifts on
1748 2001-11-13 Jakub Jelinek <jakub@redhat.com>
1750 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
1751 (adjust_automodify_address_1): New.
1752 * expr.h (adjust_address, adjust_address_nv): Adjust.
1753 (adjust_automodify_address, adjust_automodify_address_nv): Define.
1754 (adjust_address_1): Update prototype.
1755 (adjust_automodify_address_1): Add prototype.
1756 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
1757 (store_by_pieces_2): Likewise.
1759 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1761 * Makefile.in (explow.o): Now depends on ggc.h.
1762 * explow.c (ggc.h): Include.
1763 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
1765 * Makefile.in (expr.o): Depends on insn-attr.h.
1766 * expr.c (insn-attr.h): New include.
1767 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
1769 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
1770 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
1771 clean up related usage in ADDR_EXPR.
1772 (expand_expr_unaligned): Likewise.
1774 * emit-rtl.c (change_address): Fix typo in alias setting.
1776 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1778 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
1780 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
1783 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
1784 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
1786 2001-11-12 David O'Brien <obrien@FreeBSD.org>
1788 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
1789 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
1790 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
1791 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
1792 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
1793 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
1794 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
1795 sparc64-*-linux*): Include various CPU headers via tm_file.
1796 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
1797 (SELECT_SECTION): Likewise.
1798 (SELECT_RTX_SECTION): Likewise.
1799 * config/sparc/sparc_bi.h: New file.
1800 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
1801 * config/sparc/linux-aout.h: Likewise.
1802 * config/sparc/linux.h: Don't include sparc/sysv4.h.
1803 * config/sparc/linux64.h: Likewise.
1804 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
1805 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
1806 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
1808 (ASM_OUTPUT_IDENT): Do not #undef.
1809 (SELECT_SECTION): Likewise.
1810 (SELECT_RTX_SECTION): Likewise.
1811 * config/sparc/liteelf.h: Don't include gofast.h.
1812 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
1813 * config/sparc/lynx.h: Don't include sparc/sparc.h.
1814 * config/sparc/pbd.h: Likewise.
1815 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
1816 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
1817 * config/sparc/rtemself.h: Don't include rtems.h.
1818 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
1819 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
1821 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
1822 * config/sparc/sol2.h: Include sparc/sparc.h directly.
1823 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
1824 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
1825 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
1826 * config/sparc/sp86x-elf.h: Don't include gofast.h.
1827 * config/sparc/splet.h: Don't include sparc/aout.h.
1828 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
1829 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
1830 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
1831 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
1832 * config/sparc/vxsparc64.h: Don't include gofast.h.
1833 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
1835 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
1837 * doc/standards.texi: Mention C99 TC1.
1839 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1841 * mips-protos.h (mips_output_conditional_branch): Const-ify.
1842 * mips.c (mips_output_conditional_branch): Likewise.
1844 2001-11-12 Kazu Hirata <kazu@hxi.com>
1846 * config/h8300/h8300.c (shift_alg_si): Use special code for
1847 15-bit logical shifts and 31-bit logical shifts.
1848 (get_shift_alg): Generate special code for 15-bit and 31-bit
1851 2001-11-12 Kazu Hirata <kazu@hxi.com>
1853 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
1854 doing 6-bit logical shifts on H8/S.
1855 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
1856 (get_shift_alg): Generate special code for 21-bit shifts on
1859 2001-11-12 Kazu Hirata <kazu@hxi.com>
1861 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
1864 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1866 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
1867 if both size and offset known.
1869 2001-11-12 David O'Brien <obrien@FreeBSD.org>
1871 * config/ia64/freebsd.h: Fix misspelling.
1873 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
1875 * doc/gcc.texi: Move several chapters out to ...
1876 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
1877 doc/include/linux-and-gnu.texi, doc/interface.texi,
1878 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
1879 ... here. New files.
1880 * doc/gcc.texi, doc/contrib.texi: Move section headings into
1882 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1884 2001-11-12 Kazu Hirata <kazu@hxi.com>
1886 * config/alpha/alpha-interix.h: Fix comment formatting.
1887 * config/alpha/alpha.c: Likewise.
1888 * config/alpha/alpha.h: Likewise.
1889 * config/alpha/alpha32.h: Likewise.
1890 * config/alpha/freebsd.h: Likewise.
1891 * config/alpha/unicosmk.h: Likewise.
1892 * config/alpha/vms.h: Likewise.
1894 2001-11-12 Kazu Hirata <kazu@hxi.com>
1896 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1898 2001-11-12 Jakub Jelinek <jakub@redhat.com>
1900 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
1903 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1905 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
1907 (replace_equiv_address): Call update_temp_slot_address.
1909 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
1911 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
1913 2001-11-12 Kazu Hirata <kazu@hxi.com>
1915 * config/h8300/h8300.c (shift_alg_qi): New.
1916 (shift_alg_hi): Likewise.
1917 (shift_alg_si): Likewise.
1918 (get_shift_alg): Change the type of count to unsigned int.
1921 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
1923 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
1924 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
1925 to decide whether to defer a function.
1926 (finish_function): Adjust.
1927 (c_expand_deferred_function): New function.
1928 * c-lang.c (deferred_fns): New variable.
1929 (c_init): Initialize it, and mark it as a root.
1930 (defer_fn): New function.
1931 (finish_file): Expand all deferred functions.
1932 * c-tree.h (defer_fn): Declare.
1933 (c_expand_deferred_function): Likewise.
1934 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
1935 * objc-act.c (deferred_fns): New variable.
1936 (objc_init): Initialize it, and mark it as a root.
1937 (defer_fn): New function.
1938 (finish_file): Expand all deferred functions.
1940 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1942 * alpha.c (unicosmk_special_name): Prototype.
1943 (unicosmk_ssib_name): Delete unused variable.
1944 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
1945 * alpha/vms.h (PREFIX): Undef before defining.
1946 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
1947 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
1948 controlling usage. Const-ify.
1949 (alias_number): Delete unused variable.
1950 * m32r/m32r.c (m32r_sched_init): Add missing argument.
1951 (m32r_expand_block_move): Fix uninitialized warnings.
1952 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
1953 always true' warnings.
1954 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
1955 * sh/sh.c: Include "integrate.h".
1956 (output_far_jump): Fix uninitialized warning.
1957 * final.c (shorten_branches): Avoid automatic aggregate
1959 * integrate.c (subst_constants): Likewise.
1961 2001-11-11 Kazu Hirata <kazu@hxi.com>
1963 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
1964 (get_shift_alg): Remove redundant code.
1966 2001-11-11 Kazu Hirata <kazu@hxi.com>
1968 * config/pa/milli64.S: Fix comment formatting.
1969 * config/pa/pa-64.h: Likewise.
1970 * config/pa/pa-linux.h: Likewise.
1971 * config/pa/pa-protos.h: Likewise.
1972 * config/pa/pa.c: Likewise.
1973 * config/pa/pa.h: Likewise.
1974 * config/pa/pa32-linux.h: Likewise.
1975 * config/pa/pa32-regs.h: Likewise.
1976 * config/pa/pa64-hpux.h: Likewise.
1977 * config/pa/pa64-regs.h: Likewise.
1978 * config/pa/som.h: Likewise.
1980 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1982 * doc/gcc.texi: Move several chapters out to ...
1983 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
1984 doc/service.texi, doc/standards.texi, doc/trouble.texi,
1985 doc/vms.texi: ... here. New files.
1986 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1988 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1990 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
1991 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
1992 collect2.c, combine.c, config.in, configure, configure.in,
1993 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
1994 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
1995 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
1998 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
2001 Adjust operand number in CONST_DOUBLE.
2003 * expmed.c (extract_bit_field): No longer pass in alignment.
2004 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2005 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
2007 * expr.c (store_constructor, store_constructor_field): Likewise.
2008 (store_field, emit_group_load, emit_group_store): Likewise.
2009 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
2010 (store_bit_field, extract_bit_field): Likewise.
2011 * calls.c, expr.c, function.c: Change calls to above functions.
2012 * ifcvt.c, stmt.c: Likewise.
2014 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
2015 constant and one is on frame.
2016 If know memref offset, adjust size from decl.
2018 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2020 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
2021 format specifier warning.
2022 * convex.h (ASM_OUTPUT_BYTE): Likewise.
2023 * elfos.h (ALIGN_ASM_OP): Undef before defining.
2024 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
2026 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2027 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2028 * i386-interix.h (gen_stdcall_suffix): Prototype.
2029 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2030 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2031 ASM_OUTPUT_LONG_DOUBLE): Likewise.
2032 * i386/interix.c (gen_stdcall_suffix): Const-ify.
2033 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2034 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
2036 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2037 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2038 ASM_OUTPUT_LONG_DOUBLE): Likewise.
2039 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2040 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2041 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2042 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2043 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
2044 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
2045 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2046 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2048 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2050 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
2051 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2052 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
2054 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
2056 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2058 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
2059 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2060 * m68k/news.h (PRINT_OPERAND): Likewise.
2061 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
2062 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2063 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2064 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
2066 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2067 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
2068 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
2069 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2070 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
2071 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
2072 PRINT_OPERAND): Likewise.
2073 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2075 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2076 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2077 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
2078 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2079 * mips.c (mips_output_external_libcall): Mark parameter with
2081 (mips_asm_file_start): Move variable into the scope where it's
2083 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
2084 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2085 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
2086 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2087 * ns32k.c (print_operand): Likewise.
2088 * pa.c (print_operand, output_div_insn): Likewise.
2089 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
2090 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
2091 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
2092 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
2094 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2095 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2096 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
2097 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
2099 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2101 * sdbout.c (sdbout_end_epilogue): Mark parameter with
2103 * varasm.c (assemble_global): Likewise.
2105 2001-11-11 H.J. Lu <hjl@gnu.org>
2107 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
2109 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
2111 * final.c (*_MAX_SKIP): Use *_max_skip variables.
2112 * flags.h (align_loops_max_skip, align_jumps_max_skip,
2113 align_labels_max_skip): New global variables.
2114 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
2115 align_labels_max_skip): New global variables.
2116 (toplev_main): Set new variables.
2117 * i386.c (override_options): Set max_skip values.
2119 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
2121 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
2122 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
2123 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
2124 don't print an @fptr for labels either.
2125 (xstormy16_output_addr_vec): Don't print @fptr here.
2126 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
2128 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
2130 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
2131 an ANSI/ISO definitino.
2132 (ssa_const_prop): Likewise.
2134 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
2136 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
2139 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2141 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
2142 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
2143 * cppmain.c (general_init): Call hex_init.
2144 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
2146 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
2148 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
2149 of dgux.c:output_file_start().
2151 * i386/dgux.c: Delete file.
2153 2001-11-09 Richard Henderson <rth@redhat.com>
2155 * config/alpha/alpha.c (decl_in_text_section): New.
2156 (current_file_function_operand): Use it.
2157 (alpha_encode_section_info, alpha_end_function): Likewise.
2159 2001-11-07 David O'Brien <obrien@FreeBSD.org>
2161 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
2162 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
2163 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
2164 so OS specific files and use CPP_PREDEFINES for their needs.
2165 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
2166 target headers to tm_file.
2167 * config/ia64/aix.h (TARGET_VERSION): Likewise.
2168 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
2169 * config/ia64/linux.h (TARGET_VERSION): Likewise.
2170 (FUNCTION_PROFILER): Remove.
2171 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
2172 version in config/ia64/linux.h.
2173 * config/ia64/freebsd.h: New file.
2174 * config/freebsd.h: Tidy up.
2175 (_USING_CONFIG_FREEBSD): Define.
2176 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
2177 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
2178 (FBSD_STARTFILE_SPEC): Likewise.
2179 (FBSD_ENDFILE_SPEC): Likewise.
2180 (FBSD_LIB_SPEC): Likewise.
2181 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
2182 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
2183 set an ELF-improper one.
2185 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2187 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
2188 constant can be loaded in a single instruction to a register. When
2189 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
2190 depdi for insertion of most significant 32-bits on 64-bit hosts.
2191 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
2192 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
2193 * pa.md: New addmove pattern for adding constant_int to HImode
2194 register and moving result to HImode register. Remove HImode HIGH
2195 and LO_SUM patterns.
2197 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2199 * Makefile.in: Update.
2200 * c-decl.c (print_lang_decl, print_lang_type): Remove.
2201 (print_lang_identifier): Rename c_print_identifier.
2202 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
2203 (print_lang_statistics, lang_print_xnode): Remove.
2204 * c-parse.in (set_yydebug): Rename c_set_yydebug.
2205 * c-tree.h (c_set_yydebug, c_print_identifier): New.
2206 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
2207 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
2208 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
2209 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
2210 (LANG_HOOKS_INITIALIZER): Update.
2211 * langhooks.h (struct lang_hooks): New members.
2212 (lang_print_tree_hook): New.
2213 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
2214 * print-tree.c: Include langhooks.h.
2215 (print_node): Update.
2216 * toplev.c (decode_d_option): Update.
2217 * tree.c: Include langhooks.h.
2218 (dump_tree_statistics): Update.
2219 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
2220 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
2222 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
2223 LANG_HOOKS_SET_YYDEBUG): Override.
2224 (lang_print_xnode, print_lang_statistics): Remove.
2226 2001-11-09 Richard Henderson <rth@redhat.com>
2228 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
2229 on the symbol string.
2231 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2233 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
2234 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
2235 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
2237 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
2239 * tlink.c (recompile_files): Copy strings passed to `putenv'.
2241 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
2243 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
2244 (TYPE_READONLY): Likewise.
2246 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
2248 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
2249 don't pass --gdwarf2 to the assembler if the compiler will also
2252 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
2255 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2257 * alias.c (nonoverlapping_memrefs_p): New function.
2258 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
2260 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
2262 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
2264 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
2265 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
2266 generating altivec code.
2267 (FIXED_REGISTERS): VRSAVE is fixed.
2268 (CALL_USED_REGISTERS): VRSAVE is call used.
2270 2001-11-09 Jason Eckhardt <jle@rice.edu>
2272 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
2273 code the branch target as ".+16/.+12", but rather use labels.
2275 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
2277 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
2278 to work around limitations of certain versions of GAS.
2280 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
2281 (muldi3): Update due to SUBREG_BYTE changes.
2282 (casesi): Similarly.
2284 2001-11-09 Zack Weinberg <zack@codesourcery.com>
2286 * doc/invoke.texi: Remove comment referring to -xf77-version.
2288 2001-11-09 Kazu Hirata <kazu@hxi.com>
2290 * config/convex/convex.c: Fix comment formatting.
2291 * config/convex/convex.h: Likewise.
2293 2001-11-08 Zack Weinberg <zack@codesourcery.com>
2295 * Makefile.in (.po.pox): Look both in srcdir and builddir
2297 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
2298 to the source directory.
2300 2001-11-09 Ben Elliston <bje@redhat.com>
2301 Michael Meissner <meissner@redhat.com>
2302 Andrew MacLeod <amacleod@redhat.com>
2303 Richard Henderson <rth@redhat.com>
2304 Nick Clifton <nickc@redhat.com>
2305 Catherine Moore <clm@redhat.com>
2307 * m32r.c: Add support for m32rx processor.
2311 * m32r-protos.h: Add prototypes for m32rx functions.
2312 * doc/invoke.texi: Document -m32rx option.
2314 2001-11-09 Jakub Jelinek <jakub@redhat.com>
2316 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
2319 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2321 * doc/install.texi2html: Use $MAKEINFO --no-split.
2323 2001-11-09 Andreas Schwab <schwab@suse.de>
2325 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
2326 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
2327 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
2328 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
2329 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
2331 2001-11-09 H.J. Lu <hjl@gnu.org>
2333 * config/mips/mips.c (mips_output_function_prologues): Cast
2334 `tsize' to long for output.
2336 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
2338 * c-lang.c (LANG_HOOKS_NAME): New.
2339 (lang_hooks): Constify.
2340 (c_init_options): Update.
2341 (lang_identify): Remove.
2342 * c-parse.in (language_string): Remove.
2343 * dbxout.c: Include langhooks.h.
2344 (dbxout_symbol_location): Update.
2345 * dwarf2out.c: Include langhooks.h.
2346 (gen_compile_unit_die): Update.
2347 * dwarfout.c: Include langhooks.h.
2348 (prototyped_attribute, output_compile_unit_die): Update.
2349 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
2350 (LANG_HOOKS_INITIALIZER): Update.
2351 * langhooks.h (struct lang_hooks): New members. Constify.
2352 * stringpool.c: Don't include toplev.h.
2353 (set_identifier_size): Remove.
2354 * toplev.c (toplev_main): Initialize identifier size.
2355 (print_version): Update.
2356 * tree.h (language_string, init_lex, lang_identify,
2357 set_identifier_size): Remove.
2358 * Makefile.in: Update dependencies.
2359 * config/darwin.c: Include langhooks.h.
2360 (func_name_maybe_scoped): Update.
2361 * config/darwin.h (ASM_END_FILE): Update.
2362 * config/nextstep.h (ASM_END_FILE): Update.
2363 * config/nextstep21.h (ASM_END_FILE): Update.
2364 * config/i386/sun386.h (ASM_END_FILE): Update.
2365 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
2366 (rs6000_output_function_epilogue): Update.
2368 * objc-act.c (LANG_HOOKS_NAME): Override.
2369 (struct lang_hooks): Constify.
2370 (objc_init_options): Update.
2371 (lang_identify): Remove.
2373 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
2375 * fold-const.c (lshift_double): Honor PREC.
2376 (rshift_double): Likewise.
2378 2001-11-08 Kazu Hirata <kazu@hxi.com>
2380 * config/1750a/1750a.c: Fix comment formatting.
2381 * config/1750a/1750a.h: Likewise.
2383 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
2385 * configure.in (--enable-languages): Be more permissive about
2386 syntax. Check for empty lists better. Warn about $LANGUAGES.
2387 * configure: Regenerated.
2389 2001-11-08 Richard Henderson <rth@redhat.com>
2391 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
2393 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
2395 * config.gcc: Rename stormy16 to xstormy16.
2396 * config/stormy16/stormy-abi: Likewise.
2397 * config/stormy16/stormy16-protos.h: Likewise.
2398 * config/stormy16/stormy16.c: Likewise.
2399 * config/stormy16/stormy16.h: Likewise.
2400 * config/stormy16/stormy16.md: Likewise.
2402 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
2404 * tree.h (TYPE_VOLATILE): Add enable-checking code.
2405 (TYPE_READONLY): Likewise.
2407 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2409 * reload1.c (reload): Don't delete equiv insn if can throw.
2411 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
2412 (clear_storage): Likewise, for OBJECT.
2414 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
2416 * pa.c (emit_move_sequence): Fix SUBREG expression to
2417 use proper byte offset when extending a constant from
2420 2001-11-09 Jakub Jelinek <jakub@redhat.com>
2422 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
2425 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2427 * explow.c (convert_memory_address, case SUBREG): Only return
2428 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
2430 2001-11-08 Richard Henderson <rth@redhat.com>
2432 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
2433 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
2434 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
2436 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
2438 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
2440 2001-11-08 Jakub Jelinek <jakub@redhat.com>
2442 * dwarf2out.c (debug_str_hash): New.
2443 (struct indirect_string_node): New.
2444 (struct dw_val_struct): Change type of val_str to it.
2445 (DEBUG_STR_SECTION_FLAGS): Define.
2446 (add_AT_string): Push string into hashtable, increment reference
2448 (AT_string): Return string from ht_identifier.
2449 (AT_string_form): New.
2450 (free_AT): For dw_val_class_str, just decrement reference counter.
2451 (size_of_string): Remove.
2452 (size_of_die): Use AT_string_form to decide what size the string
2454 (size_of_pubnames): Use strlen instead of size_of_string.
2455 (value_format): Use AT_string_form for dw_val_class_str.
2456 (output_die): Output DW_FORM_strp strings using
2457 dw2_asm_output_offset.
2458 (indirect_string_alloc, output_indirect_string): New.
2459 (dwarf2out_finish): Emit .debug_str strings if there are any.
2461 2001-11-08 Andreas Franck <afranck@gmx.de>
2463 * configure.in: Add AC_ARG_PROGRAM to support program name
2464 transformation with --program-prefix, --program-suffix and
2465 --program-transform-name.
2466 * configure: Regenerated.
2467 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
2468 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
2469 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
2470 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
2471 program_transform_name the way suggested by autoconf.
2472 (GCC_TARGET_INSTALL_NAME): Define.
2473 (install-driver): Use the transformed target alias name.
2475 2001-11-08 Richard Henderson <rth@redhat.com>
2477 * config/mips/mips.c (save_restore_insns): Remove GP from the
2478 restore registers mask early instead of special casing it inside
2481 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
2483 * cp/decl.c (shadow_warning): New function.
2484 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
2485 and an error when a block scope decl shadows a parameter.
2487 2001-11-08 Richard Henderson <rth@redhat.com>
2489 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
2492 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2494 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
2495 to implement floating negation on processors prior to PA 2.0.
2497 2001-11-08 Jakub Jelinek <jakub@redhat.com>
2499 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
2500 (USE_LINKONCE_INDIRECT): Define.
2501 (dw2_output_indirect_constant_1): Try to output indirect constants
2502 into linkonce sections if possible.
2503 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
2504 (dw2_output_indirect_constants): Likewise.
2506 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
2508 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
2510 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
2512 * c-decl.c (pushdecl): Remove file and line.
2513 * c-typeck.c (pop_init_level): Remove size.
2515 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
2517 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
2520 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
2521 (TARGET_ALTIVEC): New.
2522 (TARGET_SWITCHES): Add altivec.
2523 (FIRST_PSEUDO_REGISTER): Change to 109.
2524 (CALL_USED_REGISTERS): Same.
2525 (FIRST_ALTIVEC_REGNO): New.
2526 (LAST_ALTIVEC_REGNO): New.
2527 (ALTIVEC_REGNO_P): New.
2528 (UNITS_PER_ALTIVEC_WORD): New.
2529 (ALTIVEC_VECTOR_MODE): New.
2530 (FIXED_REGISTERS): Add altivec registers.
2531 (REG_ALLOC_ORDER): Same.
2532 (HARD_REGNO_NREGS): Adjust for altivec registers.
2533 (HARD_REGNO_MODE_OK): Same.
2534 (MODES_TIEABLE_P): Same.
2535 (REGISTER_MOVE_COST): Same.
2536 (REGNO_REG_CLASS): Same.
2537 (reg_class): Add ALTIVEC_REGS.
2538 (REG_CLASS_NAMES): Same.
2539 (REG_CLASS_CONTENTS): Same.
2540 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
2541 (ALTIVEC_ARG_RETURN): New.
2542 (FUNCTION_VALUE): Handle VECTOR_TYPE.
2543 (LIBCALL_VALUE): Handle altivec vector modes.
2544 (VECTOR_MODE_SUPPORTED_P): New.
2545 (ALTIVEC_ARG_MIN_REG): New.
2546 (ALTIVEC_ARG_MAX_REG): New.
2547 (ALTIVEC_ARG_NUM_REG): New.
2548 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
2549 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
2550 (REGISTER_NAMES): Add altivec regs.
2551 (DEBUG_REGISTER_NAMES): Same.
2552 (ADDITIONAL_REGISTER_NAMES): Same.
2553 (rs6000_builtins): New.
2554 (MD_EXPAND_BUILTIN): New.
2555 (MD_INIT_BUILTINS): New.
2556 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
2557 for AltiVec instructions.
2558 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
2559 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
2561 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
2562 (TARGET_SWITCHES): Add no-altivec.
2563 (DATA_ALIGNMENT): Align vectors to 128 bits.
2564 (TARGET_OPTIONS): Add abi= option.
2565 Add rs6000_abi_string extern.
2566 (LOCAL_ALIGNMENT): New.
2567 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
2568 (MASK_ALTIVEC_ABI): New.
2569 (TARGET_ALTIVEC_ABI): New.
2570 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
2572 (STACK_BOUNDARY): Adjust for altivec.
2573 (BIGGEST_ALIGNMENT): Same.
2574 (rs6000_args): Add vregno.
2575 (USE_ALTIVEC_FOR_ARG_P): New.
2576 (FIXED_REGISTERS): Add vrsave register.
2577 (CALL_USED_REGISTERS): Same.
2578 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
2579 (VRSAVE_REGNO): New.
2580 (reg_class): Add VRSAVE_REGS.
2581 (REG_CLASS_NAMES): Same.
2582 (REG_CLASS_CONTENTS): Same.
2583 (REGNO_REG_CLASS): Same.
2585 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
2586 (ABI_STACK_BOUNDARY): Same.
2587 (BIGGEST_ALIGNMENT): Same.
2588 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
2589 (ROUND_TYPE_ALIGN): Same.
2591 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2594 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2597 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
2600 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
2601 (altivec_expand_builtin): New.
2602 (altivec_init_builtins): New.
2603 (TARGET_EXPAND_BUILTIN): New.
2604 (TARGET_INIT_BUILTINS): New.
2605 (rs6000_init_builtins): New.
2606 (struct builtin_description): New.
2608 (rs6000_reg_names): Add altivec registers.
2609 (alt_reg_names): Same.
2610 (secondary_reload_class): Altivec regs can hold altivec regs and
2612 (rs6000_emit_move): Force constants into memory for AltiVec moves.
2613 (print_operand): Add 'y' case for printing altivec memory
2615 (rs6000_legitimize_address): Legitimize vector addresses into
2617 (altivec_expand_binop_builtin): New.
2618 New string rs6000_current_abi.
2619 (rs6000_override_options): Call rs6000_parse_abi_options.
2620 (rs6000_parse_abi_options): New.
2621 (function_arg_boundary): Vector arguments must be 16
2623 (function_arg_advance): Handle vector arguments.
2624 (function_arg_partial_nregs): Same.
2625 (init_cumulative_args): Same.
2626 (function_arg): Same.
2628 * config/rs6000/rs6000.md (altivec_lvx): New.
2629 (type): Add altivec attribute.
2631 (*movv4si_internal): New.
2633 (*movv16qi_internal): New.
2635 (*movv8hi_internal1): New.
2637 (*movv4sf_internal1): New.
2638 (altivec_stvx): New.
2754 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
2756 * Makefile.in (df.o): Add fibheap.h to dependencies.
2758 * df.h: Add prototypes for transfer functions, iterative_dataflow
2760 (enum df_flow_dir): New enum.
2761 (enum df_confluence_op): New enum.
2762 (struct df): Add inverse_rts_map.
2764 * df.c: Add sbitmap.h to the list of includes.
2765 (df_rd_global_compute): Removed.
2766 (df_ru_global_compute): Removed.
2767 (df_lr_global_compute): Removed.
2768 (df_rd_transfer_function): New function.
2769 (df_ru_transfer_function): New function.
2770 (df_lr_transfer_function): New function.
2771 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
2772 Use iterative_dataflow_bitmap instead of df_*_global_compute.
2773 (iterative_dataflow_sbitmap): New function.
2774 (iterative_dataflow_bitmap): New function.
2776 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
2778 * doc/gcc.texi: Move terminology and spelling conventions to
2779 htdocs/codingconventions.html.
2781 2001-11-07 Graham Stott <grahams@redhat.com>
2783 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
2785 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
2787 * expmed.c (expand_mult): Force operand to register before computing
2789 * i386.c (x86_decompose_lea): New global vairable.
2790 * i386.h (x86_decompose_lea): Declare.
2791 (TARGET_DECOMPOSE_LEA): New macro.
2792 (RTX_COST): Handle leas properly.
2794 2001-11-06 Richard Henderson <rth@redhat.com>
2796 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
2797 defined for a CONSTRUCTOR; don't check it.
2799 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
2801 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
2802 test for absolute pathnames.
2804 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
2806 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
2807 instructions up to the target pc inclusive.
2809 2001-11-06 Steve Christiansen <smc@us.ibm.com>
2811 * loop.c (loop_regs_scan): Don't invalidate PIC register.
2813 2001-11-06 Eric Christopher <echristo@redhat.com>
2815 * config/mips/mips.md(movdf_internal2): Add constraints for float
2816 to general register move.
2817 * config/mips/elf64.h: Add default ABI.
2819 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2821 * alias.c:: Include langhooks.h.
2822 * emit-rtl.c: Similarly.
2823 * toplev.c: Similarly.
2824 * tree-inline.c: Similarly.
2825 * langhooks-def.h: New, the old langhooks.h. Give the default
2826 hooks a common prefix.
2827 * langhooks.h: Contents extracted from toplev.h.
2828 * toplev.h: Move langhook stuff to langhooks.h.
2829 * langhooks.c: Give default hooks a common prefix.
2831 * c-lang.c: Include langhooks-def.h.
2832 * objc/objc-act.c: Similarly.
2833 * Makefile.in: Update.
2834 * objc/Make-lang.in: Update.
2836 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
2838 * doc/install.texi: Document that configure options not listed in
2839 this file are unsupported. Document --with-system-zlib.
2841 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2843 * rtl.h (mem_for_const_double): New declaration.
2844 * varasm.c (mem_for_const_double): New function.
2845 * config/convex/convex.md (movdf): Use it.
2846 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
2847 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
2848 * config/m68k/m68kv4.h: Likewise.
2850 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
2851 of new GP reg classes.
2853 * expr.c (store_field): When making temp object for unaligned
2854 component, set it to alias set 0.
2856 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
2858 * c-common.c (c_expand_expr_stmt): Apply default conversions to
2859 non-lvalue arrays if C99.
2860 * c-typeck.c (default_conversion): Split out code handling
2861 array-to-pointer and function-to-pointer conversions into a
2862 separate default_function_array_conversion function.
2863 (default_function_array_conversion): New function. Keep track of
2864 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
2865 arrays unchanged outside C99 mode instead of giving an error for
2867 (build_component_ref): Use pedantic_non_lvalue when handling
2868 COMPOUND_EXPR. Don't handle COND_EXPR specially.
2869 (convert_arguments): Use default_function_array_conversion.
2870 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
2872 (unary_complex_lvalue): Likewise.
2873 (internal_build_compound_expr): Use
2874 default_function_array_conversion. Apply default conversions to
2875 function in compound expression.
2876 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
2877 Use default_function_array_conversion.
2878 * doc/extend.texi: Update documentation of subscripting non-lvalue
2882 2001-11-05 Zack Weinberg <zack@codesourcery.com>
2884 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
2885 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
2886 corresponding to the complete set of .po and .gmo files in
2887 the source directory's po subdir, modified by LINGUAS. Don't
2888 look at ALL_LINGUAS.
2889 * configure.in: Don't set ALL_LINGUAS.
2890 * configure: Regenerate.
2892 * Makefile.in (.po.gmo): Don't move into source directory.
2893 (.po.pox): Clarify comments.
2894 (install-po): Look for .gmo files in both srcdir and objdir;
2895 don't fail if a file is totally missing.
2896 (distclean): rmdir ada subdirectory too.
2898 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
2900 * config/rs6000/rs6000.c (rs6000_select_section): Handle
2901 CONSTRUCTORs _correctly_.
2903 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2905 * c-decl.c (delete_block): Remove.
2906 * c-tree.h (delete_block): Remove.
2908 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2910 * cppexp.c (lex, parse_defined): Update warning about defined.
2912 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
2914 * config/rs6000/rs6000.c (rs6000_select_section): Handle
2917 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
2919 * config/arm/arm.c (arm_return_in_memory): Cope with
2920 int_size_in_bytes returning -1.
2922 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
2925 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
2927 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
2928 remove unneeded dependencies;
2930 * cfglayout.c, cfglayout.h: New files; break out from ...
2931 * bb-reorder.c: ... here; Remove unneeded includes;
2933 2001-11-04 Alan Modra <amodra@bigpond.net.au>
2935 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
2937 2001-11-04 David Edelsohn <edelsohn@gnu.org>
2939 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
2940 mode as well. Do not explicitly create intermediate regs.
2942 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2944 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
2945 (common_section): Delete unused variable.
2946 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
2947 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
2948 * arm-protos.h (arm_poke_function_name, aof_add_import,
2949 aof_delete_import): Const-ify.
2950 * arm.c (legitimize_pic_address): Wrap variables in the macro
2951 controlling their usage.
2952 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
2953 (arm_poke_function_name, pic_chain, import, aof_add_import,
2954 aof_delete_import): Const-ify.
2955 * i386.c (ix86_osf_output_function_prologue): Const-ify.
2956 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2957 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
2958 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
2959 * i860/sysv3.h: Add missing comment closure.
2960 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
2961 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
2962 to symbolic_operand.
2964 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
2965 (i960-*-*): Set tmake_file.
2966 (sparc86x-*-elf*): Fix typo in header name.
2968 * sched-rgn.c (schedule_insns): Delete unused variable.
2970 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2973 * c-typeck.c (lookup_field): Rework to return a chain down to
2974 the looked-up field.
2975 (build_component_ref): Use the new lookup_field to handle
2976 nested anonymous entities correctly.
2978 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2980 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
2981 Change parameters to gen_rtx_CONST_DOUBLE.
2982 (GEN_INT64, sparc_emit_set_const64): Likewise.
2983 * config/sparc/sparc.md (movdf split): Likewise.
2985 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
2987 * unroll.c (calculate_giv_inc): Use find_last_value rather
2988 than just hoping the last instruction is the right SET.
2989 [Fixes 990604-1.c on stormy16.]
2991 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
2992 library at all if -T is used.
2994 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
2995 some uses of uninitialized variables in error cases.
2997 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
2998 look at 'temp' if we won't be using it.
3000 * config/stormy16/stormy16.h (CONST_COSTS): Define.
3001 (RTX_COSTS): Define.
3002 (ADDRESS_COST): Define.
3003 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
3005 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
3007 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
3008 stormy16_asm_output_mi_thunk.
3009 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
3011 * config/stormy16/stormy16-protos.h
3012 (stormy16_asm_output_mi_thunk): New prototype.
3014 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
3016 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
3017 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
3018 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
3019 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
3020 sched-int.h, toplev.c, config/alpha/alpha.c,
3021 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
3022 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
3023 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
3024 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
3025 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
3026 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
3027 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
3029 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3031 * Makefile.in (dbxout.o): Depend on function.h.
3032 * collect2.c (is_in_list): Hide unused function.
3033 * dbxout.c: Include function.h.
3034 (source_label_number, dbxout_source_line, dbxout_source_file,
3035 dbxout_function_end, dbxout_begin_function): Wrap/move inside
3036 macros controlling usage.
3037 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
3038 * output.h (exports_section): Prototype.
3040 * convex.c (convex_output_function_prologue): Fix format specifier
3042 (asm_declare_function_name): Fix signed/unsigned warning.
3043 (print_operand): Fix format specifier warning.
3044 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
3045 * dsp16xx-protos.h (uns_comparison_operator,
3046 num_1600_core_shifts): Prototype.
3047 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
3048 (frame_size, frame_pointer_offset): Delete.
3049 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
3050 Make static. Fix format specifier warnings.
3051 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
3052 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
3053 * dsp16xx.md: Add default case in switches.
3054 * fr30.h (IN_RANGE): Delete.
3055 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
3056 * mcore-protos.h (mcore_output_cmov): Const-ify.
3057 * mcore.c (mcore_output_cmov): Likewise.
3058 * mcore.h (switch_to_section): Make static and prototype.
3059 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
3060 unsigned>=0 warnings.
3061 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
3062 * rs6000-protos.h (read_only_data_section,
3063 read_only_private_data_section): Prototype.
3064 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3065 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
3066 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
3068 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3070 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
3072 * final.c (final_scan_insn): Add brackets around body of if-stmt.
3073 * gcc.c (convert_filename): Add static prototype. Const-ify.
3074 Wrap variable in macros controlling its use.
3075 * output.h (sdata_section): Add prototype.
3077 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3078 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
3079 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
3080 (ASM_FILE_START): Const-ify.
3081 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
3083 * c4x.md: Don't use the 'U' integer suffix.
3084 * clipper.md (clipper_movstr): Delete declaration.
3085 * d30v-protos.h (d30v_move_2words): Const-ify.
3086 (debug_stack_info): Add prototype.
3087 * d30v.c: Include "integrate.h".
3088 (d30v_function_arg_boundary, d30v_function_arg,
3089 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
3090 signed/unsigned warnings.
3091 (d30v_print_operand_memory_reference, d30v_move_2words):
3093 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
3094 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
3095 * fr30.md: Const-ify.
3096 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3097 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
3098 (mvs_get_label_page): Hide unused static function.
3099 * i860.c (current_function_original_name): Const-ify.
3100 * i860/sysv3.h (current_function_original_name): Likewise.
3101 * i860/sysv4.h (current_function_original_name): Likewise.
3102 * i960.md: Add default case in switches. Remove unused variable.
3103 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
3104 * m32r.md: Const-ify.
3105 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
3106 * m68hc11.c: Include "reload.h".
3107 (static_chain_reg, print_options, m68hc11_asm_file_start):
3109 * m68hc11.md: Delete unused variable. Const-ify. Add parens
3110 around & in comparison.
3111 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
3112 * mn10200.c (shift_mode): Remove trailing comma.
3113 * mn10300-protos.h (output_tst): Const-ify.
3114 * mn10300.c (output_tst): Likewise.
3115 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
3117 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
3118 * pa.c (output_ascii): Likewise.
3119 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
3120 * pdp11.md (expand_unop): Delete declarations.
3121 * pj-protos.h (pj_output_addsi3): Const-ify.
3122 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
3123 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
3124 unique_src_operand): Add prototypes.
3125 (pj_output_store_into_lval): Make definition static.
3126 (pj_function_incoming_arg): Don't use unary plus.
3127 (pj_output_addsi3): Const-ify.
3128 * romp.md (get_symref): Delete declarations.
3129 * v850-c.c (mark_current_function_as_interrupt): Don't return
3130 value from void function.
3131 * v850.c: Include "integrate.h".
3132 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
3133 * vax-protos.h (const_section): Add prototype.
3135 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
3137 * machmode.def: Add documentation for the seventh argument in
3140 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
3142 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
3144 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
3145 <-melf>: Don't have markup for ELF acronym.
3147 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
3149 * config.gcc (mmix-*-*): New target.
3150 * doc/invoke.texi: Document MMIX options.
3151 * doc/contrib.texi: Add note about MMIX port to my entry.
3152 * config/mmix/t-mmix: New file.
3153 * config/mmix/mmix.h: New file.
3154 * config/mmix/mmix-protos.h: New file.
3155 * config/mmix/mmix.c: New file.
3156 * config/mmix/mmix.md: New file.
3157 * config/mmix/crti.asm: New file.
3158 * config/mmix/crtn.asm: New file.
3160 2001-11-03 Kazu Hirata <kazu@hxi.com>
3162 * config/sparc/linux-aout.h: Fix comment formatting.
3163 * config/sparc/linux.h: Likewise.
3164 * config/sparc/linux64.h: Likewise.
3165 * config/sparc/lynx.h: Likewise.
3166 * config/sparc/pbd.h: Likewise.
3167 * config/sparc/sol2-sld-64.h: Likewise.
3168 * config/sparc/sol2.h: Likewise.
3169 * config/sparc/sparc.c: Likewise.
3170 * config/sparc/sparc.h: Likewise.
3171 * config/sparc/sparc.md: Likewise.
3172 * config/sparc/sunos4.h: Likewise.
3173 * config/sparc/vxsim.h: Likewise.
3174 * config/sparc/vxsparc.h: Likewise.
3175 * config/sparc/vxsparc64.h: Likewise.
3177 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3179 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
3180 reference to CONST_DOUBLE_MEM in comment.
3181 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
3182 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
3183 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
3184 * function.c (pop_function_context_from): Don't call
3185 restore_varasm_status.
3186 * function.h (restore_varasm_status): Delete declaration.
3187 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
3189 * rtl.def (CONST_DOUBLE): Update comment.
3190 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
3191 (CONST_DOUBLE_CHAIN): Likewise.
3192 (CONST_DOUBLE_MEM): Delete.
3193 (gen_rtx_CONST_DOUBLE): Update parameters.
3194 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
3195 Remove reference to CONST_DOUBLE_MEM.
3196 (const_alias_set): New variable.
3197 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
3198 (immed_real_const_1): Adjust tests for 0, 1, and 2.
3199 Don't set CONST_DOUBLE_MEM.
3200 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
3201 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
3202 Put constant in const_alias_set.
3203 (struct pool_constant): ALIGN now unsigned.
3204 OFFSET now HOST_WIDE_INT.
3206 (restore_varasm_status): Deleted.
3207 (mark_pool_constant): Mark desc->rtl.
3208 (force_const_mem): Rework to store rtl in hash table,
3209 not CONST_DOUBLE_MEM.
3210 Put constant in const_alias_set.
3211 (find_pool_constant): Check desc->rtl.
3212 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
3213 (init_varasm_once): Initialize const_alias_set.
3215 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
3218 * reload.c (combine_reloads): Don't combine an output reload if there
3219 are other reloads around for part of the output.
3221 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
3222 constant expression.
3223 (set_mem_decl): New function.
3224 * expr.h (set_mem_decl): New declaration.
3225 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
3226 (output_asm_operand_names): Add tab.
3227 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
3229 * builtins.c (get_memory_rtx): Properly set MEM alias set and
3232 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
3234 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
3235 Use "invalid" instead of "illegal". Use @r in comments in
3238 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
3240 * c-decl.c (pushdecl): Move block inside if conditional to remove
3241 possibility of a segfault. Lookup block-level extern
3242 variables in enclosing scopes correctly.
3244 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
3246 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
3248 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
3249 SUBREG so we avoid SUBREGing memory.
3251 * expmed.c (store_bit_field): Same.
3253 2001-11-02 DJ Delorie <dj@redhat.com>
3255 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
3256 using FP registers for DImode mem-mem moves is acceptable.
3258 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
3260 * builtins.c (apply_args_size): Handle vector arguments.
3261 (apply_result_size): Same.
3263 * machmode.def: Set WIDER mode field for all vector entries.
3265 2001-11-02 Graham Stott <grahams@redhat.com>
3267 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
3269 2001-11-01 Eric Christopher <echristo@redhat.com>
3271 * config.gcc: Revert part of earlier patch.
3272 * config/mips/linux.h: Ditto.
3273 * df.c: Include tm_p.h to avoid warnings.
3274 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
3276 * config/mips/mips.c: Define mips_abi regardless.
3277 (mips_output_function_prologues): Add long casts for .frame
3279 (override_options): Allow use of ABI_32.
3281 2001-11-01 Kazu Hirata <kazu@hxi.com>
3283 * config/m68hc11/m68hc11.c: Fix comment formatting.
3284 * config/m68hc11/m68hc11.h: Likewise.
3285 * config/m68hc11/m68hc11.md: Likewise.
3287 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
3289 * c-typeck.c (default_conversion): Retain the original expression
3291 * gcc.dg/Wparentheses.c: New tests.
3293 2001-11-01 David S. Miller <davem@redhat.com>
3295 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
3296 64-bit Sparc description more in line with reality.
3298 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
3300 * Makefile.in (GCOV_OBJS): Add version.o.
3301 * gcov.c: Include "version.h" and <getopt.h>.
3302 (gcov_version_string): Remove.
3303 (print_usage): Take a parameter to determine whether this is a
3304 call from --help or an error message. Give fuller output that
3305 follows the GNU Coding Standards for --help.
3306 (print_version): New function.
3308 (process_args): Use getopt_long. Support long options. Follow
3309 GNU Coding Standards for --help and --version.
3310 * doc/gcov.texi: Document long options.
3311 Addresses part of PR other/704.
3313 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
3315 * pa.c (output_move_double): Fix typo in double load.
3317 2001-11-01 Kazu Hirata <kazu@hxi.com>
3319 * config/h8300/h8300.c (h8300_encode_label): Compute a string
3320 before passing it to ggc_alloc_string.
3322 2001-11-01 Kazu Hirata <kazu@hxi.com>
3324 * config/m68k/3b1.h: Fix comment formatting.
3325 * config/m68k/3b1g.h: Likewise.
3326 * config/m68k/a-ux.h: Likewise.
3327 * config/m68k/amix.h: Likewise.
3328 * config/m68k/apollo68.h: Likewise.
3329 * config/m68k/atari.h: Likewise.
3330 * config/m68k/aux-exit.c: Likewise.
3331 * config/m68k/ccur-GAS.h: Likewise.
3332 * config/m68k/crds.h: Likewise.
3333 * config/m68k/dpx2.h: Likewise.
3334 * config/m68k/dpx2g.h: Likewise.
3335 * config/m68k/hp310.h: Likewise.
3336 * config/m68k/hp320.h: Likewise.
3337 * config/m68k/isi.h: Likewise.
3338 * config/m68k/linux.h: Likewise.
3339 * config/m68k/lynx.h: Likewise.
3340 * config/m68k/m68k-psos.h: Likewise.
3341 * config/m68k/m68k.c: Likewise.
3342 * config/m68k/m68k.h: Likewise.
3343 * config/m68k/m68k.md: Likewise.
3344 * config/m68k/m68kelf.h: Likewise.
3345 * config/m68k/m68kv4.h: Likewise.
3346 * config/m68k/mot3300.h: Likewise.
3347 * config/m68k/news.h: Likewise.
3348 * config/m68k/next.h: Likewise.
3349 * config/m68k/pbb.h: Likewise.
3350 * config/m68k/plexus.h: Likewise.
3351 * config/m68k/sgs.h: Likewise.
3352 * config/m68k/sun3.h: Likewise.
3353 * config/m68k/tower.h: Likewise.
3354 * config/m68k/vxm68k.h: Likewise.
3356 2001-10-31 DJ Delorie <dj@redhat.com>
3358 * config/mips/mips.h (mips_cache_flush_func): Prototype.
3359 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
3360 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
3361 * config/mips/mips.c (mips_cache_flush_func): New.
3362 * doc/invoke.texi: Document the new options.
3364 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
3366 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
3367 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
3369 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
3371 * config/cris/cris.c: Include output.h after tree.h but before
3374 2001-10-31 Zack Weinberg <zack@codesourcery.com>
3376 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
3377 (INTL_SUBDIRS): Just intl.
3378 (.SUFFIXES): Add .gmo .po .pox.
3379 (native): Also depend on build-@POSUB@.
3380 (intl.all, intl.install): Depend on config.h and things it includes.
3381 (po-generated): New target; depend on c-parse.c and tradcif.c.
3382 (install-normal): Also depend on install-@POSUB@.
3383 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
3384 (build-, install-, build-po, update-po, install-po,
3385 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
3387 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
3388 * configure.in: Don't munge XGETTEXT. Don't generate
3390 * configure: Regenerate.
3392 * exgettext: Delete.
3393 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
3394 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
3396 2001-10-31 Kazu Hirata <kazu@hxi.com>
3398 * config/h8300/h8300.md (two anonymous patterns): New.
3400 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
3402 * tree.h (tree_index): Add support for V16QI and V8HI.
3403 (V8HI_type_node): New.
3404 (V16QI_type_node): New.
3406 * tree.c (build_common_tree_nodes_2): Same.
3408 * c-common.c (type_for_mode): Same.
3410 2001-10-31 Kazu Hirata <kazu@hxi.com>
3412 * config/i386/att.h: Fix comment formatting.
3413 * config/i386/beos-elf.h: Likewise.
3414 * config/i386/bsd.h: Likewise.
3415 * config/i386/bsd386.h: Likewise.
3416 * config/i386/crtdll.h: Likewise.
3417 * config/i386/cygwin.asm: Likewise.
3418 * config/i386/cygwin.h: Likewise.
3419 * config/i386/djgpp.h: Likewise.
3420 * config/i386/freebsd-aout.h: Likewise.
3421 * config/i386/freebsd.h: Likewise.
3422 * config/i386/gas.h: Likewise.
3423 * config/i386/i386-interix.h: Likewise.
3424 * config/i386/i386-protos.h: Likewise.
3425 * config/i386/i386.c: Likewise.
3426 * config/i386/i386.h: Likewise.
3427 * config/i386/i386.md: Likewise.
3428 * config/i386/i386elf.h: Likewise.
3429 * config/i386/interix.c: Likewise.
3430 * config/i386/isc.h: Likewise.
3431 * config/i386/isccoff.h: Likewise.
3432 * config/i386/iscdbx.h: Likewise.
3433 * config/i386/linux.h: Likewise.
3434 * config/i386/lynx.h: Likewise.
3435 * config/i386/mingw32.h: Likewise.
3436 * config/i386/netbsd-elf.h: Likewise.
3437 * config/i386/next.h: Likewise.
3438 * config/i386/osf1elf.h: Likewise.
3439 * config/i386/osfrose.h: Likewise.
3440 * config/i386/sco5.h: Likewise.
3441 * config/i386/seq-gas.h: Likewise.
3442 * config/i386/seq-sysv3.h: Likewise.
3443 * config/i386/sequent.h: Likewise.
3444 * config/i386/sol2.h: Likewise.
3445 * config/i386/sun386.h: Likewise.
3446 * config/i386/uwin.asm: Likewise.
3447 * config/i386/uwin.h: Likewise.
3448 * config/i386/vxi386.h: Likewise.
3449 * config/i386/win32.h: Likewise.
3450 * config/i386/winnt.c: Likewise.
3451 * config/i386/xm-cygwin.h: Likewise.
3452 * config/i386/xm-mingw32.h: Likewise.
3454 2001-10-31 Kazu Hirata <kazu@hxi.com>
3456 * builtins.def: Fix comment typos.
3457 * config/alpha.c: Likewise.
3458 * config/arm/arm.c: Likewise.
3459 * config/avr/avr.h: Likewise.
3460 * config/d30v/d30v.c: Likewise.
3461 * config/d30v/d30v.h: Likewise.
3462 * config/d30v/d30v.md: Likewise.
3463 * config/dsp16xx/dsp16xx.c: Likewise.
3464 * config/fr30/fr30.c: Likewise.
3465 * config/fr30/fr30.md: Likewise.
3466 * config/i386/i386.c: Likewise.
3467 * config/i860/i860.c: Likewise.
3468 * config/i960/i960.c: Likewise.
3469 * config/ia64/ia64.c: Likewise.
3470 * config/mips/mips.c: Likewise.
3471 * config/pa/pa.c: Likewise.
3472 * config/rs6000/rs6000.c: Likewise.
3473 * config/s390/s390.c: Likewise.
3474 * config/sparc/sparc.c: Likewise.
3476 2001-10-30 Kazu Hirata <kazu@hxi.com>
3478 * config/mips/elf.h: Fix comment formatting.
3479 * config/mips/elf64.h: Likewise.
3480 * config/mips/iris5.h: Likewise.
3481 * config/mips/iris5gas.h: Likewise.
3482 * config/mips/iris6.h: Likewise.
3483 * config/mips/isa3264.h: Likewise.
3484 * config/mips/linux.h: Likewise.
3485 * config/mips/mips.c: Likewise.
3486 * config/mips/mips.h: Likewise.
3487 * config/mips/mips.md: Likewise.
3488 * config/mips/mips16.S: Likewise.
3489 * config/mips/netbsd.h: Likewise.
3490 * config/mips/osfrose.h: Likewise.
3491 * config/mips/r3900.h: Likewise.
3492 * config/mips/sni-svr4.h: Likewise.
3493 * config/mips/svr4-t.h: Likewise.
3494 * config/mips/ultrix.h: Likewise.
3496 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
3498 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
3499 when we update head->current.
3501 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
3503 * tree.c (id_string_size): Remove.
3504 (dump_tree_statistics): Update.
3505 * toplev.c (compile_file): If dumping stats, dump tree stats too.
3507 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
3509 * sched-rgn.c (schedule_insns): Fix comment.
3511 2001-10-30 Zack Weinberg <zack@codesourcery.com>
3513 * configure.in: Correct previous change: don't assume that
3514 gas's version number _isn't_ the last thing on the line, or
3515 isn't the only number on the line, either.
3516 * configure: Regenerate.
3518 2001-10-30 Kazu Hirata <kazu@hxi.com>
3520 * cfgcleanup.c: Fix a comment typo.
3522 2001-10-30 Kazu Hirata <kazu@hxi.com>
3524 * alias.c: Fix comment formatting.
3525 * recog.c: Likewise.
3526 * config/cris/cris.c: Likewise.
3527 * config/cris/cris.h: Likewise.
3528 * config/i960/i960.c: Likewise.
3529 * config/i960/i960.h: Likewise.
3531 2001-10-30 Kazu Hirata <kazu@hxi.com>
3533 * config/arm/arm.c: Fix a comment typo.
3534 * config/arm/arm.h: Likewise.
3535 * config/ia64/ia64.c: Likewise.
3537 2001-10-30 Jakub Jelinek <jakub@redhat.com>
3539 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
3540 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
3541 * rtl.h (set_unique_reg_note): Change return value.
3542 * gcse.c (try_replace_reg): Use set_unique_reg_note.
3543 * cse.c (cse_insn): Likewise.
3544 * expr.c (emit_move_insn): Likewise.
3545 * explow.c (force_reg): Likewise.
3546 * local-alloc (update_equiv_regs): Likewise.
3547 * loop.c (move_moveables, load_mems): Likewise.
3548 * reload (find_reloads): Likewise.
3550 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
3553 * c-decl.c (parmlist_tags_warning, start_struct,
3554 check_for_loop_decls): Separate messages for struct, union and
3555 enum cases to allow for languages in which they have different
3557 * c-format.c (scanf_flag_specs): Separate short and long name of
3558 the assignment suppression feature.
3559 (check_format_types): Localize "pointer" and "different types"
3561 * c-lex.c (lex_number): Localize "an unsigned long int" and
3563 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
3565 * c-typeck.c (build_unary_up): Separate messages for increment and
3566 decrement cases to allow for languages in which they use different
3567 articles. Localize the strings "increment" and "decrement" in one
3570 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
3572 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
3573 when no changes has been made.
3575 * gcse.c (reg_set_bitmap): Turn into reg_set.
3576 (modify_mem_list_set, canon_modify_mem_list_set)
3577 (clear_modify_mem_tables, free_modify_mem_tables): New.
3578 (gcse_main); Use free_modify_mem_tables.
3579 (free_gcse_mem): Likewise; free the bitmaps.
3580 (alloc_gcse_main): Initialize the bitmaps.
3581 (canon_list_insert): Set canon_modify_mem_list_set.
3582 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
3583 (compute_hash_table): Use clear_modify_mem_tables.
3584 (reset_opr_set_tables): Likewise.
3585 (oprs_not_set_p): reg_set_bitmap is regset.
3586 (mark_set, mark_clobber): Likewise.
3588 * df.h (DF_EQUIV_NOTES): New constant.
3589 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
3592 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
3593 (init_regions, schedule_insns): Conditionalize the checking
3594 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
3596 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
3598 * i386.md (movti_rex64 splitter): Fix condition.
3600 2001-10-29 Zack Weinberg <zack@codesourcery.com>
3602 * configure.in: Do not assume that gas's version number is the
3603 last thing on the first line of as --version output.
3604 * configure: Regenerate.
3606 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
3607 MT_WARNING, MT_ERROR, MT_FATAL.
3608 (main): Call gcc_init_libintl.
3609 (v_message): Call gettext on msgid and "warning: "
3610 * tradcif.y: Include intl.h.
3611 (yyerror): Make parameter definition consistent with
3612 prototype. Call gettext on msgid argument.
3614 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3616 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
3619 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
3621 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3623 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
3624 before referencing it.
3626 2001-10-26 DJ Delorie <dj@redhat.com>
3628 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
3629 override -G, and force -G0.
3631 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
3633 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
3634 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
3635 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
3636 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
3638 * loop.h (struct induction): Rename ext_dependant to
3640 * loop.c: Change all uses.
3641 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
3642 All callers changed.
3643 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
3645 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
3647 * c-parse.in (expr_no_commas, primary), c-typeck.c
3648 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
3650 2001-10-29 David Edelsohn <edelsohn@gnu.org>
3652 Undo assemble_name change in earlier patch.
3654 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
3656 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
3657 determining the type of the receiver, do not check that TREE_CODE
3658 of receiver is CALL_EXPR before calling receiver_is_class_object().
3659 (receiver_is_class_object): For the GNU runtime: recognize
3660 the case that the receiver is self in a class method context.
3661 Check that TREE_CODE of receiver is CALL_EXPR when checking that
3662 the receiver is a call to objc_get_class.
3664 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
3666 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
3668 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3670 * Makefile.in (OBJS): Put all files in alphabetical order.
3672 * dwarf2out.c (add_const_value_attribute): Fix error in last
3675 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
3677 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
3678 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
3680 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
3681 (life_analysis): call purge_all_dead_edges after deleting noops.
3682 (delete_noop_move): Do not purge CFG.
3683 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
3685 2001-10-28 David Edelsohn <edelsohn@gnu.org>
3687 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
3688 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
3689 (ASM_GLOBALIZE_LABEL): Use assemble_name.
3690 (ASM_OUTPUT_COMMON): Likewise.
3691 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
3692 (rs6000_output_function_epilogue): Likewise.
3693 (output_mi_thunk): Fix typo.
3694 (rs6000_output_symbol_ref): Use assemble_name.
3695 (output_toc): Likewise.
3696 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
3697 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
3698 assemble_name calls STRIP_NAME_ENCODING.
3699 (ASM_OUTPUT_LABEL): Use assemble_name.
3700 (ASM_GLOBALIZE_LABEL): Likewise.
3701 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3702 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
3703 (ASM_OUTPUT_LOCAL): Likewise.
3705 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3707 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
3708 (expand_builtin_apply, expand_builtin_return): Likewise.
3709 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
3711 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
3713 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
3714 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
3715 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
3716 configure, configure.in, except.c, except.h, flow.c, function.c,
3717 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
3718 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
3719 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
3720 unroll.c: Fix spelling errors.
3722 * doc/extend.texi, doc/invoke.texi: Fix spelling.
3724 * doc/gcc.texi: Document use of "dependent" and American spelling.
3726 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
3728 * expr.c (emit_group_load): Support CONCATs by storing them to memory
3731 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3733 * expr.c (store_constructor_field): Only call adjust_address on MEM.
3735 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
3737 * genrecog.c (write_switch): Output if before switch for
3738 DT_elt_zero_wide_safe.
3740 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3742 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
3743 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
3744 (FUNCTION_PROFILER): Const-ify.
3745 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
3746 (eliminate_constant_term, assemble_name, output_addr_const):
3747 Remove declarations.
3748 (ptr_half_pic_address_p, half_pic_hash): Prototype.
3749 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
3750 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
3751 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
3752 (half_pic_declare, half_pic_external): Const-ify.
3753 * toplev.c: Include "halfpic.h".
3755 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
3757 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
3758 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
3759 config/i386/i386.c, config/i386/i386-interix.h,
3760 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
3761 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
3762 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
3763 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
3764 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
3765 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
3766 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
3769 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
3770 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
3771 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
3772 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
3773 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
3774 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
3775 system.h, toplev.c: Fix spelling errors.
3777 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3779 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
3781 * dwarf2out.c (reg_number): Abort if pseudo.
3782 (reg_loc_descriptor): Return 0 if pseudo.
3783 (is_based_loc): Return 0 if pseudo.
3784 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
3786 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
3787 (loc_descriptor): Return 0 if can't find location and handle 0
3788 return from recursive calls.
3789 (loc_descriptor_from_tree): Likewise.
3790 Fix handling of indirect.
3791 Also return 0 for PLACEHOLDER_EXPR.
3792 Clean up COMPONENT_REF cases.
3793 (add_AT_location_descriptor): Simplify, but handle 0 return from
3795 (add_const_value_attribute): Avoid shift count warning.
3796 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
3797 Set comp_unit_die as context if not in function.
3799 * config/mips/mips-protos.h: Break up long lines.
3800 Remove needless #ifdef/#endif blocks.
3801 Don't declare functions declared in file made by genpreds or recog.h.
3802 * config/mips/mips.c (mips_output_function_prologue): TSIZE
3803 is now HOST_WIDE_INT; delete unneeded casts.
3804 * config/mips/mips.h: Don't use #elif.
3806 * expr.c (stor_constructor_field): Always call adjust_address.
3807 Copy TARGET before changing its alias set.
3808 (store_field): Likewise, for TO_RTX.
3809 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
3811 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
3812 (find_placeholder): Return 0 if can't find object.
3813 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
3816 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
3818 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
3820 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
3822 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
3823 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
3824 (merge_blocks): Properly udpate life after making edge nonfallthru.
3825 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
3827 2001-10-26 Kazu Hirata <kazu@hxi.com>
3829 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3831 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
3833 * c-typeck.c (convert_arguments): When comparing for enumeral
3834 type equality, use TYPE_MAIN_VARIANT.
3835 * gcc.dg/Wconversion.c: New tests.
3837 2001-10-26 Kazu Hirata <kazu@hxi.com>
3839 * s390/s390.c: Fix comment typos.
3840 * s390/s390.h: Likewise.
3841 * s390/s390.md: Likewise.
3843 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3845 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
3846 (walk_tree): Use it for tail calls where appropriate.
3848 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3850 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
3851 non-local label_refs.
3853 2001-10-26 Kazu Hirata <kazu@hxi.com>
3855 * config/h8300/h8300.md (4 anonymous patterns): New.
3857 2001-10-26 Kazu Hirata <kazu@hxi.com>
3859 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
3860 algorithm through the shift_info structure.
3861 (emit_a_shift): Update the use of get_shift_alg.
3863 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
3865 * sched-rgn.c: Remove bitset typedef.
3866 Change bitset to sbitmap in prototypes / variable types.
3868 Remove edgeset_bits.
3869 Remove edgeset_size.
3870 s/BITSET_ADD/SET_BIT/g
3871 s/BITSET_INVERT/sbitmap_ones/g
3872 s/BITSET_INTER/sbitmap_a_and_b/g
3873 s/BITSET_UNION/sbitmap_a_or_b/g
3874 s/BITSET_DIFFER/sbitmap_difference/g
3875 s/bitset_member/TEST_BIT/g
3876 (BITSET_*): Removed.
3877 (bitset_member): Removed.
3878 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
3879 EXECUTE_IF_SET_IN_SBITMAP.
3880 (split_edges): Rewrite, use sbitmap functions instead of bitset
3882 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
3884 2001-10-26 Andreas Schwab <schwab@suse.de>
3886 * reload1.c (emit_input_reload_insns): Fix parens in last
3887 (undocumented) change that was supposed to change only whitespace.
3889 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3891 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
3893 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
3896 2001-10-26 Andreas Jaeger <aj@suse.de>
3898 * flow.c (clear_log_links): Remove unused variable.
3899 * cfgcleanup.c (cleanup_cfg): Likewise.
3901 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
3903 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
3904 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
3906 2001-10-26 Richard Henderson <rth@redhat.com>
3908 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
3909 rename PV_REG to R27_REG.
3910 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
3911 (REG_CLASS_FROM_LETTER): Update.
3912 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
3913 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
3914 (udivsi3, modsi3, umodsi3): Likewise.
3915 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
3917 2001-10-26 Richard Henderson <rth@redhat.com>
3919 * cfg.c (clear_aux_for_blocks): Split out of ...
3920 (free_aux_for_blocks): here.
3921 (clear_aux_for_edges): Split from ...
3922 (free_aux_for_edges): here.
3923 * basic-block.h: Declare them.
3924 * lcm.c (compute_antinout_edge): Use them.
3925 (compute_laterin, compute_available, compute_nearerout): Likewise.
3926 (optimize_mode_switching): Likewise.
3928 2001-10-26 Richard Henderson <rth@redhat.com>
3930 * Makefile.in (unstage*): Remove as, ld, collect-ld before
3931 moving everything back to the main build directory.
3933 2001-10-26 Christopher Faylor <cgf@redhat.com>
3935 * config/i386/cygwin.h: Search target specific include directory, if
3938 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3940 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
3941 of macro guards. Fix #endif comment.
3943 * output.h (default_exception_section, default_eh_frame_section):
3944 Move prototypes outside of macro guard.
3946 * crtstuff.c: Fix #endif comment.
3948 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
3950 * doc/md.texi (movMM): Clarify semantics of storing into a
3951 non-paradoxical SUBREG.
3953 2001-10-25 Zack Weinberg <zack@codesourcery.com>
3955 * langhooks.c (lang_hook_default_clear_binding_stack): New.
3956 (lang_hook_default_get_alias_set): Move next to other alias
3958 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
3959 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
3960 (LANG_HOOKS_INITIALIZER): Add it.
3961 * toplev.h (struct lang_hooks): Add clear_binding_stack.
3962 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
3963 instead of a loop calling poplevel.
3965 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
3967 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
3968 occurrences of #elif with #if...#endif.
3970 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3972 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
3974 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3976 * alias.c (can_address_p): No longer static.
3977 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
3978 Return 0 if all parameters are default values.
3979 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
3980 (adjust_address_1): Try harder to compute a size.
3981 * expr.c (expand_assignment, store_constructor): If can't address,
3982 set MEM_KEEP_ALIAS_SET_P.
3983 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
3984 (store_field): Likewise.
3985 (store_constructor): Simplify call to store_constructor_field.
3986 * expr.h (can_address_p): New declaration.
3987 * gensupport.c (gen_rtx_CONST_INT): New function.
3988 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
3989 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
3990 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
3992 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
3994 2001-10-24 Christopher Faylor <cgf@redhat.com>
3996 * config/i386/cygwin.h: Use proper path for mingw crt files when
3999 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4001 * dwarf2out.c (file_info_cmp): Always return consistent results.
4003 2001-10-24 Roger Sayle <roger@eyesopen.com>
4005 * stmt.c (expand_end_case): Index jumptables from zero for
4006 suitably small values of minval.
4008 2001-10-24 Jakub Jelinek <jakub@redhat.com>
4010 * stor-layout.c (place_union_field): If any field was aligned with
4011 attribute aligned, set record type's TYPE_USER_ALIGN.
4012 (place_field): Likewise.
4013 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
4014 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
4016 2001-10-24 Zack Weinberg <zack@codesourcery.com>
4018 * c-common.h (struct c_common_identifier): Remove rid_code field.
4019 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
4021 * c-typeck.c (constructor_designated): New local flag.
4022 (struct constructor_stack): Add "designated" field to match.
4023 (start_init): Clear it.
4024 (really_start_incremental_init, push_init_level): Push and
4026 (pop_init_level): Pop it.
4027 (set_designator): Set it.
4029 (pop_init_level): Suppress "missing initializer" warnings if
4030 constructor_designated is true.
4031 (process_init_element): Suppress warning about union
4032 initialization under traditional C, if constructor_designated
4035 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4037 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
4040 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
4042 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
4044 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
4046 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
4047 the node was already a set to a constant.
4049 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4051 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
4052 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
4054 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4056 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
4057 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
4058 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4059 * s390.c (s390_final_chunkify): Don't use string concatenation.
4060 (s390_function_prologue, s390_function_epilogue): Const-ify.
4061 * s390.h (FUNCTION_PROFILER): Remove unused variable.
4063 2001-10-24 Jakub Jelinek <jakub@redhat.com>
4065 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
4068 2001-10-23 Stan Shebs <shebs@apple.com>
4070 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
4071 -traditional-cpp in first-stage compilation.
4073 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4075 * gensupport.c (target_flags): Add.
4077 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
4079 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
4081 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
4082 * except.c (expand_builtin_frob_return_addr): Likewise.
4083 (expand_builtin_eh_return): Likewise.
4084 * stmt.c (expand_computed_goto): Likewise.
4085 * explow.c (memory_address): Likewise.
4086 (allocate_dynamic_stack_space): Clean up predicate testing.
4087 (probe_stack_range): Convert SIZE to Pmode.
4088 * calls.c (rtx_for_function_call): Only call convert_memory_address
4090 Pass function call operand as ptr_mode, not Pmode.
4091 * expr.c (expand_assignment): Clean up calls to convert_memory
4092 address by only doing so when needed and making offsets Pmode.
4093 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
4094 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
4095 is in Pmode, not ptr_mode.
4097 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4099 * darwin-protos.h (constructor_section, destructor_section,
4100 mod_init_section, mod_term_section): Prototype.
4101 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
4103 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
4105 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
4106 objc_section_init declaration.
4107 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
4108 (objc_section_init, try_section_alias): Make static.
4109 (alias_section): Make static and hide unused function.
4110 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4112 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4114 * alias.c (can_address_p): Compnonents are not addressable if
4115 the containing type has alias set 0.
4116 (get_alias_set): Rework to use STRIP_NOPS.
4117 Only call front-end routine on object, type, or object with
4118 NOPs stripped, not inner values.
4119 Use language hook to call front-end routine.
4120 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
4121 (expand_builtin_apply): Call set_mem_align on MEMs we make.
4122 Don't pass alignment to emit_block_move.
4123 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4124 (expand_builtin_memset): Likewise, but for clear_storage.
4125 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
4126 and remove C++ specific parts.
4127 * c-common.h (c_common_get_alias_set): Add declaration.
4128 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
4129 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
4130 (save_fixed_argument_area): Call set_mem_align.
4131 Remove alignment in call to emit_block_move.
4132 (emit_library_call_value_1, store_one_arg): Likewise.
4133 (target_for_arg): Remove; disabled long ago.
4134 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
4135 once and similar cleanups.
4136 (offset_address): Use proper introductory comment.
4137 * expr.c (emit_block_move): Use alignment from that of MEM args, not
4138 from explicit operand; all callers changed.
4139 (clear_storage): Likewise.
4140 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
4141 (store_field): Remove kludge on alias set used for to_rtx.
4142 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
4143 (expand_expr_unaligned): Call set_mem_attributes instead of
4145 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
4146 * function.c (assign_stack_temp_for_type): Set MEM alignment.
4147 (expand_function_end): Track MEM attributes of trampolines.
4148 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
4149 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
4150 attributes from original.
4151 * langhooks.c (lang_hook_default_get_alias_set): New function.
4152 (hook_get_alias_set_0): New function.
4153 * langhooks.h (hook_get_alias_set_0): New declaration.
4154 (lang_hook_default_get_alias_set): Likewise.
4155 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
4156 * reload1.c (alter_reg): Use adjust_address_nv.
4157 * rtl.c (get_mode_alignment): Moved to here.
4158 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
4159 change default if unknown from 1 to BITS_PER_UNIT.
4160 * stor-layout.c (get_mode_alignment): Remove from here.
4161 * toplev.h (struct lang_hoks): Add get_alias_set field.
4162 * tree.h (lang_get_alias_set): Delete declaration.
4163 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
4164 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
4165 (ix86_va_arg): Likewise.
4166 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
4167 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
4168 * config/sparc/sparc.c (sparc_va_arg): Likewise.
4169 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
4170 (expand_block_move_mem): Remove dead code.
4172 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
4174 * c-common.c (warn_div_by_zero): New.
4175 * c-common.h (warn_div_by_zero): New.
4176 * c-decl.c (c_decode_option): Take it on the command line.
4177 * c-typeck.c (build_binary_op): Warn about division by zero.
4178 * doc/invoke.texi: Document the new command line option, fix
4179 documentation of -Wmultichar.
4180 * testsuite/gcc.dg/divbyzero.c: New tests.
4181 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
4183 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
4185 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
4187 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
4188 to avoid update_life_info call.
4189 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
4190 * cfgcleanup.c (bb_flags): New enum.
4191 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
4192 (notice_new_block, update_forwarder_flag): New functions.
4193 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
4194 (try_forward_edges): Likewise; update flags.
4195 (merge_blocks): Likewise.
4196 (outgoing_edges_match): Likewise.
4197 (try_crossjump_to_edge): Likewise.
4198 (try_optimize_cfg): Likewise; initialize and clear the flags;
4199 recompute life info if needed.
4200 (cleanup_cfg): No need to clear aux pointers.
4202 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
4204 * config/i386/i386.c (override_options): Default to minimum
4205 stack alignment when optimizing for code size.
4206 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
4209 * config/i386/i386.c (override_options): Set upper limit of
4210 -mpreferred-stack-boundary to 12.
4212 2001-10-22 Zack Weinberg <zack@codesourcery.com>
4214 * recog.c (peephole2_optimize): Add default case to switch.
4216 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
4218 * doc/gcc.texi (Sending Patches): Remove.
4220 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
4222 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
4223 fields when comparing.
4225 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4227 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
4228 * arm.c (HOST_INT, HOST_UINT): Likewise.
4230 2001-10-22 Stan Shebs <shebs@apple.com>
4232 * config/darwin-protos.h (darwin_exception_section): Declare.
4233 (darwin_eh_frame_section): Declare.
4235 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
4237 * i386.md (movti_rex64): Fix mode.
4239 2001-10-22 Stan Shebs <shebs@apple.com>
4241 * target.h (struct gcc_target): Add asm_out.exception_section,
4242 asm_out.eh_frame_section.
4243 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
4244 (TARGET_ASM_EH_FRAME_SECTION): New.
4245 (TARGET_INITIALIZER): Update.
4246 * output.h (default_exception_section): Declare.
4247 (default_eh_frame_section): Declare.
4248 * dwarf2out.c: Include target.h.
4249 (output_call_frame_info): Call target hook for eh frames.
4250 (default_eh_frame_section): New function.
4251 * except.c: Include target.h.
4252 (output_function_exception_table): Call target hook for exception
4254 * varasm.c (default_exception_section): Rename from
4255 exception_section, remove EXCEPTION_SECTION macro.
4257 * config/darwin.h (darwin_eh_frame_section): New function.
4258 (EXCEPTION_SECTION): Remove.
4259 (TARGET_ASM_EXCEPTION_SECTION): Define.
4260 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
4261 (nextstep_exception_section): New function.
4262 (nextstep_eh_frame_section): New function.
4263 (TARGET_ASM_EXCEPTION_SECTION): Define.
4264 (TARGET_ASM_EH_FRAME_SECTION): Define.
4266 * config/pa/som.h (EXCEPTION_SECTION): Remove.
4267 (TARGET_ASM_EXCEPTION_SECTION): Define.
4268 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
4269 (EXCEPTION_SECTION): Remove.
4270 (TARGET_ASM_EXCEPTION_SECTION): Define.
4271 * config/stormy16/stormy16.h: Remove comments referencing
4272 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
4274 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
4275 TARGET_ASM_EH_FRAME_SECTION.
4277 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
4279 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
4282 * c-format.c: Fix spelling typo in comment.
4284 * sched-int.h: Fix typo in GCC preamble.
4286 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
4289 * doc/invoke.texi: Remove references to -fdump-translation-unit.
4291 2001-10-22 Richard Henderson <rth@redhat.com>
4293 * config/i386/i386.c (ix86_expand_clear): New.
4294 * config/i386/i386-protos.h: Declare it.
4295 * config/i386/i386.md (setcc peep2s): Use it.
4296 (movsi_xor): Unexport.
4298 2001-10-22 Richard Henderson <rth@redhat.com>
4300 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
4301 free_EXPR_LIST_list for LOG_LINKS.
4303 2001-10-21 Robert Lipe <robertlipe@usa.net>
4305 * config/i386/i386.c (sco_asm_named_section): Delete.
4306 (sco_asm_out_constructor): Delete.
4307 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
4308 (ASM_OUTPUT_DOUBLE_INT): Likewise.
4309 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
4310 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
4311 (EXCEPTION_SECTION): Delete EH scn renaming hack.
4313 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4315 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
4316 and/or fold extra calls into fewer ones.
4317 * collect2.c (dump_file): Likewise.
4318 * cppexp.c (parse_number): Likewise.
4319 * cpplex.c (_cpp_lex_direct): Likewise.
4320 * final.c (output_asm_insn, asm_fprintf): Likewise.
4321 * fix-header.c (inf_scan_ident, main): Likewise.
4322 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
4324 * fold-const.c (real_hex_to_f): Likewise.
4325 * gen-protos.c (parse_fn_proto): Likewise.
4326 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
4327 * genrecog.c (change_state, write_action): Likewise.
4328 * gensupport.c (shift_output_template): Likewise.
4329 * local-alloc.c (requires_inout): Likewise.
4330 * mips-tfile.c (IS_ASM_IDENT): Likewise.
4331 * protoize.c (is_id_char, main): Likewise.
4332 * real.c (asctoeg): Likewise.
4333 * recog.c (asm_operand_ok): Likewise.
4334 * reload.c (find_reloads): Likewise.
4335 * scan.c (scan_identget_token): Likewise.
4336 * sched-vis.c (print_value): Likewise.
4337 * stringpool.c (ggc_alloc_string): Likewise.
4338 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
4339 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
4340 * tradcpp.c (rescan): Likewise.
4341 * tree.c (clean_symbol_name): Likewise.
4342 * varasm.c (decode_reg_name): Likewise.
4344 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
4345 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
4346 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
4347 * m88k.c (output_ascii): Likewise.
4348 * m88k.h (OVERRIDE_OPTIONS): Likewise.
4349 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
4350 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
4351 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
4353 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
4355 * langhooks.c (lang_hook_default_do_nothing,
4356 lang_hook_default_decode_option): New defaults.
4357 * langhooks.h: Make hooks unconditional and non-NULL.
4358 * toplev.c (compile_file, toplev_main): Update.
4359 * toplev.h: Update comments.
4360 * objc/objc-act.c (lang_hooks): Update to new paradigm.
4362 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4364 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
4366 * system.h (IN_RANGE): New macro.
4368 2001-10-21 Zack Weinberg <zack@codesourcery.com>
4370 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
4371 INTLDEPS variable, which does not include $LIBICONV.
4372 * Makefile.in: Use INTLDEPS in LIBDEPS.
4373 * configure: Regenerate.
4375 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
4377 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
4378 * cpplex.c (lex_percent, lex_dot): Remove.
4379 (get_effective_char, skip_block_comment, skip_line_comment,
4380 parse_identifier_slow, parse_number, parse_string, save_comment,
4381 _cpp_lex_direct): Update to do lookback freely.
4382 (IF_NEXT_IS, BACKUP): New macros.
4383 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
4384 * cppmacro.c (paste_tokens): Update.
4386 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
4388 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
4390 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
4392 * reload1.c (reload): Check CONSTANT_P before calling
4393 LEGITIMATE_PIC_OPERAND_P.
4394 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
4395 workaround of 2001-10-13.
4397 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
4399 * i386.c (split_di): Handle splitting of DFmode.
4401 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4403 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
4404 (adjust_address_1, offset_address): Likewise.
4406 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
4407 (output_asm_insn): Call it for each line output.
4408 Don't record an operand more than once.
4410 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
4411 * main.c: Include config.h and system.h, but not ansidecl.h.
4412 * Makefile.in (main.o): Update accordingly.
4414 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
4416 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
4418 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
4420 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
4421 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
4423 (find_sub_basic_blocks): ... here;
4424 (find_many_sub_basic_blocks): New.
4425 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
4427 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
4429 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
4431 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
4433 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
4434 * flow.c (update_life_info): Measure time.
4435 * c-decl.c: Include timevar.h
4436 (c_expand_body): Measure time.
4437 * toplev.c (rest_of_compilation): Measure time of mode switching
4439 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
4441 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
4442 (lang_independent_options): Add asynchronous-unwind-tables
4443 (toplev_main): flag_asynchronous_unwind_tables implies
4445 * flags.h (flag_asynchronous_unwind_tables): Declare.
4446 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
4447 flag_asynchronous_unwind_tables.
4448 (output_call_frame_info): Likewise.
4449 * invoke.texi (-fasynchronous-unwind-tables): Document.
4450 * i386.c (optimization_options): Enable
4451 flag_asynchronous_unwind_tables.
4453 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
4454 * i386.md (s* expanders): Destination is QImode.
4456 * toplev.c (rest_of_compilation): Do not call clear_log_links.
4457 * rtl.h (clear_log_links): Kill.
4458 * flow.c (clear_log_links): Make static; accept blocks parameter;
4459 do no clear life info.
4460 (update_life_info): Call clear_log_links.
4462 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
4464 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
4466 * cpplex.c (handle_newline, skip_escaped_newlines,
4467 get_effective_char, skip_block_comment, skip_line_comment,
4468 parse_identifier_slow, parse_number, parse_string,
4469 _cpp_lex_direct): Update to do more stepping back.
4470 (trigraph_ok): Similarly. Rename trigraph_p.
4471 (SAVE_STATE, RESTORE_STATE): Remove.
4472 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
4474 * cpplib.c (destringize): Rename destringize_and_run, and
4475 call run_directive directly.
4476 (_cpp_do__Pragma): Simplify.
4478 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4480 * pe.c (arm_pe_unique_section): Const-ify.
4481 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4482 (switch_to_section): Add static prototype.
4484 * output.h (drectve_section): Prototype.
4486 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4488 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
4489 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
4490 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
4491 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
4492 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4493 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
4494 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
4495 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
4496 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
4497 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
4498 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
4499 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
4500 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
4501 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
4502 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
4503 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
4504 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
4505 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
4506 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
4507 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
4508 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
4509 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
4510 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
4511 cris-*-none, cris-*-linux*: Update ${tmfile} list.
4512 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
4513 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
4514 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
4515 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
4516 v850-*-*): Delete superflous ${cpu_type} setting.
4517 * config/linux.h: Delete svr4.h include.
4518 (SET_ASM_OP): Delete.
4519 * config/netware.h (INT_ASM_OP): Undef before define.
4520 * config/ptx4.h: Delete elfos.h include.
4521 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
4522 * config/svr4.h: Delete elfos.h include. Update commentary.
4523 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
4524 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
4525 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
4526 config/v850/v850.h: Delete svr4.h include.
4527 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
4528 config/m68k/m68kv4.h, config/m88k/sysv4.h,
4529 config/sparc/sysv4.h: Update includes.
4530 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
4531 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
4532 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
4533 config/m88k/dguxbcs.h: Delete includes.
4534 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
4535 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
4536 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
4538 * config/m88k/dgux.h: Delete include.
4539 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
4541 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
4542 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
4543 * config/sh/elf.h: Update include.
4544 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
4545 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
4547 2001-10-19 Catherine Moore <clm@redhat.com>
4549 * config/stormy16/stormy-abi: Updates to varargs descriptions.
4550 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
4551 base and count fields.
4552 (stormy16_expand_builtin_va_start): last_reg_count changed to
4553 size_of_reg_args. Use count + size in first comparison.
4555 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4557 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
4558 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
4559 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
4560 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
4561 Set alignment from type if INDIRECT_REF.
4562 (adjust_address_1, offset_address): Simplify alignment compuitation.
4563 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
4564 here; done by set_mem_attributes.
4566 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4568 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
4569 * arm-protos.h (rdata_section, zero_init_section, common_section):
4571 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
4572 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
4573 traditional mode stringification.
4574 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
4575 in macros controling its use.
4576 * rtlanal.c: Include tm_p.h.
4577 * varasm.c (asm_output_aligned_bss): Mark parameter with
4579 (assemble_constant_align, assemble_start_function, assemble_align,
4580 assemble_variable, assemble_trampoline_template,
4581 output_constant_def_contents): Wrap potentially empty if-stmt body
4584 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4586 * a29k-protos.h (literal_section): Prototype.
4587 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
4588 * a29k.md: Ensure function pointers are prototyped.
4589 * genattrtab.c (write_eligible_delay): Mark parameter with
4592 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4594 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
4595 * 1750a.c (print_operand): Fix format specifier warning.
4596 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
4597 * 1750a.md: Likewise.
4598 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
4599 * genemit.c (output_add_clobbers): Mark parameter with
4601 * genrecog.c (write_subroutine): Likewise.
4602 * integrate.c (expand_inline_function): Delete unused variable.
4603 * varasm.c (remove_from_pending_weak_list): Wrap with
4606 2001-10-19 Jakub Jelinek <jakub@redhat.com>
4608 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
4609 field is different to previous argument's neg field.
4611 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
4613 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4615 * final.c (get_decl_from_op): New function.
4616 (output_asm_insn): Call it; write "*" when item with decl is address.
4618 2001-10-19 Janis Johnson <janis187@us.ibm.com>
4620 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
4621 about 64-bit support from the 3.0_branch version.
4623 2001-10-19 Zack Weinberg <zack@codesourcery.com>
4625 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
4626 USE_INCLUDED_LIBINTL when appropriate.
4627 * configure, config.in: Regenerate.
4628 * Makefile.in (datadir): Set to @datadir@.
4629 (intl.o): Also depend on $(CONFIG_H) and system.h.
4631 * intl.c: Factor out common gettext initialization sequence.
4632 (gcc_init_libintl): New function.
4633 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
4634 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
4635 off NLS. Add multiple include guard. No need to #ifdef-guard
4636 an #undef. Prototype gcc_init_libintl here.
4638 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
4639 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
4640 Use gcc_init_libintl.
4642 2001-10-19 Catherine Moore <clm@redhat.com>
4644 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
4646 * config/stormy16/stormy16.c (stormy16_split_move): Make
4647 sure that REG_INC notes are present for auto_inc operands.
4649 2001-10-19 Andreas Jaeger <aj@suse.de>
4651 * configure: Regenerated.
4652 * configure.in: Add x86_64 to switch statements.
4654 2001-10-18 Richard Henderson <rth@redhat.com>
4656 * config/alpha/alpha.md (sibcall_osf_1): Load destination
4657 address into $27 explicitly.
4658 (sibcall_value_osf_1): Likewise.
4660 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4662 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
4663 (offset_address): New function.
4664 (free_emit_status): Free regno_decl.
4665 (init_emit): Pass proper number of elements to xcalloc.
4666 Allocate regno_decl.
4667 (mark_emit_status): Mark regno_decl values.
4668 * expr.c (highest_pow2_factor): New function.
4669 (expand_assigment): Use it and offset_address.
4670 Properly handle ptr_mode vs. Pmode in offset calculation.
4671 (store_constructor, expand_expr_unaligned): Likewise.
4672 (expand_expr, case COMPONENT_EXPR): Likewise.
4673 * expr.h (offset_address): New decl.
4674 * function.h (struct emit_status): Add regno_decl.
4675 (REGNO_DECL): New macro.
4676 * final.c (output_asm_name): Move in file and don't conditionalize
4677 on flag_print_asm_name.
4678 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
4679 Output names of operands, if known.
4680 * function.c (assign_parms): Set REGNO_DECL.
4681 * integrate.c (integrate_decl_tree): Likewise.
4682 * stmt.c (expand_decl): Likewise.
4683 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
4685 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
4687 * attribs.c (handle_noinline_attribute): New function.
4688 (handle_used_attribute): Likewise.
4689 (c_common_attribute_table): Added noinline and used.
4690 * doc/extend.texi (Function Attributes): Document them.
4691 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
4692 Warn when merging inline with attribute noinline.
4693 (start_decl, start_function): Warn if inline and attribute
4694 noinline appear in the same declaration.
4696 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
4698 * config.gcc: Update c4x and i370 for C front end-specific
4700 * config/c4x/c4x-c.c: New.
4701 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
4702 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
4704 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
4705 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
4707 (c4x_init_pragma): Remove.
4708 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
4709 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
4710 c4x_pr_ignored): Move to c4x-c.c.
4711 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
4712 * config/c4x/t-c4x: Update.
4713 * config/i370/i370-c.c: New.
4714 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
4715 (i370_pr_map): Move to i370-c.c.
4716 * config/i370/t-i370: New.
4718 * doc/tm.texi: Update.
4720 2001-10-17 Stan Shebs <shebs@apple.com>
4722 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
4723 typo fixes throughout.
4724 (machopic_output_stub): Remove some dead code.
4726 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
4728 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
4731 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4733 * Makefile.in (print-rtl.o): Depend on TREE_H.
4734 * alias.c (get_alias_set): Make two passes over objects to first
4735 see if inner object is access via restricted pointer.
4736 Defer allocating alias set for restricted pointer until here.
4737 Call find_placeholder with second arg nonzero.
4739 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
4740 set for restricted pointer types.
4741 * emit-rtl.c (set_mem_attributes): Set more attributes.
4742 (set_mem_align, change_address, adjust_address_1): New functions.
4743 (change_address_1): Now static.
4744 (adjust_address, adjust_address_nv): Deleted.
4745 (replace_equiv_address): Call change_address_1.
4746 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
4747 (find_placeholder): Get starting point from PLIST arg.
4748 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
4749 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
4750 (adjust_address, adjust_address_nv): New macros.
4751 * print-rtl.c (tree.h): New include.
4752 (print_rtx, case MEM): Print all memory attributes.
4754 2001-10-17 Richard Henderson <rth@redhat.com>
4756 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
4758 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
4760 * c-tree.texi: Eliminate duplicated word.
4761 * cpp.texi: Likewise.
4762 * install.texi: Likewise.
4763 * invoke.texi: Likewise.
4764 * tm.texi: Likewise.
4766 2001-10-17 Michael Collison <collison@isisinc.net>
4768 * dsp16xx.c: Fix comment formatting to match GNU standards.
4769 (dsp16xx_output_function_prologue): Change type of 'size'
4770 parameter from 'int' to HOST_WIDE_INT.
4771 (dsp16xx_output_function_epilogue): Change type of 'size'
4772 parameter from 'int' to HOST_WIDE_INT.
4774 2001-10-16 Richard Henderson <rth@redhat.com>
4776 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
4777 * configure, config.in: Rebuild.
4779 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
4780 (ix86_output_addr_diff_elt): New.
4781 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
4782 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4783 (JUMP_TABLES_IN_TEXT_SECTION): New.
4784 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
4785 * config/i386/i386-protos.h: Update.
4787 * config/i386/386bsd.h, config/i386/beos-elf.h,
4788 config/i386/freebsd-aout.h, config/i386/freebsd.h,
4789 config/i386/i386-interix.h, config/i386/i386elf.h,
4790 config/i386/linux.h, config/i386/netbsd-elf.h,
4791 config/i386/netbsd.h, config/i386/openbsd.h,
4792 config/i386/ptx4-i.h, config/i386/rtemself.h,
4793 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
4794 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
4796 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
4798 * stmt.c (expand_asm_operands): Update commentary.
4800 2001-10-16 Stan Shebs <shebs@apple.com>
4802 * config/darwin.h (GCC_NAME): Remove, no longer used.
4803 (NO_MATH_LIBRARY): Ditto.
4804 (MATH_LIBRARY): Define to emptiness.
4805 (DWARF2_DEBUGGING_INFO): Define.
4806 (PREFERRED_DEBUGGING_TYPE): Define.
4807 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
4808 (EXCEPTION_SECTION): Define.
4809 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4810 * config/darwin.c (darwin_encode_section_info): Handle case of
4811 DECL_INITIAL being error_mark_node.
4813 2001-10-16 Richard Henderson <rth@redhat.com>
4815 * alpha.c (current_file_function_operand): Don't fail for profiling.
4816 (direct_call_operand): New.
4817 * alpha-protos.h: Declare it.
4818 * alpha.h (EXTRA_CONSTRAINT): Use it.
4819 (PREDICATE_CODES): Add it.
4820 (ASM_OUTPUT_MI_THUNK): Remove.
4821 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
4822 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
4824 2001-10-16 Krister Walfridsson <cato@df.lth.se>
4826 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
4827 (JUMP_TABLES_IN_TEXT_SECTION): Define.
4829 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
4831 * cfg.c (free_edge): Break out from ....
4832 (remove_edge): ... here.
4833 (clear_edges): Use free_edge.
4835 * att.h (ASM_QUAD): Add comment.
4836 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
4838 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
4840 * i386.c (split_ti): New function.
4841 (ix86_split_to_parts): Support TImodes.
4842 * i386.h (VALID_INT_MODE_P): Add TImode.
4843 * i386.md (movdi splitter): Fix.
4844 (movti): Support 64bit integer registers.
4845 (movti_rex64): New function and splitter.
4847 * i386.c (*_cost): Add movsx/movzx cost.
4848 * i386.h (struct processor_costs): Add movsx/movzx fields.
4849 (RTX_COSTS): Handle zero/sign extend + avoid believing that
4850 64bit operations require split on 64bit machine.
4851 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
4853 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
4854 (ix86_expand_move): Avoid pushes of memory if size does not match;
4855 move long constants to register.
4856 (x86_initialize_trampoline): Fix mode.
4857 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
4858 Use ASM_QUAD on 64bit.
4859 * i386.md (test pattern): Disallow impossible constants.
4860 (tablejump PIC expander): Fix emitting of sum.
4861 (movdicc_rex64): Rename to movdicc.
4862 * linux64.h (LINK_SPEC): Add missing '%'.
4864 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
4866 * tree-inline.c (inlinable_function_p): Leave it up to the
4867 front-end to turn -finline-functions into DECL_INLINE set for all
4870 2001-10-16 Stan Shebs <shebs@apple.com>
4872 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
4874 2001-10-16 Alan Modra <amodra@bigpond.net.au>
4876 * recog.c: Formatting and comment typo fixes.
4878 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
4879 version in single tree build.
4880 * configure: Regenerate.
4882 2001-10-15 David Edelsohn <edelsohn@gnu.org>
4884 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
4885 MODE arguments to gen_rtx and compare operand with const0_rtx.
4887 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
4889 * system.h: Poison old unused target macros.
4890 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
4891 * config/stormy16/stormy16.c: Update references to obsolete macros.
4892 * config/stormy16/stormy16.h: Similarly.
4893 * config/stormy16/stormy16.md: Similarly.
4894 * config/cris/cris.h: Similarly.
4896 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
4898 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
4899 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
4900 cpp_register_pragma): Update accordingly.
4902 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
4904 * c-pragma.h (cpp_register_pragma_space): Remove.
4905 * cpplib.h (cpp_register_pragma_space): Remove.
4906 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
4907 (cpp_register_pragma_space): Remove.
4908 (cpp_register_pragma): Simplify using lookup_pragma_entry,
4910 (do_pragma): Similarly.
4911 (_cpp_init_internal_pragmas): Don't register namespaces.
4913 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
4914 Don't register namespaces.
4915 * cp/lex.c (init_cp_pragma): Similarly.
4916 * doc/tm.texi: Update.
4918 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
4921 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
4923 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
4925 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
4926 add scheduling support.
4927 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
4928 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
4929 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
4932 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
4934 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
4935 missing CONSTANT_P test in core GCC.
4937 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
4939 * cppmain.c (struct printer): New member source.
4940 (scan_translation_unit): Fix spacing at start of lines.
4941 (cb_line_change): Update.
4943 * gcc.dg/cpp/spacing2.c: New test.
4945 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
4947 * config/cris/arit.c: Use __builtin_labs, not abs.
4949 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
4951 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
4952 misplaced sprintf and fprintf argument.
4954 2001-10-12 Zack Weinberg <zack@codesourcery.com>
4956 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
4957 * configure.in, Makefile.in: Take out obsolete check-po logic.
4958 * configure, config.in: Regenerate.
4960 2001-10-12 Ziemowit Laski <zlaski@apple.com>
4962 * objc/objc-act.c (finish_objc): Correct precondition for emitting
4963 symtab declarations.
4965 2001-10-12 Stan Shebs <shebs@apple.com>
4967 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
4968 declarations of arguments and local variables.
4970 2001-10-12 Christopher Faylor <cgf@redhat.com>
4972 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
4973 ENDFILE_SPEC definition.
4975 2001-10-12 Kazu Hirata <kazu@hxi.com>
4977 * gthr-dce.h: Fix comment formatting.
4978 * gthr-posix.h: Likewise.
4979 * gthr-single.h: Likewise.
4980 * gthr-solaris.h: Likewise.
4981 * gthr-vxworks.h: Likewise.
4982 * gthr-win32.h: Likewise.
4984 2001-10-12 Jakub Jelinek <jakub@redhat.com>
4986 * final.c (output_asm_insn): Make sure assembly dialects are
4987 terminated, not nested. Output `|' and `}' characters if they
4988 don't appear inside assembly dialect selection.
4989 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
4990 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
4991 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
4992 strsetsi_rex_1): Add {} braces.
4994 2001-10-11 Zack Weinberg <zack@codesourcery.com>
4996 * toplev.c (compile_file): Ignore return value from yyparse.
4997 Always pop any nested binding levels after yyparse returns.
4999 2001-10-11 Richard Henderson <rth@redhat.com>
5001 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
5003 2001-10-11 Richard Henderson <rth@redhat.com>
5005 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
5006 fall back to add_AT_long_long for large CONST_INT.
5008 2001-10-11 Richard Henderson <rth@redhat.com>
5010 * config/i386/i386.md (setcc splitters): Add four splitters to
5011 simplify compound compares that simplify_comparison can't handle.
5013 2001-10-11 Zack Weinberg <zack@codesourcery.com>
5015 * cpplex.c (digraph_spellings, token_spellings): Make static.
5017 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5019 * unroll.c (loop_iterations): Fixup last patch.
5021 2001-10-11 Richard Henderson <rth@redhat.com>
5023 * rtl.h (REG_VTABLE_REF): New.
5024 * rtl.c (reg_note_name): Add it.
5025 * combine.c (distribute_notes): Handle it.
5026 * final.c (final_scan_insn): Handle it.
5027 * tree.def (VTABLE_REF): New.
5028 * expr.c (expand_expr): Handle it.
5029 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
5030 * output.h: Declare them.
5032 2001-10-11 Richard Henderson <rth@redhat.com>
5034 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
5037 2001-10-11 David Edelsohn <edelsohn@gnu.org>
5039 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
5040 available in 64-bit mode.
5042 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
5044 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
5045 cris-*-linux* cases.
5046 * config/cris/cris-protos.h: New file.
5047 * config/cris/cris.c: New file.
5048 * config/cris/cris.h: New file.
5049 * config/cris/cris.md: New file.
5050 * config/cris/linux.h: New file.
5051 * config/cris/aout.h: New file.
5052 * config/cris/arit.c: New file.
5053 * config/cris/cris_abi_symbol.c: New file.
5054 * config/cris/mulsi3.asm: New file.
5055 * config/cris/t-aout: New file.
5056 * config/cris/t-cris: New file.
5057 * config/cris/t-elfmulti: New file.
5058 * config/cris/t-linux: New file.
5059 * doc/invoke.texi: Add CRIS options.
5060 * doc/install.texi (Specific): Add blurb for CRIS.
5062 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
5064 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
5066 * config/float/i32.h: Likewise.
5067 * config/float-i386.h: Likewise.
5068 * config/float-i64.h: Likewise.
5069 * config/float-m68k.h: Likewise.
5070 * config/float-sh.h: Likewise.
5071 * config/float-sparc.h: Likewise.
5073 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
5075 * doc/contrib.texi: Add note about CRIS port to my entry.
5077 2001-10-11 Kazu Hirata <kazu@hxi.com>
5079 * basic-block.h: Fix formatting.
5080 * bitmap.h: Likewise.
5081 * cpplib.h: Likewise.
5082 * c-tree.h: Likewise.
5083 * diagnostic.h: Likewise.
5084 * flags.h: Likewise.
5086 * longlong.h: Likewise.
5088 * reload.h: Likewise.
5092 2001-10-10 Richard Henderson <rth@redhat.com>
5094 * c-parse.in (asm_operand): Allow named operands.
5095 * genconfig.c (max_recog_operands): Set to 29.
5096 * local-alloc.c (requires_inout): Skip multiple digits.
5097 * recog.c (asm_operand_ok): Likewise.
5098 (preprocess_constraints): Use strtoul for matching constraints.
5099 (constrain_operands): Likewise.
5100 * regmove.c (find_matches): Likewise.
5101 * reload.c (find_reloads): Likewise.
5102 * stmt.c (parse_output_constraint): Don't reject in-out
5103 constraint on operands > 9. Reject '[' in constraint.
5104 (expand_asm_operands): Handle named operands. Use strtoul
5105 for matching constraints.
5106 (check_operand_nalternatives): Split out from expand_asm_operands.
5107 (check_unique_operand_names): New.
5108 (resolve_operand_names, resolve_operand_name_1): New.
5110 * doc/extend.texi (Extended Asm): Document named operands.
5111 * doc/md.texi (Simple Constraints): Document matching constraints
5114 2001-10-10 Richard Henderson <rth@redhat.com>
5116 * combine.c (try_combine): Handle a SEQUENCE of one insn.
5118 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
5119 (jcc splitters): Add two splitters to simplify compound compares
5120 that simplify_comparison can't handle.
5122 2001-10-10 Richard Henderson <rth@redhat.com>
5124 * langhooks.c: Include langhooks.h.
5125 * Makefile.in (langhooks.o): Depend on it.
5127 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
5129 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
5130 should not be considered as a no-op.
5131 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
5133 2001-10-10 Stan Shebs <shebs@apple.com>
5135 * alias.c: Remove uses of "register" specifier in declarations
5136 of arguments and local variables.
5137 * c-common.c: Ditto.
5138 * c-convert.c: Ditto.
5140 * c-format.c: Ditto.
5141 * c-semantics.c: Ditto.
5142 * c-typeck.c: Ditto.
5143 * caller-save.c: Ditto.
5146 * cfgbuild.c: Ditto.
5148 * collect2.c: Ditto.
5152 * cppfiles.c: Ditto.
5155 * defaults.h: Ditto.
5157 * dwarf2out.c: Ditto.
5158 * dwarfout.c: Ditto.
5159 * emit-rtl.c: Ditto.
5164 * fix-header.c: Ditto.
5165 * floatlib.c: Ditto.
5167 * fold-const.c: Ditto.
5168 * function.c: Ditto.
5171 * gen-protos.c: Ditto.
5172 * genattrtab.c: Ditto.
5173 * gencheck.c: Ditto.
5174 * genconfig.c: Ditto.
5176 * genextract.c: Ditto.
5177 * genflags.c: Ditto.
5178 * gengenrtl.c: Ditto.
5179 * genoutput.c: Ditto.
5181 * genrecog.c: Ditto.
5182 * gensupport.c: Ditto.
5186 * haifa-sched.c: Ditto.
5187 * hard-reg-set.h: Ditto.
5189 * integrate.c: Ditto.
5192 * local-alloc.c: Ditto.
5194 * mips-tdump.c: Ditto.
5195 * mips-tfile.c: Ditto.
5198 * print-rtl.c: Ditto.
5199 * read-rtl.c: Ditto.
5202 * reg-stack.c: Ditto.
5203 * regclass.c: Ditto.
5208 * resource.c: Ditto.
5212 * sched-deps.c: Ditto.
5213 * sched-rgn.c: Ditto.
5215 * simplify-rtx.c: Ditto.
5217 * stor-layout.c: Ditto.
5224 * xcoffout.c: Ditto.
5226 2001-10-10 Richard Henderson <rth@redhat.com>
5228 * rtl.h (can_reverse_comparison_p): Remove.
5230 2001-10-10 Christopher Faylor <cgf@redhat.com>
5232 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
5235 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5237 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
5238 (Thanks to Chris Faylor for suggesting macro name).
5239 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
5241 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
5242 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
5243 (MATH_LIBRARY): Undef before definition.
5244 (OUTPUT_QUOTED_STRING): Likewise.
5245 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
5247 2001-10-10 Richard Henderson <rth@redhat.com>
5249 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
5250 (fde_unencoded_compare): Likewise. Don't use subtraction to get
5251 a tristate comparison value.
5252 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
5254 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5257 * unroll.c (loop_iterations): Ignore insns generated by loop
5260 * config.gcc (mips*-*-gnu*): Delete support.
5261 * config/mips/gnu.h: Remove.
5263 2001-10-10 Kazu Hirata <kazu@hxi.com>
5265 * calls.c: Fix formatting.
5266 * c-decl.c: Likewise.
5267 * cfgcleanup.c: Likewise.
5268 * combine.c: Likewise.
5269 * cppfiles.c: Likewise.
5270 * cpplib.c: Likewise.
5271 * cppmacro.c: Likewise.
5272 * crtstuff.c: Likewise.
5274 * dwarf2out.c: Likewise.
5275 * expmed.c: Likewise.
5277 * fold-const.c: Likewise.
5278 * function.c: Likewise.
5280 * genattrtab.c: Likewise.
5281 * ggc-page.c: Likewise.
5282 * integrate.c: Likewise.
5283 * libgcc2.c: Likewise.
5285 * optabs.c: Likewise.
5286 * profile.c: Likewise.
5287 * protoize.c: Likewise.
5289 * recog.c: Likewise.
5290 * reload1.c: Likewise.
5291 * reload.c: Likewise.
5292 * reorg.c: Likewise.
5293 * resource.c: Likewise.
5294 * sched-rgn.c: Likewise.
5295 * sdbout.c: Likewise.
5297 * toplev.c: Likewise.
5298 * varasm.c: Likewise.
5300 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
5302 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
5303 * Makefile.in (langhooks.o): Add dependencies.
5305 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
5307 * rs6000.c (rs6000_emit_load_toc_table): Don't
5308 strdup the toc label.
5309 (create_TOC_reference): Likewise.
5311 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5313 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
5316 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5318 * config/i386/i386.c (ix86_attribute_table): Correct
5319 min_len, max_len fields for dllimport, dllexport and shared.
5321 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
5323 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
5324 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
5325 Consistently use "nonzero" instead of "non-zero".
5327 2001-10-09 Kazu Hirata <kazu@hxi.com>
5329 * acconfig.h: Fix comment formatting.
5330 * c-dump.h: Likewise.
5331 * c-tree.h: Likewise.
5332 * conditions.h: Likewise.
5334 * function.h: Likewise.
5336 * hwint.h: Likewise.
5337 * integrate.h: Likewise.
5340 * optabs.h: Likewise.
5342 2001-10-09 Kazu Hirata <kazu@hxi.com>
5344 * c-common.h: Fix comment formatting.
5345 * c-dump.c: Likewise.
5347 * diagnostic.h: Likewise.
5348 * except.c: Likewise.
5350 * gcov-io.h: Likewise.
5351 * genattrtab.c: Likewise.
5352 * output.h: Likewise.
5353 * predict.h: Likewise.
5354 * reload1.c: Likewise.
5355 * reload.h: Likewise.
5356 * resource.h: Likewise.
5358 * system.h: Likewise.
5360 * tree-inline.c: Likewise.
5361 * tsystem.h: Likewise.
5362 * varasm.c: Likewise.
5363 * xcoffout.h: Likewise.
5365 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
5367 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
5369 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
5371 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
5372 config/i386/i386elf.h, config/i386/netbsd-elf.h,
5373 config/i386/netware.h, config/mcore/gfloat.h,
5374 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
5375 config/netware.h, gccbug.in: Update FSF address.
5377 2001-10-09 Kazu Hirata <kazu@hxi.com>
5379 * c-common.c: Fix comment typos.
5380 * cfgrtl.c: Likewise.
5381 * collect2.c: Likewise.
5382 * cpplex.c: Likewise.
5383 * doloop.c: Likewise.
5384 * dwarf2out.c: Likewise.
5385 * dwarfout.c: Likewise.
5387 * fold-const.c: Likewise.
5391 * global.c: Likewise.
5392 * ifcvt.c: Likewise.
5394 * optabs.c: Likewise.
5395 * protoize.c: Likewise.
5396 * regclass.c: Likewise.
5397 * reorg.c: Likewise.
5401 * doc/cpp.texi: Likewise.
5402 * doc/c-tree.texi: Likewise.
5403 * doc/extend.texi: Likewise.
5404 * doc/invoke.texi: Likewise.
5405 * doc/objc.texi: Likewise.
5406 * doc/tm.texi: Likewise.
5408 2001-10-08 Richard Henderson <rth@redhat.com>
5410 * varasm.c (set_named_section_flags): Initialize "declared".
5412 2001-10-08 Robert Lipe <robertlipe@usa.net>
5414 * varasm.c (struct in_named_entry): Add declared.
5415 (named_section_first_declaration): New function.
5416 (default_elf_asm_named_section): Use it.
5417 * output.h (named_section_first_declaration): New.
5419 2001-10-08 Richard Henderson <rth@redhat.com>
5421 * i386.md (movsi_xor): Export.
5422 (setcc peep2): Use it when available; add an alternative to
5423 match zero_extendhisi2_and.
5425 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5427 * romp-protos.h (romp_initialize_trampoline): New function.
5428 * romp.c (romp_initialize_trampoline): Likewise.
5429 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
5430 romp_initialize_trampoline.
5432 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5434 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
5435 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5436 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5437 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
5439 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5441 * unroll.c (loop_iterations): Extend check for multiple back edges.
5443 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
5445 * langhooks.h: New file.
5446 * Makefile.in (OBJS): Added langhooks.o.
5447 (c-lang.o): Depend on langhooks.h.
5448 (c-common.o): Don't depend on tree-inline.h.
5449 (tree-inline.o): Depend on toplev.h.
5450 (langhooks.o): New rule.
5451 * c-common.c: Don't include tree-inline.h.
5452 (c_mark_lang_decl): Mark argument c as unused.
5453 (c_common_lang_init): Don't initialize hooks here.
5454 * c-lang.c: Include langhooks.h, then override some macros.
5455 (lang_hooks): Initialize with macros in langhooks.h.
5456 (c_init): Don't initialize hooks here.
5457 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
5458 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
5459 * tree-inline.c: Include toplev.h. Don't define hook variables.
5460 * tree-inline.h: Don't define hook types nor declare hook
5461 variables. Move macros to...
5462 * langhooks.c: ... new file, as functions. Adjust all callers.
5464 2001-10-08 Jeffrey A Law <law@cygnus.com>
5466 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
5467 purge_mem_unchanging_flag on all instructions, not just on those
5468 before NOTE_INSN_FUNCTION_BEG.
5470 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5472 * cppmacro.c (_cpp_create_definition): Leave comments off.
5474 * doc/cpp.texi: Update.
5476 2001-10-08 DJ Delorie <dj@redhat.com>
5478 * c-decl.c (grokfield): Make sure the only unnamed fields
5479 we're allowing are either structs or unions.
5480 * doc/extend.texi: Add documentation for the unnamed field
5483 2001-10-08 Zack Weinberg <zack@codesourcery.com>
5485 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
5486 * configure.in: Use it.
5487 * configure: Regenerated.
5488 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
5489 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
5491 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5493 * cppfiles.c (open_file): Don't mark zero-length files
5494 never-reread here. Don't output diagnostics here either.
5495 (stack_include_file): Mark them never-reread here.
5496 (_cpp_read_file): Update.
5498 2001-10-08 Richard Henderson <rth@redhat.com>
5500 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
5502 2001-10-08 Richard Henderson <rth@redhat.com>
5504 * expr.c (store_expr): When converting a CONST_INT for storage
5505 in a SUBREG, convert it to both SUBREG modes before stripping
5508 2001-10-08 Richard Henderson <rth@redhat.com>
5510 * varasm.c (restore_varasm_status): New.
5511 * function.h: Declare it.
5512 * function.c (pop_function_context_from): Call it.
5514 2001-10-08 Richard Henderson <rth@redhat.com>
5516 * c-common.h (struct c_lang_decl): Add declared_inline.
5517 * c-tree.h (DECL_DECLARED_INLINE_P): New.
5518 * c-lang.c (c_disregard_inline_limits): Use it.
5519 * c-decl.c (duplicate_decls): Likewise.
5520 (pushdecl, redeclaration_error_message): Likewise.
5521 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
5522 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
5523 Set DECL_INLINE if -finline-functions.
5524 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
5526 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
5528 * cppmacro.c (funlike_invocation_p): Move some logic to caller
5529 in enter_macro_context. Create a padding token in its own context
5530 if necessary when the search for '(' fails.
5531 (enter_macro_context): Update.
5533 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5535 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
5536 genmultilib, toplev.c: Fix spelling errors of "separate" as
5537 "seperate", and corresponding spelling errors of related words.
5539 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5541 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
5542 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
5544 * c-dump.c (dump_option_value_info): Likewise.
5545 * c-format.c (format_length_info, format_char_info,
5546 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
5547 * collect2.c (names): Likewise.
5548 * cppdefault.h (default_include): Likewise.
5549 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
5550 * flow.c (life_analysis): Likewise.
5551 * gcc.c (dir_separator_str, modify_target, option_map,
5552 target_option_translations, spec_list_1, extra_specs_1,
5553 init_spec): Likewise.
5554 * gcov.c (gcov_version_string): Likewise.
5555 * genattr.c (write_units): Likewise.
5556 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
5557 * gengenrtl.c (rtx_definition, defs): Likewise.
5558 * genrecog.c (pred_table): Likewise.
5559 * global.c (global_alloc): Likewise.
5560 * lcm.c (optimize_mode_switching): Likewise.
5561 * local-alloc.c (find_free_reg): Likewise.
5562 * params.h (param_info): Likewise.
5563 * predict.c (predictor_info): Likewise.
5564 * protoize.c (unexpansion_struct): Likewise.
5565 * real.c (bmask): Likewise.
5566 * recog.h (insn_operand_data, insn_data): Likewise.
5567 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
5568 * stmt.c (expand_nl_goto_receiver): Likewise.
5569 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
5570 target_switches, target_options): Likewise.
5571 * tradcif.y (token, tokentab2, yylex): Likewise.
5572 * tree.h (attribute_spec): Likewise.
5574 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
5576 * arc.c (arc_output_function_epilogue): Likewise.
5577 * arm.c (processors, all_cores, all_architectures,
5578 arm_override_options, isr_attribute_arg, isr_attribute_args,
5579 arm_isr_value): Likewise.
5580 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
5582 * c4x.c (c4x_int_reglist): Likewise.
5583 * d30v.c (override_options): Likewise.
5584 * h8300.c (shift_insn): Likewise.
5585 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
5586 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
5587 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
5588 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
5589 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
5590 * i386.h (processor_costs, ix86_cost): Likewise.
5591 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
5592 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
5593 * m68k.c (codes_68881, codes_FPA): Likewise.
5594 * m88k.c (mode_from_align, max_from_align, all_from_align,
5595 best_from_align, m_options): Likewise.
5596 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
5597 * mcore.c (mode_from_align): Likewise.
5598 * mips/elf64.h (UNIQUE_SECTION): Likewise.
5599 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
5600 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
5601 * mips.h (mips_regno_to_class): Likewise.
5602 * ns32k.c (scales): Likewise.
5603 * pa.c (import_string, magic_milli): Likewise.
5604 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
5605 * sparc.c (leaf_reg_remap, sparc_override_options,
5606 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
5608 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
5610 2001-10-07 Dale Johannesen <dalej@apple.com>
5612 * reload1.c (reload_reg_free_p): Teach register interference
5613 checking that multiple output reloads are emitted in
5615 reload1.c (reload_reg_reaches_end_p): Ditto.
5616 reload1.c (reloads_conflict): Ditto.
5618 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5620 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
5621 NULL_TREE inside @code.
5623 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
5625 * doc/gcc.texi: Document consistent style of "32-bit",
5626 "Objective-C", and "@code{NULL}".
5628 2001-10-06 Zack Weinberg <zack@codesourcery.com>
5630 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
5631 (cpp_token_len, cpp_spell_token, cpp_output_token,
5632 _cpp_equiv_tokens): Handle it.
5633 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
5634 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
5635 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
5638 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5640 * gcc.c (default_compilers): Remove .ada.
5642 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
5644 * doc/cppinternals.texi: Update.
5646 2001-10-06 Zack Weinberg <zack@codesourcery.com>
5648 * gcc.c (main): Set this_file_error if the appropriate
5649 compiler for a language has not been installed.
5651 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
5653 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
5655 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
5657 * gccbug.in (CATEGORIES): Add ada.
5659 2001-10-05 Catherine Moore <clm@redhat.com>
5661 * config/stormy16/stormy-abi: Document abi changes.
5662 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
5663 (ICALL_REGS): New register class.
5664 (NUM_ARGUMENT_REGISTERS): Now 6.
5665 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
5667 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
5668 * config/stormy16.md (call_internal, call_value_internal,
5669 indirect_jump): Use new 'z' constraint.
5671 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
5673 * doc/cppinternals.texi: Update.
5675 2001-10-05 Richard Henderson <rth@redhat.com>
5677 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
5678 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
5679 the gas section-name-as-label feature.
5681 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
5683 * doc/cppinternals.texi: Update.
5685 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5687 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
5688 to ensure valid SImode constants.
5690 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
5692 * Makefile.in (c-decl.o): Depend on tree-inline.h.
5693 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
5694 * c-decl.c: Include tree-inline.h.
5695 (c_expand_body): Call optimize_inline_calls. Determine whether
5696 a function is inlinable upfront, and only clear
5697 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
5698 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
5699 (c_disregard_inline_limits): New function.
5700 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
5701 (c_post_options): Enable tree inlining if inlining is enabled.
5702 Don't inline trees when instrumenting functions.
5703 (c_init): Initialize lang_disregard_inline_limits and
5704 lang_cannot_inline_tree_fn.
5705 * tree-inline.c (initialize_inlined_parameters): Handle calls
5706 with fewer arguments than declared parameters, and fewer
5707 parameters than passed arguments. Don't assume value is a
5709 (declare_return_variable): Convert return value back to the
5710 original type, if it was promoted.
5711 (tree_inlinable_function_p): New function.
5712 (inlinable_function_p): Don't look at DECL_INLINE if we're
5713 inlining all functions. Make it work with a NULL id.
5714 Re-check DECL_UNINLINABLE after language-specific checks.
5715 * tree-inline.h (tree_inlinable_function_p): Declare it.
5716 * integrate.c (save_for_inline): Don't bother to prepare argvec
5718 * cse.c (check_for_label_ref): Don't check deleted labels.
5720 * Makefile.in (tree-inline.o): Depend on newly-included headers.
5721 * tree-inline.c: Include headers needed for the functions moved in.
5722 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
5723 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
5724 (copy_body, initialize_inlined_parameters): Likewise.
5725 (declare_return_variable, inlinable_function_p): Likewise.
5726 (expand_call_inline, expand_calls_inline): Likewise.
5727 (optimize_inline_calls, clone_body): Likewise.
5728 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
5729 (copy_tree_r, remap_save_expr): Likewise.
5731 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
5733 * Makefile.in (OBJS): Added tree-inline.o.
5734 (c-common.o): Depend on tree-inline.h.
5735 (tree-inline.o): New target.
5736 * c-common.c: Include tree-inline.h.
5737 (c_mark_lang_decl): Don't mark saved_tree.
5738 (c_common_lang_init): Set lang_anon_aggr_type_p.
5739 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
5740 (struct c_lang_decl): Moved saved_tree to tree_decl.
5741 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
5742 * integrate.h (function_attribute_inlinable_p): Declare it.
5743 * integrate.c (function_attribute_inlinable_p): Export it.
5744 * tree-inline.c: New file. Define variables declared in...
5745 * tree-inline.h: New file. Declare functions to be moved to
5746 tree-inline.c. Define macros and declare types and hooks for
5747 language-specific tree inlining.
5748 (flag_inline_trees): Moved definition from cp/decl2.c.
5749 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
5750 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
5751 (struct tree_decl): Moved saved_tree from c_lang_decl and
5752 inlined_fns from C++'s lang_decl.
5754 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
5756 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
5757 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
5759 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
5761 * doc/cppinternals.texi: Update.
5763 2001-10-04 Eric Christopher <echristo@redhat.com>
5765 * config/mips/mips.c (init_cumulative_args): Remember to set
5767 * config.gcc: Redo linux configuration. Add target_cpu_default
5768 of soft-float to all mipsisa32 combinations and tx39.
5769 * config/mips/linux.h: Remove include of mips.h.
5771 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
5773 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
5774 HOST_LDFLAGS and HOST_CPPFLAGS.
5776 2001-10-03 Ziemowit Laski <zlaski@apple.com>
5778 * c-parse.in (objc_inherit_code, objc_pq_context,
5779 objc_public_flag): Make static.
5780 (objc_interface_context, objc_implementation_context,
5781 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
5782 global tree array in objc/objc-act.[ch].
5783 (methoddef): Remove unnecessary code.
5785 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
5786 Hoist struct definitions to objc-act.h.
5787 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
5788 cat_count): Place declaration in objc-act.h.
5789 (objc_tree_index): Move enumeration to objc-act.h.
5790 (objc_global_trees): Place declaration and macro accessors in
5792 (implementation_context): Remove duplicate; use
5793 objc_implementation_context instead:
5794 (method_context): Remove duplicate; use objc_method_context
5796 (objc_ellipsis_node, objc_method_prototype_template,
5797 implemented_classes, function_type): Move global vars to
5799 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
5800 (build_message_expr): Move actual construction of ObjC message
5801 send nodes to finish_message_expr.
5802 (finish_message_expr): New routine, contains code formerly in
5804 * objc/objc-act.h (finish_message_expr): New prototype.
5805 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
5806 declarations; these vars are now part of objc_global_trees.
5807 (objc_tree_index, objc_global_trees): Move definitions from
5809 * objc/objc-tree.def: Update copyright info.
5811 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
5813 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
5815 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
5816 only if TARGET_ARCH64.
5818 2001-10-02 Bernd Schmidt <bernds@redhat.com>
5820 * doc/extend.texi: Fix some problems with previous checkin.
5821 * doc/invoke.texi: Likewise.
5823 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
5825 * cpphash.h: Update comments.
5826 (cpp_context): Update.
5827 (spec_nodes): Remove n__Pragma.
5828 * cppinit.c (cpp_create_reader): Update.
5829 (builtin_array): Add _Pragma.
5830 * cpplib.h: Update comments.
5831 (NODE_DISABLED, BT_PRAGMA): New.
5832 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
5833 * cppmacro.c (struct cpp_macro): Remove disabled.
5834 (builtin_macro): Return int, handle _Pragma, push the new token
5835 on the context stack.
5836 (funlike_invocation_p): Unconstify, update.
5837 (enter_macro_context): Handle builtins here.
5838 (replace_args, push_token_context, push_ptoken_context):
5839 Update for prototype changes.
5840 (_cpp_pop_context): Update.
5841 (cpp_get_token): Don't handle buitins, nor _Pragma here.
5842 (cpp_sys_macro_p): Update.
5843 (_cpp_free_definition): Clear disabled flag.
5844 (_cpp_create_definition): Upate.
5845 * cppmain.c: Update comments.
5847 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
5848 Andreas Jaeger <aj@suse.de>,
5849 Jan Hubicka <jh@suse.cz>
5851 * doc/invoke.texi (i386 Options): Document x86-64 options.
5852 (i386 and x86-64 Options): Rename i386 options section.
5854 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
5855 (TARGET_SWITCHES): Add -munwind-info.
5856 (MASK_NO_UNWIND_INFO): New.
5857 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
5859 (ASM_OUTPUT_DOUBLE_INT): New.
5861 * config/i386/linux64.h: New spec file for Linux x86-64 support.
5862 * config.gcc: Fix tm_file settings for x86-64.
5863 * config/i386/x86-64.h: New file with OS independent x86-64
5865 * config/i386/biarch64.h: New file used to configure compiler
5866 to biarch/64bit compilation.
5868 * config/i386/i386.c: (override_options): Set flags default
5869 for 64bit compilation.
5871 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
5873 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
5874 (ix86_expand_int_movcc): Optimize DImode conditional moves with
5875 constants on x86_64.
5876 (ix86_attr_length_immediate_default): Support MODE_DI.
5877 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
5879 (indirect_jump, tablejump): Turn into expander.
5881 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5883 * c-common.c (c_format_attribute_table): Make format and
5884 format_arg attributes apply to function types rather than to
5886 (is_valid_printf_arglist): Construct an attribute list and pass
5887 that to check_function_format rather than a name.
5888 * c-common.h (check_function_format): Adjust prototype.
5889 * c-decl.c (duplicate_decls): Preserve attributes from type of
5890 built-in decl when allowing for harmless conflict in types.
5891 * c-format.c (record_function_format,
5892 record_international_format, function_format_list,
5893 international_format_info, international_format_list): Remove.
5894 (function_format_info): Remove next, name and assembler_name.
5895 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
5896 (decode_format_attr): New.
5897 (handle_format_attribute): Handle receiving a type rather than a
5898 decl. Call decode_format_attr. Store format information in a
5899 function_format_info.
5900 (handle_format_arg_attribute): Correct comment. Handle receiving
5901 a type rather than a decl. Use unsigned HOST_WIDE_INT for
5903 (check_format_info_recurse, check_format_info_main): Take argument
5904 numbers as unsigned HOST_WIDE_INT.
5905 (check_function_format): Take a list of attributes from the
5906 function type rather than a name or assembler name. Check for
5907 format attributes in that list and the attributes on the type of
5908 the current function rather than looking through
5909 function_format_list.
5910 (check_format_info): Use unsigned HOST_WIDE_INT for argument
5912 (check_format_info_recurse): Take format_arg attributes from the
5913 type of the function calls rather than using
5914 international_format_list. Allow for multiple format_arg
5916 * c-typeck.c (build_function_call): Pass type attributes to
5917 check_function_format rather than name or assembler name. Don't
5918 require there to be a name or assembler name to check formats.
5920 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5922 * attribs.c (decl_attributes): Possibly call
5923 insert_default_attributes to insert default attributes on
5924 functions in a lazy manner.
5925 * builtin-attrs.def: New file; define the default format and
5926 format_arg attributes.
5927 * c-common.c (c_format_attribute_table): Move to earlier in the
5929 (c_common_nodes_and_builtins): Initialize format_attribute_table.
5930 (enum built_in_attribute, built_in_attributes,
5931 c_attrs_initialized, c_init_attributes,
5932 c_common_insert_default_attributes): New.
5933 (c_common_lang_init): Don't initialize format_attribute_table. Do
5934 call c_init_attributes.
5935 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
5936 * c-common.h (init_function_format_info): Don't declare.
5937 (c_common_insert_default_attributes): Declare.
5938 * c-decl.c (implicitly_declare, builtin_function): Call
5940 (init_decl_processing): Don't call init_function_format_info.
5941 (insert_default_attributes): New.
5942 * c-format.c (handle_format_attribute,
5943 handle_format_arg_attribute): Be quiet about inappropriate
5944 declaration when applying default attributes.
5945 (init_function_format_info): Remove.
5946 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
5947 (insert_default_attributes): Declare.
5949 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
5951 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
5953 2001-10-01 Jim Wilson <wilson@redhat.com>
5955 * sched-deps.c (add_dependence): When elide conditional dependence,
5956 check that insn doesn't modify cond2.
5958 2001-10-01 Dale Johannesen <dalej@apple.com>
5960 * config/rs6000/rs6000.h (enum processor_type): Add support
5961 for 7400 (G4) and 7450.
5963 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
5964 (rs6000_issue_rate): Ditto.
5965 (rs6000_adjust_cost): Fix cycle counts for compares.
5966 (debug_stack_info): Fix an obvious typo.
5967 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
5968 * doc/invoke.texi: Document.
5969 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
5971 (PROCESSOR_DEFAULT): Ditto.
5973 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
5975 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
5976 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
5977 later recursive make invocation.
5979 2001-10-01 Hans Boehm <boehm@acm.org>
5981 * optabs.c (emit_libcall_block): When using non-call exceptions,
5982 don't add REG_LIBCALL reg notes to trapping calls.
5984 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
5986 * flow.c (propagate_block_delete_libcall): Remove unused first arg
5987 (propagate_one_insn): Update for above change
5989 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
5991 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
5992 _Unwind_GetTextRelBase): Argument is unused.
5994 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5996 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
5997 Loop through NOPs, placeholders, and components.
5998 Don't go through NOPs if change mode.
5999 (record_alias_subset): Do nothing if SUBSET and SET are the same.
6000 * emit-rtl.c (set_mem_alias_set): Enable check.
6001 * expr.c (find_placeholder): New function.
6002 (expand_expr, case PLACEHOLDER_EXPR): Use it.
6003 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
6004 to modify it and avoid unneeded copies.
6005 * expr.h (expand_expr): Always define.
6006 (find_placeholder): New declaration.
6008 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6010 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
6011 operand 2 is the stack pointer.
6012 ("addr-peephole"): Fix address computation peephole when operand 2
6013 is the stack pointer.
6015 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6017 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
6018 (ix86_setup_incoming_varargs): Likewise.
6020 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
6022 * stor-layout.c (layout_type): Don't complain about too-large
6025 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6027 * function.c (keep_stack_depressed): Don't use delete_insn.
6029 * expr.h (set_mem_alias_set): Move decl to here.
6030 * rtl.h (mem_attrs): New typedef and struct.
6031 (union rtunion_def): Add field for mem_attrs.
6032 (X0MEMATTR, MEM_ATTRS): New macros.
6033 (MEM_ALIAS_SET): Use MEM_ATTRS.
6034 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
6035 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
6036 (set_mem_alias_set): Delete decl from here.
6038 * alias.c (set_mem_alias_set): Delete from here.
6039 * emit-rtl.c (mem_attrs_htab): New variable.
6040 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
6041 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
6042 (mem_attrs_mark, get_mem_attrs): Likewise.
6043 (gen_rtx_MEM): Clear MEM_ATTRS.
6044 (set_mem_attributes): Move to here.
6045 (set_mem_alias_set): Likewise, and call get_mem_attrs.
6046 (init_emit_once): const_int_htab now deletable htab.
6047 Initialize mem_attrs_htab.
6048 * explow.c (set_mem_attributes): Delete from here.
6049 * function.c (put_var_into_stack): Clear MEM_ATTRS.
6050 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
6051 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
6052 * reload1.c (reload): Rework changing REG to MEM.
6054 2001-09-30 H.J. Lu <hjl@gnu.org>
6056 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
6057 * config.in: Rebuild.
6059 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6061 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
6062 ("tsthi_1"): Avoid allocation in register y.
6063 ("*movqi_68hc12"): Reorganize and fix constraints.
6064 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
6065 ("addqi3"): Likewise.
6066 ("addhi3"): Fix constraints.
6067 ("*logicalhi3_zexthi"): Disparage soft registers.
6069 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6071 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
6074 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6076 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
6077 that we use setjmp/longjmp exceptions.
6079 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
6081 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
6082 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
6083 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
6084 _cpp_pool_alloc, _cpp_next_chunk): Remove.
6085 (_cpp_extend_buff, BUFF_ROOM): Update.
6086 (_cpp_append_extend_buff): New.
6087 (struct cpp_reader): Remove macro_pool, add a_buff.
6088 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
6090 (cpp_destroy): Free a_buff instead of macro_pool.
6091 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
6092 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
6093 _cpp_pool_alloc, ): Remove.
6094 (parse_number, parse_string): Update use of _cpp_extend_buff.
6095 (_cpp_extend_buff): Update.
6096 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
6097 * cpplib.c (glue_header_name, parse_answer):
6098 Update use of _cpp_extend_buff.
6099 (cpp_register_pragma, cpp_register_pragma_space): Use
6101 (do_assert, do_unassert): Check for EOL, update.
6102 * cppmacro.c (stringify_arg, collect_args): Update to use
6103 _cpp_extend_buff and _cpp_append_extend_buff.
6104 (save_parameter, parse_params, alloc_expansion_token,
6105 _cpp_create_definition): Rework memory management.
6107 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
6109 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
6110 update md_exec_prefix.
6111 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
6114 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
6116 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
6117 (SELECT_CC_MODE): Use s390_select_ccmode.
6118 * config/s390/s390-protos.h (s390_select_ccmode): Add.
6119 * config/s390/s390.c (s390_select_ccmode): New.
6120 (s390_match_ccmode): Add CCLmode.
6121 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
6122 (output_branch_condition, output_inverse_branch_condition): Removed.
6123 (print_operand): Use s390_branch_condition_mnemonic.
6124 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
6125 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
6126 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
6128 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
6129 when converting conditional branches to far branches.
6130 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
6131 cmpint_di): Use CCSmode instead of CCUmode.
6133 * config/s390/s390.c (legitimate_la_operand_p): New.
6134 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
6135 * config/s390/s390.md (movsi): Convert load address patterns to
6136 arithmetic operations when necessary.
6137 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
6138 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
6139 (*do_la_reg_0): Don't use before reload.
6141 * config/s390/s390.c (legitimize_address): Make more efficient
6142 use of two-register addressing mode.
6144 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
6145 with -mno-backchain in some corner cases.
6147 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
6149 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
6151 * reload.c (find_reloads): Mark new USE insns with QImode.
6152 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
6153 find_reloads_subreg_address): Likewise.
6154 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
6156 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
6158 (reload): Make sure there are no USEs with mode other than
6159 VOIDmode. At the end, remove those marked with QImode.
6161 2001-09-29 Per Bothner <per@bothner.com>
6163 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
6164 * Makefile.in (includedir): Rename to local_includedir.
6165 (includedir): Define as $(prefix)/include.
6166 * config.in (PREFIX_INCLUDE_DIR): New variable.
6167 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
6169 2001-09-29 Bernd Schmidt <bernds@redhat.com>
6171 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
6173 * doc/extend.texi (Vector Extensions): New node.
6174 * doc/invoke.texi (Machine Dependent Options): Add documentation for
6175 i386 -mmmx, -msse, -m3dnow.
6177 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
6179 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
6181 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
6183 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
6185 * doc/invoke.texi (Optimize Options): Delete spurious @table.
6187 2001-09-28 Richard Henderson <rth@redhat.com>
6189 * varasm.c (assemble_integer): Bound alignment check by
6192 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
6194 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6196 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
6198 2001-09-25 Bernd Schmidt <bernds@redhat.com>
6200 Mostly from Graham Stott <grahams@redhat.com>
6201 * c-common.c (type_for_mode): Add support for V2SFmode.
6202 * tree.c (build_common_tree_nodes_2): Likewise.
6203 * tree.h (enum tree_index, global_trees): Likewise.
6204 * config/i386/i386.c (x86_3dnow_a): New variable.
6205 (override_options): Support 3Dnow extensions.
6206 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
6207 Athlon's version of 3Dnow.
6208 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
6209 (ix86_expand_builtin): Handle them.
6210 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
6211 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
6212 TARGET_3DNOW_A): New macros.
6213 (TARGET_SWITCHES): Add 3Dnow switches.
6214 (VALID_MMX_REG_MODE_3DNOW): New macro.
6215 (VECTOR_MODE_SUPPORTED_P): Use it.
6216 (enum ix86_builtins): Add entries for 3Dnow builtins.
6217 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
6218 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
6219 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
6220 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
6221 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
6222 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
6223 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
6224 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
6225 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
6226 sfence_insn, prefetch): Make these available if TARGET_SSE or
6229 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
6231 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
6232 ix86_va_start, ix86_build_va_list): Declare.
6233 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
6234 ix86_va_start, ix86_build_va_list): New global functions.
6235 * i386.md (sse_prologue_save_insn): New insn.
6236 (sse_prologue_save): New expander.
6237 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
6238 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
6240 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
6242 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
6243 Use size_t everywhere, make definitions consistent with
6246 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
6248 * gcse.c (replace_store_insn): Use delete_insn.
6249 * loop.c (move_movables): Likewise; avoid delete_insn
6250 from clobbering notes moved elsewhere.
6251 (check_dbra_loop): Use delete_insn.
6252 * ssa.c (convert_from_ssa): Likewise.
6253 * cse.c (cse_insn): Use delete_insn.
6255 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
6257 * cpphash.h (struct cpp_buff): Make unsigned.
6258 (_cpp_get_buff): Take length of size_t.
6259 (_cpp_unaligned_alloc): New.
6260 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
6261 (struct cpp_reader): Remove ident_pool. Add u_buff.
6262 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
6263 (cpp_destroy): Destroy u_buff, not ident_pool.
6264 * cpplex.c (parse_number, parse_string, save_comment,
6265 cpp_token_as_text): Update to use the unaligned buffer.
6266 (new_buff): Make unsigned.
6267 (_cpp_unaligned_alloc): New.
6268 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
6269 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
6271 (collect_args): Make unsigned.
6273 2001-09-27 Zack Weinberg <zack@codesourcery.com>
6275 * cpplex.c (cpp_output_token): Use a putc loop for
6276 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
6278 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
6279 * configure, config.in: Regenerate.
6280 * system.h: Replace fwrite and fprintf with their unlocked
6281 variants if available.
6283 2001-09-27 Richard Henderson <rth@redhat.com>
6285 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
6286 in favour of .eh_frame.
6288 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
6290 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
6292 (LIBCALL_VALUE): Likewise.
6294 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
6296 * cpphash.h: Update comment.
6297 * cpplex.c: Update comments.
6298 (_cpp_can_paste): Remove.
6299 * cpplib.h (_cpp_can_paste): Remove.
6300 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
6301 lexer rather than _cpp_can_paste.
6303 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
6305 * doc/cppinternals.texi: Update.
6307 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
6309 * cpphash.h (struct cpp_pool): Remove locks and locked.
6310 (struct cpp_context): Add member buff.
6311 (struct cpp_reader): Remove member argument_pool.
6312 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
6313 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
6314 * cpplex.c (chunk_suitable): Remove pool argument.
6315 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
6316 (new_buff, _cpp_extend_buff): Update.
6317 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
6318 which buffer is returned.
6319 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
6320 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
6321 * cppmacro.c (lock_pools, unlock_pools): Remove.
6322 (push_ptoken_context): Take a _cpp_buff.
6323 (enter_macro_context): Pool locking removed.
6324 (replace_args): Use a _cpp_buff for the replacement list with
6326 (push_token_context): Clear buff.
6327 (expand_arg): Use _cpp_pop_context.
6328 (_cpp_pop_context): Free a context's buffer, if any.
6330 2001-09-26 DJ Delorie <dj@redhat.com>
6332 * c-typeck.c (digest_init): Check for sizeless arrays.
6334 2001-09-26 Richard Henderson <rth@redhat.com>
6336 * optabs.c (init_one_libfunc): Create a dummy function type
6337 instead of using error_mark_node.
6339 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
6341 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
6342 _cpp_extend_buff, _cpp_free_buff): New.
6343 (struct cpp_reader): New member free_buffs.
6344 * cppinit.c (cpp_destroy): Free buffers.
6345 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
6346 _cpp_extend_buff, _cpp_free_buff): New.
6347 * cpplib.h (struct cpp_options): Remove unused member.
6348 * cppmacro.c (collect_args): New. Combines the old parse_arg
6349 and parse_args. Use _cpp_buff for memory allocation.
6350 (funlike_invocation_p, replace_args): Update.
6352 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
6354 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
6356 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
6358 * except.c (sjlj_mark_call_sites): Change address inside sequence.
6360 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
6362 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
6365 2001-09-25 Janis Johnson <janis187@us.ibm.com>
6366 Jim Wilson <wilson@redhat.com>
6368 * doc/install.texi (Specific, ia64-*-linux): Document.
6370 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
6372 * Makefile.in (cfgrtl.o): Add.
6373 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
6374 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
6375 free_aux_for_edge): Declare.
6377 (HAVE_return): Undefine.
6378 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
6379 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
6380 free_aux_for_edge): New global functions.
6381 (first_delete_block): New static variable.
6382 (init_flow): Clear first_delete_block.
6383 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
6384 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
6385 try_redirect_by_replacing_jump, last_loop_beg_note,
6386 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
6387 delete_insn, delete_insn_chain, create_basic_block_structure,
6388 create_basic_block, flow_delete_block, compute_bb_for_insn,
6389 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
6390 set_block_for_new_insns, split_block, merge_blocks_nomove,
6391 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
6392 redirect_edge_and_branch, force_nonfallthru_and_redirect,
6393 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
6394 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
6395 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
6396 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
6397 purge_all_dead_edges): Move to ....
6398 * cfgrtl.c: New file; .... Here.
6400 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
6401 (reroder_basic_block): Use alloc_aux_for_blocks.
6402 * predict.c (estimate_bb_frequencies): Likewise; use
6403 alloc_aux_for_edges.
6404 * profile.c (compute_branch_probabilities): Likewise.
6405 (branch_prob): Likewise.
6406 * reg-stack.c (reg_to_stack): Likewise.
6408 * emit-rtl.c (emit_insns_after): Never return NULL.
6410 * basic-block.h (set_block_for_new_insns): Delete.
6411 * cfgrtl.c (set_block_for_new_insns): Delete.
6413 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
6414 calls when crossjumping.
6416 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
6417 * unroll.c (copy_loop_body): Use delete_insn.
6419 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
6420 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
6421 keep_stack_depressed): Likewise.
6422 * gcse.c (cprop_cc0_jump): Likewise.
6423 * local-alloc.c (update_equiv_regs): Likewise.
6424 * loop.c (scan_loop, loop_delete_insns): Likewise.
6425 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
6426 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
6427 delete_output_reload, delete_address_reloads_1,
6428 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
6430 * sibcall.c (replace_call_placeholder): Likewise.
6431 * cse.c (cse_insn): Likewise.
6433 2001-09-25 Bernd Schmidt <bernds@redhat.com>
6435 From Graham Stott <grahams@redhat.com>
6436 (def_builtin): Only define builtins appropriate for target_flags. All
6438 (builtin_decsription): Add new field mask which is used to determine
6439 when to define the builtin via the macro def_builtin.
6441 (bdesc_comi): Initialise new mask fields.
6442 (bdesc_2srg): Likewise.
6443 (bdesc_1arg): Likewise.
6445 * config/i386/i386.c (ix86_init_builtins): Correct return type
6446 building v4hi_ftype_v4hi_int_int tree node.
6447 (ix86_expand_sse_comi): Fix typo swapping operands.
6448 Don't swap comparision condition, it is already swapped.
6449 (ix86_expand_sse_compare): Before swapping operands
6450 move operand 1 into new rtx and not the target rtx.
6451 Don't swap comparison condition, it is already swapped.
6452 Always check whether we need to create a new TARGET.
6454 * config/i386/i386.md: (sse_comi) Fix typos.
6455 (sse_ucomi): Likewise.
6456 (cvtss2si): Fix operand 0 contraint.
6457 (cvttss2si): Likewise.
6458 (sse_unpckhps): Fix mode for operand 2.
6459 (sse_unpcklps): Likewise.
6461 2001-09-25 Graham Stott <grahams@redhat.com>
6463 * sibcall.c (skip_copy_to_return_value): Tighten return value
6466 2001-09-24 David Edelsohn <edelsohn@gnu.org>
6468 * rs6000.c (lwa_operand): Address must be word aligned.
6470 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6472 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
6473 number has been set.
6474 (type_hash_mark): Mark type itself.
6476 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
6478 * c-lex.c (cb_def_pragma): Update.
6479 (c_lex): Update, and skip padding.
6480 * cppexp.c (lex, parse_defined): Update, remove unused variable.
6481 * cpphash.h (struct toklist): Delete.
6482 (union utoken): New.
6483 (struct cpp_context): Update.
6484 (struct cpp_reader): New members eof, avoid_paste.
6485 (_cpp_temp_token): New.
6486 * cppinit.c (cpp_create_reader): Update.
6487 * cpplex.c (_cpp_temp_token): New.
6488 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
6489 (cpp_output_token): Don't print leading whitespace.
6490 (cpp_output_line): Update.
6491 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
6492 do_include_common, do_line, do_ident, do_pragma,
6493 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
6494 parse_assertion): Update.
6495 (get_token_no_padding): New.
6496 * cpplib.h (CPP_PADDING): New.
6497 (AVOID_LPASTE): Delete.
6498 (struct cpp_token): New union member source.
6499 (cpp_get_token): Update.
6500 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
6501 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
6502 replace_args, quote_string, stringify_arg, parse_arg, next_context,
6503 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
6504 _cpp_backup_tokens, _cpp_create_definition): Update.
6505 (push_arg_context): Delete.
6506 (padding_token, push_token_context, push_ptoken_context): New.
6507 (make_string_token, make_number_token): Update, rename.
6508 (cpp_get_token): Update to handle tokens as pointers to const,
6509 and insert padding appropriately.
6510 * cppmain.c (struct printer): New member prev.
6511 (check_multiline_token): Constify.
6512 (do_preprocessing, cb_line_change): Update.
6513 (scan_translation_unit): Update to handle spacing.
6514 * scan-decls.c (get_a_token): New.
6515 (skip_to_closing_brace, scan_decls): Update.
6516 * fix-header.c (read_scan_file): Update.
6518 * doc/cpp.texi: Update.
6520 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6522 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
6523 leak by passing malloc'ed pointer to reconcat, not concat.
6525 2001-09-24 DJ Delorie <dj@redhat.com>
6527 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
6529 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
6531 * flow.c (delete_dead_jumptables): Delete jumptable if the only
6532 reference is from the literal pool.
6534 2001-09-24 Janis Johnson <janis187@us.ibm.com>
6536 * doc/install.texi (Final install): Request additional information
6537 in mail about successful builds.
6539 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6541 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
6542 initial value of return pointer register instead of value in frame-20.
6545 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6547 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
6548 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
6549 the libcall if there isn't a referenced identifier for the symbol.
6551 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6553 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
6554 non 64-bit machines. Use these as a plabel for the trampoline.
6555 (TRAMPOLINE_SIZE): Adjust size for new words.
6556 (INITIALIZE_TRAMPOLINE): Initialize new words.
6557 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
6558 pointer to the plabel in the trampoline.
6560 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
6562 * pa.c (function_arg): Pass floating arguments in both general and
6563 floating registers in indirect (dynamic) calls when generating code
6564 for the 32 bit ABI and the HP assembler.
6566 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6568 * doc/install.texi: Markup fixes.
6569 Use Solaris 2, SunOS 4 as appropriate.
6570 (Specific, *-*-solaris2*): Explain this.
6571 Unconditionally warn against /usr/ucb tools.
6572 Remove Sun as warning, obsolete.
6573 Move X11 header bug workaround here, update patches.
6574 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
6575 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
6577 2001-09-23 Zack Weinberg <zack@codesourcery.com>
6579 * errors.h (warning, error, fatal, internal_error): Don't mark
6580 with ATTRIBUTE_PRINTF_n.
6581 * toplev.h (internal_error, fatal_io_error, warning, error,
6582 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
6583 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
6586 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6588 * function.c (pop_function_context_from): var_refs_queue
6589 and temp slots now in GC memory.
6590 (mark_function_status, free_after_compilation): Likewise;
6591 also struct function now in GC memory.
6592 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
6593 (combine_temp_slots): Likewise.
6594 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
6595 (prepare_function_start): Use GC memory for struct function.
6596 (mark_temp_slot): Deleted.
6597 (gcc_mark_struct_function): struct function now in GC memory.
6599 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
6600 code for division, not modulus.
6602 * rtl.def (MEM): Remove obsolete part of comment.
6604 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
6606 * c-format.c (init_function_format_info): Check __builtin_printf
6607 and __builtin_fprintf even if -ffreestanding. Check C99 functions
6610 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6612 * c-common.c (format_attribute_table): Remove decl.
6613 * tree.h (format_attribute_table, lang_attribute_table): New decls.
6614 (lang_attribute_common): Likewise.
6616 * function.c (fix_lexical_address): Use set_mem_alias_set.
6617 (expand_function_start): Likewise.
6618 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
6620 * varasm.c (output_constant): Fix unused variable warning.
6622 * attribs.c: New file, from c-common.c.
6623 (attribute_tables): Now four elements.
6624 (format_attribute_table, lang_attribute_common): New variables.
6625 (init_attributes): Reflect above changes.
6626 (handle_mode_attribute): Delete check for wider than uintmax.
6627 * c-common.c: Delete parts moved to attribs.c.
6628 (enum attrs): Deleted; unused.
6629 (c_format_attribute_table): New variable.
6630 (c_common_lang_init): Initialize format_attribute_table with it.
6631 * c-common.h (decl_attributes): Remove decl.
6632 * tree.h (decl_attribute): Move it to here.
6633 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
6634 (attribs.o): New rule.
6636 2001-09-22 Andreas Jaeger <aj@suse.de>
6638 * builtins.c (c_getstr): Remove unused variable.
6640 2001-09-21 Richard Henderson <rth@redhat.com>
6642 * reload1.c (reload): Use delete_insn instead of splatting
6645 2001-09-21 Richard Henderson <rth@redhat.com>
6647 * reload.c (push_secondary_reload): Don't check for "=" in output
6648 constraint after ""->ALL_REGS check.
6650 2001-09-21 Richard Henderson <rth@redhat.com>
6652 * predict.c (expected_value_to_br_prob): Use pc_set.
6654 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
6655 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
6657 2001-09-21 Richard Henderson <rth@redhat.com>
6659 * rtl.h (LCT_RETURNS_TWICE): New.
6660 * calls.c (emit_call_1): Set current_function_calls_setjmp for
6662 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
6663 to ECF_RETURNS_TWICE.
6664 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
6667 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
6669 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
6670 (JMP_BUF_SIZE): New.
6672 2001-09-21 Richard Henderson <rth@redhat.com>
6674 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
6677 2001-09-21 Richard Henderson <rth@redhat.com>
6679 * tree.def (FDESC_EXPR): New.
6680 * expr.c (expand_expr): Handle it.
6681 * varasm.c (initializer_constant_valid_p): Likewise.
6682 (output_constant): Likewise.
6683 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
6684 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
6685 (ASM_OUTPUT_FDESC): New.
6686 * doc/tm.texi: Document the new macros.
6688 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
6690 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
6691 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
6692 once merging is complete.
6694 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6696 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
6698 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
6700 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
6701 that would be invalid after a merge.
6703 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
6705 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
6706 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
6708 (flow_delete_insn): This one.
6709 (delete_insn_chain): Rename from ...; do not care labels.
6710 (flow_delete_insn_chain): ... this one.
6711 (flow_delete_block): Remove the insns one BB has been expunged.
6712 (merge_blocks_nomove): Likewise.
6713 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
6714 updating BB boundaries.
6715 (tidy_fallthru_edge): Likewise.
6716 (commit_one_edge_insertion): Likewise.
6717 * cfgbuild.c (find_basic_block): Likewise.
6718 (find_basic_blocks_1): Likewise.
6719 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
6720 (try_crossjump_to_edge): Likewise.
6721 (try_optimize_cfg): Likewise.
6722 * cse.c (delete_trivially_dead_insns): Likewise.
6723 * df.c (df_insn_delete): Likewise.
6724 * doloop.c (doloop_modify): Use delete_related_insns.
6725 * emit-rtl.c (try_split): Likewise.
6726 (remove_insn): Update BB boundaries.
6727 * expect.c (connect_post_landing_pads): Use delete_related_insns.
6728 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
6729 updating BB boundaries.
6730 (propagate_block_delete_insn): Likewise.
6731 (propagate_block_delete_libcall): Likewise.
6732 * function.c (delete_handlers): Use delete_related_insns.
6733 (thread_prologue_and_epilogue_insns): Likewise.
6734 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
6735 * genpeep.c (gen_peephole): Use delete_related_insns.
6736 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
6738 (find_cond_trap): Likewise.
6739 * integrate.c (save_for_inline): Use delete_related_insns.
6740 (copy_insn_list): Likewise.
6741 * jump.c (pruge_linie_number_notes): Likewise.
6742 (duplicate_loop_exit_test): Likewise.
6743 (delete_computation): Likewise.
6744 (delete_related_insn): Rename from ...; use delete_insn
6745 (delete_insn): ... this one.
6746 (redirect_jump): Use delete_related_insns.
6747 * loop.c (scan_loop): Likewise.
6748 (move_movables): Likewise.
6749 (find_and_verify_loops): Likewise.
6750 (check_dbra_loop): Likewise.
6751 * recog.c (peephole2_optimize): Likewise.
6752 * reg-stack.c (delete_insn_for_stacker): Remove.
6753 (move_for_stack_reg): Use delete_insn.
6754 * regmove.c (combine_stack_adjustments_for_block): Likewise.
6755 * reload1.c (delete_address_reloads): Use delete_related_insns.
6756 (fixup_abnormal_edges): Use delete_insn.
6757 * recog.c (emit_delay_sequence): Use delete_related_insns.
6758 (delete_from-delay_slot): Likewise.
6759 (delete_scheduled_jump): likewise.
6760 (optimize_skip): Likewise.
6761 (try_merge_delay_insns): Likewise.
6762 (full_simple_delay_slots): Likewise.
6763 (fill_slots_from_thread): Likewise.
6764 (relax_delay_slots): Likewise.
6765 (make_return_insns): Likewise.
6766 (dbr_schedule): Likewise.
6767 * rtl.h (delete_insn): Rename to delete_related_insns.
6768 (delete_insn, delete_insn_chain): New prototypes.
6769 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
6770 by df_insn_delete already.
6771 * ssa-dce.c (delete_insn_bb): Use delete_insn.
6772 * ssa.c (convert_from_ssa): Use delete_related_insns.
6773 * unroll.c (unroll_loop): Likewise.
6774 (calculate_giv_inc): Likewise.
6775 (copy_loop_body): Likewise.
6777 * i386-protos.h (ix86_libcall_value, ix86_function_value,
6778 ix86_function_arg_regno_p, ix86_function_arg_boundary,
6779 ix86_return_in_memory, ix86_function_value): Declare.
6780 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
6781 new static valurables.
6782 (x86_64_reg_class): New enum
6783 (x86_64_reg_class_name): New array.
6784 (classify_argument, examine_argument, construct_container,
6785 merge_classes): New static functions.
6786 (optimization_options): Enable flag_omit_frame_pointer and disable
6787 flag_pcc_struct_return on 64bit.
6788 (ix86_libcall_value, ix86_function_value,
6789 ix86_function_arg_regno_p, ix86_function_arg_boundary,
6790 ix86_return_in_memory, ix86_function_value): New global functions.
6791 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
6792 (function_arg_advance): Handle x86_64 passing conventions.
6793 (function_arg): Likewise.
6794 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
6795 (RETURN_IN_MEMORY): Move offline.
6796 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
6797 (FUNCTION_VALUE_REGNO_P): New macro.
6798 (FUNCTION_ARG_REGNO_P): Move offline.
6799 (struct ix86_args): Add maybe_vaarg.
6800 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
6801 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
6803 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
6805 * s390.md: Changed attributes for scheduling.
6806 * s390.c: (s390_adjust_cost, s390_adjust_priority)
6809 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
6811 Table-driven attributes.
6812 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
6813 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
6814 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
6815 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
6816 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
6817 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
6818 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
6819 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
6820 * tree.h (struct tree_decl): Change machine_attributes to
6822 * doc/c-tree.texi: Document that all attributes are now attached
6824 * c-common.c (add_attribute, attrtab, attrtab_idx,
6825 default_valid_lang_attribute, valid_lang_attribute): Remove.
6826 (attribute_tables, attributes_initialized,
6827 c_common_attribute_table, default_lang_attribute_table): New
6829 (handle_packed_attribute, handle_nocommon_attribute,
6830 handle_common_attribute, handle_noreturn_attribute,
6831 handle_unused_attribute, handle_const_attribute,
6832 handle_transparent_union_attribute, handle_constructor_attribute,
6833 handle_destructor_attribute, handle_mode_attribute,
6834 handle_section_attribute, handle_aligned_attribute,
6835 handle_weak_attribute, handle_alias_attribute,
6836 handle_no_instrument_function_attribute,
6837 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
6838 handle_no_limit_stack_attribute, handle_pure_attribute): New
6840 (init_attributes, decl_attributes): Rewrite to implement
6841 table-driven attributes.
6842 * c-common.h (enum attribute_flags): Move to tree.h.
6843 * c-format.c (decl_handle_format_attribute,
6844 decl_handle_format_arg_attribute): Rename to
6845 handle_format_attribute and handle_format_arg_attribute. Update
6846 for table-driven attributes.
6847 * c-common.h (decl_handle_format_attribute,
6848 decl_handle_format_arg_attribute): Remove prototypes.
6849 (handle_format_attribute, handle_format_arg_attribute): Add
6851 * c-decl.c (grokdeclarator): Handle attributes nested inside
6853 * c-parse.in (setattrs, maybe_setattrs): Remove.
6854 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
6855 Update to handle nested attributes properly.
6856 (maybe_resetattrs, after_type_declarator,
6857 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
6858 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
6860 (make_pointer_declarator): Update to handle nested attributes
6862 * doc/extend.texi: Update documentation of limits of attributes
6863 syntax. Warn about problems with attribute semantics in C++.
6864 * target.h (struct target): Remove valid_decl_attribute and
6865 valid_type_attribute. Add attribute_table and
6866 function_attribute_inlinable_p.
6867 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
6868 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
6869 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
6871 (TARGET_INITIALIZER): Update.
6872 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
6874 (function_attribute_inlinable_p): New function. Check for the
6875 presence of any machine attributes before using
6876 targetm.function_attribute_inlinable_p.
6877 (function_cannot_inline_p): Update.
6878 * Makefile.in (integrate.o): Update dependencies.
6879 * doc/tm.texi: Update documentation of target attributes and
6880 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
6881 * tree.c (default_valid_attribute_p, valid_machine_attribute):
6883 (default_target_attribute_table,
6884 default_function_attribute_inlinable_p): New.
6885 (lookup_attribute): Update comment to clarify handling of multiple
6886 attributes with the same name.
6887 (merge_attributes, attribute_list_contained): Allow multiple
6888 attributes with the same name but different arguments to appear in
6889 the same attribute list.
6890 * tree.h (default_valid_attribute_p): Remove prototype.
6891 (struct attribute_spec): New.
6892 (default_target_attribute_table): Declare.
6893 (enum attribute_flags): Move from c-common.h. Add
6894 ATTR_FLAG_TYPE_IN_PLACE.
6895 (default_function_attribute_inlinable_p): Declare.
6896 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
6897 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6898 (TARGET_ATTRIBUTE_TABLE): Define.
6899 (vms_attribute_table): New.
6900 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
6901 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6902 (TARGET_ATTRIBUTE_TABLE): Define.
6903 (arc_attribute_table, arc_handle_interrupt_attribute): New.
6904 * config/arm/arm.c (arm_valid_type_attribute_p,
6905 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
6907 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
6909 (TARGET_ATTRIBUTE_TABLE): Define.
6910 (arm_attribute_table, arm_handle_fndecl_attribute,
6911 arm_handle_isr_attribute): New.
6912 * config/avr/avr.c (avr_valid_type_attribute,
6913 avr_valid_decl_attribute): Remove.
6914 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
6916 (TARGET_ATTRIBUTE_TABLE): Define.
6917 (avr_attribute_table, avr_handle_progmem_attribute,
6918 avr_handle_fndecl_attribute): New.
6919 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
6920 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6921 (TARGET_ATTRIBUTE_TABLE): Define.
6922 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
6923 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
6924 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6925 (TARGET_ATTRIBUTE_TABLE): Define.
6926 (h8300_attribute_table, h8300_handle_fndecl_attribute,
6927 h8300_handle_eightbit_data_attribute,
6928 h8300_handle_tiny_data_attribute): New.
6929 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
6930 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
6932 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
6934 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
6935 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
6937 (TARGET_ATTRIBUTE_TABLE): Define.
6938 (ix86_attribute_table, ix86_handle_cdecl_attribute,
6939 ix86_handle_regparm_attribute): New.
6940 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
6941 i386_pe_valid_type_attribute_p): Remove.
6942 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
6943 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
6944 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6945 (TARGET_ATTRIBUTE_TABLE): Define.
6946 (ia64_attribute_table): New.
6947 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
6948 interrupt_ident2, model_ident1, model_ident2): Remove.
6949 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6950 (TARGET_ATTRIBUTE_TABLE): Define.
6951 (init_idents): Update.
6952 (m32r_attribute_table, m32r_handle_model_attribute): New.
6953 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
6955 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6956 (TARGET_ATTRIBUTE_TABLE): Define.
6957 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
6958 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
6959 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6960 (TARGET_ATTRIBUTE_TABLE): Define.
6961 (mcore_attribute_table, mcore_handle_naked_attribute): New.
6962 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
6963 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6964 (TARGET_ATTRIBUTE_TABLE): Define.
6965 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
6966 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
6967 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6968 (TARGET_ATTRIBUTE_TABLE): Define.
6969 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
6970 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
6971 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6972 (TARGET_ATTRIBUTE_TABLE): Define.
6973 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
6974 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
6976 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
6978 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
6979 (TARGET_ATTRIBUTE_TABLE): Define.
6980 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
6982 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
6983 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6984 (TARGET_ATTRIBUTE_TABLE): Define.
6985 (v850_attribute_table, v850_handle_interrupt_attribute,
6986 v850_handle_data_area_attribute): New.
6987 * config/v850/v850-c.c (mark_current_function_as_interrupt):
6988 Return void. Call decl_attributes instead of
6989 valid_machine_attribute.
6991 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
6993 * sh-protos.h (sh_pr_n_sets): Declare.
6994 * sh.c (calc_live_regs): If the initial value for PR has been copied,
6995 look at the copy to determine if PR needs to be saved.
6996 sh_pr_n_sets: New function.
6997 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
6998 (ALLOCATE_INITIAL_VALUE): Define.
7000 * sh.c (initial_elimination_offset):
7001 Fix RETURN_ADDRESS_POINTER_REGNUM case.
7003 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
7005 * integrate.c (allocate_initial_values): New function.
7006 * integrate.h (allocate_initial_values): Declare.
7007 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
7009 * reload1.c (reload): And initialization of reg_equiv_memory_loc
7011 * toplev.c (rest_of_compilation): To here.
7012 Call allocate_initial_values.
7013 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
7015 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7017 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
7019 2001-09-20 DJ Delorie <dj@redhat.com>
7021 * c-typeck.c (really_start_incremental_init): Discriminate
7022 between zero-length arrays and flexible arrays.
7023 (push_init_level): Detect zero-length arrays and handle them
7024 like fixed-sized arrays.
7025 * expr.c (store_constructor): Handle zero-length arrays and
7026 flexible arrays correctly.
7027 * doc/extend.texi: Update zero-length array notes.
7029 2001-09-20 Jim Wilson <wilson@redhat.com>
7031 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
7032 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
7033 for issue port conflicts.
7034 (cycle_end_fill_slots): TYPE_L instructions take two slots.
7036 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
7038 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
7041 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7043 * fold-const.c (hashtab.h): Include.
7044 (int_const_binop): Remove FORSIZE arg and compute from type; all
7046 Call size_int_type_wide for all single-word constants.
7047 (size_htab_hash, size_htab_eq): New functions.
7048 (size_int_type_wide): Rework to use hash table.
7049 * ggc-common.c (hashtab.h): Include.
7050 (struct d_htab_root): New struct.
7051 (d_htab_roots): New variable.
7052 (ggc_add_deletable_htab, ggc_htab_delete): New functions
7053 (ggc_mark_roots): Handle deletable htabs.
7054 * ggc-page.c (ggc_marked_p): New function.
7055 * ggc-simple.c (ggc_marked_p): Likewise.
7056 * ggc.h: Reformatting throughout.
7057 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
7058 * tree.c (init_obstacks): Make type_hash_table a deletable root.
7059 (type_hash_add): Allocate struct type_hash from GC memory.
7060 (mark_hash_entry, mark_type_hash): Deleted.
7061 (type_hash_marked_p, type_hash_mark): New functions.
7062 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
7064 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
7066 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
7069 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7071 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
7072 array-too-large test for signed sizetype.
7074 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
7076 * i386.md (indirect_jump): Allow Pmode operand.
7077 (tablejump): LIkewise; perform expansion to 64bit mode.
7078 * i386.c (symbolic_operand): Allow 64bit PIC references.
7079 (pic_symbolic_operand): Likewise.
7080 (ix86_find_base_term): Strip the 64bit PIC references.
7081 (legitimate_pic_address_disp_p): Handle 64bit PIC.
7082 (legitimize_pic_address): Likewise.
7083 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
7084 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
7086 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
7088 * stringpool.c (get_identifier_with_length): New function.
7089 * tree.h (get_identifier_with_length): New prototype.
7091 2001-09-19 Alan Modra <amodra@bigpond.net.au>
7092 David Edelsohn <edelsohn@gnu.org>
7095 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
7096 already sign-extended.
7098 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
7099 * config/rs6000/rs6000.c (logical_operand): Always compare op as
7101 (rs6000_emit_set_long_const): Avoid unnecessary shift.
7102 (output_profile_hook): Declare label_name const.
7103 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
7104 to match constraints.
7106 2001-09-19 Stan Shebs <shebs@apple.com>
7108 * alias.c: Fix typos in comments.
7109 * sched-rgn.c (init_ready_list): Ditto.
7110 * unwind-dw2.c (uw_frame_state_for): Ditto.
7111 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
7112 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
7113 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
7115 2001-09-19 Richard Henderson <rth@redhat.com>
7117 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
7119 * Makefile.in (cfg.o): Depend on TM_P_H.
7121 2001-09-19 Richard Henderson <rth@redhat.com>
7123 * config/alpha/alpha.c (local_symbol_p): Split out from ...
7124 (local_symbolic_operand): ... here.
7125 (small_symbolic_operand): Check mode.
7126 (global_symbolic_operand): New.
7127 (input_operand): Reject symbolics if explicit relocs.
7128 (call_operand): Tidy.
7129 (alpha_legitimize_address): Use movdi_er_high_g.
7130 (alpha_expand_mov): Likewise.
7131 * config/alpha/alpha-protos.h: Update.
7132 * config/alpha/alpha.h (PREDICATE_CODES): Update.
7133 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
7134 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
7135 (UNSPECV_LDGP2): Remove.
7136 (all call patterns): Use 's' not 'i' for symbolic constraint.
7137 (call_osf call_value_osf): Use call_operand.
7138 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
7139 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
7140 (prologue_ldgp_1_er): Remove.
7141 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
7142 (builtin_setjmp_receiver_er patterns): Use them.
7143 (exception_receiver_er): Likewise.
7145 2001-09-19 Richard Henderson <rth@redhat.com>
7147 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
7149 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
7150 and NON_LOCAL_GOTO notes.
7151 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
7152 copy over CALL_INSN_FUNCTION_USAGE.
7154 2001-09-18 Catherine Moore <clm@redhat.com>
7156 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
7159 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
7161 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
7162 new-style tm_file specification. Specify correct tm_p_file,
7163 md_file, and out_file for s390x.
7165 * config/s390/linux.h, linux64.h: Don't include other target
7166 macro header files. Now handled via tm_file.
7168 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
7169 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
7170 are defined before use.
7172 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
7174 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
7175 code generation only for Gnu assembler.
7177 2001-09-18 Catherine Moore <clm@redhat.com>
7179 * config/stormy16 (LIB_SPEC): Remove -lnosys.
7181 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
7183 * config/mips/mips.c (mips_frame_set): New.
7184 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
7185 a parallel frame-related expression with a set for each register.
7187 2001-09-18 Philip Blundell <philb@gnu.org>
7189 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
7192 2001-09-17 Dale Johannesen <dalej@apple.com>
7194 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
7195 * config/rs6000/aix.h (FIXED_R2): Define.
7196 * config/rs6000/darwin.h (FIXED_R2): Define.
7197 * config/rs6000/sysv4.h (FIXED_R2): Define.
7199 2001-09-17 Jeff Sturm <jsturm@one-point.com>
7201 * except.c (dw2_build_landing_pads): New local
7202 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
7203 barrier after clobbers. Fixes c++/4012.
7205 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7207 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
7209 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
7211 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
7212 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
7214 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7216 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
7219 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
7221 * cpphash.h (_cpp_lex_direct): New.
7222 * cpplex.c (_cpp_lex_token): Update.
7223 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
7224 and increment that pointer.
7225 * cppmacro.c (alloc_expansion_token): New.
7226 (lex_expansion_token): Lex macro expansion directly into
7229 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
7231 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
7233 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
7235 * basic-block.h (free_bb_for_insn): Declare.
7236 * bb-reorder.c (label_for_bb): Use block_label.
7237 (emit_jump_to_block_after): Remove.
7238 (insert_intra_1): Do not update block_for_insn.
7239 (insert_inter_bb_scope_notes): Likewise; update bb->end
7240 * cfg.c (free_bb_for_insn): New.
7241 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
7242 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
7243 (commit_one_edge_insertion): Likewise.
7244 (commit_one_edge_insertion): Do not update BB boundary.
7245 (commit_edge_insertions): Do not call compute_bb_for_insn.
7246 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
7247 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
7248 (merge_blocks_move_successor_nojumps): Likewise.
7249 (try_crossjump_to_edge): Do not update block_for_insn.
7250 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
7251 * df.c (df_pattern_emit_later): Do not update BB boundary.
7252 (df_jump_pattern_emit_after): Likewise.
7253 (df_insn_move_before): Use emit_insn_before.
7254 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
7256 (add_insn_after, add_insn_before, emit_insns_after): Update BB
7257 boundaries and basic_block_for_insn.
7258 (reorder_insns_nobb): Rename from reorder_insns.
7259 (reorder_insns): New.
7260 (emit_block_insn_before, emit_block_insn_after): Kill.
7261 * flow.c (check_function_return_warnings): Do not call
7262 compute_bb_for_insn; Do not free basic_block_for_insn.
7263 (attempt_auto_inc): Do not update basic_block_for_insn.
7264 * function.c (emit_return_into_block): Likewise;
7265 do not update BB boundaries.
7266 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
7267 (insert_insn_end_bb): Use emit_insn_before; Likewise.
7268 (pre_insert_copy_insn): Likewise.
7269 (update_ld_motion_notes): Likewise.
7270 (insert_insn_start_bb): Likewise.
7271 (replace_store_insn): Likewise.
7272 * ifcvt.c (noce_process_if_block): Likewise.
7273 (if_convert): Do not call compute_bb_for_insn.
7274 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
7275 Use emit_insn_before and emit_insn_after.
7276 * recog.c (split_all_insns): Do not update BB boundaries;
7277 Do not call compute_bb_for_insn.
7278 (peephole2_optimize): Do not update BB boundaries.
7279 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
7281 (emit_swap_insn): Likewise.
7282 (convert_regs_1): Likewise.
7283 * reload1.c (reload): Call compute_bb_for_insn.
7284 * rtl.h (reorder_insns_nobb): Declare.
7285 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
7286 * toplev.c (rest_of_compilation): Call free_bb_for_insn
7287 at places CFG is invalidated; do not call compute_bb_for_insn.
7289 * cfg.c (expunge_block): Invalidate BB structure.
7291 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
7294 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
7296 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
7298 * cpphash.h (_cpp_lex_token): Update prototype.
7299 * cpplex.c (_cpp_lex_token): New prototype.
7300 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
7301 lex_macro_node, read_flag, do_pragma_poison): Update.
7302 * cppmacro.c (cpp_get_token, parse_params,
7303 lex_expansion_token): Update.
7305 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
7307 * cppmain.c (scan_translation_unit): Don't worry about
7308 putting a space after hashes.
7309 * cpplib.c (directive_diagnostics): New.
7310 (_cpp_handle_directive): Update to use directive_diagnostics.
7311 (run_directive): Don't toggle prevent_expansion.
7312 (do_line): Backup in case of the line extension.
7313 * cpplib.h (cpp_lexer_pos): Remove.
7314 * cppmacro.c (_cpp_create_definition): Precede a leading #
7317 2001-09-15 Richard Henderson <rth@redhat.com>
7319 * c-typeck.c (comptypes): Handle zero-length arrays properly.
7321 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7323 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
7325 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7327 PR preprocessor/3571
7328 * tradcpp.c (handle_directive): Skip non-vertical space.
7330 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7332 * cppmain.c (setup_callbacks): Set line callback only
7333 if outputting preprocessed source.
7335 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7337 * collect2.c (main): Const-ification.
7338 * gcc.c (translate_options, process_command): Use xstrdup in
7339 lieu of xmalloc/strcpy.
7340 (main): Use concat in lieu of xmalloc/strcpy/strcat.
7342 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7344 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
7347 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7349 * scan-decls.c (scan_decls): Fix typo.
7351 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
7353 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
7354 Split mlstring_pos into mls_line and mls_col.
7355 * cppinit.c (cpp_create_reader): Initialize line to 1.
7356 (cpp_destroy): Free tokenruns.
7357 (push_include): Don't update lexer_pos.
7358 * cpplex.c (unterminated, parse_string): Update.
7359 (lex_token): Don't update lexer_pos, update.
7360 * cpplib.c (if_stack): Save line instead of line + col.
7361 (start_directive, _cpp_do__Pragma, do_else, do_elif,
7362 push_conditional, _cpp_pop_buffer): Update.
7363 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
7364 (_cpp_create_definition): Update.
7366 2001-09-15 Eric Christopher <echristo@redhat.com>
7368 * config/mips/abi64.h: Add support for MEABI.
7370 2001-09-15 Eric Christopher <echristo@redhat.com>
7372 * config/mips/mips.md: Add unspec #2.
7374 (reload_outdi): Ditto.
7375 (reload_outsi): Ditto.
7378 2001-09-15 Eric Christopher <echristo@redhat.com>
7379 Jason Eckhardt <jle@redhat.com>
7381 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
7382 * config/mips/isa32-linux.h: New file.
7383 * config/mips/isa3264.h: Ditto.
7384 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
7385 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
7386 (output_block_mode): Support MEABI.
7387 (function_arg): Ditto. Fix floating point arg passing.
7388 (mips_va_start): Ditto.
7389 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
7391 (mips_asm_file_start): Add new section to pass abi to gdb.
7392 (function_arg_pass_by_reference): Support MEABI.
7393 (mips_parse_cpu): Support mips32 and mips64 processors.
7394 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
7395 TARGET_MIPS5KC. Support isa32 and isa64.
7396 (processor_type): Add r4kc, r5kc, r20kc.
7397 (GENERATE_MULT3_SI): New.
7398 (GENERATE_MULT3_DI): Ditto.
7399 (GENERATE_MULT3): Remove.
7400 (ISA_HAS_64BIT_REGS): Add isa == 64.
7401 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
7402 (ISA_HAS_MADD_MSUB): New.
7403 (ISA_HAS_CLZ_CLO): Ditto.
7404 (ISA_HAS_DCLZ_DCLO): Ditto.
7405 (ABI_GAS_ASM_SPEC): New.
7406 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
7409 (SUBTARGET_CC1_SPEC): Ditto.
7410 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
7411 (PAD_VARARGS_DOWN): Support MEABI.
7412 (HARD_REGNO_NREGS): Move to mips.c.
7413 (ASM_OUTPUT_IDENT): Add #undef.
7414 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
7415 (mulsi3): Use GENERATE_MULT3_SI.
7416 (mulsi3_mult3): Ditto. Support mips32, mips64.
7417 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
7418 (mul_sub_si): New pattern.
7419 (unnamed splitters): New.
7420 (muldi3): Use GENERATE_MULT3_DI.
7421 (muldi3_internal2): Ditto.
7422 (movdicc): Support mips32.
7423 * config/mips/t-isa3264: New file.
7425 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
7427 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
7428 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
7429 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
7431 * reorg.c (fill_slots_from_thread): After call to
7432 steal_delay_list_from_target, update own_thread as new_thread may
7435 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
7437 * cpperror.c (print_location): Take line and column, for
7438 default positioning use the previously lexed token.
7439 (_cpp_begin_message): Take line and column.
7440 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
7441 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
7442 * cpphash.h (_cpp_begin_message): Update prototype.
7443 * cppinit.c (push_include): Don't set output line.
7444 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
7445 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
7446 (do_pragma): Kludge for front ends. Don't expand macros at all.
7447 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
7448 (struct cpp_token): Remove output_line.
7449 (struct cpp_callbacks): New member line_change.
7450 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
7451 cpp_get_token): Preserve BOL flag.
7452 (cpp_get_line): Remove.
7453 (_cpp_backup_tokens): Remove useless abort().
7454 * cppmain.c (cb_line_change): New.
7455 (scan_translation_unit): Don't worry about starting new lines here.
7456 * scan-decls.c (scan_decls): Update.
7457 * c-lex.c (c_lex, init_c_lex): Update.
7458 (cb_line_change, src_lineno): New.
7460 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
7462 * tree.c (append_random_chars): Generate the random
7463 characters in a reproducable fashion.
7465 2001-09-14 Richard Henderson <rth@redhat.com>
7467 * config/i386/i386.c (internal_label_prefix): New.
7468 (internal_label_prefix_len): New.
7469 (override_options): Set them.
7470 (local_symbolic_operand): New.
7471 (legitimate_pic_address_disp_p): Use it.
7472 (legitimize_pic_address): Likewise.
7474 2001-09-14 Marc Espie <espie@openbsd.org>
7476 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
7479 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7481 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
7482 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
7484 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7486 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
7487 invocation of SUBREG_REGNO_OFFSET.
7489 * haifa-sched.c: Fix typo in FSF copyright statement.
7490 * sched-deps.c: Fix typo in FSF copyright statement.
7491 * sched-ebb.c: Fix typo in FSF copyright statement.
7492 * sched-rgn.c: Fix typo in FSF copyright statement.
7493 * sched-vis.c: Fix typo in FSF copyright statement.
7495 * config.gcc: Move inclusion of arm elf specific header files
7496 from the files themselves into the tm_file variable. Make
7497 sure that elfos.h is included before target specific elf
7499 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
7501 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
7502 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
7503 ASM_OUTPUT_CASE_LABEL): Protect definition.
7504 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
7505 not already defined.
7506 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
7507 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
7508 Remove duplicate definition.
7509 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
7510 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
7511 (RDATA_SECTION_FUNCTION): Remove redundant definition.
7512 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
7513 Remove inclusion of arm/elf.h.
7514 * config/arm/unknown-elf.h: as for conix-elf.h.
7515 (STARTFILE_SPEC): Include crti.o and crtn.o.
7516 * config/arm/linux-elf.h: as for conix-elf.h.
7517 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
7518 * config/arm/strongarm-elf.h: Remove inclusion of
7520 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
7521 * config/arm/unknown-elf-oabi.h: Remove inclusion of
7522 unknown-elf.h and elf.h.
7523 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
7524 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
7525 ASM_WEAKEN_LABEL): Remove redundant definition.
7526 * config/arm/elf.h: Test for inclusion of elfos.h
7527 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
7528 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
7529 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
7530 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
7531 redundant definition.
7532 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
7533 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
7534 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
7535 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
7536 Add rules to build crti.o and crtn.o
7537 * crti.asm: New file.
7538 * crtn.asm: New file.
7540 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
7542 * c-parse.in (_yylex): Use _cpp_backup_tokens.
7543 * cpphash.h (struct tokenrun): Add prev.
7544 (struct lexer_state): Remove bol.
7545 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
7546 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
7548 * cppinit.c (cpp_create_reader): Don't set bol.
7549 (cpp_destroy): Don't free lookaheads.
7550 * cpplex.c (lex_directive): Remove.
7551 (next_tokenrun): Update.
7552 (_cpp_lex_token): Clean up logic.
7553 (lex_token): Update to return a pointer to lexed token, since it
7554 can move to the start of the buffer. Simpify newline handling.
7555 * cpplib.c (SEEN_EOL): Update.
7556 (skip_rest_of_line): Remove lookahead stuff.
7557 (end_directive): Line numbers are already incremented. Revert
7558 to start of lexed token buffer if we can.
7559 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
7560 parse_answer): Use _cpp_backup_tokens.
7561 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
7562 instead. Don't check for EOL.
7563 (do_include_common, do_line, do_pragma_system_header): Use
7565 * cpplib.h (BOL, _cpp_backup_tokens): New.
7566 * cppmacro.c (save_lookahead_token, take_lookahead_token,
7567 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
7568 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
7569 (builtin_macro): Don't use cpp_get_line.
7570 (cpp_get_line): Short term kludge.
7571 (parse_arg): Handle directives in arguments here. Back up when
7572 appropriate. Store EOF at end of argument list.
7573 (funlike_invocation_p): Use _cpp_backup_tokens.
7574 (push_arg_context): Account for EOF at end of list.
7575 (cpp_get_token): Remove lookahead stuff. Update.
7577 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7579 * c-parse.in (yyerror): Const-ification and/or static-ization.
7580 * c-typeck.c (push_member_name): Likewise.
7581 * collect2.c (main): Likewise.
7582 * dbxout.c (dbxout_parms): Likewise.
7583 * diagnostic.c (format_with_decl): Likewise.
7584 * dwarf2out.c (output_ranges): Likewise.
7585 * dwarfout.c (fundamental_type_code): Likewise.
7586 * except.c (dw2_output_call_site_table): Likewise.
7587 * gcc.c (do_spec_1): Likewise.
7588 * genopinit.c (optabs): Likewise.
7589 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
7590 gen_declaration_1, handle_impent): Likewise.
7591 * protoize.c (default_include, in_system_include_dir, abspath):
7593 * sched-vis.c (visualize_stall_cycles): Likewise.
7594 * sdbout.c (plain_type_1, sdbout_end_function,
7595 sdbout_end_epilogue): Likewise.
7596 * varasm.c (decode_reg_name): Likewise.
7598 * 1750a.c (mod_regno_adjust): Likewise.
7599 * alpha.c (alpha_write_one_linkage,
7600 unicosmk_output_default_externs): Likewise.
7601 * arm.c (arm_condition_codes): Likewise.
7602 * arm.h (arm_condition_codes): Likewise.
7603 * avr.c (output_movsisf, encode_section_info): Likewise.
7604 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
7606 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
7607 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
7608 * m88k.c (output_function_profiler): Likewise.
7609 * mips.c (mips_output_conditional_branch): Likewise.
7610 * ns32k.c (ns32k_out_reg_names): Likewise.
7611 * ns32k.h (ns32k_out_reg_names): Likewise.
7612 * pj.c (pj_output_rval): Likewise.
7613 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
7614 * sparc.c (sparc_flat_function_prologue,
7615 sparc_flat_function_epilogue): Likewise.
7617 2001-09-13 Markus Werle <numerical.simulation@web.de>
7618 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7620 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
7621 Aachen University of Technology".
7623 2001-09-13 Andreas Schwab <schwab@suse.de>
7625 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
7628 2001-09-13 Richard Henderson <rth@redhat.com>
7630 * config/alpha/alpha.c (small_symbolic_operand): New.
7631 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
7632 (some_operand, input_operand): Don't handle HIGH.
7633 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
7634 (alpha_expand_mov): Likewise.
7635 (print_operand) [H]: Just print HIGH symbol.
7636 (print_operand_address): Handle small data.
7637 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
7638 (TARGET_SWITCHES): Add -msmall-data/large-data.
7639 (PIC_OFFSET_TABLE_REGNUM): New.
7640 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
7641 (PREDICATE_COES): Update.
7642 * config/alpha/alpha.md (adddi_er_high): New.
7643 (adddi_er_low): Handle small data.
7644 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
7645 prefer .sdata to .rodata.
7646 (SELECT_RTX_SECTION): Likewise.
7648 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
7650 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
7651 defining __size_t and leaving size_t undefined.
7653 2001-09-12 Diego Novillo <dnovillo@redhat.com>
7655 * basic-block.h (expunge_block): Declare.
7656 * cfg.c (expunge_block): Remove static declaration.
7658 2001-09-12 Richard Henderson <rth@redhat.com>
7660 * integrate.c (copy_insn_list): Copy label name from
7661 NOTE_INSN_DELETED_LABEL.
7663 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7665 * c-common.c (c_tree_code_name): Const-ification.
7666 * c-decl.c (c_decode_option): Likewise.
7667 * c-typeck.c (warn_for_assignment): Likewise.
7668 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
7670 * cppinit.c (output_deps): Likewise.
7671 * dependence.c (dependence_string, direction_string): Likewise.
7672 * dwarf2out.c (output_ranges): Likewise.
7673 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
7674 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
7675 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
7676 standard_startfile_prefix, standard_startfile_prefix_1,
7677 standard_startfile_prefix_2, tooldir_base_prefix,
7678 standard_bindir_prefix, find_a_file): Likewise.
7679 * genattrtab.c (make_length_attrs): Likewise.
7680 * gencheck.c (tree_codes): Likewise.
7681 * genemit.c (gen_split): Likewise.
7682 * genrecog.c (special_mode_pred_table): Likewise.
7683 * graph.c (graph_ext): Likewise.
7684 * protoize (default_include): Likewise.
7685 * reload.c (reload_when_needed_name): Likewise.
7686 * sched-vis.c (visualize_stall_cycles): Likewise.
7687 * tlink.c (recompile_files): Likewise.
7688 * toplev.c (decode_g_option): Likewise.
7689 * tradcpp.c (output_deps): Likewise.
7690 * varasm.c (decode_reg_name): Likewise.
7692 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
7695 * avr.c (avr_regnames, encode_section_info): Likewise.
7696 * c4x.c (float_reg_names): Likewise.
7697 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
7698 * elfos.h (const_section): Likewise.
7699 * i386.c (ix86_comp_type_attributes): Likewise.
7700 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
7701 * ia64/aix.h (UNIQUE_SECTION): Likewise.
7702 * ia64.c (type_names): Likewise.
7703 * m68hc11.c (reg_class_names): Likewise.
7704 * m88k.c (m_options): Likewise.
7705 * mips.c (mips_output_conditional_branch, mips_unique_section):
7707 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
7708 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
7709 ultra_code_names): Likewise.
7710 * sparc.h (OVERRIDE_OPTIONS): Likewise.
7712 2001-09-12 Jakub Jelinek <jakub@redhat.com>
7714 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
7715 Use --fatal-warnings option for gas.
7716 * configure: Rebuilt.
7718 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7720 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
7722 2001-09-11 Jim Wilson <wilson@redhat.com>
7724 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
7726 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
7728 * builtins.c (c_strlen): Treat an offset too large for a
7729 HOST_WIDE_INT as out of range.
7731 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
7733 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
7734 (EDGE_CRITICAL_P): New predicate.
7735 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
7737 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
7738 (dump_edge_info): Remove "crit".
7739 * cfganal.c (mark_critical_edges): Kill.
7740 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
7741 * cfgcleanup.c (cleanup_cfg): Likewise.
7742 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
7743 (find_spanning_tree): Likewise.
7744 * reg-stack.c (convert_regs_1): Likewise.
7745 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
7747 * basic-block.h (create_basic_block_structure): New.
7748 (create_basic_block): Update prototype.
7749 (force_nonfallthru): New.
7750 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
7751 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
7752 handle updating of block_for_insn, creating of empty BBs and BBs at
7753 the end of INSN chain.
7754 (create_basic_block): New function.
7755 (split_block): Use create_basic_block.
7756 (force_nonfallthru_and_redirect): Break out from ...; cleanup
7757 (redirect_edge_and_branch_force): ... here.
7758 (force_nonfallthru): New.
7759 (split_edge): Rewrite to use force_nonfallthru and create_block.
7760 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
7761 (find_basic_blocks): Free basic_block_for_insn.
7762 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
7764 * cfg.c: Fix formating.
7765 * cfgcleanup.c: Fix formating.
7766 (merge_blocks, tail_recursion_label_p): Return bool.
7767 (merge_blocks_move_predecessor_nojumps,
7768 merge_blocks_move_successor_nojumps): Return void.
7770 2001-09-11 Jakub Jelinek <jakub@redhat.com>
7772 * configure.in: Check whether assembler supports section merging.
7773 * config.in: Rebuilt.
7774 * configure: Rebuilt.
7775 * varasm.c (variable_section, output_constant_pool): Pass alignment
7776 to SELECT_SECTION and SELECT_RTX_SECTION.
7777 (mergeable_string_section): New.
7778 (mergeable_constant_section): New.
7779 (default_elf_asm_named_section): Output SECTION_MERGE and
7780 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
7781 * output.h (mergeable_string_section): New.
7782 (mergeable_constant_section): New.
7783 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
7784 * toplev.c (flag_merge_constants): New.
7785 (f_options): Add -fmerge-constants and -fmerge-all-constants
7787 (toplev_main): Default to -fno-merge-constants if not optimizing.
7788 * flags.h (flag_merge_constants): Add extern.
7789 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
7790 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
7792 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
7793 Define if assembler has working .subsection -1 support.
7794 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
7795 Put constant into special SHF_MERGE sections if the linker should
7796 attempt to merge duplicates.
7797 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
7799 Put constant into special SHF_MERGE sections if the linker should
7800 attempt to merge duplicates.
7801 * config/alpha/elf.h: Likewise.
7802 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
7803 has working .subsection -1 support.
7804 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
7806 * config/svr3.h: Likewise.
7807 * config/darwin.h: Likewise.
7808 * config/arm/aof.h: Likewise.
7809 * config/arm/linux-elf.h: Likewise.
7810 * config/avr/avr.h: Likewise.
7811 * config/c4x/c4x.h: Likewise.
7812 * config/d30v/d30v.h: Likewise.
7813 * config/i386/dgux.h: Likewise.
7814 * config/i386/osfrose.h: Likewise.
7815 * config/i386/sco5.h: Likewise.
7816 * config/i386/svr3gas.h: Likewise.
7817 * config/ia64/aix.h: Likewise.
7818 * config/m32r/m32r.h: Likewise.
7819 * config/m68k/m68k.h: Likewise.
7820 * config/m88k/dgux.h: Likewise.
7821 * config/m88k/m88k.h: Likewise.
7822 * config/mcore/mcore-pe.h: Likewise.
7823 * config/mips/mips.h: Likewise.
7824 * config/pa/pa.h: Likewise.
7825 * config/pa/pa-linux.h: Likewise.
7826 * config/romp/romp.h: Likewise.
7827 * config/rs6000/sysv4.h: Likewise.
7828 * config/rs6000/xcoff.h: Likewise.
7829 * config/s390/linux.h: Likewise.
7830 * config/sparc/sparc.h: Likewise.
7831 * config/sparc/sysv4.h: Likewise.
7832 * config/stormy16/stormy16.h: Likewise.
7833 * config/v850/v850.h: Likewise.
7834 * config/vax/vms.h: Likewise.
7835 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
7836 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
7837 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
7838 default_elf_asm_named_section for SHF_MERGE sections.
7840 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
7842 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
7845 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
7847 * c-common.c (split_specs_attrs): Allow for empty attributes with
7848 empty TREE_PURPOSE. Fixes PR c/4294.
7850 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
7852 * basic-block.h (cached_make_edge, make_single_succ): New.
7853 (make_edge): Remove first parameter.
7854 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
7855 * cfg.c (cached_make_edge): Rename from make_edge; return newly
7856 created edge; use obstack allocation.
7857 (make_edge, make_single_succ_edge): New.
7858 (first_removed_edge): New static variable.
7859 (init_flow): Initialize first_removed_edge and n_edges.
7860 (clear_edges): Use remove_edge.
7861 (flow_delete_block): Likewise.
7862 (remove_edge): Add removed edges to the removed edges list.
7863 (split_block, redirect_edge_and_branch_force, split_edge):
7865 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
7866 (add_noreturn_fake_exit_edges): Likewise.
7867 (connect_infinite_loops_to_exit): Liekwise.
7868 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
7869 Use cached_make_edge.
7870 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
7871 * profile.c (branch_prob): Update make_edge call.
7872 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
7874 2001-09-11 Richard Henderson <rth@redhat.com>
7876 * config/alpha/alpha.c: Tidy formatting.
7877 (local_symbolic_operand): Verify mode.
7878 (alpha_sa_mask): Ignore unicos for eh_return.
7879 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
7880 * config/alpha/alpha.md (umk divsi patterns): Remove.
7881 (extendsfdf2): Remove unicos check.
7882 (tablejump): Merge vms and unicos code; always use direct set
7885 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
7887 * config.gcc (alpha*-*-unicosmk*): New target.
7889 * config/alpha/alpha-protos.h (symbolic_operand,
7890 unicosmk_add_call_info_word, unicosmk_add_extern,
7891 unicosmk_defer_case_vector, unicosmk_unique_section,
7892 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
7893 unicosmk_asm_file_start, unicosmk_asm_file_end,
7894 unicosmk_output_common): Declare.
7896 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
7897 direct_return, function_arg, alpha_va_start, alpha_va_arg,
7898 alpha_does_function_need_gp, alpha_end_function): Support Cray
7900 (alpha_init_machine_status, alpha_mark_machine_status,
7901 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
7902 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
7903 unicosmk_asm_named_section, unicosmk_insert_attributes,
7904 unicosmk_section_type_flags, symbolic_operand,
7905 unicosmk_output_module_name, unicosmk_output_default_externs,
7906 unicosmk_output_dex, unicosmk_output_externs,
7907 unicosmk_output_addr_vec, unicosmk_ssib_name,
7908 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
7909 unicosmk_asm_file_end, unicosmk_output_common,
7910 unicosmk_section_type_flags, unicosmk_unique_section,
7911 unicosmk_add_call_info_word, unicosmk_text_section,
7912 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
7913 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
7914 unicosmk_dex_count, unicosmk_special_name): New.
7915 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
7916 TARGET_ABI_UNICOSMK.
7917 (get_aligned_mem, alpha_expand_unaligned_load,
7918 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
7919 alpha_expand_unaligned_store_words): Support big-endian mode.
7920 (print_operand): Likewise. New format specifier 't'. Use
7921 TARGET_AS_SLASH_BEFORE_SUFFIX.
7922 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
7923 (alpha_pv_save_size): Update with above change.
7924 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
7925 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
7928 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
7929 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
7930 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
7931 (EXTRA_CONSTRAINT): New constraint 'U'.
7932 (PREDICATE_CODES): Add symbolic_operand.
7934 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
7935 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
7936 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
7937 (integer division and modulus patterns): Split in default and
7939 (*divmodsi_internal, *divmoddi_internal): Disable for
7940 TARGET_ABI_UNICOSMK.
7941 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
7942 little-endian and big-endian versions.
7943 (ext, ins, msk): Likewise.
7944 (extv, extzv, insv): Support big-endian mode.
7945 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
7946 (call_umk, call_value_umk, *call_umk, tablejump_umk,
7947 *tablejump_umk_internal, *call_value_umk): New.
7948 (*movdi_nofix): Add pattern for loading an address into a register on
7949 TARGET_ABI_UNICOSMK.
7950 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
7951 (umk_mismatch_args, arg_home_umk): New.
7952 (various insns): Don't use mov, fmov, nop, fnop and unop.
7953 (realign): Support TARGET_ABI_UNICOSMK.
7955 * config/alpha/unicosmk.h: New file.
7956 * config/alpha/t-unicosmk: New file.
7958 * fixinc/inclhack.def (unicosmk_restrict): New.
7959 * fixinc/fixincl.x: Regenerate.
7961 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
7962 (wchar_t): Check for and define __WCHAR_T__.
7964 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
7966 * combine.c (simplify_shift_const): Treat shifts by the mode
7969 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
7971 * cpphash.h (struct tokenrun): New.
7972 (struct cpp_context): New member bol.
7973 (struct cpp_reader): New members.
7974 (_cpp_init_tokenrun): New.
7975 * cppinit.c (cpp_create_reader): Set up the token runs.
7976 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
7977 (lex_token): New internalised version of _cpp_lex_token. Don't
7978 handle directives or the multiple include optimization here any
7979 more. Simply lex a token.
7980 * cpplib.c (run_directive): Clear bol.
7981 (_cpp_pop_buffer): Set bol.
7982 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
7985 2001-09-11 Michael Meissner <meissner@redhat.com>
7987 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
7988 give an error if the user uses -mfp32.
7989 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
7991 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
7992 floating point register size.
7993 (EXTRA_SPECS): Add CPP_FPR_SPEC.
7995 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
7996 HOST_WIDE_INT_PRINT_DEC to properly print the result of
7998 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
7999 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
8001 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
8003 * dbxout.c (dbxout_parms): Fix typo in comment.
8004 * unroll.c (loop_find_equiv_value): Ditto.
8005 * toplev.c (rest_of_compilation): Ditto.
8006 * loop.c (scan_loop): Ditto.
8007 * dwarf2out.c (struct dw_fde_struct): Ditto.
8009 2001-09-10 Zack Weinberg <zackw@panix.com>
8011 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
8012 copying identifier when we're just going to throw it away.
8013 (parse_identifier_slow): New routine to handle abnormal cases.
8014 (_cpp_lex_token): Update call site.
8016 * hashtable.c (ht_lookup): Don't assume that the string we've
8017 been given is NUL-terminated.
8018 * system.h: #define __builtin_expect(a, b) to (a) if not
8021 2001-09-10 Michael Meissner <meissner@redhat.com>
8023 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
8026 2001-09-10 David Edelsohn <edelsohn@gnu.org>
8028 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
8030 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8032 * builtins.c (c_getstr): Correct thinko in last change and further
8035 2001-09-10 Tim Freeman <tim@fungibole.com>
8037 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
8038 into varray's and register them as roots with the garbage
8039 collector so they are not collected too soon.
8041 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
8043 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
8045 * basic-block.h (flow_obstack, label_value_list,
8046 tail_recursion_label_list): Declare
8047 (tidy_fallthru_edges): Declare.
8048 (expunge_block, last_loop_beg_note): Delete.
8049 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
8051 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
8052 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
8053 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
8054 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
8055 expunge_block, flow_delete_block, compute_bb_for_insn,
8056 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
8057 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
8058 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
8059 try_redirect_by_replacing_jump, last_loop_beg_note,
8060 redirect_edge_and_branch, redirect_edge_and_branch_force,
8061 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
8062 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
8063 commit_edge_insertions, dump_flow_info, debug_flow_info,
8064 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
8065 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
8066 Move here from flow.c
8067 * cfganal.c: New file.
8068 (forwarder_block_p, can_fallthru, mark_critical_edges,
8069 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
8070 find_unreachable_blocks, create_edge_list, free_edge_list,
8071 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
8072 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
8073 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
8074 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
8075 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
8076 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
8077 Move here from flow.c
8078 * cfgbuild.c: New file
8079 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
8080 make_edges, find_basic_blocks_1, find_basic_blocks,
8081 find_sub_basic_blocks): Move here from flow.c
8082 * cfgcleanup.c: New file.
8083 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
8084 merge_blocks_move_predecessor_nojumps,
8085 merge_blocks_move_successor_nojumps, merge_blocks,
8086 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
8087 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
8088 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
8090 * cfgloop.c: New file
8091 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
8092 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
8093 flow_loop_exit_edges_find, flow_loop_nodes_find,
8094 flow_loop_pre_header_scan, flow_loop_pre_header_find,
8095 flow_loop_tree_node_add, flow_loops_tree_build,
8096 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
8097 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
8098 Move here from flow.c
8099 * flow.c: Remove everything moved elsewhere
8100 * output.h (cleanup_cfg): Return bool.
8102 * bb-reorder.c (reorder_block_def): Remove 'index'.
8103 (insert_intra_1): Add argument BB, set block for new note.
8104 (make_reorder_chain): Do not depdent on BB indexes.
8105 (make_reorder_chain_1): Do not use BB indexes.
8106 (label_for_bb): Likewise; set BB for new insn.
8107 (emit_jump_to_block_after): Likewise.
8108 (fixup_reorder_chain): Sanity check that all basic blocks
8109 are chained; verify newly created insn chain; remove
8110 undocnitional jump simplifying; Do not use BB indexes;
8111 properly initialize count and frequency information;
8112 dump reordered sequence.
8113 (insert_intra_bb_scope_notes): update call of insert_intra_1.
8114 (insert_inter_bb_scope_notes): Set block for new insn.
8115 (reorder_basic_blocks): Dump flow info before reoredering.
8117 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8119 * alias.c (clear_reg_alias_info): Use K&R format definition.
8120 Avoid unsigned warning.
8121 * builtins.c: Use "unsigned int", not "unsigned".
8122 (target_char_cast): Use host_integerp and tree_low_cst.
8123 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
8124 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
8125 (c_getstr): Likewise.
8126 (std_expand_builtin_va_arg): Use int_size_in_bytes.
8127 (builtin_memcpy_read_str): Avoid unsigned warning.
8128 (expand_builtin_memcpy): Alignments are unsigned.
8129 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
8130 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
8131 * predict.c (expensive_function_p): LIMIT now unsigned.
8132 * resource.c (mark_target_live_regs): Make some vars unsigned.
8133 * sdbout.c: Use "unsigned int", not "unsigned".
8134 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
8135 (sdbout_source_line): Likewise.
8136 (sdbout_record_type_name): Remove "const" for NAME declaration.
8137 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
8139 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
8141 * calls.c (store_one_arg): Expand comment.
8143 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8145 * calls.c (store_one_arg): Make sure that the entire argument is
8146 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
8148 2001-09-09 Richard Henderson <rth@redhat.com>
8150 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
8152 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
8154 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
8156 2001-09-09 Richard Henderson <rth@redhat.com>
8158 * config/alpha/alpha.c (alpha_next_sequence_number): New.
8159 (alpha_this_literal_sequence_number): New.
8160 (alpha_this_gpdisp_sequence_number): New.
8161 (some_operand, input_operand): Add HIGH.
8162 (local_symbolic_operand): New.
8163 (alpha_encode_section_info): New.
8164 (alpha_legitimate_address_p): Allow LO_SUM.
8165 (alpha_legitimize_address): Generate HIGH+LO_SUM.
8166 (alpha_expand_mov): Likewise.
8167 (secondary_reload_class): Check memory_operand not general_operand
8169 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
8170 (alpha_expand_unaligned_store): Likewise.
8171 (alpha_expand_unaligned_load_words): Likewise.
8172 (alpha_expand_unaligned_store_words): Likewise.
8173 (alpha_expand_block_clear): Likewise.
8174 (print_operand): Handle %#, %*, %H.
8175 (print_operand_address): Handle LO_SUM.
8177 (alpha_does_function_need_gp): Use it.
8178 (alpha_expand_block_move): Fix signed compare warnings.
8179 (alpha_sa_mask, alpha_align_insns): Likewise.
8180 * config/alpha/alpha-protos.h: Update.
8181 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
8182 (MASK_EXPLICIT_RELOCS): New.
8183 (TARGET_SWITCHES): Add -mexplicit-relocs.
8184 (EXTRA_CONSTRAINT): Add 'T'.
8185 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
8186 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
8187 (ENCODE_SECTION_INFO): Out line.
8188 (REDO_SECTION_INFO_P): New.
8189 (STRIP_NAME_ENCODING): New.
8190 (ASM_OUTPUT_LABELREF): New.
8191 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
8192 (PREDICATE_CODES): Update.
8193 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
8194 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
8195 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
8196 builtin_setjmp_receiver_er, exception_receiver_1_er,
8197 call_value_osf_1_er): New patterns.
8198 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
8199 (movqi, movhi, movsi): Add explicit $31 base register to lda.
8200 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
8201 (FINAL_PRESCAN_INSN): New.
8203 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
8205 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
8207 2001-09-08 Andreas Jaeger <aj@suse.de>
8209 * i386.h (TARGET_SWITCHES): Fix description.
8211 2001-09-07 David Edelsohn <edelsohn@gnu.org>
8213 * rs6000.c (num_insns_constant): Compute number of instructions
8216 * doc/install.texi: Explain AIX exception handling work-around.
8217 Update URL for AIX fixes.
8219 2001-09-07 Jim Wilson <wilson@redhat.com>
8221 * alias.c (clear_reg_alias_info): New.
8222 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
8223 * rtl.h (clear_reg_alias_info): Declare.
8225 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8227 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
8229 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
8230 (m16m,edivm,emulm): Change declaration to match definition.
8232 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8234 * reload.c (push_reload): Check for subreg_lowpart_p instead of
8235 SUBREG_BYTE being 0 when determining if the inner part of a subreg
8238 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8240 * c-common.c (signed_or_unsigned_type): Handle machine mode types
8241 which have no corresponding C type.
8242 * fold_const.c (target_isinf,target_isnan,target_negative): Update
8243 the representation of 64-bit doubles to work with 64-bit ints.
8245 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
8247 * config/mips/mips.c (override_options): Do not override ISA when ABI
8248 specified if MIPS_CPU_STRING_DEFAULT was specified.
8250 2001-09-07 Richard Henderson <rth@redhat.com>
8252 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
8253 (express_from_1): Wrap lines.
8254 * rtlanal.c (commutative_operand_precedence): Rename from
8255 operand_preference; export.
8256 * rtl.h: Declare it.
8257 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
8258 (simplify_binary_operation): Invoke simplify_plus_minus on
8259 (CONST (PLUS ...)) as well.
8260 (struct simplify_plus_minus_op_data): New.
8261 (simplify_plus_minus_op_data_cmp): New.
8262 (simplify_plus_minus): Use them. Avoid infinite recursion with
8263 simplify_binary_operation wrt CONST.
8265 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
8267 * h8300-protos.h (general_operand_dst_push): Remove.
8268 * h8300.c (general_operand_dst_push): Likewise.
8269 * h8300.h (OK_FOR_T): Likewise.
8270 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
8271 * h8300.md (pushqi_h8300): New.
8272 (pushqi_h8300hs): Likewise.
8274 (pushhi_h8300): Likewise.
8275 (pushhi_h8300hs): Likewise.
8278 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8280 * genattrtab.c (attr_printf): First arg is unsigned.
8281 Clean up formatting of callers.
8283 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
8285 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
8288 2001-09-07 Andreas Jaeger <aj@suse.de>
8290 * i386.h (TARGET_SWITCHES): Fix descriptions.
8292 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
8294 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
8296 2001-09-06 Ira Ruben <ira@apple.com>
8298 Remove OP_IDENTIFIER.
8299 * tree.def (OP_IDENTIFIER): Remove.
8300 * tree.c (tree_node_kind enum): Remove op_id_kind.
8301 (tree_node_kind_names): Remove "op_identifiers".
8302 (make_node): Remove OP_IDENTIFIER test.
8303 (build_op_identifier): Removed because it isn't being used.
8304 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
8305 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
8307 2001-09-06 Richard Henderson <rth@redhat.com>
8309 * simplify-rtx.c (simplify_binary_operation): Revert last change.
8311 2001-09-06 Richard Henderson <rth@redhat.com>
8313 * simplify-rtx.c (simplify_binary_operation): Simplify contents
8316 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8318 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
8319 number used for CR register.
8321 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
8322 Joern Rennecke (amylaar@cygnus.com)
8324 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
8325 * h8300.c (initial_offset): Handle offset between RP and FP.
8326 (h8300_return_addr_rtx): New function.
8327 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
8329 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
8330 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
8331 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
8332 (CAN_ELIMINATE, REGISTER_NAMES):
8333 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
8335 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
8337 Remove TYPE_NONCOPIED_PARTS.
8338 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
8339 (struct tree_type): Remove noncopied_parts.
8340 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
8341 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
8342 (fixed_type_p): Remove.
8343 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
8344 (expand_expr, MODIFY_EXPR): Likewise.
8345 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
8346 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
8348 2001-09-06 Alan Modra <amodra@bigpond.net.au>
8350 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
8352 (mask64_operand): Likewise.
8353 (includes_rldic_lshift_p): Likewise.
8354 (includes_rldicr_lshift_p): Likewise.
8356 2001-09-05 Ziemowit Laski <zlaski@apple.com>
8358 * objc/objc-act.c (build_message_expr): If a class method cannot
8359 be found, do not issue a warning if a corresponding instance
8360 method exists in the root class.
8362 2001-09-05 Richard Henderson <rth@redhat.com>
8364 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
8366 2001-09-05 Zack Weinberg <zack@codesourcery.com>
8368 * function.c (ggc_mark_struct_function): Mark f->outer.
8369 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
8370 * integrate.c (output_inline_function): ... not here.
8372 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
8374 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
8376 * i386.c (size_cost): New static variable.
8377 (override_function): Use size_cost when -Os is specified.
8379 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
8380 properly; Use current_function_calls_eh_return.
8381 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
8382 use leave to avoid dependency chain.
8384 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
8385 get BB loop_depth instead of computing it from LOOP notes.
8387 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
8389 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8391 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8392 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8393 UNALIGNED_DOUBLE_INT_ASM_OP): Define
8395 2001-09-05 Jeffrey A Law (law@cygnus.com)
8396 Jason Merrill (jason@redhat.com)
8398 * stor-layout.c (layout_type): Complain if an array's size can
8399 not be represented in a size_t.
8401 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
8403 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
8405 * gcc.c: (process_command) Add parentheses around assignment
8406 used as truth value.
8408 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
8410 * config/mips/mips.c (save_restore_insns): Don't mark any register
8411 save slots as unchanging if current_function_calls_eh_return.
8413 2001-09-05 Richard Henderson <rth@redhat.com>
8415 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
8416 * config/alpha/alpha-protos.h: Declare it.
8417 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
8418 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
8419 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
8420 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
8421 (REG_OK_FOR_BASE_P): Select one of the above.
8423 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
8425 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
8426 (crti.o): Prefix name of object file with $(T).
8429 2001-09-05 David S. Miller <davem@redhat.com>
8431 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
8432 * config/sparc/linux64.h: Likewise.
8434 2001-09-05 Andreas Jaeger <aj@suse.de>
8436 * doc/invoke.texi (i386 Options): -mwide-multiply is not
8437 available anymore, remove the documentation.
8438 (i386 Options): Fix typo, cleanup index entries.
8440 * prefix.c (concat): Remove, we can use the version from liberty.
8442 2001-09-05 Richard Henderson <rth@redhat.com>
8444 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
8445 New functions split out of md file expanders.
8446 * config/alpha/alpha-protos.h: Declare them.
8447 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
8449 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
8451 * cppmacro.c (funlike_invocation_p): No need to restore context.
8453 2001-09-04 Richard Henderson <rth@redhat.com>
8455 * reload.c (push_reload): Export.
8456 * reload.h (push_reload): Declare it.
8458 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
8459 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
8460 * config/alpha/alpha.c (alpha_legitimize_address): New.
8461 (alpha_legitimize_reload_address): Likewise.
8462 * config/alpha/alpha-protos.h: Declare them.
8464 2001-09-04 Stan Shebs <shebs@apple.com>
8466 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
8467 * config/darwin.c (machopic_stub_name): Account for internally
8468 generated lib calls such as memcpy.
8470 2001-09-04 Richard Henderson <rth@redhat.com>
8472 * unwind.h (_UA_END_OF_STACK): New flag.
8473 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
8475 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
8477 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
8479 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
8481 * config/mips/mips.c (save_restore_insns): Change base_offset to
8482 fp_offset in second call to mips_emit_frame_related_store.
8484 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
8486 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
8487 sometimes be represented as a NOTE of type
8488 NOTE_INSN_DELETED_LABEL.
8489 (Insns): Document NOTE_INSN_DELETED_LABEL.
8491 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
8493 * c-common.h (tree_dump_index): Add more comments.
8494 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
8495 (dump_option_value_info): New struct.
8496 (dump_options): New array.
8497 (dump_switch_p): Parse switch options symbolically.
8498 * doc/invoke.texi (-fdump-ast): Rename to ...
8499 (-fdump-tree): ... here. Document that options are symbolic, and
8500 not all are applicable.
8502 2001-09-04 David S. Miller <davem@redhat.com>
8504 * config/sparc/sparc.md (define_splits): Kill constraints.
8506 Cleanup redundant and unused insn attributes.
8507 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
8508 binary, and move. Mark ialu as default.
8509 (commented out define_function_unit "alu"): Kill.
8510 (define_attr "use_clobbered"): Kill.
8511 (whole file): Kill address insn type references. Replace
8512 all unary/binary/move references with ialu.
8513 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
8514 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
8517 Simplify length insn attribute and make more judicious use
8518 of insn attribute defaulting.
8519 * config/sparc/sparc.md (all insns with length > one): Mark as
8520 insn type multi if real instructions, else use default if
8521 it is a forced splitter.
8522 (all insns with length == one): Use default insn length.
8523 (all insns of type ialu): Use default insn type.
8525 Fix erroneous insn attribute settings.
8526 (addx): Set insn type to misc.
8527 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
8528 const_umulsidi3_sp64): Set insn type to imul.
8530 Track SFmode vs DFmode insns according to UltraSPARC
8532 * config/sparc/sparc.md ("fptype"): New attribute, default
8534 (all DFmode single insns): Mark as fptype "double".
8536 2001-09-03 Jakub Jelinek <jakub@redhat.com>
8538 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
8540 2001-09-03 Richard Henderson <rth@redhat.com>
8542 * function.h (struct function): Add arg_pointer_save_area_init.
8543 * function.c (expand_function_end): Init arg_pointer_save_area.
8544 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
8545 when called from a nested function.
8547 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
8549 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
8552 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
8554 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
8556 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
8558 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
8559 (emit_push_insn): Use specified padding direction when
8560 STACK_PUSH_CODE is POST_INC.
8562 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
8564 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8566 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
8568 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
8570 * cppinit.c (cpp_start_read): Free the imacros list as we
8571 traverse it. Don't free the chains before returning.
8572 (_cpp_push_next_buffer): Only try pushing buffers if we've
8573 completed -imacros handling.
8575 2001-08-31 Eric Christopher <echristo@redhat.com>
8577 * gcc.c (handle_braces): Add explaination for abort.
8579 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
8581 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
8582 move adjustment of bitpos instead.
8584 2001-08-31 Zack Weinberg <zack@codesourcery.com>
8586 * function.c: Remove all_functions. Make outer_function_chain
8588 (init_function_start): Don't add new function structure to
8590 (find_function_data, push_function_context_to,
8591 pop_function_context_from, put_var_into_stack,
8592 trampoline_address): Update for changed structure element names.
8593 (push_function_context_to): Disentangle.
8594 (free_after_compilation): Also free F.
8595 (expand_dummy_function_end): Don't free cfun here.
8596 (put_var_into_stack): Comment why we can't use find_function_data here.
8597 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
8598 (mark_function_chain): Split into maybe_mark_struct_function and
8599 ggc_mark_struct_function. Export the latter.
8600 (init_function_once): Mark from cfun and outer_function_chain;
8603 * function.h (struct function): Kill next_global. Rename next
8604 to outer. All users updated to match.
8605 (all_functions, outer_function_chain): Don't declare.
8607 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
8608 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
8609 don't touch f->inlinable, after calling rest_of_compilation.
8611 * tree.h: Forward-declare struct function. Prototype
8612 ggc_mark_struct_function.
8614 2001-08-31 Kazu Hirata <kazu@hxi.com>
8616 * config/h8300/h8300.md (*andorhi3): Fix typos.
8618 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8620 * calls.c (emit_library_call_value): Don't use a fixed
8621 argument after VA_CLOSE, i.e. out of scope in traditional C.
8623 * emit-rtl.c (gen_rtvec): Likewise.
8625 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8627 * Makefile.in (c-pragma.o): Depend on output.h.
8628 (reorg.o): Depend on except.h.
8630 * c-pragma.c: Include output.h.
8632 * reorg.c: Include except.h.
8634 * unwind-dw2.c: Call __builtin_alloca, not alloca.
8636 2001-08-31 Richard Henderson <rth@redhat.com>
8638 * sched-deps.c (add_dependence): Don't elide dependency if the
8639 conditional used by insn is modified in elem.
8641 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
8643 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
8645 2001-08-31 Diego Novillo <dnovillo@redhat.com>
8647 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
8650 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
8652 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
8654 (stormy16_asm_out_constructor): New function.
8655 (TARGET_ASM_CONSTRUCTOR): Define.
8656 (TARGET_ASM_DESTRUCTOR): Define.
8658 2001-08-31 Andreas Jaeger <aj@suse.de>
8660 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
8661 * loop.c (add_label_notes): Likewise.
8662 * reload.c (find_reloads): Likewise.
8663 * config/sh/sh.c (machine_dependent_reorg): Likewise.
8665 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
8667 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
8668 code here. Take _Unwind_{W,Sw}ord*.
8669 (read_encoded_value_with_base): Use them.
8670 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
8672 (extract_cie_info): Simplify read_?leb128 handling.
8673 (execute_stack_op, execute_cfa_program): Likewise.
8674 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
8676 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
8678 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
8679 the frame pointer to pop the stack if convenient.
8681 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
8682 Don't use post-increment before combine.
8683 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
8684 a call-saved register.
8686 2001-08-31 Andreas Jaeger <aj@suse.de>
8688 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
8691 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
8693 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
8694 not DIV/MOD, of course.
8696 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
8698 * rtl.def: Undo my patch commited 2001-08-27.
8700 * genattrtab.c: Ditto.
8704 * sched-int.h: Ditto.
8706 * target-def.h: Ditto.
8710 * haifa-sched.c: Ditto.
8712 * sched-rgn.c: Ditto.
8714 * sched-vis.c: Ditto.
8716 * Makefile.in: Ditto.
8718 * doc/md.texi: Ditto.
8720 * doc/tm.texi: Ditto.
8722 * doc/contrib.texi: Ditto.
8724 * doc/gcc.texi: Ditto.
8726 * genattrtab.h: Remove it.
8728 * genautomata.c: Remove it.
8730 * genattr.c: Undo my patch and Richard Henderson's patch commited
8733 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
8735 * config.gcc (h8300-*-elf*): New case.
8736 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
8737 (SUBTARGET_CPP_SPEC): Define.
8738 (EXTRA_SPECS): Define.
8739 (SUBTARGET_EXTRA_SPECS): Define.
8740 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
8741 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
8743 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
8745 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
8746 (LIB2FUNCS_EXTRA): Define.
8747 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
8748 config/h8300/fixunssfsi.c: New file.
8750 2001-08-30 Kazu Hirata <kazu@hxi.com>
8752 * config/h8300/h8300.md (zero_extendqihi2): Changes to
8753 define_expand to accommodate target-specific attributes.
8754 (anonymous zero_extendqihi2 patterns): New.
8756 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
8758 * h8300.md (*andorhi3): New pattern.
8760 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
8762 * h8300.c (dosize): Fix test for "sub".
8764 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
8766 * c-typeck.c (pointer_diff): Try to eliminate common term before
8769 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
8771 * config/arm/arm.c (arm_compute_initial_elimination_offset):
8772 Account for the saves of the FP registers.
8774 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
8775 (TEXT_SECTION_ASM_OP): Define.
8776 (INIT_SECTION_ASM_OP): Define.
8777 (FINI_SECTION_ASM_OP): Define.
8778 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
8779 (RDATA_SECTION_FUNCITON): Provide prototype.
8781 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
8783 * reload1.c (move2add_note_store): Correct typo checking for
8786 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
8788 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
8789 note should not be considered outside the libcall block.
8791 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8793 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
8795 2001-08-29 Kazu Hirata <kazu@hxi.com>
8797 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
8799 2001-08-29 Kazu Hirata <kazu@hxi.com>
8801 * config/h8300/h8300-protos.h: Add a prototype for
8803 * config/h8300/h8300.c (emit_logical_op): New.
8804 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
8811 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
8813 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
8814 comparison with rtx INTVAL.
8815 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
8817 * pa.h (FUNCTION_ARG_SIZE): Likewise.
8819 2001-08-29 Kazu Hirata <kazu@hxi.com>
8821 * config/h8300/lib1funcs.asm: Update the copyright. Fix
8824 2001-08-29 Kazu Hirata <kazu@hxi.com>
8826 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
8827 (reg n) to (mem (pre_dec (reg n))
8828 (anonymous movsi pattern): Likewise.
8830 2001-08-29 Kazu Hirata <kazu@hxi.com>
8832 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
8834 2001-08-29 Kazu Hirata <kazu@hxi.com>
8836 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
8837 several special constants.
8839 2001-08-29 Kazu Hirata <kazu@hxi.com>
8841 * config/h8300/lib1funcs.asm: Fix comment typos.
8843 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8845 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
8846 Fix format specifier warnings.
8848 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
8849 inet_makeaddr, semctl): Prototype.
8851 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
8852 (save_restore_insns): Use base_offset, not gp_offset.
8854 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
8855 (ASM_OUTPUT_BYTE): Fix format specifier warning.
8857 2001-08-29 Richard Henderson <rth@redhat.com>
8859 * bb-reorder.c (function_tail_eff_head): New.
8860 (record_effective_endpoints): Set it.
8861 (fixup_reorder_chain): Use it.
8863 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8865 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
8867 2001-08-28 Dale Johannesen <dalej@apple.com>
8869 * config/darwin.c (machopic_function_base_name): Add const
8870 qualifier to a string.
8871 (darwin_encode_section_info): Ditto.
8873 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8875 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
8876 function definition.
8878 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
8880 * df.h (struct df): Add rts_order variable.
8882 * df.c (df_visit_next_rts): New function.
8883 (df_visit_next): Renamed to df_visit_next_rc
8884 (df_analyse_1): Allocate/compute/free rts_order as well.
8885 (df_rd_global_compute): Use df_visit_next_rc instead of
8887 (df_ru_global_compute): Use df_visit_next_rts instead of
8890 * flow.c (flow_reverse_top_sort_order_compute): New function.
8892 * basic-block.h: Add prototype.
8894 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
8896 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
8897 blocks, the BB_REACHABLE is now set, rather than aux being
8898 non-NULL. Update the test to reflect this.
8900 2001-08-28 Eric Christopher <echristo@redhat.com>
8902 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
8903 config/mips/crti.asm: Ditto.
8905 2001-08-28 Eric Christopher <echristo@redhat.com>
8906 Richard Henderson <rth@redhat.com>
8908 * c-pragma.h (add_weak): Move prototype from here...
8909 * output.h (add_weak): ... to here.
8910 * varasm.c (add_weak): Fix typo.
8911 * config/mips/crti.asm: New file.
8912 * config/mips/crtn.asm: Ditto.
8913 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
8914 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
8915 (INVOKE__main): Ditto.
8916 (INIT_SECTION_ASM_OP): New.
8917 (FINI_SECTION_ASM_OP): Ditto.
8918 (STARTFILE_SPEC): Add crti.
8919 (ENDFILE_SPEC): Add crtn.
8920 * config/mips/elf64.h: Same.
8921 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
8923 * config/mips/vxworks.h: Ditto.
8924 * config/mips/t-elf: Support crti and crtn.
8926 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
8928 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
8931 2001-08-28 Richard Henderson <rth@redhat.com>
8933 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
8934 (one_cmplbi2 splitter): Remove redundant test.
8936 2001-08-28 Dale Johannesen <dalej@apple.com>
8938 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
8940 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
8942 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
8944 2001-08-28 Stan Shebs <shebs@apple.com>
8946 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
8947 (UNALIGNED_SHORT_ASM_OP): Define.
8948 (UNALIGNED_INT_ASM_OP): Define.
8950 2001-08-28 Will Cohen <wcohen@redhat.com>
8952 * config/rs6000/rs6000.md (store_multiple): Correct RTL
8953 generation for first set.
8955 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
8957 * flow.c (redirect_edge_succ_nodup): Return new edge.
8958 (try_simplify_condjump): Use new edge.
8959 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
8961 * cse.c (cse_basic_block): Skip note instructions.
8963 2001-08-27 Richard Henderson <rth@redhat.com>
8965 * combine.c (combine_simplify_rtx): Don't reverse condition
8966 if there is no reverse for the condition.
8967 (simplify_comparison): Don't simplify subregs from INT to FP.
8969 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
8970 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
8971 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
8972 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
8973 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
8974 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
8976 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
8978 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
8979 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
8981 (adddi_dilshr32, adddi_dishl32): Only data register can be
8982 source for mem destination.
8984 * expmed.c (store_bit_field): Ignore adjustment to bitpos
8985 and use bitnum to decide about register move.
8987 2001-08-27 Richard Henderson <rth@redhat.com>
8989 * genattr.c (main): Emit state_t even when not doing scheduling.
8991 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
8992 Richard Henderson <rth@redhat.com>
8994 * gcse.c (reg_first_set, reg_last_set): Replace with ...
8995 (reg_avail_info, current_bb): ... these.
8996 (oprs_unchanged_p, record_last_reg_set_info): Use them.
8997 (compute_hash_table): Likewise.
8999 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
9001 * flow.c (verify_flow_info): Use checksums to verify edges.
9003 2001-08-27 Richard Henderson <rth@redhat.com>
9005 * genautomata.c (expand_automata): Always create a description.
9007 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
9009 * optabs.c (expand_binop): Correctly handle the carry in multiword
9010 add/subtract operations.
9012 2001-08-27 Fred Fish <fnf@be.com>
9014 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
9017 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
9019 * reload.c (find_reloads_toplev): Back out this change:
9021 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
9023 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
9024 mem if the address is a mode_dependent_address_p.
9026 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
9028 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
9029 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
9030 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
9033 * genattr.c (main): New variable num_insn_reservations. Increase
9034 it if there is DEFINE_INSN_RESERVATION. Output automaton based
9035 pipeline hazard recognizer interface.
9037 * genattrtab.h: New file.
9039 * genattrtab.c: Include genattrtab.h.
9040 (attr_printf, check_attr_test, make_internal_attr,
9041 make_numeric_value): Move protypes into genattrtab.h. Define them
9043 (num_dfa_decls): New global variable.
9044 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
9045 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
9046 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
9047 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
9049 * genautomata.c: New file.
9051 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
9053 * sched-int.h: (curr_state): Add the external definition for
9054 automaton pipeline interface.
9055 (haifa_insn_data): Add comments for members blockage and units.
9057 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
9058 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
9059 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
9060 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
9061 TARGET_SCHED_DFA_POST_CYCLE_INSN,
9062 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
9063 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
9065 (TARGET_SCHED): Use the new macros.
9067 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
9068 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
9069 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
9070 dfa_bubble): New members in gcc_target.sched.
9072 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
9073 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
9074 (insn_queue): Redefine it as pointer to array.
9075 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
9077 (max_insn_queue_index_macro_value): New variable.
9078 (curr_state, dfa_state_size, ready_try): New varaibles for
9079 automaton interface.
9080 (ready_element, ready_remove, max_issue): New function prototypes
9081 for automaton interface.
9082 (choose_ready): New function prototype.
9083 (insn_unit, blockage_range): Add comments.
9084 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
9085 FUNCTION_UNITS_SIZE == 0.
9086 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
9087 actual_hazard, potential_hazard): Add comments.
9088 (insn_cost): Use cost -1 as undefined value. Remove
9089 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
9091 (ready_element, ready_remove): New functions for automaton
9093 (schedule_insn): Add new code for automaton pipeline interface.
9094 (queue_to_ready): Add new code for automaton pipeline interface.
9095 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
9096 (debug_ready_list): Print newline when the queue is empty.
9097 (max_issue): New function for automaton pipeline interface.
9098 (choose_ready): New function.
9099 (schedule_block): Add new code for automaton pipeline interface.
9100 Print ready list before scheduling each insn.
9101 (sched_init): Add new code for automaton pipeline interface.
9102 Initiate insn cost by -1.
9103 (sched_finish): Free the current automaton state and finalize
9104 automaton pipeline interface.
9106 * sched-rgn.c: Include target.h.
9107 (init_ready_list, new_ready, debug_dependencies): Add new code for
9108 automaton pipeline interface.
9110 * sched-vis.c: Include target.h.
9111 (get_visual_tbl_length): Add code for automaton interface.
9112 (target_units, print_block_visualization): Add comments.
9114 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
9115 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
9116 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
9117 (getruntime.o, genautomata.o): New entries.
9118 (genattrtab.o): Add new dependency file genattrtab.h.
9119 (genattrtab): Add new dependencies. Link it with `libm.a'.
9120 (getruntime.o, hashtab.o): New entries for canadian cross.
9122 * doc/md.texi: Description of automaton based model.
9124 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
9126 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
9127 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
9128 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
9129 TARGET_SCHED_DFA_POST_CYCLE_INSN,
9130 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
9131 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
9132 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
9134 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
9135 MAX_DFA_ISSUE_RATE): New macro descriptions.
9137 * doc/contrib.texi: Add dfa based scheduler contribution.
9139 * doc/gcc.texi: Add more information about genattrtab.
9141 2001-08-27 Diego Novillo <dnovillo@redhat.com>
9143 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
9146 2001-08-27 Richard Henderson <rth@redhat.com>
9148 * function.c (expand_function_end): Don't init arg_pointer_save_area.
9149 (get_arg_pointer_save_area): New. Create an init it here.
9150 (fix_lexical_addr): Use it.
9151 * function.h: Declare it.
9152 * builtins.c (expand_builtin_setjmp_receiver): Use it.
9153 * stmt.c (expand_nl_goto_receiver): Use it.
9155 2001-08-27 Richard Henderson <rth@redhat.com>
9157 * final.c (final_scan_insn): Don't enter APP_ON mode for
9160 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
9161 alignment for assemble_integer for DW_EH_PE_aligned.
9162 * except.c (output_function_exception_table): Likewise.
9164 2001-08-26 Andreas Jaeger <aj@suse.de>
9166 * c-tree.h: Add prototyp for c_sizeof_nowarn.
9168 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
9170 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
9172 2001-08-27 Alan Modra <amodra@bigpond.net.au>
9174 * config/rs6000/rs6000.c (mask_operand): Rewrite without
9176 (mask64_operand): Likewise.
9177 (rldic_operand): Delete.
9178 (includes_lshift64_p): Delete.
9179 (includes_rldic_lshift_p): New function.
9180 (includes_rldicr_lshift_p): New function.
9181 (print_operand): Don't call rldic_operand in case 'W'.
9182 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
9183 (includes_lshift64_p): Remove.
9184 (includes_rldic_lshift_p): Declare.
9185 (includes_rldicr_lshift_p): Declare.
9186 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
9187 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
9188 Replace match_operand rldic_operand predicate with
9189 const_int_operand. Replace includes_lshift64_p condition with
9190 includes_rldic_lshift_p.
9191 <ashldi3_internal 64 bit rldicr patterns>: New.
9193 2001-08-27 Andreas Jaeger <aj@suse.de>
9195 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
9196 * errors.c: Likewise.
9197 * final.c: Likewise.
9198 * dwarf2asm.c: Likewise.
9199 * doprint.c (checkit): Likewise.
9200 * diagnostic.c: Likewise.
9201 * collect2.c: Likewise.
9202 * calls.c: Likewise.
9203 * c-semantics.c (build_stmt): Likewise.
9204 * c-format.c (status_warning): Likewise.
9205 * c-errors.c (pedwarn_c99): Likewise.
9206 * builtins.c (validate_arglist): Likewise.
9207 * config/pj/pj.c (pj_printf): Likewise.
9208 * fix-header.c: Likewise.
9210 * gcov.c (fnotice): Likewise.
9211 * gensupport.c (message_with_line): Likewise.
9212 * mips-tfile.c: Likewise.
9213 * protoize.c (notice): Likewise.
9214 * read-rtl.c (fatal_with_file_and_line): Likewise.
9215 * rtl-error.c: Likewise.
9216 * tradcpp.c: Likewise.
9218 * cp/tree.c (build_min_nt): Likewise.
9219 (build_min): Likewise.
9220 * cp/lex.c: Likewise.
9221 * cp/errfn.c: Likewise.
9222 * cp/rtti.c (create_pseudo_type_info): Likewise.
9224 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
9226 * df.c (df_uses_record): Return after recording all uses
9229 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
9231 * df.c (df_insn_modify): Realloc the INSN table here, if
9232 necessary, here, too.
9234 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
9236 * config/mips/mips.c (mips_function_value): Handle complex return
9239 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
9241 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
9243 * reload.c (make_memloc): Copy result if it is still
9244 reg_equiv_memory_loc[regno] on return.
9245 (subst_reloads) [ENABLE_CHECKING]: Check that none of
9246 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
9247 reg_equiv_mem are modified by the substitutions.
9249 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
9251 * predict.c (expensive_function_p): New.
9252 * rtl.h (expensive_function_p): Declare.
9253 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
9254 (use_fast_prologue_epilogue): New static variable.
9255 (expand_prologue): Set it; emit short prologues if unset.
9256 (expand_epilogue): Likewise.
9258 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
9260 * config.gcc: Add stormy16-*-elf case.
9261 * config/stormy16/stormy-abi: New file.
9262 * config/stormy16/stormy16-lib2.c: New file.
9263 * config/stormy16/stormy16-protos.h: New file.
9264 * config/stormy16/stormy16.c: New file.
9265 * config/stormy16/stormy16.h: New file.
9266 * config/stormy16/stormy16.md: New file.
9267 * config/stormy16/t-stormy16: New file.
9269 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
9271 * i386.h (no-accumulate-outgoing-args): Use proper mask.
9273 2001-08-24 David Edelsohn <edelsohn@gnu.org>
9275 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
9276 descriptor members are pointer size, not constant 4.
9277 * config/rs6000/rs6000.md (define_splits): Remove more unused
9280 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9282 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
9284 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
9286 * cp/rtti.c (VPARAMS): Fix parameter.
9288 2001-08-24 Zack Weinberg <zackw@panix.com>
9290 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
9292 (mode_for_extraction): No need for #ifdefs. Add default-case abort
9294 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
9295 in if controlling use of insv.
9296 (extract_bit_field): Likewise, for extv and extzv.
9298 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
9300 * i386.md (movcc peep2): Fix load of 0.
9302 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9304 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
9305 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
9307 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
9309 * c-pragma.h: Move weak_syms and weak_decls...
9310 * varasm.c: ...here. Now static.
9311 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
9312 depend on HANDLE_PRAGMA_WEAK.
9314 * c-common.c (c_alignof, c_alignof_expr): Move here...
9315 * c-typeck.c: ...from here.
9316 * c-tree.h, c-common.h: Adjust.
9318 2001-08-23 Bernd Schmidt <bernds@redhat.com>
9320 * config/ia64/ia64.c (rws_update): If !pred, set write_count
9321 instead of incrementing it.
9323 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
9324 asm ready, don't try to move them all into the same array element.
9326 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
9328 * function.c (thread_prologue_and_epilogue_insns): Avoid
9329 fallthru flag on edge to exit.
9331 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
9333 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
9336 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
9338 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
9339 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
9340 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
9343 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
9345 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
9346 replace "GNU CC" with "GCC".
9348 2001-08-23 Richard Henderson <rth@redhat.com>
9350 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
9351 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
9352 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
9353 Need GR between FR and not GR_AND_FR.
9354 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
9355 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
9356 AR regs before GR regs.
9357 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
9358 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
9359 (REGISTER_MOVE_COST): Update.
9360 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
9362 2001-08-23 Richard Henderson <rth@redhat.com>
9364 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
9367 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
9369 * reload1.c (emit_reload_insns): Don't look for notes
9370 on a NULL store_insn.
9372 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9374 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
9375 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
9376 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
9377 format specifier warnings.
9378 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
9380 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
9382 * config/i386/i386-protos.h: Correct declaration of
9383 i386_pe_asm_named_section.
9385 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
9387 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
9389 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
9391 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
9393 * cpperror.c (print_location): Don't show _Pragma.
9394 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
9395 and file change callback generation here.
9396 (stack_include_file): Update use of cpp_push_buffer.
9397 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
9398 (struct cpp_buffer): Remove type, pfile members.
9399 * cppinit.c (cpp_handle_option): Use free_chain.
9400 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
9401 (skip_escaped_newlines, get_effective_char, lex_percent): Take
9402 a cpp_reader rather than a cpp_buffer.
9403 (skip_escaped_newlines, get_effective_char, skip_block_comment,
9404 skip_line_comment, parse_string, lex_percent, lex_dot,
9405 _cpp_lex_token): Update accordingly.
9406 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
9408 (cpp_push_buffer): Update prototype.
9409 (run_directive): Update use of cpp_push_buffer.
9410 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
9411 handle_assertion): Update use of run_directive.
9412 * cpplib.h (enum cpp_buffer_type): Remove.
9413 (cpp_push_buffer): Update prototype.
9414 * fix-header.c (read_scan_file): Update.
9416 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9418 * gcc.c (struct prefix_list): Change prefix to const char *.
9420 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9422 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
9424 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
9426 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
9429 * jump.c (squeeze_notes): Take parms by reference. Handle END being
9432 * ifcvt.c (dead_or_predicable): Adjust.
9433 * loop.c (find_and_verify_loops): Adjust.
9434 * stmt.c (expand_end_case): Adjust.
9435 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
9436 head and end insn pointers in the basic block, not just local copies.
9437 (merge_blocks_move_predecessor_nojumps): Likewise.
9439 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
9441 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
9442 bitmap.h, builtin-types.def, builtins.c, builtins.def,
9443 c-aux-info.c, c-common.c, c-common.def, c-common.h,
9444 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
9445 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
9446 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
9447 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
9448 conditions.h, config.gcc, configure.frag, configure.in,
9449 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
9450 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
9451 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
9452 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
9453 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
9454 emit-rtl.c, errors.c, errors.h, except.c, except.h,
9455 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
9456 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
9457 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
9458 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
9459 gencheck.c, gencodes.c, genconfig.c, genemit.c,
9460 genextract.c, genflags.c, gengenrtl.c, genmultilib,
9461 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
9462 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
9463 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
9464 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
9465 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
9466 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
9467 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
9468 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
9469 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
9470 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
9471 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
9472 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
9473 params.h, predict.c, predict.def, predict.h, prefix.c,
9474 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
9475 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
9476 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
9477 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
9478 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
9479 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
9480 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
9481 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
9482 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
9483 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
9484 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
9485 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
9486 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
9487 xcoffout.h: replace "GNU CC" with "GCC".
9489 2001-08-21 Richard Henderson <rth@redhat.com>
9491 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
9492 (final_scan_insn): Consider jump tables data even if we have no
9493 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
9495 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
9496 (ASM_OUTPUT_CASE_END): Remove.
9497 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
9498 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
9499 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
9501 2001-08-21 Richard Henderson <rth@redhat.com>
9503 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
9504 at barrier insns. Emit stop bits before barriers.
9506 * flow.c (flow_find_cross_jump): Don't consider unconditional
9507 return insns for commoning.
9509 * final.c (compute_alignments): Fix typo.
9511 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
9512 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
9513 (store_bit_field): Use mode_for_extraction more places.
9514 (extract_bit_field): Likewise.
9516 2001-08-21 Zack Weinberg <zackw@panix.com>
9518 * caller-save.c: Don't include insn-codes.h.
9519 (reg_save_code, reg_restore_code): Make arrays of int.
9520 All uses updated to match.
9521 (insert_save, insert_restore): No need to initialize "code"
9522 variable upon declaration.
9523 * Makefile.in: update dependencies; fix typo in clean rule.
9525 2001-08-21 Richard Henderson <rth@redhat.com>
9527 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
9528 (merge_if_block): Handle fallout from same.
9530 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9532 * builtins.c (type_to_class): Fix typo in last change.
9534 2001-08-21 Richard Henderson <rth@redhat.com>
9536 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
9537 ia64_asm_output_label.
9539 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
9540 copy of gp while the real gp register contains garbage.
9542 2001-08-21 Zack Weinberg <zackw@panix.com>
9544 * expmed.c (mode_for_extraction): New function.
9545 (store_bit_field, extract_bit_field): Use it.
9546 * expr.h: Prototype it and provide an enum for its first argument.
9548 * combine.c, function.c, recog.c: Don't include insn-codes.h.
9549 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
9550 and digging through the insn_data tables.
9551 * Makefile.in: Update dependencies.
9553 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
9555 * cppfiles.c (stack_include_file): line-map.c now handles include
9557 (handle_missing_handler): Similarly.
9558 (_cpp_execute_include): Similarly.
9559 (_cpp_pop_file_buffer): Similarly.
9560 * cpphash.h (struct cpp_reader): Remove system_include_depth,
9561 buffer_stack_depth and include_depth.
9562 * cpplib.c (do_include_common): line-map.c now handles include depth.
9563 (cpp_push_buffer): Similarly.
9564 (_cpp_pop_buffer): Similarly.
9565 * cppmacro.c (builtin_macro): Update.
9566 * line-map.c (init_line_maps): Set depth.
9567 (add_line_map): Increment "used" earlier. Update and use the
9569 (trace_include): Use the include depth.
9570 * line-map.h (struct line_maps): New member depth.
9572 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9574 * cppfiles.c (stack_include_file): Don't handle -H here.
9575 * cppinit.c (cpp_start_read): Set include tracing after
9576 cpp_post_options and after stacking the main file.
9577 * line-map.c (trace_include): New.
9578 (init_line_maps, add_line_map): Update.
9579 * line-map.h (struct line_maps): New member trace_includes.
9581 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9583 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
9584 * cppfiles.c (stack_include_file): Only stack a file if there
9585 is something to do. Return a boolean indicating whether a
9586 buffer was stacked or not.
9587 (_cpp_execute_include): Similarly.
9588 (_cpp_read_file): Similarly.
9589 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
9591 2001-08-21 Sam Steingold <sds@gnu.org>
9593 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
9594 (RECACHE): keep obufp_before_macroname up to date
9596 2001-08-21 Zack Weinberg <zackw@panix.com>
9598 * stmt.c: Don't include insn-codes.h.
9599 (expand_end_case): Machine specific logic moved to expr.c.
9600 No need to worry about __builtin_classify_type.
9601 (check_for_full_enumeration_handling, emit_case_nodes):
9604 * builtins.o (expand_builtin_classify_type): Split up so code
9605 can be shared with fold_builtin_classify_type.
9606 (type_to_class, fold_builtin_classify_type): New functions.
9607 (fold_builtins): Handle __builtin_classify_type.
9609 * expr.c (do_tablejump): Now static.
9610 (case_values_threshold, try_casesi, try_tablejump): New;
9611 code mostly from stmt.c (expand_end_case).
9612 (expr.h): Update prototypes.
9614 * Makefile.in (stmt.o): Update dependencies.
9616 2001-08-21 Will Cohen <wcohen@redhat.com>
9618 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
9619 declaration of variable i.
9620 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
9621 declaration of variable i.
9623 2001-08-21 Richard Henderson <rth@redhat.com>
9625 * crtstuff.c: Fix thinko last change. Move list tails to start
9626 of CRT_END section. Tidy ifdefs.
9627 (__EH_FRAME_BEGIN__): Always static for ELF.
9628 (__do_global_ctors_1): Rename from __frame_dummy.
9629 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
9630 name change; don't hide __EH_FRAME_BEGIN__.
9632 2001-08-21 Richard Henderson <rth@redhat.com>
9634 * gdbinit.in: Move break on exit after break on fancy_abort.
9636 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
9639 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
9641 * cpphash.h (_cpp_push_next_buffer): New.
9642 * cppinit.c (do_includes): Remove.
9643 (push_include, free_chain, _cpp_push_next_buffer): New.
9644 (cpp_start_read): Use them to rework command line option handling.
9645 (cpp_handle_option): Combine handling of -include and -imacros.
9646 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
9647 appropriate. Always insert missing \n at EOF.
9648 * cpplib.c (start_directive): Get the directive position right.
9649 * cppmain.c (cb_file_change): Always print the first line, unless
9652 2001-08-20 Andreas Jaeger <aj@suse.de>
9654 * profile.c (compute_branch_probabilities): Remove extra new-line
9656 * flow.c (verify_flow_info): Likewise.
9658 2001-08-20 Diego Novillo <dnovillo@redhat.com>
9660 * basic-block.h (basic_block): Add new field 'flags'.
9661 (BB_REACHABLE): Define.
9662 (expunge_block): Declare.
9663 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
9664 (EXIT_BLOCK_PTR): Ditto.
9665 (expunge_block): Remove static declaration.
9666 (cleanup_cfg): Clear bb->aux on every basic block.
9667 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
9668 computing reachability.
9669 (delete_unreachable_blocks): Delete block b if b->flags has
9672 2001-08-20 Diego Novillo <dnovillo@redhat.com>
9674 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
9676 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9678 * sparc.c (sparc_variable_issue): Fix typo in last change.
9680 2001-08-20 Richard Henderson <rth@redhat.com>
9682 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
9684 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
9686 * pa.h (RETURN_IN_MEMORY): Improve comment.
9688 2001-08-20 Janis Johnson <janis187@us.ibm.com>
9690 * doc/invoke.texi (Profiling options): Clarify the interactions
9691 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
9693 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
9695 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
9698 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9700 * gcc.c (make_relative_prefix): Allocate a sufficiently large
9703 2001-08-20 Richard Henderson <rth@redhat.com>
9705 * final.c (end_final): Fix typo last change.
9707 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
9709 * cppinit.c (init_standard_includes): The returned buffer
9710 is already malloc-ed.
9711 * gcc.c (add_prefix): Similarly.
9712 * prefix.c (translate_name): Update to support clear buffer
9714 (update_path): Similarly. Be sure to free any newly allocated
9715 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
9717 * prefix.h (update_path): Update prototype and document.
9718 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
9719 up and update to new buffer ownership rules.
9720 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
9722 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
9724 * final.c (compute_alignments): New function.
9725 (init_insn_lengths): Do not care label_align.
9726 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
9727 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
9728 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
9729 (shorted_branches): Realloc label_align array; do
9730 not call init_insn_lengths; Do not care about loop alignments.
9731 * output.h (compute_alignments): Declare.
9732 * toplev.c (rest_of_compilation): Call compute_alignments.
9733 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
9735 * predict.c (block_info_def): Add npredecesors, remove nvisited;
9736 change visited to tovisit.
9737 (propagate_freq): Use faster traversing algorithm.
9738 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
9739 to tovisit; reverse meaning.
9741 * predict.c (struct block_info_def): Remove nvisited.
9742 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
9743 (estimate_bb_frequencies): Call mark_dfs_back_edges.
9745 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
9747 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
9748 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
9749 (TARGET_FUSED_MADD): New.
9750 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
9751 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
9752 the multiply-add instructions.
9754 2001-08-19 Richard Henderson <rth@redhat.com>
9756 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
9757 is aligned to pointer size.
9759 2001-08-19 Richard Henderson <rth@redhat.com>
9761 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
9762 display markers during final schedule.
9764 2001-08-19 Richard Henderson <rth@redhat.com>
9766 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
9768 2001-08-19 Richard Henderson <rth@redhat.com>
9770 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
9772 (ASM_NAME_TO_STRING): Remove.
9773 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
9774 in the same string. Remove support for expressions.
9776 2001-08-19 Richard Henderson <rth@redhat.com>
9778 * config/i386/i386.md (tablejump): Make an expander; handle
9779 pic relative addressing here.
9780 (tablejump_1): Rename from tablejump_pic.
9783 2001-08-19 Richard Henderson <rth@redhat.com>
9785 * regclass.c (fix_register): Fix typo.
9787 2001-08-18 Richard Henderson <rth@redhat.com>
9789 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
9790 (struct _Unwind_Context): Expand br_loc to hold it.
9791 (uw_frame_state_for): Handle leaf functions better.
9792 (uw_update_reg_address): Update for br_loc change.
9794 2001-08-18 Richard Henderson <rth@redhat.com>
9796 * crtstuff.c: Move list heads before code that uses them.
9797 (__JCR_LIST__): Remove initial null.
9798 (frame_dummy, __frame_dummy): Do java registration here ...
9799 (__do_global_ctors_aux): ... not here.
9801 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
9802 (__do_global_dtors_aux): Update to match.
9803 (__JCR_LIST__, __do_jv_register_classes): New.
9805 * config/ia64/crtend.asm (__JCR_END__): New.
9806 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
9807 instead of an indirect LTOFF22 reloc.
9809 2001-08-18 Richard Henderson <rth@redhat.com>
9811 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
9812 * regclass.c (init_reg_sets_1): Fix typo.
9813 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
9814 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
9815 (ia64_compute_frame_size): Make ar.unat live when in use.
9816 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
9817 for ar.pfs; remove ar.unat handling.
9818 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
9820 (PREDICATE_CODES): Add ar_pfs_reg_operand.
9821 * config/ia64/ia64-protos.h: Update decls.
9822 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
9823 (sibcall_pic): Likewise.
9825 2001-08-18 Richard Henderson <rth@redhat.com>
9827 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
9828 pred_rel_mutex when searching for insn_group_barrier.
9829 * config/ia64/ia64.md (cycle_display): Combine the expander
9832 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
9833 bit before asm as needed.
9835 2001-08-18 Richard Henderson <rth@redhat.com>
9837 * timevar.def (TV_MACH_DEP): New.
9838 * toplev.c (rest_of_compilation): Use it.
9839 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
9841 2001-08-18 Zack Weinberg <zackw@panix.com>
9843 * unwind-dw2.c (execute_stack_op): Add default aborts to
9844 the inner switches to prevent warnings.
9846 2001-08-18 Richard Henderson <rth@redhat.com>
9848 * timevar.h (struct timevar_time_def): Change element type to float.
9849 (ticks_to_msec, clocks_to_msec): Likewise.
9850 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
9851 (get_time): Likewise.
9852 (timevar_print): Adjust zero check and printing to match.
9854 2001-08-18 Zack Weinberg <zackw@panix.com>
9856 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
9857 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
9858 Eliminate overfull or underfull hboxes.
9860 2001-08-18 Zack Weinberg <zackw@panix.com>
9862 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
9864 2001-08-18 Zack Weinberg <zackw@panix.com>
9866 * haifa-sched.c: Convert to target hooks. Macros replaced
9867 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
9868 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
9869 MD_SCHED_FINISH, and HAVE_cycle_display.
9870 * target-def.h (TARGET_SCHED_ADJUST_COST,
9871 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
9872 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
9873 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
9874 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
9875 New hook #defines to be overridden.
9876 (TARGET_SCHED): Bring them all together.
9877 (TARGET_INITIALIZER): Update.
9878 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
9879 instead of 'struct rtx_def *' throughout.
9880 (struct sched): New set of hooks for the scheduler.
9881 * Makefile.in (haifa-sched.o): Depend on target.h.
9882 * doc/tm.texi: Document the new scheduler hooks, together in
9883 their own section, instead of scattered around.
9884 Fix a bunch of underfull/overfull hboxes.
9886 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
9887 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
9888 sparc.h: Don't define any of the old scheduler macros.
9890 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
9891 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
9892 sparc.c: Create hook functions from code extracted from
9893 corresponding target header, or make existing hooks static, as
9894 appropriate. Set the appropriate entries in targetm.
9896 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
9897 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
9898 rs6000-protos.h, s390-protos.h, sparc-protos.h:
9899 Remove prototypes for functions which are now static.
9901 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
9902 related gunk; the Haifa scheduler is now the only choice.
9904 2001-08-18 Zack Weinberg <zackw@panix.com>
9906 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
9907 * genopinit.c: Put floating point divide insns in sdiv_optab.
9908 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
9909 * config/gofast.h, config/c4x/c4x.h,
9910 config/ia64/hpux_longdouble.h, config/mips/mips.h,
9911 config/pa/long_double.h, config/rs6000/sysv4.h,
9912 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
9913 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
9914 (init_optabs): Use init_optabv for overflow-trapping optabs.
9915 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
9916 cmp_optab RTX codes so have_insn_for can find them.
9918 * optabs.c (expand_simple_binop, expand_simple_unop,
9919 have_insn_for, gen_sub3_insn): New interfaces.
9920 * expr.h: Prototype new functions.
9921 (enum optab_methods): Move here from optabs.h.
9923 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
9924 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
9925 Use new functions instead of working directly with optabs.
9926 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
9927 unroll.c: Don't include optabs.h.
9928 * caller-save.c, combine.c, function.c, stmt.c: Just include
9929 insn-codes.h, not optabs.h.
9930 * Makefile.in: Update dependencies.
9932 * combine.c (make_compound_operation, simplify_comparison):
9933 Fix typos testing for this or that instruction.
9935 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9937 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
9938 generating libgcc.a.
9940 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9942 * except.c (TYPE_HASH): Delete.
9944 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
9947 * tree.c (TYPE_HASH): Delete.
9949 * tree.h (TYPE_HASH): Define.
9951 2001-08-18 Graham Stott <grahams@redhat.com>
9953 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
9955 (adddi3_internal_2+2): Likewise.
9956 (eh_set_lr_di+1): Likewise.
9958 2001-08-17 Richard Henderson <rth@redhat.com>
9960 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9961 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
9962 * dwarf2asm.c: ... here.
9963 * dwarfout.c: Remove them.
9965 * varasm.c (assemble_integer): Add align parameter.
9966 (assemble_real, output_constant, output_constructor): Likewise.
9967 * output.h: Update decls.
9968 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
9969 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
9970 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
9971 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
9972 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
9975 * final.c (end_final): Abort profile block generation if we
9976 haven't layed it out properly.
9977 * output.h (assemble_eh_integer): Remove stale decl.
9978 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
9980 (assemble_integer): Handle unaligned data.
9981 (assemble_real): Abort on unaligned data.
9982 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
9984 (default_dtor_section_asm_out_destructor): Use assemble_align.
9985 (default_named_section_asm_out_constructor): Likewise.
9986 (default_ctor_section_asm_out_constructor): Likewise.
9987 * config/darwin.c (machopic_asm_out_constructor): Likewise.
9988 (machopic_asm_out_destructor): Likewise.
9989 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
9990 (nextstep_asm_out_destructor): Likewise.
9991 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
9992 (vms_asm_out_destructor): Likewise.
9994 2001-08-17 Richard Henderson <rth@redhat.com>
9996 * config/mips/iris6.h (TARGET_IRIX6): New.
9997 (current_section_name, current_section_flags): New.
9998 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
9999 (MAX_OFILE_ALIGNMENT): New.
10000 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
10001 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
10002 (copy_file_data): Split out from
10003 (mips_asm_file_end): ... here.
10004 (mips_asm_file_start): Remove extra .section directive. Use
10005 tmpfile instead of mips_make_temp_file.
10006 (mips_unique_section): Use const char * as needed for warnings.
10007 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
10008 re-add align parameter.
10009 (iris6_asm_named_section): New.
10010 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
10011 (iris6_asm_output_align, iris6_section_align_1): New.
10012 (iris6_asm_file_start, iris6_asm_file_end): New.
10013 * config/mips/mips-protos.h: Update decls.
10015 2001-08-17 Janis Johnson <janis187@us.ibm.com>
10017 * doc/install.texi (Install GCC): Add links to build status pages.
10019 (Final install): Ditto; request updates for specific info
10021 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
10023 * cpperror.c (print_location): Don't take a file name; use the
10025 (_cpp_begin_message): Similarly.
10026 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
10027 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
10028 (cpp_pedwarn_with_file_and_line): Remove.
10029 * cppfiles.c (stack_include_file): Update; set filename to stdin
10030 here when appropriate.
10031 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
10032 (_cpp_begin_message): Don't take a file name.
10033 * cppinit.c: Add comment.
10034 * cpplex.c: Fix end-of-directive indicator.
10035 * cpplib.c: Don't include intl.h.
10036 (run_directive, do_diagnostic): Update.
10037 (do_line): Update to not use nominal_fname.
10038 (cpp_push_buffer): Don't take a filename.
10039 * cpplib.h (struct ht): Remove.
10040 (cpp_push_buffer): Don't take a filename.
10041 (cpp_pedwarn_with_file_and_line): Remove.
10042 * cppmacro.c (struct cpp_macro): Remove file.
10043 (builtin_macro): Update.
10044 (_cpp_create_definition): Update.
10045 * cppmain.c: Correct comment.
10046 * fix-header.c (read_scan_file): Update.
10048 2001-08-17 Kazu Hirata <kazu@hxi.com>
10050 * sbitmap.c: Fix comment formatting.
10051 * sched-deps.c: Likewise.
10052 * sibcall.c: Likewise.
10053 * simplify-rtx.c: Likewise.
10055 * ssa-ccp.c: Likewise.
10056 * stor-layout.c: Likewise.
10057 * timevar.c: Likewise.
10058 * toplev.c: Likewise.
10059 * unwind-dw2.c: Likewise.
10060 * unwind-dw2-fde.c: Likewise.
10061 * varasm.c: Likewise.
10063 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
10065 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
10066 or larger than an integer in memory.
10068 2001-08-17 Zack Weinberg <zackw@panix.com>
10070 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
10071 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
10072 * rtl.h: Don't forward-declare union tree_node here. Don't
10073 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
10074 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
10075 and tree respectively.
10076 * tree.h: Don't forward-declare struct rtx_def here. Don't
10077 typedef tree here. Change all uses of struct rtx_def *,
10078 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
10079 and tree respectively.
10081 2001-08-17 Richard Henderson <rth@redhat.com>
10083 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
10084 config/mips/openbsd.h: Fix typos last change.
10086 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10088 * doc/invoke.texi (Optimize Options): The default for
10089 -finline-limit is 600.
10091 2001-08-17 Richard Henderson <rth@redhat.com>
10093 * varasm.c (text_section): Allow TEXT_SECTION to override the
10094 printing of TEXT_SECTION_ASM_OP.
10095 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
10096 (DATA_SECTION, BSS_SECTION): Remove.
10097 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
10098 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
10099 Rename from s/_NAME//.
10100 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
10101 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
10102 (TEXT_SECTION): ... here. New.
10103 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
10104 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
10105 * config/mips/openbsd.h: Likewise.
10106 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
10107 (mips_asm_file_end): Likewise test.
10108 (mips_output_function_epilogue): Likewise. Switch back to data
10109 section after emitting the function.
10111 * doc/tm.texi (Sections): Document TEXT_SECTION.
10113 2001-08-17 Richard Henderson <rth@redhat.com>
10115 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
10116 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
10118 2001-08-17 Richard Henderson <rth@redhat.com>
10120 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
10121 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
10122 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
10123 Add aligned attribute.
10125 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
10127 * config/sh/sh.md: Add modes to unspecs in first insn to match
10128 those in the second.
10130 * Makefile.in: Fix collect2 copy for Cygwin.
10132 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
10134 Install the proper patch.
10135 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
10136 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
10137 (expand_function_start): Likewise.
10138 * stmt.c (expand_decl): Likewise.
10139 * varasm.c (make_decl_rtx): Likewise.
10141 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10143 * final.c: Undo my previous accidental checkin.
10144 * output.h: Likewise.
10145 * tm.texi: Likewise.
10147 2001-08-16 Richard Henderson <rth@redhat.com>
10149 * varasm.c (named_section_flags): Remove align parameter.
10150 * varasm.c, dwarf2out.c: Update all callers.
10151 * output.h: Update prototypes.
10153 * target.h (target.asm_out.named_section): Remove align parameter.
10154 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
10155 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
10156 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
10157 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
10158 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
10160 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
10161 (get_named_section_flags, set_named_section_flags): New.
10162 (named_section_flags): Use them.
10163 (named_section): Do decl vs section flags check here...
10164 (default_section_type_flags): ... not here.
10165 (init_varasm_once): Create in_named_htab.
10166 (resolve_unique_section): Mark reloc unused.
10168 2001-08-16 Richard Henderson <rth@redhat.com>
10170 * varasm.c (force_const_mem): Keep pool alignment in bits.
10171 (output_constant_pool): Use assemble_align.
10173 2001-08-16 Zack Weinberg <zackw@panix.com>
10175 * doc/tm.texi: Remove extra @table command.
10177 2001-08-16 Zack Weinberg <zackw@panix.com>
10179 * final.c (shorten_branches): Clear the end of the label_align
10180 array only if we made it larger. Break up messy expressions
10183 * diagnostic.c (internal_error): Check for error recursion
10184 before doing ICE suppression.
10186 * timevar.c: Timing variables now count in milliseconds.
10187 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
10188 (get_time): Not here.
10189 (timevar_print): Don't print any timer whose user, cpu, and
10190 wall times are all zero as displayed.
10191 * timevar.h: Update comment aboout units. Make timevar
10194 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
10196 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
10197 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
10198 (expand_function_start): Likewise.
10199 * stmt.c (expand_decl): Likewise.
10200 * varasm.c (make_decl_rtx): Likewise.
10202 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
10204 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
10205 (finalize_record_size): Don't set TYPE_USER_ALIGN.
10207 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10209 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
10212 2001-08-16 Andreas Jaeger <aj@suse.de>
10214 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
10217 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
10219 * rtl.h (only_sets_cc0_p): New prototype.
10220 * jump.c (sets_cc0_p): Handle INSN.
10221 (only_sets_cc0_p): New function.
10222 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
10223 (tidy_fallthru_edge): Likewise.
10224 * integrate.c (copy_insn_list): Likewise.
10225 * unroll.c (unroll_loop): Likewise.
10226 (copy_loop_body): Likewise.
10228 2001-08-15 Jason Eckhardt <jle@redhat.com>
10230 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
10232 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
10234 * predict.c (struct block_info_def): Remove nvisited.
10235 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
10236 (estimate_bb_frequencies): Call mark_dfs_back_edges.
10238 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
10239 (ix86_adjust_cost): Teach scheduler that latency to load operand can
10242 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
10244 * predict.def: Update hitrates.
10246 2001-08-15 Richard Henderson <rth@redhat.com>
10248 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
10250 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
10252 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
10253 note from its associated jump.
10255 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
10257 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
10258 also on 64-bit s390x targets.
10260 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
10262 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
10264 (arm_expand_prologue): Handled nested functions which take a
10265 variable argument list.
10266 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
10267 macro with an invocation of
10268 arm_compute_initial_elimination_offset.
10269 * config/arm/arm-protos.h: Prototype
10270 arm_compute_initial_elimination_offset.
10272 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10274 * doc/install.texi (Specific, avr): Fix markup.
10275 (Specific, c4x): Ditto.
10277 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10279 * predict.c (dump_prediction): Change `bool' parameter to `int'.
10281 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
10283 * Makefile.in (OBJS): Add rtl-error.o
10284 (rtl-error.o): New rule.
10285 (diagnostic.o): Adjust dependency.
10286 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
10287 error_for_asm, _fatal_insn, _fatal_insn_not_found,
10288 warning_for_asm): Move to...
10289 rtl-error.c: ...here. New file.
10291 2001-08-14 Richard Henderson <rth@redhat.com>
10293 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
10294 if USING_SJLJ_EXCEPTIONS.
10296 2001-08-14 Steve Ellcey <sje@cup.hp.com>
10298 * tlink.c (scan_linker_output): Check string for unsatisfied in
10299 addition to undefined and unresolved.
10301 2001-08-14 Graham Stott <grahams@redhat.com>
10303 * libgcc2.c (*): Replace EH_FRAME_SECTION with
10304 EH_FRAME_SECTION_NAME.
10306 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
10308 * genattrtab.c (simplify_test_exp_in_temp): New function.
10309 (simplify_test_exp): Avoid explicit use of temporary obstack.
10310 (simplify_cond, insert_right_side, evaluate_eq_attr,
10311 simplify_and_tree, simplify_or_tree, eliminate_known_true):
10312 Use simplify_test_exp_in_temp.
10313 (optimize_attrs): Iterate until expression stabilizes.
10315 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
10317 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
10318 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
10320 2001-08-13 Richard Henderson <rth@redhat.com>
10322 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
10323 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
10324 * config/arm/conix-elf.h: Likewise.
10326 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
10328 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
10330 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
10332 * gcse.c (hash_scan_set): Expressions that are set as part of
10333 jump instructions are not available.
10335 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
10337 * config/s390/s390.c (print_operand, s390_function_prologue,
10338 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
10340 2001-08-13 Richard Henderson <rth@redhat.com>
10342 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
10343 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
10344 * doc/tm.texi (Exception Region Output): Document it.
10346 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
10348 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
10349 DWARF2 instead of stabs by default.
10351 2001-08-13 David Edelsohn <edelsohn@gnu.org>
10353 * config/rs6000/rs6000.c: Include optabs.h.
10355 2001-08-13 David Edelsohn <edelsohn@gnu.org>
10357 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
10358 save/restore routines.
10359 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
10361 2001-08-13 Andreas Jaeger <aj@suse.de>
10363 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
10364 the english is correct.
10366 2001-08-13 Zack Weinberg <zackw@panix.com>
10368 * expr.h: Split out optab- and libfunc-related code to...
10369 * optabs.h, libfuncs.h: ... these new headers.
10371 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
10373 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
10375 * mkconfig.sh: Don't include insn-codes.h from config.h.
10377 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
10378 enum insn_code is available. Move reload_in_optab and
10379 reload_out_optab array declarations to optabs.h.
10380 * regmove.c (gen_add3_insn): Move to optabs.c, export from
10381 there, prototype in expr.h.
10382 * gencodes.c: Cleanup: zap global variables, don't use
10383 printf where puts will do, don't bother defining MAX_INSN_CODE
10384 which nothing uses, let CODE_FOR_nothing get its value implicitly.
10386 * genemit.c, genopinit.c: Include optabs.h in generated file.
10387 * genoutput.c: Include insn-codes.h in generated file.
10388 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
10389 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
10390 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
10391 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
10392 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
10393 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
10395 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
10396 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
10397 config/m88k/m88k.c, config/sparc/sparc.c:
10398 Include libfuncs.h.
10399 * reload.c: Include expr.h and optabs.h before reload.h.
10400 * config/alpha/alpha.c: Include tree.h before reload.h.
10401 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
10402 and reload.h in that order.
10403 * config/sparc/sparc.c: Include debug.h.
10404 * recog.c: Include insn-codes.h.
10406 2001-08-13 Andreas Jaeger <aj@suse.de>
10408 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
10411 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
10413 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
10414 * gcc.c (init_spec): Fix typo in comment.
10415 * varasm.c (data_section): Fix typo in comment.
10417 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
10419 * predict.c (dump_prediction): New argument "USED".
10420 (combine_predictions_for_insn): Determine the used heuristics,
10421 output the case no heuristic applied.
10422 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
10424 2001-08-13 Andreas Jaeger <aj@suse.de>
10426 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
10429 2001-08-13 Kazu Hirata <kazu@hxi.com>
10431 * jump.c: Fix formatting.
10433 2001-08-13 Kazu Hirata <kazu@hxi.com>
10435 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
10438 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
10440 * loop.c (check_dbra_loop): Use condjump_label to compute
10443 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
10444 to better document the files they're in.
10446 2001-08-12 Zack Weinberg <zackw@panix.com>
10448 * recog.h (struct insn_operand_data): Shrink 'mode' field
10451 2001-08-12 Kazu Hirata <kazu@hxi.com>
10453 * gcc.c: Fix comment formatting.
10454 * gccspec.c: Likewise.
10455 * gcov.c: Likewise.
10456 * gcse.c: Likewise.
10457 * genemit.c: Likewise.
10458 * gengenrtl.c: Likewise.
10459 * genrecog.c: Likewise.
10460 * gensupport.c: Likewise.
10461 * ggc-page.c: Likewise.
10462 * global.c: Likewise.
10463 * graph.c: Likewise.
10464 * ifcvt.c: Likewise.
10465 * integrate.c: Likewise.
10467 * libgcc2.c: Likewise.
10468 * loop.c: Likewise.
10469 * mbchar.c: Likewise.
10470 * optabs.c: Likewise.
10471 * predict.c: Likewise.
10472 * prefix.c: Likewise.
10473 * profile.c: Likewise.
10474 * protoize.c: Likewise.
10475 * real.c: Likewise.
10476 * recog.c: Likewise.
10477 * regclass.c: Likewise.
10478 * regmove.c: Likewise.
10479 * reg-stack.c: Likewise.
10480 * reload1.c: Likewise.
10481 * resource.c: Likewise.
10482 * rtlanal.c: Likewise.
10485 2001-08-12 Kazu Hirata <kazu@hxi.com>
10487 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
10488 a tree representing a constant is passed to the macro.
10490 2001-08-12 Richard Henderson <rth@redhat.com>
10492 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
10493 (rs6000_elf_asm_out_destructor): New.
10494 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
10495 (DTORS_SECTION_ASM_OP): Remove.
10496 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10497 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
10499 2001-08-12 David Edelsohn <edelsohn@gnu.org>
10502 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10503 * gcc.c (set_collect_gcc_options): New function, split out from
10505 Ignore elided switches.
10506 (do_spec_1): Invoke before executing command.
10507 (set_input): Export.
10508 Move declaration ...
10509 * gcc.h (set_input): ... here.
10510 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
10513 2001-08-12 Richard Henderson <rth@redhat.com>
10515 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
10516 thinko wrt TARGET_RELOCATABLE.
10518 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
10520 * fix-header.c (cb_file_change): Update prototype.
10522 2001-08-11 Zack Weinberg <zackw@panix.com>
10524 * toplev.c (set_float_handler): Make static.
10525 * toplev.h: Don't prototype set_float_handler.
10527 * simplify-rtx.c: Don't include setjmp.h.
10528 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
10530 (simplify_unary_operation, simplify_binary_operation): Use them,
10531 via do_float_handler.
10533 * fold-const.c: Don't include setjmp.h.
10534 (exact_real_inverse_1): New function.
10535 (exact_real_inverse): Use it, via do_float_handler.
10537 * varasm.c: Don't include setjmp.h.
10538 (assemble_real_1): New function.
10539 (assemble_real): Use it, via do_float_handler.
10540 Call internal_error if we get a trap here.
10542 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
10543 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
10545 2001-08-11 Zack Weinberg <zackw@panix.com>
10547 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
10548 STACK_BOUNDARY if not already defined.
10550 * calls.c, function.c, reload1.c, explow.c: Don't default
10551 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
10552 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
10554 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
10557 * doc/tm.texi: Document that STACK_BOUNDARY is required;
10558 clarify difference between it and PREFERRED_STACK_BOUNDARY.
10560 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10562 * cppmacro.c (enter_macro_context): Push macro expansions even
10565 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10567 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
10568 (rs6000_elf_section_type_flags): Actually return a value.
10570 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
10572 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
10573 Clean up code: add missing comments and prototypes, fix warnings,
10574 remove obsolete code, fix spacing to conform to coding style.
10576 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
10578 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
10579 and TARGET_ASM_CLOSE_PAREN.
10580 (regclass_map): CC register belongs to class NO_REGS.
10581 (legitimize_pic_address): Don't generate unnecessary moves
10582 (to avoid confusing loop optimization).
10583 (check_and_change_labels): Replace jump_long by indirect_jump.
10584 (s390_final_chunkify): Don't start a new literal pool on section
10585 switch in 64-bit code.
10586 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
10588 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
10589 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
10590 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
10592 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
10593 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
10594 (CONST_COSTS): Fixed incorrect costs.
10596 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
10597 Use emit_jump instead of emit_jump_insn (gen_jump).
10598 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
10599 (to avoid confusing flow analysis).
10600 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
10601 (casesi, casesi_jump): New.
10602 (jump_long): Removed. Functionality merged into indirect_jump.
10603 (indirect_jump): Accept address_operand, not just register_operand.
10604 (cjump_long, icjump_long): Use same logic as indirect_jump.
10605 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
10606 Fixed broken setjmp/longjmp handling.
10607 (do_builtin_setjmp_setup): Removed.
10609 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
10610 broken GNU as versions that don't accept .quad with large
10611 negative values. Use hexadecimal output instead.
10612 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
10613 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
10614 FUNCTION_EPILOGUE): Removed. Now in targetm.
10616 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
10618 * config/s390/fixdfdi.h: Add missing copyright statement.
10619 Fix type conflicts on 64-bit. Add missing SFmode routines.
10621 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
10624 2001-08-11 Richard Henderson <rth@redhat.com>
10626 * rtl.h (REG_EH_RETHROW): Remove.
10627 * rtl.c (reg_note_name): Update.
10628 * combine.c (distribute_notes): Don't check for it.
10630 2001-08-11 Richard Henderson <rth@redhat.com>
10632 * combine.c (distribute_notes): Place REG_SETJMP.
10634 2001-08-11 Richard Henderson <rth@redhat.com>
10636 * doc/extend.texi (Arrays and pointers implementation): Discourage
10637 relying on sign-extension of pointers.
10639 2001-08-11 H.J. Lu <hjl@gnu.org>
10641 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
10643 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
10644 RDATA_SECTION_ASM_OP.
10646 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10648 * doc/install.texi (Specific, c4x): Fix cross-reference to the
10649 main manual to work both for info and HTML versions.
10651 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10652 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10654 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
10655 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
10656 (struct cpp_pool): New member first.
10657 * cppinit.c (append_include_chain): Plug memory leaks.
10658 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
10659 Allocate pragma structures from the (aligned) macro pool to
10660 avoid leaking memory.
10661 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
10662 so we don't leak memory.
10663 * hashtable.c (ht_destroy): New.
10664 * hashtable.h (ht_destroy): New.
10666 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
10667 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10669 * c-lex.c (map): Make const.
10670 (cb_file_change): Update for callback passing a line map.
10671 Don't assume we have a previous map. Remove sanity check
10672 about popping too many files.
10673 * cpperror.c (print_location): Make map const.
10674 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
10675 (cpp_make_system_header): Similarly.
10676 (search_from): Similarly.
10677 (_cpp_execute_include): Don't remember where we came from.
10678 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
10679 (struct cpp_reader): Make map const.
10680 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
10681 * cpplib.c (do_line): Update; line maps now hold sysp.
10682 (cpp_push_buffer): Similarly.
10683 (_cpp_do_file_change): Similarly; callback with map instead.
10684 (cpp_get_line_maps): Constify return value.
10685 (_cpp_pop_buffer): Update.
10686 * cpplib.h (struct cpp_file_change): Remove.
10687 (struct cpp_callbacks): Update.
10688 (cpp_get_line_maps): Constify return value.
10689 * cppmacro.c (_cpp_create_definition): Update.
10690 * cppmain.c (struct printer): Constify map.
10691 (maybe_print_line): Similarly.
10692 (print_line): Similarly. Deduce flags 1 and 2 here.
10693 (cb_file_change): Update.
10694 * line-map.c (free_line_maps): Warn regardless.
10695 (add_line_map): Return pointer to const. When passed NULL to_file
10696 with LC_LEAVE, use the obvious values for the return point so the
10697 caller doesn't have to figure them out.
10698 (lookup_line): Return pointer to const.
10699 (print_containing_files): Take pointer to const.
10700 * line-map.h (struct line_map): New members reason, sysp.
10701 (add_line_map): Return pointer to const.
10702 (lookup_line): Similarly.
10703 (print_containing_files): Take pointer to const.
10705 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
10706 Richard Henderson <rth@redhat.com>
10708 * regmove.c (regmove_optimize): Avoid setting a register twice in
10711 2001-08-10 Richard Henderson <rth@redhat.com>
10713 * doc/extend.texi (Arrays and pointers implementation): Document
10714 behavior of pointer/integer conversion.
10716 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
10718 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
10720 2001-08-10 Richard Henderson <rth@redhat.com>
10722 * doc/extend.texi (C Implementation): New chapter.
10723 * doc/gcc.texi (Top): Link it in.
10725 2001-08-10 Andrew Cagney <ac131313@redhat.com>
10727 * doc/install.texi (Specific): Fix CVS merge botch.
10729 2001-08-10 Richard Henderson <rth@redhat.com>
10731 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
10732 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
10734 2001-08-10 Zack Weinberg <zackw@stanford.edu>
10736 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
10737 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
10738 this macro is now required.
10740 * cselib.c (cselib_process_insn), flow.c (propagate_block),
10741 loop.c (find_and_verify_loops), reload.c (reload): Check
10742 for rtx code of CALL_INSN, not CALL, when deciding if we
10743 need to check for REG_SETJMP note.
10745 * gcse.c (compute_hash_table, compute_store_table): Update
10746 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
10749 * config/avr/avr.c: Fix typo.
10750 * config/convex/convex.c (expand_movstr): Use adjust_address.
10751 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
10753 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
10754 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
10756 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
10757 Do define STACK_BOUNDARY.
10758 * config/i370/i370.c: Include expr.h.
10759 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
10760 config/pa/som.h, config/v850/v850.h: Take in_ctors and
10761 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
10762 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
10763 * config/m88k/m88k.c: Include c-tree.h after expr.h.
10764 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
10765 * config/romp/romp.c: Include expr.h after tree.h.
10767 (output_fpop): Use xmalloc, not oballoc.
10768 * config/we32k/we32k.c: Include expr.h.
10770 2001-08-10 Kazu Hirata <kazu@hxi.com>
10772 * config/h8300/h8300.h: Fix formatting.
10774 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
10776 * c-common.h (RETURN_NULLIFIED_P): Lose.
10777 * c-semantics.c (genrtl_return_stmt): Don't check it.
10779 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10781 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
10782 (mips_annotate_frame_insn): New function.
10783 (mips_emit_frame_related_store): New function.
10784 (save_restore_insns): Don't mark instructions that set up the base
10785 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
10786 the store instructions instead.
10787 (mips_expand_prologue): If the stack size is moved into a temporary
10788 register, do not mark that move as frame-related. Add a
10789 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
10791 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10793 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
10794 stack slot as unchanging if current_function_calls_eh_return.
10796 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
10798 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
10799 access the second half of the TFmode scratch operand.
10801 2001-08-10 Anthony Green <green@redhat.com>
10803 * java/class.c (emit_register_classes): Conditionalize code on
10806 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10808 * doc/install.texi (Specific, avr): Fix cross-reference to the
10809 main manual to work both for info and HTML versions.
10811 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
10813 * stmt.c (expand_null_return_1): Remove code to generate simple returns
10814 and "use_goto" argument.
10815 (expand_null_return, expand_value_return): Update all callers.
10816 * function.c (expand_function_end): Remove code to generate simple
10818 * config/vax/vax.md (epilogue): New expander for function return.
10819 * doc/md.texi (epilogue): Remove "if defined".
10821 2001-08-09 Zack Weinberg <zackw@stanford.edu>
10823 * Makefile.in: Partially revert my previous change:
10824 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
10825 of the hashtab.o and safe-ctype.o rules.
10827 2001-08-09 Richard Henderson <rth@redhat.com>
10829 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
10830 (USE_COLLECT2): Remove duplicate definition.
10831 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
10832 (use_collect2): Remove dead code.
10833 * configure.in (use_collect2): Remove will_use_collect2 and
10834 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
10835 * configure: Rebuild.
10837 * target.h (targetm.asm_out.constructor): New.
10838 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
10839 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
10840 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
10841 * varasm.c (in_ctors, in_dtors): New.
10842 (assemble_constructor, assemble_destructor): Remove.
10843 (default_stabs_asm_out_destructor): New.
10844 (default_named_section_asm_out_destructor): New.
10845 (dtors_section, default_dtor_section_asm_out_destructor): New.
10846 (default_stabs_asm_out_constructor): New.
10847 (default_named_section_asm_out_constructor): New.
10848 (ctors_section, default_ctor_section_asm_out_constructor): New.
10849 * output.h: Update declarations.
10850 * c-decl.c (c_expand_body): Use target hooks instead of
10851 assemble_constructor and assemble_destructor.
10852 * profile.c (output_func_start_profiler): Likewise.
10853 * objc/objc-act.c (finish_objc): Likewise.
10854 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
10855 for the constructor.
10856 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
10858 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
10859 (DTORS_SECTION_ASM_OP): Likewise.
10860 (__CTOR_LIST__): Use attribute section when possible.
10861 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
10863 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
10864 ASM_OUTPUT_CONSTRUCTOR.
10866 * config/darwin.c (machopic_asm_out_constructor): New.
10867 (machopic_asm_out_destructor): New.
10868 * config/darwin-protos.h: Update declarations.
10869 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10870 (ASM_OUTPUT_DESTRUCTOR): Remove.
10871 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10872 * config/nextstep.c (nextstep_asm_out_constructor): New.
10873 (nextstep_asm_out_destructor): New.
10874 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10875 (ASM_OUTPUT_DESTRUCTOR): Remove.
10876 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10877 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
10878 ASM_OUTPUT_*STRUCTOR.
10879 * config/i386/aix386ng.h: Likewise.
10881 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
10882 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
10883 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
10884 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10885 * config/lynx.h: Likewise.
10886 * config/netware.h: Likewise.
10887 * config/psos.h: Likewise.
10888 * config/alpha/alpha-interix.h: Likewise.
10889 * config/alpha/elf.h: Likewise.
10890 * config/arc/arc.h: Likewise.
10891 * config/arm/aof.h: Likewise.
10892 * config/arm/coff.h: Likewise.
10893 * config/arm/elf.h: Likewise.
10894 * config/c4x/c4x.h: Likewise.
10895 * config/h8300/h8300.h: Likewise.
10896 * config/i386/cygwin.h: Likewise.
10897 * config/i386/djgpp.h: Likewise.
10898 * config/i386/i386-coff.h: Likewise.
10899 * config/i386/i386-interix.h: Likewise.
10900 * config/i386/sco5.h: Likewise.
10901 * config/i386/vsta.h: Likewise.
10902 * config/i386/win32.h: Likewise.
10903 * config/i960/i960-coff.h: Likewise.
10904 * config/ia64/sysv4.h: Likewise.
10905 * config/m68hc11/m68hc11.h: Likewise.
10906 * config/m68k/coff.h: Likewise.
10907 * config/m68k/mot3300.h: Likewise.
10908 * config/m88k/m88k.h: Likewise.
10909 * config/mcore/mcore-pe.h: Likewise.
10910 * config/mcore/mcore.h: Likewise.
10911 * config/mips/elf.h: Likewise.
10912 * config/mips/elf64.h: Likewise.
10913 * config/mips/iris6.h: Likewise.
10914 * config/pa/pa64-hpux.h: Likewise.
10915 * config/rs6000/sysv4.h: Likewise.
10916 * config/sh/sh.h: Likewise.
10917 * config/sparc/litecoff.h: Likewise.
10919 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
10920 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
10921 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10922 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10923 (ASM_OUTPUT_DESTRUCTOR): Remove.
10924 * config/a29k/a29k.c: Move include of tree.h.
10925 * config/a29k/udi.h: Delete file.
10926 * config/alpha/alpha.c (vms_asm_out_constructor): New.
10927 (vms_asm_out_destructor): New.
10928 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
10929 (EXTRA_SECTION_FUNCTIONS): Likewise.
10930 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10931 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10932 * config/c4x/c4x.c: Move include of tree.h.
10933 * config/clipper/clipper.c (clix_asm_out_constructor): New.
10934 (clix_asm_out_destructor): New.
10935 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10936 (ASM_OUTPUT_DESTRUCTOR): Remove.
10937 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10938 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10939 (TARGET_ASM_CONSTRUCTOR): New.
10940 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
10941 (sco_asm_out_constructor): New.
10942 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
10943 * config/i386/svr3gas.h: Remove stack grows up code.
10944 Remove code duplicated from i386/sysv3.h.
10945 (TARGET_ASM_CONSTRUCTOR): New.
10946 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10947 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
10948 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10949 (TARGET_ASM_CONSTRUCTOR): New.
10950 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
10951 (m68hc11_asm_out_destructor): New.
10952 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
10953 (TARGET_ASM_DESTRUCTOR): New.
10954 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
10955 * config/m68k/dpx2.h: Properly undef all the bits inherited from
10956 config/svr3.h pertaining to section manipulation.
10957 * config/m68k/dpx2g.h: Remove #if 0 code.
10958 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
10959 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
10960 (ASM_OUTPUT_CONSTRUCTOR): Remove.
10961 (TARGET_ASM_CONSTRUCTOR): New.
10962 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
10963 (m88k_svr3_asm_out_constructor): New.
10964 (m88k_svr3_asm_out_destructor): New.
10965 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10966 (ASM_OUTPUT_DESTRUCTOR): Remove.
10967 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10968 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
10969 * config/rs6000/aix.h: Likewise.
10970 * config/mips/rtems64.h: Don't undef removed constructor related bits.
10971 * config/mips/vxworks.h: Likewise.
10972 * config/rs6000/lynx.h: Likewise.
10973 * config/sh/elf.h: Likewise.
10974 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
10975 (DTORS_SECTION_ASM_OP): New.
10976 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10977 (ASM_OUTPUT_DESTRUCTOR): Remove.
10978 * config/sparc/sol2-sld-64.h: Likewise.
10979 * config/vax/vax.c (vms_asm_out_constructor): New.
10980 (vms_asm_out_destructor): New.
10981 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10982 (ASM_OUTPUT_DESTRUCTOR): Remove.
10983 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10985 * doc/tm.texi (@node Initialization): Update.
10987 2001-08-09 Richard Henderson <rth@redhat.com>
10989 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
10990 (__do_global_dtors_aux): Use gp-relative static data to avoid
10991 one dynamic relocation.
10992 (__do_frame_setup): Register Java classes.
10993 * config/alpha/crtend.asm (__JCR_END__): New.
10995 2001-08-09 Zack Weinberg <zackw@stanford.edu>
10997 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
10998 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
10999 (GEN, STAGESTUFF): Add new files.
11000 (insn-constants.h, s-constants, tm-preds.h, s-preds,
11001 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
11002 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
11003 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
11004 as well as insn-codes.h and insn-flags.h in config.h; and no
11005 extra headers in tconfig.h and hconfig.h.
11007 * gencodes.c: Eliminate code to generate predicate declarations
11008 or #defines for md-file constants.
11009 * genconstants.c, genpreds.c: New files.
11011 * i386.md: Re-order guard expressions such that TARGET_64BIT
11012 comes first, when this permits better optimization. Add
11013 TARGET_64BIT to more x86-64 patterns. Add comment explaining
11014 why this is desirable.
11016 2001-08-09 Jakub Jelinek <jakub@redhat.com>
11018 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
11019 (find_fde_for_dso): Remove.
11020 (_Unwind_IteratePhdrCallback): New.
11021 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
11022 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
11024 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11026 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
11027 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
11029 2001-08-09 Graham Stott <grahams@redhat.com>
11031 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
11032 (vis_no_unit): Use it.
11033 (visualize_no_unit): Add the insn only if room exists.
11035 2001-08-09 Graham Stott <grahams@redhat.com>
11037 * predict.c (estimate_probability): Replace magic numbers with
11038 appropriate enumeration.
11040 2001-08-09 Graham Stott <grahams@redhat.com>
11042 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
11044 (EXTRACT_FLAGS): Likewise.
11046 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
11048 * config/mips/mips.c (mips_legitimate_address_p): Check for
11049 CONST_INT in last patch.
11051 2001-08-08 Anthony Green <green@redhat.com>
11053 * java/class.c (emit_register_classes): Use assemble_jcr if
11054 possible. Keep the original mechanism as a fallback.
11055 * defaults.h (JCR_SECTION_NAME): Define if we have named section
11056 and weak symbol support.
11057 * crtstuff.c (__JCR_LIST__): Define.
11058 (__JCR_END__): Define.
11059 (_Jv_RegiserClasses): Define weak symbol if possible.
11060 (__do_global_ctors_aux): Register classes for ELF targets with
11061 weak symbol support.
11063 2001-08-08 Kazu Hirata <kazu@hxi.com>
11065 * dbxout.c: Fix comment formatting.
11066 * dependence.c: Likewise.
11068 * diagnostic.c: Likewise.
11069 * dominance.c: Likewise.
11070 * doprint.c: Likewise.
11071 * dwarf2out.c: Likewise.
11072 * dwarfout.c: Likewise.
11073 * emit-rtl.c: Likewise.
11074 * except.c: Likewise.
11075 * explow.c: Likewise.
11076 * expmed.c: Likewise.
11077 * expr.c: Likewise.
11078 * flow.c: Likewise.
11079 * fold-const.c: Likewise.
11080 * function.c: Likewise.
11082 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11084 * global.c (retry_global_alloc): Avoid shadowing allocno.
11086 2001-08-08 Mark Mitchell <mark@codesourcery.com>
11088 * except.c (remove_fixup_regions): Fix typo.
11090 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
11092 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
11093 unsigned HOST_WIDE_INT to avoid warning.
11094 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
11095 * flow.c (set_block_for_new_insns): Likewise.
11097 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
11099 * sibcall.c (return_value_pseudo): New static variable.
11100 (skip_copy_to_return_value): Handle return_value_pseudo.
11101 (call_ends_block_p): Ensure that return_value_pseudo is set.
11102 (optimize_sibling_and_tail_recursive_call): Discover the
11103 load of pseudo return value in alternate exit block.
11105 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
11107 * calls.c (ECF_ALWAYS_RETURN): New constant.
11108 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
11109 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
11110 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
11111 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
11112 * rtl.c (reg_note_name): New name.
11113 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
11115 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
11117 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
11119 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
11121 * alias.c (get_alias_set): Return a previously calculated
11122 alias set for a VAR_DECL.
11123 * function.c (gen_mem_addressof): Calculate the alias set before
11126 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
11128 * predict.def: Set hitrates according our experimental run.
11130 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
11132 * i386.h (HARD_REGNO_RENAME_OK): New macro.
11134 2001-08-08 H.J. Lu <hjl@gnu.org>
11136 * config/mips/mips.c (mips_unique_section): New. Copied from
11139 * config/mips/mips-protos.h (mips_unique_section): New
11142 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
11144 * config/mips/little.h: New. Generic little endian mips
11145 targets. Only mips*-*-linux* is converted to use it so far.
11147 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
11148 (WCHAR_TYPE): Defined
11149 (WCHAR_TYPE_SIZE): Likewise.
11150 (INIT_SUBTARGET_OPTABS): Likewise.
11151 (BSS_SECTION_ASM_OP): Likewise.
11152 (SBSS_SECTION_ASM_OP): Likewise.
11153 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11154 (ASM_DECLARE_OBJECT_NAME): Likewise.
11155 (UNIQUE_SECTION): Likewise.
11156 (EXTRA_SECTIONS): Likewise.
11157 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
11158 (ASM_OUTPUT_DESTRUCTOR): Likewise.
11159 (ASM_OUTPUT_DEF): Likewise.
11160 (HANDLE_SYSV_PRAGMA): Removed.
11161 (NO_IMPLICIT_EXTERN_C): Likewise.
11162 (TARGET_MEM_FUNCTIONS): Likewise.
11163 (STARTFILE_SPEC): Likewise.
11164 (ENDFILE_SPEC): Likewise.
11165 (LIB_SPEC): Likewise.
11166 (INVOKE__main): Likewise.
11167 (CTOR_LIST_BEGIN): Likewise.
11168 (CTOR_LIST_END): Likewise.
11169 (DTOR_LIST_BEGIN): Likewise.
11170 (DTOR_LIST_END): Likewise.
11171 (SET_ASM_OP): Likewise.
11172 (ASM_OUTPUT_SOURCE_LINE): Likewise.
11173 (ASM_OUTPUT_DEF): Likewise.
11174 (ASM_OUTPUT_IDENT): Likewise.
11176 * config/mips/mips.h (ASM_SPEC): Undefine before define.
11177 (CPLUSPLUS_CPP_SPEC): Likewise.
11178 (ASM_APP_ON) Redefine only if not defined.
11179 (ASM_APP_OFF): Likewise.
11180 (ASM_OUTPUT_SOURCE_LINE): Likewise.
11181 (ASM_OUTPUT_IDENT): Likewise.
11183 * config.gcc: Update tm_file for Linux/mips.
11185 2001-08-08 Bernd Schmidt <bernds@redhat.com>
11187 * cselib.c (cselib_record_sets): If insn is predicated, turn
11188 sources into IF_THEN_ELSEs.
11190 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
11191 Turn into define_insn_and_split.
11193 * sched-deps.c: Include "cselib.h".
11194 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
11195 Use cselib to turn memory addresses into VALUEs.
11196 (sched_analyze): Call cselib_init/cselib_finish if necessary.
11197 * sched-int.h (struct sched_info): New member USE_CSELIB.
11198 * sched-ebb.c (ebb_sched_info): Initialize it.
11199 * sched-rgn.c (rgn_sched_info): Likewise.
11200 * Makefile.in (sched-deps.o): Update dependencies.
11202 * cselib.h (cselib_subst_to_values): Declare.
11203 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
11204 that have no value and autoincs to be handled by generating a new
11207 2001-08-08 Graham Stott <grahams@redhat.com>
11209 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
11210 within fixed length SEQUENCE.
11212 2001-08-08 Graham Stott <grahams@redhat.com>
11214 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
11215 (diagnostic_prefixing_rule): Likewise.
11216 (diagnostic_line_cutoff): Likewise.
11217 (diagnostic_kind_count): Likewise.
11219 2001-08-08 Graham Stott <grahams@redhat.com>
11221 * alias.c (find_base_decl): Delete redundent assignment.
11223 2001-08-08 Graham Stott <grahams@redhat.com>
11225 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
11226 (abs): Uppercase and paranthesize macro parameter.
11227 (MEM_DEPENDENCY): Add whitespace.
11229 2001-08-08 Graham Stott <grahams@redhat.com>
11231 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
11232 failure check for CONST_INT
11234 2001-08-08 Graham Stott <grahams@redhat.com>
11236 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
11237 (libcall_dead_p): Likewise.
11239 (mark_used_regs): Constify fmt.
11240 (find_use_as_address): Likewise.
11242 2001-08-08 Graham Stott <grahams@redhat.com>
11244 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
11247 2001-08-08 Graham Stott <grahams@redhat.com>
11249 * combine.c (combine_simplify_rtx): Update comment and
11250 remove erroneous test.
11252 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
11254 * cppinit.c (cpp_finish): Pop the final buffer without comment.
11255 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
11256 take care to avoid multiple no-newline at EOF warnings in that
11259 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
11261 * calls.c (expand_call): Do not emit INSN_SETJMP note.
11262 (emit_library_call_value_1): Likewise.
11263 (emit_call_1): Emit REG_SETJMP note.
11264 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
11266 * cselib.c (cselib_process_insn): Likewise.
11267 * flow.c (propagate_block): Likewise.
11268 * loop.c (find_and_verify_loops): Likewise.
11269 * reload.c (find_equiv_regs): Likewise.
11270 * reload1.c (reload): Likewise.
11271 * resource.c (mark_referenced_resources,
11272 mark_set_resources): Likewise.
11273 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
11274 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
11275 * haifa-sched.c (unlink_other_notes): Likewise.
11276 (reemit_notes): Likewise.
11277 * sched-ebb.c (sched_ebb): Likewise.
11278 * sched-rgc.c (sched_region): Likewise.
11279 * rtl.c (note_insn_name): Likewise.
11280 (reg_note_name): Add REG_SETJMP
11281 * rtl.h (reg_note): Add REG_SETJMP.
11282 (insn_note): Remove NOTE_INSN_SETJMP.
11284 * profile.c (branch_prob): Add fake edges for setjmp.
11286 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
11288 * config.gcc: Quote target_cpu_default2 correctly for
11289 powerpc*-*-* targets.
11291 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
11293 * cpplib.h, line-map.h: Update comments.
11294 * cppmain.c (printer_init): Move inline.
11295 (maybe_print_line, print_line): Take a map pointer.
11296 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
11297 (cb_file_change): Don't use prior value of print.map.
11299 2001-08-07 David Edelsohn <edelsohn@gnu.org>
11301 * doc/install.texi: Document fine-grained multilib configuration.
11303 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
11305 * rtlanal.c (find_first_parameter_load): Call note_stores
11306 only on the instructions.
11308 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
11310 * alias.c (nonlocal_mentioned_p):
11311 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
11312 * calls.c (emit_call_1): Likewise.
11313 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
11314 * cselib.c (cselib_process_insn): Likewise.
11315 * df.c (df_insns_modify): Likewise.
11316 * flow.c (need_fake_edge_p): Likewise.
11317 (propagate_one_insn): Likewise.
11318 * haifa-sched.c (reemit_notes): Likewise.
11319 * integrate.c (copy_insn_list): Likewise.
11320 * jump.c (delete_prior_computation): Likewise.
11321 * local-alloc.c (validate_equiv_mem): Likewise.
11322 * loop.c (scan_loop): Likewise.
11323 * predict.c (estimate_probability): Likewise.
11324 * reload.c (reload): Likewise.
11325 * sched-deps (sched_analyze): Likewise.
11326 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
11327 * gcse.c (compute_hash_table): Likewise.
11328 (mark_call): Likewise.
11329 (store_killed_in_insn): Likewise.
11331 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
11333 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
11335 2001-08-06 Richard Henderson <rth@redhat.com>
11337 * varasm.c (assemble_gc_entry): Remove.
11338 * output.h: Likewise.
11340 2001-08-06 Richard Henderson <rth@redhat.com>
11342 * varasm.c (assemble_constructor): Take a symbol_ref and a
11343 priority instead of a bare string. Move priority handling
11344 here from cp/decl2.c.
11345 * output.h: Update decls.
11347 * c-decl.c (c_expand_body): Update calls to assemble_constructor
11348 and assemble_destructor.
11349 * profile.c (output_func_start_profiler): Likewise.
11350 * objc/objc-act.c (finish_objc): Likewise.
11351 (build_module_descriptor): Return the symbol not the symbol name.
11353 2001-08-06 David Edelsohn <edelsohn@gnu.org>
11355 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
11356 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
11357 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
11358 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
11359 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
11360 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
11362 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
11364 * cpperror.c (print_containing_files): Moved to line-map.c.
11365 (print_location): line-map.c handles re-listing or otherwise.
11366 * cpphash.h (struct lexer_state): Remove next_bol.
11367 (struct cpp_buffer): Remove include_stack_listed.
11368 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
11369 Remove faked buffer handling.
11370 (_cpp_do_file_change): Tweak.
11371 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
11372 * cppmain.c (struct printer): Remove filename.
11373 (print_line, cb_file_change): Update accordingly.
11374 * line-map.c: Include intl.h.
11375 (init_line_maps): Initialize last_listed.
11376 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
11377 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
11378 (print_containing_files): New.
11379 * line-map.h (struct line_maps): New member last_listed.
11380 (print_containing_files, INCLUDED_FROM): New.
11381 * Makefile.in: Update.
11382 * po/POTFILES.in: Add line-map.c.
11384 2001-08-06 Richard Henderson <rth@redhat.com>
11386 * except.c (convert_from_eh_region_ranges_1): Never mark
11387 USE or CLOBBER insns as throwing.
11389 * expr.c (store_constructor): Don't clobber memory targets.
11391 2001-08-06 Andreas Jaeger <aj@suse.de>
11393 * profile.c (branch_prob): Remove unused variable insn.
11395 * Makefile.in (local-alloc.o): Add dependency on except.h.
11397 * local-alloc.c: Include except.h for can_throw_internal prototype.
11399 2001-08-06 Richard Henderson <rth@redhat.com>
11401 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
11402 * function.c (expand_main_function): Implement it.
11403 * doc/tm.texi: Document it.
11405 2001-08-06 Stan Shebs <shebs@apple.com>
11407 * doc/install.texi: Document powerpc-*-darwin* details.
11409 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
11411 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
11412 (ASM_CPU_SPEC): Move back to rs6000.h
11413 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
11415 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
11417 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
11420 * config/rs6000/linux64.h: Ditto.
11422 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
11423 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
11426 Remove accidently readded definitions of FUNCTION_PROLOGUE,
11427 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
11429 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
11432 2001-08-05 Richard Henderson <rth@redhat.com>
11434 * local-alloc.c (update_equiv_regs): Do not move insns that
11437 2001-08-05 Jan Hubicka <jh@suse.cz>
11439 * Makefile.in (reload1.o): Add dedendancy on except.h
11440 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
11442 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
11443 indicating wehther edges has been cleaned up.
11444 * reload1.c: Inlucde except.h
11445 (fixup_abnormal_edges): Accept deleted insns.
11446 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
11449 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
11451 * cpplib.c (do_line): Correct line number after pop_buffer.
11453 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
11455 PR preprocessor/3824
11456 * line-map.c: Update comments.
11457 * line-map.h: Update comments.
11458 * tradcif.y: Don't consider large numbers unsigned.
11460 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
11462 PR preprocessor/3081
11463 * c-lex.c (map): New.
11464 (cb_file_change): Update map and use it.
11465 (cb_def_pragma, cb_define, cb_undef): Use map and line.
11466 (c_lex): Update to use map.
11467 * cpperror.c (print_location): Move to using logical line numbers.
11468 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
11469 (cpp_make_system_header): Similarly.
11470 (_cpp_execute_include): Stop line numbering hacks. Store the
11471 line we will return to.
11472 * cpphash.h (CPP_BUF_LINE): Remove.
11473 (struct cpp_buffer): Remove lineno and pseudo_newlines.
11474 Add map and return_to_line.
11475 (_cpp_do_file_change): Update.
11476 * cppinit.c (cpp_start_read): Update line kludge.
11477 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
11478 (trigraph_ok): Use logical line numbers for diagnostics.
11479 (skip_block_comment): Likewise.
11480 (skip_whitespace): Likewise.
11481 (skip_line_comment): Use pfile->line instead.
11482 (_cpp_lex_token): Update to use logical line numbering exclusively.
11483 Handle BOL locally. Accept new lines in directives, but keep
11484 pfile->line decremented. Diagnostics use logical lines. Update
11485 directive handling.
11486 * cpplib.c (SEEN_EOL): New.
11487 (skip_rest_of_line, check_eol): Use it.
11488 (end_directive): Increase line number when accepting the newline
11489 at the end of a directive.
11490 (run_directive): Simplify.
11491 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
11492 (_cpp_do_file_change): Update to take buffer line number as an
11493 argument, and store the current map in the cpp_reader. Remove
11494 line number kludges.
11495 (_cpp_do__Pragma): Restore output position after a _Pragma.
11496 (cpp_push_buffer): Don't set output line or lineno.
11497 (_cpp_pop_buffer): Transfer more info from a faked buffer.
11498 Remove line kludge. Set output_line.
11499 * cppmacro.c (builtin_macro): Update handling of __LINE__.
11500 (parse_arg): Use logical lines.
11501 (save_lookahead_token): Save EOFs too now.
11502 * cppmain.c (struct printer): Fix comments.
11503 (printer_init): Simplify, let caller do errors.
11504 (scan_translation_unit, check_multiline_token, dump_macro): Update.
11505 (maybe_print_line): Simplify.
11506 (print_line): Don't print a linemarker if -P.
11507 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
11508 (cb_file_change): Simplify.
11509 * line-map.h (LAST_SOURCE_LINE): Fix.
11510 (CURRENT_LINE_MAP): New.
11512 2001-08-05 Bernd Schmidt <bernds@redhat.com>
11514 * doloop.c (doloop_modify_runtime): Properly compute number of
11515 iterations if loop was unrolled.
11517 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
11518 if their CSELIB_VAL_PTRs are.
11520 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
11521 (setup_spill_pointers): Initialize it.
11522 (spill_restore_mem): Set it.
11523 (do_spill, do_restore): Use it to add REG_INC note.
11524 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
11526 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
11527 asms if other insns are available.
11529 * config/ia64/ia64.c (condop_operator): New predicate.
11530 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
11531 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
11534 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
11535 temporary register than directly using a MEM.
11537 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11539 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
11540 parameter in last change.
11542 2001-08-04 Zack Weinberg <zackw@panix.com>
11544 * sparc.md: Don't use #if inside C test expression.
11546 2001-08-04 Richard Henderson <rth@redhat.com>
11548 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
11550 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
11552 * cpphash.h (struct cpp_reader): New member directive_line.
11553 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
11554 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
11555 do_pragma): Pass line to callbacks.
11556 (start_directive): Record line of directive.
11557 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
11558 cb_include): Similarly.
11559 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
11562 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11564 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
11567 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
11569 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
11571 * reload1.c (fixup_abnormal_edges): New static function.
11574 * flow.c (need_fake_edge_p): New function.
11575 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
11576 avoid call insn to be very last insn in the insn stream.
11578 * profile.c (branch_prob): Call flow_call_edges_add instead of
11579 doing that by hand; cleanup cfg to re-merge basic blocks once
11582 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11584 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
11585 are also on line-map.h.
11586 * cppfiles.c (stack_include_file): Update.
11587 * cpphash.h (struct cpp_buffer): New member return_at_eof.
11588 (_cpp_pop_buffer): New.
11589 * cppinit.c (cpp_destroy, cpp_finish): Update.
11590 (do_includes): Mark each buffer to return at EOF.
11591 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
11592 return as requested.
11593 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
11594 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
11595 * cpplib.h (cpp_pop_buffer): Remove.
11596 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
11597 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
11599 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
11601 (do_preprocessing): Update.
11602 * fix-header.c (read_scan_file): Update. No need to pop buffers.
11603 * c-parse.in (_yylex): Similarly.
11604 * scan-decls.c (scan_decls): Similarly.
11605 * line-map.h: Update comments.
11607 * objc/Make-lang.in (objc-act.o): Update dependencies.
11609 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11611 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
11612 and soft register for operand 0.
11613 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
11615 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11617 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
11618 register for operand 0.
11619 ("bitcmpqi_z_used"): Allow memory for operand 0.
11620 (split "bitcmpqi"): New split to handle address reg as operand 1.
11622 2001-08-04 Andreas Jaeger <aj@suse.de>
11624 * gcse.c: Revert Daniel's last patch.
11626 2001-08-03 Zack Weinberg <zackw@stanford.edu>
11628 * sparc-protos.h: Add prototypes for fp_zero_operand and
11630 * sh-protos.h: Add prototype for fpul_operand.
11632 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
11634 * doc/extend.texi (Other Builtins): Fix typo in last change.
11636 2001-08-03 Richard Henderson <rth@redhat.com>
11638 * target.h (gcc_target): Add asm_out.named_section,
11639 section_type_flags, have_named_sections.
11640 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
11641 (TARGET_HAVE_NAMED_SECTIONS): New.
11642 (TARGET_SECTION_TYPE_FLAGS): New.
11644 * Makefile.in (toplev.o): Depend on TARGET_H.
11645 (varasm.o, dbxout.o): Likewise.
11646 * c-common.c (decl_attributes): Check targetm.have_named_sections
11647 instead of ifdef ASM_OUTPUT_SECTION_NAME.
11648 * dbxout.c (dbxout_function_decl): Likewise.
11649 (dbxout_function_end): Likewise.
11650 * toplev.c (compile_file): Likewise.
11651 * varasm.c (exception_section): Likewise.
11652 * cp/decl2.c (finish_objects): Likewise.
11654 * defaults.h (EH_FRAME_SECTION): Remove.
11655 (EH_FRAME_SECTION_ASM_OP): Remove.
11656 (EH_FRAME_SECTION_NAME): New.
11657 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
11658 (UNIQUE_SECTION_P): Remove.
11659 * dwarf2out.c (SECTION_FORMAT): Remove.
11660 (ASM_OUTPUT_SECTION): Remove.
11661 (output_call_frame_info): Use named_section_flags.
11662 (output_comp_unit, dwarf2out_start_source_file): Likewise.
11663 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
11664 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
11665 * varasm.c (in_eh_frame, eh_frame_section): Remove.
11666 (named_section_flags): New.
11667 (named_section): Use it and targetm.section_type_flags.
11668 (resolve_unique_section): New.
11669 (assemble_start_function): Use it.
11670 (asm_emit_uninitialised, assemble_variable): Likewise.
11671 (default_section_type_flags): New.
11672 (default_no_named_section, default_elf_asm_named_section): New.
11673 (default_coff_asm_named_section, default_pe_asm_named_section): New.
11674 * output.h: Update varasm.c decls.
11675 (SECTION_*): New flags.
11677 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
11678 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
11680 * config/elfos.h (UNIQUE_SECTION_P): Remove.
11681 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
11682 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
11683 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
11684 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
11685 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
11686 * config/mips/elf.h, config/mips/elf64.h: Likewise.
11687 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
11688 * config/pa/pa64-hpux.h,
11690 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
11691 (TARGET_ASM_NAMED_SECTION): New.
11692 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
11693 * config/alpha/vms.h, config/arm/coff.h: Likewise.
11694 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
11695 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
11696 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
11697 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
11698 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
11699 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
11700 * config/i386/sco5.h, config/i386/win32.h: Likewise.
11701 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
11702 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
11703 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
11704 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
11705 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
11706 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
11707 * config/sparc/sysv4.h: Likewise.
11709 * config/nextstep.h: Error until named sections implemented.
11711 * config/a29k/a29k.c (a29k_asm_named_section): New.
11712 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
11713 (vms_section_type_flags, vms_asm_named_section): New.
11714 * config/arm/arm.c (arm_elf_asm_named_section): New.
11715 * config/avr/avr.c (asm_output_section_name): Remove.
11716 * config/avr/avr-protos.h: Update.
11717 * config/c4x/c4x.c (c4x_asm_named_section): New.
11718 * config/h8300/h8300.c (h8300_asm_named_section): New.
11719 * config/i386/i386.c (sco_asm_named_section): New.
11720 * config/i386/winnt.c (SECTION_PE_SHARED): New.
11721 (i386_pe_section_type_flags): New.
11722 (i386_pe_asm_named_section): New.
11723 * config/i386/i386-protos.h: Update.
11724 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
11725 * config/mcore/mcore.c (mcore_asm_named_section): New.
11726 * config/mips/mips.c (iris6_asm_named_section): New.
11727 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
11728 instead of UNIQUE_SECTION_P.
11729 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
11730 (xcoff_asm_named_section): New.
11731 * config/sh/sh.c (sh_asm_named_section): New.
11732 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
11734 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
11735 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
11736 (EH_FRAME_SECTION_NAME): New.
11737 (EXCEPTION_SECTION): New.
11738 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
11739 (DEBUG_*_SECTION): Remove.
11740 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
11741 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
11742 (EH_FRAME_SECTION_ASM_OP): Remove.
11744 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
11745 (ASM_OUTPUT_SECTION_NAME): Remove.
11746 (TARGET_ASM_NAMED_SECTION): New.
11747 (TARGET_HAVE_NAMED_SECTIONS): New.
11748 (TARGET_SECTION_TYPE_FLAGS): New.
11749 (EH_FRAME_SECTION_ASM_OP): Remove.
11750 (EH_FRAME_SECTION_NAME): New.
11752 2001-08-03 Zack Weinberg <zackw@stanford.edu>
11754 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
11755 for complex expressions when cfun == 0.
11756 * doc/extend.texi: Document that __builtin_constant_p can be
11757 used in data initializers as well as functions.
11759 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
11761 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
11762 variable I locally, instead of expecting a declaration in the
11765 2001-08-03 Richard Henderson <rth@redhat.com>
11767 * except.c (collect_one_action_chain): Add an explicit cleanup
11768 action if regions surrounding a catch were encoded entirely
11769 within the call-site entry.
11771 2001-08-03 Richard Henderson <rth@redhat.com>
11773 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
11774 don't take REGNO of a non-register.
11776 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
11778 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
11779 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
11780 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
11781 (__gthread_mutex_init_function): New function for mutex initialization.
11783 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11785 * Makefile.in: Revert screwed up commit.
11787 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11789 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
11790 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
11791 merged by linker script to get a final _exit().
11792 (__do_global_dtors): New for destructor handling in specific exit
11794 (__do_global_ctors): New for constructors in specific install section.
11795 (__map_data_section): Map data sections before running constructors.
11796 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
11797 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
11798 (DTORS_SECTION_ASM_OP): Likewise.
11799 (CTORS_SECTION_FUNCTION): Define to force a reference to
11801 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
11803 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11805 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
11807 * Makefile.in: Add df.h to gcse.c dependencies.
11809 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
11811 * varasm.c (output_constant_def_contents): Use for the length of a
11812 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
11813 depending on which is larger.
11815 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
11817 * gcse.c: Include df.h for use as a dataflow analyzer.
11819 Declaration of reg_set_info: gone.
11820 New df_analyzer variable used by store motion.
11821 (reg_set_info): Deleted.
11822 (mark_mem_regs): New function, analyze regs used by a mem.
11823 (store_ops_ok): Use dataflow analyzer results to determine if
11824 necessary regs are changed in the block.
11825 (find_moveable_store): Remove check for symbol ref, we can handle
11826 much more complex expressions now.
11827 (compute_store_table): Remove most of the code, it's unnecessary
11828 now that the dataflow analyzer records the info for us.
11829 (store_killed_after): Add parameter to say whether to do the
11830 store_ops_okay test, used to speed up testing when we already know
11831 the answer, and just want to know if the store itself was killed.
11832 (build_store_vector): Largely rewritten to calculate the various
11833 vectors properly, and somewhat optimized.
11834 (store_motion): Init the df_analyzer, get REG_DEF chains.
11835 Also handle trapping expressions (since mems almost always trap)
11836 (simple_mem): Redefine what a simple mem is.
11838 2001-08-03 DJ Delorie <dj@redhat.com>
11840 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
11841 set from a constant part of the condition.
11843 2001-08-01 Andrew Cagney <ac131313@redhat.com>
11845 * mkdeps.c (deps_add_default_target): Make local variable
11846 ``start'' a const char pointer.
11847 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
11849 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11851 * doc/install.texi (Configuration): Fix markup.
11852 (Specific, i?86-*-udk): Likewise.
11853 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
11855 Document --enable-threads and --enable-libgcj status.
11856 (Specific, mips-sgi-irix*): Canonicalize triples.
11857 (Specific, mips-sgi-irix5): Warn about problems with this config.
11858 Mention required GNU as patch.
11859 Native assembler problems are fixed.
11860 (Specific, mips-sgi-irix6): Update O32 ABI support status.
11861 Document --enable-threads and --enable-libgcj status.
11863 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11865 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
11868 2001-08-03 Richard Henderson <rth@redhat.com>
11870 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
11873 2001-08-03 Richard Henderson <rth@redhat.com>
11875 * rtlanal.c (find_first_parameter_load): Stop if we
11876 reach a CODE_LABEL at BOUNDARY.
11878 2001-08-03 Richard Henderson <rth@redhat.com>
11880 * config/alpha/alpha.md (force_movdi): New insn.
11881 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
11882 Tweek FRP marking of VMS prologue insns.
11883 * config/alpha/vms.h (EPILOGUE_USES): New.
11885 2001-08-02 Richard Henderson <rth@redhat.com>
11887 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
11889 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
11891 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
11892 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
11893 config/convex/convex.h, config/d30v/d30v.c,
11894 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
11895 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
11896 config/mips/mips.h, config/mn10200/mn10200.h,
11897 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
11898 config/v850/v850.h, config/vax/openbsd.h,
11899 config/vax/openbsd1.h, config/vax/ultrix.h,
11900 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
11901 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
11902 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
11903 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
11904 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
11905 in comments and documentation.
11907 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
11911 * Makefile.in (line-map.o): New.
11912 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
11913 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
11914 * cpperror.c (print_containing_files): Similarly.
11915 (print_location): Update. Don't output a space before _Pragma.
11916 * cppfiles.c (stack_include_file): Set to line 1 immediately.
11917 (stack_include_filee, cpp_make_system_header): Update.
11918 (_cpp_execute_include): Get logical line number right for calling
11919 as-yet-unterminated #include.
11920 * cpphash.h (struct cpp_reader): Add line_maps.
11921 (_cpp_do_file_change): Update.
11922 * cppinit.c (cpp_create_reader): Initialize line maps.
11923 (cpp_destroy): Destroy line maps.
11924 (cpp_start_read): Get logical line number right.
11925 * cpplex.c (parse_string): Only warn once for multi-line strings.
11926 Use boolean variable for null warning.
11927 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
11929 (do_include_common): End the directive early.
11930 (do_line): Don't warn about out-of-range lines in preprocessed
11931 source. Update. Remove unused variables.
11932 (_cpp_do_file_change): Update for new line mapping.
11933 (pragma_cb): New typedef.
11934 (cpp_register_pragma): Stop looking ahead before calling the
11936 (do_pragma_system_header): End directive early.
11937 (cpp_get_line_maps): New.
11938 (cpp_pop_buffer): Fudge logical line. Update.
11939 * cpplib.h: Include line-map.h
11940 (enum cpp_fc_reason): Remove.
11941 (struct cpp_file_change): Update.
11942 (cpp_get_line_maps): New.
11943 * cppmain.c (struct_printer): New member map.
11944 (cb_file_change): Update for new mappings.
11945 * fix-header.c (cb_file_change): Similarly.
11947 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11949 * Makefile.in (libgcc.mk): Define mkinstalldirs.
11950 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
11952 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
11954 * config/vax/vax.c: include expr.h.
11956 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
11958 * Makefile.in ($(srcdir)/configure): Only rebuild in
11960 ($(srcdir)/config.in): Only define in maintainer mode.
11961 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
11963 2001-08-02 David Edelsohn <edelsohn@gnu.org>
11965 * doc/install.texi (Install GCC: Binaries): Update Bull info.
11967 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11969 * gcc.c (set_collect_gcc_options): New function, split out from
11971 Ignore elided switches.
11972 (do_spec_1): Invoke before executing command.
11973 (set_input): Export.
11974 Move declaration ...
11975 * gcc.h (set_input): ... here.
11976 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11979 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
11982 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
11984 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
11986 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
11988 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
11989 for the unnamed instructions it expands to.
11991 2001-08-02 Richard Henderson <rth@redhat.com>
11993 * regclass.c (call_really_used_regs): Conditionally define.
11994 (init_reg_sets_1): Don't use it if not defined.
11995 (fix_register): Similarly, don't set it.
11997 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11999 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
12000 Correct comment that had been missed in the previous change.
12002 2001-08-01 Stan Shebs <shebs@apple.com>
12004 * config/darwin.c (machopic_stub_name): Try matching by name.
12005 (update_stubs): New function.
12006 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
12009 2001-08-01 Richard Henderson <rth@redhat.com>
12011 * except.c (output_function_exception_table): Use assemble_align.
12012 * varasm.c (assemble_eh_label): Remove.
12013 (assemble_eh_align, assemble_eh_integer): Remove.
12015 2001-08-01 Robert Lipe <robertl@caldera.com>
12017 * dwarfout.c: Remove reference to README.DWARF.
12019 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
12021 * regclass.c (call_really_used_regs): New array for registers which
12022 are actually used by a call.
12023 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
12025 (fix_register): Set call_really_used too.
12026 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
12027 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
12029 2001-08-01 Richard Henderson <rth@redhat.com>
12031 * read-rtl.c (read_name): Consider \r whitespace.
12033 2001-07-11 Andrew Cagney <ac131313@redhat.com>
12035 * config.gcc: Recognize powerpc-*-netbsd*.
12037 * doc/install.texi (Host/target specific installation notes for
12038 GCC): Mention powerpc-*-netbsd*.
12040 * config/rs6000/netbsd.h: New file.
12041 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
12042 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
12043 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
12044 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
12045 (TARGET_VERSION): Redefine.
12047 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
12048 mcall-netbsd as a match for mcall-sysv.
12049 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
12050 (ncrti.S, ncrtn.S): New targets.
12051 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
12053 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
12054 "netbsd' as a V4 ABI.
12055 (ASM_SPEC): Check for -mcall-netbsd.
12056 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
12057 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
12058 (LIB_SPEC, ENDFILE_SPEC): Ditto.
12059 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
12060 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
12061 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
12062 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
12064 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
12065 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
12067 2001-08-01 Mark Kettenis <kettenis@gnu.org>
12069 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
12070 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
12071 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
12072 including "unwind-pe.h".
12074 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
12076 * rs6000.md (define_splits): Kill unused constraints.
12078 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
12079 Jan Hubicka <jh@suse.cz>
12081 * function.c (thread_prologue_and_epilogue_insns): Kill code
12082 dealing with non-existent CFG.
12084 2001-08-01 Kazu Hirata <kazu@hxi.com>
12086 * alias.c: Fix comment formatting.
12087 * bitmap.c: Likewise.
12088 * builtins.c: Likewise.
12089 * calls.c: Likewise.
12090 * c-common.c: Likewise.
12091 * c-decl.c: Likewise.
12092 * c-dump.c: Likewise.
12093 * c-lex.c: Likewise.
12094 * collect2.c: Likewise.
12095 * combine.c: Likewise.
12096 * conflict.c: Likewise.
12097 * cppfiles.c: Likewise.
12098 * cppinit.c: Likewise.
12099 * cpplex.c: Likewise.
12100 * cpplib.c: Likewise.
12101 * cppmacro.c: Likewise.
12102 * cppspec.c: Likewise.
12103 * c-pragma.c: Likewise.
12104 * crtstuff.c: Likewise.
12106 * cselib.c: Likewise.
12107 * c-semantics.c: Likewise.
12108 * c-typeck.c: Likewise.
12110 2001-08-01 H.J. Lu <hjl@gnu.org>
12112 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
12114 2001-08-01 H.J. Lu <hjl@gnu.org>
12116 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
12118 2001-08-01 Ziemowit Laski <zlaski@apple.com>
12120 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
12121 contextualizing Objective-C class name lookup by the lexer.
12122 (typespec_reserved_nonattr): Disable ObjC class name lookup after
12124 (protocoldef): Add support for forward @protocol declarations.
12125 (yylexname): Suppress ObjC class name lookup in certain contexts;
12126 re-enable after lookup is complete.
12127 (_yylex): Re-enable ObjC class name lookup when certain
12128 punctuation marks are seen.
12130 * objc/objc-act.c (check_protocol_recursively): New function used
12131 for finding circular dependencies in protocols.
12132 (objc_declare_protocols): New function for handling forward
12133 @protocol declarations.
12134 (receiver_is_class_object): Detect the case when 'self' is used
12135 inside of a class method.
12136 (build_message_expr): Issue a warning if class method is desired
12137 but instance method is found instead.
12138 (conforms_to_protocol): Streamline.
12139 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
12140 protocol Foo, even if 'Bar foo' does not.
12141 (check_protocols): Streamline.
12142 (start_protocol): Add checks for circular and duplicate protocol
12144 (encode_aggregate_within): For typedefs of structs, encode the
12146 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
12147 (objc_declare_protocols): New prototype.
12149 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12151 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
12152 * cpplex.c (handle_newline): Update prototype. Maintain logical
12154 (skip_escaped_newlines, skip_block_comment, parse_string):
12155 Update accordingly.
12156 (_cpp_lex_token): Update, and store token position within the token.
12157 * cpplib.h (struct cpp_token): Add line and column entries.
12158 * cppmacro.c (replace_args): Position stringified tokens correctly.
12160 2001-08-01 Andreas Jaeger <aj@suse.de>
12162 * basic-block.h: Add prototype for last_loop_beg_note.
12164 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
12166 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
12167 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
12169 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
12170 while handling WITH_CLEANUP_EXPR node. Use second operand calling
12171 expand_decl_cleanup.
12172 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
12174 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
12175 operand while calling simple_cst_equal.
12176 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
12177 operand is the cleanup expression, the third is the RTL_EXPR.
12178 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
12180 2001-07-31 Jeff Sturm <jsturm@one-point.com>
12182 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
12184 2001-07-31 matthew green <mrg@eterna.com.au>
12186 * config.gcc (i386-*-netbsdelf): New description.
12187 * config/i386/netbsd-elf.h: New file.
12189 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
12191 * loop.c (check_dbra_loop): Use single_set to compute
12194 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
12196 PowerPC reorg and support for powerpc64-*-linux*.
12198 Also fixes emitting of constants on 32 bit and 64 bit
12201 * config.gcc: powerpc64-*-linux* is a new target.
12202 Things that needed aix.h now also include xcoff.h
12204 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
12206 Move AIX specific stuff into aix.h.
12207 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
12208 with more than just XCOFF now.
12209 (SET_ASM_OP): Remove, now defined where needed.
12210 (FUNCTION_PROLOGUE): New macro definition.
12211 (FUNCTION_EPILOGUE): New macro definition.
12212 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
12214 * config/rs6000/xcoff.h: New file.
12216 * config/rs6000/linux64.h: New file.
12218 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
12220 2001-07-31 Alan Modra <amodra@bigpond.net.au>
12222 * rs6000.c (print_operand_address): Handle ELF syntax.
12223 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
12224 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
12225 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
12227 2001-07-31 David Edelsohn <edelsohn@gnu.org>
12229 * rs6000.c (rs6000_override_options): Only disable
12230 flag_function_sections for XCOFF.
12231 (exact_log2_cint_operand): New predicate.
12232 (reg_or_{add,sub}_cint64_operand): New predicates.
12233 (add_operand): Compare CONST_INT with fewer function calls.
12234 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
12235 (print_operand, case 'p'): Ensure positive operand.
12236 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
12237 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
12238 (PREDICATE_CODES): Add new predicates.
12239 * rs6000.md (addsi3): Split 32-bit constants more correctly.
12240 (divsi3, modsi3): Ensure positive power-of-2.
12241 (adddi3): Use new predicate. Split 32-bit constants more
12242 correctly. Re-arrange splitter to handle any constant.
12243 (subdi3): Use new predicate.
12244 (divdi3, moddi3): Ensure positive power-of-2.
12245 (movdi): Use rs6000_emit_set_const.
12246 (load_toc_v4_pic_di): Delete.
12248 2001-07-31 Graham Stott <grahams@redhat.com>
12250 * function.c (pad_below): Revert 2001-07-26 patch.
12252 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12254 * reg-stack (convert_regs_1): Fix best edge condition.
12256 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
12258 * jump.c (duplicate_loop_exit_test): Better test for jumps
12259 entering the loop; create loop pre_header.
12261 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
12263 * doc/install.texi: Add s390 and s390x as new targets.
12264 * doc/invoke.texi: Add documentation of S/390 and zSeries
12266 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
12268 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
12270 * config/m68k/m68k.md: Replace all general_operand with
12271 nonimmediate_operand for all destinations.
12272 * config/m68k/m68k.c (not_sp_operand): Likewise.
12274 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
12276 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
12278 2001-07-30 Richard Henderson <rth@redhat.com>
12280 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
12281 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
12283 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
12285 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
12286 Add missing doc strings
12287 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
12288 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
12290 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
12292 * i386.c (ix86_output_main_function_alignment_hack): New function.
12293 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
12295 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
12296 edges by EDGE_DFS_BACK flag.
12297 (dump_edge_info): Add dfs_back flag.
12298 * basic-block.h (EDGE_DFS_BACK): New constant.
12299 (mark_dfs_back_edges): Declare.
12300 * alias.c (loop_p): Remove.
12301 (mark_constant_function): Use mark_dfs_back_edges.
12303 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
12304 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
12305 (compensate_edge): Break out from ...
12306 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
12307 (convert_regs_2): Set block_done once block is really done;
12308 Do updating of the predecessors counts.
12310 * toplev.c (rest_of_compilation): Recompute block_for_insn
12311 before post-reload cfg_cleanup.
12312 * function.c (thread_prologue_epilogue_insns):
12313 Call set_block_for_new_insns when emitting prologue directly.
12315 2001-07-30 Andreas Jaeger <aj@suse.de>
12317 * jump.c: Add prototype for mark_modified_reg.
12319 * cse.c (set_live_p): Add unused attribute.
12321 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
12323 (scan_for_source_files): Use long for count to avoid overflow.
12324 (output_data): Likewise.
12325 (output_data): Don't use string concatatenation to silence gcc
12328 * predict.c: Fix typos and grammar.
12330 * gcse.c (insert_insn_end_bb): Remove unused variables.
12332 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
12334 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
12335 (attempt_auto_inc): LIkewise.
12336 (mark_used_reg): Likewise.
12337 (try_pre_increment_1): Likewise.
12338 * regclass.c (regclass): Likewise.
12339 * global.c (allocno_compare): Update comment; change scaling factor.
12340 * local-alloc.c (QTY_CMP_PRI): Likewise.
12341 * regs.h (REG_FREQ_FROM_BB): New.
12342 (REG_FREQ_MAX): Likewise.
12344 2001-07-30 H.J. Lu <hjl@gnu.org>
12346 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
12349 2001-07-30 H.J. Lu (hjl@gnu.org)
12351 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
12352 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
12353 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
12355 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
12357 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
12358 as -mthumb-interwork when -mcpu=arm7 is specified.
12360 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12362 * predict.def (noreturn, loop branch, loop exit): Mark as first
12365 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
12367 * combine.c (try_combine): Avoid barrier after noop jumps.
12369 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12371 * cpphash.h (struct cpp_reader): Remove import_warning.
12372 * cpplib.c (skip_rest_of_line): Don't bother turning off
12374 (parse_include): Move include handling to...
12375 (do_include_common): ... here. Move import warning from...
12376 (do_import): ... here.
12377 (do_pragma_poison): Don't do a callback for poison identifiers.
12378 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
12379 * cppmain.c (setup_callbacks): Similarly.
12381 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
12383 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
12384 handle multiple sets.
12385 * except.c (sjlj_mark_call_sites): .... here.
12386 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
12388 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
12390 Suggested by Richard Henderson and Richard Kenner:
12391 * combine.c (recog_for_combine): Use the fake recog
12392 only if instruction does not match.
12393 * rtl.h (NOOP_MOVE_INSN_CODE): New.
12394 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
12396 * combine.c (try_combine): Discover noop jump as direct jump.
12398 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
12400 * df.c (df_rd_global_compute): Add successors to worklist, not
12402 (df_ru_global_compute): Ditto.
12404 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
12406 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
12407 increment REG_N_SETS.
12409 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
12411 * sbitmap.h: New prototype for sbitmap_a_xor_b.
12413 * sbitmap.c (sbitmap_a_xor_b): New function.
12414 ifdef the basic block stuff on IN_GCC.
12416 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12418 * cppexp.c (parse_defined): Always record the macro name.
12419 (lex): Don't worry about identifiers, or special-case
12421 (_cpp_parse_expr): Figure out at the end of the routine
12422 whether we saw a valid !defined() expression.
12423 * cppfiles.c (stack_include_file): Update for mi_valid.
12424 (_cpp_pop_file_buffer): Similarly.
12425 * cpplex.c (_cpp_lex_token): Similarly.
12426 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
12427 mi_if_not_defined, mi_lexed): Remove.
12429 * cpplib.c (do_if): Simplify.
12430 (do_endif, push_conditional, _cpp_handle_directive): Update
12431 for renaming of mi_state to mi_valid.
12433 * cpp.texi: Add index entries for digraphs, and add comment
12434 that C++ refers to them as alternative tokens.
12436 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
12438 * basic-block.h (CLEANUP_PRE_LOOP): New.
12439 * except.c (finish_eh_generation): Update call of cleanup_cfg.
12440 * sibcall.c (optimize_sibling_calls): Likewise.
12441 * toplev.c (rest_of_compilation): Likewise.
12442 * flow.c (try_forward_edges): Take argument MODE;
12443 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
12444 (try_optimize_cfg): Update call of try_forward_edges.
12446 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
12447 Jan Hubicka <jh@suse.cz>
12449 * (validate_replace_rtx_1): Fix simplification of MINUS.
12451 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
12453 PR preprocessor/3669
12454 * cppinit.c (init_dependency_output): Turn off dump requests
12455 if sending dependencies to stdout.
12457 2001-07-28 Richard Henderson <rth@redhat.com>
12459 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
12462 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
12464 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
12466 2001-07-28 Kazu Hirata <kazu@hxi.com>
12468 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
12469 is VAR_DECL first to prevent an ICE.
12471 2001-07-28 Richard Henderson <rth@redhat.com>
12473 * varasm.c (immed_real_const_1): Don't elide special cases for
12475 (clear_const_double_mem): Clear const_tiny_rtx too.
12477 2001-07-28 Richard Henderson <rth@redhat.com>
12479 * dwarf2out.c (dw_val_class_offset): New.
12480 (struct dw_ranges_struct, dw_ranges_ref): New.
12481 (ranges_table, ranges_table_allocated): New.
12482 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
12483 (add_AT_offset, add_ranges, output_ranges): New.
12484 (print_die, output_die): Handle dw_val_class_offset.
12485 (attr_checksum, size_of_die, value_format): Likewise.
12486 (gen_lexical_block_die): Handle non-contiguous blocks.
12487 (gen_block_die): Likewise.
12488 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
12489 if needed. Dump the ranges table.
12490 * final.c (final_start_function): Remove unnecessary notes and
12491 rebuild the block tree before numbering the blocks.
12492 * function.c (reorder_blocks_0): Walk the existing block tree
12493 to unmark all blocks.
12494 (reorder_blocks_1): Create block fragments when duplicate block
12496 (reorder_fix_fragments): New.
12497 (reorder_blocks): Call it.
12498 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
12500 2001-07-28 Richard Henderson <rth@redhat.com>
12502 * emit-rtl.c (adjust_address): Make a copy of the memory address.
12504 2001-07-28 Richard Henderson <rth@redhat.com>
12506 * flow.c (add_to_mem_set_list): New function.
12507 (init_propagate_block_info): Use it.
12508 (mark_set_1): Likewise.
12509 (insn_dead_p): Canonicalize memory address for dead store
12510 comparison. Allow wider mode stores to kill narrower mode stores.
12511 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
12512 (invalidate_mems_from_set): Don't handle MEMs.
12514 2001-07-28 Kazu Hirata <kazu@hxi.com>
12516 * config/h8300/h8300.h: Fix formatting.
12518 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
12520 * basic-block.h (EDGE_FREQUENCY): New macro.
12521 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
12523 * flow.c (find_sub_basic_blocks): Likewise.
12524 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
12525 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
12527 * predict.c (DEF_PREDICTOR): New argument FLAGS.
12528 (HITRATE): New macro.
12529 (PRED_FLAG_FIRST_MATCH): New constant.
12530 (predictor_info): New field flgags.
12531 (combine_predictions_for_insn): Use DS theory to combine
12532 probabilities; set the edge probabilities when finished.
12533 (estimate_probability): Avoid duplicated matches
12534 of LOOP_BRANCH heuristics for nested loops; update comment.
12535 * predict.def: Add flags for each prediction, set probabilities
12536 according to B&L paper.
12537 * predict.h (DEF_PREDICTOR): New argument FLAGS.
12539 * profile.c (compute_branch_probabilities): Cleanup way the edge
12540 probabilities are computed and REG_BR_PROB notes are dropped; if
12541 values does not match, emit error.
12542 (init_branch_prob): Do error instead of warning when profile driven
12543 feedback is missing or corrupt.
12545 2001-07-27 DJ Delorie <dj@redhat.com>
12547 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
12548 against a constant, try to adjust the compare to have the desired
12549 constant in it so that min/max optimizations happen more often.
12551 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
12553 * flow.c (last_loop_beg_note): New function.
12554 (redirect_edge_and_branch): Use it.
12555 (split_edge): Likewise.
12557 * alias.c (loop_p): Avoid uninitialized memory access.
12559 * flow.c (try_forward_edges): Avoid accessing freed memory.
12561 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
12564 2001-07-26 Andrew Haley <aph@redhat.com>
12565 Joern Rennecke <amylaar@redhat.com>
12567 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
12568 (SUBTARGET_CPP_ENDIAN_SPEC): New.
12569 (SUBTARGET_CPP_SPEC): New.
12570 (CPP_SPEC): Remove.
12571 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
12572 (SUBTARGET_CPP_PTR_SPEC): New.
12573 (CPP_DEFAULT_CPU_SPEC): New.
12574 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
12575 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
12576 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
12577 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
12578 (SUBTARGET_CPP_SPEC): Define as an empty string.
12580 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12582 * doc/install.texi (Configuration): Properly link the host
12583 specific instructions also when generating HTML.
12585 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
12587 * flow.c (redirect_edge_and_branch_force): Test
12588 target->global_live_at_start.
12590 2001-07-26 Richard Henderson <rth@redhat.com>
12592 * simplify-rtx.c (avoid_constant_pool_reference): Export.
12593 * rtl.h (avoid_constant_pool_reference): Declare it.
12594 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
12595 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
12597 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
12599 * rtl.h (cleanup_barriers): Declare.
12600 * jump.c (cleanup_barriers): New function.
12601 * toplev.c (rest_of_compilation): Call cleanup_barriers
12602 before loop optimizer and after bb_reorder.
12604 * flow.c (back_edge_of_syntactic_loop_p): New.
12605 (split_edge): Use it.
12607 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12609 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
12611 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
12613 * cse.c (cse_process_notes): Replace any registers if the address
12616 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
12618 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
12619 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
12620 (propagate_block): Update prototype.
12621 * flow.c (update_life_info): Simplify the CFG and
12622 recalculate the global regs which are alive when
12623 removing dead code during a global update.
12624 (propagate_block): Return non-zero if an INSN is
12627 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12629 * Makefile.in (LIBICONV): Define.
12631 2001-07-26 Catherine Moore <clm@redhat.com>
12633 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
12634 of conditional to avoid tree checking errors.
12636 2001-07-26 Kazu Hirata <kazu@hxi.com>
12638 * regmove.c (regmove_optimize): Don't replace a reg with
12639 another reg of a different mode.
12641 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
12643 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
12644 limit length of dependency flush list.
12645 * params.h (MAX_PENDING_LIST_LENGTH): Define.
12646 * sched-int.h (struct deps): Add pending_flush_length field.
12647 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
12648 has 1 element in it.
12649 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
12650 (sched_analyze): After a jump, if the pending memory flush list is too
12651 large, flush the pending lists.
12652 (init_deps): Initialize pending_flush_length to 0.
12653 * doc/invoke.texi (max_pending_list_length): Document parameter.
12655 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
12657 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
12658 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
12659 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
12661 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12663 * cpphash.h (struct_lexer_state): Delete was_skipping.
12664 Move skipping here from struct cpp_reader.
12665 * cpplex.c (parse_identifier): Update.
12666 (_cpp_lex_token): Don't skip tokens in a directive.
12667 * cpplib.c (struct if_stack): Update.
12668 (start_directive, end_directive): Don't change skipping state.
12669 (_cpp_handle_directive): Update.
12670 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
12671 (do_else, do_endif): Update; only check for excess tokens if not
12672 in a skipped conditional block.
12673 (push_conditional): Update for new struct if_stack.
12675 2001-07-26 Graham Stott <grahams@redhat.com>
12677 * function.c (locate_and_pad_parm): Also pad initial offset
12678 so that the total argument size also includes the padding.
12680 2001-07-26 Graham Stott <grahams@redhat.com>
12682 * gensupport.c (alter_output_for_insn): Correct enable checking failure
12683 change XSTR to XTMPL.
12685 (process_one_cond_exec): Likewise
12687 2001-07-25 Richard Henderson <rth@redhat.com>
12689 * varasm.c (assemble_variable): Create DECL_RTL before setting
12692 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
12694 * predict.c (estimate_probability): Avoid duplicated predictions.
12696 * loop.c (find_and_verify_loops): Grok multiple barriers.
12698 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12700 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
12702 * dbxout.c: Consistently use putc instead of fputc.
12703 (print_wide_int): New function; call instead of direct fprintf.
12704 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
12705 (dbxout_type_fields, dbxout_type_method_1): Likewise.
12706 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
12707 (print_int_cst_octal): Likewise.
12708 (print_octal): Show we wrote characters.
12709 (dbxout_type): Set have_used_extensions in more places.
12711 2001-07-25 Catherine Moore <clm@redhat.com>
12713 * config/v850/v850.c (v850_va_arg): Use addr
12714 instead of valist to build incr.
12716 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
12718 * flow.c (delete_dead_jumptables): New function.
12719 (life_analyzis): Call it.
12720 * bb-reorder.c (skip_insns_after_block): Handle contradictory
12723 2001-07-25 Richard Henderson <rth@redhat.com>
12725 * except.c (reachable_handlers): Handle a region being removed
12726 out from under a RESX.
12728 2001-07-25 Richard Henderson <rth@redhat.com>
12730 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
12731 swap GE/GT if it is an fp comparison.
12733 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
12735 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
12738 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
12740 * ssa.c (rename_insn_1): Do not wrap an assignment to a
12741 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
12744 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
12745 throw an exception.
12746 (visit_expression): When attempting to simplify an expression,
12747 retrieve any modes for arguments before they are simplified
12750 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
12751 Janis Johnson <janis@us.ibm.com>
12753 * stmt.c (expand_goto): A nonlocal goto can be a call too.
12754 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
12755 pointer parameters to match documented usage of nonlocal_goto.
12756 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
12757 parameters to their correct order.
12758 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
12759 parameters to their correct order.
12761 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
12763 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
12765 2001-07-25 Jan Hubicka <jh@suse.cz>
12766 Richard Henderson <rth@redhat.com>
12768 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
12770 (make_edges): New argument update_p; populate the edge cache if set.
12771 (find_basic_blocks): Update make_edges invocation.
12773 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12775 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
12777 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12779 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
12780 -Acpu and -Amachine.h.
12781 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
12782 Corrected header to say ELF not a.out.
12783 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
12784 when given -msoft-float.
12786 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12788 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
12789 extra multilib parts like arm-elf.
12790 (i960-*-coff*, i960-*-rtems): Should not use collect2.
12791 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
12792 crtfini.o as extra multilib parts.
12794 2001-07-24 Joel Sherrill <joel@OARcorp.com>
12796 * configure.in: Add rtems as a supported thread model.
12797 * gthr-rtems.h: Add missing entry point __gthread_active_p.
12798 * configure: Rebuilt.
12800 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
12802 * stor-layout.c (get_mode_alignment): make it work when
12803 BITS_PER_UNIT is not a power of two.
12804 * builtins.c (get_pointer_alignment): Likewise.
12806 2001-07-24 Richard Henderson <rth@redhat.com>
12808 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
12809 the retrieved constant into the expected mode.
12811 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
12813 * flow.c (try_simplify_condjump): Avoid duplicated edges.
12814 (verify_flow_info): Check for duplicated edges; clarify
12817 * flow.c (block_label): Update basic_block_for_insn.
12818 (commit_edge_insertions): Call compute_bb_for_insn.
12820 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
12823 * flow.c (redirect_edge_and_branch,
12824 try_optimize_cfg): Use redirect_edge_succ_nodup
12825 (redirect_edge_succ_nodup): New.
12826 * basic_block.h (redirect_edge_succ_nodup): Declare.
12828 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
12831 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
12833 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
12834 (try_crossjump_to_edge): Update commetns.
12835 (try_crossjump_bb): Likewise.
12837 2001-07-24 Richard Henderson <rth@redhat.com>
12839 * combine.c (distribute_notes): Move set of need_refresh
12840 for noop_move_p down to catch all cases.
12842 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
12844 * recog.c (split_all_insns_noflow): New.
12845 * rtl.h (split_all_insns_noflow): Declare.
12846 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
12847 * m68hc11.c (m68hc11_reorg): Likewise.
12848 * sh.c (machine_dependent_reorg): Likewise.
12849 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
12852 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
12854 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
12855 (ashlsi3_n splitter): Likewise.
12856 (lshrsi3_n splitter): Likewise.
12858 (GOTaddr2picreg): Make const SImode.
12859 (sym_label2reg): Likewise.
12860 (symGOT2reg): Likewise.
12861 (symGOTOFF2reg) Likewise.
12863 (casesi_worker_0): Make unspec SImode.
12865 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
12867 * config/sh/sh.c (barrier_align): Check that an operand really is
12868 an insn before extracting its INSN_CODE.
12870 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
12872 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
12875 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
12876 for SImode to prevent overflow.
12878 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12880 * config/mips/irix6-libc-compat.c: New file.
12881 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
12882 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
12883 passing workaround.
12885 2001-07-24 lars brinkhoff <lars@nocrew.org>
12887 * rtl.texi (REG_POINTER): Document.
12888 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
12889 QFmode, HFmode, TQFmode, QCmode, and HCmode.
12891 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
12893 * flow.c (delete_noop_moves): Do not confuse libcall regions.
12895 2001-07-23 Richard Henderson <rth@redhat.com>
12897 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
12899 2001-07-23 Kazu Hirata <kazu@hxi.com>
12901 * config/h8300/h8300-protos.h: Add a prototype for
12902 general_operand_dst_push.
12903 * config/h8300/h8300.c (general_operand_dst_push): New.
12904 * config/h8300/h8300.h (OK_FOR_T): New.
12905 (EXTRA_CONSTRAINT): Use it.
12906 * config/h8300/h8300.md (movqi_push): Remove and integrate into
12907 the existing movqi pattern.
12908 (movhi_push): Likewise.
12910 * reload.c: Fix comment typos.
12912 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
12914 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
12916 2001-07-23 H.J. Lu (hjl@gnu.org)
12918 * doc/extend.texi: Update __builtin_return_address and
12919 __builtin_frame_address.
12921 2001-07-23 Richard Henderson <rth@redhat.com>
12923 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
12925 * config/i386/i386.md: New setcc+movzbl peephole2.
12927 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12929 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
12930 * objc/objc-act.c: Include debug.h.
12931 (synth_module_prologue): Save and restore debug hooks too.
12933 2001-07-23 lars brinkhoff <lars@nocrew.org>
12935 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
12936 and C4X_FLOAT_FORMAT.
12937 (BOOL_TYPE_SIZE): Document.
12939 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
12941 * unroll.c (loop_iterations): Fix miscalculation of initial
12944 2001-07-13 Andrew Haley <aph@redhat.com>
12946 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
12947 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
12948 * config/sh/sh.c (sh_can_redirect_branch): New function.
12949 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
12950 * reorg.c (steal_delay_list_from_target): Use
12951 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
12953 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
12955 * flow.c (try_simplify_condjump): Unlink insn chain on
12956 fallthru edge; use can_fallthru.
12958 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
12960 * basic-block.h (find_sub_basic_block): Declare.
12961 * flow.c (make_edges): New arguments MIN and MAX;
12962 (find_sub_basic_blocks): Revamp to use make_edges
12963 and purge_dead_edges.
12964 (find_basic_blocks): Update call of find_sub_basic_block.
12966 * recog.c (split_all_insns): Always expect CFG to be consistent;
12967 call find_sub_basic_blocks in case something has changed.
12968 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
12971 * basic-block.h (delete_noop_moves): Declare.
12972 * combine.c (combine_instructions): Call it.
12973 (recog_for_combine): Tolerate noop moves
12974 (distribute_notes): Force refresh when register dies at noop move.
12975 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
12977 (life_analysis): Update delete_noop_moves call.
12978 (set_noop_p): Move too ...
12979 * rtlanal.c (noop_move_p): ... here.
12980 * rtl.h (noop_move_p): Declare.
12982 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
12983 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
12985 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
12986 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
12988 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
12990 * reload.c (push_reload): Fix typo in comment.
12991 (find_reloads_address): Ditto.
12992 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
12994 2001-07-22 Richard Henderson <rth@redhat.com>
12996 * flow.c: Grammar check and clarify a lot of comments.
12997 (try_simplify_condjump): Rename variables to be clearer.
12998 (try_forward_edges): Skip complex and fallthru edges.
12999 Rearrange tests to avoid duplicate checks.
13000 (flow_find_cross_jump): Likewise.
13001 (outgoing_edges_match): Allow match if neither branch has
13002 probability data. Loosen probability match to 5%.
13003 (try_crossjump_to_edge): Hoist repeated indirection into
13005 (try_crossjump_bb): Don't check complex edges. Eliminate
13006 redundant crossjump tests.
13007 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
13008 checks before more expensive checks.
13010 2001-07-22 Richard Henderson <rth@redhat.com>
13012 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
13013 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
13016 2001-07-22 Richard Henderson <rth@redhat.com>
13018 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
13019 (const_sint32_operand): Likewise.
13020 * m68k.md (anon mulsi pattern): Use const_int_operand not
13021 const_sint32_operand.
13022 (umulsi3_highpart): Zero extend a constant input.
13023 (smulsi3_highpart): Don't bother checking SImode constant.
13024 (const_umulsi3_highpart): Give op3 DImode.
13025 (const_smulsi3_highpart): Likewise.
13027 2001-07-22 Richard Henderson <rth@redhat.com>
13029 * flow.c (split_block): Make sure bb_note is included in the
13030 new block when splitting before a label.
13032 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
13034 * basic-block.h (redirect_edge_and_branch_force,
13035 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
13036 * flow.c (redirect_edge_and_branch_force,
13037 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
13038 (redirect_edge_and_branch_force): Fix copying of lifeness information.
13039 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
13040 * ifcvt.c (dead_or_predictable): Take BB as an new destination
13041 instead of label; update CFG after transformation.
13042 (find_if_case_1): Update call, use redirect_edge_and_branch_force
13043 for finishing the transformation; handle even case where ELSE
13044 does not follow THEN.
13045 (find_if_case_2): Update call of dead_or_predictable; simplify
13048 * emit-rtl.c (split_branch_probability): New global variable.
13049 (try_split): Take care to set split_branch_probability and
13050 create REG_BR_PROB note for new jump insns.
13051 * md.texi (define_split): Document new feature.
13053 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
13055 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
13057 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
13058 (asm_out_file): Remove redundant declaration.
13059 (assemble_asm): Remove old #if 0 block.
13060 (assemble_variable): Remove end of function; debug output is
13061 now handled with global_decl. Remove old #if 0 block. Update.
13062 Remove saved_in_section and associated no-op code.
13063 * Makefile.in (varasm.o): Correct dependencies.
13065 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
13067 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
13068 the definition in defaults.h.
13070 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
13072 * jump.c: Update comments.
13073 (delete_barrier_successors, delete_unreferenced_labels,
13074 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
13075 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
13076 jump_optimize, jump_optimize_minimal): Kill.
13077 (rebuild_jump_labels): Move code from jump_optimize_1.
13078 (purge_line_number_notes): Likewise.
13079 (copy_loop_headers): Likewise.
13080 * reg-stack.c: Update comment.
13081 * stmt.c: Likewise.
13082 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
13083 JUMP_AFTER_REGSCAN): Kill.
13084 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
13085 purge_line_number_notes and copy_loop_headers.
13087 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
13088 Richard Henderson <rth@redhat.com>
13090 * dbxout.c (dbxout_global_decl): New.
13091 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
13092 * sdbout.c (sdbout_finish): New.
13093 (sdbout_debug_hooks): Use it, add comments.
13094 (sdbout_global_decl): Defer initialised public vars to
13096 * varasm.c (assemble_variable): Don't output debug information
13097 for file-scope variables.
13099 2001-07-22 Richard Henderson <rth@redhat.com>
13101 * config/alpha/alpha.c (get_trap_mode_suffix): New.
13102 (get_round_mode_suffix): New.
13103 (print_operand): Use them for [/]. Remove support for [&'`()+].
13104 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
13105 * config/alpha/alpha.md (attr round_suffix): New.
13106 (attr trap_suffix): New.
13107 (all insns): Set them appropriately. Use %/ instead of the
13108 myriad punctuators.
13110 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13112 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
13114 2001-07-22 Richard Henderson <rth@redhat.com>
13116 * regrename.c (regrename_optimize): Compute nregs for each
13117 potential target register.
13119 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
13120 Richard Henderson <rth@redhat.com>
13122 * dbxout.c (dbxout_global_decl): New.
13123 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
13124 * sdbout.c (sdbout_finish): New.
13125 (sdbout_debug_hooks): Use it, add comments.
13126 (sdbout_global_decl): Defer initialised public vars to
13128 * varasm.c (assemble_variable): Don't output debug information
13129 for file-scope variables.
13131 2001-07-21 H.J. Lu (hjl@gnu.org)
13133 * config/mips/mips.c (mips_cpu): Moved into ...
13134 (override_options): Here.
13136 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
13138 (mips_cpu): Removed.
13140 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13142 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
13143 ("iorqi3"): Likewise.
13144 ("xorqi3"): Likewise.
13145 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
13146 ("*subhi3_sp): Likewise.
13147 ("*subhi3"): Likewise.
13148 ("extendhisi2"): Accept D, X and Y as source operand to avoid
13151 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
13153 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
13154 * config/freebsd.h: Likewise.
13155 * config/linux.h: Likewise.
13156 * config/openbsd.h: Likewise.
13157 * config/alpha/linux-elf.h: Likewise.
13158 * config/arm/linux-elf.h: Likewise.
13159 * config/d30v/d30v.h: Likewise.
13160 * config/fr30/fr30.h: Likewise.
13161 * config/ia64/aix.h: Likewise.
13162 * config/ia64/ia64.h: Likewise.
13163 * config/mips/linux.h: Likewise.
13164 * config/pj/pj.h: Likewise.
13165 * config/rs6000/linux.h: Likewise.
13166 * config/sparc/linux.h: Likewise.
13167 * config/sparc/linux64.h: Likewise.
13169 2001-07-20 Bruce Korb <bkorb@gnu.org>
13171 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
13172 because getc() and char* may disagree on signedness.
13174 2001-07-20 Richard Henderson <rth@redhat.com>
13176 * doc/rtl.texi (REG_DEAD): Update for current semantics.
13178 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
13179 insns to delete in the presence of cc0 in a jump insn.
13181 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13182 Jan Hubicka <jh@suse.cz>
13184 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
13185 of doing the change by hand.
13187 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13189 * rtlanal.c (set_noop_p): Return true for noop jumps.
13191 * expr.c (emit_single_push_insn): Add call to push expander.
13192 * expr.h (optab_index): Add OTI_push
13193 (push_optab): New constant.
13194 * genopinit.c (optabs): Add push_optab.
13195 * optabs.c (init_optab): Init push optab.
13196 * md.texi (push??1): Document
13198 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13200 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
13201 expand to emit the pattern; put a REG_INC note for push/pop
13203 ("movdf", "movdf_internal"): Likewise.
13204 ("movsi", "movsi_internal"): Likewise.
13205 ("movsf", "movsf_internal"): Likewise.
13206 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
13208 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13210 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
13213 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
13215 * params.def: Change default max inline insns to 100.
13217 2001-07-20 Diego Novillo <dnovillo@redhat.com>
13219 * combine.c (combine_simplify_rtx): Generate a new shift operation
13220 when simplifying the first operand of a (neg (ashift)) expression.
13222 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
13224 * regclass.c (N_REG_INTS): Use only 32 bits per element.
13226 2001-07-20 Kelley Cook <kelley.cook@home.com>
13228 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
13229 information. Move rest into ...
13230 (*-*-solaris): ... here. Eliminate redundant information and
13231 reword necessary packages section. Delete 4.x assembler bug info.
13232 (sparc-sun-*): Merge into ...
13233 (sparc-sun-sunos*): here.
13235 2001-07-20 Catherine Moore <clm@redhat.com>
13237 * config/v850/v850.md (casesi): Generate LABEL_REF
13240 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
13242 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
13243 * i386.c (ix86_zero_extend_to_Pmode): Make global.
13244 * i386.md (strclrsi expander): Use it.
13246 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
13248 * integrate.c (copy_insn_list): handle
13249 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
13250 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
13251 identically as to CODE_LABEL.
13253 * fold-const (fold): Convert A/B/C to A/(B*C) and
13256 * except.c (connect_post_landing_pads): Delete the RESX insns.
13258 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
13260 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
13262 * config/mips/mips.md (nmadd/nmsub): Use macro.
13264 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
13266 * cppinit.c (remove_dup_dir): Make static.
13267 (remove_dup_dirs): Make static. Only warn about preempting a
13268 system directory with a non-system directory.
13270 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
13272 * ifcvt.c (noce_try_store_flag_constants): Correct order
13273 of parameters to trunc_int_for_mode.
13275 2001-07-19 Mark Mitchell <mark@codesourcery.com>
13277 * reorg.c (fill_simple_delay_slots): If an instruction might throw
13278 an exception that will be caught within this function, do not fill
13279 its delay slot with any subsequent instruction.
13281 2001-07-19 Steve Ellcey <sje@cup.hp.com>
13283 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
13284 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
13285 pointer extension instruction.
13286 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
13287 * simplify-rtx.c (simplify_unary_operation) Likewise.
13288 * explow.c (convert_memory_address) Check value of
13289 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
13291 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
13292 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
13293 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
13294 Add Multilib Support.
13295 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
13296 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
13297 Add Multilib Support.
13298 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
13300 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
13301 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
13302 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
13304 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
13306 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
13307 old and new operands in `<', `3' and `b'.
13309 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13311 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
13312 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
13313 (toplev.o): Don't depend on xcoffout.h.
13314 * c-decl.c: Include debug.h
13315 (duplicate_decls): Use debug hook.
13316 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
13317 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13318 (dbxout_types): Remove.
13319 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
13320 * debug.c (do_nothing_debug_hooks): Update.
13321 (debug_true_tree, debug_nothing_rtx): New.
13322 * debug.h (struct rtx_def): New.
13323 (struct gcc_debug_hooks): New hooks ignore_block,
13324 outlining_inline_function and label.
13325 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
13326 dwarf2out_frame_finish): New.
13327 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
13328 Make static, update prototype.
13329 (dwarf2_debug_hooks): Update.
13330 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
13331 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
13332 * dwarfout.c (dwarf_debug_hooks): Update.
13333 * emit-rtl.c: Include debug.h.
13334 (remove_unnecessary_notes): Use debug hook.
13335 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
13336 (final_scan_insn): Use debug hook.
13337 * integrate.c (output_inline_function): Use debug hook.
13338 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
13339 (sdb_debug_hooks): Update.
13340 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
13341 * toplev.c: Don't include xcoffout.h.
13342 (note_outlining_of_inline_function, debug_ignore_block): Remove.
13343 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
13345 * tree.h (dwarf2out_do_frame): Remove.
13347 2001-07-19 Catherine Moore <clm@cygnus.com>
13349 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
13351 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
13353 * reload1.c (eliminate_regs_in_insn): When updating a set
13354 to the frame pointer to the hardware frame pointer, perform
13355 the update always not just when REPLACE is set.
13357 * reload1.c (choose_reload_regs): Don't inherit a reload
13358 that crosses multiple registers if registers past the first
13359 don't fit in the desired class.
13361 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
13362 when negating constants.
13364 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
13366 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
13367 * doc/tree.texi: Ditto.
13369 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
13370 Jakub Jelinek <jakub@redhat.com>
13372 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
13373 (extract_cie_info): Handle "eh" augmentation properly,
13375 (struct frame_state, __frame_state_for): New.
13377 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13379 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
13380 HANDLE_SYSV_PRAGMA): Define.
13381 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
13383 (copy_object): Caller changed.
13385 2001-07-19 Andreas Schwab <schwab@suse.de>
13387 * configure.in (assembler dwarf2 debug_line support): Define nop
13389 * configure: Regenerated.
13391 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13393 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
13395 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
13396 to conditionally compiled block.
13397 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13398 * dbxout.h (dbxout_function): Remove.
13399 * debug.c (do_nothing_debug_hooks): Update.
13400 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
13401 global_decl, deferred_inline_function.
13402 * dwarf2out.c (dwarf2_debug_hooks): Update.
13403 (dwarf2out_global_decl): New.
13404 * dwarfout.c: Don't include dwarfout.h.
13405 (dwarfout_global_decl, dwarfout_function_decl,
13406 dwarfout_deferred_inline_function): New.
13407 (dwarf_debug_hooks): Update.
13408 * dwarfout.h: Remove.
13409 * final.c: Don't include dwarfout.h.
13410 * sdbout.c (sdbout_global_decl): New.
13411 (sdbout_debug_hooks): Update.
13412 * toplev.c: Don't include dwarfout.h.
13413 (check_global_declarations, rest_of_compilation): Use new debug hooks.
13414 (note_deferral_of_defined_inline_function): Remove.
13415 * toplev.h (note_deferral_of_defined_inline_function): Remove.
13416 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
13417 * ch/lex.c: Don't include dwarfout.h.
13418 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
13419 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
13420 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
13421 * cp/optimize.c: Include debug.h.
13422 (maybe_clone_body): Use debug hook.
13423 * cp/semantics.c: Include debug.h.
13424 (expand_body): Use debug hook.
13425 * po/POTFILES.in: Remove dwarfout.h.
13427 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
13429 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
13430 * c-parse.in (yyerror, _yylex): Similarly.
13431 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
13432 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
13434 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
13435 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
13437 2001-07-18 Jeff Sturm <jsturm@one-point.com>
13439 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
13440 in-class declaration at -g1. Fixes c++/2814.
13442 2001-07-18 Richard Henderson <rth@redhat.com>
13444 * doc/md.texi (reload_in/out): Document restrictions in predicates
13445 and constraints for these patterns. Document empty string matching
13448 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13450 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
13452 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13454 * cse.c: Undo my previous patch.
13456 2001-07-18 Tom Tromey <tromey@redhat.com>
13459 * configure: Rebuilt.
13460 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
13462 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
13464 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
13465 Jan Hubicka <jh@suse.cz>
13467 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
13468 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
13469 * jump.c (mark_jump_label): Do not forward branches.
13471 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
13473 * cse.c (delete_trivially_dead_insns): Delete the libcall block
13474 when return value is unused.
13476 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
13478 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
13480 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
13482 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
13483 on error. We can't blindly return the result of
13484 pthread_mutex_trylock because it returns a positive number on
13485 error, while we must return -1 on error.
13486 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
13488 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
13490 2001-07-18 Andreas Jaeger <aj@suse.de>
13492 * integrate.c (output_inline_function): Correct type of debug_hooks.
13494 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
13496 * combine.c (combine_simplify_rtx): DIV can be treated
13497 associatively for floats if unsafe math optimisations are enabled.
13499 2001-07-17 Richard Henderson <rth@redhat.com>
13501 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
13503 2001-07-17 Richard Henderson <rth@redhat.com>
13505 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
13506 don't force the function address into a register.
13507 (expand_call, emit_library_call_value_1): Update callers.
13508 * builtins.c (expand_builtin_apply): Likewise.
13509 * expr.h (prepare_call_address): Update decl.
13511 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
13513 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
13515 * config/i386/chorus.h: Move up.
13516 * config/sparc/chorus.h: Likewise.
13517 * config/rs6000/chorus.h: Likewise.
13518 * config/chorus.h: Moved here.
13520 2001-07-17 Andreas Schwab <schwab@suse.de>
13522 * configure.in (assembler eh_frame optimization): Handle big
13524 * configure: Regenerated.
13526 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
13528 * expr.c (epxand_expr): Convert divisions into multiplications by
13529 reciprocals if -ffast-math.
13531 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
13533 * dbxout.c (dbxout_really_begin_function): Rename to
13534 dbxout_begin_function.
13535 (dbx_debug_hooks, xcoff_debug_hooks): Update.
13536 (dbxout_begin_function): Remove.
13537 (dbxout_function): Update.
13538 (dbxout_source_line): Update prototype.
13539 * dbxout.h (dbxout_begin_function): Remove.
13540 * debug.c (do_nothing_debug_hooks): Update.
13541 (debug_nothing_tree): Update.
13542 (debug_nothing_charstar_rtx): Remove.
13543 * debug.h (union tree_node): Declare.
13544 (struct rtx_def): Remove.
13545 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
13546 begin_function. Change source_line prototype.
13547 (debug_nothing_tree): New.
13548 (debug_nothing_charstar_rtx): Delete.
13549 (dwarf2out_begin_prologue): Moved from ...
13550 * tree.h: ... here.
13551 * dwarf2out.c (dwarf2_debug_hooks): Update.
13552 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
13553 debug info, call dwarf2out_source_line.
13554 (dwarf2out_souce_line): Update prototype.
13555 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
13556 Change prototype, make static.
13557 (dwarfout_source_line): Update prototype.
13558 (dwarf_debug_hooks): Update.
13559 * dwarfout.h (dwarfout_begin_function): Remove.
13560 * final.c (final_start_function, final_scan_insn): Use appropriate
13561 debug hooks, update to use notice_source_line.
13562 (output_source_line): Rename notice_source_line. Don't call the
13563 source_line debug hook.
13564 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
13565 make static, update prototype.
13566 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
13568 (sdbout_end_prologue): New.
13569 (sdbout_source_line): Update prototype.
13570 (sdbout_debug_hooks): Update.
13571 (sdbout_symbol): Remove unused var.
13572 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
13574 * varasm.c: Include debug.h.
13575 (assemble_start_function): Use begin_function debug_hook.
13576 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
13577 update with prototype.
13578 (xcoffout_source_line): Update prototype.
13579 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
13581 (xcoffout_source_line): Update prototype.
13583 2001-07-17 Richard Henderson <rth@redhat.com>
13585 * c-typeck.c (build_binary_op): Do not shorten unsigned
13586 right shift after sign extension.
13588 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
13590 * combine.c (combine_simplify_rtx): Attempt to simplify
13591 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
13593 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
13594 (simplify_binary_operation, simplify_unary_operation,
13595 simplify_relational_operation): Use it.
13597 * combine.c (combine_simplify_rtx): Don't do associative law
13598 on divisions; allow associative law on floats.
13600 2001-07-17 H.J. Lu <hjl@gnu.org>
13601 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13603 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
13604 ASM_OUTPUT_WEAK_ALIAS are defined.
13605 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
13606 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
13608 * config/mips/iris5.h: ... here.
13609 (HANDLE_SYSV_PRAGMA): Defined as 1.
13610 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
13611 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
13614 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
13616 * c-parse.in (all_prefix_attributes): New variable.
13617 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
13618 (maybe_resetattrs): New production.
13619 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
13620 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
13621 notype_initdcl, nested_function, notype_nested_function,
13622 component_decl, components, components_notype,
13623 component_declarator, component_notype_declarator,
13624 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
13625 ivars, mydecl, myparm): Update. Avoid prefix attributes just
13626 after a comma being applied to more than one declarator.
13627 * doc/extend.texi (Attribute Syntax): Update. Remove
13628 documentation of bugs that are no longer present.
13630 2001-07-13 Eric Christopher <echristo@redhat.com>
13632 * config/mips/mips.h: Change TUNE_MIPS* options to use
13634 (EXTRA_SPECS): Add cc1_cpu_spec.
13635 * config/mips/mips.md (muldf3): Fix typo.
13637 2001-07-16 Richard Henderson <rth@redhat.com>
13639 * config/m68k/m68k.c: Include expr.h and reload.h.
13640 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
13641 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
13643 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
13644 Richard Henderson <rth@redhat.com>
13646 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
13647 (insn_live_p): Fix fall off end of function.
13648 (dead_libcall_p): Remove COUNTS argument; update callers.
13649 (delete_trivially_dead_insns): Remove unused variables.
13651 2001-07-17 Andreas Jaeger <aj@suse.de>
13653 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
13654 x86-64 pic support.
13656 * lcm.c (optimize_mode_switching): Avoid warning for unused
13657 variable if !NORMAL_MODE.
13659 * flow.c (try_crossjump_to_edge): Remove unused variable.
13661 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
13663 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
13664 atexit declaration in stdlib.h.
13666 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
13668 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
13670 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13672 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
13673 * except.c (finish_eh_generation): Update call of cleanup_cfg;
13674 do rebuild_jump_labels instead of jump_optimize
13675 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
13676 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
13677 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
13679 * flow.c: Include timevar.h
13680 (find_basic_block): Push/pop timevar;
13681 (cleanup_cfg): Likewise.
13682 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
13683 * Makefile: Add dependencies on timevar.h
13685 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
13686 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
13688 * rtl.h (delete_trivially_dead_insns): Add new parameter.
13689 * toplev.c (rest_of_compilation): Update calls.
13690 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
13691 (delete_trivially_dead_insns): ... here; accept new argument
13692 preserve_basic_blocks; preserve basic blocks if set.
13694 * reg-stack.c (stack_regs_mentioned): Return 0 if
13695 stack_regs_mentioned_data is not initialized.
13696 (reg_to_stack): Make stack_regs_mentioned survive after the
13697 reg-stack is completted; do not call cleanup_cfg.
13698 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
13699 make cleanup_cfg after bb-reorder to output to debug file.
13701 2001-07-16 Richard Henderson <rth@redhat.com>
13703 * regclass.c (init_reg_sets): Use only 32 bits per initializer
13704 from int_reg_class_contents.
13706 2001-07-16 Richard Henderson <rth@redhat.com>
13708 * hard-reg-set.h (regs_invalidated_by_call): Declare.
13709 * regclass.c (regs_invalidated_by_call): Move from cse.c.
13710 (init_reg_sets_1): Move initialization from cse_main.
13711 * cse.c (regs_invalidated_by_call): Move to regclass.c.
13712 (cse_main): Move its initialization also.
13713 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
13714 * flow.c (propagate_one_insn): Likewise.
13715 * gcse.c (compute_hash_table): Likewise.
13716 (compute_kill_rd, compute_store_table): Likewise.
13717 * sched-deps.c (sched_analyze_1): Likewise.
13719 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
13721 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
13724 2001-07-16 Steve Ellcey <sje@cup.hp.com>
13726 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
13727 in if statement so we don't access undefined memory.
13729 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
13731 * gcse.c: Update comment at top.
13732 Update comment on mem handling.
13733 mem_last_set, mem_first_set, mem_set_in_block: gone.
13734 Declaration of reg_set_info: gone.
13735 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
13736 pointless with load_killed_in_block_p (they are *more*
13737 conservative then it, not less, and less accurate).
13738 (oprs_not_set_p): Ditto.
13739 (alloc_gcse_mem): Don't allocate mem_set_in_block
13740 (free_gcse_mem): Don't free it, either.
13741 (record_last_mem_set_info): Update comment in front, remove
13742 mem_*set_* stuff. Note the reason we don't handle stores directly
13744 (compute_hash_table): Update comments to reflect reality. Remove
13745 mem_*set_* references.
13746 (reset_opr_set_tables): Remove mem_*set_* references.
13747 (mark_call): Ditto.
13748 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
13749 (mark_clobber): Ditto (on both parts, we double set here too).
13750 (expr_killed_p): Remove mem_set_in_block test.
13751 (compute_transp): Remove mem_set_in_block test.
13753 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
13754 of edge, and removal of phi alternative to dump file.
13755 (ssa_ccp_substitute_constants): Add note about register now being
13756 constant, and which uses were replaced in what insns to dump file.
13758 2001-07-16 Andreas Jaeger <aj@suse.de>
13760 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
13761 variables of type HOST_WIDEST_INT.
13763 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
13764 (__bb_exit_func): Correct type of count_max to avoid overflow.
13765 (num_digits): Handle long long argument.
13767 * combine.c (gen_lowpart_for_combine): Remove unused variable.
13769 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13771 * output.h (sdb_begin_function_line): Restore as an extern
13773 * sdbout.c (sdb_begin_function_line): Make extern.
13775 2001-07-15 Richard Henderson <rth@redhat.com>
13777 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
13778 * genrecog.c (maybe_both_true_mode): New.
13779 (maybe_both_true_2): Use it.
13780 (write_switch): Don't put Pmode in a switch.
13781 * rtl.c (mode arrays): Don't explicitly size them.
13783 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13785 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
13786 handling; move unconditional splitting before mode switching.
13788 * i386.md (type): Add fistp type.
13789 (i387, length_attr, scheduling definitions): Handle this type.
13790 (fix_trunc?f?i2): Revamp to use mode switching.
13791 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
13792 * i386.h (fp_cw_mode): New enum
13793 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
13794 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
13796 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13798 * Makefile.in (integrate.o): Add debug.h.
13799 * integrate.c (debug.h): Add.
13800 (output_inline_function): Save, reset, and restore debug_hooks.
13802 2001-07-15 Richard Henderson <rth@redhat.com>
13804 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
13805 instead of COMPARE for the EQUIV expression.
13807 2001-07-15 Richard Henderson <rth@redhat.com>
13809 * flow.c (redirect_edge_and_branch_force): Initialize
13810 global_live_at_start and global_live_at_end.
13811 (allocate_bb_life_data): Export.
13812 * basic-block.h (allocate_bb_life_data): Declare.
13813 * toplev.c (rest_of_compilation): Call it.
13815 2001-07-15 Richard Henderson <rth@redhat.com>
13817 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
13818 (alpha_tablejump_best_label): New.
13819 * config/alpha/alpha-protos.h: Declare them.
13820 * config/alpha/alpha.md: Use braced strings for code blocks.
13821 (tablejump_osf): Break out add with r29.
13822 (tablejump_osf_internal): Remove.
13823 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
13824 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
13826 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13828 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
13831 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
13833 * i386-protos.h (ix86_split_fp_branch): Update prototype.
13834 (ix86_fp_jump_nontrivial_p): New.
13835 * i386.md (fp_jcc_?): Update call of split_fp_branch;
13836 use ix86_fp_jump_nontrivial_p.
13837 * i386.c (ix86_fp_jump_nontrivial_p): New.
13838 (ix86_split_fp_branch): Accept code instead of rtx.
13839 (ix86_expand_compare): Expand comparison early in case
13840 doing so is resonably cheap.
13842 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
13844 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
13846 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
13847 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
13849 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
13851 * dbxout.c (dbxout_source_line): Make static, update prototype.
13852 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
13853 (dbxout_init, dbxout_finish, dbxout_source_line,
13854 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
13855 * dbxout.h (dbxout_source_line): Delete.
13856 * debug.c (debug_nothing_file, debug_nothing_file_int,
13857 debug_nothing_file_charstar_rtx): New.
13858 (do_nothing_debug_hooks): Update.
13859 (debug_nothing_void, debug_nothing_charstar_rtx,
13860 dwarf2out_end_epilogue): New.
13861 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
13862 * debug.h (struct rtx_def): Declare.
13863 (gcc_debug_hooks): New hooks source_line, end_epilogue
13865 (debug_nothing_void, debug_nothing_charstar_rtx,
13866 dwarf2out_end_epilogue): New.
13867 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
13868 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
13869 (dwarf2_debug_hooks): Update.
13870 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
13871 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
13872 * dwarf2out.h (dwarf2out_source_line): Remove.
13873 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
13874 Make static, update prototype.
13875 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
13876 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
13877 (dwarf_debug_hooks): Update.
13878 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
13879 dwarfout_end_function): Remove.
13880 * final.c (profile_function): Use debug hooks for ending functions
13882 (output_source_line, final_end_function): Update prototype,
13884 (final_start_function, final_scan_insn): Update.
13885 * output.h (sdb_begin_function_line): Remove.
13886 (final_end_function): Update prototype.
13887 * sdbout.c (sdb_begin_function_line): Make static.
13888 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
13889 (sdbout_source_line): New.
13890 (sdbout_end_epilogue, sdbout_end_function): Make static, update
13892 (sdb_debug_hooks): Update.
13893 (sdbout_init, sdbout_source_line,
13894 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
13895 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
13896 * toplev.c (compile_file, rest_of_compilation): Update.
13897 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
13898 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
13899 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
13900 Update for prototype changes.
13901 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
13902 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
13904 2001-07-15 Richard Henderson <rth@redhat.com>
13906 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
13907 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
13908 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
13909 * config/alpha/alpha.c: Likewise.
13910 * config/alpha/alpha.md: Likewise.
13911 * config/alpha/alpha32.h: Likewise.
13912 * config/alpha/vms.h: Likewise.
13913 (OPEN_VMS): Remove.
13915 2001-07-14 Richard Henderson <rth@redhat.com>
13917 * config/alpha/alpha.md: Use define_constants for unspec values.
13918 Substitute throughout.
13920 2001-07-14 Tim Josling <tej@melbpc.org.au>
13922 * tree.def (EXPON_EXPR) remove. Never supported anyway.
13924 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
13926 * pa.md: Remove unused constraints from define_split's.
13928 2001-04-14 Richard Henderson <rth@redhat.com>
13930 * ifcvt.c (find_cond_trap): Test for exit block.
13932 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
13934 Re-install recently reverted patch.
13935 * emit-rtl.c (try_split): Update mark_jump_label call.
13936 * flow.c (find_sub_basic_blocks): Likewise.
13937 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
13938 jump_back_p): Kill.
13939 (mark_all_labels): Kill second parameter.
13940 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
13941 (rebuild_jump_labels, jump_optimize_minimal): Update call
13942 of jump_optimize_1.
13943 (jump_optimize_1): Kill crossjumping code.
13944 (mark_jump_label): Kill cross_jump parameter.
13945 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
13946 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
13947 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
13949 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
13951 (dump_file_info): Likewise.
13952 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
13953 reorganize passes to do reg-stack first, bb-reorder second.
13954 * invoke.texi (-d letters doc): Remove the jump2 pass.
13956 2001-07-14 Richard Henderson <rth@redhat.com>
13958 * ifcvt.c (find_cond_trap): New.
13959 (find_if_header): Call it.
13960 (merge_if_block): Relax existing jump sanity check.
13961 * jump.c (jump_optimize_1): Remove conditional trap handling.
13963 2001-07-14 Alan Modra <amodra@bigpond.net.au>
13965 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
13967 (insn_refs_are_delayed): Correct comment.
13968 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
13969 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
13970 instead of r31. Make associated insn !TARGET_64BIT, and
13971 provide an additional 64-bit insn that clobbers r2.
13972 (divsi3): Likewise.
13973 (udivsi3): Likewise.
13974 (modsi3): Likewise.
13975 (umodsi3): Likewise.
13977 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
13979 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
13981 * flow.c (redirect_edge_and_branch_force, split_edge,
13982 try_crossjump_to_edge): Use set_block_for_new_insns.
13983 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
13985 2001-07-13 H.J. Lu (hjl@gnu.org)
13987 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
13990 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
13992 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
13994 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
13996 * c-common.c (decl_attributes): Take a pointer to the node to
13997 which attributes are to be attached, and a flags argument.
13998 * c-common.h (enum attribute_flags): New.
13999 (decl_attributes): Update prototype.
14000 * c-decl.c (start_decl, push_parm_decl, finish_struct,
14001 finish_enum, start_function): Update calls to decl_attributes.
14002 * c-parse.in (component_declarator, component_notype_declarator,
14003 label): Update calls to decl_attributes.
14005 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
14007 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
14008 * config/avr/avr.c (legitimate_address_p): Return value changed
14009 from letter to register classes. For better debugging.
14011 2001-07-13 Kazu Hirata <kazu@hxi.com>
14013 * jump.c (reversed_comparison_code_parts): Fix comment typos.
14015 2001-07-13 H.J. Lu (hjl@gnu.org)
14017 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
14019 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
14021 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
14022 correctly for shared configurations.
14023 * config/t-libgcc-pic: New.
14024 * config/{i386,m68k,sparc}/t-openbsd: New.
14025 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
14026 Support -shared. Support debugging libraries with -g.
14027 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
14028 frame information does not emit pointer diffs.
14029 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
14030 emit pointer diffs.
14032 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
14034 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
14036 2001-07-13 David Edelsohn <edelsohn@gnu.org>
14038 * combine.c (try_combine): Ensure const_int pow2 is positive.
14040 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
14042 * config.gcc: Add configuration for s/390.
14043 * config/s390/s390.c: New. Subroutines for code generation.
14044 * config/s390/s390.h: New. Definitions for s/390.
14045 * config/s390/s390-protos.h: New. Prototypes.
14046 * config/s390/linux.h: New. Definitions for linux for s/390.
14047 * config/s390/linux64.h: New. Definitions for linux for zSeries.
14048 * config/s390/t-linux: New. Makefile fragment.
14049 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
14050 * config/s390/fixdfdi.h: New. Fix L_fix*di.
14052 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
14054 * emit-rtl.c (try_split): Update mark_jump_label call.
14055 * flow.c (find_sub_basic_blocks): Likewise.
14056 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
14057 jump_back_p): Kill.
14058 (mark_all_labels): Kill second parameter.
14059 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
14060 (rebuild_jump_labels, jump_optimize_minimal): Update call
14061 of jump_optimize_1.
14062 (jump_optimize_1): Kill crossjumping code.
14063 (mark_jump_label): Kill cross_jump parameter.
14064 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
14065 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
14066 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
14068 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
14070 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
14071 reorganize passes to do reg-stack first, bb-reorder second.
14072 * invoke.texi (-d letters doc): Remove the jump2 pass.
14074 2001-07-12 Steve Ellcey <sje@cup.hp.com>
14076 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
14078 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14080 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
14082 (verify_flow_info): Make diagnostics prettier.
14084 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
14086 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
14088 * flow.c (outgoing_edges_match): Return early if condition reversal
14091 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
14093 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
14094 (mips_move_2words): When splitting a move into two instructions,
14095 prefix the second address operand with '%D'.
14097 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
14099 * Makefile.in (final.o): Depend on debug.h.
14100 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
14101 (dbx_debug_hooks): Add new hooks.
14102 (xcoff_debug_hooks): New.
14103 * debug.c (debug_nothing_file_int_int): New.
14104 (do_nothing_debug_hooks): Update.
14105 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
14106 (debug_nothing_file_int_int): New.
14107 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
14108 static, update prototype.
14109 (dwarf2_debug_hooks): Update.
14110 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
14111 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
14112 static, update prototype.
14113 (dwarf_debug_hooks): Update.
14114 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
14115 * final.c: Include debug.h.
14116 (final_scan_insn): Use debug hooks when beginning and ending blocks.
14117 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
14118 static, update prototype.
14119 (sdb_debug_hooks): Update.
14120 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
14121 * toplev.c: Distinguish between xcoff and dbx.
14123 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
14124 Call all debug hooks, not just dwarf ones.
14126 2001-07-11 Timothy Wall <twall@redhat.com>
14128 * config.gcc: Add configuration for AIX5/IA64.
14129 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
14130 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
14131 support prefix/suffix code.
14132 * config/ia64/t-aix: New. Makefile fragment.
14133 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
14135 2001-07-11 Kazu Hirata <kazu@hxi.com>
14137 * recog.c (validate_change): Fix a comment typo.
14139 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
14141 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
14142 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
14144 * dbxout.c (dbx_debug_hooks): Add new hooks.
14145 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
14147 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
14149 * dbxout.h (dbxout_start_new_source_file,
14150 dbxout_resume_previous_source_file): Delete.
14151 * debug.c (do_nothing_debug_hooks): Add new hooks.
14152 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
14153 (debug_nothing_int_charstar, debug_nothing_int): New.
14154 * debug.h (gcc_debug_hooks): New hooks define, undef,
14155 start_source_file and end_source_file.
14156 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
14157 (debug_nothing_int_charstar, debug_nothing_int): New.
14158 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
14159 the conditionally compiled section.
14160 (dwarf2out_start_source_file, dwarf2out_end_source_file,
14161 dwarf2out_define, dwarf2out_undef): Make static.
14162 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
14163 dwarf2out_define, dwarf2out_undef): Remove.
14164 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
14165 (dwarfout_start_source_file, dwarfout_end_source_file,
14166 dwarfout_define, dwarfout_undef): Make static.
14167 (dwarfout_start_source_file_check,
14168 dwarfout_end_source_file_check): New.
14169 (dwarfout_define, dwarfout_finish): Update.
14170 * dwarfout.h (dwarfout_start_new_source_file,
14171 dwarfout_resume_previous_source_file, dwarfout_define,
14172 dwarfout_undef): Remove.
14173 * sdbout.c (sdb_debug_hooks): Add new hooks.
14174 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
14176 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
14177 make static, take an arg.
14178 * sdbout.h (sdbout_start_new_source_file,
14179 sdbout_resume_previous_source_file): Delete.
14180 * toplev.c (debug_start_source_file, debug_end_source_file,
14181 debug_define, debug_undef): Delete.
14182 * toplev.h (debug_start_source_file, debug_end_source_file,
14183 debug_define, debug_undef): Delete.
14185 * java/jcf-parse.c: Include debug.h.
14186 (parse_class_file): Update to use debug hooks directly.
14187 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
14189 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14191 * alias.c (set_mem_alias_set): New function.
14192 * rtl.h (set_mem_alias_set): Declare it.
14193 * builtins.c (expand_builtin_return_addr): Call it instead of
14194 using MEM_ALIAS_SET accessor.
14195 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
14196 (get_memory_rtx, expand_builtin_va_arg): Likewise.
14197 (expand_builtin_va_copy):Likewise.
14198 * caller-save.c (setup_save_areas): Likewise.
14199 * calls.c (compute_argument_addresses): Likewise.
14200 * explow.c (set_mem_attributes): Likewise.
14201 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
14202 (expand_assignment, store_constructor_field, store_field): Likewise.
14203 (expand_expr_unaligned): Likewise.
14204 * function.c (assign_stack_temp_for_type): Likewise.
14205 (put_reg_into_stack, gen_mem_addressof): Likewise.
14206 * ifcvt.c (noce_try_cmove_arith): Likewise.
14207 * reload1.c (reload, alter_reg): Likewise.
14208 * config/alpha/alpha.c (get_aligned_mem): Likewise.
14209 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
14210 (alpha_expand_unaligned_store): Likewise
14211 (alpha_expand_unaligned_load_words): Likewise.
14212 (alpha_expand_unaligned_store_words): Likewise.
14213 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
14214 (alpha_expand_epilogue): Likewise.
14215 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
14216 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
14217 * config/i386/i386.c (legitimize_pic_address): Likewise.
14218 * config/i960/i960.c (setup_incoming_varargs): Likewise.
14219 * config/ia64/ia64.c (spill_restore_mem): Likewise.
14220 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
14221 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
14222 * config/mips/mips.c (mips_va_arg): Likewise.
14223 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
14224 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
14225 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
14226 (setup_incoming_varargs, rs6000_va_arg): Likewise.
14227 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
14228 (rs6000_emit_epilogue): Likewise.
14229 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
14230 * config/sparc/sparc.c (sparc_va_arg): Likewise.
14231 * config/v850/v850.c (v850_va_arg): Likewise.
14233 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
14235 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
14236 when fallthru edge is present.
14237 (mege_blocks): Handle case where creation of jump insn
14240 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
14241 CLEANUP_POST_REGSTACK): New constants.
14242 * except.c (finish_eh_generation): Update call of cleanup_cfg,
14243 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
14244 * output.h (cleanup_cfg): Update prototype.
14245 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
14246 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
14247 cleanup_cfg call; kill missleading comment.
14248 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
14249 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
14250 parameter; control optimizations performed using it.
14251 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
14252 try_crossjump_bb): New functions.
14254 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
14256 * pa.c (pa_output_function_prologue): Delete prototype. Make function
14258 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
14259 pa_output_function_prologue.
14260 * pa-protos.h (pa_output_function_prologue): New prototype.
14262 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
14264 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
14265 and low to get correct sign extension in low+high test.
14267 2001-07-11 Janis Johnson <janis@us.ibm.com>
14269 * gcov.c (arcdata): Use gcov_type to fix branch percentage
14270 for large hit count.
14272 * profile.c (branch_prob): Fix .bbg info for computed gotos
14275 2001-07-11 Mark Mitchell <mark@codesourcery.com>
14277 * stmt.c (parse_output_constraint): New function, split out
14279 (expand_asm_operands): ... here. Use parse_output_constraint.
14280 * tree.h (parse_output_constraint): Declare it.
14282 2001-07-11 Richard Henderson <rth@redhat.com>
14284 * bitmap.c: Comment some functions; fiddle whitespace.
14285 (bitmap_free): Don't export.
14286 (bitmap_element_allocate): Use memset.
14287 * bitmap.h (bitmap_free): Don't declare.
14289 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
14291 * gcse.c, lcm.c, sched-deps.c:
14292 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
14294 * flow.c (flow_loops_find): Free dom if we found no loops, since
14295 we aren't going to save it.
14297 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
14300 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
14302 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
14304 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14306 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
14307 #ifndef DWARF2_DEBUGGING_INFO.
14309 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14311 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
14313 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14315 * config/mips/mips.c (gen_int_relational): Tell the caller not to
14316 reverse a branch if a NE comparison is implemented with GTU.
14318 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
14319 H.J. Lu <hjl@gnu.org>
14321 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
14322 constant addresses.
14323 (call_internal2): Likewise.
14324 (call_value_internal1): Likewise.
14325 (call_value_internal2): Likewise.
14326 (call_value_multiple_internal1): Likewise.
14327 (call_value_multiple_internal2): Likewise.
14329 2001-07-10 Kazu Hirata <kazu@hxi.com>
14331 * calls.c (emit_library_call_value_1): Fix a comment typo.
14332 * dwarf2out.c (mem_loc_descriptor): Likewise.
14333 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
14335 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
14337 * simplify-rtx.c (simplify_subreg): Fix typo in comment
14339 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14341 * recog.c (offsettable_address_p): Handle LO_SUM case.
14342 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
14343 instead of plus_constant.
14345 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14347 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
14348 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
14350 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14352 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
14353 adjust_address_nv instead of plus_constant.
14355 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
14357 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
14358 dwarf2out.o): Depend on debug.h, wrap long lines.
14359 * dbxout.c: Include debug.h.
14360 (dbx_debug_hooks): New.
14361 (dbxout_init): Make static, take just 2 args.
14362 (dbxout_finish): Make static.
14363 * dbxout.h (dbxout_init, dbxout_finish): Delete.
14364 * debug.c: New file.
14365 * debug.h: New file.
14366 * dwarf2out.c: Include debug.h.
14367 (dwarf2_debug_hooks): New.
14368 (dwarf2out_init): Make static.
14369 (dwarf2out_finish): Make static, take 2 args.
14370 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
14371 * dwarfout.c: Include debug.h.
14372 (dwarf_debug_hooks): New.
14373 (dwarfout_init): Make static.
14374 (dwarfout_finish): Make static, take 2 args.
14375 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
14376 * sdbout.c: Include debug.h.
14377 (sdb_debug_hooks): New.
14378 (sdbout_init): Make static, take 2 args.
14379 * sdbout.h (sdbout_init): Delete.
14380 * toplev.c: Include debug.h.
14381 (debug_hooks): New.
14382 (compile_file): Set deubg_hooks based on command line options.
14383 Use the hooks unconditionally rather than conditional compilation.
14385 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
14387 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
14388 first_insn_after_basic_block_note instead.
14390 * df.c (df_bb_refs_unlink): #if 0 out for now.
14392 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
14394 * ssa.h: Add prototype for ssa_const_prop
14395 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
14396 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
14397 (ssa_fast_dce): Remove unused variable
14399 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14401 * diagnostic.c (finish_diagnostic): Rename to
14402 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
14405 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
14407 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
14410 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
14411 (dump_file): Only pad the demangled name with spaces if the
14412 mangled name was padded with spaces.
14414 2001-07-10 Bernd Schmidt <bernds@redhat.com>
14416 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
14419 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14421 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
14422 extraction if no direct load if either EXPAND_CONST_ADDRESS or
14423 EXPAND_INITIALIZER.
14425 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
14426 whether can put offset inside LO_SUM to check mode alignment, not size.
14428 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
14430 * doc/tm.texi (Misc): Fix thinko.
14432 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
14434 * regmove.c (replace_in_call_usage): Fix warnings.
14435 * sched-deps.c (add_dependence): Fix warnings.
14436 * simplify-rtx.c (simplify_subreg): Likewise.
14437 Return NULL_RTX instead of NULL.
14439 * reg-stack.c (emit_swap_insn): Eliminate warnings.
14440 (subst_asm_stack_regs): Likewise.
14442 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
14445 * dwarf2out.c (output_call_frame_info): Declare i as int.
14446 (build_abbrev_table): Declare n_alloc as int.
14447 (dwarf2out_finish): Initialize die.
14448 * except.c: Declare sjlj_funcdef_number as unsigned.
14449 (connect_post_landing_pads): Declare j as unsigned.
14450 (convert_to_eh_region_ranges): Initialize call_site.
14451 (output_function_exception_table): Initialize tt_format_size.
14452 * expr.c (move_by_pieces_1): Initialize to1.
14453 (store_constructor): Initialize minelt and maxelt.
14454 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
14455 * function.c (instantiate_decls): Avoid signed/unsigned warning.
14457 * c-decl.c (combine_parm_decls): Unused, remove.
14458 * c-tree.h: Remove prototype for combine_parm_decls.
14460 * reload.c (push_reload): Fix warning.
14461 (regno_clobbered_p): Likewise.
14462 * reload1.c (replace_pseudos_in_call_usage): Likewise.
14463 (reload_combine): Likewise.
14465 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
14466 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
14468 * bitmap.c (bitmap_operation): Change user.
14469 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
14471 2001-07-10 Eric Christopher <echristo@redhat.com>
14473 * config/mips/mips.c (override_options): Fix typo.
14475 2001-07-09 Stan Shebs <shebs@apple.com>
14477 * target.h (struct gcc_target): New fields init_builtins and
14479 * target-def.h (TARGET_INIT_BUILTINS): New macro.
14480 (TARGET_EXPAND_BUILTIN): New macro.
14481 (TARGET_INITIALIZER): Add them.
14482 * builtins.c: Include target.h.
14483 (expand_builtin): Use targetm.expand_builtin.
14484 (default_init_builtins): New function.
14485 (default_expand_builtin): New function.
14486 * expr.h (default_init_builtins): Declare.
14487 (default_expand_builtin): Declare.
14488 * c-common.c (c_common_nodes_and_builtins): Use
14489 targetm.init_builtins.
14490 * defaults.h (MD_INIT_BUILTINS): Remove.
14491 * Makefile.in (builtins.o): Depend on target.h.
14493 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
14494 (TARGET_EXPAND_BUILTIN): Define.
14495 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
14496 (MD_EXPAND_BUILTIN): Remove.
14498 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
14499 (TARGET_EXPAND_BUILTIN): Define.
14500 (c4x_init_builtins): Make endlink arg a local.
14501 (c4x_print_operand): Fix typos in adjust_address usages.
14502 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
14503 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
14504 (MD_EXPAND_BUILTIN): Remove.
14506 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
14507 (TARGET_EXPAND_BUILTIN): Define.
14508 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
14509 (ix86_init_builtins): Call new function only if TARGET_MMX.
14510 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
14511 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
14512 (MD_EXPAND_BUILTIN): Remove.
14514 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
14515 (TARGET_EXPAND_BUILTIN): Define.
14516 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
14517 (MD_EXPAND_BUILTIN): Remove.
14519 * doc/tm.texi: Document these changes.
14521 2001-07-09 Diego Novillo <dnovillo@redhat.com>
14523 * basic-block.h (tree_node): Forward declare if needed.
14524 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
14525 (BLOCK_HEAD_TREE): Define.
14526 (BLOCK_END_TREE): Define.
14527 (struct loops): Rename field 'tree' to 'tree_root'.
14528 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
14530 (flow_loops_tree_build): Rename reference to field 'tree' to
14532 (flow_loops_level_compute): Ditto.
14533 * predict.c (estimate_bb_frequencies): Ditto.
14534 * tree.h (struct tree_common): Add field 'aux'.
14536 2001-07-09 Stan Shebs <shebs@apple.com>
14538 * config/darwin.c (darwin_encode_section_info): Don't mark any
14539 DECL_EXTERNAL node as defined.
14541 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14543 * pa.c (pa_init_machine_status, pa_mark_machine_status,
14544 pa_free_machine_status, hppa_init_pic_save): Delete.
14545 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
14546 (hppa_profile_hook): Use hppa_pic_save_rtx.
14547 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
14548 hppa_init_pic_save): Delete.
14549 (hppa_pic_save_rtx): Declare.
14550 * pa.md (call, call_value, sibcall, sibcall_value,
14551 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
14553 2001-07-09 Kazu Hirata <kazu@hxi.com>
14555 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
14556 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
14558 2001-07-09 Andreas Jaeger <aj@suse.de>
14560 * output.h: Add declaration of final_forward_branch_p.
14562 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
14564 * varray.c: Include errors.h for internal_error and trim_filename
14567 * Makefile.in (varray.o): Add errors.h.
14569 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
14571 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
14572 * optabs.c (have_add2_insn): Check whether the add insn chosen
14573 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
14574 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
14576 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
14578 * Makefile.in (OBJS): Add ssa-ccp.o
14579 (ssa-ccp.o): Add dependencies.
14580 * toplev.c (DFI_ssa_ccp): New dump file enum.
14581 (dump_file): Add entry for dumping after SSA CCP.
14582 (flag_ssa_ccp): New flag variable.
14583 (f_options): Add -fssa-ccp.
14584 (rest_of_compilation): Run SSA CCP if requested.
14585 * timevar.def (TV_SSA_CCP): New timevar.
14586 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
14587 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
14588 Fix minor typo in SSA DCE documentation.
14589 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
14590 Add documentation for new dump option. Renumber dump files
14593 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14595 * emit-rtl.c (gen_highpart_mode): New.
14596 * rtl.h (gen_highpart_mode): Declare.
14597 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
14598 operand can be VOIDmode constant.
14600 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
14602 * flow.c (redirect_edge_and_branch_force): New.
14603 (can_fallthru): Ensure that basic blocks are succeeding.
14604 (try_optimize_cfg): Do not delete basic block if it is the last one.
14606 * flow.c (try_redirect_by_replacing_jump): Do not remove
14607 jumps with side effects, unlink chain on fallthru edge;
14608 set block for new jump instruction; avoid basic block to
14609 over by line number note.
14611 * flow.c (try_simplify_condjump): Verify that the condjump
14612 is not always falling through.
14615 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
14617 * flow.c (forwarder_block_p): Fix for fallthru blocks.
14618 (try_redirect_by_replacing_jump): Update properly the count
14619 and frequency information.
14621 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14623 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
14624 address that is a LO_SUM specially.
14625 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
14627 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
14629 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
14630 (operand_subword): Use them.
14631 (change_address_1): Renamed from change_address; new arg VALIDATE.
14632 * expr.h: Reflect above changes; change_address now macro.
14633 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
14635 * cselib.c (add_mem_for_addr): Likewise.
14636 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
14637 * regmove.c (try_apply_stack_adjustment): Likewise.
14638 * reload.c (push_reload, make_memloc): Likewise.
14639 * reload1.c (eliminate_regs): Likewise.
14640 * simplify-rtx.c (simplify_replace_rtx): Likewise.
14641 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
14643 * combine.c (make_extraction, simplify_shift_const): Likewise.
14644 (gen_lowpart_for_combine): Likewise.
14645 * cse.c (gen_lowpart_if_possible): Likewise.
14646 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
14647 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
14648 * optabs.c (gen_move_insn): Likewise.
14649 * reload1.c (alter_reg): Likewise.
14650 * simplify-rtx.c (simplify_subreg): Likewise.
14651 * stmt.c (expand_anon_union_decl): Likewise.
14652 * recog.c (validate_replace_rtx_1): Likewise.
14654 * Makefile.in (recog.o): Add $(EXPR_H).
14655 * explow.c (stabilize): Call replace_equiv_address.
14656 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
14657 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
14659 2001-07-03 Andrew Haley <aph@redhat.com>
14661 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
14662 the mode of the memory location.
14664 2001-07-09 Bo Thorsen <bo@suse.co.uk>
14666 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
14668 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
14670 * final.c (output_addr_const): Use target opening and
14671 closing parentheses.
14672 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
14673 defaults, add to TARGET_ASM_OUT.
14674 * target.h (struct gcc_target): Add open_paren and close_paren.
14675 * doc/md.texi: Update.
14676 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
14677 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
14678 TARGET_ASM_CLOSE_PAREN.
14679 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
14681 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
14683 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
14684 * config/a29k/a29k.h: Similarly.
14685 * config/alpha/alpha.h: Similarly.
14686 * config/arc/arc.h: Similarly.
14687 * config/arm/aof.h: Similarly.
14688 * config/arm/aout.h: Similarly.
14689 * config/avr/avr.h: Similarly.
14690 * config/c4x/c4x.h: Similarly.
14691 * config/clipper/clipper.h: Similarly.
14692 * config/convex/convex.h: Similarly.
14693 * config/d30v/d30v.h: Similarly.
14694 * config/dsp16xx/dsp16xx.h: Similarly.
14695 * config/elxsi/elxsi.h: Similarly.
14696 * config/fr30/fr30.h: Similarly.
14697 * config/h8300/h8300.h: Similarly.
14698 * config/i370/i370.h: Similarly.
14699 * config/i386/i386.h: Similarly.
14700 * config/i860/i860.h: Similarly.
14701 * config/i960/i960.h: Similarly.
14702 * config/ia64/ia64.h: Similarly.
14703 * config/m32r/m32r.h: Similarly.
14704 * config/m68hc11/m68hc11.h: Similarly.
14705 * config/m68k/m68k.h: Similarly.
14706 * config/m88k/m88k.h: Similarly.
14707 * config/mcore/mcore.h: Similarly.
14708 * config/mips/mips.h: Similarly.
14709 * config/mn10200/mn10200.h: Similarly.
14710 * config/mn10300/mn10300.h: Similarly.
14711 * config/ns32k/ns32k.h: Similarly.
14712 * config/pa/pa.h: Similarly.
14713 * config/pdp11/pdp11.h: Similarly.
14714 * config/pj/pj.h: Similarly.
14715 * config/romp/romp.h: Similarly.
14716 * config/rs6000/rs6000.h: Similarly.
14717 * config/sh/sh.h: Similarly.
14718 * config/sparc/sparc.h: Similarly.
14719 * config/v850/v850.h: Similarly.
14720 * config/vax/vax.h: Similarly.
14721 * config/we32k/we32k.h: Similarly.
14723 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
14725 * doc/c-tree.texi: Document representation of attributes.
14727 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14729 * doc/tm.texi: Update some places for the rename of target to
14732 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14734 * target.h (struct gcc_target): Add insert_attributes.
14735 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
14736 (TARGET_INITIALIZER): Update.
14737 * tree.c, tree.h (default_insert_attributes): New function.
14738 Update comments on other default functions to refer to targetm,
14740 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
14741 TARGET_INSERT_ATTRIBUTES.
14742 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
14743 * c-common.c (decl_attributes): Use targetm.insert_attributes.
14744 Don't use PRAGMA_INSERT_ATTRIBUTES.
14745 * Makefile.in (c-common.o): Depend on $(TARGET_H).
14746 * c-decl.c (start_decl, start_function): Don't call
14747 SET_DEFAULT_DECL_ATTRIBUTES.
14748 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
14749 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
14751 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
14752 (c4x_check_attribute): Avoid modifying attribute list itself.
14753 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
14755 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
14756 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
14758 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
14759 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
14761 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
14762 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
14764 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
14765 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
14766 Adjust parameters. Make static.
14768 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
14770 * c-common.c (decl_attributes): Only take a single attributes
14772 * c-common.h (decl_attributes): Update prototype.
14773 * c-decl.c (start_decl, start_function): Only take a single
14774 attributes parameter. Update calls to decl_attributes.
14775 (finish_struct, finish_enum): Update calls to decl_attributes.
14776 (push_parm_decl): Expect unified list of attributes. Update call
14777 to decl_attributes.
14778 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
14779 notype_nested_function, component_declarator,
14780 component_notype_declarator, label): Update calls to
14782 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
14783 lists that are passed to push_parm_decl.
14784 * c-tree.h (start_function, start_decl): Update prototypes.
14785 * config/sh/sh-protos.h, config/sh/sh.c
14786 (sh_pragma_insert_attributes): Only take a single attributes
14788 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
14789 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
14790 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
14791 build_module_descriptor, generate_static_references,
14792 generate_strings, build_selector_translation_table,
14793 generate_descriptor_table, generate_protocols,
14794 generate_ivars_list, generate_dispatch_table,
14795 generate_protocol_list, generate_category,
14796 generate_shared_structures, really_start_method, add_objc_decls,
14797 generate_classref_translation_entry): Update calls to start_decl
14798 and start_function.
14799 (build_tmp_function_decl, start_method_def): Unify attribute lists
14800 that are passed to push_parm_decl.
14802 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
14804 * final.c (no_asm_to_stream): New.
14805 (final_scan_insn): Use target structures for prologue ends
14806 and epilogue starts.
14807 * output.h (no_asm_to_stream): New.
14808 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
14809 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
14810 (TARGET_ASM_OUT): Update.
14811 * target.h (struct gcc_target): New members function_end_prologue
14812 and function_begin_epilogue.
14813 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
14814 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
14815 * config/alpha/alpha.c (output_end_prologue): Rename to
14816 alpha_output_function_end_prologue. Use in target struct
14818 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
14819 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
14820 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
14821 ia64_output_function_end_prologue. Use in target struct
14823 (ia64_function_prologue, ia64_funciton_epilogue): Rename
14824 mistyped prototypes.
14825 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
14826 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
14828 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
14829 an use in target struct, make static.
14830 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
14833 2001-07-08 Richard Henderson <rth@redhat.com>
14835 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
14837 2001-07-08 Richard Henderson <rth@redhat.com>
14839 * config/i386/i386.md: Remove constraints strings from define_split
14840 and define_peephole2 patterns.
14841 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
14842 (eh_return): Use them.
14844 2001-07-08 Richard Henderson <rth@redhat.com>
14846 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
14847 Document MD_FALLBACK_FRAME_STATE_FOR.
14849 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14851 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
14852 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
14854 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
14856 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
14858 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
14859 of the label inside NAME as opposed to just the end of NAME.
14861 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
14863 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
14864 * config/alpha/alpha.c (alpha_init_machine_status,
14865 alpha_mark_machine_status, alpha_free_machine_status): Delete.
14866 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
14867 (vms_valid_decl_attribute_p): Make static, conditionally compile.
14868 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
14870 2001-07-06 Stan Shebs <shebs@apple.com>
14872 * target.h (targetm): Rename global from "target", so as not to
14873 conflict with local variables.
14875 * c-typeck.c: Ditto.
14878 * cp/decl.c: Ditto.
14879 * cp/decl2.c: Ditto.
14880 * cp/typeck.c: Ditto.
14881 * 1750a/1750a.c: Ditto.
14882 * a29k/a29k.c: Ditto.
14883 * arc/arc.c: Ditto.
14884 * arm/arm.c: Ditto.
14885 * avr/avr.c: Ditto.
14886 * clipper/clipper.c: Ditto.
14887 * convex/convex.c: Ditto.
14888 * d30v/d30v.c: Ditto.
14889 * dsp16xx/dsp16xx.c: Ditto.
14890 * elxsi/elxsi.c: Ditto.
14891 * fr30/fr30.c: Ditto.
14892 * h8300/h8300.c: Ditto.
14893 * i370/i370.c: Ditto.
14894 * i386/i386.c: Ditto.
14895 * i860/i860.c: Ditto.
14896 * i960/i960.c: Ditto.
14897 * ia64/ia64.c: Ditto.
14898 * m32r/m32r.c: Ditto.
14899 * m68hc11/m68hc11.c: Ditto.
14900 * m68k/m68k.c: Ditto.
14901 * m88k/m88k.c: Ditto.
14902 * mips/mips.c: Ditto.
14903 * ns32k/ns32k.c: Ditto.
14905 * pdp11/pdp11.c: Ditto.
14906 * romp/romp.c: Ditto.
14907 * rs6000/rs6000.c: Ditto.
14909 * sparc/sparc.c: Ditto.
14910 * vax/vax.c: Ditto.
14911 * we32k/we32k.c: Ditto.
14912 * doc/tm.texi: Update the manual to match.
14914 2001-07-06 Richard Henderson <rth@redhat.com>
14916 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
14917 DWARF2_UNWIND_INFO not just whether it is defined.
14919 2001-07-06 Diego Novillo <dnovillo@redhat.com>
14921 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
14922 call to simplify_binary_operation returns a new pattern.
14924 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14926 * glimits.h (__SHRT_MAX__): New.
14927 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
14928 (SHRT_MAX): Define in terms of __SHRT_MAX__.
14930 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
14932 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
14935 2001-07-06 Richard Henderson <rth@redhat.com>
14937 * bitmap.c (bitmap_release_memory): Move adjacent to the
14938 allocation functions.
14939 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
14940 the implementation. Binary search for the set bit.
14941 (bitmap_union_of_diff): Allocate the temporary on the stack
14942 instead of using xmalloc.
14944 2001-07-06 Richard Henderson <rth@redhat.com>
14946 * genrecog.c (validate_pattern): Warn for constraints in
14947 define_{expand,split,peephole2}. Remove strict_low_part
14948 before looking up match_dup.
14950 2001-07-06 DJ Delorie <dj@redhat.com>
14952 * doc/gcc.texi (Makefile): Rename to be a more general purpose
14953 chapter about various build hints and history. Add section
14954 talking about the various types of native and cross builds.
14956 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
14958 * Makefile.in (final.o): Depend on target.h.
14959 * final.c: Include target.h.
14960 (default_function_pro_epilogue): New.
14961 (final_start_function): Use target structure for function prologues.
14962 (final_end_function): Use target structure for function epilogues.
14963 * fold-const.c (real_hex_to_f): Constify s and p.
14964 * output.h (default_function_pro_epilogue): New.
14965 * real.h (real_hex_to_f): Update prototype.
14966 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
14967 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
14968 (TARGET_INITIALIZER): Update.
14969 * target.h (gcc_target): Add struct asm_out.
14970 * doc/tm.texi: Update.
14973 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
14974 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
14975 in cpu/cpu.c, or rename old functions consistently. Take
14976 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
14977 redundant macros and prototypes. Make new functions static.
14979 * 1750a/1750a.c: Similarly.
14980 * 1750a/1750a.h: Similarly.
14981 * a29k/a29k-protos.h: Similarly.
14982 * a29k/a29k.c: Similarly.
14983 * a29k/a29k.h: Similarly.
14984 * arc/arc-protos.h: Similarly.
14985 * arc/arc.c: Similarly.
14986 * arc/arc.h: Similarly.
14987 * arm/arm-protos.h: Similarly.
14988 * arm/arm.c: Similarly.
14989 * arm/arm.h: Similarly.
14990 * avr/avr-protos.h: Similarly.
14991 * avr/avr.c: Similarly.
14992 * avr/avr.h: Similarly.
14993 * clipper/clipper-protos.h: Similarly.
14994 * clipper/clipper.c: Similarly.
14995 * clipper/clipper.h: Similarly.
14996 * convex/convex.c: Similarly.
14997 * convex/convex.h: Similarly.
14998 * d30v/d30v-protos.h: Similarly.
14999 * d30v/d30v.c: Similarly.
15000 * d30v/d30v.h: Similarly.
15001 * d30v/d30v.md: Similarly.
15002 * dsp16xx/dsp16xx-protos.h: Similarly.
15003 * dsp16xx/dsp16xx.c: Similarly.
15004 * dsp16xx/dsp16xx.h: Similarly.
15005 * elxsi/elxsi.c: Similarly.
15006 * elxsi/elxsi.h: Similarly.
15007 * fr30/fr30.c: Similarly.
15008 * fr30/fr30.md: Similarly.
15009 * h8300/h8300-protos.h: Similarly.
15010 * h8300/h8300.c: Similarly.
15011 * h8300/h8300.h: Similarly.
15012 * i370/i370-protos.h: Similarly.
15013 * i370/i370.c: Similarly.
15014 * i370/i370.h: Similarly.
15015 * i386/i386.c: Similarly.
15016 * i386/osf1elf.h: Similarly.
15017 * i386/osfrose.h: Similarly.
15018 * i860/i860-protos.h: Similarly.
15019 * i860/i860.c: Similarly.
15020 * i860/i860.h: Similarly.
15021 * i960/i960-protos.h: Similarly.
15022 * i960/i960.c: Similarly.
15023 * i960/i960.h: Similarly.
15024 * ia64/ia64-protos.h: Similarly.
15025 * ia64/ia64.c: Similarly.
15026 * ia64/ia64.h: Similarly.
15027 * m32r/m32r-protos.h: Similarly.
15028 * m32r/m32r.c: Similarly.
15029 * m32r/m32r.h: Similarly.
15030 * m68hc11/m68hc11-protos.h: Similarly.
15031 * m68hc11/m68hc11.c: Similarly.
15032 * m68hc11/m68hc11.h: Similarly.
15033 * m68k/crds.h: Similarly.
15034 * m68k/dpx2.h: Similarly.
15035 * m68k/m68k-protos.h: Similarly.
15036 * m68k/m68k.c: Similarly.
15037 * m68k/m68k.h: Similarly.
15038 * m68k/news.h: Similarly.
15039 * m88k/m88k-protos.h: Similarly.
15040 * m88k/m88k.c: Similarly.
15041 * m88k/m88k.h: Similarly.
15042 * mips/mips-protos.h: Similarly.
15043 * mips/mips.c: Similarly.
15044 * mips/mips.h: Similarly.
15045 * ns32k/merlin.h: Similarly.
15046 * ns32k/ns32k.c: Similarly.
15047 * ns32k/ns32k.h: Similarly.
15048 * ns32k/tek6000.h: Similarly.
15049 * pa/pa-protos.h: Similarly.
15050 * pa/pa.c: Similarly.
15051 * pa/pa.h: Similarly.
15052 * pdp11/2bsd.h: Similarly.
15053 * pdp11/pdp11-protos.h: Similarly.
15054 * pdp11/pdp11.c: Similarly.
15055 * pdp11/pdp11.h: Similarly.
15056 * romp/romp-protos.h: Similarly.
15057 * romp/romp.c: Similarly.
15058 * romp/romp.h: Similarly.
15059 * rs6000/rs6000-protos.h: Similarly.
15060 * rs6000/rs6000.c: Similarly.
15061 * rs6000/rs6000.h: Similarly.
15062 * rs6000/sysv4.h: Similarly.
15063 * sh/sh-protos.h: Similarly.
15064 * sh/sh.c: Similarly.
15065 * sh/sh.h: Similarly.
15066 * sparc/sparc-protos.h: Similarly.
15067 * sparc/sparc.c: Similarly.
15068 * sparc/sparc.h: Similarly.
15069 * vax/vax.c: Similarly.
15070 * vax/vax.h: Similarly.
15071 * vax/vms.h: Similarly.
15072 * we32k/we32k.c: Similarly.
15073 * we32k/we32k.h: Similarly.
15075 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
15077 * basic-block.h (first_insn_after_basic_block_note): Declare.
15078 * flow.c (first_insn_after_basic_block_note): Define. Moved
15080 * ssa.c (first_insn_after_basic_block_note): Remove.
15081 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
15083 (ssa_eliminate_dead_code): Properly update the CFG and PHI
15084 nodes when we find a dead conditional branch. Insert BARRIERs
15085 after any blocks with no successors, but which do not have
15088 2001-07-06 Zack Weinberg <zackw@stanford.edu>
15090 * varray.c (varray_check_failed): Use internal_error.
15092 2001-07-05 Andrew Haley <aph@redhat.com>
15094 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
15095 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
15096 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
15098 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
15100 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
15101 reference if the target constant is also a SYMBOL_REF.
15103 2001-07-05 Eric Christopher <echristo@redhat.com>
15105 * config/mips/mips.h (MASK_MIPS3900): Remove.
15106 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
15107 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
15108 (TARGET_MIPS3900): Change to use mips_arch.
15109 (TARGET_MIPS4000): New.
15110 (TARGET_MIPS4100): New.
15111 (TARGET_MIPS4300): New.
15112 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
15113 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
15115 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
15116 (ISA_HAS_BRANCHLIKELY): To here.
15117 (CC1_CPU_SPEC): New.
15118 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
15119 (mips_arch_string): Declare.
15120 (mips_arch): Declare.
15121 (TARGET_OPTIONS): Add -march and -mtune.
15123 * config/mips/mips.c (mips_arch_string): New.
15125 (override_options): Handle -march for codegen and -mtune
15126 for scheduling. Use mips_arch. Move tx39 target default here.
15127 (mips_parse_cpu): Move error message to override_options.
15129 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
15131 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
15133 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
15134 (MIPS Options): Ditto. Change mcpu entry to historical text.
15136 2001-07-05 H.J. Lu (hjl@gnu.org)
15138 * config/mips/mips.c (mips_parse_cpu): New function to parse
15141 2001-07-05 Jim Wilson <wilson@redhat.com>
15143 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
15144 * config/ia64/t-ia64: Likewise.
15145 (LIB1ASMFUNCS): Update comment.
15147 2001-07-05 David Edelsohn <edelsohn@gnu.org>
15149 * doc/install.texi (Install GCC: Binaries): Fix typo.
15151 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15153 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
15154 reference using the stack pointer, adjust it since we push Y
15156 ("*ashrsi3"): Likewise.
15157 ("*lshrsi3"): Likewise.
15159 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15161 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
15162 when -fomit-frame-pointer is used.
15164 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
15166 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
15167 (try_redirect_by_replacing_jump): Reverse updating properly the
15168 count and frequency information. Reverse removing cc0 setter.
15169 (forwarder_block_p): Reverse fixing for fallthru blocks.
15171 2001-07-05 DJ Delorie <dj@redhat.com>
15173 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
15174 (translate_options): If the above is defined, use it to map
15175 given options to new options.
15176 * doc/tm.texi: Document it.
15178 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
15179 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15181 * doc/invoke.texi (Optimize Options): Document that -fgcse may
15182 cause programs using computed gotos to run more slowly.
15184 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15186 * doc/install.texi (Specific): Markup, spelling and typo fixes.
15188 Consistently require binutils 2.11.2, not prereleases.
15189 (Specific, decstation-*): Canonicalize as mips-dec-*.
15190 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
15192 (Specific, m68k-altos): Removed reference to README.altos, deleted.
15193 (Specific, mips-*): Reword MIPS C compiler requirements.
15194 (Specific, powerpc*-*-*): New, mention --with-cpu once.
15195 (Specific, sunv5): Removed, obsolete.
15197 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
15199 * dwarf2out.c (output_loc_list): Use an all ones mask for
15200 .text asm output and don't rely on long long
15201 literals. Reformat some long lines.
15203 2001-07-05 Andreas Jaeger <aj@suse.de>
15205 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
15208 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15210 * dwarf2out.c (dwarf2out_define): Update comment.
15211 (dwarf2out_undef): Ditto.
15212 (dwarf2out_start_source_file): Ditto.
15213 (dwarf2out_end_source_file): Ditto.
15214 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
15215 since we never call the start/end debug hook for the primary file.
15217 2001-07-04 Kazu Hirata <kazu@hxi.com>
15219 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
15222 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
15224 * cppinit.c (remove_dup_dirs): Inform if a system include
15225 directory is being reordered.
15226 * doc/invoke.texi (Directory Options): GCC warns if you hide a
15228 * doc/cpp.texi (Search Paths): Likewise.
15229 * doc/gcc.texi (Interoperation): Remove information about
15232 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
15234 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
15235 (VARRAY_TOP_CHAR_PTR): Likewise.
15237 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15239 * gcc.c (process_command): Don't assign elements of a const char*.
15241 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15243 * emit-rtl.c (change_address): Don't abort if invalid address while
15244 reload is in progress.
15246 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15248 * c-lex.c (cb_file_change): Pass line number to
15249 debug_start_source_file.
15250 (cb_undefine): Pass correct line number to debug_undef.
15252 * toplev.c (debug_start_source_file): Add line number to
15253 parameters. Pass it along to dwarf2out_start_source_file.
15254 (decode_g_option): Stop resetting debug level back to normal when
15255 we change debug formats, unless the current level is
15256 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
15259 * toplev.h (debug_start_source_file): Add line number to
15262 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
15265 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
15267 Output debug_macinfo data for starting file if requested.
15268 (dwarf2out_end_source_file): Output debug_macinfo data for ending
15270 (dwarf2out_define): Output debug_macinfo data for defining a macro
15272 (dwarf2out_undef): Output debug_macinfo data for undefining a
15273 macro if requested.
15274 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
15275 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
15276 (macinfo_section_label): New. DWARF2 macro info section label.
15277 (dwarf2out_init): If we want macro info, output the start label
15279 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
15280 attribute to the compilation unit die pointing to the macro info.
15282 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
15284 * dwarf2out.c (new_loc_list): Move to inside #ifdef
15285 DWARF2_DEBUGGING_INFO.
15286 (add_loc_descr_to_loc_list): Ditto.
15287 (output_loc_list): Ditto.
15288 Also, fix thinko in curr not being initialized.
15289 (gen_internal_sym): Ditto.
15291 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15293 * emit-rtl.c (replace_equiv_address): New function.
15294 * expr.h (replace_equiv_address): New declaration.
15295 * explow.c (validize_mem): Call it instead of change_address and
15296 also call if -fforce-addr and address is constant.
15297 * expr.c: Replace more calls to change_address with adjust_address
15298 and/or replace_equiv_address or to validize_mem.
15299 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
15300 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
15301 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
15302 * config/i370/i370.md, config/i860/i860.md: Likewise.
15303 * config/i960/i960.md, config/mips/mips.c: Likewise.
15304 * config/mips/mips.md, config/pa/pa.md: Likewise.
15305 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
15306 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
15308 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15310 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
15312 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
15315 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
15317 * doc/include: New directory.
15318 * doc/fdl.texi: Move to doc/include/fdl.texi.
15319 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
15320 * doc/include/funding.texi, doc/include/gpl.texi: New files.
15321 * doc/gcc.texi: Use funding.texi and gpl.texi.
15322 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
15323 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
15324 Update dependencies and use -I $(docdir)/include.
15326 2001-07-04 Anthony Green <green@redhat.com>
15328 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
15330 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15332 * doc/install.texi (sparc64-*-*): Remove garbage.
15334 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
15336 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
15337 Fix typo in last change to use adjust_address.
15339 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15341 * doc/install.texi (Specific): Update information for *-*-solaris*.
15343 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15345 * explow.c (plus_constant_wide): Reinitialize Y for restart.
15347 2001-07-03 Stan Shebs <shebs@apple.com>
15349 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
15350 case for flag_no_mach_text_sections.
15351 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
15352 * config/darwin.c (flag_no_mach_text_sections): Remove.
15353 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
15355 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15357 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
15358 and avoid checking for constant as first operand.
15359 * recog.c (find_constant_term_loc): No longer static.
15360 (adj_offettable_operand): Delete.
15361 * rtl.h (adj_offsettable_operand): Delete declaration.
15362 (find_constant_term): Add declaration.
15363 * caller-save.c: Replace calls to adj_offsettable_operand with calls
15365 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
15366 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
15367 * config/i386/i386.c, config/i386/i386.md: Likewise.
15368 * config/i860/i860.c, config/i960/i960.c: Likewise.
15369 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
15370 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
15371 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
15372 * config/mips/mips.c, config/mips/mips.md: Likewise.
15373 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
15374 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
15375 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
15376 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
15377 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
15378 * config/ns32k/ns32k.md: Likewise.
15380 2001-07-03 Zack Weinberg <zackw@stanford.edu>
15382 * rtl.c (copy_rtx): Handle 'T' format letter.
15383 * gensupport.c (collect_insn_data): Likewise.
15384 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
15386 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
15388 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
15389 -B option. Use 'dir' not 'foo' as example directory name.
15391 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15393 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
15394 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
15396 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
15398 * doc/cppinternals.texi: Improve formatting and logical markup.
15400 2001-07-03 Andreas Jaeger <aj@suse.de>
15402 * Makefile.in (insn-recog.o): Add dependency on reload.h.
15404 * genrecog.c (write_header): Include reload.h for prototypes in
15407 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
15410 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
15411 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
15412 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
15413 i386_pe_valid_type_attribute_p): Add.
15414 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
15415 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
15417 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15419 * explow.c (plus_constant_wide, case LO_SUM): New case.
15420 (plus_constant_for_output_wide): Delete.
15421 * rtl.h (plus_constant_for_output): Delete.
15422 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
15423 instead of plus_constant_for_output.
15424 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
15425 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
15426 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
15427 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
15428 * config/sparc/sparc.md: Likewise.
15429 Convert some change_address calls to adjust_address.
15431 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
15433 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
15434 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
15435 documentation of -std and -Wwrite-strings.
15437 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
15439 * cse.c (canon_hash): Don't register registers in very small
15440 register classes, as extending their lifetime might cause
15443 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15445 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15447 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15448 (try_redirect_by_replacing_jump): Update properly the count
15449 and frequency information.
15451 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
15453 * toplev.c (dump_file_index): Move SSA dumps just after first
15455 (dump_file): Corresponding changes.
15456 (rest_of_compilation): Move SSA path to just after the first
15458 * doc/gcc.texi (Passes): Update due to movement of SSA path.
15459 * doc/invoke.texi: Update dump file #s as they were completely
15460 out of date with reality.
15462 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
15464 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
15466 * expr.c (emit_move_insn_1): Deal with non-default
15469 * expr.c (emit_single_push_insn): Fix warning.
15471 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
15473 * expr.c (emit_move_insn_1): Avoid modifying
15474 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
15476 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15478 * emit-rtl.c (adjust_address): New function.
15479 * expr.h (adjust_address): Add declaration.
15480 * builtins.c: Replace some calls to change_address with calls to it
15481 or to validize_mem.
15482 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
15483 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
15484 * config/arm/arm.c, config/convex/convex.c: Likewise.
15485 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
15486 * config/i386/i386.c, config/i386/i386.md: Likewise.
15487 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
15488 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
15489 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
15490 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
15491 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
15493 2001-07-02 Jim Wilson <wilson@redhat.com>
15495 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
15497 2001-07-02 Steve Ellcey <sje@cup.hp.com>
15499 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
15500 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
15502 2001-07-02 Zack Weinberg <zackw@stanford.edu>
15504 * cppinit.c (lang_defaults): New table.
15505 (set_lang): Just read from lang_defaults into the live options
15508 2001-07-02 Zack Weinberg <zackw@stanford.edu>
15510 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
15511 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
15512 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
15514 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15516 * doc/install.texi: Various spelling and markup fixes.
15517 (Installing GCC): Component specific installation instructions are
15520 Warn about removing old install dir in the presence of shared libs.
15521 (Configuration): Invoke with options target to match configure
15523 Consistently refer to gas, gld pathnames.
15524 Invert --enable-multilib documentation.
15525 Remove references to old compiler versions.
15527 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15529 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
15531 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15533 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
15535 (Specific, mips*-sgi-irix5): Note IDO download.
15536 Reworded MIPS C hints.
15537 Use GNU as instead of GAS.
15539 Removed SGI Freeware reference, IRIX 6 only.
15540 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
15541 Note N64 library requirement/workaround.
15543 Complete list of structure passing bug victims.
15545 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15547 * doc/install.texi: Remove CVS Id.
15549 2001-07-02 Andreas Jaeger <aj@suse.de>
15551 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
15552 (find_inherently_necessary): Remove unused variable.
15554 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
15556 * c-common.h (TDI_inlined): New ast dump phase.
15557 (dump_flag_name): New function.
15558 * c-dump.c (dump_files): Add inlined phase.
15559 (dump_flag_name): Define.
15560 * doc/invoke.texi (-fdump-ast-inlined): Document.
15562 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15564 * stor-layout.c (layout_decl): Revert change to handling of alignment
15567 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15569 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
15572 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
15574 * doc/tm.texi (FUNCTION_ARG): Document that the last call
15577 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
15579 * tlink.c (recompile_files): Remove COMPILER_PATH and
15580 LIBRARY_PATH from the environment.
15582 2001-07-01 Zack Weinberg <zackw@stanford.edu>
15584 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
15585 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
15587 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
15589 * c-parse.in (OBJC_STRING): Kill.
15590 (objc_string): Decompose to [objc_string] '@' STRING.
15591 (reswords): Take the leading '@' off all the Objective C keywords.
15592 (objc_rid_sans_at): Kill.
15593 (init_reswords): Don't initialize it.
15594 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
15595 (_yylex): Kill reconsider label. Look ahead one token after
15596 an '@'; if we get an identifier, check whether it's an
15597 Objective C @-keyword. If so, return the keyword. Otherwise,
15598 put back the token and return the '@' as a terminal.
15600 * cpplib.c (lex_macro_node): Remove unnecessary check for
15601 leading '@' on identifier. Clarify control flow and commentary.
15603 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15605 * cse.c (new_label_ref): Variable deleted.
15606 (insert): Remove set of new_label_ref.
15607 (check_for_label_ref): New function.
15608 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
15610 See ChangeLog.5 for earlier changes.